"use strict";
(self.webpackChunkrl3x1 = self.webpackChunkrl3x1 || []).push([
    [4413], {
        94413: (q, b, a) => {
            a.r(b), a.d(b, {
                LoginModule: () => G
            });
            var v = a(36895),
                h = a(24006),
                m = a(34793),
                C = a(15861),
                x = a(820),
                c = a(24766),
                d = a(10640),
                L = a(62548),
                y = a(92198),
                M = a(24850),
                k = a(66476),
                e = a(94650),
                P = a(57090),
                w = a(12827),
                I = a(88237),
                S = a(11961),
                E = a(58657);

            function A(i, l) {
                1 & i && e.\u0275\ u0275element(0, "div", 4)
            }

            function U(i, l) {
                if (1 & i && (e.\u0275\ u0275elementStart(0, "div", 5)(1, "div", 6)(2, "div", 7)(3, "div", 8)(4, "span"), e.\u0275\ u0275text(5), e.\u0275\ u0275elementEnd()()()()()), 2 & i) {
                    const t = e.\u0275\ u0275nextContext();
                    e.\u0275\ u0275advance(5), e.\u0275\ u0275textInterpolate(t.getlangval("lbl_bologin_okta"))
                }
            }

            function N(i, l) {
                if (1 & i && (e.\u0275\ u0275elementStart(0, "div", 28), e.\u0275\ u0275text(1), e.\u0275\ u0275elementEnd()), 2 & i) {
                    const t = e.\u0275\ u0275nextContext(2);
                    e.\u0275\ u0275advance(1), e.\u0275\ u0275textInterpolate(t.getlangval("lbl_bologin_access"))
                }
            }

            function T(i, l) {
                1 & i && e.\u0275\ u0275element(0, "i", 34)
            }

            function B(i, l) {
                if (1 & i) {
                    const t = e.\u0275\ u0275getCurrentView();
                    e.\u0275\ u0275elementStart(0, "div", 29)(1, "div", 19)(2, "div", 30)(3, "input", 31), e.\u0275\ u0275listener("ngModelChange", function(r) {
                        e.\u0275\ u0275restoreView(t);
                        const o = e.\u0275\ u0275nextContext(2);
                        return e.\u0275\ u0275resetView(o.CurrentUser = r)
                    }), e.\u0275\ u0275elementEnd()()(), e.\u0275\ u0275elementStart(4, "div", 19)(5, "input", 32), e.\u0275\ u0275listener("ngModelChange", function(r) {
                        e.\u0275\ u0275restoreView(t);
                        const o = e.\u0275\ u0275nextContext(2);
                        return e.\u0275\ u0275resetView(o.password = r)
                    }), e.\u0275\ u0275elementEnd()(), e.\u0275\ u0275elementStart(6, "div", 16)(7, "button", 17), e.\u0275\ u0275listener("click", function() {
                        e.\u0275\ u0275restoreView(t);
                        const r = e.\u0275\ u0275nextContext(2);
                        return e.\u0275\ u0275resetView(r.Login())
                    }), e.\u0275\ u0275template(8, T, 1, 0, "i", 33), e.\u0275\ u0275text(9), e.\u0275\ u0275elementEnd()(), e.\u0275\ u0275elementStart(10, "div", 24), e.\u0275\ u0275element(11, "hr"), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275elementStart(12, "div", 25)(13, "button", 26), e.\u0275\ u0275listener("click", function() {
                        e.\u0275\ u0275restoreView(t);
                        const r = e.\u0275\ u0275nextContext(2);
                        return e.\u0275\ u0275resetView(r.goPasswordRecover())
                    }), e.\u0275\ u0275text(14), e.\u0275\ u0275elementEnd()(), e.\u0275\ u0275elementStart(15, "div", 16)(16, "button", 17), e.\u0275\ u0275listener("click", function() {
                        e.\u0275\ u0275restoreView(t);
                        const r = e.\u0275\ u0275nextContext(2);
                        return e.\u0275\ u0275resetView(r.goOctaLogin())
                    }), e.\u0275\ u0275text(17), e.\u0275\ u0275elementEnd()()()
                }
                if (2 & i) {
                    const t = e.\u0275\ u0275nextContext(2);
                    e.\u0275\ u0275advance(3), e.\u0275\ u0275propertyInterpolate("placeholder", t.getlangval("lbl_bologin_uname")), e.\u0275\ u0275property("ngModel", t.CurrentUser), e.\u0275\ u0275advance(2), e.\u0275\ u0275propertyInterpolate("placeholder", t.getlangval("lbl_bologin_pwd")), e.\u0275\ u0275property("ngModel", t.password), e.\u0275\ u0275advance(3), e.\u0275\ u0275property("ngIf", t.loginLoader), e.\u0275\ u0275advance(1), e.\u0275\ u0275textInterpolate1(" ", t.getlangval("lbl_bologin_login"), ""), e.\u0275\ u0275advance(5), e.\u0275\ u0275textInterpolate1(" ", t.getlangval("lbl_bologin_Fpwd"), ""), e.\u0275\ u0275advance(3), e.\u0275\ u0275textInterpolate1(" ", t.getlangval("lbl_bologin_login"), "")
                }
            }

            function V(i, l) {
                if (1 & i) {
                    const t = e.\u0275\ u0275getCurrentView();
                    e.\u0275\ u0275elementStart(0, "div", 9)(1, "div", 10)(2, "div", 11)(3, "div", 12), e.\u0275\ u0275element(4, "img", 13), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275template(5, N, 2, 1, "div", 14), e.\u0275\ u0275template(6, B, 18, 8, "div", 15), e.\u0275\ u0275elementStart(7, "div")(8, "div", 16)(9, "button", 17), e.\u0275\ u0275listener("click", function() {
                        e.\u0275\ u0275restoreView(t);
                        const r = e.\u0275\ u0275nextContext();
                        return e.\u0275\ u0275resetView(r.goOctaLogin())
                    }), e.\u0275\ u0275text(10), e.\u0275\ u0275elementEnd()()(), e.\u0275\ u0275elementStart(11, "div", 18)(12, "div", 19)(13, "div", 20)(14, "label", 21), e.\u0275\ u0275text(15), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275element(16, "i", 22), e.\u0275\ u0275elementEnd()(), e.\u0275\ u0275elementStart(17, "div", 19), e.\u0275\ u0275element(18, "div", 23), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275elementStart(19, "div", 24), e.\u0275\ u0275element(20, "hr"), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275elementStart(21, "div", 25)(22, "button", 26), e.\u0275\ u0275listener("click", function() {
                        e.\u0275\ u0275restoreView(t);
                        const r = e.\u0275\ u0275nextContext();
                        return e.\u0275\ u0275resetView(r.goPasswordRecover())
                    }), e.\u0275\ u0275text(23), e.\u0275\ u0275elementEnd()()(), e.\u0275\ u0275element(24, "div", 27), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275element(25, "div", 27), e.\u0275\ u0275elementEnd(), e.\u0275\ u0275element(26, "div", 27), e.\u0275\ u0275elementEnd()
                }
                if (2 & i) {
                    const t = e.\u0275\ u0275nextContext();
                    e.\u0275\ u0275advance(4), e.\u0275\ u0275propertyInterpolate("src", t.logo_img, e.\u0275\ u0275sanitizeUrl), e.\u0275\ u0275advance(1), e.\u0275\ u0275property("ngIf", "SSO" != t.BO_Puro), e.\u0275\ u0275advance(1), e.\u0275\ u0275property("ngIf", "SSO" != t.BO_Puro), e.\u0275\ u0275advance(4), e.\u0275\ u0275textInterpolate1(" ", t.getlangval("lbl_bologin_login"), ""), e.\u0275\ u0275advance(5), e.\u0275\ u0275textInterpolate(t.CurrentUser), e.\u0275\ u0275advance(8), e.\u0275\ u0275textInterpolate1("Forgot ", t.getlangval("lbl_bologin_pwd"), "")
                }
            }
            let O = (() => {
                class i {
                    constructor(t, n, r, o, s, p, f, g, u, _) {
                        this._global = t, this._sidebar = n, this._util = r, this._auth = o, this.router = s, this.route = p, this.userService = f, this._oktaStateService = g, this._oktaAuth = u, this.commonservice = _, this.CurrentUser = "", this.password = "", this.loginLoader = !1, this.brand_code = "ACC00004", this.encryptionKey = "", this.logo_img = c.N.logoimg, this.OktaDataLoaded = !1, this.errorMessage = "", this.languagelist = [], this.selectedLang = "en-US", this.selectedLangIcon = "us", this.check_oktastorage = !1, localStorage.setItem("ModuleCode", "M16"), this.encryptionKey = k.H5.BASEMaterial, sessionStorage.setItem("brand_code", this.brand_code), this._auth.getAuthorizationToken() && this.gohome()
                    }
                    ngOnInit() {
                        $("body").addClass("menu-compact"), this.check_oktastorage = null != this.route.snapshot.queryParams.lang || null != this.route.snapshot.queryParams.code;
                        var r = localStorage.getItem("LoggedOut");
                        "True" == r && (r = "False"), ("False" == r || null == r || null == r) && this.PurooktaLogin(), this.router.navigate(["/login"]), this.BO_Puro = c.N.isOktaLogin, this.elementmail = document.getElementById("txt_email"), this.elementpwd = document.getElementById("txt_password"), this.elementmail ? .focus();
                        var o = this;
                        null != this.elementmail && null != this.elementmail && (this.elementmail.onkeypress = function(s) {
                            "Enter" == s.key && "txt_email" == s.target.id && o.Continue()
                        }), null != this.elementpwd && null != this.elementpwd && (this.elementpwd.onkeypress = function(s) {
                            "Enter" == s.key && "txt_password" == s.target.id && o.Login()
                        }), this.isAuthenticated$ = this._oktaStateService.authState$.pipe((0, y.h)(s => !!s), (0, M.U)(s => s.isAuthenticated ? ? !1)), this.userService.GetLanguageList(this.selectedLang, "BO").subscribe(s => {
                            this.languagelist = s[0], this.languagekeys = s[1], this._global.setItem("languagekeys", this.languagekeys)
                        }, s => this._util.error(s, "error"))
                    }
                    PurooktaLogin() {
                        var t = new L.snk({
                            issuer: c.N.PuroIssuer,
                            redirectUri: window.location.origin + "/auth/login",
                            clientId: c.N.PuroClientId,
                            postLogoutRedirectUri: window.location.origin
                        });
                        let n = this;
                        t.token.getWithoutPrompt({
                            responseType: ["token", "id_token"],
                            scopes: ["openid", "profile", "email"]
                        }).then(function(r) {
                            var o = r.tokens.accessToken.claims,
                                s = n.userService.setEncryption(n.encryptionKey, o.email),
                                p = n.userService.setEncryption(n.encryptionKey, o.firstName),
                                f = n.userService.setEncryption(n.encryptionKey, o.lastName);
                            n._auth.InsertOKTAUser(s, p, f, "BO").subscribe(g => {
                                if (n.lookupresponse = g.lookupresponse, "Added" != g.message && "User_Exists" != g.message) n._util.error("Invalid user", "Invalid user"), n.check_oktastorage = !1, "True" != localStorage.getItem("LoggedOut") && (n.router.navigate(["/login"]), localStorage.setItem("LoggedOut", "False"));
                                else {
                                    localStorage.removeItem("OKTALOGIN");
                                    var _ = n.userService.setDecryption(n.encryptionKey, g.result);
                                    n.CurrentUser = o.email, ("Added" == g.message || "User_Exists" == g.message) && (n.password = _), localStorage.getItem("LoggedOut"), n.Login(), localStorage.setItem("LoggedOut", "False")
                                }
                            })
                        }).catch(function(r) {
                            console.log(r)
                        })
                    }
                    Continue() {
                        if (this.loginLoader = !0, this.CurrentUser.length > 0 && this.isValid(this.CurrentUser)) {
                            var t = this.userService.setEncryption(this.encryptionKey, this.CurrentUser);
                            if (null != this.lookupresponse && this.lookupresponse.length > 0) {
                                var n = this.lookupresponse;
                                if (n.length <= 0) return this.loginLoader = !1, this.elementmail.className = "req form-control", void this._util.error(this.languagekeys.lbl_bologin_crdentials_notvalid, "Alert");
                                if (n[0] && this.CurrentUser.toLowerCase() == n[0].Email.toLowerCase() && 0 == n[0].roleIsActive) return this.loginLoader = !1, this.elementmail.className = "req form-control", void this._util.error(this.languagekeys.lbl_bologin_role_inactive, "Alert");
                                if (n[0] && this.CurrentUser.toLowerCase() == n[0].Email.toLowerCase() && 0 == n[0].UserIsActive) return this.loginLoader = !1, this.elementmail.className = "req form-control", void this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert");
                                n[0] && this.CurrentUser.toLowerCase() == n[0].Email.toLowerCase() ? (this.loginLoader = !1, $(".login-control").toggleClass("step"), this.elementpwd ? .focus()) : (this.loginLoader = !1, this.elementmail.className = "req form-control", this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert"))
                            } else this._auth.lookup(t, "BO").subscribe(o => (o = JSON.parse(this.userService.setDecryption(this.encryptionKey, o.result))).length <= 0 ? (this.loginLoader = !1, this.elementmail.className = "req form-control", void this._util.error(this.languagekeys.lbl_bologin_crdentials_notvalid, "Alert")) : o[0] && this.CurrentUser.toLowerCase() == o[0].Email.toLowerCase() && 0 == o[0].roleIsActive ? (this.loginLoader = !1, this.elementmail.className = "req form-control", void this._util.error(this.languagekeys.lbl_bologin_role_inactive, "Alert")) : o[0] && this.CurrentUser.toLowerCase() == o[0].Email.toLowerCase() && 0 == o[0].UserIsActive ? (this.loginLoader = !1, this.elementmail.className = "req form-control", void this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert")) : void(o[0] && this.CurrentUser.toLowerCase() == o[0].Email.toLowerCase() ? (this.loginLoader = !1, $(".login-control").toggleClass("step"), this.elementpwd ? .focus()) : (this.loginLoader = !1, this.elementmail.className = "req form-control", this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert"))))
                        } else this.loginLoader = !1, this.elementmail.className = "req form-control"
                    }
                    gohome() {
                        this.PartnerInfo = this._global.getItem("partnerinfo"), null == this.PartnerInfo ? this.commonservice.getDefaultPartnerLanguageList().subscribe(t => {
                            this._global.setItem("languageinfo", JSON.parse(t.languageList)), this._global.setItem("SelectedLanguage", this.selectedLang);
                            var n = JSON.parse(this.userService.setDecryption(this.encryptionKey, t.response));
                            this._global.setItem("partnerinfo", n), this.PartnerInfo = this._global.getItem("partnerinfo"), this.GetPartnerInfo(this.PartnerInfo)
                        }, t => this.errorMessage = t) : this.GetPartnerInfo(this.PartnerInfo)
                    }
                    GetPartnerInfo(t) {
                        this.returnUrl = this.route.snapshot.queryParams.returnUrl || "/", "/" != this.returnUrl ? this.router.navigateByUrl(this.returnUrl) : "manage" == this._auth.getScope() ? this.router.navigate(["/manage/home"]) : this.router.navigate(["/back-office/home"])
                    }
                    goPasswordRecover() {
                        this.router.navigateByUrl("auth/password")
                    }
                    Login() {
                        if (this.loginLoader = !0, this.elementpwd = document.getElementById("txt_password"), this.elementmail = document.getElementById("txt_email"), !(this.CurrentUser.length > 0)) return null != this.elementmail && (this.elementmail.className = "req form-control"), this._util.error(this.languagekeys.lbl_bologin_enteruname, "Error"), this.loginLoader = !1, !1;
                        if (!this.isValid(this.CurrentUser)) return null != this.elementmail && (this.elementmail.className = "req form-control"), this._util.error(this.languagekeys.lbl_bologin_enteruname, "Error"), this.loginLoader = !1, !1;
                        if (!(this.password.length > 0)) return null != this.elementpwd && (this.elementpwd.className = "req form-control"), this._util.error(this.languagekeys.lbl_bologin_enterpwd, "Error"), this.loginLoader = !1, !1;
                        var t = this.userService.setEncryption(this.encryptionKey, this.CurrentUser);
                        if (null != this.lookupresponse && this.lookupresponse.length > 0) {
                            var n = this.lookupresponse;
                            if (n.length <= 0) return this.loginLoader = !1, this.check_oktastorage = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), void this._util.error(this.languagekeys.lbl_bologin_crdentials_notvalid, "Alert");
                            if (n[0] && this.CurrentUser.toLowerCase() == n[0].Email.toLowerCase() && 0 == n[0].roleIsActive) return this.loginLoader = !1, this.check_oktastorage = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), void this._util.error(this.languagekeys.lbl_bologin_role_inactive, "Alert");
                            if (n[0] && this.CurrentUser.toLowerCase() == n[0].Email.toLowerCase() && 0 == n[0].UserIsActive) return this.loginLoader = !1, this.check_oktastorage = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), void this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert");
                            n[0] && this.CurrentUser.toLowerCase() == n[0].Email.toLowerCase() ? (this.loginLoader = !1, localStorage.removeItem("RoleSource"), localStorage.setItem("RoleSource", n[0].RoleSource), this.authenticateLogin()) : (this.loginLoader = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert"))
                        } else this._auth.lookup(t, "BO").subscribe(o => (o = JSON.parse(this.userService.setDecryption(this.encryptionKey, o.result))).length <= 0 ? (this.loginLoader = !1, this.check_oktastorage = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), void this._util.error(this.languagekeys.lbl_bologin_crdentials_notvalid, "Alert")) : o[0] && this.CurrentUser.toLowerCase() == o[0].Email.toLowerCase() && 0 == o[0].roleIsActive ? (this.loginLoader = !1, this.check_oktastorage = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), void this._util.error(this.languagekeys.lbl_bologin_role_inactive, "Alert")) : o[0] && this.CurrentUser.toLowerCase() == o[0].Email.toLowerCase() && 0 == o[0].UserIsActive ? (this.loginLoader = !1, this.check_oktastorage = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), void this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert")) : void(o[0] && this.CurrentUser.toLowerCase() == o[0].Email.toLowerCase() ? (this.loginLoader = !1, localStorage.removeItem("RoleSource"), localStorage.setItem("RoleSource", o[0].RoleSource), this.authenticateLogin()) : (this.loginLoader = !1, null != this.elementmail && (this.elementmail.className = "req form-control"), this._util.error(this.languagekeys.lbl_bologin_user_inactive, "Alert"))))
                    }
                    populateMenu() {
                        this._sidebar.getDyMenu().subscribe(t => {
                            this.gohome()
                        })
                    }
                    isValid(t) {
                        return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())
                    }
                    authenticateLogin() {
                        var t = this.userService.setEncryption(this.encryptionKey, this.password),
                            n = this.userService.setEncryption(this.encryptionKey, this.CurrentUser);
                        this._auth.login(n, t, "BO").subscribe(r => {
                            if (this.loginLoader = !1, !r) return this.elementpwd.className = "req form-control", this.elementmail.className = "req form-control", !1;
                            localStorage.removeItem("routes"), this._sidebar.menus = null, this._sidebar.menus ? this.gohome() : this.populateMenu()
                        })
                    }
                    goOctaLogin() {
                        var t = this;
                        return (0, C.Z)(function*() {
                            console.log("window.location.origin", window.location.origin), t.OktaDataLoaded = !0, localStorage.setItem("LoggedOut", "False"), yield t._oktaAuth.signInWithRedirect()
                        })()
                    }
                    signOut() {
                        var t = this;
                        return (0, C.Z)(function*() {
                            yield t._oktaAuth.signOut()
                        })()
                    }
                    changeLanguage(t) {
                        this.selectedLangIcon = t.Code.split("-").pop().toLowerCase(), this.selectedLang = t.Code, this._global.setItem("SelectedLanguage", this.selectedLang), this.userService.GetLanguageList(this.selectedLang, "BO").subscribe(n => {
                            this.languagelist = n[0], this.languagekeys = n[1], this._global.setItem("languagekeys", this.languagekeys)
                        }, n => this._util.error(n, "error"))
                    }
                    getlangval(t, n) {
                        let r = "";
                        if (null != this.languagekeys && this.languagekeys ? .length > 0) {
                            let o = this.languagekeys.filter(s => s.LanguageKey == t && s.formname == (n || k.F$.BOLogin))[0];
                            o && (r = o.ChangedLangValue ? o.ChangedLangValue : o.EngLangValue)
                        }
                        return r
                    }
                }
                return i.\u0275fac = function(t) {
                    return new(t || i)(e.\u0275\ u0275directiveInject(P.f), e.\u0275\ u0275directiveInject(w.P), e.\u0275\ u0275directiveInject(I.Zr), e.\u0275\ u0275directiveInject(S.e), e.\u0275\ u0275directiveInject(m.F0), e.\u0275\ u0275directiveInject(m.gz), e.\u0275\ u0275directiveInject(x.K), e.\u0275\ u0275directiveInject(d.r6), e.\u0275\ u0275directiveInject(d.u_), e.\u0275\ u0275directiveInject(E.v))
                }, i.\u0275cmp = e.\u0275\ u0275defineComponent({
                    type: i,
                    selectors: [
                        ["app-login"]
                    ],
                    features: [e.\u0275\ u0275ProvidersFeature([x.K, d.r6])],
                    decls: 4,
                    vars: 3,
                    consts: [
                        ["rel", "stylesheet", "href", "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"],
                        ["id", "bg", "class", "login_BG", 4, "ngIf"],
                        ["class", "parent-loader", 4, "ngIf"],
                        ["class", "login-container animated fadeInDown", 4, "ngIf"],
                        ["id", "bg", 1, "login_BG"],
                        [1, "parent-loader"],
                        [1, "demo-preview"],
                        [1, "progress", "progress-striped", "active"],
                        ["role", "progressbar progress-striped", 1, "progress-bar", 2, "width", "100%"],
                        [1, "login-container", "animated", "fadeInDown"],
                        [1, "loginbox", "bg-white", "col-centered"],
                        [1, "bg-wihte-t"],
                        [1, "text-center", "margin-top-10"],
                        ["alt", "Logo", 3, "src"],
                        ["class", "padding20", 4, "ngIf"],
                        ["class", "login-control", 4, "ngIf"],
                        [1, "loginbox-submit"],
                        ["aria-live", "polite", "type", "button", 1, "btn", "btn_tab_focus", "btn-primary", "btn-block", "font_14", 3, "click"],
                        [1, "login-control", "step"],
                        [1, "loginbox-textbox"],
                        [1, "emailbox"],
                        [1, "control-label"],
                        ["aria-hidden", "true", 1, "fa", "fa-pencil", "pull-right"],
                        ["data-sitekey", "6Ldbdg0TAAAAAI7KAf72Q6uagbWzWecTeBWmrCpJ", 1, "g-recaptcha"],
                        [1, "padding-left-20", "padding-right-20"],
                        [1, "loginbox-forgot", "login_fnt"],
                        ["aria-live", "polite", 1, "btn", "btn_tab_focus", "btn-link", 3, "click"],
                        [1, "clearfix"],
                        [1, "padding20"],
                        [1, "login-control"],
                        [1, "form-group"],
                        ["type", "email", "id", "txt_email", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"],
                        ["type", "password", "id", "txt_password", 1, "form-control", 3, "ngModel", "placeholder", "ngModelChange"],
                        ["aria-hidden", "true", "class", "fa fa-refresh spinning1", 4, "ngIf"],
                        ["aria-hidden", "true", 1, "fa", "fa-refresh", "spinning1"]
                    ],
                    template: function(t, n) {
                        1 & t && (e.\u0275\ u0275element(0, "link", 0), e.\u0275\ u0275template(1, A, 1, 0, "div", 1), e.\u0275\ u0275template(2, U, 6, 1, "div", 2), e.\u0275\ u0275template(3, V, 27, 6, "div", 3)), 2 & t && (e.\u0275\ u0275advance(1), e.\u0275\ u0275property("ngIf", !n.check_oktastorage), e.\u0275\ u0275advance(1), e.\u0275\ u0275property("ngIf", n.check_oktastorage), e.\u0275\ u0275advance(1), e.\u0275\ u0275property("ngIf", !n.check_oktastorage))
                    },
                    dependencies: [v.O5, h.DefaultValueAccessor, h.NgControlStatus, h.NgModel],
                    styles: ["body[_ngcontent-%COMP%]:before{background-color:#fff!important}.container-footer[_ngcontent-%COMP%]{padding:10px 0;margin-top:0;background:rgb(255,255,255);text-align:center}#bg[_ngcontent-%COMP%]{position:fixed;top:-50%;left:-50%;width:200%;height:200%}#bg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;inset:0;margin:auto;min-width:50%;min-height:50%}.login-container[_ngcontent-%COMP%]{position:relative;margin:0% auto;padding-top:10%}.login-container[_ngcontent-%COMP%]   .loginbox[_ngcontent-%COMP%]{position:relative;width:320px!important;height:auto!important;border:15px solid rgba(255,255,255,.5)!important;background-color:transparent!important;border-radius:4px!important;box-shadow:0 5px 20px #0000000d!important;-webkit-box-shadow:0 5px 20px rgba(0,0,0,.05);-moz-box-shadow:0 5px 20px rgba(0,0,0,.05);padding:0!important}.bg-wihte-t[_ngcontent-%COMP%]{padding-top:15px;padding-bottom:15px;background-color:#fffc}.login-container[_ngcontent-%COMP%]   .loginbox[_ngcontent-%COMP%]   .loginbox-textbox[_ngcontent-%COMP%]{padding:0 20px}.login-container[_ngcontent-%COMP%]   .loginbox[_ngcontent-%COMP%]   .loginbox-textbox[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{border:1px solid #427fed}.login-container[_ngcontent-%COMP%]   .loginbox[_ngcontent-%COMP%]   .loginbox-forgot[_ngcontent-%COMP%]{padding-left:20px;margin-top:15px}.login-container[_ngcontent-%COMP%]   .loginbox[_ngcontent-%COMP%]   .loginbox-submit[_ngcontent-%COMP%]{padding:10px 20px}.login-container[_ngcontent-%COMP%]   .loginbox[_ngcontent-%COMP%]   .loginbox-forgot[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;color:#666}.form-control[_ngcontent-%COMP%]{height:38px!important;padding:14px 12px!important}.btn[_ngcontent-%COMP%]{padding:8.8px 12px!important;padding:10px 12px;font-weight:600!important}.disableEmail[_ngcontent-%COMP%]{border-radius:25px!important}.emailbox[_ngcontent-%COMP%]{height:auto;padding:6px 12px;font-weight:600!important;vertical-align:middle;border:1px solid #427fed;border-radius:3px!important;margin-bottom:10px!important}.emailbox[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-top:5px;color:#fff}.emailbox[_ngcontent-%COMP%]:hover{border:1px solid #427fed;border-radius:3px!important}.emailbox[_ngcontent-%COMP%]   .control-label[_ngcontent-%COMP%]{font-weight:600!important;margin-bottom:0;color:#000}.step[_ngcontent-%COMP%]{display:none}.req[_ngcontent-%COMP%]{border-left:6px solid red;background-color:#d3d3d3}.brand-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-left:30px;margin-right:30px}.loginbox-submit[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{color:#fff;background-color:#001996!important;border-color:#2e6da4!important}.login_fnt[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{color:#666!important}.parent-loader[_ngcontent-%COMP%]{position:fixed;top:0%;z-index:100;font-size:2rem;height:100%;width:100%}.parent-loader[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{position:absolute;left:50%;top:35%}.demo-preview[_ngcontent-%COMP%]{padding-top:100px;padding-bottom:10px;margin:auto;width:50%;text-align:center}.progress[_ngcontent-%COMP%]{background-color:#ebebeb;border-radius:3px;box-shadow:none;height:auto}.progress.progress-xs[_ngcontent-%COMP%]{height:5px;margin-top:5px}.progress.progress-sm[_ngcontent-%COMP%]{height:10px;margin-top:5px}.progress.progress-lg[_ngcontent-%COMP%]{height:25px}.progress.vertical[_ngcontent-%COMP%]{position:relative;width:20px;height:200px;display:inline-block;margin-right:10px}.progress.vertical[_ngcontent-%COMP%] > .progress-bar[_ngcontent-%COMP%]{width:100%!important;position:absolute;bottom:0}.progress.vertical.progress-xs[_ngcontent-%COMP%]{width:5px;margin-top:5px}.progress.vertical.progress-sm[_ngcontent-%COMP%]{width:10px;margin-top:5px}.progress.vertical.progress-lg[_ngcontent-%COMP%]{width:30px}.progress-bar[_ngcontent-%COMP%]{background-color:#2196f3;box-shadow:none}.progress-bar.text-left[_ngcontent-%COMP%]{text-align:left}.progress-bar.text-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:10px}.progress-bar.text-right[_ngcontent-%COMP%]{text-align:right}.progress-bar.text-right[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-right:10px}@keyframes _ngcontent-%COMP%_progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress.active[_ngcontent-%COMP%]   .progress-bar[_ngcontent-%COMP%], .progress-bar.active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_progress-bar-stripes 2s linear infinite}.progress-striped[_ngcontent-%COMP%]   .progress-bar[_ngcontent-%COMP%], .progress-bar-striped[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress-bar-secondary[_ngcontent-%COMP%]{background-color:#323a45}.progress-bar-default[_ngcontent-%COMP%]{background-color:#b0bec5}.progress-bar-success[_ngcontent-%COMP%]{background-color:#64dd17}.progress-bar-info[_ngcontent-%COMP%]{background-color:#29b6f6}.progress-bar-warning[_ngcontent-%COMP%]{background-color:#ffd600}.progress-bar-danger[_ngcontent-%COMP%]{background-color:#ef1c1c}.spinning1[_ngcontent-%COMP%]{animation:spin 1s infinite linear;display:inline-block}.login_BG[_ngcontent-%COMP%]{background-image:url(bg-1920.6e21359ebd6df834.jpg);background-size:103%;background-repeat:no-repeat;background-attachment:fixed;background-position:100%}@media only screen and (max-width: 1366px){.login_BG[_ngcontent-%COMP%]{background-size:cover!important;background-position:center center!important}}.dropdown-menu[_ngcontent-%COMP%]   .flag-icon[_ngcontent-%COMP%]{margin-right:5px;float:left;margin-top:2px}.dropdown-bs-toggle[_ngcontent-%COMP%]:hover{font-style:normal;font-weight:400}.languagedropdown[_ngcontent-%COMP%]{position:absolute;top:-6px;right:10px}"]
                }), i
            })();
            const K = [{
                path: "",
                pathMatch: "full",
                component: O
            }, {
                path: "login/callback",
                component: O
            }];
            let j = (() => {
                class i {}
                return i.\u0275fac = function(t) {
                    return new(t || i)
                }, i.\u0275mod = e.\u0275\ u0275defineNgModule({
                    type: i
                }), i.\u0275inj = e.\u0275\ u0275defineInjector({
                    imports: [m.Bz.forChild(K), m.Bz]
                }), i
            })();
            var R = a(34363),
                z = a(80529);
            const F = new L.snk({
                    issuer: c.N.PuroIssuer,
                    clientId: c.N.PuroClientId,
                    redirectUri: window.location.origin + "/auth/login",
                    postLogoutRedirectUri: c.N.PuroRedirectURI
                }),
                D = [{
                    provide: z.TP,
                    useClass: R.b,
                    multi: !0
                }];
            let G = (() => {
                class i {}
                return i.\u0275fac = function(t) {
                    return new(t || i)
                }, i.\u0275mod = e.\u0275\ u0275defineNgModule({
                    type: i
                }), i.\u0275inj = e.\u0275\ u0275defineInjector({
                    providers: [d.ZM, D],
                    imports: [v.ez, h.FormsModule, j, d.NM.forRoot({
                        oktaAuth: F
                    })]
                }), i
            })()
        }
    }
]);