import {
    $ as kt,
    $a as je,
    Aa as Ht,
    B as Be,
    C as st,
    Ca as Me,
    E as xt,
    F as Tt,
    Fa as Pt,
    G as St,
    H as Ot,
    Ha as Bt,
    I as Et,
    Ka as $e,
    L as fe,
    La as U,
    Ma as Ye,
    N as rt,
    Q as Vt,
    Qa as q,
    S as le,
    T as se,
    Ta as Q,
    Ua as Qe,
    V as Lt,
    Va as Je,
    W as Ft,
    Wa as At,
    X as Oe,
    Ya as ce,
    Za as Qt,
    _a as jt,
    ba as _e,
    bb as ge,
    c as wt,
    da as zt,
    db as Nt,
    ea as Ee,
    ga as at,
    ka as Ve,
    l as It,
    la as Dt,
    ma as Mt,
    oa as Ae,
    pa as $t,
    ra as Ue,
    sa as De,
    ta as Rt,
    wa as ct
} from "./chunk-XPOKHL3M.js";
import {
    c as Ct,
    d as tt,
    f as it,
    h as nt,
    i as ot,
    k as lt
} from "./chunk-Z33DM23Z.js";
import {
    B as Se,
    k as we,
    m as Ge,
    n as Ie,
    r as xe,
    s as Te,
    y as oe
} from "./chunk-OYJWBUYU.js";
import {
    $b as ue,
    Ab as r,
    Bb as We,
    Bc as vt,
    Cb as Le,
    Db as Fe,
    Eb as V,
    Gb as Xe,
    Hc as G,
    Jb as h,
    Kb as u,
    Lb as L,
    Mb as z,
    Nb as D,
    Ob as M,
    Pb as B,
    Pc as _,
    Qc as ne,
    Sc as Pe,
    Tc as bt,
    X as ut,
    Y as N,
    Ya as c,
    Yb as $,
    Z as ee,
    Zb as a,
    _a as mt,
    _b as he,
    ca as K,
    cb as W,
    cc as I,
    dc as A,
    eb as ft,
    ec as m,
    fc as f,
    ic as ie,
    ja as Ze,
    jc as Ce,
    ka as y,
    kc as He,
    la as v,
    lb as k,
    lc as et,
    ma as ae,
    mb as te,
    na as w,
    nb as qe,
    pb as S,
    pc as _t,
    qc as gt,
    rb as d,
    rc as yt,
    sc as Z,
    ta as O,
    tc as ke,
    ua as de,
    uc as R,
    vc as me,
    wc as ze,
    ya as be,
    zb as b
} from "./chunk-SSI6PFOR.js";
import {
    a as P,
    b as Re
} from "./chunk-FFRAY7OK.js";
var fi = ({
        dt: t
    }) => `
.p-inputtext {
    font-family: inherit;
    font-feature-settings: inherit;
    font-size: 1rem;
    color: ${t("inputtext.color")};
    background: ${t("inputtext.background")};
    padding-block: ${t("inputtext.padding.y")};
    padding-inline: ${t("inputtext.padding.x")};
    border: 1px solid ${t("inputtext.border.color")};
    transition: background ${t("inputtext.transition.duration")}, color ${t("inputtext.transition.duration")}, border-color ${t("inputtext.transition.duration")}, outline-color ${t("inputtext.transition.duration")}, box-shadow ${t("inputtext.transition.duration")};
    appearance: none;
    border-radius: ${t("inputtext.border.radius")};
    outline-color: transparent;
    box-shadow: ${t("inputtext.shadow")};
}

.p-inputtext.ng-invalid.ng-dirty {
    border-color: ${t("inputtext.invalid.border.color")};
}

.p-inputtext:enabled:hover {
    border-color: ${t("inputtext.hover.border.color")};
}

.p-inputtext:enabled:focus {
    border-color: ${t("inputtext.focus.border.color")};
    box-shadow: ${t("inputtext.focus.ring.shadow")};
    outline: ${t("inputtext.focus.ring.width")} ${t("inputtext.focus.ring.style")} ${t("inputtext.focus.ring.color")};
    outline-offset: ${t("inputtext.focus.ring.offset")};
}

.p-inputtext.p-invalid {
    border-color: ${t("inputtext.invalid.border.color")};
}

.p-inputtext.p-variant-filled {
    background: ${t("inputtext.filled.background")};
}
    
.p-inputtext.p-variant-filled:enabled:hover {
    background: ${t("inputtext.filled.hover.background")};
}

.p-inputtext.p-variant-filled:enabled:focus {
    background: ${t("inputtext.filled.focus.background")};
}

.p-inputtext:disabled {
    opacity: 1;
    background: ${t("inputtext.disabled.background")};
    color: ${t("inputtext.disabled.color")};
}

.p-inputtext::placeholder {
    color: ${t("inputtext.placeholder.color")};
}

.p-inputtext.ng-invalid.ng-dirty::placeholder {
    color: ${t("inputtext.invalid.placeholder.color")};
}

.p-inputtext-sm {
    font-size: ${t("inputtext.sm.font.size")};
    padding-block: ${t("inputtext.sm.padding.y")};
    padding-inline: ${t("inputtext.sm.padding.x")};
}

.p-inputtext-lg {
    font-size: ${t("inputtext.lg.font.size")};
    padding-block: ${t("inputtext.lg.padding.y")};
    padding-inline: ${t("inputtext.lg.padding.x")};
}

.p-inputtext-fluid {
    width: 100%;
}
`,
    _i = {
        root: ({
            instance: t,
            props: s
        }) => ["p-inputtext p-component", {
            "p-filled": t.filled,
            "p-inputtext-sm": s.size === "small",
            "p-inputtext-lg": s.size === "large",
            "p-invalid": s.invalid,
            "p-variant-filled": s.variant === "filled",
            "p-inputtext-fluid": s.fluid
        }]
    },
    Kt = (() => {
        class t extends q {
            name = "inputtext";
            theme = fi;
            classes = _i;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })();
var Zt = (() => {
        class t extends Q {
            ngModel;
            variant;
            fluid;
            pSize;
            filled;
            _componentStyle = K(Kt);
            get hasFluid() {
                let i = this.el.nativeElement.closest("p-fluid");
                return Ae(this.fluid) ? !!i : this.fluid
            }
            constructor(e) {
                super(), this.ngModel = e
            }
            ngAfterViewInit() {
                super.ngAfterViewInit(), this.updateFilledState(), this.cd.detectChanges()
            }
            ngDoCheck() {
                this.updateFilledState()
            }
            onInput() {
                this.updateFilledState()
            }
            updateFilledState() {
                this.filled = this.el.nativeElement.value && this.el.nativeElement.value.length || this.ngModel && this.ngModel.model
            }
            static\ u0275fac = function(i) {
                return new(i || t)(W(It, 8))
            };
            static\ u0275dir = qe({
                type: t,
                selectors: [
                    ["", "pInputText", ""]
                ],
                hostAttrs: [1, "p-inputtext", "p-component"],
                hostVars: 14,
                hostBindings: function(i, n) {
                    if (i & 1 && $("input", function(l) {
                            return n.onInput(l)
                        }), i & 2) {
                        let o;
                        Le("p-filled", n.filled)("p-variant-filled", ((o = n.variant) !== null && o !== void 0 ? o : n.config.inputStyle() || n.config.inputVariant()) === "filled")("p-inputtext-fluid", n.hasFluid)("p-inputtext-sm", n.pSize === "small")("p-inputfield-sm", n.pSize === "small")("p-inputtext-lg", n.pSize === "large")("p-inputfield-lg", n.pSize === "large")
                    }
                },
                inputs: {
                    variant: "variant",
                    fluid: [2, "fluid", "fluid", _],
                    pSize: "pSize"
                },
                features: [Z([Kt]), S]
            })
        }
        return t
    })(),
    dl = (() => {
        class t {
            static\ u0275fac = function(i) {
                return new(i || t)
            };
            static\ u0275mod = te({
                type: t
            });
            static\ u0275inj = ee({})
        }
        return t
    })();
var gi = ({
        dt: t
    }) => `
.p-tooltip {
    position: absolute;
    display: none;
    max-width: ${t("tooltip.max.width")};
}

.p-tooltip-right,
.p-tooltip-left {
    padding: 0 ${t("tooltip.gutter")};
}

.p-tooltip-top,
.p-tooltip-bottom {
    padding: ${t("tooltip.gutter")} 0;
}

.p-tooltip-text {
    white-space: pre-line;
    word-break: break-word;
    background: ${t("tooltip.background")};
    color: ${t("tooltip.color")};
    padding: ${t("tooltip.padding")};
    box-shadow: ${t("tooltip.shadow")};
    border-radius: ${t("tooltip.border.radius")};
}

.p-tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    scale: 2;
}

.p-tooltip-right .p-tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: calc(-1 * ${t("tooltip.gutter")});
    border-width: ${t("tooltip.gutter")} ${t("tooltip.gutter")} ${t("tooltip.gutter")} 0;
    border-right-color: ${t("tooltip.background")};
}

.p-tooltip-left .p-tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: calc(-1 * ${t("tooltip.gutter")});
    border-width: ${t("tooltip.gutter")} 0 ${t("tooltip.gutter")} ${t("tooltip.gutter")};
    border-left-color: ${t("tooltip.background")};
}

.p-tooltip-top .p-tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: calc(-1 * ${t("tooltip.gutter")});
    border-width: ${t("tooltip.gutter")} ${t("tooltip.gutter")} 0 ${t("tooltip.gutter")};
    border-top-color: ${t("tooltip.background")};
    border-bottom-color: ${t("tooltip.background")};
}

.p-tooltip-bottom .p-tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: calc(-1 * ${t("tooltip.gutter")});
    border-width: 0 ${t("tooltip.gutter")} ${t("tooltip.gutter")} ${t("tooltip.gutter")};
    border-top-color: ${t("tooltip.background")};
    border-bottom-color: ${t("tooltip.background")};
}
`,
    yi = {
        root: "p-tooltip p-component",
        arrow: "p-tooltip-arrow",
        text: "p-tooltip-text"
    },
    qt = (() => {
        class t extends q {
            name = "tooltip";
            theme = gi;
            classes = yi;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })();
var Wt = (() => {
        class t extends Q {
            zone;
            viewContainer;
            tooltipPosition;
            tooltipEvent = "hover";
            appendTo;
            positionStyle;
            tooltipStyleClass;
            tooltipZIndex;
            escape = !0;
            showDelay;
            hideDelay;
            life;
            positionTop;
            positionLeft;
            autoHide = !0;
            fitContent = !0;
            hideOnEscape = !0;
            content;
            get disabled() {
                return this._disabled
            }
            set disabled(e) {
                this._disabled = e, this.deactivate()
            }
            tooltipOptions;
            _tooltipOptions = {
                tooltipLabel: null,
                tooltipPosition: "right",
                tooltipEvent: "hover",
                appendTo: "body",
                positionStyle: null,
                tooltipStyleClass: null,
                tooltipZIndex: "auto",
                escape: !0,
                disabled: null,
                showDelay: null,
                hideDelay: null,
                positionTop: null,
                positionLeft: null,
                life: null,
                autoHide: !0,
                hideOnEscape: !0,
                id: Me("pn_id_") + "_tooltip"
            };
            _disabled;
            container;
            styleClass;
            tooltipText;
            showTimeout;
            hideTimeout;
            active;
            mouseEnterListener;
            mouseLeaveListener;
            containerMouseleaveListener;
            clickListener;
            focusListener;
            blurListener;
            documentEscapeListener;
            scrollHandler;
            resizeListener;
            _componentStyle = K(qt);
            interactionInProgress = !1;
            constructor(e, i) {
                super(), this.zone = e, this.viewContainer = i
            }
            ngAfterViewInit() {
                super.ngAfterViewInit(), Se(this.platformId) && this.zone.runOutsideAngular(() => {
                    let e = this.getOption("tooltipEvent");
                    if ((e === "hover" || e === "both") && (this.mouseEnterListener = this.onMouseEnter.bind(this), this.mouseLeaveListener = this.onMouseLeave.bind(this), this.clickListener = this.onInputClick.bind(this), this.el.nativeElement.addEventListener("mouseenter", this.mouseEnterListener), this.el.nativeElement.addEventListener("click", this.clickListener), this.el.nativeElement.addEventListener("mouseleave", this.mouseLeaveListener)), e === "focus" || e === "both") {
                        this.focusListener = this.onFocus.bind(this), this.blurListener = this.onBlur.bind(this);
                        let i = this.el.nativeElement.querySelector(".p-component");
                        i || (i = this.getTarget(this.el.nativeElement)), i.addEventListener("focus", this.focusListener), i.addEventListener("blur", this.blurListener)
                    }
                })
            }
            ngOnChanges(e) {
                super.ngOnChanges(e), e.tooltipPosition && this.setOption({
                    tooltipPosition: e.tooltipPosition.currentValue
                }), e.tooltipEvent && this.setOption({
                    tooltipEvent: e.tooltipEvent.currentValue
                }), e.appendTo && this.setOption({
                    appendTo: e.appendTo.currentValue
                }), e.positionStyle && this.setOption({
                    positionStyle: e.positionStyle.currentValue
                }), e.tooltipStyleClass && this.setOption({
                    tooltipStyleClass: e.tooltipStyleClass.currentValue
                }), e.tooltipZIndex && this.setOption({
                    tooltipZIndex: e.tooltipZIndex.currentValue
                }), e.escape && this.setOption({
                    escape: e.escape.currentValue
                }), e.showDelay && this.setOption({
                    showDelay: e.showDelay.currentValue
                }), e.hideDelay && this.setOption({
                    hideDelay: e.hideDelay.currentValue
                }), e.life && this.setOption({
                    life: e.life.currentValue
                }), e.positionTop && this.setOption({
                    positionTop: e.positionTop.currentValue
                }), e.positionLeft && this.setOption({
                    positionLeft: e.positionLeft.currentValue
                }), e.disabled && this.setOption({
                    disabled: e.disabled.currentValue
                }), e.content && (this.setOption({
                    tooltipLabel: e.content.currentValue
                }), this.active && (e.content.currentValue ? this.container && this.container.offsetParent ? (this.updateText(), this.align()) : this.show() : this.hide())), e.autoHide && this.setOption({
                    autoHide: e.autoHide.currentValue
                }), e.id && this.setOption({
                    id: e.id.currentValue
                }), e.tooltipOptions && (this._tooltipOptions = P(P({}, this._tooltipOptions), e.tooltipOptions.currentValue), this.deactivate(), this.active && (this.getOption("tooltipLabel") ? this.container && this.container.offsetParent ? (this.updateText(), this.align()) : this.show() : this.hide()))
            }
            isAutoHide() {
                return this.getOption("autoHide")
            }
            onMouseEnter(e) {
                !this.container && !this.showTimeout && this.activate()
            }
            onMouseLeave(e) {
                this.isAutoHide() ? this.deactivate() : !(Be(e.relatedTarget, "p-tooltip") || Be(e.relatedTarget, "p-tooltip-text") || Be(e.relatedTarget, "p-tooltip-arrow")) && this.deactivate()
            }
            onFocus(e) {
                this.activate()
            }
            onBlur(e) {
                this.deactivate()
            }
            onInputClick(e) {
                this.deactivate()
            }
            activate() {
                if (!this.interactionInProgress) {
                    if (this.active = !0, this.clearHideTimeout(), this.getOption("showDelay") ? this.showTimeout = setTimeout(() => {
                            this.show()
                        }, this.getOption("showDelay")) : this.show(), this.getOption("life")) {
                        let e = this.getOption("showDelay") ? this.getOption("life") + this.getOption("showDelay") : this.getOption("life");
                        this.hideTimeout = setTimeout(() => {
                            this.hide()
                        }, e)
                    }
                    this.getOption("hideOnEscape") && (this.documentEscapeListener = this.renderer.listen("document", "keydown.escape", () => {
                        this.deactivate(), this.documentEscapeListener()
                    })), this.interactionInProgress = !0
                }
            }
            deactivate() {
                this.interactionInProgress = !1, this.active = !1, this.clearShowTimeout(), this.getOption("hideDelay") ? (this.clearHideTimeout(), this.hideTimeout = setTimeout(() => {
                    this.hide()
                }, this.getOption("hideDelay"))) : this.hide(), this.documentEscapeListener && this.documentEscapeListener()
            }
            create() {
                this.container && (this.clearHideTimeout(), this.remove()), this.container = document.createElement("div"), this.container.setAttribute("id", this.getOption("id")), this.container.setAttribute("role", "tooltip");
                let e = document.createElement("div");
                e.className = "p-tooltip-arrow", this.container.appendChild(e), this.tooltipText = document.createElement("div"), this.tooltipText.className = "p-tooltip-text", this.updateText(), this.getOption("positionStyle") && (this.container.style.position = this.getOption("positionStyle")), this.container.appendChild(this.tooltipText), this.getOption("appendTo") === "body" ? document.body.appendChild(this.container) : this.getOption("appendTo") === "target" ? rt(this.container, this.el.nativeElement) : rt(this.getOption("appendTo"), this.container), this.container.style.display = "none", this.fitContent && (this.container.style.width = "fit-content"), this.isAutoHide() ? this.container.style.pointerEvents = "none" : (this.container.style.pointerEvents = "unset", this.bindContainerMouseleaveListener())
            }
            bindContainerMouseleaveListener() {
                if (!this.containerMouseleaveListener) {
                    let e = this.container ? ? this.container.nativeElement;
                    this.containerMouseleaveListener = this.renderer.listen(e, "mouseleave", i => {
                        this.deactivate()
                    })
                }
            }
            unbindContainerMouseleaveListener() {
                this.containerMouseleaveListener && (this.bindContainerMouseleaveListener(), this.containerMouseleaveListener = null)
            }
            show() {
                if (!this.getOption("tooltipLabel") || this.getOption("disabled")) return;
                this.create(), this.el.nativeElement.closest("p-dialog") ? setTimeout(() => {
                    this.container && (this.container.style.display = "inline-block"), this.container && this.align()
                }, 100) : (this.container.style.display = "inline-block", this.align()), Vt(this.container, 250), this.getOption("tooltipZIndex") === "auto" ? ge.set("tooltip", this.container, this.config.zIndex.tooltip) : this.container.style.zIndex = this.getOption("tooltipZIndex"), this.bindDocumentResizeListener(), this.bindScrollListener()
            }
            hide() {
                this.getOption("tooltipZIndex") === "auto" && ge.clear(this.container), this.remove()
            }
            updateText() {
                let e = this.getOption("tooltipLabel");
                if (e instanceof mt) {
                    let i = this.viewContainer.createEmbeddedView(e);
                    i.detectChanges(), i.rootNodes.forEach(n => this.tooltipText.appendChild(n))
                } else this.getOption("escape") ? (this.tooltipText.innerHTML = "", this.tooltipText.appendChild(document.createTextNode(e))) : this.tooltipText.innerHTML = e
            }
            align() {
                let e = this.getOption("tooltipPosition"),
                    i = {
                        top: [this.alignTop, this.alignBottom, this.alignRight, this.alignLeft],
                        bottom: [this.alignBottom, this.alignTop, this.alignRight, this.alignLeft],
                        left: [this.alignLeft, this.alignRight, this.alignTop, this.alignBottom],
                        right: [this.alignRight, this.alignLeft, this.alignTop, this.alignBottom]
                    };
                for (let [n, o] of i[e].entries())
                    if (n === 0) o.call(this);
                    else if (this.isOutOfBounds()) o.call(this);
                else break
            }
            getHostOffset() {
                if (this.getOption("appendTo") === "body" || this.getOption("appendTo") === "target") {
                    let e = this.el.nativeElement.getBoundingClientRect(),
                        i = e.left + Ot(),
                        n = e.top + Et();
                    return {
                        left: i,
                        top: n
                    }
                } else return {
                    left: 0,
                    top: 0
                }
            }
            get activeElement() {
                return this.el.nativeElement.nodeName.startsWith("P-") ? le(this.el.nativeElement, ".p-component") : this.el.nativeElement
            }
            alignRight() {
                this.preAlign("right");
                let e = this.activeElement,
                    i = fe(e),
                    n = (_e(e) - _e(this.container)) / 2;
                this.alignTooltip(i, n)
            }
            alignLeft() {
                this.preAlign("left");
                let e = fe(this.container),
                    i = (_e(this.el.nativeElement) - _e(this.container)) / 2;
                this.alignTooltip(-e, i)
            }
            alignTop() {
                this.preAlign("top");
                let e = (fe(this.el.nativeElement) - fe(this.container)) / 2,
                    i = _e(this.container);
                this.alignTooltip(e, -i)
            }
            alignBottom() {
                this.preAlign("bottom");
                let e = (fe(this.el.nativeElement) - fe(this.container)) / 2,
                    i = _e(this.el.nativeElement);
                this.alignTooltip(e, i)
            }
            alignTooltip(e, i) {
                let n = this.getHostOffset(),
                    o = n.left + e,
                    l = n.top + i;
                this.container.style.left = o + this.getOption("positionLeft") + "px", this.container.style.top = l + this.getOption("positionTop") + "px"
            }
            setOption(e) {
                this._tooltipOptions = P(P({}, this._tooltipOptions), e)
            }
            getOption(e) {
                return this._tooltipOptions[e]
            }
            getTarget(e) {
                return Be(e, "p-inputwrapper") ? le(e, "input") : e
            }
            preAlign(e) {
                this.container.style.left = "-999px", this.container.style.top = "-999px";
                let i = "p-tooltip p-component p-tooltip-" + e;
                this.container.className = this.getOption("tooltipStyleClass") ? i + " " + this.getOption("tooltipStyleClass") : i
            }
            isOutOfBounds() {
                let e = this.container.getBoundingClientRect(),
                    i = e.top,
                    n = e.left,
                    o = fe(this.container),
                    l = _e(this.container),
                    p = St();
                return n + o > p.width || n < 0 || i < 0 || i + l > p.height
            }
            onWindowResize(e) {
                this.hide()
            }
            bindDocumentResizeListener() {
                this.zone.runOutsideAngular(() => {
                    this.resizeListener = this.onWindowResize.bind(this), window.addEventListener("resize", this.resizeListener)
                })
            }
            unbindDocumentResizeListener() {
                this.resizeListener && (window.removeEventListener("resize", this.resizeListener), this.resizeListener = null)
            }
            bindScrollListener() {
                this.scrollHandler || (this.scrollHandler = new Je(this.el.nativeElement, () => {
                    this.container && this.hide()
                })), this.scrollHandler.bindScrollListener()
            }
            unbindScrollListener() {
                this.scrollHandler && this.scrollHandler.unbindScrollListener()
            }
            unbindEvents() {
                let e = this.getOption("tooltipEvent");
                if ((e === "hover" || e === "both") && (this.el.nativeElement.removeEventListener("mouseenter", this.mouseEnterListener), this.el.nativeElement.removeEventListener("mouseleave", this.mouseLeaveListener), this.el.nativeElement.removeEventListener("click", this.clickListener)), e === "focus" || e === "both") {
                    let i = this.el.nativeElement.querySelector(".p-component");
                    i || (i = this.getTarget(this.el.nativeElement)), i.removeEventListener("focus", this.focusListener), i.removeEventListener("blur", this.blurListener)
                }
                this.unbindDocumentResizeListener()
            }
            remove() {
                this.container && this.container.parentElement && (this.getOption("appendTo") === "body" ? document.body.removeChild(this.container) : this.getOption("appendTo") === "target" ? this.el.nativeElement.removeChild(this.container) : Dt(this.getOption("appendTo"), this.container)), this.unbindDocumentResizeListener(), this.unbindScrollListener(), this.unbindContainerMouseleaveListener(), this.clearTimeouts(), this.container = null, this.scrollHandler = null
            }
            clearShowTimeout() {
                this.showTimeout && (clearTimeout(this.showTimeout), this.showTimeout = null)
            }
            clearHideTimeout() {
                this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null)
            }
            clearTimeouts() {
                this.clearShowTimeout(), this.clearHideTimeout()
            }
            ngOnDestroy() {
                this.unbindEvents(), super.ngOnDestroy(), this.container && ge.clear(this.container), this.remove(), this.scrollHandler && (this.scrollHandler.destroy(), this.scrollHandler = null), this.documentEscapeListener && this.documentEscapeListener()
            }
            static\ u0275fac = function(i) {
                return new(i || t)(W(de), W(ft))
            };
            static\ u0275dir = qe({
                type: t,
                selectors: [
                    ["", "pTooltip", ""]
                ],
                inputs: {
                    tooltipPosition: "tooltipPosition",
                    tooltipEvent: "tooltipEvent",
                    appendTo: "appendTo",
                    positionStyle: "positionStyle",
                    tooltipStyleClass: "tooltipStyleClass",
                    tooltipZIndex: "tooltipZIndex",
                    escape: [2, "escape", "escape", _],
                    showDelay: [2, "showDelay", "showDelay", ne],
                    hideDelay: [2, "hideDelay", "hideDelay", ne],
                    life: [2, "life", "life", ne],
                    positionTop: [2, "positionTop", "positionTop", ne],
                    positionLeft: [2, "positionLeft", "positionLeft", ne],
                    autoHide: [2, "autoHide", "autoHide", _],
                    fitContent: [2, "fitContent", "fitContent", _],
                    hideOnEscape: [2, "hideOnEscape", "hideOnEscape", _],
                    content: [0, "pTooltip", "content"],
                    disabled: [0, "tooltipDisabled", "disabled"],
                    tooltipOptions: "tooltipOptions"
                },
                features: [Z([qt]), S, Ze]
            })
        }
        return t
    })(),
    xl = (() => {
        class t {
            static\ u0275fac = function(i) {
                return new(i || t)
            };
            static\ u0275mod = te({
                type: t
            });
            static\ u0275inj = ee({})
        }
        return t
    })();
var vi = ["*"],
    bi = ({
        dt: t
    }) => `
.p-iconfield {
    position: relative;
    display: block;
}

.p-inputicon {
    position: absolute;
    top: 50%;
    margin-top: calc(-1 * (${t("icon.size")} / 2));
    color: ${t("iconfield.icon.color")};
    line-height: 1;
}

.p-iconfield .p-inputicon:first-child {
    inset-inline-start: ${t("form.field.padding.x")};
}

.p-iconfield .p-inputicon:last-child {
    inset-inline-end: ${t("form.field.padding.x")};
}

.p-iconfield .p-inputtext:not(:first-child) {
    padding-inline-start: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")});
}

.p-iconfield .p-inputtext:not(:last-child) {
    padding-inline-end: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")});
}

.p-iconfield:has(.p-inputfield-sm) .p-inputicon {
    font-size: ${t("form.field.sm.font.size")};
    width: ${t("form.field.sm.font.size")};
    height: ${t("form.field.sm.font.size")};
    margin-top: calc(-1 * (${t("form.field.sm.font.size")} / 2));
}

.p-iconfield:has(.p-inputfield-lg) .p-inputicon {
    font-size: ${t("form.field.lg.font.size")};
    width: ${t("form.field.lg.font.size")};
    height: ${t("form.field.lg.font.size")};
    margin-top: calc(-1 * (${t("form.field.lg.font.size")} / 2));
}
`,
    Ci = {
        root: "p-iconfield"
    },
    Gt = (() => {
        class t extends q {
            name = "iconfield";
            theme = bi;
            classes = Ci;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })();
var Ut = (() => {
    class t extends Q {
        iconPosition = "left";
        get _styleClass() {
            return this.styleClass
        }
        styleClass;
        _componentStyle = K(Gt);
        static\ u0275fac = (() => {
            let e;
            return function(n) {
                return (e || (e = w(t)))(n || t)
            }
        })();
        static\ u0275cmp = k({
            type: t,
            selectors: [
                ["p-iconfield"],
                ["p-iconField"],
                ["p-icon-field"]
            ],
            hostAttrs: [1, "p-iconfield"],
            hostVars: 6,
            hostBindings: function(i, n) {
                i & 2 && (V(n._styleClass), Le("p-iconfield-left", n.iconPosition === "left")("p-iconfield-right", n.iconPosition === "right"))
            },
            inputs: {
                iconPosition: "iconPosition",
                styleClass: "styleClass"
            },
            features: [Z([Gt]), S],
            ngContentSelectors: vi,
            decls: 1,
            vars: 0,
            template: function(i, n) {
                i & 1 && (he(), ue(0))
            },
            dependencies: [oe],
            encapsulation: 2,
            changeDetection: 0
        })
    }
    return t
})();
var Yt = (() => {
    class t extends ce {
        static\ u0275fac = (() => {
            let e;
            return function(n) {
                return (e || (e = w(t)))(n || t)
            }
        })();
        static\ u0275cmp = k({
            type: t,
            selectors: [
                ["BlankIcon"]
            ],
            features: [S],
            decls: 2,
            vars: 0,
            consts: [
                ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"],
                ["width", "1", "height", "1", "fill", "currentColor", "fill-opacity", "0"]
            ],
            template: function(i, n) {
                i & 1 && (ae(), h(0, "svg", 0), L(1, "rect", 1), u())
            },
            encapsulation: 2
        })
    }
    return t
})();
var Jt = (() => {
    class t extends ce {
        static\ u0275fac = (() => {
            let e;
            return function(n) {
                return (e || (e = w(t)))(n || t)
            }
        })();
        static\ u0275cmp = k({
            type: t,
            selectors: [
                ["CheckIcon"]
            ],
            features: [S],
            decls: 2,
            vars: 5,
            consts: [
                ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"],
                ["d", "M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z", "fill", "currentColor"]
            ],
            template: function(i, n) {
                i & 1 && (ae(), h(0, "svg", 0), L(1, "path", 1), u()), i & 2 && (V(n.getClassNames()), b("aria-label", n.ariaLabel)("aria-hidden", n.ariaHidden)("role", n.role))
            },
            encapsulation: 2
        })
    }
    return t
})();
var Xt = (() => {
    class t extends ce {
        static\ u0275fac = (() => {
            let e;
            return function(n) {
                return (e || (e = w(t)))(n || t)
            }
        })();
        static\ u0275cmp = k({
            type: t,
            selectors: [
                ["ChevronDownIcon"]
            ],
            features: [S],
            decls: 2,
            vars: 5,
            consts: [
                ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"],
                ["d", "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z", "fill", "currentColor"]
            ],
            template: function(i, n) {
                i & 1 && (ae(), h(0, "svg", 0), L(1, "path", 1), u()), i & 2 && (V(n.getClassNames()), b("aria-label", n.ariaLabel)("aria-hidden", n.ariaHidden)("role", n.role))
            },
            encapsulation: 2
        })
    }
    return t
})();
var Zl = (() => {
    class t extends ce {
        static\ u0275fac = (() => {
            let e;
            return function(n) {
                return (e || (e = w(t)))(n || t)
            }
        })();
        static\ u0275cmp = k({
            type: t,
            selectors: [
                ["ChevronRightIcon"]
            ],
            features: [S],
            decls: 2,
            vars: 5,
            consts: [
                ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"],
                ["d", "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z", "fill", "currentColor"]
            ],
            template: function(i, n) {
                i & 1 && (ae(), h(0, "svg", 0), L(1, "path", 1), u()), i & 2 && (V(n.getClassNames()), b("aria-label", n.ariaLabel)("aria-hidden", n.ariaHidden)("role", n.role))
            },
            encapsulation: 2
        })
    }
    return t
})();
var ei = (() => {
    class t extends ce {
        pathId;
        ngOnInit() {
            this.pathId = "url(#" + Me() + ")"
        }
        static\ u0275fac = (() => {
            let e;
            return function(n) {
                return (e || (e = w(t)))(n || t)
            }
        })();
        static\ u0275cmp = k({
            type: t,
            selectors: [
                ["SearchIcon"]
            ],
            features: [S],
            decls: 6,
            vars: 7,
            consts: [
                ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"],
                ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z", "fill", "currentColor"],
                [3, "id"],
                ["width", "14", "height", "14", "fill", "white"]
            ],
            template: function(i, n) {
                i & 1 && (ae(), h(0, "svg", 0)(1, "g"), L(2, "path", 1), u(), h(3, "defs")(4, "clipPath", 2), L(5, "rect", 3), u()()()), i & 2 && (V(n.getClassNames()), b("aria-label", n.ariaLabel)("aria-hidden", n.ariaHidden)("role", n.role), c(), b("clip-path", n.pathId), c(3), r("id", n.pathId))
            },
            encapsulation: 2
        })
    }
    return t
})();
var wi = ["*"],
    Ii = {
        root: "p-inputicon"
    },
    ti = (() => {
        class t extends q {
            name = "inputicon";
            classes = Ii;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })(),
    ii = (() => {
        class t extends Q {
            styleClass;
            get hostClasses() {
                return this.styleClass
            }
            _componentStyle = K(ti);
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275cmp = k({
                type: t,
                selectors: [
                    ["p-inputicon"],
                    ["p-inputIcon"]
                ],
                hostVars: 4,
                hostBindings: function(i, n) {
                    i & 2 && (V(n.hostClasses), Le("p-inputicon", !0))
                },
                inputs: {
                    styleClass: "styleClass"
                },
                features: [Z([ti]), S],
                ngContentSelectors: wi,
                decls: 1,
                vars: 0,
                template: function(i, n) {
                    i & 1 && (he(), ue(0))
                },
                dependencies: [oe, U],
                encapsulation: 2,
                changeDetection: 0
            })
        }
        return t
    })();
var ni = ["content"],
    Ti = ["overlay"],
    Si = ["*"],
    Oi = (t, s, e, i, n, o, l, p, F, T, x, Y, H, J) => ({
        "p-overlay p-component": !0,
        "p-overlay-modal p-overlay-mask p-overlay-mask-enter": t,
        "p-overlay-center": s,
        "p-overlay-top": e,
        "p-overlay-top-start": i,
        "p-overlay-top-end": n,
        "p-overlay-bottom": o,
        "p-overlay-bottom-start": l,
        "p-overlay-bottom-end": p,
        "p-overlay-left": F,
        "p-overlay-left-start": T,
        "p-overlay-left-end": x,
        "p-overlay-right": Y,
        "p-overlay-right-start": H,
        "p-overlay-right-end": J
    }),
    Ei = (t, s, e) => ({
        showTransitionParams: t,
        hideTransitionParams: s,
        transform: e
    }),
    Vi = t => ({
        value: "visible",
        params: t
    }),
    Li = t => ({
        mode: t
    }),
    Fi = t => ({
        $implicit: t
    });

function ki(t, s) {
    t & 1 && M(0)
}

function zi(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "div", 3, 1), $("click", function(n) {
            y(e);
            let o = a(2);
            return v(o.onOverlayContentClick(n))
        })("@overlayContentAnimation.start", function(n) {
            y(e);
            let o = a(2);
            return v(o.onOverlayContentAnimationStart(n))
        })("@overlayContentAnimation.done", function(n) {
            y(e);
            let o = a(2);
            return v(o.onOverlayContentAnimationDone(n))
        }), ue(2), d(3, ki, 1, 0, "ng-container", 4), u()
    }
    if (t & 2) {
        let e = a(2);
        V(e.contentStyleClass), r("ngStyle", e.contentStyle)("ngClass", "p-overlay-content")("@overlayContentAnimation", R(11, Vi, ze(7, Ei, e.showTransitionOptions, e.hideTransitionOptions, e.transformOptions[e.modal ? e.overlayResponsiveDirection : "default"]))), c(3), r("ngTemplateOutlet", e.contentTemplate || e._contentTemplate)("ngTemplateOutletContext", R(15, Fi, R(13, Li, e.overlayMode)))
    }
}

function Di(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "div", 3, 0), $("click", function() {
            y(e);
            let n = a();
            return v(n.onOverlayClick())
        }), d(2, zi, 4, 17, "div", 2), u()
    }
    if (t & 2) {
        let e = a();
        V(e.styleClass), r("ngStyle", e.style)("ngClass", vt(5, Oi, [e.modal, e.modal && e.overlayResponsiveDirection === "center", e.modal && e.overlayResponsiveDirection === "top", e.modal && e.overlayResponsiveDirection === "top-start", e.modal && e.overlayResponsiveDirection === "top-end", e.modal && e.overlayResponsiveDirection === "bottom", e.modal && e.overlayResponsiveDirection === "bottom-start", e.modal && e.overlayResponsiveDirection === "bottom-end", e.modal && e.overlayResponsiveDirection === "left", e.modal && e.overlayResponsiveDirection === "left-start", e.modal && e.overlayResponsiveDirection === "left-end", e.modal && e.overlayResponsiveDirection === "right", e.modal && e.overlayResponsiveDirection === "right-start", e.modal && e.overlayResponsiveDirection === "right-end"])), c(2), r("ngIf", e.visible)
    }
}
var Mi = ({
        dt: t
    }) => `
.p-overlay {
    position: absolute;
    top: 0;
}

.p-overlay-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-overlay-content {
    transform-origin: inherit;
}

.p-overlay-modal > .p-overlay-content {
    z-index: 1;
    width: 90%;
}

/* Position */
/* top */
.p-overlay-top {
    align-items: flex-start;
}
.p-overlay-top-start {
    align-items: flex-start;
    justify-content: flex-start;
}
.p-overlay-top-end {
    align-items: flex-start;
    justify-content: flex-end;
}

/* bottom */
.p-overlay-bottom {
    align-items: flex-end;
}
.p-overlay-bottom-start {
    align-items: flex-end;
    justify-content: flex-start;
}
.p-overlay-bottom-end {
    align-items: flex-end;
    justify-content: flex-end;
}

/* left */
.p-overlay-left {
    justify-content: flex-start;
}
.p-overlay-left-start {
    justify-content: flex-start;
    align-items: flex-start;
}
.p-overlay-left-end {
    justify-content: flex-start;
    align-items: flex-end;
}

/* right */
.p-overlay-right {
    justify-content: flex-end;
}
.p-overlay-right-start {
    justify-content: flex-end;
    align-items: flex-start;
}
.p-overlay-right-end {
    justify-content: flex-end;
    align-items: flex-end;
}
`,
    oi = (() => {
        class t extends q {
            name = "overlay";
            theme = Mi;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })(),
    $i = ot([it({
        transform: "{{transform}}",
        opacity: 0
    }), tt("{{showTransitionParams}}")]),
    Ri = ot([tt("{{hideTransitionParams}}", it({
        transform: "{{transform}}",
        opacity: 0
    }))]),
    si = (() => {
        class t extends Q {
            overlayService;
            zone;
            get visible() {
                return this._visible
            }
            set visible(e) {
                this._visible = e, this._visible && !this.modalVisible && (this.modalVisible = !0)
            }
            get mode() {
                return this._mode || this.overlayOptions ? .mode
            }
            set mode(e) {
                this._mode = e
            }
            get style() {
                return je.merge(this._style, this.modal ? this.overlayResponsiveOptions ? .style : this.overlayOptions ? .style)
            }
            set style(e) {
                this._style = e
            }
            get styleClass() {
                return je.merge(this._styleClass, this.modal ? this.overlayResponsiveOptions ? .styleClass : this.overlayOptions ? .styleClass)
            }
            set styleClass(e) {
                this._styleClass = e
            }
            get contentStyle() {
                return je.merge(this._contentStyle, this.modal ? this.overlayResponsiveOptions ? .contentStyle : this.overlayOptions ? .contentStyle)
            }
            set contentStyle(e) {
                this._contentStyle = e
            }
            get contentStyleClass() {
                return je.merge(this._contentStyleClass, this.modal ? this.overlayResponsiveOptions ? .contentStyleClass : this.overlayOptions ? .contentStyleClass)
            }
            set contentStyleClass(e) {
                this._contentStyleClass = e
            }
            get target() {
                let e = this._target || this.overlayOptions ? .target;
                return e === void 0 ? "@prev" : e
            }
            set target(e) {
                this._target = e
            }
            get appendTo() {
                return this._appendTo || this.overlayOptions ? .appendTo
            }
            set appendTo(e) {
                this._appendTo = e
            }
            get autoZIndex() {
                let e = this._autoZIndex || this.overlayOptions ? .autoZIndex;
                return e === void 0 ? !0 : e
            }
            set autoZIndex(e) {
                this._autoZIndex = e
            }
            get baseZIndex() {
                let e = this._baseZIndex || this.overlayOptions ? .baseZIndex;
                return e === void 0 ? 0 : e
            }
            set baseZIndex(e) {
                this._baseZIndex = e
            }
            get showTransitionOptions() {
                let e = this._showTransitionOptions || this.overlayOptions ? .showTransitionOptions;
                return e === void 0 ? ".12s cubic-bezier(0, 0, 0.2, 1)" : e
            }
            set showTransitionOptions(e) {
                this._showTransitionOptions = e
            }
            get hideTransitionOptions() {
                let e = this._hideTransitionOptions || this.overlayOptions ? .hideTransitionOptions;
                return e === void 0 ? ".1s linear" : e
            }
            set hideTransitionOptions(e) {
                this._hideTransitionOptions = e
            }
            get listener() {
                return this._listener || this.overlayOptions ? .listener
            }
            set listener(e) {
                this._listener = e
            }
            get responsive() {
                return this._responsive || this.overlayOptions ? .responsive
            }
            set responsive(e) {
                this._responsive = e
            }
            get options() {
                return this._options
            }
            set options(e) {
                this._options = e
            }
            visibleChange = new O;
            onBeforeShow = new O;
            onShow = new O;
            onBeforeHide = new O;
            onHide = new O;
            onAnimationStart = new O;
            onAnimationDone = new O;
            overlayViewChild;
            contentViewChild;
            contentTemplate;
            templates;
            _contentTemplate;
            _visible = !1;
            _mode;
            _style;
            _styleClass;
            _contentStyle;
            _contentStyleClass;
            _target;
            _appendTo;
            _autoZIndex;
            _baseZIndex;
            _showTransitionOptions;
            _hideTransitionOptions;
            _listener;
            _responsive;
            _options;
            modalVisible = !1;
            isOverlayClicked = !1;
            isOverlayContentClicked = !1;
            scrollHandler;
            documentClickListener;
            documentResizeListener;
            _componentStyle = K(oi);
            documentKeyboardListener;
            window;
            transformOptions = {
                default: "scaleY(0.8)",
                center: "scale(0.7)",
                top: "translate3d(0px, -100%, 0px)",
                "top-start": "translate3d(0px, -100%, 0px)",
                "top-end": "translate3d(0px, -100%, 0px)",
                bottom: "translate3d(0px, 100%, 0px)",
                "bottom-start": "translate3d(0px, 100%, 0px)",
                "bottom-end": "translate3d(0px, 100%, 0px)",
                left: "translate3d(-100%, 0px, 0px)",
                "left-start": "translate3d(-100%, 0px, 0px)",
                "left-end": "translate3d(-100%, 0px, 0px)",
                right: "translate3d(100%, 0px, 0px)",
                "right-start": "translate3d(100%, 0px, 0px)",
                "right-end": "translate3d(100%, 0px, 0px)"
            };
            get modal() {
                if (Se(this.platformId)) return this.mode === "modal" || this.overlayResponsiveOptions && this.document.defaultView ? .matchMedia(this.overlayResponsiveOptions.media ? .replace("@media", "") || `(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches
            }
            get overlayMode() {
                return this.mode || (this.modal ? "modal" : "overlay")
            }
            get overlayOptions() {
                return P(P({}, this.config ? .overlayOptions), this.options)
            }
            get overlayResponsiveOptions() {
                return P(P({}, this.overlayOptions ? .responsive), this.responsive)
            }
            get overlayResponsiveDirection() {
                return this.overlayResponsiveOptions ? .direction || "center"
            }
            get overlayEl() {
                return this.overlayViewChild ? .nativeElement
            }
            get contentEl() {
                return this.contentViewChild ? .nativeElement
            }
            get targetEl() {
                return zt(this.target, this.el ? .nativeElement)
            }
            constructor(e, i) {
                super(), this.overlayService = e, this.zone = i
            }
            ngAfterContentInit() {
                this.templates ? .forEach(e => {
                    switch (e.getType()) {
                        case "content":
                            this._contentTemplate = e.template;
                            break;
                        default:
                            this._contentTemplate = e.template;
                            break
                    }
                })
            }
            show(e, i = !1) {
                this.onVisibleChange(!0), this.handleEvents("onShow", {
                    overlay: e || this.overlayEl,
                    target: this.targetEl,
                    mode: this.overlayMode
                }), i && se(this.targetEl), this.modal && st(this.document ? .body, "p-overflow-hidden")
            }
            hide(e, i = !1) {
                if (this.visible) this.onVisibleChange(!1), this.handleEvents("onHide", {
                    overlay: e || this.overlayEl,
                    target: this.targetEl,
                    mode: this.overlayMode
                }), i && se(this.targetEl), this.modal && xt(this.document ? .body, "p-overflow-hidden");
                else return
            }
            alignOverlay() {
                !this.modal && Qe.alignOverlay(this.overlayEl, this.targetEl, this.appendTo)
            }
            onVisibleChange(e) {
                this._visible = e, this.visibleChange.emit(e)
            }
            onOverlayClick() {
                this.isOverlayClicked = !0
            }
            onOverlayContentClick(e) {
                this.overlayService.add({
                    originalEvent: e,
                    target: this.targetEl
                }), this.isOverlayContentClicked = !0
            }
            onOverlayContentAnimationStart(e) {
                switch (e.toState) {
                    case "visible":
                        this.handleEvents("onBeforeShow", {
                            overlay: this.overlayEl,
                            target: this.targetEl,
                            mode: this.overlayMode
                        }), this.autoZIndex && ge.set(this.overlayMode, this.overlayEl, this.baseZIndex + this.config ? .zIndex[this.overlayMode]), Qe.appendOverlay(this.overlayEl, this.appendTo === "body" ? this.document.body : this.appendTo, this.appendTo), this.alignOverlay();
                        break;
                    case "void":
                        this.handleEvents("onBeforeHide", {
                            overlay: this.overlayEl,
                            target: this.targetEl,
                            mode: this.overlayMode
                        }), this.modal && st(this.overlayEl, "p-overlay-mask-leave");
                        break
                }
                this.handleEvents("onAnimationStart", e)
            }
            onOverlayContentAnimationDone(e) {
                let i = this.overlayEl || e.element.parentElement;
                switch (e.toState) {
                    case "visible":
                        this.visible && (this.show(i, !0), this.bindListeners());
                        break;
                    case "void":
                        if (!this.visible) {
                            this.hide(i, !0), this.modalVisible = !1, this.unbindListeners(), Qe.appendOverlay(this.overlayEl, this.targetEl, this.appendTo), ge.clear(i), this.cd.markForCheck();
                            break
                        }
                }
                this.handleEvents("onAnimationDone", e)
            }
            handleEvents(e, i) {
                this[e].emit(i), this.options && this.options[e] && this.options[e](i), this.config ? .overlayOptions && (this.config ? .overlayOptions)[e] && (this.config ? .overlayOptions)[e](i)
            }
            bindListeners() {
                this.bindScrollListener(), this.bindDocumentClickListener(), this.bindDocumentResizeListener(), this.bindDocumentKeyboardListener()
            }
            unbindListeners() {
                this.unbindScrollListener(), this.unbindDocumentClickListener(), this.unbindDocumentResizeListener(), this.unbindDocumentKeyboardListener()
            }
            bindScrollListener() {
                this.scrollHandler || (this.scrollHandler = new Je(this.targetEl, e => {
                    (this.listener ? this.listener(e, {
                        type: "scroll",
                        mode: this.overlayMode,
                        valid: !0
                    }) : !0) && this.hide(e, !0)
                })), this.scrollHandler.bindScrollListener()
            }
            unbindScrollListener() {
                this.scrollHandler && this.scrollHandler.unbindScrollListener()
            }
            bindDocumentClickListener() {
                this.documentClickListener || (this.documentClickListener = this.renderer.listen(this.document, "click", e => {
                    let n = !(this.targetEl && (this.targetEl.isSameNode(e.target) || !this.isOverlayClicked && this.targetEl.contains(e.target))) && !this.isOverlayContentClicked;
                    (this.listener ? this.listener(e, {
                        type: "outside",
                        mode: this.overlayMode,
                        valid: e.which !== 3 && n
                    }) : n) && this.hide(e), this.isOverlayClicked = this.isOverlayContentClicked = !1
                }))
            }
            unbindDocumentClickListener() {
                this.documentClickListener && (this.documentClickListener(), this.documentClickListener = null)
            }
            bindDocumentResizeListener() {
                this.documentResizeListener || (this.documentResizeListener = this.renderer.listen(this.document.defaultView, "resize", e => {
                    (this.listener ? this.listener(e, {
                        type: "resize",
                        mode: this.overlayMode,
                        valid: !Ve()
                    }) : !Ve()) && this.hide(e, !0)
                }))
            }
            unbindDocumentResizeListener() {
                this.documentResizeListener && (this.documentResizeListener(), this.documentResizeListener = null)
            }
            bindDocumentKeyboardListener() {
                this.documentKeyboardListener || this.zone.runOutsideAngular(() => {
                    this.documentKeyboardListener = this.renderer.listen(this.document.defaultView, "keydown", e => {
                        if (this.overlayOptions.hideOnEscape === !1 || e.code !== "Escape") return;
                        (this.listener ? this.listener(e, {
                            type: "keydown",
                            mode: this.overlayMode,
                            valid: !Ve()
                        }) : !Ve()) && this.zone.run(() => {
                            this.hide(e, !0)
                        })
                    })
                })
            }
            unbindDocumentKeyboardListener() {
                this.documentKeyboardListener && (this.documentKeyboardListener(), this.documentKeyboardListener = null)
            }
            ngOnDestroy() {
                this.hide(this.overlayEl, !0), this.overlayEl && (Qe.appendOverlay(this.overlayEl, this.targetEl, this.appendTo), ge.clear(this.overlayEl)), this.scrollHandler && (this.scrollHandler.destroy(), this.scrollHandler = null), this.unbindListeners(), super.ngOnDestroy()
            }
            static\ u0275fac = function(i) {
                return new(i || t)(W(Bt), W(de))
            };
            static\ u0275cmp = k({
                type: t,
                selectors: [
                    ["p-overlay"]
                ],
                contentQueries: function(i, n, o) {
                    if (i & 1 && (I(o, ni, 4), I(o, $e, 4)), i & 2) {
                        let l;
                        m(l = f()) && (n.contentTemplate = l.first), m(l = f()) && (n.templates = l)
                    }
                },
                viewQuery: function(i, n) {
                    if (i & 1 && (A(Ti, 5), A(ni, 5)), i & 2) {
                        let o;
                        m(o = f()) && (n.overlayViewChild = o.first), m(o = f()) && (n.contentViewChild = o.first)
                    }
                },
                inputs: {
                    visible: "visible",
                    mode: "mode",
                    style: "style",
                    styleClass: "styleClass",
                    contentStyle: "contentStyle",
                    contentStyleClass: "contentStyleClass",
                    target: "target",
                    appendTo: "appendTo",
                    autoZIndex: "autoZIndex",
                    baseZIndex: "baseZIndex",
                    showTransitionOptions: "showTransitionOptions",
                    hideTransitionOptions: "hideTransitionOptions",
                    listener: "listener",
                    responsive: "responsive",
                    options: "options"
                },
                outputs: {
                    visibleChange: "visibleChange",
                    onBeforeShow: "onBeforeShow",
                    onShow: "onShow",
                    onBeforeHide: "onBeforeHide",
                    onHide: "onHide",
                    onAnimationStart: "onAnimationStart",
                    onAnimationDone: "onAnimationDone"
                },
                features: [Z([oi]), S],
                ngContentSelectors: Si,
                decls: 1,
                vars: 1,
                consts: [
                    ["overlay", ""],
                    ["content", ""],
                    [3, "ngStyle", "class", "ngClass", "click", 4, "ngIf"],
                    [3, "click", "ngStyle", "ngClass"],
                    [4, "ngTemplateOutlet", "ngTemplateOutletContext"]
                ],
                template: function(i, n) {
                    i & 1 && (he(), d(0, Di, 3, 20, "div", 2)), i & 2 && r("ngIf", n.modalVisible)
                },
                dependencies: [oe, we, Ie, Te, xe, U],
                encapsulation: 2,
                data: {
                    animation: [Ct("overlayContentAnimation", [nt(":enter", [lt($i)]), nt(":leave", [lt(Ri)])])]
                },
                changeDetection: 0
            })
        }
        return t
    })();
var ri = ["content"],
    Hi = ["item"],
    Pi = ["loader"],
    Bi = ["loadericon"],
    Ai = ["element"],
    Qi = ["*"],
    ji = (t, s, e) => ({
        "p-virtualscroller": !0,
        "p-virtualscroller-inline": t,
        "p-virtualscroller-both p-both-scroll": s,
        "p-virtualscroller-horizontal p-horizontal-scroll": e
    }),
    pt = (t, s) => ({
        $implicit: t,
        options: s
    }),
    Ni = t => ({
        "p-virtualscroller-content": !0,
        "p-virtualscroller-loading ": t
    }),
    Ki = t => ({
        "p-virtualscroller-loader-mask": t
    }),
    Zi = t => ({
        numCols: t
    }),
    ci = t => ({
        options: t
    }),
    qi = () => ({
        styleClass: "p-virtualscroller-loading-icon"
    }),
    Wi = (t, s) => ({
        rows: t,
        columns: s
    });

function Gi(t, s) {
    t & 1 && M(0)
}

function Ui(t, s) {
    if (t & 1 && (z(0), d(1, Gi, 1, 0, "ng-container", 10), D()), t & 2) {
        let e = a(2);
        c(), r("ngTemplateOutlet", e.contentTemplate || e._contentTemplate)("ngTemplateOutletContext", me(2, pt, e.loadedItems, e.getContentOptions()))
    }
}

function Yi(t, s) {
    t & 1 && M(0)
}

function Ji(t, s) {
    if (t & 1 && (z(0), d(1, Yi, 1, 0, "ng-container", 10), D()), t & 2) {
        let e = s.$implicit,
            i = s.index,
            n = a(3);
        c(), r("ngTemplateOutlet", n.itemTemplate || n._itemTemplate)("ngTemplateOutletContext", me(2, pt, e, n.getOptions(i)))
    }
}

function Xi(t, s) {
    if (t & 1 && (h(0, "div", 11, 3), d(2, Ji, 2, 5, "ng-container", 12), u()), t & 2) {
        let e = a(2);
        Fe(e.contentStyle), V(e.contentStyleClass), r("ngClass", R(8, Ni, e.d_loading)), b("data-pc-section", "content"), c(2), r("ngForOf", e.loadedItems)("ngForTrackBy", e._trackBy)
    }
}

function en(t, s) {
    if (t & 1 && L(0, "div", 13), t & 2) {
        let e = a(2);
        r("ngStyle", e.spacerStyle), b("data-pc-section", "spacer")
    }
}

function tn(t, s) {
    t & 1 && M(0)
}

function nn(t, s) {
    if (t & 1 && (z(0), d(1, tn, 1, 0, "ng-container", 10), D()), t & 2) {
        let e = s.index,
            i = a(4);
        c(), r("ngTemplateOutlet", i.loaderTemplate || i._loaderTemplate)("ngTemplateOutletContext", R(4, ci, i.getLoaderOptions(e, i.both && R(2, Zi, i.numItemsInViewport.cols))))
    }
}

function on(t, s) {
    if (t & 1 && (z(0), d(1, nn, 2, 6, "ng-container", 15), D()), t & 2) {
        let e = a(3);
        c(), r("ngForOf", e.loaderArr)
    }
}

function ln(t, s) {
    t & 1 && M(0)
}

function sn(t, s) {
    if (t & 1 && (z(0), d(1, ln, 1, 0, "ng-container", 10), D()), t & 2) {
        let e = a(4);
        c(), r("ngTemplateOutlet", e.loaderIconTemplate || e._loaderIconTemplate)("ngTemplateOutletContext", R(3, ci, ke(2, qi)))
    }
}

function rn(t, s) {
    t & 1 && L(0, "SpinnerIcon", 16), t & 2 && (r("styleClass", "p-virtualscroller-loading-icon pi-spin"), b("data-pc-section", "loadingIcon"))
}

function an(t, s) {
    if (t & 1 && d(0, sn, 2, 5, "ng-container", 6)(1, rn, 1, 2, "ng-template", null, 5, G), t & 2) {
        let e = ie(2),
            i = a(3);
        r("ngIf", i.loaderIconTemplate || i._loaderIconTemplate)("ngIfElse", e)
    }
}

function cn(t, s) {
    if (t & 1 && (h(0, "div", 14), d(1, on, 2, 1, "ng-container", 6)(2, an, 3, 2, "ng-template", null, 4, G), u()), t & 2) {
        let e = ie(3),
            i = a(2);
        r("ngClass", R(4, Ki, !i.loaderTemplate)), b("data-pc-section", "loader"), c(), r("ngIf", i.loaderTemplate || i._loaderTemplate)("ngIfElse", e)
    }
}

function pn(t, s) {
    if (t & 1) {
        let e = B();
        z(0), h(1, "div", 7, 1), $("scroll", function(n) {
            y(e);
            let o = a();
            return v(o.onContainerScroll(n))
        }), d(3, Ui, 2, 5, "ng-container", 6)(4, Xi, 3, 10, "ng-template", null, 2, G)(6, en, 1, 2, "div", 8)(7, cn, 4, 6, "div", 9), u(), D()
    }
    if (t & 2) {
        let e = ie(5),
            i = a();
        c(), V(i._styleClass), r("ngStyle", i._style)("ngClass", ze(12, ji, i.inline, i.both, i.horizontal)), b("id", i._id)("tabindex", i.tabindex)("data-pc-name", "scroller")("data-pc-section", "root"), c(2), r("ngIf", i.contentTemplate || i._contentTemplate)("ngIfElse", e), c(3), r("ngIf", i._showSpacer), c(), r("ngIf", !i.loaderDisabled && i._showLoader && i.d_loading)
    }
}

function dn(t, s) {
    t & 1 && M(0)
}

function hn(t, s) {
    if (t & 1 && (z(0), d(1, dn, 1, 0, "ng-container", 10), D()), t & 2) {
        let e = a(2);
        c(), r("ngTemplateOutlet", e.contentTemplate || e._contentTemplate)("ngTemplateOutletContext", me(5, pt, e.items, me(2, Wi, e._items, e.loadedColumns)))
    }
}

function un(t, s) {
    if (t & 1 && (ue(0), d(1, hn, 2, 8, "ng-container", 17)), t & 2) {
        let e = a();
        c(), r("ngIf", e.contentTemplate || e._contentTemplate)
    }
}
var mn = ({
        dt: t
    }) => `
.p-virtualscroller {
    position: relative;
    overflow: auto;
    contain: strict;
    transform: translateZ(0);
    will-change: scroll-position;
    outline: 0 none;
}

.p-virtualscroller-content {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    will-change: transform;
}

.p-virtualscroller-spacer {
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 1px;
    transform-origin: 0 0;
    pointer-events: none;
}

.p-virtualscroller-loader {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: ${t("virtualscroller.loader.mask.background")};
    color: ${t("virtualscroller.loader.mask.color")};
}

.p-virtualscroller-loader-mask {
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-virtualscroller-loading-icon {
    font-size: ${t("virtualscroller.loader.icon.size")};
    width: ${t("virtualscroller.loader.icon.size")};
    height: ${t("virtualscroller.loader.icon.size")};
}

.p-virtualscroller-horizontal > .p-virtualscroller-content {
    display: flex;
}

.p-virtualscroller-inline .p-virtualscroller-content {
    position: static;
}
`,
    ai = (() => {
        class t extends q {
            name = "virtualscroller";
            theme = mn;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })();
var dt = (() => {
        class t extends Q {
            zone;
            get id() {
                return this._id
            }
            set id(e) {
                this._id = e
            }
            get style() {
                return this._style
            }
            set style(e) {
                this._style = e
            }
            get styleClass() {
                return this._styleClass
            }
            set styleClass(e) {
                this._styleClass = e
            }
            get tabindex() {
                return this._tabindex
            }
            set tabindex(e) {
                this._tabindex = e
            }
            get items() {
                return this._items
            }
            set items(e) {
                this._items = e
            }
            get itemSize() {
                return this._itemSize
            }
            set itemSize(e) {
                this._itemSize = e
            }
            get scrollHeight() {
                return this._scrollHeight
            }
            set scrollHeight(e) {
                this._scrollHeight = e
            }
            get scrollWidth() {
                return this._scrollWidth
            }
            set scrollWidth(e) {
                this._scrollWidth = e
            }
            get orientation() {
                return this._orientation
            }
            set orientation(e) {
                this._orientation = e
            }
            get step() {
                return this._step
            }
            set step(e) {
                this._step = e
            }
            get delay() {
                return this._delay
            }
            set delay(e) {
                this._delay = e
            }
            get resizeDelay() {
                return this._resizeDelay
            }
            set resizeDelay(e) {
                this._resizeDelay = e
            }
            get appendOnly() {
                return this._appendOnly
            }
            set appendOnly(e) {
                this._appendOnly = e
            }
            get inline() {
                return this._inline
            }
            set inline(e) {
                this._inline = e
            }
            get lazy() {
                return this._lazy
            }
            set lazy(e) {
                this._lazy = e
            }
            get disabled() {
                return this._disabled
            }
            set disabled(e) {
                this._disabled = e
            }
            get loaderDisabled() {
                return this._loaderDisabled
            }
            set loaderDisabled(e) {
                this._loaderDisabled = e
            }
            get columns() {
                return this._columns
            }
            set columns(e) {
                this._columns = e
            }
            get showSpacer() {
                return this._showSpacer
            }
            set showSpacer(e) {
                this._showSpacer = e
            }
            get showLoader() {
                return this._showLoader
            }
            set showLoader(e) {
                this._showLoader = e
            }
            get numToleratedItems() {
                return this._numToleratedItems
            }
            set numToleratedItems(e) {
                this._numToleratedItems = e
            }
            get loading() {
                return this._loading
            }
            set loading(e) {
                this._loading = e
            }
            get autoSize() {
                return this._autoSize
            }
            set autoSize(e) {
                this._autoSize = e
            }
            get trackBy() {
                return this._trackBy
            }
            set trackBy(e) {
                this._trackBy = e
            }
            get options() {
                return this._options
            }
            set options(e) {
                this._options = e, e && typeof e == "object" && (Object.entries(e).forEach(([i, n]) => this[`_${i}`] !== n && (this[`_${i}`] = n)), Object.entries(e).forEach(([i, n]) => this[`${i}`] !== n && (this[`${i}`] = n)))
            }
            onLazyLoad = new O;
            onScroll = new O;
            onScrollIndexChange = new O;
            elementViewChild;
            contentViewChild;
            height;
            _id;
            _style;
            _styleClass;
            _tabindex = 0;
            _items;
            _itemSize = 0;
            _scrollHeight;
            _scrollWidth;
            _orientation = "vertical";
            _step = 0;
            _delay = 0;
            _resizeDelay = 10;
            _appendOnly = !1;
            _inline = !1;
            _lazy = !1;
            _disabled = !1;
            _loaderDisabled = !1;
            _columns;
            _showSpacer = !0;
            _showLoader = !1;
            _numToleratedItems;
            _loading;
            _autoSize = !1;
            _trackBy;
            _options;
            d_loading = !1;
            d_numToleratedItems;
            contentEl;
            contentTemplate;
            itemTemplate;
            loaderTemplate;
            loaderIconTemplate;
            templates;
            _contentTemplate;
            _itemTemplate;
            _loaderTemplate;
            _loaderIconTemplate;
            first = 0;
            last = 0;
            page = 0;
            isRangeChanged = !1;
            numItemsInViewport = 0;
            lastScrollPos = 0;
            lazyLoadState = {};
            loaderArr = [];
            spacerStyle = {};
            contentStyle = {};
            scrollTimeout;
            resizeTimeout;
            initialized = !1;
            windowResizeListener;
            defaultWidth;
            defaultHeight;
            defaultContentWidth;
            defaultContentHeight;
            _contentStyleClass;
            get contentStyleClass() {
                return this._contentStyleClass
            }
            set contentStyleClass(e) {
                this._contentStyleClass = e
            }
            get vertical() {
                return this._orientation === "vertical"
            }
            get horizontal() {
                return this._orientation === "horizontal"
            }
            get both() {
                return this._orientation === "both"
            }
            get loadedItems() {
                return this._items && !this.d_loading ? this.both ? this._items.slice(this._appendOnly ? 0 : this.first.rows, this.last.rows).map(e => this._columns ? e : e.slice(this._appendOnly ? 0 : this.first.cols, this.last.cols)) : this.horizontal && this._columns ? this._items : this._items.slice(this._appendOnly ? 0 : this.first, this.last) : []
            }
            get loadedRows() {
                return this.d_loading ? this._loaderDisabled ? this.loaderArr : [] : this.loadedItems
            }
            get loadedColumns() {
                return this._columns && (this.both || this.horizontal) ? this.d_loading && this._loaderDisabled ? this.both ? this.loaderArr[0] : this.loaderArr : this._columns.slice(this.both ? this.first.cols : this.first, this.both ? this.last.cols : this.last) : this._columns
            }
            _componentStyle = K(ai);
            constructor(e) {
                super(), this.zone = e
            }
            ngOnInit() {
                super.ngOnInit(), this.setInitialState()
            }
            ngOnChanges(e) {
                super.ngOnChanges(e);
                let i = !1;
                if (this.scrollHeight == "100%" && (this.height = "100%"), e.loading) {
                    let {
                        previousValue: n,
                        currentValue: o
                    } = e.loading;
                    this.lazy && n !== o && o !== this.d_loading && (this.d_loading = o, i = !0)
                }
                if (e.orientation && (this.lastScrollPos = this.both ? {
                        top: 0,
                        left: 0
                    } : 0), e.numToleratedItems) {
                    let {
                        previousValue: n,
                        currentValue: o
                    } = e.numToleratedItems;
                    n !== o && o !== this.d_numToleratedItems && (this.d_numToleratedItems = o)
                }
                if (e.options) {
                    let {
                        previousValue: n,
                        currentValue: o
                    } = e.options;
                    this.lazy && n ? .loading !== o ? .loading && o ? .loading !== this.d_loading && (this.d_loading = o.loading, i = !0), n ? .numToleratedItems !== o ? .numToleratedItems && o ? .numToleratedItems !== this.d_numToleratedItems && (this.d_numToleratedItems = o.numToleratedItems)
                }
                this.initialized && !i && (e.items ? .previousValue ? .length !== e.items ? .currentValue ? .length || e.itemSize || e.scrollHeight || e.scrollWidth) && (this.init(), this.calculateAutoSize())
            }
            ngAfterContentInit() {
                this.templates.forEach(e => {
                    switch (e.getType()) {
                        case "content":
                            this._contentTemplate = e.template;
                            break;
                        case "item":
                            this._itemTemplate = e.template;
                            break;
                        case "loader":
                            this._loaderTemplate = e.template;
                            break;
                        case "loadericon":
                            this._loaderIconTemplate = e.template;
                            break;
                        default:
                            this._itemTemplate = e.template;
                            break
                    }
                })
            }
            ngAfterViewInit() {
                super.ngAfterViewInit(), Promise.resolve().then(() => {
                    this.viewInit()
                })
            }
            ngAfterViewChecked() {
                this.initialized || this.viewInit()
            }
            ngOnDestroy() {
                this.unbindResizeListener(), this.contentEl = null, this.initialized = !1, super.ngOnDestroy()
            }
            viewInit() {
                Se(this.platformId) && !this.initialized && at(this.elementViewChild ? .nativeElement) && (this.setInitialState(), this.setContentEl(this.contentEl), this.init(), this.defaultWidth = Ee(this.elementViewChild ? .nativeElement), this.defaultHeight = Oe(this.elementViewChild ? .nativeElement), this.defaultContentWidth = Ee(this.contentEl), this.defaultContentHeight = Oe(this.contentEl), this.initialized = !0)
            }
            init() {
                this._disabled || (this.setSize(), this.calculateOptions(), this.setSpacerSize(), this.bindResizeListener(), this.cd.detectChanges())
            }
            setContentEl(e) {
                this.contentEl = e || this.contentViewChild ? .nativeElement || le(this.elementViewChild ? .nativeElement, ".p-virtualscroller-content")
            }
            setInitialState() {
                this.first = this.both ? {
                    rows: 0,
                    cols: 0
                } : 0, this.last = this.both ? {
                    rows: 0,
                    cols: 0
                } : 0, this.numItemsInViewport = this.both ? {
                    rows: 0,
                    cols: 0
                } : 0, this.lastScrollPos = this.both ? {
                    top: 0,
                    left: 0
                } : 0, this.d_loading = this._loading || !1, this.d_numToleratedItems = this._numToleratedItems, this.loaderArr = []
            }
            getElementRef() {
                return this.elementViewChild
            }
            getPageByFirst(e) {
                return Math.floor(((e ? ? this.first) + this.d_numToleratedItems * 4) / (this._step || 1))
            }
            isPageChanged(e) {
                return this._step ? this.page !== this.getPageByFirst(e ? ? this.first) : !0
            }
            scrollTo(e) {
                this.elementViewChild ? .nativeElement ? .scrollTo(e)
            }
            scrollToIndex(e, i = "auto") {
                if (this.both ? e.every(o => o > -1) : e > -1) {
                    let o = this.first,
                        {
                            scrollTop: l = 0,
                            scrollLeft: p = 0
                        } = this.elementViewChild ? .nativeElement,
                        {
                            numToleratedItems: F
                        } = this.calculateNumItems(),
                        T = this.getContentPosition(),
                        x = this.itemSize,
                        Y = (C = 0, E) => C <= E ? 0 : C,
                        H = (C, E, X) => C * E + X,
                        J = (C = 0, E = 0) => this.scrollTo({
                            left: C,
                            top: E,
                            behavior: i
                        }),
                        j = this.both ? {
                            rows: 0,
                            cols: 0
                        } : 0,
                        ye = !1,
                        g = !1;
                    this.both ? (j = {
                        rows: Y(e[0], F[0]),
                        cols: Y(e[1], F[1])
                    }, J(H(j.cols, x[1], T.left), H(j.rows, x[0], T.top)), g = this.lastScrollPos.top !== l || this.lastScrollPos.left !== p, ye = j.rows !== o.rows || j.cols !== o.cols) : (j = Y(e, F), this.horizontal ? J(H(j, x, T.left), l) : J(p, H(j, x, T.top)), g = this.lastScrollPos !== (this.horizontal ? p : l), ye = j !== o), this.isRangeChanged = ye, g && (this.first = j)
                }
            }
            scrollInView(e, i, n = "auto") {
                if (i) {
                    let {
                        first: o,
                        viewport: l
                    } = this.getRenderedRange(), p = (x = 0, Y = 0) => this.scrollTo({
                        left: x,
                        top: Y,
                        behavior: n
                    }), F = i === "to-start", T = i === "to-end";
                    if (F) {
                        if (this.both) l.first.rows - o.rows > e[0] ? p(l.first.cols * this._itemSize[1], (l.first.rows - 1) * this._itemSize[0]) : l.first.cols - o.cols > e[1] && p((l.first.cols - 1) * this._itemSize[1], l.first.rows * this._itemSize[0]);
                        else if (l.first - o > e) {
                            let x = (l.first - 1) * this._itemSize;
                            this.horizontal ? p(x, 0) : p(0, x)
                        }
                    } else if (T) {
                        if (this.both) l.last.rows - o.rows <= e[0] + 1 ? p(l.first.cols * this._itemSize[1], (l.first.rows + 1) * this._itemSize[0]) : l.last.cols - o.cols <= e[1] + 1 && p((l.first.cols + 1) * this._itemSize[1], l.first.rows * this._itemSize[0]);
                        else if (l.last - o <= e + 1) {
                            let x = (l.first + 1) * this._itemSize;
                            this.horizontal ? p(x, 0) : p(0, x)
                        }
                    }
                } else this.scrollToIndex(e, n)
            }
            getRenderedRange() {
                let e = (o, l) => l || o ? Math.floor(o / (l || o)) : 0,
                    i = this.first,
                    n = 0;
                if (this.elementViewChild ? .nativeElement) {
                    let {
                        scrollTop: o,
                        scrollLeft: l
                    } = this.elementViewChild.nativeElement;
                    if (this.both) i = {
                        rows: e(o, this._itemSize[0]),
                        cols: e(l, this._itemSize[1])
                    }, n = {
                        rows: i.rows + this.numItemsInViewport.rows,
                        cols: i.cols + this.numItemsInViewport.cols
                    };
                    else {
                        let p = this.horizontal ? l : o;
                        i = e(p, this._itemSize), n = i + this.numItemsInViewport
                    }
                }
                return {
                    first: this.first,
                    last: this.last,
                    viewport: {
                        first: i,
                        last: n
                    }
                }
            }
            calculateNumItems() {
                let e = this.getContentPosition(),
                    i = (this.elementViewChild ? .nativeElement ? this.elementViewChild.nativeElement.offsetWidth - e.left : 0) || 0,
                    n = (this.elementViewChild ? .nativeElement ? this.elementViewChild.nativeElement.offsetHeight - e.top : 0) || 0,
                    o = (T, x) => x || T ? Math.ceil(T / (x || T)) : 0,
                    l = T => Math.ceil(T / 2),
                    p = this.both ? {
                        rows: o(n, this._itemSize[0]),
                        cols: o(i, this._itemSize[1])
                    } : o(this.horizontal ? i : n, this._itemSize),
                    F = this.d_numToleratedItems || (this.both ? [l(p.rows), l(p.cols)] : l(p));
                return {
                    numItemsInViewport: p,
                    numToleratedItems: F
                }
            }
            calculateOptions() {
                let {
                    numItemsInViewport: e,
                    numToleratedItems: i
                } = this.calculateNumItems(), n = (p, F, T, x = !1) => this.getLast(p + F + (p < T ? 2 : 3) * T, x), o = this.first, l = this.both ? {
                    rows: n(this.first.rows, e.rows, i[0]),
                    cols: n(this.first.cols, e.cols, i[1], !0)
                } : n(this.first, e, i);
                this.last = l, this.numItemsInViewport = e, this.d_numToleratedItems = i, this.showLoader && (this.loaderArr = this.both ? Array.from({
                    length: e.rows
                }).map(() => Array.from({
                    length: e.cols
                })) : Array.from({
                    length: e
                })), this._lazy && Promise.resolve().then(() => {
                    this.lazyLoadState = {
                        first: this._step ? this.both ? {
                            rows: 0,
                            cols: o.cols
                        } : 0 : o,
                        last: Math.min(this._step ? this._step : this.last, this.items.length)
                    }, this.handleEvents("onLazyLoad", this.lazyLoadState)
                })
            }
            calculateAutoSize() {
                this._autoSize && !this.d_loading && Promise.resolve().then(() => {
                    if (this.contentEl) {
                        this.contentEl.style.minHeight = this.contentEl.style.minWidth = "auto", this.contentEl.style.position = "relative", this.elementViewChild.nativeElement.style.contain = "none";
                        let [e, i] = [Ee(this.contentEl), Oe(this.contentEl)];
                        e !== this.defaultContentWidth && (this.elementViewChild.nativeElement.style.width = ""), i !== this.defaultContentHeight && (this.elementViewChild.nativeElement.style.height = "");
                        let [n, o] = [Ee(this.elementViewChild.nativeElement), Oe(this.elementViewChild.nativeElement)];
                        (this.both || this.horizontal) && (this.elementViewChild.nativeElement.style.width = n < this.defaultWidth ? n + "px" : this._scrollWidth || this.defaultWidth + "px"), (this.both || this.vertical) && (this.elementViewChild.nativeElement.style.height = o < this.defaultHeight ? o + "px" : this._scrollHeight || this.defaultHeight + "px"), this.contentEl.style.minHeight = this.contentEl.style.minWidth = "", this.contentEl.style.position = "", this.elementViewChild.nativeElement.style.contain = ""
                    }
                })
            }
            getLast(e = 0, i = !1) {
                return this._items ? Math.min(i ? (this._columns || this._items[0]).length : this._items.length, e) : 0
            }
            getContentPosition() {
                if (this.contentEl) {
                    let e = getComputedStyle(this.contentEl),
                        i = parseFloat(e.paddingLeft) + Math.max(parseFloat(e.left) || 0, 0),
                        n = parseFloat(e.paddingRight) + Math.max(parseFloat(e.right) || 0, 0),
                        o = parseFloat(e.paddingTop) + Math.max(parseFloat(e.top) || 0, 0),
                        l = parseFloat(e.paddingBottom) + Math.max(parseFloat(e.bottom) || 0, 0);
                    return {
                        left: i,
                        right: n,
                        top: o,
                        bottom: l,
                        x: i + n,
                        y: o + l
                    }
                }
                return {
                    left: 0,
                    right: 0,
                    top: 0,
                    bottom: 0,
                    x: 0,
                    y: 0
                }
            }
            setSize() {
                if (this.elementViewChild ? .nativeElement) {
                    let e = this.elementViewChild.nativeElement.parentElement.parentElement,
                        i = this._scrollWidth || `${this.elementViewChild.nativeElement.offsetWidth||e.offsetWidth}px`,
                        n = this._scrollHeight || `${this.elementViewChild.nativeElement.offsetHeight||e.offsetHeight}px`,
                        o = (l, p) => this.elementViewChild.nativeElement.style[l] = p;
                    this.both || this.horizontal ? (o("height", n), o("width", i)) : o("height", n)
                }
            }
            setSpacerSize() {
                if (this._items) {
                    let e = this.getContentPosition(),
                        i = (n, o, l, p = 0) => this.spacerStyle = Re(P({}, this.spacerStyle), {
                            [`${n}`]: (o || []).length * l + p + "px"
                        });
                    this.both ? (i("height", this._items, this._itemSize[0], e.y), i("width", this._columns || this._items[1], this._itemSize[1], e.x)) : this.horizontal ? i("width", this._columns || this._items, this._itemSize, e.x) : i("height", this._items, this._itemSize, e.y)
                }
            }
            setContentPosition(e) {
                if (this.contentEl && !this._appendOnly) {
                    let i = e ? e.first : this.first,
                        n = (l, p) => l * p,
                        o = (l = 0, p = 0) => this.contentStyle = Re(P({}, this.contentStyle), {
                            transform: `translate3d(${l}px, ${p}px, 0)`
                        });
                    if (this.both) o(n(i.cols, this._itemSize[1]), n(i.rows, this._itemSize[0]));
                    else {
                        let l = n(i, this._itemSize);
                        this.horizontal ? o(l, 0) : o(0, l)
                    }
                }
            }
            onScrollPositionChange(e) {
                let i = e.target,
                    n = this.getContentPosition(),
                    o = (g, C) => g ? g > C ? g - C : g : 0,
                    l = (g, C) => C || g ? Math.floor(g / (C || g)) : 0,
                    p = (g, C, E, X, pe, ve) => g <= pe ? pe : ve ? E - X - pe : C + pe - 1,
                    F = (g, C, E, X, pe, ve, Ke) => g <= ve ? 0 : Math.max(0, Ke ? g < C ? E : g - ve : g > C ? E : g - 2 * ve),
                    T = (g, C, E, X, pe, ve = !1) => {
                        let Ke = C + X + 2 * pe;
                        return g >= pe && (Ke += pe + 1), this.getLast(Ke, ve)
                    },
                    x = o(i.scrollTop, n.top),
                    Y = o(i.scrollLeft, n.left),
                    H = this.both ? {
                        rows: 0,
                        cols: 0
                    } : 0,
                    J = this.last,
                    j = !1,
                    ye = this.lastScrollPos;
                if (this.both) {
                    let g = this.lastScrollPos.top <= x,
                        C = this.lastScrollPos.left <= Y;
                    if (!this._appendOnly || this._appendOnly && (g || C)) {
                        let E = {
                                rows: l(x, this._itemSize[0]),
                                cols: l(Y, this._itemSize[1])
                            },
                            X = {
                                rows: p(E.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], g),
                                cols: p(E.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], C)
                            };
                        H = {
                            rows: F(E.rows, X.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], g),
                            cols: F(E.cols, X.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], C)
                        }, J = {
                            rows: T(E.rows, H.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
                            cols: T(E.cols, H.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], !0)
                        }, j = H.rows !== this.first.rows || J.rows !== this.last.rows || H.cols !== this.first.cols || J.cols !== this.last.cols || this.isRangeChanged, ye = {
                            top: x,
                            left: Y
                        }
                    }
                } else {
                    let g = this.horizontal ? Y : x,
                        C = this.lastScrollPos <= g;
                    if (!this._appendOnly || this._appendOnly && C) {
                        let E = l(g, this._itemSize),
                            X = p(E, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, C);
                        H = F(E, X, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, C), J = T(E, H, this.last, this.numItemsInViewport, this.d_numToleratedItems), j = H !== this.first || J !== this.last || this.isRangeChanged, ye = g
                    }
                }
                return {
                    first: H,
                    last: J,
                    isRangeChanged: j,
                    scrollPos: ye
                }
            }
            onScrollChange(e) {
                let {
                    first: i,
                    last: n,
                    isRangeChanged: o,
                    scrollPos: l
                } = this.onScrollPositionChange(e);
                if (o) {
                    let p = {
                        first: i,
                        last: n
                    };
                    if (this.setContentPosition(p), this.first = i, this.last = n, this.lastScrollPos = l, this.handleEvents("onScrollIndexChange", p), this._lazy && this.isPageChanged(i)) {
                        let F = {
                            first: this._step ? Math.min(this.getPageByFirst(i) * this._step, this.items.length - this._step) : i,
                            last: Math.min(this._step ? (this.getPageByFirst(i) + 1) * this._step : n, this.items.length)
                        };
                        (this.lazyLoadState.first !== F.first || this.lazyLoadState.last !== F.last) && this.handleEvents("onLazyLoad", F), this.lazyLoadState = F
                    }
                }
            }
            onContainerScroll(e) {
                if (this.handleEvents("onScroll", {
                        originalEvent: e
                    }), this._delay && this.isPageChanged()) {
                    if (this.scrollTimeout && clearTimeout(this.scrollTimeout), !this.d_loading && this.showLoader) {
                        let {
                            isRangeChanged: i
                        } = this.onScrollPositionChange(e);
                        (i || (this._step ? this.isPageChanged() : !1)) && (this.d_loading = !0, this.cd.detectChanges())
                    }
                    this.scrollTimeout = setTimeout(() => {
                        this.onScrollChange(e), this.d_loading && this.showLoader && (!this._lazy || this._loading === void 0) && (this.d_loading = !1, this.page = this.getPageByFirst()), this.cd.detectChanges()
                    }, this._delay)
                } else !this.d_loading && this.onScrollChange(e)
            }
            bindResizeListener() {
                Se(this.platformId) && (this.windowResizeListener || this.zone.runOutsideAngular(() => {
                    let e = this.document.defaultView,
                        i = Ve() ? "orientationchange" : "resize";
                    this.windowResizeListener = this.renderer.listen(e, i, this.onWindowResize.bind(this))
                }))
            }
            unbindResizeListener() {
                this.windowResizeListener && (this.windowResizeListener(), this.windowResizeListener = null)
            }
            onWindowResize() {
                this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(() => {
                    if (at(this.elementViewChild ? .nativeElement)) {
                        let [e, i] = [Ee(this.elementViewChild ? .nativeElement), Oe(this.elementViewChild ? .nativeElement)], [n, o] = [e !== this.defaultWidth, i !== this.defaultHeight];
                        (this.both ? n || o : this.horizontal ? n : this.vertical ? o : !1) && this.zone.run(() => {
                            this.d_numToleratedItems = this._numToleratedItems, this.defaultWidth = e, this.defaultHeight = i, this.defaultContentWidth = Ee(this.contentEl), this.defaultContentHeight = Oe(this.contentEl), this.init()
                        })
                    }
                }, this._resizeDelay)
            }
            handleEvents(e, i) {
                return this.options && this.options[e] ? this.options[e](i) : this[e].emit(i)
            }
            getContentOptions() {
                return {
                    contentStyleClass: `p-virtualscroller-content ${this.d_loading?"p-virtualscroller-loading":""}`,
                    items: this.loadedItems,
                    getItemOptions: e => this.getOptions(e),
                    loading: this.d_loading,
                    getLoaderOptions: (e, i) => this.getLoaderOptions(e, i),
                    itemSize: this._itemSize,
                    rows: this.loadedRows,
                    columns: this.loadedColumns,
                    spacerStyle: this.spacerStyle,
                    contentStyle: this.contentStyle,
                    vertical: this.vertical,
                    horizontal: this.horizontal,
                    both: this.both
                }
            }
            getOptions(e) {
                let i = (this._items || []).length,
                    n = this.both ? this.first.rows + e : this.first + e;
                return {
                    index: n,
                    count: i,
                    first: n === 0,
                    last: n === i - 1,
                    even: n % 2 === 0,
                    odd: n % 2 !== 0
                }
            }
            getLoaderOptions(e, i) {
                let n = this.loaderArr.length;
                return P({
                    index: e,
                    count: n,
                    first: e === 0,
                    last: e === n - 1,
                    even: e % 2 === 0,
                    odd: e % 2 !== 0
                }, i)
            }
            static\ u0275fac = function(i) {
                return new(i || t)(W(de))
            };
            static\ u0275cmp = k({
                type: t,
                selectors: [
                    ["p-scroller"],
                    ["p-virtualscroller"],
                    ["p-virtual-scroller"],
                    ["p-virtualScroller"]
                ],
                contentQueries: function(i, n, o) {
                    if (i & 1 && (I(o, ri, 4), I(o, Hi, 4), I(o, Pi, 4), I(o, Bi, 4), I(o, $e, 4)), i & 2) {
                        let l;
                        m(l = f()) && (n.contentTemplate = l.first), m(l = f()) && (n.itemTemplate = l.first), m(l = f()) && (n.loaderTemplate = l.first), m(l = f()) && (n.loaderIconTemplate = l.first), m(l = f()) && (n.templates = l)
                    }
                },
                viewQuery: function(i, n) {
                    if (i & 1 && (A(Ai, 5), A(ri, 5)), i & 2) {
                        let o;
                        m(o = f()) && (n.elementViewChild = o.first), m(o = f()) && (n.contentViewChild = o.first)
                    }
                },
                hostVars: 2,
                hostBindings: function(i, n) {
                    i & 2 && We("height", n.height)
                },
                inputs: {
                    id: "id",
                    style: "style",
                    styleClass: "styleClass",
                    tabindex: "tabindex",
                    items: "items",
                    itemSize: "itemSize",
                    scrollHeight: "scrollHeight",
                    scrollWidth: "scrollWidth",
                    orientation: "orientation",
                    step: "step",
                    delay: "delay",
                    resizeDelay: "resizeDelay",
                    appendOnly: "appendOnly",
                    inline: "inline",
                    lazy: "lazy",
                    disabled: "disabled",
                    loaderDisabled: "loaderDisabled",
                    columns: "columns",
                    showSpacer: "showSpacer",
                    showLoader: "showLoader",
                    numToleratedItems: "numToleratedItems",
                    loading: "loading",
                    autoSize: "autoSize",
                    trackBy: "trackBy",
                    options: "options"
                },
                outputs: {
                    onLazyLoad: "onLazyLoad",
                    onScroll: "onScroll",
                    onScrollIndexChange: "onScrollIndexChange"
                },
                features: [Z([ai]), S, Ze],
                ngContentSelectors: Qi,
                decls: 3,
                vars: 2,
                consts: [
                    ["disabledContainer", ""],
                    ["element", ""],
                    ["buildInContent", ""],
                    ["content", ""],
                    ["buildInLoader", ""],
                    ["buildInLoaderIcon", ""],
                    [4, "ngIf", "ngIfElse"],
                    [3, "scroll", "ngStyle", "ngClass"],
                    ["class", "p-virtualscroller-spacer", 3, "ngStyle", 4, "ngIf"],
                    ["class", "p-virtualscroller-loader", 3, "ngClass", 4, "ngIf"],
                    [4, "ngTemplateOutlet", "ngTemplateOutletContext"],
                    [3, "ngClass"],
                    [4, "ngFor", "ngForOf", "ngForTrackBy"],
                    [1, "p-virtualscroller-spacer", 3, "ngStyle"],
                    [1, "p-virtualscroller-loader", 3, "ngClass"],
                    [4, "ngFor", "ngForOf"],
                    [3, "styleClass"],
                    [4, "ngIf"]
                ],
                template: function(i, n) {
                    if (i & 1 && (he(), d(0, pn, 8, 16, "ng-container", 6)(1, un, 2, 1, "ng-template", null, 0, G)), i & 2) {
                        let o = ie(2);
                        r("ngIf", !n._disabled)("ngIfElse", o)
                    }
                },
                dependencies: [oe, we, Ge, Ie, Te, xe, Qt, U],
                encapsulation: 2
            })
        }
        return t
    })(),
    Gs = (() => {
        class t {
            static\ u0275fac = function(i) {
                return new(i || t)
            };
            static\ u0275mod = te({
                type: t
            });
            static\ u0275inj = ee({
                imports: [dt, U, U]
            })
        }
        return t
    })();
var Ne = t => ({
        height: t
    }),
    fn = (t, s, e) => ({
        "p-select-option": !0,
        "p-select-option-selected": t,
        "p-disabled": s,
        "p-focus": e
    }),
    ht = t => ({
        $implicit: t
    });

function _n(t, s) {
    t & 1 && L(0, "CheckIcon", 5)
}

function gn(t, s) {
    t & 1 && L(0, "BlankIcon", 6)
}

function yn(t, s) {
    if (t & 1 && (z(0), d(1, _n, 1, 0, "CheckIcon", 3)(2, gn, 1, 0, "BlankIcon", 4), D()), t & 2) {
        let e = a();
        c(), r("ngIf", e.selected), c(), r("ngIf", !e.selected)
    }
}

function vn(t, s) {
    if (t & 1 && (h(0, "span"), Ce(1), u()), t & 2) {
        let e, i = a();
        c(), He((e = i.label) !== null && e !== void 0 ? e : "empty")
    }
}

function bn(t, s) {
    t & 1 && M(0)
}
var Cn = ["item"],
    wn = ["group"],
    In = ["loader"],
    xn = ["selectedItem"],
    Tn = ["header"],
    pi = ["filter"],
    Sn = ["footer"],
    On = ["emptyfilter"],
    En = ["empty"],
    Vn = ["dropdownicon"],
    Ln = ["loadingicon"],
    Fn = ["clearicon"],
    kn = ["filtericon"],
    zn = ["onicon"],
    Dn = ["officon"],
    Mn = ["cancelicon"],
    $n = ["focusInput"],
    Rn = ["editableInput"],
    Hn = ["items"],
    Pn = ["scroller"],
    Bn = ["overlay"],
    An = ["firstHiddenFocusableEl"],
    Qn = ["lastHiddenFocusableEl"],
    jn = () => ({
        class: "p-select-clear-icon"
    }),
    Nn = () => ({
        class: "p-select-dropdown-icon"
    }),
    hi = t => ({
        options: t
    }),
    ui = (t, s) => ({
        $implicit: t,
        options: s
    }),
    Kn = () => ({});

function Zn(t, s) {
    if (t & 1 && (z(0), Ce(1), D()), t & 2) {
        let e = a(2);
        c(), He(e.label() === "p-emptylabel" ? "\xA0" : e.label())
    }
}

function qn(t, s) {
    if (t & 1 && M(0, 24), t & 2) {
        let e = a(2);
        r("ngTemplateOutlet", e.selectedItemTemplate || e._selectedItemTemplate)("ngTemplateOutletContext", R(2, ht, e.selectedOption))
    }
}

function Wn(t, s) {
    if (t & 1 && (h(0, "span"), Ce(1), u()), t & 2) {
        let e = a(3);
        c(), He(e.label() === "p-emptylabel" ? "\xA0" : e.label())
    }
}

function Gn(t, s) {
    if (t & 1 && d(0, Wn, 2, 1, "span", 18), t & 2) {
        let e = a(2);
        r("ngIf", e.isSelectedOptionEmpty())
    }
}

function Un(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "span", 22, 3), $("focus", function(n) {
            y(e);
            let o = a();
            return v(o.onInputFocus(n))
        })("blur", function(n) {
            y(e);
            let o = a();
            return v(o.onInputBlur(n))
        })("keydown", function(n) {
            y(e);
            let o = a();
            return v(o.onKeyDown(n))
        }), d(2, Zn, 2, 1, "ng-container", 20)(3, qn, 1, 4, "ng-container", 23)(4, Gn, 1, 1, "ng-template", null, 4, G), u()
    }
    if (t & 2) {
        let e, i = ie(5),
            n = a();
        r("ngClass", n.inputClass)("pTooltip", n.tooltip)("tooltipPosition", n.tooltipPosition)("positionStyle", n.tooltipPositionStyle)("tooltipStyleClass", n.tooltipStyleClass)("pAutoFocus", n.autofocus), b("aria-disabled", n.disabled)("id", n.inputId)("aria-label", n.ariaLabel || (n.label() === "p-emptylabel" ? void 0 : n.label()))("aria-labelledby", n.ariaLabelledBy)("aria-haspopup", "listbox")("aria-expanded", (e = n.overlayVisible) !== null && e !== void 0 ? e : !1)("aria-controls", n.overlayVisible ? n.id + "_list" : null)("tabindex", n.disabled ? -1 : n.tabindex)("aria-activedescendant", n.focused ? n.focusedOptionId : void 0)("aria-required", n.required)("required", n.required), c(2), r("ngIf", !n.selectedItemTemplate && !n._selectedItemTemplate)("ngIfElse", i), c(), r("ngIf", (n.selectedItemTemplate || n._selectedItemTemplate) && !n.isSelectedOptionEmpty())
    }
}

function Yn(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "input", 25, 5), $("input", function(n) {
            y(e);
            let o = a();
            return v(o.onEditableInput(n))
        })("keydown", function(n) {
            y(e);
            let o = a();
            return v(o.onKeyDown(n))
        })("focus", function(n) {
            y(e);
            let o = a();
            return v(o.onInputFocus(n))
        })("blur", function(n) {
            y(e);
            let o = a();
            return v(o.onInputBlur(n))
        }), u()
    }
    if (t & 2) {
        let e = a();
        r("ngClass", e.inputClass)("disabled", e.disabled)("pAutoFocus", e.autofocus), b("id", e.inputId)("maxlength", e.maxlength)("placeholder", e.modelValue() === void 0 || e.modelValue() === null ? e.placeholder() : void 0)("aria-label", e.ariaLabel || (e.label() === "p-emptylabel" ? void 0 : e.label()))("aria-activedescendant", e.focused ? e.focusedOptionId : void 0)
    }
}

function Jn(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "TimesIcon", 27), $("click", function(n) {
            y(e);
            let o = a(2);
            return v(o.clear(n))
        }), u()
    }
    t & 2 && b("data-pc-section", "clearicon")
}

function Xn(t, s) {}

function eo(t, s) {
    t & 1 && d(0, Xn, 0, 0, "ng-template")
}

function to(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "span", 27), $("click", function(n) {
            y(e);
            let o = a(2);
            return v(o.clear(n))
        }), d(1, eo, 1, 0, null, 28), u()
    }
    if (t & 2) {
        let e = a(2);
        b("data-pc-section", "clearicon"), c(), r("ngTemplateOutlet", e.clearIconTemplate || e._clearIconTemplate)("ngTemplateOutletContext", ke(3, jn))
    }
}

function io(t, s) {
    if (t & 1 && (z(0), d(1, Jn, 1, 1, "TimesIcon", 26)(2, to, 2, 4, "span", 26), D()), t & 2) {
        let e = a();
        c(), r("ngIf", !e.clearIconTemplate && !e._clearIconTemplate), c(), r("ngIf", e.clearIconTemplate || e._clearIconTemplate)
    }
}

function no(t, s) {
    t & 1 && M(0)
}

function oo(t, s) {
    if (t & 1 && (z(0), d(1, no, 1, 0, "ng-container", 29), D()), t & 2) {
        let e = a(2);
        c(), r("ngTemplateOutlet", e.loadingIconTemplate || e._loadingIconTemplate)
    }
}

function lo(t, s) {
    if (t & 1 && L(0, "span", 32), t & 2) {
        let e = a(3);
        r("ngClass", "p-select-loading-icon pi-spin " + e.loadingIcon)
    }
}

function so(t, s) {
    t & 1 && L(0, "span", 33), t & 2 && V("p-select-loading-icon pi pi-spinner pi-spin")
}

function ro(t, s) {
    if (t & 1 && (z(0), d(1, lo, 1, 1, "span", 30)(2, so, 1, 2, "span", 31), D()), t & 2) {
        let e = a(2);
        c(), r("ngIf", e.loadingIcon), c(), r("ngIf", !e.loadingIcon)
    }
}

function ao(t, s) {
    if (t & 1 && (z(0), d(1, oo, 2, 1, "ng-container", 18)(2, ro, 3, 2, "ng-container", 18), D()), t & 2) {
        let e = a();
        c(), r("ngIf", e.loadingIconTemplate || e._loadingIconTemplate), c(), r("ngIf", !e.loadingIconTemplate && !e._loadingIconTemplate)
    }
}

function co(t, s) {
    if (t & 1 && L(0, "span", 37), t & 2) {
        let e = a(3);
        r("ngClass", e.dropdownIcon)
    }
}

function po(t, s) {
    t & 1 && L(0, "ChevronDownIcon", 38), t & 2 && r("styleClass", "p-select-dropdown-icon")
}

function ho(t, s) {
    if (t & 1 && (z(0), d(1, co, 1, 1, "span", 35)(2, po, 1, 1, "ChevronDownIcon", 36), D()), t & 2) {
        let e = a(2);
        c(), r("ngIf", e.dropdownIcon), c(), r("ngIf", !e.dropdownIcon)
    }
}

function uo(t, s) {}

function mo(t, s) {
    t & 1 && d(0, uo, 0, 0, "ng-template")
}

function fo(t, s) {
    if (t & 1 && (h(0, "span", 39), d(1, mo, 1, 0, null, 28), u()), t & 2) {
        let e = a(2);
        c(), r("ngTemplateOutlet", e.dropdownIconTemplate || e._dropdownIconTemplate)("ngTemplateOutletContext", ke(2, Nn))
    }
}

function _o(t, s) {
    if (t & 1 && d(0, ho, 3, 2, "ng-container", 18)(1, fo, 2, 3, "span", 34), t & 2) {
        let e = a();
        r("ngIf", !e.dropdownIconTemplate && !e._dropdownIconTemplate), c(), r("ngIf", e.dropdownIconTemplate || e._dropdownIconTemplate)
    }
}

function go(t, s) {
    t & 1 && M(0)
}

function yo(t, s) {
    t & 1 && M(0)
}

function vo(t, s) {
    if (t & 1 && (z(0), d(1, yo, 1, 0, "ng-container", 28), D()), t & 2) {
        let e = a(3);
        c(), r("ngTemplateOutlet", e.filterTemplate || e._filterTemplate)("ngTemplateOutletContext", R(2, hi, e.filterOptions))
    }
}

function bo(t, s) {
    t & 1 && L(0, "SearchIcon")
}

function Co(t, s) {}

function wo(t, s) {
    t & 1 && d(0, Co, 0, 0, "ng-template")
}

function Io(t, s) {
    if (t & 1 && (h(0, "span"), d(1, wo, 1, 0, null, 29), u()), t & 2) {
        let e = a(4);
        c(), r("ngTemplateOutlet", e.filterIconTemplate || e._filterIconTemplate)
    }
}

function xo(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "p-iconfield")(1, "input", 46, 10), $("input", function(n) {
            y(e);
            let o = a(3);
            return v(o.onFilterInputChange(n))
        })("keydown", function(n) {
            y(e);
            let o = a(3);
            return v(o.onFilterKeyDown(n))
        })("blur", function(n) {
            y(e);
            let o = a(3);
            return v(o.onFilterBlur(n))
        }), u(), h(3, "p-inputicon"), d(4, bo, 1, 0, "SearchIcon", 18)(5, Io, 2, 1, "span", 18), u()()
    }
    if (t & 2) {
        let e = a(3);
        c(), r("pSize", e.size)("value", e._filterValue() || "")("variant", e.variant), b("placeholder", e.filterPlaceholder)("aria-owns", e.id + "_list")("aria-label", e.ariaFilterLabel)("aria-activedescendant", e.focusedOptionId), c(3), r("ngIf", !e.filterIconTemplate && !e._filterIconTemplate), c(), r("ngIf", e.filterIconTemplate || e._filterIconTemplate)
    }
}

function To(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "div", 45), $("click", function(n) {
            return y(e), v(n.stopPropagation())
        }), d(1, vo, 2, 4, "ng-container", 20)(2, xo, 6, 9, "ng-template", null, 9, G), u()
    }
    if (t & 2) {
        let e = ie(3),
            i = a(2);
        c(), r("ngIf", i.filterTemplate || i._filterTemplate)("ngIfElse", e)
    }
}

function So(t, s) {
    t & 1 && M(0)
}

function Oo(t, s) {
    if (t & 1 && d(0, So, 1, 0, "ng-container", 28), t & 2) {
        let e = s.$implicit,
            i = s.options;
        a(2);
        let n = ie(9);
        r("ngTemplateOutlet", n)("ngTemplateOutletContext", me(2, ui, e, i))
    }
}

function Eo(t, s) {
    t & 1 && M(0)
}

function Vo(t, s) {
    if (t & 1 && d(0, Eo, 1, 0, "ng-container", 28), t & 2) {
        let e = s.options,
            i = a(4);
        r("ngTemplateOutlet", i.loaderTemplate || i._loaderTemplate)("ngTemplateOutletContext", R(2, hi, e))
    }
}

function Lo(t, s) {
    t & 1 && (z(0), d(1, Vo, 1, 4, "ng-template", null, 12, G), D())
}

function Fo(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "p-scroller", 47, 11), $("onLazyLoad", function(n) {
            y(e);
            let o = a(2);
            return v(o.onLazyLoad.emit(n))
        }), d(2, Oo, 1, 5, "ng-template", null, 2, G)(4, Lo, 3, 0, "ng-container", 18), u()
    }
    if (t & 2) {
        let e = a(2);
        Fe(R(8, Ne, e.scrollHeight)), r("items", e.visibleOptions())("itemSize", e.virtualScrollItemSize || e._itemSize)("autoSize", !0)("lazy", e.lazy)("options", e.virtualScrollOptions), c(4), r("ngIf", e.loaderTemplate || e._loaderTemplate)
    }
}

function ko(t, s) {
    t & 1 && M(0)
}

function zo(t, s) {
    if (t & 1 && (z(0), d(1, ko, 1, 0, "ng-container", 28), D()), t & 2) {
        a();
        let e = ie(9),
            i = a();
        c(), r("ngTemplateOutlet", e)("ngTemplateOutletContext", me(3, ui, i.visibleOptions(), ke(2, Kn)))
    }
}

function Do(t, s) {
    if (t & 1 && (h(0, "span"), Ce(1), u()), t & 2) {
        let e = a(2).$implicit,
            i = a(3);
        c(), He(i.getOptionGroupLabel(e.optionGroup))
    }
}

function Mo(t, s) {
    t & 1 && M(0)
}

function $o(t, s) {
    if (t & 1 && (z(0), h(1, "li", 51), d(2, Do, 2, 1, "span", 18)(3, Mo, 1, 0, "ng-container", 28), u(), D()), t & 2) {
        let e = a(),
            i = e.$implicit,
            n = e.index,
            o = a().options,
            l = a(2);
        c(), r("ngStyle", R(5, Ne, o.itemSize + "px")), b("id", l.id + "_" + l.getOptionIndex(n, o)), c(), r("ngIf", !l.groupTemplate && !l._groupTemplate), c(), r("ngTemplateOutlet", l.groupTemplate || l._groupTemplate)("ngTemplateOutletContext", R(7, ht, i.optionGroup))
    }
}

function Ro(t, s) {
    if (t & 1) {
        let e = B();
        z(0), h(1, "p-selectItem", 52), $("onClick", function(n) {
            y(e);
            let o = a().$implicit,
                l = a(3);
            return v(l.onOptionSelect(n, o))
        })("onMouseEnter", function(n) {
            y(e);
            let o = a().index,
                l = a().options,
                p = a(2);
            return v(p.onOptionMouseEnter(n, p.getOptionIndex(o, l)))
        }), u(), D()
    }
    if (t & 2) {
        let e = a(),
            i = e.$implicit,
            n = e.index,
            o = a().options,
            l = a(2);
        c(), r("id", l.id + "_" + l.getOptionIndex(n, o))("option", i)("checkmark", l.checkmark)("selected", l.isSelected(i))("label", l.getOptionLabel(i))("disabled", l.isOptionDisabled(i))("template", l.itemTemplate || l._itemTemplate)("focused", l.focusedOptionIndex() === l.getOptionIndex(n, o))("ariaPosInset", l.getAriaPosInset(l.getOptionIndex(n, o)))("ariaSetSize", l.ariaSetSize)
    }
}

function Ho(t, s) {
    if (t & 1 && d(0, $o, 4, 9, "ng-container", 18)(1, Ro, 2, 10, "ng-container", 18), t & 2) {
        let e = s.$implicit,
            i = a(3);
        r("ngIf", i.isOptionGroup(e)), c(), r("ngIf", !i.isOptionGroup(e))
    }
}

function Po(t, s) {
    if (t & 1 && Ce(0), t & 2) {
        let e = a(4);
        et(" ", e.emptyFilterMessageLabel, " ")
    }
}

function Bo(t, s) {
    t & 1 && M(0, null, 14)
}

function Ao(t, s) {
    if (t & 1 && d(0, Bo, 2, 0, "ng-container", 29), t & 2) {
        let e = a(4);
        r("ngTemplateOutlet", e.emptyFilterTemplate || e._emptyFilterTemplate || e.emptyTemplate || e._emptyTemplate)
    }
}

function Qo(t, s) {
    if (t & 1 && (h(0, "li", 53), d(1, Po, 1, 1)(2, Ao, 1, 1, "ng-container"), u()), t & 2) {
        let e = a().options,
            i = a(2);
        r("ngStyle", R(2, Ne, e.itemSize + "px")), c(), Xe(!i.emptyFilterTemplate && !i._emptyFilterTemplate && !i.emptyTemplate ? 1 : 2)
    }
}

function jo(t, s) {
    if (t & 1 && Ce(0), t & 2) {
        let e = a(4);
        et(" ", e.emptyMessageLabel, " ")
    }
}

function No(t, s) {
    t & 1 && M(0, null, 15)
}

function Ko(t, s) {
    if (t & 1 && d(0, No, 2, 0, "ng-container", 29), t & 2) {
        let e = a(4);
        r("ngTemplateOutlet", e.emptyTemplate || e._emptyTemplate)
    }
}

function Zo(t, s) {
    if (t & 1 && (h(0, "li", 53), d(1, jo, 1, 1)(2, Ko, 1, 1, "ng-container"), u()), t & 2) {
        let e = a().options,
            i = a(2);
        r("ngStyle", R(2, Ne, e.itemSize + "px")), c(), Xe(!i.emptyTemplate && !i._emptyTemplate ? 1 : 2)
    }
}

function qo(t, s) {
    if (t & 1 && (h(0, "ul", 48, 13), d(2, Ho, 2, 2, "ng-template", 49)(3, Qo, 3, 4, "li", 50)(4, Zo, 3, 4, "li", 50), u()), t & 2) {
        let e = s.$implicit,
            i = s.options,
            n = a(2);
        Fe(i.contentStyle), r("ngClass", i.contentStyleClass), b("id", n.id + "_list")("aria-label", n.listLabel), c(2), r("ngForOf", e), c(), r("ngIf", n.filterValue && n.isEmpty()), c(), r("ngIf", !n.filterValue && n.isEmpty())
    }
}

function Wo(t, s) {
    t & 1 && M(0)
}

function Go(t, s) {
    if (t & 1) {
        let e = B();
        h(0, "div", 40)(1, "span", 41, 6), $("focus", function(n) {
            y(e);
            let o = a();
            return v(o.onFirstHiddenFocus(n))
        }), u(), d(3, go, 1, 0, "ng-container", 29)(4, To, 4, 2, "div", 42), h(5, "div", 43), d(6, Fo, 5, 10, "p-scroller", 44)(7, zo, 2, 6, "ng-container", 18)(8, qo, 5, 8, "ng-template", null, 7, G), u(), d(10, Wo, 1, 0, "ng-container", 29), h(11, "span", 41, 8), $("focus", function(n) {
            y(e);
            let o = a();
            return v(o.onLastHiddenFocus(n))
        }), u()()
    }
    if (t & 2) {
        let e = a();
        V(e.panelStyleClass), r("ngClass", "p-select-overlay p-component")("ngStyle", e.panelStyle), c(), b("tabindex", 0)("data-p-hidden-accessible", !0)("data-p-hidden-focusable", !0), c(2), r("ngTemplateOutlet", e.headerTemplate || e._headerTemplate), c(), r("ngIf", e.filter), c(), We("max-height", e.virtualScroll ? "auto" : e.scrollHeight || "auto"), c(), r("ngIf", e.virtualScroll), c(), r("ngIf", !e.virtualScroll), c(3), r("ngTemplateOutlet", e.footerTemplate || e._footerTemplate), c(), b("tabindex", 0)("data-p-hidden-accessible", !0)("data-p-hidden-focusable", !0)
    }
}
var Uo = ({
        dt: t
    }) => `
.p-select {
    display: inline-flex;
    cursor: pointer;
    position: relative;
    user-select: none;
    background: ${t("select.background")};
    border: 1px solid ${t("select.border.color")};
    transition: background ${t("select.transition.duration")}, color ${t("select.transition.duration")}, border-color ${t("select.transition.duration")},
        outline-color ${t("select.transition.duration")}, box-shadow ${t("select.transition.duration")};
    border-radius: ${t("select.border.radius")};
    outline-color: transparent;
    box-shadow: ${t("select.shadow")};
}

.p-select.ng-invalid.ng-dirty {
    border-color: ${t("select.invalid.border.color")};
}

.p-select:not(.p-disabled):hover {
    border-color: ${t("select.hover.border.color")};
}

.p-select:not(.p-disabled).p-focus {
    border-color: ${t("select.focus.border.color")};
    box-shadow: ${t("select.focus.ring.shadow")};
    outline: ${t("select.focus.ring.width")} ${t("select.focus.ring.style")} ${t("select.focus.ring.color")};
    outline-offset: ${t("select.focus.ring.offset")};
}

.p-select.p-variant-filled {
    background: ${t("select.filled.background")};
}

.p-select.p-variant-filled:not(.p-disabled):hover {
    background: ${t("select.filled.hover.background")};
}

.p-select.p-variant-filled.p-focus {
    background: ${t("select.filled.focus.background")};
}

.p-select.p-disabled {
    opacity: 1;
    background: ${t("select.disabled.background")};
}

.p-select-clear-icon {
    position: absolute;
    top: 50%;
    margin-top: -0.5rem;
    color: ${t("select.clear.icon.color")};
    inset-inline-end: ${t("select.dropdown.width")};
}

.p-select-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    color: ${t("select.dropdown.color")};
    width: ${t("select.dropdown.width")};
    border-start-end-radius: ${t("select.border.radius")};
    border-end-end-radius: ${t("select.border.radius")};
}

.p-select-label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    flex: 1 1 auto;
    width: 1%;
    padding: ${t("select.padding.y")} ${t("select.padding.x")};
    text-overflow: ellipsis;
    cursor: pointer;
    color: ${t("select.color")};
    background: transparent;
    border: 0 none;
    outline: 0 none;
}

.p-select-label.p-placeholder {
    color: ${t("select.placeholder.color")};
}

.p-select.ng-invalid.ng-dirty .p-select-label.p-placeholder {
    color: ${t("select.invalid.placeholder.color")};
}

.p-select:has(.p-select-clear-icon) .p-select-label {
    padding-inline-end: calc(1rem + ${t("select.padding.x")});
}

.p-select.p-disabled .p-select-label {
    color: ${t("select.disabled.color")};
}

.p-select-label-empty {
    overflow: hidden;
    opacity: 0;
}

input.p-select-label {
    cursor: default;
}

.p-select .p-select-overlay {
    min-width: 100%;
}

.p-select-overlay {
    cursor: default;
    background: ${t("select.overlay.background")};
    color: ${t("select.overlay.color")};
    border: 1px solid ${t("select.overlay.border.color")};
    border-radius: ${t("select.overlay.border.radius")};
    box-shadow: ${t("select.overlay.shadow")};
}

.p-select-header {
    padding: ${t("select.list.header.padding")};
}

.p-select-filter {
    width: 100%;
}

.p-select-list-container {
    overflow: auto;
}

.p-select-option-group {
    cursor: auto;
    margin: 0;
    padding: ${t("select.option.group.padding")};
    background: ${t("select.option.group.background")};
    color: ${t("select.option.group.color")};
    font-weight: ${t("select.option.group.font.weight")};
}

.p-select-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    padding: ${t("select.list.padding")};
    gap: ${t("select.list.gap")};
    display: flex;
    flex-direction: column;
}

.p-select-option {
    cursor: pointer;
    font-weight: normal;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: ${t("select.option.padding")};
    border: 0 none;
    color: ${t("select.option.color")};
    background: transparent;
    transition: background ${t("select.transition.duration")}, color ${t("select.transition.duration")}, border-color ${t("select.transition.duration")},
            box-shadow ${t("select.transition.duration")}, outline-color ${t("select.transition.duration")};
    border-radius: ${t("select.option.border.radius")};
}

.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus {
    background: ${t("select.option.focus.background")};
    color: ${t("select.option.focus.color")};
}

.p-select-option.p-select-option-selected {
    background: ${t("select.option.selected.background")};
    color: ${t("select.option.selected.color")};
}

.p-select-option.p-select-option-selected.p-focus {
    background: ${t("select.option.selected.focus.background")};
    color: ${t("select.option.selected.focus.color")};
}

.p-select-option-check-icon {
    position: relative;
    margin-inline-start: ${t("select.checkmark.gutter.start")};
    margin-inline-end: ${t("select.checkmark.gutter.end")};
    color: ${t("select.checkmark.color")};
}

.p-select-empty-message {
    padding: ${t("select.empty.message.padding")};
}

.p-select-fluid {
    display: flex;
}

.p-select-sm .p-select-label {
    font-size: ${t("select.sm.font.size")};
    padding-block: ${t("select.sm.padding.y")};
    padding-inline: ${t("select.sm.padding.x")};
}

.p-select-sm .p-select-dropdown .p-icon {
    font-size: ${t("select.sm.font.size")};
    width: ${t("select.sm.font.size")};
    height: ${t("select.sm.font.size")};
}

.p-select-lg .p-select-label {
    font-size: ${t("select.lg.font.size")};
    padding-block: ${t("select.lg.padding.y")};
    padding-inline: ${t("select.lg.padding.x")};
}

.p-select-lg .p-select-dropdown .p-icon {
    font-size: ${t("select.lg.font.size")};
    width: ${t("select.lg.font.size")};
    height: ${t("select.lg.font.size")};
}
`,
    Yo = {
        root: ({
            instance: t
        }) => ["p-select p-component p-inputwrapper", {
            "p-disabled": t.disabled,
            "p-variant-filled": t.variant === "filled" || t.config.inputVariant() === "filled" || t.config.inputStyle() === "filled",
            "p-focus": t.focused,
            "p-inputwrapper-filled": t.modelValue() !== void 0 && t.modelValue() !== null,
            "p-inputwrapper-focus": t.focused || t.overlayVisible,
            "p-select-open": t.overlayVisible,
            "p-select-fluid": t.hasFluid,
            "p-select-sm p-inputfield-sm": t.size === "small",
            "p-select-lg p-inputfield-lg": t.size === "large"
        }],
        label: ({
            instance: t,
            props: s
        }) => ["p-select-label", {
            "p-placeholder": !s.editable && t.label === s.placeholder,
            "p-select-label-empty": !s.editable && !t.$slots.value && (t.label === "p-emptylabel" || t.label.length === 0)
        }],
        clearIcon: "p-select-clear-icon",
        dropdown: "p-select-dropdown",
        loadingicon: "p-select-loading-icon",
        dropdownIcon: "p-select-dropdown-icon",
        overlay: "p-select-overlay p-component",
        header: "p-select-header",
        pcFilter: "p-select-filter",
        listContainer: "p-select-list-container",
        list: "p-select-list",
        optionGroup: "p-select-option-group",
        optionGroupLabel: "p-select-option-group-label",
        option: ({
            instance: t,
            props: s,
            state: e,
            option: i,
            focusedOption: n
        }) => ["p-select-option", {
            "p-select-option-selected": t.isSelected(i) && s.highlightOnSelect,
            "p-focus": e.focusedOptionIndex === n,
            "p-disabled": t.isOptionDisabled(i)
        }],
        optionLabel: "p-select-option-label",
        optionCheckIcon: "p-select-option-check-icon",
        optionBlankIcon: "p-select-option-blank-icon",
        emptyMessage: "p-select-empty-message"
    },
    di = (() => {
        class t extends q {
            name = "select";
            theme = Uo;
            classes = Yo;
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275prov = N({
                token: t,
                factory: t.\u0275fac
            })
        }
        return t
    })();
var Jo = {
        provide: wt,
        useExisting: ut(() => mi),
        multi: !0
    },
    Xo = (() => {
        class t extends Q {
            id;
            option;
            selected;
            focused;
            label;
            disabled;
            visible;
            itemSize;
            ariaPosInset;
            ariaSetSize;
            template;
            checkmark;
            onClick = new O;
            onMouseEnter = new O;
            onOptionClick(e) {
                this.onClick.emit(e)
            }
            onOptionMouseEnter(e) {
                this.onMouseEnter.emit(e)
            }
            static\ u0275fac = (() => {
                let e;
                return function(n) {
                    return (e || (e = w(t)))(n || t)
                }
            })();
            static\ u0275cmp = k({
                type: t,
                selectors: [
                    ["p-selectItem"]
                ],
                inputs: {
                    id: "id",
                    option: "option",
                    selected: [2, "selected", "selected", _],
                    focused: [2, "focused", "focused", _],
                    label: "label",
                    disabled: [2, "disabled", "disabled", _],
                    visible: [2, "visible", "visible", _],
                    itemSize: [2, "itemSize", "itemSize", ne],
                    ariaPosInset: "ariaPosInset",
                    ariaSetSize: "ariaSetSize",
                    template: "template",
                    checkmark: [2, "checkmark", "checkmark", _]
                },
                outputs: {
                    onClick: "onClick",
                    onMouseEnter: "onMouseEnter"
                },
                features: [S],
                decls: 4,
                vars: 22,
                consts: [
                    ["role", "option", "pRipple", "", 3, "click", "mouseenter", "id", "ngStyle", "ngClass"],
                    [4, "ngIf"],
                    [4, "ngTemplateOutlet", "ngTemplateOutletContext"],
                    ["styleClass", "p-select-option-check-icon", 4, "ngIf"],
                    ["styleClass", "p-select-option-blank-icon", 4, "ngIf"],
                    ["styleClass", "p-select-option-check-icon"],
                    ["styleClass", "p-select-option-blank-icon"]
                ],
                template: function(i, n) {
                    i & 1 && (h(0, "li", 0), $("click", function(l) {
                        return n.onOptionClick(l)
                    })("mouseenter", function(l) {
                        return n.onOptionMouseEnter(l)
                    }), d(1, yn, 3, 2, "ng-container", 1)(2, vn, 2, 1, "span", 1)(3, bn, 1, 0, "ng-container", 2), u()), i & 2 && (r("id", n.id)("ngStyle", R(14, Ne, n.itemSize + "px"))("ngClass", ze(16, fn, n.selected && !n.checkmark, n.disabled, n.focused)), b("aria-label", n.label)("aria-setsize", n.ariaSetSize)("aria-posinset", n.ariaPosInset)("aria-selected", n.selected)("data-p-focused", n.focused)("data-p-highlight", n.selected)("data-p-disabled", n.disabled), c(), r("ngIf", n.checkmark), c(), r("ngIf", !n.template), c(), r("ngTemplateOutlet", n.template)("ngTemplateOutletContext", R(20, ht, n.option)))
                },
                dependencies: [oe, we, Ie, Te, xe, U, Nt, Jt, Yt],
                encapsulation: 2
            })
        }
        return t
    })(),
    mi = (() => {
        class t extends Q {
            zone;
            filterService;
            id;
            scrollHeight = "200px";
            filter;
            name;
            style;
            panelStyle;
            styleClass;
            panelStyleClass;
            readonly;
            required;
            editable;
            appendTo;
            tabindex = 0;
            set placeholder(e) {
                this._placeholder.set(e)
            }
            get placeholder() {
                return this._placeholder.asReadonly()
            }
            loadingIcon;
            filterPlaceholder;
            filterLocale;
            variant;
            inputId;
            dataKey;
            filterBy;
            filterFields;
            autofocus;
            resetFilterOnHide = !1;
            checkmark = !1;
            dropdownIcon;
            loading = !1;
            optionLabel;
            optionValue;
            optionDisabled;
            optionGroupLabel = "label";
            optionGroupChildren = "items";
            autoDisplayFirst = !0;
            group;
            showClear;
            emptyFilterMessage = "";
            emptyMessage = "";
            lazy = !1;
            virtualScroll;
            virtualScrollItemSize;
            virtualScrollOptions;
            size;
            overlayOptions;
            ariaFilterLabel;
            ariaLabel;
            ariaLabelledBy;
            filterMatchMode = "contains";
            maxlength;
            tooltip = "";
            tooltipPosition = "right";
            tooltipPositionStyle = "absolute";
            tooltipStyleClass;
            focusOnHover = !0;
            selectOnFocus = !1;
            autoOptionFocus = !1;
            autofocusFilter = !0;
            fluid;
            get disabled() {
                return this._disabled
            }
            set disabled(e) {
                e && (this.focused = !1, this.overlayVisible && this.hide()), this._disabled = e, this.cd.destroyed || this.cd.detectChanges()
            }
            get itemSize() {
                return this._itemSize
            }
            set itemSize(e) {
                this._itemSize = e, console.log("The itemSize property is deprecated, use virtualScrollItemSize property instead.")
            }
            _itemSize;
            get autoZIndex() {
                return this._autoZIndex
            }
            set autoZIndex(e) {
                this._autoZIndex = e, console.log("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")
            }
            _autoZIndex;
            get baseZIndex() {
                return this._baseZIndex
            }
            set baseZIndex(e) {
                this._baseZIndex = e, console.log("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")
            }
            _baseZIndex;
            get showTransitionOptions() {
                return this._showTransitionOptions
            }
            set showTransitionOptions(e) {
                this._showTransitionOptions = e, console.log("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")
            }
            _showTransitionOptions;
            get hideTransitionOptions() {
                return this._hideTransitionOptions
            }
            set hideTransitionOptions(e) {
                this._hideTransitionOptions = e, console.log("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")
            }
            _hideTransitionOptions;
            get filterValue() {
                return this._filterValue()
            }
            set filterValue(e) {
                setTimeout(() => {
                    this._filterValue.set(e)
                })
            }
            get options() {
                return this._options()
            }
            set options(e) {
                $t(e, this._options()) || this._options.set(e)
            }
            onChange = new O;
            onFilter = new O;
            onFocus = new O;
            onBlur = new O;
            onClick = new O;
            onShow = new O;
            onHide = new O;
            onClear = new O;
            onLazyLoad = new O;
            _componentStyle = K(di);
            filterViewChild;
            focusInputViewChild;
            editableInputViewChild;
            itemsViewChild;
            scroller;
            overlayViewChild;
            firstHiddenFocusableElementOnOverlay;
            lastHiddenFocusableElementOnOverlay;
            get hasFluid() {
                let i = this.el.nativeElement.closest("p-fluid");
                return this.fluid || !!i
            }
            get hostClass() {
                return this._componentStyle.classes.root({
                    instance: this
                }).map(i => typeof i == "string" ? i : Object.keys(i).filter(n => i[n]).join(" ")).join(" ") + " " + this.styleClass
            }
            get hostStyle() {
                return this.style
            }
            _disabled;
            itemsWrapper;
            itemTemplate;
            groupTemplate;
            loaderTemplate;
            selectedItemTemplate;
            headerTemplate;
            filterTemplate;
            footerTemplate;
            emptyFilterTemplate;
            emptyTemplate;
            dropdownIconTemplate;
            loadingIconTemplate;
            clearIconTemplate;
            filterIconTemplate;
            onIconTemplate;
            offIconTemplate;
            cancelIconTemplate;
            templates;
            _itemTemplate;
            _selectedItemTemplate;
            _headerTemplate;
            _filterTemplate;
            _footerTemplate;
            _emptyFilterTemplate;
            _emptyTemplate;
            _groupTemplate;
            _loaderTemplate;
            _dropdownIconTemplate;
            _loadingIconTemplate;
            _clearIconTemplate;
            _filterIconTemplate;
            _cancelIconTemplate;
            _onIconTemplate;
            _offIconTemplate;
            filterOptions;
            _options = be(null);
            _placeholder = be(void 0);
            modelValue = be(null);
            value;
            onModelChange = () => {};
            onModelTouched = () => {};
            hover;
            focused;
            overlayVisible;
            optionsChanged;
            panel;
            dimensionsUpdated;
            hoveredItem;
            selectedOptionUpdated;
            _filterValue = be(null);
            searchValue;
            searchIndex;
            searchTimeout;
            previousSearchChar;
            currentSearchChar;
            preventModelTouched;
            focusedOptionIndex = be(-1);
            labelId;
            listId;
            clicked = be(!1);
            get emptyMessageLabel() {
                return this.emptyMessage || this.config.getTranslation(Ye.EMPTY_MESSAGE)
            }
            get emptyFilterMessageLabel() {
                return this.emptyFilterMessage || this.config.getTranslation(Ye.EMPTY_FILTER_MESSAGE)
            }
            get isVisibleClearIcon() {
                return this.modelValue() != null && this.hasSelectedOption() && this.showClear && !this.disabled
            }
            get listLabel() {
                return this.config.getTranslation(Ye.ARIA).listLabel
            }
            get rootClass() {
                return this._componentStyle.classes.root({
                    instance: this
                })
            }
            get inputClass() {
                let e = this.label();
                return {
                    "p-select-label": !0,
                    "p-placeholder": this.placeholder() && e === this.placeholder(),
                    "p-select-label-empty": !this.editable && !this.selectedItemTemplate && (e == null || e === "p-emptylabel" || e.length === 0)
                }
            }
            get panelClass() {
                return {
                    "p-dropdown-panel p-component": !0,
                    "p-input-filled": this.config.inputStyle() === "filled" || this.config.inputVariant() === "filled",
                    "p-ripple-disabled": this.config.ripple() === !1
                }
            }
            get focusedOptionId() {
                return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null
            }
            visibleOptions = Pe(() => {
                let e = this.getAllVisibleAndNonVisibleOptions();
                if (this._filterValue()) {
                    let n = !(this.filterBy || this.optionLabel) && !this.filterFields && !this.optionValue ? this.options.filter(o => o.label ? o.label.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim()) !== -1 : o.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim()) !== -1) : this.filterService.filter(e, this.searchFields(), this._filterValue().trim(), this.filterMatchMode, this.filterLocale);
                    if (this.group) {
                        let o = this.options || [],
                            l = [];
                        return o.forEach(p => {
                            let T = this.getOptionGroupChildren(p).filter(x => n.includes(x));
                            T.length > 0 && l.push(Re(P({}, p), {
                                [typeof this.optionGroupChildren == "string" ? this.optionGroupChildren : "items"]: [...T]
                            }))
                        }), this.flatOptions(l)
                    }
                    return n
                }
                return e
            });
            label = Pe(() => {
                let e = this.getAllVisibleAndNonVisibleOptions(),
                    i = e.findIndex(n => this.isOptionValueEqualsModelValue(n));
                return i !== -1 ? this.getOptionLabel(e[i]) : this.placeholder() || "p-emptylabel"
            });
            filled = Pe(() => typeof this.modelValue() == "string" ? !!this.modelValue() : this.label() !== "p-emptylabel" && this.modelValue() !== void 0 && this.modelValue() !== null);
            selectedOption;
            editableInputValue = Pe(() => this.getOptionLabel(this.selectedOption) || this.modelValue() || "");
            constructor(e, i) {
                super(), this.zone = e, this.filterService = i, bt(() => {
                    let n = this.modelValue(),
                        o = this.visibleOptions();
                    if (o && Ue(o)) {
                        let l = this.findSelectedOptionIndex();
                        (l !== -1 || n === void 0 || typeof n == "string" && n.length === 0 || this.isModelValueNotSet() || this.editable) && (this.selectedOption = o[l])
                    }
                    Ae(o) && (n === void 0 || this.isModelValueNotSet()) && Ue(this.selectedOption) && (this.selectedOption = null), n !== void 0 && this.editable && this.updateEditableLabel(), this.cd.markForCheck()
                })
            }
            isModelValueNotSet() {
                return this.modelValue() === null && !this.isOptionValueEqualsModelValue(this.selectedOption)
            }
            getAllVisibleAndNonVisibleOptions() {
                return this.group ? this.flatOptions(this.options) : this.options || []
            }
            ngOnInit() {
                super.ngOnInit(), this.id = this.id || Me("pn_id_"), this.autoUpdateModel(), this.filterBy && (this.filterOptions = {
                    filter: e => this.onFilterInputChange(e),
                    reset: () => this.resetFilter()
                })
            }
            ngAfterContentInit() {
                this.templates.forEach(e => {
                    switch (e.getType()) {
                        case "item":
                            this._itemTemplate = e.template;
                            break;
                        case "selectedItem":
                            this._selectedItemTemplate = e.template;
                            break;
                        case "header":
                            this._headerTemplate = e.template;
                            break;
                        case "filter":
                            this._filterTemplate = e.template;
                            break;
                        case "footer":
                            this._footerTemplate = e.template;
                            break;
                        case "emptyfilter":
                            this._emptyFilterTemplate = e.template;
                            break;
                        case "empty":
                            this._emptyTemplate = e.template;
                            break;
                        case "group":
                            this._groupTemplate = e.template;
                            break;
                        case "loader":
                            this._loaderTemplate = e.template;
                            break;
                        case "dropdownicon":
                            this._dropdownIconTemplate = e.template;
                            break;
                        case "loadingicon":
                            this._loadingIconTemplate = e.template;
                            break;
                        case "clearicon":
                            this._clearIconTemplate = e.template;
                            break;
                        case "filtericon":
                            this._filterIconTemplate = e.template;
                            break;
                        case "cancelicon":
                            this._cancelIconTemplate = e.template;
                            break;
                        case "onicon":
                            this._onIconTemplate = e.template;
                            break;
                        case "officon":
                            this._offIconTemplate = e.template;
                            break;
                        default:
                            this._itemTemplate = e.template;
                            break
                    }
                })
            }
            ngAfterViewChecked() {
                if (this.optionsChanged && this.overlayVisible && (this.optionsChanged = !1, this.zone.runOutsideAngular(() => {
                        setTimeout(() => {
                            this.overlayViewChild && this.overlayViewChild.alignOverlay()
                        }, 1)
                    })), this.selectedOptionUpdated && this.itemsWrapper) {
                    let e = le(this.overlayViewChild ? .overlayViewChild ? .nativeElement, "li.p-select-option-selected");
                    e && Mt(this.itemsWrapper, e), this.selectedOptionUpdated = !1
                }
            }
            flatOptions(e) {
                return (e || []).reduce((i, n, o) => {
                    i.push({
                        optionGroup: n,
                        group: !0,
                        index: o
                    });
                    let l = this.getOptionGroupChildren(n);
                    return l && l.forEach(p => i.push(p)), i
                }, [])
            }
            autoUpdateModel() {
                if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption() && (this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()), this.onOptionSelect(null, this.visibleOptions()[this.focusedOptionIndex()], !1)), this.autoDisplayFirst && (this.modelValue() === null || this.modelValue() === void 0) && !this.placeholder()) {
                    let e = this.findFirstOptionIndex();
                    this.onOptionSelect(null, this.visibleOptions()[e], !1, !0)
                }
            }
            onOptionSelect(e, i, n = !0, o = !1) {
                if (!this.isSelected(i)) {
                    let l = this.getOptionValue(i);
                    this.updateModel(l, e), this.focusedOptionIndex.set(this.findSelectedOptionIndex()), o === !1 && this.onChange.emit({
                        originalEvent: e,
                        value: l
                    })
                }
                n && this.hide(!0)
            }
            onOptionMouseEnter(e, i) {
                this.focusOnHover && this.changeFocusedOptionIndex(e, i)
            }
            updateModel(e, i) {
                this.value = e, this.onModelChange(e), this.modelValue.set(e), this.selectedOptionUpdated = !0
            }
            writeValue(e) {
                this.filter && this.resetFilter(), this.value = e, this.allowModelChange() && this.onModelChange(e), this.modelValue.set(this.value), this.updateEditableLabel(), this.cd.markForCheck()
            }
            allowModelChange() {
                return !!this.modelValue() && !this.placeholder() && (this.modelValue() === void 0 || this.modelValue() === null) && !this.editable && this.options && this.options.length
            }
            isSelected(e) {
                return this.isOptionValueEqualsModelValue(e)
            }
            isOptionValueEqualsModelValue(e) {
                return this.isValidOption(e) && Rt(this.modelValue(), this.getOptionValue(e), this.equalityKey())
            }
            ngAfterViewInit() {
                super.ngAfterViewInit(), this.editable && this.updateEditableLabel(), this.updatePlaceHolderForFloatingLabel()
            }
            updatePlaceHolderForFloatingLabel() {
                let e = this.el.nativeElement.parentElement,
                    i = e ? .classList.contains("p-float-label");
                if (e && i && !this.selectedOption) {
                    let n = e.querySelector("label");
                    n && this._placeholder.set(n.textContent)
                }
            }
            updateEditableLabel() {
                this.editableInputViewChild && (this.editableInputViewChild.nativeElement.value = this.getOptionLabel(this.selectedOption) || this.modelValue() || "")
            }
            clearEditableLabel() {
                this.editableInputViewChild && (this.editableInputViewChild.nativeElement.value = "")
            }
            getOptionIndex(e, i) {
                return this.virtualScrollerDisabled ? e : i && i.getItemOptions(e).index
            }
            getOptionLabel(e) {
                return this.optionLabel !== void 0 && this.optionLabel !== null ? De(e, this.optionLabel) : e && e.label !== void 0 ? e.label : e
            }
            getOptionValue(e) {
                return this.optionValue && this.optionValue !== null ? De(e, this.optionValue) : !this.optionLabel && e && e.value !== void 0 ? e.value : e
            }
            isSelectedOptionEmpty() {
                return Ae(this.selectedOption)
            }
            isOptionDisabled(e) {
                return this.getOptionValue(this.modelValue()) === this.getOptionValue(e) || this.getOptionLabel(this.modelValue() === this.getOptionLabel(e)) && e.disabled === !1 ? !1 : this.optionDisabled ? De(e, this.optionDisabled) : e && e.disabled !== void 0 ? e.disabled : !1
            }
            getOptionGroupLabel(e) {
                return this.optionGroupLabel !== void 0 && this.optionGroupLabel !== null ? De(e, this.optionGroupLabel) : e && e.label !== void 0 ? e.label : e
            }
            getOptionGroupChildren(e) {
                return this.optionGroupChildren !== void 0 && this.optionGroupChildren !== null ? De(e, this.optionGroupChildren) : e.items
            }
            getAriaPosInset(e) {
                return (this.optionGroupLabel ? e - this.visibleOptions().slice(0, e).filter(i => this.isOptionGroup(i)).length : e) + 1
            }
            get ariaSetSize() {
                return this.visibleOptions().filter(e => !this.isOptionGroup(e)).length
            }
            resetFilter() {
                this._filterValue.set(null), this.filterViewChild && this.filterViewChild.nativeElement && (this.filterViewChild.nativeElement.value = "")
            }
            registerOnChange(e) {
                this.onModelChange = e
            }
            registerOnTouched(e) {
                this.onModelTouched = e
            }
            setDisabledState(e) {
                this.disabled = e, this.cd.markForCheck()
            }
            onContainerClick(e) {
                this.disabled || this.readonly || this.loading || (this.focusInputViewChild ? .nativeElement.focus({
                    preventScroll: !0
                }), !(e.target.tagName === "INPUT" || e.target.getAttribute("data-pc-section") === "clearicon" || e.target.closest('[data-pc-section="clearicon"]')) && ((!this.overlayViewChild || !this.overlayViewChild.el.nativeElement.contains(e.target)) && (this.overlayVisible ? this.hide(!0) : this.show(!0)), this.onClick.emit(e), this.clicked.set(!0), this.cd.detectChanges()))
            }
            isEmpty() {
                return !this._options() || this.visibleOptions() && this.visibleOptions().length === 0
            }
            onEditableInput(e) {
                let i = e.target.value;
                this.searchValue = "", !this.searchOptions(e, i) && this.focusedOptionIndex.set(-1), this.onModelChange(i), this.updateModel(i || null, e), setTimeout(() => {
                    this.onChange.emit({
                        originalEvent: e,
                        value: i
                    })
                }, 1), !this.overlayVisible && Ue(i) && this.show()
            }
            show(e) {
                this.overlayVisible = !0, this.focusedOptionIndex.set(this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex()), e && se(this.focusInputViewChild ? .nativeElement), this.cd.markForCheck()
            }
            onOverlayAnimationStart(e) {
                if (e.toState === "visible") {
                    if (this.itemsWrapper = le(this.overlayViewChild ? .overlayViewChild ? .nativeElement, this.virtualScroll ? ".p-scroller" : ".p-select-list-container"), this.virtualScroll && this.scroller ? .setContentEl(this.itemsViewChild ? .nativeElement), this.options && this.options.length)
                        if (this.virtualScroll) {
                            let i = this.modelValue() ? this.focusedOptionIndex() : -1;
                            i !== -1 && this.scroller ? .scrollToIndex(i)
                        } else {
                            let i = le(this.itemsWrapper, ".p-select-option.p-select-option-selected");
                            i && i.scrollIntoView({
                                block: "nearest",
                                inline: "nearest"
                            })
                        }
                    this.filterViewChild && this.filterViewChild.nativeElement && (this.preventModelTouched = !0, this.autofocusFilter && !this.editable && this.filterViewChild.nativeElement.focus()), this.onShow.emit(e)
                }
                e.toState === "void" && (this.itemsWrapper = null, this.onModelTouched(), this.onHide.emit(e))
            }
            hide(e) {
                this.overlayVisible = !1, this.focusedOptionIndex.set(-1), this.clicked.set(!1), this.searchValue = "", this.overlayOptions ? .mode === "modal" && Tt(), this.filter && this.resetFilterOnHide && this.resetFilter(), e && (this.focusInputViewChild && se(this.focusInputViewChild ? .nativeElement), this.editable && this.editableInputViewChild && se(this.editableInputViewChild ? .nativeElement)), this.cd.markForCheck()
            }
            onInputFocus(e) {
                if (this.disabled) return;
                this.focused = !0;
                let i = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
                this.focusedOptionIndex.set(i), this.overlayVisible && this.scrollInView(this.focusedOptionIndex()), this.onFocus.emit(e)
            }
            onInputBlur(e) {
                this.focused = !1, this.onBlur.emit(e), this.preventModelTouched || this.onModelTouched(), this.preventModelTouched = !1
            }
            onKeyDown(e, i = !1) {
                if (!(this.disabled || this.readonly || this.loading)) {
                    switch (e.code) {
                        case "ArrowDown":
                            this.onArrowDownKey(e);
                            break;
                        case "ArrowUp":
                            this.onArrowUpKey(e, this.editable);
                            break;
                        case "ArrowLeft":
                        case "ArrowRight":
                            this.onArrowLeftKey(e, this.editable);
                            break;
                        case "Delete":
                            this.onDeleteKey(e);
                            break;
                        case "Home":
                            this.onHomeKey(e, this.editable);
                            break;
                        case "End":
                            this.onEndKey(e, this.editable);
                            break;
                        case "PageDown":
                            this.onPageDownKey(e);
                            break;
                        case "PageUp":
                            this.onPageUpKey(e);
                            break;
                        case "Space":
                            this.onSpaceKey(e, i);
                            break;
                        case "Enter":
                        case "NumpadEnter":
                            this.onEnterKey(e);
                            break;
                        case "Escape":
                            this.onEscapeKey(e);
                            break;
                        case "Tab":
                            this.onTabKey(e);
                            break;
                        case "Backspace":
                            this.onBackspaceKey(e, this.editable);
                            break;
                        case "ShiftLeft":
                        case "ShiftRight":
                            break;
                        default:
                            !e.metaKey && Ht(e.key) && (!this.overlayVisible && this.show(), !this.editable && this.searchOptions(e, e.key));
                            break
                    }
                    this.clicked.set(!1)
                }
            }
            onFilterKeyDown(e) {
                switch (e.code) {
                    case "ArrowDown":
                        this.onArrowDownKey(e);
                        break;
                    case "ArrowUp":
                        this.onArrowUpKey(e, !0);
                        break;
                    case "ArrowLeft":
                    case "ArrowRight":
                        this.onArrowLeftKey(e, !0);
                        break;
                    case "Home":
                        this.onHomeKey(e, !0);
                        break;
                    case "End":
                        this.onEndKey(e, !0);
                        break;
                    case "Enter":
                    case "NumpadEnter":
                        this.onEnterKey(e, !0);
                        break;
                    case "Escape":
                        this.onEscapeKey(e);
                        break;
                    case "Tab":
                        this.onTabKey(e, !0);
                        break;
                    default:
                        break
                }
            }
            onFilterBlur(e) {
                this.focusedOptionIndex.set(-1)
            }
            onArrowDownKey(e) {
                if (!this.overlayVisible) this.show(), this.editable && this.changeFocusedOptionIndex(e, this.findSelectedOptionIndex());
                else {
                    let i = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.clicked() ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
                    this.changeFocusedOptionIndex(e, i)
                }
                e.preventDefault(), e.stopPropagation()
            }
            changeFocusedOptionIndex(e, i) {
                if (this.focusedOptionIndex() !== i && (this.focusedOptionIndex.set(i), this.scrollInView(), this.selectOnFocus)) {
                    let n = this.visibleOptions()[i];
                    this.onOptionSelect(e, n, !1)
                }
            }
            get virtualScrollerDisabled() {
                return !this.virtualScroll
            }
            scrollInView(e = -1) {
                let i = e !== -1 ? `${this.id}_${e}` : this.focusedOptionId;
                if (this.itemsViewChild && this.itemsViewChild.nativeElement) {
                    let n = le(this.itemsViewChild.nativeElement, `li[id="${i}"]`);
                    n ? n.scrollIntoView && n.scrollIntoView({
                        block: "nearest",
                        inline: "nearest"
                    }) : this.virtualScrollerDisabled || setTimeout(() => {
                        this.virtualScroll && this.scroller ? .scrollToIndex(e !== -1 ? e : this.focusedOptionIndex())
                    }, 0)
                }
            }
            hasSelectedOption() {
                return this.modelValue() !== void 0
            }
            isValidSelectedOption(e) {
                return this.isValidOption(e) && this.isSelected(e)
            }
            equalityKey() {
                return this.optionValue ? null : this.dataKey
            }
            findFirstFocusedOptionIndex() {
                let e = this.findSelectedOptionIndex();
                return e < 0 ? this.findFirstOptionIndex() : e
            }
            findFirstOptionIndex() {
                return this.visibleOptions().findIndex(e => this.isValidOption(e))
            }
            findSelectedOptionIndex() {
                return this.hasSelectedOption() ? this.visibleOptions().findIndex(e => this.isValidSelectedOption(e)) : -1
            }
            findNextOptionIndex(e) {
                let i = e < this.visibleOptions().length - 1 ? this.visibleOptions().slice(e + 1).findIndex(n => this.isValidOption(n)) : -1;
                return i > -1 ? i + e + 1 : e
            }
            findPrevOptionIndex(e) {
                let i = e > 0 ? ct(this.visibleOptions().slice(0, e), n => this.isValidOption(n)) : -1;
                return i > -1 ? i : e
            }
            findLastOptionIndex() {
                return ct(this.visibleOptions(), e => this.isValidOption(e))
            }
            findLastFocusedOptionIndex() {
                let e = this.findSelectedOptionIndex();
                return e < 0 ? this.findLastOptionIndex() : e
            }
            isValidOption(e) {
                return e != null && !(this.isOptionDisabled(e) || this.isOptionGroup(e))
            }
            isOptionGroup(e) {
                return this.optionGroupLabel !== void 0 && this.optionGroupLabel !== null && e.optionGroup !== void 0 && e.optionGroup !== null && e.group
            }
            onArrowUpKey(e, i = !1) {
                if (e.altKey && !i) {
                    if (this.focusedOptionIndex() !== -1) {
                        let n = this.visibleOptions()[this.focusedOptionIndex()];
                        this.onOptionSelect(e, n)
                    }
                    this.overlayVisible && this.hide()
                } else {
                    let n = this.focusedOptionIndex() !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex()) : this.clicked() ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
                    this.changeFocusedOptionIndex(e, n), !this.overlayVisible && this.show()
                }
                e.preventDefault(), e.stopPropagation()
            }
            onArrowLeftKey(e, i = !1) {
                i && this.focusedOptionIndex.set(-1)
            }
            onDeleteKey(e) {
                this.showClear && (this.clear(e), e.preventDefault())
            }
            onHomeKey(e, i = !1) {
                if (i) {
                    let n = e.currentTarget;
                    e.shiftKey ? n.setSelectionRange(0, n.value.length) : (n.setSelectionRange(0, 0), this.focusedOptionIndex.set(-1))
                } else this.changeFocusedOptionIndex(e, this.findFirstOptionIndex()), !this.overlayVisible && this.show();
                e.preventDefault()
            }
            onEndKey(e, i = !1) {
                if (i) {
                    let n = e.currentTarget;
                    if (e.shiftKey) n.setSelectionRange(0, n.value.length);
                    else {
                        let o = n.value.length;
                        n.setSelectionRange(o, o), this.focusedOptionIndex.set(-1)
                    }
                } else this.changeFocusedOptionIndex(e, this.findLastOptionIndex()), !this.overlayVisible && this.show();
                e.preventDefault()
            }
            onPageDownKey(e) {
                this.scrollInView(this.visibleOptions().length - 1), e.preventDefault()
            }
            onPageUpKey(e) {
                this.scrollInView(0), e.preventDefault()
            }
            onSpaceKey(e, i = !1) {
                !this.editable && !i && this.onEnterKey(e)
            }
            onEnterKey(e, i = !1) {
                if (!this.overlayVisible) this.focusedOptionIndex.set(-1), this.onArrowDownKey(e);
                else {
                    if (this.focusedOptionIndex() !== -1) {
                        let n = this.visibleOptions()[this.focusedOptionIndex()];
                        this.onOptionSelect(e, n)
                    }!i && this.hide()
                }
                e.preventDefault()
            }
            onEscapeKey(e) {
                this.overlayVisible && this.hide(!0), e.preventDefault(), e.stopPropagation()
            }
            onTabKey(e, i = !1) {
                if (!i)
                    if (this.overlayVisible && this.hasFocusableElements()) se(e.shiftKey ? this.lastHiddenFocusableElementOnOverlay.nativeElement : this.firstHiddenFocusableElementOnOverlay.nativeElement), e.preventDefault();
                    else {
                        if (this.focusedOptionIndex() !== -1 && this.overlayVisible) {
                            let n = this.visibleOptions()[this.focusedOptionIndex()];
                            this.onOptionSelect(e, n)
                        }
                        this.overlayVisible && this.hide(this.filter)
                    }
                e.stopPropagation()
            }
            onFirstHiddenFocus(e) {
                let i = e.relatedTarget === this.focusInputViewChild ? .nativeElement ? Ft(this.overlayViewChild.el ? .nativeElement, ":not(.p-hidden-focusable)") : this.focusInputViewChild ? .nativeElement;
                se(i)
            }
            onLastHiddenFocus(e) {
                let i = e.relatedTarget === this.focusInputViewChild ? .nativeElement ? kt(this.overlayViewChild ? .overlayViewChild ? .nativeElement, ':not([data-p-hidden-focusable="true"])') : this.focusInputViewChild ? .nativeElement;
                se(i)
            }
            hasFocusableElements() {
                return Lt(this.overlayViewChild.overlayViewChild.nativeElement, ':not([data-p-hidden-focusable="true"])').length > 0
            }
            onBackspaceKey(e, i = !1) {
                i && !this.overlayVisible && this.show()
            }
            searchFields() {
                return this.filterBy ? .split(",") || this.filterFields || [this.optionLabel]
            }
            searchOptions(e, i) {
                this.searchValue = (this.searchValue || "") + i;
                let n = -1,
                    o = !1;
                return n = this.visibleOptions().findIndex(l => this.isOptionMatched(l)), n !== -1 && (o = !0), n === -1 && this.focusedOptionIndex() === -1 && (n = this.findFirstFocusedOptionIndex()), n !== -1 && setTimeout(() => {
                    this.changeFocusedOptionIndex(e, n)
                }), this.searchTimeout && clearTimeout(this.searchTimeout), this.searchTimeout = setTimeout(() => {
                    this.searchValue = "", this.searchTimeout = null
                }, 500), o
            }
            isOptionMatched(e) {
                return this.isValidOption(e) && this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))
            }
            onFilterInputChange(e) {
                let i = e.target.value;
                this._filterValue.set(i), this.focusedOptionIndex.set(-1), this.onFilter.emit({
                    originalEvent: e,
                    filter: this._filterValue()
                }), !this.virtualScrollerDisabled && this.scroller.scrollToIndex(0), setTimeout(() => {
                    this.overlayViewChild.alignOverlay()
                }), this.cd.markForCheck()
            }
            applyFocus() {
                this.editable ? le(this.el.nativeElement, ".p-dropdown-label.p-inputtext").focus() : se(this.focusInputViewChild ? .nativeElement)
            }
            focus() {
                this.applyFocus()
            }
            clear(e) {
                this.updateModel(null, e), this.clearEditableLabel(), this.onModelTouched(), this.onChange.emit({
                    originalEvent: e,
                    value: this.value
                }), this.onClear.emit(e), this.resetFilter()
            }
            static\ u0275fac = function(i) {
                return new(i || t)(W(de), W(Pt))
            };
            static\ u0275cmp = k({
                type: t,
                selectors: [
                    ["p-select"]
                ],
                contentQueries: function(i, n, o) {
                    if (i & 1 && (I(o, Cn, 4), I(o, wn, 4), I(o, In, 4), I(o, xn, 4), I(o, Tn, 4), I(o, pi, 4), I(o, Sn, 4), I(o, On, 4), I(o, En, 4), I(o, Vn, 4), I(o, Ln, 4), I(o, Fn, 4), I(o, kn, 4), I(o, zn, 4), I(o, Dn, 4), I(o, Mn, 4), I(o, $e, 4)), i & 2) {
                        let l;
                        m(l = f()) && (n.itemTemplate = l.first), m(l = f()) && (n.groupTemplate = l.first), m(l = f()) && (n.loaderTemplate = l.first), m(l = f()) && (n.selectedItemTemplate = l.first), m(l = f()) && (n.headerTemplate = l.first), m(l = f()) && (n.filterTemplate = l.first), m(l = f()) && (n.footerTemplate = l.first), m(l = f()) && (n.emptyFilterTemplate = l.first), m(l = f()) && (n.emptyTemplate = l.first), m(l = f()) && (n.dropdownIconTemplate = l.first), m(l = f()) && (n.loadingIconTemplate = l.first), m(l = f()) && (n.clearIconTemplate = l.first), m(l = f()) && (n.filterIconTemplate = l.first), m(l = f()) && (n.onIconTemplate = l.first), m(l = f()) && (n.offIconTemplate = l.first), m(l = f()) && (n.cancelIconTemplate = l.first), m(l = f()) && (n.templates = l)
                    }
                },
                viewQuery: function(i, n) {
                    if (i & 1 && (A(pi, 5), A($n, 5), A(Rn, 5), A(Hn, 5), A(Pn, 5), A(Bn, 5), A(An, 5), A(Qn, 5)), i & 2) {
                        let o;
                        m(o = f()) && (n.filterViewChild = o.first), m(o = f()) && (n.focusInputViewChild = o.first), m(o = f()) && (n.editableInputViewChild = o.first), m(o = f()) && (n.itemsViewChild = o.first), m(o = f()) && (n.scroller = o.first), m(o = f()) && (n.overlayViewChild = o.first), m(o = f()) && (n.firstHiddenFocusableElementOnOverlay = o.first), m(o = f()) && (n.lastHiddenFocusableElementOnOverlay = o.first)
                    }
                },
                hostVars: 5,
                hostBindings: function(i, n) {
                    i & 1 && $("click", function(l) {
                        return n.onContainerClick(l)
                    }), i & 2 && (b("id", n.id), Fe(n.hostStyle), V(n.hostClass))
                },
                inputs: {
                    id: "id",
                    scrollHeight: "scrollHeight",
                    filter: [2, "filter", "filter", _],
                    name: "name",
                    style: "style",
                    panelStyle: "panelStyle",
                    styleClass: "styleClass",
                    panelStyleClass: "panelStyleClass",
                    readonly: [2, "readonly", "readonly", _],
                    required: [2, "required", "required", _],
                    editable: [2, "editable", "editable", _],
                    appendTo: "appendTo",
                    tabindex: [2, "tabindex", "tabindex", ne],
                    placeholder: "placeholder",
                    loadingIcon: "loadingIcon",
                    filterPlaceholder: "filterPlaceholder",
                    filterLocale: "filterLocale",
                    variant: "variant",
                    inputId: "inputId",
                    dataKey: "dataKey",
                    filterBy: "filterBy",
                    filterFields: "filterFields",
                    autofocus: [2, "autofocus", "autofocus", _],
                    resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", _],
                    checkmark: [2, "checkmark", "checkmark", _],
                    dropdownIcon: "dropdownIcon",
                    loading: [2, "loading", "loading", _],
                    optionLabel: "optionLabel",
                    optionValue: "optionValue",
                    optionDisabled: "optionDisabled",
                    optionGroupLabel: "optionGroupLabel",
                    optionGroupChildren: "optionGroupChildren",
                    autoDisplayFirst: [2, "autoDisplayFirst", "autoDisplayFirst", _],
                    group: [2, "group", "group", _],
                    showClear: [2, "showClear", "showClear", _],
                    emptyFilterMessage: "emptyFilterMessage",
                    emptyMessage: "emptyMessage",
                    lazy: [2, "lazy", "lazy", _],
                    virtualScroll: [2, "virtualScroll", "virtualScroll", _],
                    virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", ne],
                    virtualScrollOptions: "virtualScrollOptions",
                    size: "size",
                    overlayOptions: "overlayOptions",
                    ariaFilterLabel: "ariaFilterLabel",
                    ariaLabel: "ariaLabel",
                    ariaLabelledBy: "ariaLabelledBy",
                    filterMatchMode: "filterMatchMode",
                    maxlength: [2, "maxlength", "maxlength", ne],
                    tooltip: "tooltip",
                    tooltipPosition: "tooltipPosition",
                    tooltipPositionStyle: "tooltipPositionStyle",
                    tooltipStyleClass: "tooltipStyleClass",
                    focusOnHover: [2, "focusOnHover", "focusOnHover", _],
                    selectOnFocus: [2, "selectOnFocus", "selectOnFocus", _],
                    autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", _],
                    autofocusFilter: [2, "autofocusFilter", "autofocusFilter", _],
                    fluid: [2, "fluid", "fluid", _],
                    disabled: "disabled",
                    itemSize: "itemSize",
                    autoZIndex: "autoZIndex",
                    baseZIndex: "baseZIndex",
                    showTransitionOptions: "showTransitionOptions",
                    hideTransitionOptions: "hideTransitionOptions",
                    filterValue: "filterValue",
                    options: "options"
                },
                outputs: {
                    onChange: "onChange",
                    onFilter: "onFilter",
                    onFocus: "onFocus",
                    onBlur: "onBlur",
                    onClick: "onClick",
                    onShow: "onShow",
                    onHide: "onHide",
                    onClear: "onClear",
                    onLazyLoad: "onLazyLoad"
                },
                features: [Z([Jo, di]), S],
                decls: 11,
                vars: 15,
                consts: [
                    ["elseBlock", ""],
                    ["overlay", ""],
                    ["content", ""],
                    ["focusInput", ""],
                    ["defaultPlaceholder", ""],
                    ["editableInput", ""],
                    ["firstHiddenFocusableEl", ""],
                    ["buildInItems", ""],
                    ["lastHiddenFocusableEl", ""],
                    ["builtInFilterElement", ""],
                    ["filter", ""],
                    ["scroller", ""],
                    ["loader", ""],
                    ["items", ""],
                    ["emptyFilter", ""],
                    ["empty", ""],
                    ["role", "combobox", 3, "ngClass", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus", "focus", "blur", "keydown", 4, "ngIf"],
                    ["type", "text", "aria-haspopup", "listbox", 3, "ngClass", "disabled", "pAutoFocus", "input", "keydown", "focus", "blur", 4, "ngIf"],
                    [4, "ngIf"],
                    ["role", "button", "aria-label", "dropdown trigger", "aria-haspopup", "listbox", 1, "p-select-dropdown"],
                    [4, "ngIf", "ngIfElse"],
                    [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"],
                    ["role", "combobox", 3, "focus", "blur", "keydown", "ngClass", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus"],
                    [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"],
                    [3, "ngTemplateOutlet", "ngTemplateOutletContext"],
                    ["type", "text", "aria-haspopup", "listbox", 3, "input", "keydown", "focus", "blur", "ngClass", "disabled", "pAutoFocus"],
                    ["class", "p-select-clear-icon", 3, "click", 4, "ngIf"],
                    [1, "p-select-clear-icon", 3, "click"],
                    [4, "ngTemplateOutlet", "ngTemplateOutletContext"],
                    [4, "ngTemplateOutlet"],
                    ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"],
                    ["aria-hidden", "true", 3, "class", 4, "ngIf"],
                    ["aria-hidden", "true", 3, "ngClass"],
                    ["aria-hidden", "true"],
                    ["class", "p-select-dropdown-icon", 4, "ngIf"],
                    ["class", "p-select-dropdown-icon", 3, "ngClass", 4, "ngIf"],
                    [3, "styleClass", 4, "ngIf"],
                    [1, "p-select-dropdown-icon", 3, "ngClass"],
                    [3, "styleClass"],
                    [1, "p-select-dropdown-icon"],
                    [3, "ngClass", "ngStyle"],
                    ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus"],
                    ["class", "p-select-header", 3, "click", 4, "ngIf"],
                    [1, "p-select-list-container"],
                    [3, "items", "style", "itemSize", "autoSize", "lazy", "options", "onLazyLoad", 4, "ngIf"],
                    [1, "p-select-header", 3, "click"],
                    ["pInputText", "", "type", "text", "role", "searchbox", "autocomplete", "off", 1, "p-select-filter", 3, "input", "keydown", "blur", "pSize", "value", "variant"],
                    [3, "onLazyLoad", "items", "itemSize", "autoSize", "lazy", "options"],
                    ["role", "listbox", 1, "p-select-list", 3, "ngClass"],
                    ["ngFor", "", 3, "ngForOf"],
                    ["class", "p-select-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"],
                    ["role", "option", 1, "p-select-option-group", 3, "ngStyle"],
                    [3, "onClick", "onMouseEnter", "id", "option", "checkmark", "selected", "label", "disabled", "template", "focused", "ariaPosInset", "ariaSetSize"],
                    ["role", "option", 1, "p-select-empty-message", 3, "ngStyle"]
                ],
                template: function(i, n) {
                    if (i & 1) {
                        let o = B();
                        d(0, Un, 6, 20, "span", 16)(1, Yn, 2, 8, "input", 17)(2, io, 3, 2, "ng-container", 18), h(3, "div", 19), d(4, ao, 3, 2, "ng-container", 20)(5, _o, 2, 2, "ng-template", null, 0, G), u(), h(7, "p-overlay", 21, 1), yt("visibleChange", function(p) {
                            return y(o), gt(n.overlayVisible, p) || (n.overlayVisible = p), v(p)
                        }), $("onAnimationStart", function(p) {
                            return y(o), v(n.onOverlayAnimationStart(p))
                        })("onHide", function() {
                            return y(o), v(n.hide())
                        }), d(9, Go, 13, 17, "ng-template", null, 2, G), u()
                    }
                    if (i & 2) {
                        let o, l = ie(6);
                        r("ngIf", !n.editable), c(), r("ngIf", n.editable), c(), r("ngIf", n.isVisibleClearIcon), c(), b("aria-expanded", (o = n.overlayVisible) !== null && o !== void 0 ? o : !1)("data-pc-section", "trigger"), c(), r("ngIf", n.loading)("ngIfElse", l), c(3), _t("visible", n.overlayVisible), r("options", n.overlayOptions)("target", "@parent")("appendTo", n.appendTo)("autoZIndex", n.autoZIndex)("baseZIndex", n.baseZIndex)("showTransitionOptions", n.showTransitionOptions)("hideTransitionOptions", n.hideTransitionOptions)
                    }
                },
                dependencies: [oe, we, Ge, Ie, Te, xe, Xo, si, Wt, At, jt, Xt, ei, Zt, Ut, ii, dt, U],
                encapsulation: 2,
                changeDetection: 0
            })
        }
        return t
    })(),
    Tr = (() => {
        class t {
            static\ u0275fac = function(i) {
                return new(i || t)
            };
            static\ u0275mod = te({
                type: t
            });
            static\ u0275inj = ee({
                imports: [mi, U, U]
            })
        }
        return t
    })();
export {
    Ut as a, Yt as b, Jt as c, Xt as d, Zl as e, ei as f, ii as g, Zt as h, dl as i, si as j, dt as k, Gs as l, Wt as m, xl as n, mi as o, Tr as p
};
/**i18n:6e1dbccd4192d215e143e99fb4b6a095cee3c871f5aa7cd380ca91231f35e8e0*/