import {
    a as ht,
    b as Nt,
    c as Gt,
    d as Mt,
    e as yt,
    f as bt,
    g as Pt,
    h as At,
    i as wt
} from "./chunk-CRGY2FKE.js";
import {
    g as gt,
    h as Tt,
    i as Et,
    r as ft
} from "./chunk-GBCJOPXR.js";
import {
    g as St
} from "./chunk-MFQI6WA3.js";
import "./chunk-3RVRTJK2.js";
import {
    a as ct
} from "./chunk-JLPDNABD.js";
import "./chunk-XF2CNCVA.js";
import {
    e as De,
    f as Fe,
    j as Xe
} from "./chunk-IIZSMBNO.js";
import {
    a as mt,
    b as Ct
} from "./chunk-MMJF5WBO.js";
import {
    o as _t,
    p as ut
} from "./chunk-2F2DP6Z5.js";
import {
    N as Je,
    S as pt,
    T as dt,
    a as ze,
    b as Be,
    c as We,
    e as Ze,
    h as je,
    s as qe
} from "./chunk-LNCD4SA3.js";
import {
    A as at,
    Ka as st,
    b as Ue,
    d as He,
    e as Ke,
    h as Qe,
    i as Ye,
    l as et,
    m as tt,
    o as it,
    r as nt,
    v as ot,
    y as rt,
    z as lt
} from "./chunk-XPOKHL3M.js";
import "./chunk-Z33DM23Z.js";
import "./chunk-GHJJ2Z4D.js";
import {
    k as $e,
    m as ke,
    y as Ve
} from "./chunk-OYJWBUYU.js";
import {
    Ab as u,
    Bb as Oe,
    Cc as y,
    Eb as v,
    Fc as b,
    Jb as i,
    Kb as n,
    Lb as E,
    Mb as Le,
    Nb as ve,
    Pb as P,
    Tb as xe,
    Ub as Re,
    Vb as _,
    Wb as x,
    Xb as R,
    Ya as l,
    Yb as h,
    Zb as C,
    cb as I,
    jc as N,
    ka as d,
    kc as M,
    la as c,
    lb as Ie,
    lc as $,
    pc as S,
    qc as g,
    rb as A,
    rc as T,
    tc as m,
    uc as O
} from "./chunk-SSI6PFOR.js";
import "./chunk-JYUAQH2U.js";
import "./chunk-FFRAY7OK.js";
var L = class {
    constructor() {
        this.organizationId = "", this.name = "", this.accounts = [];
    }
};
var f = () => ({
        standalone: !0
    }),
    It = () => ({
        "min-width": "50rem"
    }),
    Ot = () => ["/dashboard"],
    vt = p => ({
        view: p
    }),
    xt = p => ({
        group: p
    }),
    Lt = p => ({
        "account-checked": p
    });

function Rt(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "tr")(1, "td"), N(2), n(), i(3, "td", 103)(4, "input", 104), h("change", function() {
            let t = d(e).$implicit,
                r = C();
            return c(r.setDefault(t.name));
        }), n()(), i(5, "td")(6, "button", 105), _(7, 28), n(), i(8, "button", 106), h("click", function() {
            let t = d(e).$implicit,
                r = C();
            return c(r.editView(t.name));
        }), _(9, 29), n(), i(10, "button", 107), h("click", function() {
            let t = d(e).$implicit,
                r = C();
            return c(r.deleteView(t.name));
        }), _(11, 30), n()()();
    }
    if (p & 2) {
        let e = G.$implicit;
        l(2), M(e.name), l(2), u("checked", e.isDefault), l(2), u("routerLink", m(6, Ot))("queryParams", O(7, vt, e.name)), l(2), u("disabled", e.isProtected), l(2), u("disabled", e.isProtected || e.isDefault);
    }
}

function $t(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "li", 108)(1, "div", 109)(2, "div"), N(3), n(), i(4, "div")(5, "span"), _(6, 31), n(), i(7, "p-checkbox", 110), T("ngModelChange", function(t) {
            let r = d(e).$implicit;
            return g(r.isVisible, t) || (r.isVisible = t), c(t);
        }), n()()()();
    }
    if (p & 2) {
        let e = G.$implicit;
        l(3), M(e.name), l(4), S("ngModel", e.isVisible), u("ngModelOptions", m(4, f))("binary", !0);
    }
}

function kt(p, G) {
    if (p & 1 && (i(0, "div", 111), E(1, "div", 112), n()), p & 2) {
        let e = G.$implicit;
        l(), Oe("background-color", e);
    }
}

function Vt(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "button", 100), h("click", function() {
            d(e);
            let t = C();
            return c(t.showEditView = !1);
        }), _(1, 32), n(), i(2, "button", 100), h("click", function() {
            d(e);
            let t = C();
            return c(t.applyViewEdits());
        }), _(3, 33), n();
    }
}

function Dt(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "tr")(1, "td"), N(2), n(), i(3, "td", 103), N(4), n(), i(5, "td")(6, "button", 113), _(7, 34), n(), i(8, "button", 114), h("click", function() {
            let t = d(e).$implicit,
                r = C();
            return c(r.editGroup(t.name));
        }), _(9, 35), n(), i(10, "button", 115), h("click", function() {
            let t = d(e).$implicit,
                r = C();
            return c(r.deleteGroup(t.name));
        }), _(11, 36), n()()();
    }
    if (p & 2) {
        let e = G.$implicit;
        l(2), M(e.name), l(2), $("", e.accounts.length, " "), l(2), u("routerLink", m(4, Ot))("queryParams", O(5, xt, e.name));
    }
}

function Ft(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "tr")(1, "th", 116), _(2, 37), n(), i(3, "th", 117), _(4, 38), n(), i(5, "th", 117), _(6, 39), n(), i(7, "th", 117), _(8, 40), n(), i(9, "th", 117), _(10, 41), n(), i(11, "th", 117), _(12, 42), n()(), i(13, "tr", 118)(14, "td", 116)(15, "input", 119), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.selectAllCreate, t) || (r.selectAllCreate = t), c(t);
        }), h("change", function() {
            d(e);
            let t = C();
            return c(t.onSelectAllCreate());
        }), n()(), i(16, "td", 117)(17, "span", 120), E(18, "i", 121), i(19, "input", 122), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterTerritoryCreate, t) || (r.filterTerritoryCreate = t), c(t);
        }), n()()(), i(20, "td", 117)(21, "span", 120), E(22, "i", 121), i(23, "input", 123), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterCityCreate, t) || (r.filterCityCreate = t), c(t);
        }), n()()(), i(24, "td", 117)(25, "span", 120), E(26, "i", 121), i(27, "input", 124), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterPostalZipCodeCreate, t) || (r.filterPostalZipCodeCreate = t), c(t);
        }), n()()(), i(28, "td", 117)(29, "span", 120), E(30, "i", 121), i(31, "input", 125), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterNameCreate, t) || (r.filterNameCreate = t), c(t);
        }), n()()(), i(32, "td", 117)(33, "span", 120), E(34, "i", 121), i(35, "input", 126), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterAccountCreate, t) || (r.filterAccountCreate = t), c(t);
        }), n()()()();
    }
    if (p & 2) {
        let e = C();
        l(15), S("ngModel", e.selectAllCreate), u("ngModelOptions", m(13, f))("checked", e.selectAllCreate), l(4), S("ngModel", e.filterTerritoryCreate), u("ngModelOptions", m(14, f)), l(4), S("ngModel", e.filterCityCreate), u("ngModelOptions", m(15, f)), l(4), S("ngModel", e.filterPostalZipCodeCreate), u("ngModelOptions", m(16, f)), l(4), S("ngModel", e.filterNameCreate), u("ngModelOptions", m(17, f)), l(4), S("ngModel", e.filterAccountCreate), u("ngModelOptions", m(18, f));
    }
}

function Xt(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "tr", 127)(1, "td", 116)(2, "input", 128), T("ngModelChange", function(t) {
            let r = d(e).$implicit;
            return g(r.checked, t) || (r.checked = t), c(t);
        }), h("change", function() {
            d(e);
            let t = C();
            return c(t.showSelectedCountCreate());
        }), n()(), i(3, "td", 117), N(4), n(), i(5, "td", 117), N(6), n(), i(7, "td", 117), N(8), n(), i(9, "td", 117), N(10), n(), i(11, "td", 117), N(12), n()();
    }
    if (p & 2) {
        let e = G.$implicit;
        u("ngClass", O(9, Lt, e.checked)), l(2), S("ngModel", e.checked), u("ngModelOptions", m(11, f))("checked", e.checked), l(2), M(e.territory), l(2), M(e.city), l(2), M(e.postalZipCode), l(2), M(e.name.substring(0, 18)), l(2), M(e.account);
    }
}

function zt(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "tr")(1, "th", 116), _(2, 43), n(), i(3, "th", 117), _(4, 44), n(), i(5, "th", 117), _(6, 45), n(), i(7, "th", 117), _(8, 46), n(), i(9, "th", 117), _(10, 47), n(), i(11, "th", 117), _(12, 48), n()(), i(13, "tr", 118)(14, "td", 116)(15, "input", 129), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.selectAllEdit, t) || (r.selectAllEdit = t), c(t);
        }), h("change", function() {
            d(e);
            let t = C();
            return c(t.onSelectAllEdit());
        }), n()(), i(16, "td", 117)(17, "span", 120), E(18, "i", 121), i(19, "input", 122), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterTerritoryEdit, t) || (r.filterTerritoryEdit = t), c(t);
        }), n()()(), i(20, "td", 117)(21, "span", 120), E(22, "i", 121), i(23, "input", 123), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterCityEdit, t) || (r.filterCityEdit = t), c(t);
        }), n()()(), i(24, "td", 117)(25, "span", 120), E(26, "i", 121), i(27, "input", 124), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterPostalZipCodeEdit, t) || (r.filterPostalZipCodeEdit = t), c(t);
        }), n()()(), i(28, "td", 117)(29, "span", 120), E(30, "i", 121), i(31, "input", 125), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterNameEdit, t) || (r.filterNameEdit = t), c(t);
        }), n()()(), i(32, "td", 117)(33, "span", 120), E(34, "i", 121), i(35, "input", 126), T("ngModelChange", function(t) {
            d(e);
            let r = C();
            return g(r.filterAccountEdit, t) || (r.filterAccountEdit = t), c(t);
        }), n()()()();
    }
    if (p & 2) {
        let e = C();
        l(15), S("ngModel", e.selectAllEdit), u("ngModelOptions", m(13, f))("checked", e.selectAllEdit), l(4), S("ngModel", e.filterTerritoryEdit), u("ngModelOptions", m(14, f)), l(4), S("ngModel", e.filterCityEdit), u("ngModelOptions", m(15, f)), l(4), S("ngModel", e.filterPostalZipCodeEdit), u("ngModelOptions", m(16, f)), l(4), S("ngModel", e.filterNameEdit), u("ngModelOptions", m(17, f)), l(4), S("ngModel", e.filterAccountEdit), u("ngModelOptions", m(18, f));
    }
}

function Bt(p, G) {
    if (p & 1) {
        let e = P();
        i(0, "tr", 127)(1, "td", 116)(2, "input", 128), T("ngModelChange", function(t) {
            let r = d(e).$implicit;
            return g(r.checked, t) || (r.checked = t), c(t);
        }), h("change", function() {
            d(e);
            let t = C();
            return c(t.showSelectedCountEdit());
        }), n()(), i(3, "td", 117), N(4), n(), i(5, "td", 117), N(6), n(), i(7, "td", 117), N(8), n(), i(9, "td", 117), N(10), n(), i(11, "td", 117), N(12), n()();
    }
    if (p & 2) {
        let e = G.$implicit;
        u("ngClass", O(9, Lt, e.checked)), l(2), S("ngModel", e.checked), u("ngModelOptions", m(11, f))("checked", e.checked), l(2), M(e.territory), l(2), M(e.city), l(2), M(e.postalZipCode), l(2), M(e.name.substring(0, 18)), l(2), M(e.account);
    }
}
var yi = (() => {
    class p {
        constructor(e, o, t, r, s, w) {
            this.user = e, this.authService = o, this.spinner = t, this.localeService = r, this.settingFormBuilder = s, this.router = w, this.version = St, this.palettes = [], this.selectedPalette = new Ze(), this.showEditView = !1, this.editingView = new je(), this.showCreateGroup = !1, this.createGroupAccountList = [], this.createGroupName = "", this.showEditGroup = !1, this.editGroupAccountList = [], this.editGroupName = "", this.localAccountGroupsByOrg = [], this.activeIndex = "0", this.filterAccountCreate = "", this.filterNameCreate = "", this.filterCityCreate = "", this.filterTerritoryCreate = "", this.filterPostalZipCodeCreate = "", this.filterAccountEdit = "", this.filterNameEdit = "", this.filterCityEdit = "", this.filterTerritoryEdit = "", this.filterPostalZipCodeEdit = "", this.groupName = "", this.selectAllCreate = !1, this.selectAllEdit = !1, this.onlySelectedCreate = !1, this.onlySelectedEdit = !1, this.selectedAccountsCreate = 0, this.selectedAccountsEdit = 0, this.palettes = e.getPalettes(), this.settingsForm = this.settingFormBuilder.group({
                defaultLandingSelection: [""]
            }), this.createGroupAvailableAccounts = [], this.editGroupAvailableAccounts = [];
        }
        ngOnInit() {
            this.settingsForm.controls.defaultLandingSelection.setValue(localStorage.getItem("defaultLandingSelection"), {
                emitEvent: !1
            }), this.settingsForm.get("defaultLandingSelection") ? .valueChanges.subscribe(e => this.setDefaultLandingPage(e)), this.localAccountGroupsByOrg = this.user.userData.localAccountGroups.filter(e => e.organizationId === this.user.userData.view.signature.selectedOrganizationId), this.sortObjectArray(this.user.userData.view.signature.selectedAccountList, "name"), this.sortObjectArray(this.user.userData.view.signature.selectedGroupList, "name"), this.sortObjectArray(this.localAccountGroupsByOrg, "name"), this.createGroupAvailableAccountsBackup = this.user.userData.accounts, this.editGroupAvailableAccountsBackup = this.user.userData.accounts, this.showEditGroup ? this.showSelectedCountEdit() : this.showSelectedCountCreate();
        }
        selectAccountsSelectedCreate() {
            this.createGroupAvailableAccounts.forEach(e => {
                this.createGroupAccountList.forEach(o => {
                    o.account === e.account && (e.checked = !0);
                });
            }), this.showSelectedCountCreate();
        }
        selectAccountsSelectedEdit() {
            this.editGroupAvailableAccounts.forEach(e => {
                this.editGroupAccountList.forEach(o => {
                    o.account === e.account && (e.checked = !0);
                });
            }), this.showSelectedCountEdit();
        }
        showSelectedCountCreate() {
            this.selectedAccountsCreate = (this.createGroupAvailableAccounts || []).filter(e => e.checked).length, this.onlySelectedCreate && this.onOnlySelectedCreate();
        }
        showSelectedCountEdit() {
            this.selectedAccountsEdit = (this.editGroupAvailableAccounts || []).filter(e => e.checked).length, this.onlySelectedEdit && this.onOnlySelectedEdit();
        }
        onSelectAllCreate() {
            this.selectAllCreate ? (this.createGroupAvailableAccounts || []).forEach(e => {
                (!this.filterTerritoryCreate || e.territory.toLowerCase().includes(this.filterTerritoryCreate.toLowerCase())) && (!this.filterCityCreate || e.city.toLowerCase().includes(this.filterCityCreate.toLowerCase())) && (!this.filterPostalZipCodeCreate || e.postalZipCode.toLowerCase().includes(this.filterPostalZipCodeCreate.toLowerCase())) && (!this.filterNameCreate || e.name.toLowerCase().includes(this.filterNameCreate.toLowerCase())) && (!this.filterAccountCreate || e.account.toLowerCase().includes(this.filterAccountCreate.toLowerCase())) && (e.checked = !0);
            }) : (this.createGroupAvailableAccounts || []).forEach(e => {
                (!this.filterTerritoryCreate || e.territory.toLowerCase().includes(this.filterTerritoryCreate.toLowerCase())) && (!this.filterCityCreate || e.city.toLowerCase().includes(this.filterCityCreate.toLowerCase())) && (!this.filterPostalZipCodeCreate || e.postalZipCode.toLowerCase().includes(this.filterPostalZipCodeCreate.toLowerCase())) && (!this.filterNameCreate || e.name.toLowerCase().includes(this.filterNameCreate.toLowerCase())) && (!this.filterAccountCreate || e.account.toLowerCase().includes(this.filterAccountCreate.toLowerCase())) && (e.checked = !1);
            }), this.showSelectedCountCreate();
        }
        onSelectAllEdit() {
            this.selectAllEdit ? (this.editGroupAvailableAccounts || []).forEach(e => {
                (!this.filterTerritoryEdit || e.territory.toLowerCase().includes(this.filterTerritoryEdit.toLowerCase())) && (!this.filterCityEdit || e.city.toLowerCase().includes(this.filterCityEdit.toLowerCase())) && (!this.filterPostalZipCodeEdit || e.postalZipCode.toLowerCase().includes(this.filterPostalZipCodeEdit.toLowerCase())) && (!this.filterNameEdit || e.name.toLowerCase().includes(this.filterNameEdit.toLowerCase())) && (!this.filterAccountEdit || e.account.toLowerCase().includes(this.filterAccountEdit.toLowerCase())) && (e.checked = !0);
            }) : (this.editGroupAvailableAccounts || []).forEach(e => {
                (!this.filterTerritoryEdit || e.territory.toLowerCase().includes(this.filterTerritoryEdit.toLowerCase())) && (!this.filterCityEdit || e.city.toLowerCase().includes(this.filterCityEdit.toLowerCase())) && (!this.filterPostalZipCodeEdit || e.postalZipCode.toLowerCase().includes(this.filterPostalZipCodeEdit.toLowerCase())) && (!this.filterNameEdit || e.name.toLowerCase().includes(this.filterNameEdit.toLowerCase())) && (!this.filterAccountEdit || e.account.toLowerCase().includes(this.filterAccountEdit.toLowerCase())) && (e.checked = !1);
            }), this.showSelectedCountEdit();
        }
        onOnlySelectedCreate() {
            this.onlySelectedCreate ? (this.clearAccountFilterCreate(), this.createGroupAvailableAccounts = this.createGroupAvailableAccounts.filter(e => e.checked)) : (this.createGroupAccountList = this.createGroupAvailableAccounts.filter(e => e.checked), this.createGroupAvailableAccounts = this.createGroupAvailableAccountsBackup, this.selectAccountsSelectedCreate());
        }
        onOnlySelectedEdit() {
            this.onlySelectedEdit ? (this.clearAccountFilterEdit(), this.editGroupAvailableAccounts = this.editGroupAvailableAccounts.filter(e => e.checked)) : (this.editGroupAccountList = this.editGroupAvailableAccounts.filter(e => e.checked), this.editGroupAvailableAccounts = this.editGroupAvailableAccountsBackup, this.selectAccountsSelectedEdit());
        }
        clearAccountFilterCreate() {
            this.filterAccountCreate = "", this.filterNameCreate = "", this.filterCityCreate = "", this.filterTerritoryCreate = "", this.filterPostalZipCodeCreate = "";
        }
        clearAccountFilterEdit() {
            this.filterAccountEdit = "", this.filterNameEdit = "", this.filterCityEdit = "", this.filterTerritoryEdit = "", this.filterPostalZipCodeEdit = "";
        }
        setDefault(e) {
            for (var o = 0; o < this.user.userData.views.length; o++) this.user.userData.views[o].isDefault = this.user.userData.views[o].name === e;
            this.authService.updateSettings();
        }
        setDefaultLandingPage(e) {
            let o = e;
            if (o === void 0 && (o = this.settingsForm.value.defaultLandingSelection), !o) return;
            let t = "";
            switch (o) {
                case "trackingDashboard":
                    t = "/dashboard", this.user.userData.defaultDashboardSetting = !0, localStorage.setItem("defaultLandingSelection", "trackingDashboard");
                    break;
                case "reportingDashboard":
                    t = "/reporting-dashboard", this.user.userData.defaultDashboardSetting = !1, localStorage.setItem("defaultLandingSelection", "reportingDashboard");
                    break;
                default:
                    return;
            }
            this.router.navigate([t]), this.authService.updateSettings();
        }
        editView(e) {
            for (let o = 0; o < this.user.userData.views.length; o++)
                if (this.user.userData.views[o].name === e) {
                    this.editingView = this.user.userData.views[o], this.editingView.palette.colors.length === 0 && (this.editingView.palette = this.user.getPalettes()[0]), this.selectedPalette = this.editingView.palette, this.showEditView = !0;
                    break;
                }
        }
        deleteView(e) {
            for (let o = 0; o < this.user.userData.views.length; o++)
                if (this.user.userData.views[o].name === e) {
                    this.user.userData.views.splice(o, 1);
                    break;
                }
            this.authService.updateSettings();
        }
        applyViewEdits() {
            for (let e = 0; e < this.editingView.visualizations.length; e++) this.editingView.visualizations[e].position = e;
            this.showEditView = !1, this.authService.updateSettings();
        }
        applyPalette() {
            this.editingView.palette = this.selectedPalette;
            for (let e = 0; e < this.editingView.visualizations.length; e++) this.editingView.visualizations[e].colors = this.selectedPalette.colors;
        }
        createGroup() {
            this.createGroupAvailableAccounts = JSON.parse(JSON.stringify(this.user.userData.accounts)), this.createGroupAvailableAccounts.forEach(e => e.checked = !1), this.selectAllCreate = !1, this.createGroupAccountList = [], this.createGroupName = "", this.sortObjectArray(this.createGroupAvailableAccounts, "account"), this.showCreateGroup = !0;
        }
        applyCreateGroup() {
            this.createGroupAccountList = this.createGroupAvailableAccounts.filter(o => o.checked);
            let e = new L();
            e.organizationId = this.user.userData.view.signature.selectedOrganizationId, e.name = this.createGroupName, e.accounts = this.createGroupAccountList;
            for (let o = 0; o < this.localAccountGroupsByOrg.length; o++)
                if (this.localAccountGroupsByOrg[o].name.trim().toLowerCase() === this.createGroupName.trim().toLowerCase()) {
                    alert(`A group with this name already exists. (${this.createGroupName.trim()})`);
                    return;
                }
            this.user.userData.localAccountGroups.push(e), this.localAccountGroupsByOrg.push(e), this.authService.updateSettings(), this.ngOnInit(), this.showCreateGroup = !1;
        }
        editGroup(e) {
            this.authService.hasAccess(qe) && this.authService.loadAccountsForOrganization(this.user.userData.view.signature.selectedOrganizationId, this.user.userData).subscribe({
                next: t => {},
                error: t => {
                    console.log(t);
                }
            }), this.editGroupName = e;
            let o = JSON.parse(JSON.stringify(this.user.userData.accounts));
            o.forEach(t => t.checked = !1), this.editGroupAvailableAccounts = [];
            for (let t = 0; t < this.localAccountGroupsByOrg.length; t++)
                if (this.localAccountGroupsByOrg[t].name.trim().toLowerCase() === e.trim().toLowerCase()) {
                    this.editGroupAccountList = this.localAccountGroupsByOrg[t].accounts;
                    break;
                }
            for (let t = 0; t < o.length; t++)
                for (let r = 0; r < this.editGroupAccountList.length; r++) o[t].account === this.editGroupAccountList[r].account && (o[t].checked = !0);
            this.editGroupAvailableAccounts = o, this.sortObjectArray(this.editGroupAvailableAccounts, "account"), this.selectAccountsSelectedEdit(), this.showEditGroup = !0;
        }
        applyEditGroup() {
            this.editGroupAccountList = this.editGroupAvailableAccounts.filter(o => o.checked);
            for (let o = 0; o < this.localAccountGroupsByOrg.length; o++)
                if (this.localAccountGroupsByOrg[o].name.trim().toLowerCase() === this.editGroupName.trim().toLowerCase()) {
                    var e = new L();
                    e.organizationId = this.user.userData.view.signature.selectedOrganizationId, e.name = this.editGroupName, e.accounts = this.editGroupAccountList, this.user.userData.localAccountGroups[o] = e, this.localAccountGroupsByOrg[o] = e, this.authService.updateSettings(), this.ngOnInit(), this.showEditGroup = !1;
                    return;
                }
        }
        deleteGroup(e) {
            for (let o = 0; o < this.user.userData.localAccountGroups.length; o++)
                if (this.user.userData.localAccountGroups[o].name.trim().toLowerCase() === e.trim().toLowerCase()) {
                    this.user.userData.localAccountGroups.splice(o, 1), this.authService.updateSettings();
                    break;
                }
            for (let o = 0; o < this.localAccountGroupsByOrg.length; o++)
                if (this.localAccountGroupsByOrg[o].name.trim().toLowerCase() === e.trim().toLowerCase()) {
                    this.localAccountGroupsByOrg.splice(o, 1);
                    break;
                }
        }
        sortObjectArray(e, o) {
            e.sort((t, r) => {
                let s = t[o].toLowerCase(),
                    w = r[o].toLowerCase();
                return s < w ? -1 : s > w ? 1 : 0;
            });
        }
        static {
            this.ɵfac = function(o) {
                return new(o || p)(I(Je), I(ct), I(ze), I(Ue), I(rt), I(De));
            };
        }
        static {
            this.ɵcmp = Ie({
                type: p,
                selectors: [
                    ["app-settings"]
                ],
                decls: 155,
                vars: 109,
                consts: () => {
                    let e;
                    e = "Edit View";
                    let o;
                    o = "Create Group";
                    let t;
                    t = "*Group Name is Required";
                    let r;
                    r = "Edit Group";
                    let s;
                    s = "Vision Settings";
                    let w;
                    w = "Views";
                    let k;
                    k = "Groups";
                    let V;
                    V = "" + "\uFFFD#17\uFFFD" + "Default View" + "\uFFFD/#17\uFFFD" + "";
                    let D;
                    D = "Set the dashboard you would like to view when you first open the Vision application.";
                    let F;
                    F = "Tracking Dashboard";
                    let X;
                    X = "Reporting Dashboard";
                    let z;
                    z = "Name";
                    let B;
                    B = "Default";
                    let W;
                    W = "Manage";
                    let Z;
                    Z = "Show Visualizations";
                    let j;
                    j = "Show Data Grid";
                    let q;
                    q = "Name";
                    let J;
                    J = "Accounts";
                    let U;
                    U = "Manage";
                    let H;
                    H = " Create Group ";
                    let K;
                    K = "Loading...";
                    let Q;
                    Q = "Group Name";
                    let Y;
                    Y = "" + "\uFFFD0\uFFFD" + "\xA0 selected";
                    let ee;
                    ee = "Show only selected\xA0";
                    let te;
                    te = " Cancel ";
                    let ie;
                    ie = " Save ";
                    let ne;
                    ne = "Loading...";
                    let oe;
                    oe = "Group Name";
                    let re;
                    re = "" + "\uFFFD0\uFFFD" + "\xA0 selected";
                    let le;
                    le = "Show only selected\xA0";
                    let ae;
                    ae = " Cancel ";
                    let se;
                    se = " Save ";
                    let _e;
                    _e = " Open ";
                    let ue;
                    ue = " Edit ";
                    let pe;
                    pe = " Delete ";
                    let de;
                    de = "Display";
                    let ce;
                    ce = " Cancel ";
                    let Se;
                    Se = " Save ";
                    let ge;
                    ge = " Open ";
                    let Te;
                    Te = " Edit ";
                    let me;
                    me = " Delete ";
                    let Ce;
                    Ce = "Select All";
                    let Ee;
                    Ee = "Territory";
                    let fe;
                    fe = "City";
                    let he;
                    he = "Postal Code";
                    let Ne;
                    Ne = "Account Name";
                    let Ge;
                    Ge = "Account Number";
                    let Me;
                    Me = "Select All";
                    let ye;
                    ye = "Territory";
                    let be;
                    be = "City";
                    let Pe;
                    Pe = "Postal Code";
                    let Ae;
                    Ae = "Account Name";
                    let we;
                    return we = "Account Number", [s, w, k, V, D, F, X, z, B, W, Z, j, q, J, U, H, K, Q, Y, ee, te, ie, ne, oe, re, le, ae, se, _e, ue, pe, de, ce, Se, ge, Te, me, Ce, Ee, fe, he, Ne, Ge, Me, ye, be, Pe, Ae, we, [2, "color", "#001996"],
                        [1, "settings-container"],
                        [3, "valueChange", "value"],
                        ["value", "0"],
                        ["value", "1"],
                        [1, "mb-3"],
                        [1, "row"],
                        [1, "col-md-12"],
                        [1, "report-section__title"],
                        [1, "report-section__text", "mb-2"],
                        [3, "formGroup"],
                        [1, "col-12", "m-1"],
                        ["id", "trackingDefault", "formControlName", "defaultLandingSelection", "value", "trackingDashboard", "inputId", "trackingDefault", 1, "pur-radiobutton"],
                        ["for", "trackingDefault", 1, "pur-defaultPageLabel"],
                        ["id", "reportingDefault", "formControlName", "defaultLandingSelection", "value", "reportingDashboard", "inputId", "reportingDefault", 1, "pur-radiobutton"],
                        ["for", "reportingDefault", 1, "pur-defaultPageLabel"],
                        [2, "min-height", "60vh"],
                        [1, "table"],
                        [2, "text-align", "left", "min-width", "200px"],
                        [2, "min-width", "100px"],
                        [4, "ngFor", "ngForOf"],
                        ["role", "dialog", "header", e, "closeAriaLabel", "close", 3, "visibleChange", "visible", "modal", "draggable", "resizable", "closable", "autoZIndex", "baseZIndex"],
                        [2, "display", "inline-block", "min-width", "300px"],
                        [2, "list-style", "none"],
                        ["style", "padding: 6px", 4, "ngFor", "ngForOf"],
                        [2, "display", "inline", "min-width", "300px", "float", "right", "padding-left", "12px", "padding-top", "12px"],
                        ["inputId", "binary", 3, "ngModelChange", "ngModel", "ngModelOptions", "binary"],
                        ["placeholder", "Select a Palette", "optionLabel", "name", "name", "selectedPalette", 3, "ngModelChange", "onSelectionChange", "options", "ngModel", "ngModelOptions", "showClear"],
                        [2, "padding-left", "3px", "display", "inline"],
                        ["style", "display:inline-block;", 4, "ngFor", "ngForOf"],
                        ["pTemplate", "footer"],
                        [2, "min-height", "70vh"],
                        ["pButton", "", "pRipple", "", "type", "button", "label", "Create Group", "id", "create-group-btn", "icon", "fa fa-plus", 1, "settings-button", "p-button", "p-button-rounded", "p-button-success", 3, "click"],
                        ["role", "dialog", "header", o, "closeAriaLabel", "close", 3, "visibleChange", "visible", "modal", "draggable", "resizable", "closable", "autoZIndex", "baseZIndex"],
                        ["name", "groupEditLoading", "type", "ball-spin-clockwise", 3, "fullScreen"],
                        [1, "header-container"],
                        ["type", "text", "pInputText", "", "required", "", "placeholder", t, "aria-label", "group name", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        [1, "header_select"],
                        [1, "align"],
                        [1, "toggle-inline"],
                        [1, "toggle-btn", "toggle-inline"],
                        ["aria-checked", "false", "ariaLabel", "show only selected accounts", "aria-label", "show only selected accounts", "onKeyUp", "", 3, "ngModelChange", "click", "keyup.enter", "ngModel", "ngModelOptions"],
                        [1, "button_container"],
                        ["type", "button", "aria-label", "cancel", 1, "pur-button", "pur-button--dark", 3, "click"],
                        ["type", "button", "aria-label", "save", 1, "pur-button", "pur-button--dark", 3, "click", "disabled"],
                        [3, "value", "tableStyle"],
                        ["pTemplate", "header"],
                        ["pTemplate", "body"],
                        ["role", "dialog", "header", r, "closeAriaLabel", "close", 3, "visibleChange", "visible", "modal", "draggable", "resizable", "closable", "autoZIndex", "baseZIndex"],
                        ["type", "text", "pInputText", "", "aria-label", "group name", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        ["aria-label", "show only selected", "name", "onlySelectedEdit", "onKeyUp", "", 3, "ngModelChange", "click", "ngModel", "ngModelOptions"],
                        ["type", "button", 1, "pur-button", "pur-button--dark", 3, "click"],
                        ["type", "button", 1, "pur-button", "pur-button--dark", 3, "click", "disabled"],
                        [1, "version-info"],
                        [2, "text-align", "center"],
                        ["type", "checkbox", "id", "default-checkbox", "aria-label", "toggle default view", 3, "change", "checked"],
                        ["pButton", "", "pRipple", "", "type", "button", "icon", "fa fa-external-link", 1, "settings-button", "p-button", "p-button-rounded", "p-button-info", 3, "routerLink", "queryParams"],
                        ["pButton", "", "pRipple", "", "type", "button", "id", "settings-edit-btn", "icon", "fa fa-pencil-square-o", 1, "settings-button", "p-button", "p-button-rounded", "p-button-secondary", 3, "click", "disabled"],
                        ["pButton", "", "pRipple", "", "type", "button", "icon", "fa fa-trash-o", 1, "settings-button", "p-button", "p-button-rounded", "p-button-danger", 3, "click", "disabled"],
                        [2, "padding", "6px"],
                        [2, "border-style", "solid", "border-width", "1px", "border-radius", "4px", "padding", "6px"],
                        ["inputId", "binary", "ariaLabel", "toggle display", 3, "ngModelChange", "ngModel", "ngModelOptions", "binary"],
                        [2, "display", "inline-block"],
                        [2, "width", "20px", "height", "38px", "margin-bottom", "-13px"],
                        ["pButton", "", "pRipple", "", "type", "button", "label", "Open", "icon", "fa fa-external-link", 1, "settings-button", "p-button", "p-button-rounded", "p-button-info", 3, "routerLink", "queryParams"],
                        ["pButton", "", "pRipple", "", "type", "button", "label", "Edit", "icon", "fa fa-pencil-square-o", 1, "settings-button", "p-button", "p-button-rounded", "p-button-secondary", 3, "click"],
                        ["pButton", "", "pRipple", "", "type", "button", "label", "Delete", "icon", "fa fa-trash-o", 1, "settings-button", "p-button", "p-button-rounded", "p-button-danger", 3, "click"],
                        [1, "col-1", "select_all_column"],
                        [1, "col-2"],
                        [1, "search-input"],
                        ["type", "checkbox", "name", "", "id", "", "aria-label", "select all accounts", 3, "ngModelChange", "change", "ngModel", "ngModelOptions", "checked"],
                        [1, "p-input-icon-right"],
                        [1, "pi", "pi-search"],
                        ["type", "text", "aria-label", "territory filter", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        ["type", "text", "aria-label", "city filter", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        ["type", "text", "aria-label", "postal code filter", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        ["type", "text", "aria-label", "account name filter", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        ["type", "text", "aria-label", "account number filter", 3, "ngModelChange", "ngModel", "ngModelOptions"],
                        [3, "ngClass"],
                        ["type", "checkbox", "aria-label", "select account", 3, "ngModelChange", "change", "ngModel", "ngModelOptions", "checked"],
                        ["type", "checkbox", "name", "", "id", "", "aria-label", "select all", 3, "ngModelChange", "change", "ngModel", "ngModelOptions", "checked"]
                    ];
                },
                template: function(o, t) {
                    o & 1 && (i(0, "h1", 49), Le(1), _(2, 0), ve(), n(), i(3, "div", 50)(4, "p-tabs", 51), T("valueChange", function(s) {
                        return g(t.activeIndex, s) || (t.activeIndex = s), s;
                    }), i(5, "p-tablist")(6, "p-tab", 52), _(7, 1), n(), i(8, "p-tab", 53), _(9, 2), n()(), i(10, "p-tabpanels")(11, "p-tabpanel", 52)(12, "section", 54)(13, "div", 55)(14, "div", 56)(15, "h5", 57), xe(16, 3), E(17, "b"), Re(), n(), i(18, "p", 58), _(19, 4), n(), i(20, "div")(21, "form", 59)(22, "div", 60), E(23, "p-radioButton", 61), i(24, "label", 62), _(25, 5), n()(), i(26, "div", 60), E(27, "p-radioButton", 63), i(28, "label", 64), _(29, 6), n()()()(), E(30, "hr"), n()()(), i(31, "div", 65)(32, "div")(33, "table", 66)(34, "tr")(35, "th", 67), _(36, 7), n(), i(37, "th", 68), _(38, 8), n(), i(39, "th"), _(40, 9), n()(), A(41, Rt, 12, 9, "tr", 69), n()(), i(42, "p-dialog", 70), T("visibleChange", function(s) {
                        return g(t.showEditView, s) || (t.showEditView = s), s;
                    }), i(43, "div")(44, "div", 71)(45, "ul", 72), A(46, $t, 8, 5, "li", 73), n()(), i(47, "div", 74)(48, "p-checkbox", 75), T("ngModelChange", function(s) {
                        return g(t.editingView.showVisualizations, s) || (t.editingView.showVisualizations = s), s;
                    }), n(), i(49, "span"), _(50, 10), n(), E(51, "br"), i(52, "p-checkbox", 75), T("ngModelChange", function(s) {
                        return g(t.editingView.showDataGrid, s) || (t.editingView.showDataGrid = s), s;
                    }), n(), i(53, "span"), _(54, 11), n(), E(55, "br")(56, "br"), i(57, "div")(58, "p-select", 76), T("ngModelChange", function(s) {
                        return g(t.selectedPalette, s) || (t.selectedPalette = s), s;
                    }), h("onSelectionChange", function() {
                        return t.applyPalette();
                    }), n(), i(59, "div", 77), A(60, kt, 2, 2, "div", 78), n()()()(), A(61, Vt, 4, 0, "ng-template", 79), n()()(), i(62, "p-tabpanel", 53)(63, "div", 80)(64, "div")(65, "table", 66)(66, "tr")(67, "th", 67), _(68, 12), n(), i(69, "th", 68), _(70, 13), n(), i(71, "th"), _(72, 14), n()(), A(73, Dt, 12, 7, "tr", 69), n(), E(74, "br")(75, "br"), i(76, "button", 81), h("click", function() {
                        return t.createGroup();
                    }), _(77, 15), n()(), i(78, "p-dialog", 82), T("visibleChange", function(s) {
                        return g(t.showCreateGroup, s) || (t.showCreateGroup = s), s;
                    }), i(79, "div")(80, "ngx-spinner", 83), _(81, 16), n(), i(82, "div", 84)(83, "div")(84, "b"), _(85, 17), n(), E(86, "br"), i(87, "input", 85), T("ngModelChange", function(s) {
                        return g(t.createGroupName, s) || (t.createGroupName = s), s;
                    }), n()(), i(88, "div", 86)(89, "span")(90, "b"), _(91, 18), n()(), i(92, "div", 87)(93, "span", 88), _(94, 19), n(), i(95, "span", 89)(96, "p-inputSwitch", 90), T("ngModelChange", function(s) {
                        return g(t.onlySelectedCreate, s) || (t.onlySelectedCreate = s), s;
                    }), h("click", function() {
                        return t.onOnlySelectedCreate();
                    })("keyup.enter", function() {
                        return t.onOnlySelectedCreate();
                    }), n()()()()(), i(97, "div", 91)(98, "button", 92), h("click", function() {
                        return t.showCreateGroup = !1;
                    }), _(99, 20), n(), N(100, " \xA0\xA0 "), i(101, "button", 93), h("click", function() {
                        return t.applyCreateGroup();
                    }), _(102, 21), n()(), E(103, "br"), i(104, "div")(105, "p"), N(106, "\xA0"), n()(), i(107, "p-table", 94), y(108, "filter"), y(109, "filter"), y(110, "filter"), y(111, "filter"), y(112, "filter"), A(113, Ft, 36, 19, "ng-template", 95)(114, Xt, 13, 12, "ng-template", 96), n()()(), i(115, "p-dialog", 97), T("visibleChange", function(s) {
                        return g(t.showEditGroup, s) || (t.showEditGroup = s), s;
                    }), i(116, "div")(117, "ngx-spinner", 83), _(118, 22), n(), i(119, "div", 84)(120, "div")(121, "b"), _(122, 23), n(), E(123, "br"), i(124, "input", 98), T("ngModelChange", function(s) {
                        return g(t.editGroupName, s) || (t.editGroupName = s), s;
                    }), n()(), i(125, "div", 86)(126, "span")(127, "b"), _(128, 24), n()(), i(129, "div", 87)(130, "span", 88), _(131, 25), n(), i(132, "span", 89)(133, "p-inputSwitch", 99), T("ngModelChange", function(s) {
                        return g(t.onlySelectedEdit, s) || (t.onlySelectedEdit = s), s;
                    }), h("click", function() {
                        return t.onOnlySelectedEdit();
                    }), n()()()()(), i(134, "div", 91)(135, "button", 100), h("click", function() {
                        return t.showEditGroup = !1;
                    }), _(136, 26), n(), N(137, " \xA0\xA0 "), i(138, "button", 101), h("click", function() {
                        return t.applyEditGroup();
                    }), _(139, 27), n()(), E(140, "br"), i(141, "div")(142, "p"), N(143, "\xA0"), n()(), i(144, "p-table", 94), y(145, "filter"), y(146, "filter"), y(147, "filter"), y(148, "filter"), y(149, "filter"), A(150, zt, 36, 19, "ng-template", 95)(151, Bt, 13, 12, "ng-template", 96), n()()()()()()(), i(152, "div", 102)(153, "span"), N(154), n()()()), o & 2 && (l(4), S("value", t.activeIndex), l(17), u("formGroup", t.settingsForm), l(20), u("ngForOf", t.user.userData.views), l(), S("visible", t.showEditView), u("modal", !0)("draggable", !1)("resizable", !1)("closable", !1)("autoZIndex", !1)("baseZIndex", 999), l(4), u("ngForOf", t.editingView.visualizations), l(2), S("ngModel", t.editingView.showVisualizations), u("ngModelOptions", m(100, f))("binary", !0), l(4), S("ngModel", t.editingView.showDataGrid), u("ngModelOptions", m(101, f))("binary", !0), l(6), u("options", t.palettes), S("ngModel", t.selectedPalette), u("ngModelOptions", m(102, f))("showClear", !0), l(2), u("ngForOf", t.selectedPalette.colors), l(13), u("ngForOf", t.localAccountGroupsByOrg), l(5), S("visible", t.showCreateGroup), u("modal", !0)("draggable", !1)("resizable", !1)("closable", !1)("autoZIndex", !1)("baseZIndex", 999), l(2), u("fullScreen", !1), l(7), v(t.createGroupName !== "" ? "" : "name-required"), S("ngModel", t.createGroupName), u("ngModelOptions", m(103, f)), l(4), x(t.selectedAccountsCreate), R(91), l(5), S("ngModel", t.onlySelectedCreate), u("ngModelOptions", m(104, f)), l(5), u("disabled", t.createGroupName.trim() === "" || t.selectedAccountsCreate === 0), l(6), u("value", b(112, 76, b(111, 72, b(110, 68, b(109, 64, b(108, 60, t.createGroupAvailableAccounts, "account", t.filterAccountCreate), "name", t.filterNameCreate), "city", t.filterCityCreate), "territory", t.filterTerritoryCreate), "postalZipCode", t.filterPostalZipCodeCreate))("tableStyle", m(105, It)), l(8), S("visible", t.showEditGroup), u("modal", !0)("draggable", !1)("resizable", !1)("closable", !1)("autoZIndex", !1)("baseZIndex", 999), l(2), u("fullScreen", !1), l(7), v(t.createGroupName !== "" ? "" : "name-required"), S("ngModel", t.editGroupName), u("ngModelOptions", m(106, f)), l(4), x(t.selectedAccountsEdit), R(128), l(5), S("ngModel", t.onlySelectedEdit), u("ngModelOptions", m(107, f)), l(5), u("disabled", t.editGroupName.trim() == "" || t.selectedAccountsEdit === 0), l(6), u("value", b(149, 96, b(148, 92, b(147, 88, b(146, 84, b(145, 80, t.editGroupAvailableAccounts, "account", t.filterAccountEdit), "name", t.filterNameEdit), "city", t.filterCityEdit), "territory", t.filterTerritoryEdit), "postalZipCode", t.filterPostalZipCodeEdit))("tableStyle", m(108, It)), l(10), $("Version: ", t.version, ""));
                },
                dependencies: [Ve, $e, ke, lt, tt, Ke, He, Qe, Ye, ot, et, at, it, nt, Xe, Fe, Ct, mt, st, Tt, gt, ut, _t, dt, pt, ft, Et, bt, yt, Mt, Gt, ht, Nt, At, Pt, We, Be, wt],
                styles: ['[_ngcontent-%COMP%]:root{--pur-xxs: .5rem;--pur-xs: 1rem;--pur-sm: 1.5rem;--pur-md: 2rem;--pur-lg: 3rem;--pur-xl: 4rem;--pur-xxl: 6rem;--pur-breakpoint-xxs: 23.4375rem;--pur-breakpoint-xs: 50rem;--pur-breakpoint-sm: 67.5rem;--pur-breakpoint-md: 80rem;--pur-breakpoint-lg: 90rem;--pur-breakpoint-xl: 100rem;--pur-breakpoint-xxl: 120rem;--pur-breakpoint-xxxl: 160rem;--pur-sidebar-width: 13.1875rem;--pur-max-width: var(--pur-breakpoint-xxxl);--pur-gap: var(--pur-sm);--pur-gap-xs: var(--pur-xs);--pur-primary-red: #f00000;--pur-primary-blue: #001996;--pur-secondary-blue: #00a9ce;--pur-secondary-blue-darker: #00819e;--pur-secondary-orange: #ffa300;--pur-secondary-yellow: #fbdd40;--pur-secondary-green: #64a70b;--pur-secondary-magenta: #c800a1;--pur-secondary-grey-light: #a2aaad;--pur-secondary-grey-dark: #000;--pur-web-yellow: #f8c81e;--pur-web-green: #61A30A;--pur-web-grey-lighter: #f5f6f6;--pur-web-grey-light: #d3d3d3;--pur-web-grey: #c0c0c0;--pur-web-grey-dark: #495057;--pur-text-light: #fff;--pur-text-dark: #111;--pur-blue-magenta: #53525a;--pur-link: #001996;--pur-link-hover: #0a38e6;--pur-light-blue: #1d4ed8;--pur-alice-blue: #eff6ff;--pur-canvas: #ededed;--pur-backdrop: #303136;--pur-danger: #eb0000;--pur-Pattens-Blue: #dee2e6;--pur-webtoolkit-lightgrey-disabled: rgb(229, 229, 229);--pur-webtoolkit-darkgrey: rgb(73, 80, 87);--pur-webtoolkit-textcolour: rgb(17, 17, 17);--pur-webtoolkit-dropdown-filled: rgb(233, 233, 233);--pur-webtext-lightgreycolour1: rgb(245, 245, 245);--pur-secondary-black-shadow: rgba(0, 0, 0, .25);--pur-dropdown-header: rgb(248, 249, 250);--pur-font-mobile-xxs: .875rem;--pur-font-mobile-xs: 1rem;--pur-font-mobile-sm: 1.125rem;--pur-font-mobile-md: 1.25rem;--pur-font-mobile-lg: 1.625rem;--pur-font-mobile-xl: 1.875rem;--pur-font-mobile-xxl: 2.5rem;--pur-font-desktop-xxs: .875rem;--pur-font-desktop-xs: 1rem;--pur-font-desktop-sm: 1.25rem;--pur-font-desktop-md: 1.5rem;--pur-font-desktop-lg: 1.75rem;--pur-font-desktop-xl: 2rem;--pur-font-desktop-xxl: 2.5rem;--pur-line-mobile-xxs: 1.5rem;--pur-line-mobile-xs: 1.5rem;--pur-line-mobile-sm: 1.75rem;--pur-line-mobile-md: 1.75rem;--pur-line-mobile-lg: 2.5rem;--pur-line-mobile-xl: 2.5rem;--pur-line-mobile-xxl: 2.5rem;--pur-line-desktop-xxs: 1.5rem;--pur-line-desktop-xs: 1.5rem;--pur-line-desktop-sm: 1.5625rem;--pur-line-desktop-md: 2rem;--pur-line-desktop-lg: 3.5rem;--pur-line-desktop-xl: 3.75rem;--pur-line-desktop-xxl: 4.125rem;--pur-font-normal: 400;--pur-font-semibold: 600;--pur-font-body-family: "Open Sans", Arial, Helvetica, sans-serif;--pur-font-h1: var(--pur-font-normal) var(--pur-font-mobile-xxl)/var(--pur-line-mobile-xxl) var(--pur-font-body-family);--pur-font-h2: var(--pur-font-normal) var(--pur-font-mobile-xl)/var(--pur-line-mobile-xl) var(--pur-font-body-family);--pur-font-h3: var(--pur-font-normal) var(--pur-font-mobile-lg)/var(--pur-line-mobile-lg) var(--pur-font-body-family);--pur-font-h4: var(--pur-font-normal) var(--pur-font-mobile-md)/var(--pur-line-mobile-md) var(--pur-font-body-family);--pur-font-h5: var(--pur-font-normal) var(--pur-font-mobile-sm)/var(--pur-line-mobile-sm) var(--pur-font-body-family);--pur-font-body: var(--pur-font-normal) var(--pur-font-mobile-xs)/var(--pur-line-mobile-xs) var(--pur-font-body-family);--pur-font-legal: var(--pur-font-normal) var(--pur-font-mobile-xxs)/var(--pur-line-mobile-xxs) var(--pur-font-body-family);--pur-border-xxs: 1px;--pur-border-xs: 2px;--pur-border-md: .25rem;--pur-radius-sm: .25rem;--pur-radius-md: .625rem;--pur-shadow-md: drop-shadow(4px 4px 12px rgba(0, 0, 0, .16));--pur-duration: .15s;--pur-timing: ease-out;--pur-grey-high-dark: #757575;--pur-light-blue-bg:#00A2C7;--pur-p-chips-textcolor:#2C2C30;--pur-setting-editbutton:#5B6062;--pur-setting-openbutton:#056EC7;--pur-setting-deletebutton:#c01120;--pur-white:#FFFFFF;--pur-field-bordercolor:#919191}@media (min-width: 67.5rem){[_ngcontent-%COMP%]:root{--pur-font-h1: var(--pur-font-normal) var(--pur-font-desktop-xxl)/var(--pur-line-desktop-xxl) var(--pur-font-body-family);--pur-font-h2: var(--pur-font-normal) var(--pur-font-desktop-xl)/var(--pur-line-desktop-xl) var(--pur-font-body-family);--pur-font-h3: var(--pur-font-normal) var(--pur-font-desktop-lg)/var(--pur-line-desktop-lg) var(--pur-font-body-family);--pur-font-h4: var(--pur-font-normal) var(--pur-font-desktop-md)/var(--pur-line-desktop-md) var(--pur-font-body-family);--pur-font-h5: var(--pur-font-normal) var(--pur-font-desktop-sm)/var(--pur-line-desktop-sm) var(--pur-font-body-family);--pur-font-body: var(--pur-font-normal) var(--pur-font-desktop-xs)/var(--pur-line-desktop-xs) var(--pur-font-body-family);--pur-font-legal: var(--pur-font-normal) var(--pur-font-desktop-xxs)/var(--pur-line-desktop-xxs) var(--pur-font-body-family)}}.header_select[_ngcontent-%COMP%]{float:right}#default-checkbox[_ngcontent-%COMP%]{height:18px;width:18px}#default-checkbox[_ngcontent-%COMP%]:focus{outline:1px solid #001996;outline-offset:3px}#create-group-btn[_ngcontent-%COMP%]{background-color:#29852a}.name-required[_ngcontent-%COMP%]{border:red 1px solid}#settings-edit-btn[_ngcontent-%COMP%]{background:var(--pur-setting-editbutton)}.align[_ngcontent-%COMP%]{display:flex;align-items:center}.buttons[_ngcontent-%COMP%]{float:right;margin-top:1.5%;margin-bottom:1.5%}.button_container[_ngcontent-%COMP%]{float:right;z-index:99999}.header-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}td.col-1.select_all_column[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%]     .p-dialog .p-dialog-header{margin-top:2.4%}.pur-radiobutton[_ngcontent-%COMP%]{margin-right:.5rem;margin-bottom:.1rem}.pur-defaultPageLabel[_ngcontent-%COMP%]{margin-top:.5rem}.p-button.p-button-danger[_ngcontent-%COMP%], .p-buttonset.p-button-danger[_ngcontent-%COMP%] > .p-button[_ngcontent-%COMP%], .p-splitbutton.p-button-danger[_ngcontent-%COMP%] > .p-button[_ngcontent-%COMP%]{color:var(--pur-white);background:var(--pur-setting-deletebutton);border:1px solid var(--pur-setting-deletebutton)}.p-button.p-button-info[_ngcontent-%COMP%], .p-buttonset.p-button-info[_ngcontent-%COMP%] > .p-button[_ngcontent-%COMP%], .p-splitbutton.p-button-info[_ngcontent-%COMP%] > .p-button[_ngcontent-%COMP%]{color:var(--pur-white);background:var(--pur-setting-openbutton);border:1px solid var(--pur-setting-openbutton)}.settings-button.p-button[_ngcontent-%COMP%]{margin-right:12px!important;min-width:100px!important}td.p-datatable-cell[_ngcontent-%COMP%]{padding-bottom:10px!important}.settings-container[_ngcontent-%COMP%]{position:relative}.version-info[_ngcontent-%COMP%]{position:absolute;bottom:10px;right:10px;font-size:12px;color:#666}']
            });
        }
    }
    return p;
})();
export {
    yi as SettingsComponent
}; /**i18n:6e1dbccd4192d215e143e99fb4b6a095cee3c871f5aa7cd380ca91231f35e8e0*/