import {
    $ as M,
    Kc as he,
    Lc as ge,
    Mc as xe,
    Nc as Ue,
    Rb as A,
    Rc as De,
    Sb as D,
    W as K,
    Y as v,
    Z as Oe,
    Za as Re,
    _a as U,
    ba as T,
    bb as q,
    ca as B,
    cb as h,
    eb as P,
    f as Te,
    hb as Be,
    ja as fe,
    jb as Pe,
    mb as Ne,
    nb as I,
    ob as k,
    tb as ke,
    ub as $e,
    xa as X
} from "./chunk-SSI6PFOR.js";
var z = new M("");
var Ve = null;

function J() {
    return Ve
}

function Ct(e) {
    Ve ? ? = e
}
var pe = class {},
    j = (() => {
        class e {
            historyGo(t) {
                throw new Error("")
            }
            static\ u0275fac = function(n) {
                return new(n || e)
            };
            static\ u0275prov = v({
                token: e,
                factory: () => B(Ge),
                providedIn: "platform"
            })
        }
        return e
    })(),
    Ft = new M(""),
    Ge = (() => {
        class e extends j {
            _location;
            _history;
            _doc = B(z);
            constructor() {
                super(), this._location = window.location, this._history = window.history
            }
            getBaseHrefFromDOM() {
                return J().getBaseHref(this._doc)
            }
            onPopState(t) {
                let n = J().getGlobalEventTarget(this._doc, "window");
                return n.addEventListener("popstate", t, !1), () => n.removeEventListener("popstate", t)
            }
            onHashChange(t) {
                let n = J().getGlobalEventTarget(this._doc, "window");
                return n.addEventListener("hashchange", t, !1), () => n.removeEventListener("hashchange", t)
            }
            get href() {
                return this._location.href
            }
            get protocol() {
                return this._location.protocol
            }
            get hostname() {
                return this._location.hostname
            }
            get port() {
                return this._location.port
            }
            get pathname() {
                return this._location.pathname
            }
            get search() {
                return this._location.search
            }
            get hash() {
                return this._location.hash
            }
            set pathname(t) {
                this._location.pathname = t
            }
            pushState(t, n, r) {
                this._history.pushState(t, n, r)
            }
            replaceState(t, n, r) {
                this._history.replaceState(t, n, r)
            }
            forward() {
                this._history.forward()
            }
            back() {
                this._history.back()
            }
            historyGo(t = 0) {
                this._history.go(t)
            }
            getState() {
                return this._history.state
            }
            static\ u0275fac = function(n) {
                return new(n || e)
            };
            static\ u0275prov = v({
                token: e,
                factory: () => new e,
                providedIn: "platform"
            })
        }
        return e
    })();

function Q(e, i) {
    return e ? i ? e.endsWith("/") ? i.startsWith("/") ? e + i.slice(1) : e + i : i.startsWith("/") ? e + i : `${e}/${i}` : e : i
}

function ze(e) {
    let i = e.search(/#|\?|$/);
    return e[i - 1] === "/" ? e.slice(0, i - 1) + e.slice(i) : e
}

function _(e) {
    return e && e[0] !== "?" ? `?${e}` : e
}
var $ = (() => {
        class e {
            historyGo(t) {
                throw new Error("")
            }
            static\ u0275fac = function(n) {
                return new(n || e)
            };
            static\ u0275prov = v({
                token: e,
                factory: () => B(He),
                providedIn: "root"
            })
        }
        return e
    })(),
    ee = new M(""),
    He = (() => {
        class e extends $ {
            _platformLocation;
            _baseHref;
            _removeListenerFns = [];
            constructor(t, n) {
                super(), this._platformLocation = t, this._baseHref = n ? ? this._platformLocation.getBaseHrefFromDOM() ? ? B(z).location ? .origin ? ? ""
            }
            ngOnDestroy() {
                for (; this._removeListenerFns.length;) this._removeListenerFns.pop()()
            }
            onPopState(t) {
                this._removeListenerFns.push(this._platformLocation.onPopState(t), this._platformLocation.onHashChange(t))
            }
            getBaseHref() {
                return this._baseHref
            }
            prepareExternalUrl(t) {
                return Q(this._baseHref, t)
            }
            path(t = !1) {
                let n = this._platformLocation.pathname + _(this._platformLocation.search),
                    r = this._platformLocation.hash;
                return r && t ? `${n}${r}` : n
            }
            pushState(t, n, r, s) {
                let o = this.prepareExternalUrl(r + _(s));
                this._platformLocation.pushState(t, n, o)
            }
            replaceState(t, n, r, s) {
                let o = this.prepareExternalUrl(r + _(s));
                this._platformLocation.replaceState(t, n, o)
            }
            forward() {
                this._platformLocation.forward()
            }
            back() {
                this._platformLocation.back()
            }
            getState() {
                return this._platformLocation.getState()
            }
            historyGo(t = 0) {
                this._platformLocation.historyGo ? .(t)
            }
            static\ u0275fac = function(n) {
                return new(n || e)(T(j), T(ee, 8))
            };
            static\ u0275prov = v({
                token: e,
                factory: e.\u0275fac,
                providedIn: "root"
            })
        }
        return e
    })(),
    We = (() => {
        class e {
            _subject = new Te;
            _basePath;
            _locationStrategy;
            _urlChangeListeners = [];
            _urlChangeSubscription = null;
            constructor(t) {
                this._locationStrategy = t;
                let n = this._locationStrategy.getBaseHref();
                this._basePath = wt(ze(je(n))), this._locationStrategy.onPopState(r => {
                    this._subject.next({
                        url: this.path(!0),
                        pop: !0,
                        state: r.state,
                        type: r.type
                    })
                })
            }
            ngOnDestroy() {
                this._urlChangeSubscription ? .unsubscribe(), this._urlChangeListeners = []
            }
            path(t = !1) {
                return this.normalize(this._locationStrategy.path(t))
            }
            getState() {
                return this._locationStrategy.getState()
            }
            isCurrentPathEqualTo(t, n = "") {
                return this.path() == this.normalize(t + _(n))
            }
            normalize(t) {
                return e.stripTrailingSlash(Et(this._basePath, je(t)))
            }
            prepareExternalUrl(t) {
                return t && t[0] !== "/" && (t = "/" + t), this._locationStrategy.prepareExternalUrl(t)
            }
            go(t, n = "", r = null) {
                this._locationStrategy.pushState(r, "", t, n), this._notifyUrlChangeListeners(this.prepareExternalUrl(t + _(n)), r)
            }
            replaceState(t, n = "", r = null) {
                this._locationStrategy.replaceState(r, "", t, n), this._notifyUrlChangeListeners(this.prepareExternalUrl(t + _(n)), r)
            }
            forward() {
                this._locationStrategy.forward()
            }
            back() {
                this._locationStrategy.back()
            }
            historyGo(t = 0) {
                this._locationStrategy.historyGo ? .(t)
            }
            onUrlChange(t) {
                return this._urlChangeListeners.push(t), this._urlChangeSubscription ? ? = this.subscribe(n => {
                    this._notifyUrlChangeListeners(n.url, n.state)
                }), () => {
                    let n = this._urlChangeListeners.indexOf(t);
                    this._urlChangeListeners.splice(n, 1), this._urlChangeListeners.length === 0 && (this._urlChangeSubscription ? .unsubscribe(), this._urlChangeSubscription = null)
                }
            }
            _notifyUrlChangeListeners(t = "", n) {
                this._urlChangeListeners.forEach(r => r(t, n))
            }
            subscribe(t, n, r) {
                return this._subject.subscribe({
                    next: t,
                    error: n ? ? void 0,
                    complete: r ? ? void 0
                })
            }
            static normalizeQueryParams = _;
            static joinWithSlash = Q;
            static stripTrailingSlash = ze;
            static\ u0275fac = function(n) {
                return new(n || e)(T($))
            };
            static\ u0275prov = v({
                token: e,
                factory: () => yt(),
                providedIn: "root"
            })
        }
        return e
    })();

function yt() {
    return new We(T($))
}

function Et(e, i) {
    if (!e || !i.startsWith(e)) return i;
    let t = i.substring(e.length);
    return t === "" || ["/", ";", "?", "#"].includes(t[0]) ? t : i
}

function je(e) {
    return e.replace(/\/index.html$/, "")
}

function wt(e) {
    if (new RegExp("^(https?:)?//").test(e)) {
        let [, t] = e.split(/\/\/[^\/]+/);
        return t
    }
    return e
}
var At = (() => {
    class e extends $ {
        _platformLocation;
        _baseHref = "";
        _removeListenerFns = [];
        constructor(t, n) {
            super(), this._platformLocation = t, n != null && (this._baseHref = n)
        }
        ngOnDestroy() {
            for (; this._removeListenerFns.length;) this._removeListenerFns.pop()()
        }
        onPopState(t) {
            this._removeListenerFns.push(this._platformLocation.onPopState(t), this._platformLocation.onHashChange(t))
        }
        getBaseHref() {
            return this._baseHref
        }
        path(t = !1) {
            let n = this._platformLocation.hash ? ? "#";
            return n.length > 0 ? n.substring(1) : n
        }
        prepareExternalUrl(t) {
            let n = Q(this._baseHref, t);
            return n.length > 0 ? "#" + n : n
        }
        pushState(t, n, r, s) {
            let o = this.prepareExternalUrl(r + _(s)) || this._platformLocation.pathname;
            this._platformLocation.pushState(t, n, o)
        }
        replaceState(t, n, r, s) {
            let o = this.prepareExternalUrl(r + _(s)) || this._platformLocation.pathname;
            this._platformLocation.replaceState(t, n, o)
        }
        forward() {
            this._platformLocation.forward()
        }
        back() {
            this._platformLocation.back()
        }
        getState() {
            return this._platformLocation.getState()
        }
        historyGo(t = 0) {
            this._platformLocation.historyGo ? .(t)
        }
        static\ u0275fac = function(n) {
            return new(n || e)(T(j), T(ee, 8))
        };
        static\ u0275prov = v({
            token: e,
            factory: e.\u0275fac
        })
    }
    return e
})();
var _e = function(e) {
    return e[e.Decimal = 0] = "Decimal", e[e.Percent = 1] = "Percent", e[e.Currency = 2] = "Currency", e[e.Scientific = 3] = "Scientific", e
}(_e || {});
var F = function(e) {
        return e[e.Format = 0] = "Format", e[e.Standalone = 1] = "Standalone", e
    }(F || {}),
    c = function(e) {
        return e[e.Narrow = 0] = "Narrow", e[e.Abbreviated = 1] = "Abbreviated", e[e.Wide = 2] = "Wide", e[e.Short = 3] = "Short", e
    }(c || {}),
    E = function(e) {
        return e[e.Short = 0] = "Short", e[e.Medium = 1] = "Medium", e[e.Long = 2] = "Long", e[e.Full = 3] = "Full", e
    }(E || {}),
    w = {
        Decimal: 0,
        Group: 1,
        List: 2,
        PercentSign: 3,
        PlusSign: 4,
        MinusSign: 5,
        Exponential: 6,
        SuperscriptingExponent: 7,
        PerMille: 8,
        Infinity: 9,
        NaN: 10,
        TimeSeparator: 11,
        CurrencyDecimal: 12,
        CurrencyGroup: 13
    };

function Qe(e) {
    return A(e)[D.LocaleId]
}

function et(e, i, t) {
    let n = A(e),
        r = [n[D.DayPeriodsFormat], n[D.DayPeriodsStandalone]],
        s = S(r, i);
    return S(s, t)
}

function tt(e, i, t) {
    let n = A(e),
        r = [n[D.DaysFormat], n[D.DaysStandalone]],
        s = S(r, i);
    return S(s, t)
}

function nt(e, i, t) {
    let n = A(e),
        r = [n[D.MonthsFormat], n[D.MonthsStandalone]],
        s = S(r, i);
    return S(s, t)
}

function it(e, i) {
    let n = A(e)[D.Eras];
    return S(n, i)
}

function V(e, i) {
    let t = A(e);
    return S(t[D.DateFormat], i)
}

function G(e, i) {
    let t = A(e);
    return S(t[D.TimeFormat], i)
}

function H(e, i) {
    let n = A(e)[D.DateTimeFormat];
    return S(n, i)
}

function L(e, i) {
    let t = A(e),
        n = t[D.NumberSymbols][i];
    if (typeof n > "u") {
        if (i === w.CurrencyDecimal) return t[D.NumberSymbols][w.Decimal];
        if (i === w.CurrencyGroup) return t[D.NumberSymbols][w.Group]
    }
    return n
}

function rt(e, i) {
    return A(e)[D.NumberFormats][i]
}

function st(e) {
    if (!e[D.ExtraData]) throw new Error(`Missing extra locale data for the locale "${e[D.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)
}

function ot(e) {
    let i = A(e);
    return st(i), (i[D.ExtraData][2] || []).map(n => typeof n == "string" ? me(n) : [me(n[0]), me(n[1])])
}

function ut(e, i, t) {
    let n = A(e);
    st(n);
    let r = [n[D.ExtraData][0], n[D.ExtraData][1]],
        s = S(r, i) || [];
    return S(s, t) || []
}

function S(e, i) {
    for (let t = i; t > -1; t--)
        if (typeof e[t] < "u") return e[t];
    throw new Error("Locale data API: locale data undefined")
}

function me(e) {
    let [i, t] = e.split(":");
    return {
        hours: +i,
        minutes: +t
    }
}
var St = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,
    te = {},
    _t = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;

function at(e, i, t, n) {
    let r = Bt(e);
    i = O(t, i) || i;
    let o = [],
        u;
    for (; i;)
        if (u = _t.exec(i), u) {
            o = o.concat(u.slice(1));
            let f = o.pop();
            if (!f) break;
            i = f
        } else {
            o.push(i);
            break
        }
    let p = r.getTimezoneOffset();
    n && (p = lt(n, p), r = Rt(r, n));
    let d = "";
    return o.forEach(f => {
        let a = Tt(f);
        d += a ? a(r, t, p) : f === "''" ? "'" : f.replace(/(^'|'$)/g, "").replace(/''/g, "'")
    }), d
}

function oe(e, i, t) {
    let n = new Date(0);
    return n.setFullYear(e, i, t), n.setHours(0, 0, 0), n
}

function O(e, i) {
    let t = Qe(e);
    if (te[t] ? ? = {}, te[t][i]) return te[t][i];
    let n = "";
    switch (i) {
        case "shortDate":
            n = V(e, E.Short);
            break;
        case "mediumDate":
            n = V(e, E.Medium);
            break;
        case "longDate":
            n = V(e, E.Long);
            break;
        case "fullDate":
            n = V(e, E.Full);
            break;
        case "shortTime":
            n = G(e, E.Short);
            break;
        case "mediumTime":
            n = G(e, E.Medium);
            break;
        case "longTime":
            n = G(e, E.Long);
            break;
        case "fullTime":
            n = G(e, E.Full);
            break;
        case "short":
            let r = O(e, "shortTime"),
                s = O(e, "shortDate");
            n = ne(H(e, E.Short), [r, s]);
            break;
        case "medium":
            let o = O(e, "mediumTime"),
                u = O(e, "mediumDate");
            n = ne(H(e, E.Medium), [o, u]);
            break;
        case "long":
            let p = O(e, "longTime"),
                d = O(e, "longDate");
            n = ne(H(e, E.Long), [p, d]);
            break;
        case "full":
            let f = O(e, "fullTime"),
                a = O(e, "fullDate");
            n = ne(H(e, E.Full), [f, a]);
            break
    }
    return n && (te[t][i] = n), n
}

function ne(e, i) {
    return i && (e = e.replace(/\{([^}]+)}/g, function(t, n) {
        return i != null && n in i ? i[n] : t
    })), e
}

function b(e, i, t = "-", n, r) {
    let s = "";
    (e < 0 || r && e <= 0) && (r ? e = -e + 1 : (e = -e, s = t));
    let o = String(e);
    for (; o.length < i;) o = "0" + o;
    return n && (o = o.slice(o.length - i)), s + o
}

function bt(e, i) {
    return b(e, 3).substring(0, i)
}

function m(e, i, t = 0, n = !1, r = !1) {
    return function(s, o) {
        let u = vt(e, s);
        if ((t > 0 || u > -t) && (u += t), e === 3) u === 0 && t === -12 && (u = 12);
        else if (e === 6) return bt(u, i);
        let p = L(o, w.MinusSign);
        return b(u, i, p, n, r)
    }
}

function vt(e, i) {
    switch (e) {
        case 0:
            return i.getFullYear();
        case 1:
            return i.getMonth();
        case 2:
            return i.getDate();
        case 3:
            return i.getHours();
        case 4:
            return i.getMinutes();
        case 5:
            return i.getSeconds();
        case 6:
            return i.getMilliseconds();
        case 7:
            return i.getDay();
        default:
            throw new Error(`Unknown DateType value "${e}".`)
    }
}

function l(e, i, t = F.Format, n = !1) {
    return function(r, s) {
        return It(r, s, e, i, t, n)
    }
}

function It(e, i, t, n, r, s) {
    switch (t) {
        case 2:
            return nt(i, r, n)[e.getMonth()];
        case 1:
            return tt(i, r, n)[e.getDay()];
        case 0:
            let o = e.getHours(),
                u = e.getMinutes();
            if (s) {
                let d = ot(i),
                    f = ut(i, r, n),
                    a = d.findIndex(C => {
                        if (Array.isArray(C)) {
                            let [g, y] = C, x = o >= g.hours && u >= g.minutes, R = o < y.hours || o === y.hours && u < y.minutes;
                            if (g.hours < y.hours) {
                                if (x && R) return !0
                            } else if (x || R) return !0
                        } else if (C.hours === o && C.minutes === u) return !0;
                        return !1
                    });
                if (a !== -1) return f[a]
            }
            return et(i, r, n)[o < 12 ? 0 : 1];
        case 3:
            return it(i, n)[e.getFullYear() <= 0 ? 0 : 1];
        default:
            let p = t;
            throw new Error(`unexpected translation type ${p}`)
    }
}

function ie(e) {
    return function(i, t, n) {
        let r = -1 * n,
            s = L(t, w.MinusSign),
            o = r > 0 ? Math.floor(r / 60) : Math.ceil(r / 60);
        switch (e) {
            case 0:
                return (r >= 0 ? "+" : "") + b(o, 2, s) + b(Math.abs(r % 60), 2, s);
            case 1:
                return "GMT" + (r >= 0 ? "+" : "") + b(o, 1, s);
            case 2:
                return "GMT" + (r >= 0 ? "+" : "") + b(o, 2, s) + ":" + b(Math.abs(r % 60), 2, s);
            case 3:
                return n === 0 ? "Z" : (r >= 0 ? "+" : "") + b(o, 2, s) + ":" + b(Math.abs(r % 60), 2, s);
            default:
                throw new Error(`Unknown zone width "${e}"`)
        }
    }
}
var Lt = 0,
    se = 4;

function Mt(e) {
    let i = oe(e, Lt, 1).getDay();
    return oe(e, 0, 1 + (i <= se ? se : se + 7) - i)
}

function ct(e) {
    let i = e.getDay(),
        t = i === 0 ? -3 : se - i;
    return oe(e.getFullYear(), e.getMonth(), e.getDate() + t)
}

function Ce(e, i = !1) {
    return function(t, n) {
        let r;
        if (i) {
            let s = new Date(t.getFullYear(), t.getMonth(), 1).getDay() - 1,
                o = t.getDate();
            r = 1 + Math.floor((o + s) / 7)
        } else {
            let s = ct(t),
                o = Mt(s.getFullYear()),
                u = s.getTime() - o.getTime();
            r = 1 + Math.round(u / 6048e5)
        }
        return b(r, e, L(n, w.MinusSign))
    }
}

function re(e, i = !1) {
    return function(t, n) {
        let s = ct(t).getFullYear();
        return b(s, e, L(n, w.MinusSign), i)
    }
}
var Fe = {};

function Tt(e) {
    if (Fe[e]) return Fe[e];
    let i;
    switch (e) {
        case "G":
        case "GG":
        case "GGG":
            i = l(3, c.Abbreviated);
            break;
        case "GGGG":
            i = l(3, c.Wide);
            break;
        case "GGGGG":
            i = l(3, c.Narrow);
            break;
        case "y":
            i = m(0, 1, 0, !1, !0);
            break;
        case "yy":
            i = m(0, 2, 0, !0, !0);
            break;
        case "yyy":
            i = m(0, 3, 0, !1, !0);
            break;
        case "yyyy":
            i = m(0, 4, 0, !1, !0);
            break;
        case "Y":
            i = re(1);
            break;
        case "YY":
            i = re(2, !0);
            break;
        case "YYY":
            i = re(3);
            break;
        case "YYYY":
            i = re(4);
            break;
        case "M":
        case "L":
            i = m(1, 1, 1);
            break;
        case "MM":
        case "LL":
            i = m(1, 2, 1);
            break;
        case "MMM":
            i = l(2, c.Abbreviated);
            break;
        case "MMMM":
            i = l(2, c.Wide);
            break;
        case "MMMMM":
            i = l(2, c.Narrow);
            break;
        case "LLL":
            i = l(2, c.Abbreviated, F.Standalone);
            break;
        case "LLLL":
            i = l(2, c.Wide, F.Standalone);
            break;
        case "LLLLL":
            i = l(2, c.Narrow, F.Standalone);
            break;
        case "w":
            i = Ce(1);
            break;
        case "ww":
            i = Ce(2);
            break;
        case "W":
            i = Ce(1, !0);
            break;
        case "d":
            i = m(2, 1);
            break;
        case "dd":
            i = m(2, 2);
            break;
        case "c":
        case "cc":
            i = m(7, 1);
            break;
        case "ccc":
            i = l(1, c.Abbreviated, F.Standalone);
            break;
        case "cccc":
            i = l(1, c.Wide, F.Standalone);
            break;
        case "ccccc":
            i = l(1, c.Narrow, F.Standalone);
            break;
        case "cccccc":
            i = l(1, c.Short, F.Standalone);
            break;
        case "E":
        case "EE":
        case "EEE":
            i = l(1, c.Abbreviated);
            break;
        case "EEEE":
            i = l(1, c.Wide);
            break;
        case "EEEEE":
            i = l(1, c.Narrow);
            break;
        case "EEEEEE":
            i = l(1, c.Short);
            break;
        case "a":
        case "aa":
        case "aaa":
            i = l(0, c.Abbreviated);
            break;
        case "aaaa":
            i = l(0, c.Wide);
            break;
        case "aaaaa":
            i = l(0, c.Narrow);
            break;
        case "b":
        case "bb":
        case "bbb":
            i = l(0, c.Abbreviated, F.Standalone, !0);
            break;
        case "bbbb":
            i = l(0, c.Wide, F.Standalone, !0);
            break;
        case "bbbbb":
            i = l(0, c.Narrow, F.Standalone, !0);
            break;
        case "B":
        case "BB":
        case "BBB":
            i = l(0, c.Abbreviated, F.Format, !0);
            break;
        case "BBBB":
            i = l(0, c.Wide, F.Format, !0);
            break;
        case "BBBBB":
            i = l(0, c.Narrow, F.Format, !0);
            break;
        case "h":
            i = m(3, 1, -12);
            break;
        case "hh":
            i = m(3, 2, -12);
            break;
        case "H":
            i = m(3, 1);
            break;
        case "HH":
            i = m(3, 2);
            break;
        case "m":
            i = m(4, 1);
            break;
        case "mm":
            i = m(4, 2);
            break;
        case "s":
            i = m(5, 1);
            break;
        case "ss":
            i = m(5, 2);
            break;
        case "S":
            i = m(6, 1);
            break;
        case "SS":
            i = m(6, 2);
            break;
        case "SSS":
            i = m(6, 3);
            break;
        case "Z":
        case "ZZ":
        case "ZZZ":
            i = ie(0);
            break;
        case "ZZZZZ":
            i = ie(3);
            break;
        case "O":
        case "OO":
        case "OOO":
        case "z":
        case "zz":
        case "zzz":
            i = ie(1);
            break;
        case "OOOO":
        case "ZZZZ":
        case "zzzz":
            i = ie(2);
            break;
        default:
            return null
    }
    return Fe[e] = i, i
}

function lt(e, i) {
    e = e.replace(/:/g, "");
    let t = Date.parse("Jan 01, 1970 00:00:00 " + e) / 6e4;
    return isNaN(t) ? i : t
}

function Ot(e, i) {
    return e = new Date(e.getTime()), e.setMinutes(e.getMinutes() + i), e
}

function Rt(e, i, t) {
    let r = e.getTimezoneOffset(),
        s = lt(i, r);
    return Ot(e, -1 * (s - r))
}

function Bt(e) {
    if (Ze(e)) return e;
    if (typeof e == "number" && !isNaN(e)) return new Date(e);
    if (typeof e == "string") {
        if (e = e.trim(), /^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)) {
            let [r, s = 1, o = 1] = e.split("-").map(u => +u);
            return oe(r, s - 1, o)
        }
        let t = parseFloat(e);
        if (!isNaN(e - t)) return new Date(t);
        let n;
        if (n = e.match(St)) return Pt(n)
    }
    let i = new Date(e);
    if (!Ze(i)) throw new Error(`Unable to convert "${e}" into a date`);
    return i
}

function Pt(e) {
    let i = new Date(0),
        t = 0,
        n = 0,
        r = e[8] ? i.setUTCFullYear : i.setFullYear,
        s = e[8] ? i.setUTCHours : i.setHours;
    e[9] && (t = Number(e[9] + e[10]), n = Number(e[9] + e[11])), r.call(i, Number(e[1]), Number(e[2]) - 1, Number(e[3]));
    let o = Number(e[4] || 0) - t,
        u = Number(e[5] || 0) - n,
        p = Number(e[6] || 0),
        d = Math.floor(parseFloat("0." + (e[7] || 0)) * 1e3);
    return s.call(i, o, u, p, d), i
}

function Ze(e) {
    return e instanceof Date && !isNaN(e.valueOf())
}
var Nt = /^(\d+)?\.((\d+)(-(\d+))?)?$/,
    Ye = 22,
    ue = ".",
    W = "0",
    kt = ";",
    $t = ",",
    ye = "#";

function xt(e, i, t, n, r, s, o = !1) {
    let u = "",
        p = !1;
    if (!isFinite(e)) u = L(t, w.Infinity);
    else {
        let d = jt(e);
        o && (d = zt(d));
        let f = i.minInt,
            a = i.minFrac,
            C = i.maxFrac;
        if (s) {
            let N = s.match(Nt);
            if (N === null) throw new Error(`${s} is not a valid digit info`);
            let Le = N[1],
                de = N[3],
                Me = N[5];
            Le != null && (f = Ee(Le)), de != null && (a = Ee(de)), Me != null ? C = Ee(Me) : de != null && a > C && (C = a)
        }
        Vt(d, a, C);
        let g = d.digits,
            y = d.integerLen,
            x = d.exponent,
            R = [];
        for (p = g.every(N => !N); y < f; y++) g.unshift(0);
        for (; y < 0; y++) g.unshift(0);
        y > 0 ? R = g.splice(y, g.length) : (R = g, g = [0]);
        let Y = [];
        for (g.length >= i.lgSize && Y.unshift(g.splice(-i.lgSize, g.length).join("")); g.length > i.gSize;) Y.unshift(g.splice(-i.gSize, g.length).join(""));
        g.length && Y.unshift(g.join("")), u = Y.join(L(t, n)), R.length && (u += L(t, r) + R.join("")), x && (u += L(t, w.Exponential) + "+" + x)
    }
    return e < 0 && !p ? u = i.negPre + u + i.negSuf : u = i.posPre + u + i.posSuf, u
}

function dt(e, i, t) {
    let n = rt(i, _e.Decimal),
        r = Ut(n, L(i, w.MinusSign));
    return xt(e, r, i, w.Group, w.Decimal, t)
}

function Ut(e, i = "-") {
    let t = {
            minInt: 1,
            minFrac: 0,
            maxFrac: 0,
            posPre: "",
            posSuf: "",
            negPre: "",
            negSuf: "",
            gSize: 0,
            lgSize: 0
        },
        n = e.split(kt),
        r = n[0],
        s = n[1],
        o = r.indexOf(ue) !== -1 ? r.split(ue) : [r.substring(0, r.lastIndexOf(W) + 1), r.substring(r.lastIndexOf(W) + 1)],
        u = o[0],
        p = o[1] || "";
    t.posPre = u.substring(0, u.indexOf(ye));
    for (let f = 0; f < p.length; f++) {
        let a = p.charAt(f);
        a === W ? t.minFrac = t.maxFrac = f + 1 : a === ye ? t.maxFrac = f + 1 : t.posSuf += a
    }
    let d = u.split($t);
    if (t.gSize = d[1] ? d[1].length : 0, t.lgSize = d[2] || d[1] ? (d[2] || d[1]).length : 0, s) {
        let f = r.length - t.posPre.length - t.posSuf.length,
            a = s.indexOf(ye);
        t.negPre = s.substring(0, a).replace(/'/g, ""), t.negSuf = s.slice(a + f).replace(/'/g, "")
    } else t.negPre = i + t.posPre, t.negSuf = t.posSuf;
    return t
}

function zt(e) {
    if (e.digits[0] === 0) return e;
    let i = e.digits.length - e.integerLen;
    return e.exponent ? e.exponent += 2 : (i === 0 ? e.digits.push(0, 0) : i === 1 && e.digits.push(0), e.integerLen += 2), e
}

function jt(e) {
    let i = Math.abs(e) + "",
        t = 0,
        n, r, s, o, u;
    for ((r = i.indexOf(ue)) > -1 && (i = i.replace(ue, "")), (s = i.search(/e/i)) > 0 ? (r < 0 && (r = s), r += +i.slice(s + 1), i = i.substring(0, s)) : r < 0 && (r = i.length), s = 0; i.charAt(s) === W; s++);
    if (s === (u = i.length)) n = [0], r = 1;
    else {
        for (u--; i.charAt(u) === W;) u--;
        for (r -= s, n = [], o = 0; s <= u; s++, o++) n[o] = Number(i.charAt(s))
    }
    return r > Ye && (n = n.splice(0, Ye - 1), t = r - 1, r = 1), {
        digits: n,
        exponent: t,
        integerLen: r
    }
}

function Vt(e, i, t) {
    if (i > t) throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);
    let n = e.digits,
        r = n.length - e.integerLen,
        s = Math.min(Math.max(i, r), t),
        o = s + e.integerLen,
        u = n[o];
    if (o > 0) {
        n.splice(Math.max(e.integerLen, o));
        for (let a = o; a < n.length; a++) n[a] = 0
    } else {
        r = Math.max(0, r), e.integerLen = 1, n.length = Math.max(1, o = s + 1), n[0] = 0;
        for (let a = 1; a < o; a++) n[a] = 0
    }
    if (u >= 5)
        if (o - 1 < 0) {
            for (let a = 0; a > o; a--) n.unshift(0), e.integerLen++;
            n.unshift(1), e.integerLen++
        } else n[o - 1]++;
    for (; r < Math.max(0, s); r++) n.push(0);
    let p = s !== 0,
        d = i + e.integerLen,
        f = n.reduceRight(function(a, C, g, y) {
            return C = C + a, y[g] = C < 10 ? C : C - 10, p && (y[g] === 0 && g >= d ? y.pop() : p = !1), C >= 10 ? 1 : 0
        }, 0);
    f && (n.unshift(f), e.integerLen++)
}

function Ee(e) {
    let i = parseInt(e);
    if (isNaN(i)) throw new Error("Invalid integer literal when parsing " + e);
    return i
}
var we = /\s+/,
    Ke = [],
    Gt = (() => {
        class e {
            _ngEl;
            _renderer;
            initialClasses = Ke;
            rawClass;
            stateMap = new Map;
            constructor(t, n) {
                this._ngEl = t, this._renderer = n
            }
            set klass(t) {
                this.initialClasses = t != null ? t.trim().split(we) : Ke
            }
            set ngClass(t) {
                this.rawClass = typeof t == "string" ? t.trim().split(we) : t
            }
            ngDoCheck() {
                for (let n of this.initialClasses) this._updateState(n, !0);
                let t = this.rawClass;
                if (Array.isArray(t) || t instanceof Set)
                    for (let n of t) this._updateState(n, !0);
                else if (t != null)
                    for (let n of Object.keys(t)) this._updateState(n, !!t[n]);
                this._applyStateDiff()
            }
            _updateState(t, n) {
                let r = this.stateMap.get(t);
                r !== void 0 ? (r.enabled !== n && (r.changed = !0, r.enabled = n), r.touched = !0) : this.stateMap.set(t, {
                    enabled: n,
                    changed: !0,
                    touched: !0
                })
            }
            _applyStateDiff() {
                for (let t of this.stateMap) {
                    let n = t[0],
                        r = t[1];
                    r.changed ? (this._toggleClass(n, r.enabled), r.changed = !1) : r.touched || (r.enabled && this._toggleClass(n, !1), this.stateMap.delete(n)), r.touched = !1
                }
            }
            _toggleClass(t, n) {
                t = t.trim(), t.length > 0 && t.split(we).forEach(r => {
                    n ? this._renderer.addClass(this._ngEl.nativeElement, r) : this._renderer.removeClass(this._ngEl.nativeElement, r)
                })
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(X), h(q))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngClass", ""]
                ],
                inputs: {
                    klass: [0, "class", "klass"],
                    ngClass: "ngClass"
                }
            })
        }
        return e
    })(),
    Ht = (() => {
        class e {
            _viewContainerRef;
            ngComponentOutlet = null;
            ngComponentOutletInputs;
            ngComponentOutletInjector;
            ngComponentOutletContent;
            ngComponentOutletNgModule;
            ngComponentOutletNgModuleFactory;
            _componentRef;
            _moduleRef;
            _inputsUsed = new Map;
            get componentInstance() {
                return this._componentRef ? .instance ? ? null
            }
            constructor(t) {
                this._viewContainerRef = t
            }
            _needToReCreateNgModuleInstance(t) {
                return t.ngComponentOutletNgModule !== void 0 || t.ngComponentOutletNgModuleFactory !== void 0
            }
            _needToReCreateComponentInstance(t) {
                return t.ngComponentOutlet !== void 0 || t.ngComponentOutletContent !== void 0 || t.ngComponentOutletInjector !== void 0 || this._needToReCreateNgModuleInstance(t)
            }
            ngOnChanges(t) {
                if (this._needToReCreateComponentInstance(t) && (this._viewContainerRef.clear(), this._inputsUsed.clear(), this._componentRef = void 0, this.ngComponentOutlet)) {
                    let n = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;
                    this._needToReCreateNgModuleInstance(t) && (this._moduleRef ? .destroy(), this.ngComponentOutletNgModule ? this._moduleRef = Pe(this.ngComponentOutletNgModule, Xe(n)) : this.ngComponentOutletNgModuleFactory ? this._moduleRef = this.ngComponentOutletNgModuleFactory.create(Xe(n)) : this._moduleRef = void 0), this._componentRef = this._viewContainerRef.createComponent(this.ngComponentOutlet, {
                        injector: n,
                        ngModuleRef: this._moduleRef,
                        projectableNodes: this.ngComponentOutletContent
                    })
                }
            }
            ngDoCheck() {
                if (this._componentRef) {
                    if (this.ngComponentOutletInputs)
                        for (let t of Object.keys(this.ngComponentOutletInputs)) this._inputsUsed.set(t, !0);
                    this._applyInputStateDiff(this._componentRef)
                }
            }
            ngOnDestroy() {
                this._moduleRef ? .destroy()
            }
            _applyInputStateDiff(t) {
                for (let [n, r] of this._inputsUsed) r ? (t.setInput(n, this.ngComponentOutletInputs[n]), this._inputsUsed.set(n, !1)) : (t.setInput(n, void 0), this._inputsUsed.delete(n))
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(P))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngComponentOutlet", ""]
                ],
                inputs: {
                    ngComponentOutlet: "ngComponentOutlet",
                    ngComponentOutletInputs: "ngComponentOutletInputs",
                    ngComponentOutletInjector: "ngComponentOutletInjector",
                    ngComponentOutletContent: "ngComponentOutletContent",
                    ngComponentOutletNgModule: "ngComponentOutletNgModule",
                    ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory"
                },
                exportAs: ["ngComponentOutlet"],
                features: [fe]
            })
        }
        return e
    })();

function Xe(e) {
    return e.get(Be).injector
}
var ae = class {
        $implicit;
        ngForOf;
        index;
        count;
        constructor(i, t, n, r) {
            this.$implicit = i, this.ngForOf = t, this.index = n, this.count = r
        }
        get first() {
            return this.index === 0
        }
        get last() {
            return this.index === this.count - 1
        }
        get even() {
            return this.index % 2 === 0
        }
        get odd() {
            return !this.even
        }
    },
    ft = (() => {
        class e {
            _viewContainer;
            _template;
            _differs;
            set ngForOf(t) {
                this._ngForOf = t, this._ngForOfDirty = !0
            }
            set ngForTrackBy(t) {
                this._trackByFn = t
            }
            get ngForTrackBy() {
                return this._trackByFn
            }
            _ngForOf = null;
            _ngForOfDirty = !0;
            _differ = null;
            _trackByFn;
            constructor(t, n, r) {
                this._viewContainer = t, this._template = n, this._differs = r
            }
            set ngForTemplate(t) {
                t && (this._template = t)
            }
            ngDoCheck() {
                if (this._ngForOfDirty) {
                    this._ngForOfDirty = !1;
                    let t = this._ngForOf;
                    !this._differ && t && (this._differ = this._differs.find(t).create(this.ngForTrackBy))
                }
                if (this._differ) {
                    let t = this._differ.diff(this._ngForOf);
                    t && this._applyChanges(t)
                }
            }
            _applyChanges(t) {
                let n = this._viewContainer;
                t.forEachOperation((r, s, o) => {
                    if (r.previousIndex == null) n.createEmbeddedView(this._template, new ae(r.item, this._ngForOf, -1, -1), o === null ? void 0 : o);
                    else if (o == null) n.remove(s === null ? void 0 : s);
                    else if (s !== null) {
                        let u = n.get(s);
                        n.move(u, o), qe(u, r)
                    }
                });
                for (let r = 0, s = n.length; r < s; r++) {
                    let u = n.get(r).context;
                    u.index = r, u.count = s, u.ngForOf = this._ngForOf
                }
                t.forEachIdentityChange(r => {
                    let s = n.get(r.currentIndex);
                    qe(s, r)
                })
            }
            static ngTemplateContextGuard(t, n) {
                return !0
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(P), h(U), h(xe))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngFor", "", "ngForOf", ""]
                ],
                inputs: {
                    ngForOf: "ngForOf",
                    ngForTrackBy: "ngForTrackBy",
                    ngForTemplate: "ngForTemplate"
                }
            })
        }
        return e
    })();

function qe(e, i) {
    e.context.$implicit = i.item
}
var Wt = (() => {
        class e {
            _viewContainer;
            _context = new ce;
            _thenTemplateRef = null;
            _elseTemplateRef = null;
            _thenViewRef = null;
            _elseViewRef = null;
            constructor(t, n) {
                this._viewContainer = t, this._thenTemplateRef = n
            }
            set ngIf(t) {
                this._context.$implicit = this._context.ngIf = t, this._updateView()
            }
            set ngIfThen(t) {
                Je(t, !1), this._thenTemplateRef = t, this._thenViewRef = null, this._updateView()
            }
            set ngIfElse(t) {
                Je(t, !1), this._elseTemplateRef = t, this._elseViewRef = null, this._updateView()
            }
            _updateView() {
                this._context.$implicit ? this._thenViewRef || (this._viewContainer.clear(), this._elseViewRef = null, this._thenTemplateRef && (this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context))) : this._elseViewRef || (this._viewContainer.clear(), this._thenViewRef = null, this._elseTemplateRef && (this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context)))
            }
            static ngIfUseIfTypeGuard;
            static ngTemplateGuard_ngIf;
            static ngTemplateContextGuard(t, n) {
                return !0
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(P), h(U))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngIf", ""]
                ],
                inputs: {
                    ngIf: "ngIf",
                    ngIfThen: "ngIfThen",
                    ngIfElse: "ngIfElse"
                }
            })
        }
        return e
    })(),
    ce = class {
        $implicit = null;
        ngIf = null
    };

function Je(e, i) {
    if (e && !e.createEmbeddedView) throw new K(2020, !1)
}
var le = class {
        _viewContainerRef;
        _templateRef;
        _created = !1;
        constructor(i, t) {
            this._viewContainerRef = i, this._templateRef = t
        }
        create() {
            this._created = !0, this._viewContainerRef.createEmbeddedView(this._templateRef)
        }
        destroy() {
            this._created = !1, this._viewContainerRef.clear()
        }
        enforceState(i) {
            i && !this._created ? this.create() : !i && this._created && this.destroy()
        }
    },
    be = (() => {
        class e {
            _defaultViews = [];
            _defaultUsed = !1;
            _caseCount = 0;
            _lastCaseCheckIndex = 0;
            _lastCasesMatched = !1;
            _ngSwitch;
            set ngSwitch(t) {
                this._ngSwitch = t, this._caseCount === 0 && this._updateDefaultCases(!0)
            }
            _addCase() {
                return this._caseCount++
            }
            _addDefault(t) {
                this._defaultViews.push(t)
            }
            _matchCase(t) {
                let n = t === this._ngSwitch;
                return this._lastCasesMatched || = n, this._lastCaseCheckIndex++, this._lastCaseCheckIndex === this._caseCount && (this._updateDefaultCases(!this._lastCasesMatched), this._lastCaseCheckIndex = 0, this._lastCasesMatched = !1), n
            }
            _updateDefaultCases(t) {
                if (this._defaultViews.length > 0 && t !== this._defaultUsed) {
                    this._defaultUsed = t;
                    for (let n of this._defaultViews) n.enforceState(t)
                }
            }
            static\ u0275fac = function(n) {
                return new(n || e)
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngSwitch", ""]
                ],
                inputs: {
                    ngSwitch: "ngSwitch"
                }
            })
        }
        return e
    })(),
    Zt = (() => {
        class e {
            ngSwitch;
            _view;
            ngSwitchCase;
            constructor(t, n, r) {
                this.ngSwitch = r, r._addCase(), this._view = new le(t, n)
            }
            ngDoCheck() {
                this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(P), h(U), h(be, 9))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngSwitchCase", ""]
                ],
                inputs: {
                    ngSwitchCase: "ngSwitchCase"
                }
            })
        }
        return e
    })(),
    Yt = (() => {
        class e {
            constructor(t, n, r) {
                r._addDefault(new le(t, n))
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(P), h(U), h(be, 9))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngSwitchDefault", ""]
                ]
            })
        }
        return e
    })();
var Kt = (() => {
        class e {
            _ngEl;
            _differs;
            _renderer;
            _ngStyle = null;
            _differ = null;
            constructor(t, n, r) {
                this._ngEl = t, this._differs = n, this._renderer = r
            }
            set ngStyle(t) {
                this._ngStyle = t, !this._differ && t && (this._differ = this._differs.find(t).create())
            }
            ngDoCheck() {
                if (this._differ) {
                    let t = this._differ.diff(this._ngStyle);
                    t && this._applyChanges(t)
                }
            }
            _setStyle(t, n) {
                let [r, s] = t.split("."), o = r.indexOf("-") === -1 ? void 0 : Re.DashCase;
                n != null ? this._renderer.setStyle(this._ngEl.nativeElement, r, s ? `${n}${s}` : n, o) : this._renderer.removeStyle(this._ngEl.nativeElement, r, o)
            }
            _applyChanges(t) {
                t.forEachRemovedItem(n => this._setStyle(n.key, null)), t.forEachAddedItem(n => this._setStyle(n.key, n.currentValue)), t.forEachChangedItem(n => this._setStyle(n.key, n.currentValue))
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(X), h(Ue), h(q))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngStyle", ""]
                ],
                inputs: {
                    ngStyle: "ngStyle"
                }
            })
        }
        return e
    })(),
    Xt = (() => {
        class e {
            _viewContainerRef;
            _viewRef = null;
            ngTemplateOutletContext = null;
            ngTemplateOutlet = null;
            ngTemplateOutletInjector = null;
            constructor(t) {
                this._viewContainerRef = t
            }
            ngOnChanges(t) {
                if (this._shouldRecreateView(t)) {
                    let n = this._viewContainerRef;
                    if (this._viewRef && n.remove(n.indexOf(this._viewRef)), !this.ngTemplateOutlet) {
                        this._viewRef = null;
                        return
                    }
                    let r = this._createContextForwardProxy();
                    this._viewRef = n.createEmbeddedView(this.ngTemplateOutlet, r, {
                        injector: this.ngTemplateOutletInjector ? ? void 0
                    })
                }
            }
            _shouldRecreateView(t) {
                return !!t.ngTemplateOutlet || !!t.ngTemplateOutletInjector
            }
            _createContextForwardProxy() {
                return new Proxy({}, {
                    set: (t, n, r) => this.ngTemplateOutletContext ? Reflect.set(this.ngTemplateOutletContext, n, r) : !1,
                    get: (t, n, r) => {
                        if (this.ngTemplateOutletContext) return Reflect.get(this.ngTemplateOutletContext, n, r)
                    }
                })
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(P))
            };
            static\ u0275dir = I({
                type: e,
                selectors: [
                    ["", "ngTemplateOutlet", ""]
                ],
                inputs: {
                    ngTemplateOutletContext: "ngTemplateOutletContext",
                    ngTemplateOutlet: "ngTemplateOutlet",
                    ngTemplateOutletInjector: "ngTemplateOutletInjector"
                },
                features: [fe]
            })
        }
        return e
    })();

function Z(e, i) {
    return new K(2100, !1)
}
var Ae = class {
        createSubscription(i, t) {
            return De(() => i.subscribe({
                next: t,
                error: n => {
                    throw n
                }
            }))
        }
        dispose(i) {
            De(() => i.unsubscribe())
        }
    },
    Se = class {
        createSubscription(i, t) {
            return i.then(n => t ? .(n), n => {
                throw n
            }), {
                unsubscribe: () => {
                    t = null
                }
            }
        }
        dispose(i) {
            i.unsubscribe()
        }
    },
    qt = new Se,
    Jt = new Ae,
    Qt = (() => {
        class e {
            _ref;
            _latestValue = null;
            markForCheckOnValueUpdate = !0;
            _subscription = null;
            _obj = null;
            _strategy = null;
            constructor(t) {
                this._ref = t
            }
            ngOnDestroy() {
                this._subscription && this._dispose(), this._ref = null
            }
            transform(t) {
                if (!this._obj) {
                    if (t) try {
                        this.markForCheckOnValueUpdate = !1, this._subscribe(t)
                    } finally {
                        this.markForCheckOnValueUpdate = !0
                    }
                    return this._latestValue
                }
                return t !== this._obj ? (this._dispose(), this.transform(t)) : this._latestValue
            }
            _subscribe(t) {
                this._obj = t, this._strategy = this._selectStrategy(t), this._subscription = this._strategy.createSubscription(t, n => this._updateLatestValue(t, n))
            }
            _selectStrategy(t) {
                if (ke(t)) return qt;
                if ($e(t)) return Jt;
                throw Z(e, t)
            }
            _dispose() {
                this._strategy.dispose(this._subscription), this._latestValue = null, this._subscription = null, this._obj = null
            }
            _updateLatestValue(t, n) {
                t === this._obj && (this._latestValue = n, this.markForCheckOnValueUpdate && this._ref ? .markForCheck())
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(ge, 16))
            };
            static\ u0275pipe = k({
                name: "async",
                type: e,
                pure: !1
            })
        }
        return e
    })();
var en = /(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,
    tn = (() => {
        class e {
            transform(t) {
                if (t == null) return null;
                if (typeof t != "string") throw Z(e, t);
                return t.replace(en, n => n[0].toUpperCase() + n.slice(1).toLowerCase())
            }
            static\ u0275fac = function(n) {
                return new(n || e)
            };
            static\ u0275pipe = k({
                name: "titlecase",
                type: e,
                pure: !0
            })
        }
        return e
    })(),
    nn = (() => {
        class e {
            transform(t) {
                if (t == null) return null;
                if (typeof t != "string") throw Z(e, t);
                return t.toUpperCase()
            }
            static\ u0275fac = function(n) {
                return new(n || e)
            };
            static\ u0275pipe = k({
                name: "uppercase",
                type: e,
                pure: !0
            })
        }
        return e
    })(),
    rn = "mediumDate",
    ht = new M(""),
    gt = new M(""),
    sn = (() => {
        class e {
            locale;
            defaultTimezone;
            defaultOptions;
            constructor(t, n, r) {
                this.locale = t, this.defaultTimezone = n, this.defaultOptions = r
            }
            transform(t, n, r, s) {
                if (t == null || t === "" || t !== t) return null;
                try {
                    let o = n ? ? this.defaultOptions ? .dateFormat ? ? rn,
                        u = r ? ? this.defaultOptions ? .timezone ? ? this.defaultTimezone ? ? void 0;
                    return at(t, o, s || this.locale, u)
                } catch (o) {
                    throw Z(e, o.message)
                }
            }
            static\ u0275fac = function(n) {
                return new(n || e)(h(he, 16), h(ht, 24), h(gt, 24))
            };
            static\ u0275pipe = k({
                name: "date",
                type: e,
                pure: !0
            })
        }
        return e
    })();
var on = (() => {
    class e {
        _locale;
        constructor(t) {
            this._locale = t
        }
        transform(t, n, r) {
            if (!un(t)) return null;
            r || = this._locale;
            try {
                let s = an(t);
                return dt(s, r, n)
            } catch (s) {
                throw Z(e, s.message)
            }
        }
        static\ u0275fac = function(n) {
            return new(n || e)(h(he, 16))
        };
        static\ u0275pipe = k({
            name: "number",
            type: e,
            pure: !0
        })
    }
    return e
})();

function un(e) {
    return !(e == null || e === "" || e !== e)
}

function an(e) {
    if (typeof e == "string" && !isNaN(Number(e) - parseFloat(e))) return Number(e);
    if (typeof e != "number") throw new Error(`${e} is not a number`);
    return e
}
var cn = (() => {
    class e {
        static\ u0275fac = function(n) {
            return new(n || e)
        };
        static\ u0275mod = Ne({
            type: e
        });
        static\ u0275inj = Oe({})
    }
    return e
})();

function ln(e, i) {
    i = encodeURIComponent(i);
    for (let t of e.split(";")) {
        let n = t.indexOf("="),
            [r, s] = n == -1 ? [t, ""] : [t.slice(0, n), t.slice(n + 1)];
        if (r.trim() === i) return decodeURIComponent(s)
    }
    return null
}
var Dt = "browser",
    pt = "server";

function dn(e) {
    return e === Dt
}

function fn(e) {
    return e === pt
}
var ve = class {};
var Bi = (() => {
        class e {
            static\ u0275prov = v({
                token: e,
                providedIn: "root",
                factory: () => new Ie(B(z), window)
            })
        }
        return e
    })(),
    Ie = class {
        document;
        window;
        offset = () => [0, 0];
        constructor(i, t) {
            this.document = i, this.window = t
        }
        setOffset(i) {
            Array.isArray(i) ? this.offset = () => i : this.offset = i
        }
        getScrollPosition() {
            return [this.window.scrollX, this.window.scrollY]
        }
        scrollToPosition(i) {
            this.window.scrollTo(i[0], i[1])
        }
        scrollToAnchor(i) {
            let t = hn(this.document, i);
            t && (this.scrollToElement(t), t.focus())
        }
        setHistoryScrollRestoration(i) {
            this.window.history.scrollRestoration = i
        }
        scrollToElement(i) {
            let t = i.getBoundingClientRect(),
                n = t.left + this.window.pageXOffset,
                r = t.top + this.window.pageYOffset,
                s = this.offset();
            this.window.scrollTo(n - s[0], r - s[1])
        }
    };

function hn(e, i) {
    let t = e.getElementById(i) || e.getElementsByName(i)[0];
    if (t) return t;
    if (typeof e.createTreeWalker == "function" && e.body && typeof e.body.attachShadow == "function") {
        let n = e.createTreeWalker(e.body, NodeFilter.SHOW_ELEMENT),
            r = n.currentNode;
        for (; r;) {
            let s = r.shadowRoot;
            if (s) {
                let o = s.getElementById(i) || s.querySelector(`[name="${i}"]`);
                if (o) return o
            }
            r = n.nextNode()
        }
    }
    return null
}
export {
    z as a, J as b, Ct as c, pe as d, Ft as e, $ as f, He as g, We as h, At as i, at as j, Gt as k, Ht as l, ft as m, Wt as n, be as o, Zt as p, Yt as q, Kt as r, Xt as s, Qt as t, tn as u, nn as v, sn as w, on as x, cn as y, ln as z, Dt as A, dn as B, fn as C, ve as D, Bi as E
};
/**i18n:6e1dbccd4192d215e143e99fb4b6a095cee3c871f5aa7cd380ca91231f35e8e0*/