import{Bn as Mxe,C as Au,Ca as dA,Cr as Qx,Ei as Yb,Ft as Gx,Ga as fe,It as Gxe,Ja as g,Ji as _m,Jr as Tx,K as Cn,Ki as _5,Kr as Tu,Mi as Yxe,Mo as k3,Mr as S,Na as eh,Ns as rh,Or as Rhe,Os as qxe,Po as kT,Ra as f5,Sc as x$,Sn as LI,So as jV,Ui as Zx,Us as sh,V as CI,Vs as se,Wa as fR,X as D$,Xa as g5,Xo as lx,Zi as aA,Zo as m5,Zs as th,_i as X4,_o as iu,_s as ph,ai as Vj,an as Je$1,bn as L3,c as $b,da as bu,eo as h5,et as DI,fn as Kb,fs as p5,gt as Ex,ia as ax,jt as Gj,k as Bb,ln as KAe,lo as i3,n as $B,nn as J$,nr as O3,oi as Vn,rs as nh,s as $a,ss as o5,t as $$,ur as P3,vc as wf,vn as Kxe,vo as j$,vt as FT,ws as qb,xc as x,yc as wp,yn as L2,za as fA,zc as zt$1}from"./chunk-b0nJCs5_.js";import{A as qn,O as ln$1,r as D,s as Jn}from"./chunk-Cmet2Nw-.js";import{L as Z,N as Wt$1,U as ge,ct as wi,j as Sr,m as I,ot as us,rt as rr,tt as qo,ut as xi,v as Kr}from"./chunk-CkJf4plT.js";import{a as Kn,d as nn$1,i as Ii,l as co,r as Ht$1}from"./chunk-Dga4Oy_6.js";import{n as ae,t as Xe$1}from"./chunk-YjBxjUE4.js";import{t as i}from"./chunk-CLZPHXX8.js";var Pe=`
    .p-autocomplete {
        display: inline-flex;
    }

    .p-autocomplete-loader {
        position: absolute;
        top: 50%;
        margin-top: -0.5rem;
        inset-inline-end: dt('autocomplete.padding.x');
    }

    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-loader {
        inset-inline-end: calc(dt('autocomplete.dropdown.width') + dt('autocomplete.padding.x'));
    }

    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input {
        flex: 1 1 auto;
        width: 1%;
    }

    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input,
    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input-multiple {
        border-start-end-radius: 0;
        border-end-end-radius: 0;
    }

    .p-autocomplete-dropdown {
        cursor: pointer;
        display: inline-flex;
        user-select: none;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
        width: dt('autocomplete.dropdown.width');
        border-start-end-radius: dt('autocomplete.dropdown.border.radius');
        border-end-end-radius: dt('autocomplete.dropdown.border.radius');
        background: dt('autocomplete.dropdown.background');
        border: 1px solid dt('autocomplete.dropdown.border.color');
        border-inline-start: 0 none;
        color: dt('autocomplete.dropdown.color');
        transition:
            background dt('autocomplete.transition.duration'),
            color dt('autocomplete.transition.duration'),
            border-color dt('autocomplete.transition.duration'),
            outline-color dt('autocomplete.transition.duration'),
            box-shadow dt('autocomplete.transition.duration');
        outline-color: transparent;
    }

    .p-autocomplete-dropdown:not(:disabled):hover {
        background: dt('autocomplete.dropdown.hover.background');
        border-color: dt('autocomplete.dropdown.hover.border.color');
        color: dt('autocomplete.dropdown.hover.color');
    }

    .p-autocomplete-dropdown:not(:disabled):active {
        background: dt('autocomplete.dropdown.active.background');
        border-color: dt('autocomplete.dropdown.active.border.color');
        color: dt('autocomplete.dropdown.active.color');
    }

    .p-autocomplete-dropdown:focus-visible {
        box-shadow: dt('autocomplete.dropdown.focus.ring.shadow');
        outline: dt('autocomplete.dropdown.focus.ring.width') dt('autocomplete.dropdown.focus.ring.style') dt('autocomplete.dropdown.focus.ring.color');
        outline-offset: dt('autocomplete.dropdown.focus.ring.offset');
    }

    .p-autocomplete-overlay {
        position: absolute;
        top: 0;
        left: 0;
        background: dt('autocomplete.overlay.background');
        color: dt('autocomplete.overlay.color');
        border: 1px solid dt('autocomplete.overlay.border.color');
        border-radius: dt('autocomplete.overlay.border.radius');
        box-shadow: dt('autocomplete.overlay.shadow');
        min-width: 100%;
    }

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

    .p-autocomplete-list {
        margin: 0;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        gap: dt('autocomplete.list.gap');
        padding: dt('autocomplete.list.padding');
    }

    .p-autocomplete-option {
        cursor: pointer;
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding: dt('autocomplete.option.padding');
        border: 0 none;
        color: dt('autocomplete.option.color');
        background: transparent;
        transition:
            background dt('autocomplete.transition.duration'),
            color dt('autocomplete.transition.duration'),
            border-color dt('autocomplete.transition.duration');
        border-radius: dt('autocomplete.option.border.radius');
    }

    .p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled).p-focus {
        background: dt('autocomplete.option.focus.background');
        color: dt('autocomplete.option.focus.color');
    }

    .p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled):hover {
        background: dt('autocomplete.option.focus.background');
        color: dt('autocomplete.option.focus.color');
    }

    .p-autocomplete-option-selected {
        background: dt('autocomplete.option.selected.background');
        color: dt('autocomplete.option.selected.color');
    }

    .p-autocomplete-option-selected.p-focus {
        background: dt('autocomplete.option.selected.focus.background');
        color: dt('autocomplete.option.selected.focus.color');
    }

    .p-autocomplete-option-group {
        margin: 0;
        padding: dt('autocomplete.option.group.padding');
        color: dt('autocomplete.option.group.color');
        background: dt('autocomplete.option.group.background');
        font-weight: dt('autocomplete.option.group.font.weight');
    }

    .p-autocomplete-input-multiple {
        margin: 0;
        list-style-type: none;
        cursor: text;
        overflow: hidden;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: calc(dt('autocomplete.padding.y') / 2) dt('autocomplete.padding.x');
        gap: calc(dt('autocomplete.padding.y') / 2);
        color: dt('autocomplete.color');
        background: dt('autocomplete.background');
        border: 1px solid dt('autocomplete.border.color');
        border-radius: dt('autocomplete.border.radius');
        width: 100%;
        transition:
            background dt('autocomplete.transition.duration'),
            color dt('autocomplete.transition.duration'),
            border-color dt('autocomplete.transition.duration'),
            outline-color dt('autocomplete.transition.duration'),
            box-shadow dt('autocomplete.transition.duration');
        outline-color: transparent;
        box-shadow: dt('autocomplete.shadow');
    }

    .p-autocomplete-input-multiple.p-disabled {
        opacity: 1;
        background: dt('autocomplete.disabled.background');
        color: dt('autocomplete.disabled.color');
    }

    .p-autocomplete-input-multiple:not(.p-disabled):hover {
        border-color: dt('autocomplete.hover.border.color');
    }

    .p-autocomplete.p-focus .p-autocomplete-input-multiple:not(.p-disabled) {
        border-color: dt('autocomplete.focus.border.color');
        box-shadow: dt('autocomplete.focus.ring.shadow');
        outline: dt('autocomplete.focus.ring.width') dt('autocomplete.focus.ring.style') dt('autocomplete.focus.ring.color');
        outline-offset: dt('autocomplete.focus.ring.offset');
    }

    .p-autocomplete.p-invalid .p-autocomplete-input-multiple {
        border-color: dt('autocomplete.invalid.border.color');
    }

    .p-variant-filled.p-autocomplete-input-multiple {
        background: dt('autocomplete.filled.background');
    }

    .p-autocomplete-input-multiple.p-variant-filled:not(.p-disabled):hover {
        background: dt('autocomplete.filled.hover.background');
    }

    .p-autocomplete.p-focus .p-autocomplete-input-multiple.p-variant-filled:not(.p-disabled) {
        background: dt('autocomplete.filled.focus.background');
    }

    .p-autocomplete-chip.p-chip {
        padding-block-start: calc(dt('autocomplete.padding.y') / 2);
        padding-block-end: calc(dt('autocomplete.padding.y') / 2);
        border-radius: dt('autocomplete.chip.border.radius');
    }

    .p-autocomplete-input-multiple:has(.p-autocomplete-chip) {
        padding-inline-start: calc(dt('autocomplete.padding.y') / 2);
        padding-inline-end: calc(dt('autocomplete.padding.y') / 2);
    }

    .p-autocomplete-chip-item.p-focus .p-autocomplete-chip {
        background: dt('autocomplete.chip.focus.background');
        color: dt('autocomplete.chip.focus.color');
    }

    .p-autocomplete-input-chip {
        flex: 1 1 auto;
        display: inline-flex;
        padding-block-start: calc(dt('autocomplete.padding.y') / 2);
        padding-block-end: calc(dt('autocomplete.padding.y') / 2);
    }

    .p-autocomplete-input-chip input {
        border: 0 none;
        outline: 0 none;
        background: transparent;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        font-family: inherit;
        font-feature-settings: inherit;
        font-size: 1rem;
        color: inherit;
    }

    .p-autocomplete-input-chip input::placeholder {
        color: dt('autocomplete.placeholder.color');
    }

    .p-autocomplete.p-invalid .p-autocomplete-input-chip input::placeholder {
        color: dt('autocomplete.invalid.placeholder.color');
    }

    .p-autocomplete-empty-message {
        padding: dt('autocomplete.empty.message.padding');
    }

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

    .p-autocomplete-fluid:has(.p-autocomplete-dropdown) .p-autocomplete-input {
        width: 1%;
    }

    .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown {
        width: dt('autocomplete.dropdown.sm.width');
    }

    .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown .p-icon {
        font-size: dt('form.field.sm.font.size');
        width: dt('form.field.sm.font.size');
        height: dt('form.field.sm.font.size');
    }

    .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown {
        width: dt('autocomplete.dropdown.lg.width');
    }

    .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown .p-icon {
        font-size: dt('form.field.lg.font.size');
        width: dt('form.field.lg.font.size');
        height: dt('form.field.lg.font.size');
    }

    .p-autocomplete-clear-icon {
        position: absolute;
        top: 50%;
        margin-top: -0.5rem;
        cursor: pointer;
        color: dt('form.field.icon.color');
        inset-inline-end: dt('autocomplete.padding.x');
    }

    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon {
        inset-inline-end: calc(dt('autocomplete.padding.x') + dt('autocomplete.dropdown.width'));
    }

    .p-autocomplete:has(.p-autocomplete-clear-icon) .p-autocomplete-input {
        padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
    }

    .p-inputgroup .p-autocomplete-dropdown {
        border-radius: 0;
    }

    .p-inputgroup > .p-autocomplete:last-child:has(.p-autocomplete-dropdown) > .p-autocomplete-input {
        border-start-end-radius: 0;
        border-end-end-radius: 0;
    }

    .p-inputgroup > .p-autocomplete:last-child .p-autocomplete-dropdown {
        border-start-end-radius: dt('autocomplete.dropdown.border.radius');
        border-end-end-radius: dt('autocomplete.dropdown.border.radius');
    }
`;var We=[`item`];var Ze=[`empty`];var Je=[`header`];var Xe=[`footer`];var Ye=[`selecteditem`];var et=[`group`];var tt=[`loader`];var nt=[`removeicon`];var it=[`loadingicon`];var ot=[`clearicon`];var lt=[`dropdownicon`];var at=[`focusInput`];var pt=[`multiIn`];var rt=[`multiContainer`];var st=[`ddBtn`];var ct=[`items`];var ut=[`scroller`];var dt=[`overlay`];var mt=i=>({i});var Ue=i=>({$implicit:i});var ht=(i,p,e)=>({removeCallback:i,index:p,class:e});var U=i=>({height:i});var Ne=(i,p)=>({$implicit:i,options:p});var _t=i=>({options:i});var gt=()=>({});var ft=(i,p,e)=>({option:i,i:p,scrollerOptions:e});var yt=(i,p)=>({$implicit:i,index:p});function xt(i,p){if(i&1){let e=jV();wp(0,`input`,18,2),rh(`input`,function(n){CI(e);return DI(D$().onInput(n))})(`keydown`,function(n){CI(e);return DI(D$().onKeyDown(n))})(`change`,function(n){CI(e);return DI(D$().onInputChange(n))})(`focus`,function(n){CI(e);return DI(D$().onInputFocus(n))})(`blur`,function(n){CI(e);return DI(D$().onInputBlur(n))})(`paste`,function(n){CI(e);return DI(D$().onInputPaste(n))})(`keyup`,function(n){CI(e);return DI(D$().onInputKeyUp(n))}),Bb()}if(i&2){let e=D$();$$(e.cn(e.cx(`pcInputText`),e.inputStyleClass)),Ex(`pAutoFocus`,e.autofocus)(`pt`,e.ptm(`pcInputText`))(`ngStyle`,e.inputStyle)(`variant`,e.$variant())(`invalid`,e.invalid())(`pSize`,e.size())(`fluid`,e.hasFluid)(`pInputTextUnstyled`,e.unstyled()),eh(`type`,e.type)(`value`,e.inputValue())(`id`,e.inputId)(`autocomplete`,e.autocomplete)(`placeholder`,e.placeholder)(`name`,e.name())(`minlength`,e.minlength())(`min`,e.min())(`max`,e.max())(`pattern`,e.pattern())(`size`,e.inputSize())(`maxlength`,e.maxlength())(`tabindex`,e.$disabled()?-1:e.tabindex)(`required`,e.required()?``:void 0)(`readonly`,e.readonly?``:void 0)(`disabled`,e.$disabled()?``:void 0)(`aria-label`,e.ariaLabel)(`aria-labelledby`,e.ariaLabelledBy)(`aria-required`,e.required())(`aria-expanded`,e.overlayVisible??!1)(`aria-controls`,e.overlayVisible?e.id+`_list`:null)(`aria-activedescendant`,e.focused?e.focusedOptionId:void 0)}}function bt(i,p){if(i&1){let e=jV();LI(),wp(0,`svg`,21),rh(`click`,function(){CI(e);return DI(D$(2).clear())}),Bb()}if(i&2){let e=D$(2);$$(e.cx(`clearIcon`)),Ex(`pBind`,e.ptm(`clearIcon`)),eh(`aria-hidden`,!0)}}function vt(i,p){}function It(i,p){i&1&&lx(0,vt,0,0,`ng-template`)}function wt(i,p){if(i&1){let e=jV();wp(0,`span`,22),rh(`click`,function(){CI(e);return DI(D$(2).clear())}),lx(1,It,1,0,null,23),Bb()}if(i&2){let e=D$(2);$$(e.cx(`clearIcon`)),Ex(`pBind`,e.ptm(`clearIcon`)),eh(`aria-hidden`,!0),$B(),Ex(`ngTemplateOutlet`,e.clearIconTemplate||e._clearIconTemplate)}}function Ct(i,p){if(i&1&&($b(0),lx(1,bt,1,4,`svg`,19)(2,wt,2,5,`span`,20),nh()),i&2){let e=D$();$B(),Ex(`ngIf`,!e.clearIconTemplate&&!e._clearIconTemplate),$B(),Ex(`ngIf`,e.clearIconTemplate||e._clearIconTemplate)}}function Ot(i,p){i&1&&Tx(0)}function Tt(i,p){if(i&1){let e=jV();wp(0,`span`,22),rh(`click`,function(n){CI(e);let o=D$(2).index,l=D$(2);return DI(!l.readonly&&!l.$disabled()?l.removeOption(n,o):``)}),LI(),th(1,`svg`,31),Bb()}if(i&2){let e=D$(4);$$(e.cx(`chipIcon`)),Ex(`pBind`,e.ptm(`chipIcon`)),$B(),$$(e.cx(`chipIcon`)),eh(`aria-hidden`,!0)}}function St(i,p){}function Vt(i,p){i&1&&lx(0,St,0,0,`ng-template`)}function Et(i,p){if(i&1&&(wp(0,`span`,32),lx(1,Vt,1,0,null,29),Bb()),i&2){let e=D$(2).index,t=D$(2);Ex(`pBind`,t.ptm(`chipIcon`)),eh(`aria-hidden`,!0),$B(),Ex(`ngTemplateOutlet`,t.removeIconTemplate||t._removeIconTemplate)(`ngTemplateOutletContext`,g5(4,ht,t.removeOption.bind(t),e,t.cx(`chipIcon`)))}}function kt(i,p){if(i&1&&lx(0,Tt,2,6,`span`,20)(1,Et,2,8,`span`,30),i&2){let e=D$(3);Ex(`ngIf`,!e.removeIconTemplate&&!e._removeIconTemplate),$B(),Ex(`ngIf`,e.removeIconTemplate||e._removeIconTemplate)}}function Mt(i,p){if(i&1){let e=jV();wp(0,`li`,26,5)(2,`p-chip`,28),rh(`onRemove`,function(n){let o=CI(e).index,l=D$(2);return DI(l.readonly?``:l.removeOption(n,o))}),lx(3,Ot,1,0,`ng-container`,29)(4,kt,2,2,`ng-template`,null,6,_5),Bb()()}if(i&2){let e=p.$implicit,t=p.index,n=D$(2);$$(n.cx(`chipItem`,h5(17,mt,t))),Ex(`pBind`,n.ptm(`chipItem`)),eh(`id`,n.id+`_multiple_option_`+t)(`aria-label`,n.getOptionLabel(e))(`aria-setsize`,n.modelValue().length)(`aria-posinset`,t+1)(`aria-selected`,!0),$B(2),$$(n.cx(`pcChip`)),Ex(`pt`,n.ptm(`pcChip`))(`label`,!n.selectedItemTemplate&&!n._selectedItemTemplate&&n.getOptionLabel(e))(`disabled`,n.$disabled())(`removable`,!0)(`unstyled`,n.unstyled()),$B(),Ex(`ngTemplateOutlet`,n.selectedItemTemplate||n._selectedItemTemplate)(`ngTemplateOutletContext`,h5(19,Ue,e))}}function At(i,p){if(i&1){let e=jV();wp(0,`ul`,24,3),rh(`focus`,function(n){CI(e);return DI(D$().onMultipleContainerFocus(n))})(`blur`,function(n){CI(e);return DI(D$().onMultipleContainerBlur(n))})(`keydown`,function(n){CI(e);return DI(D$().onMultipleContainerKeyDown(n))}),lx(2,Mt,6,21,`li`,25),wp(3,`li`,26)(4,`input`,27,4),rh(`input`,function(n){CI(e);return DI(D$().onInput(n))})(`keydown`,function(n){CI(e);return DI(D$().onKeyDown(n))})(`change`,function(n){CI(e);return DI(D$().onInputChange(n))})(`focus`,function(n){CI(e);return DI(D$().onInputFocus(n))})(`blur`,function(n){CI(e);return DI(D$().onInputBlur(n))})(`paste`,function(n){CI(e);return DI(D$().onInputPaste(n))})(`keyup`,function(n){CI(e);return DI(D$().onInputKeyUp(n))}),Bb()()()}if(i&2){let e=D$();$$(e.cx(`inputMultiple`)),Ex(`pBind`,e.ptm(`inputMultiple`))(`tabindex`,-1),eh(`data-p`,e.inputMultipleDataP)(`aria-orientation`,`horizontal`)(`aria-activedescendant`,e.focused?e.focusedMultipleOptionId:void 0),$B(2),Ex(`ngForOf`,e.modelValue()),$B(),$$(e.cx(`inputChip`)),Ex(`pBind`,e.ptm(`inputChip`)),$B(),$$(e.cx(`pcInputText`)),Ex(`pAutoFocus`,e.autofocus)(`pBind`,e.ptm(`input`))(`ngStyle`,e.inputStyle),eh(`type`,e.type)(`id`,e.inputId)(`autocomplete`,e.autocomplete)(`name`,e.name())(`minlength`,e.minlength())(`maxlength`,e.maxlength())(`size`,e.size())(`min`,e.min())(`max`,e.max())(`pattern`,e.pattern())(`placeholder`,e.$filled()?null:e.placeholder)(`tabindex`,e.$disabled()?-1:e.tabindex)(`required`,e.required()?``:void 0)(`readonly`,e.readonly?``:void 0)(`disabled`,e.$disabled()?``:void 0)(`aria-label`,e.ariaLabel)(`aria-labelledby`,e.ariaLabelledBy)(`aria-required`,e.required())(`aria-expanded`,e.overlayVisible??!1)(`aria-controls`,e.overlayVisible?e.id+`_list`:null)(`aria-activedescendant`,e.focused?e.focusedOptionId:void 0)}}function Lt(i,p){if(i&1&&(LI(),th(0,`svg`,35)),i&2){let e=D$(2);$$(e.cx(`loader`)),Ex(`pBind`,e.ptm(`loader`))(`spin`,!0),eh(`aria-hidden`,!0)}}function Ft(i,p){}function Bt(i,p){i&1&&lx(0,Ft,0,0,`ng-template`)}function Dt(i,p){if(i&1&&(wp(0,`span`,32),lx(1,Bt,1,0,null,23),Bb()),i&2){let e=D$(2);$$(e.cx(`loader`)),Ex(`pBind`,e.ptm(`loader`)),eh(`aria-hidden`,!0),$B(),Ex(`ngTemplateOutlet`,e.loadingIconTemplate||e._loadingIconTemplate)}}function Kt(i,p){if(i&1&&($b(0),lx(1,Lt,1,5,`svg`,33)(2,Dt,2,5,`span`,34),nh()),i&2){let e=D$();$B(),Ex(`ngIf`,!e.loadingIconTemplate&&!e._loadingIconTemplate),$B(),Ex(`ngIf`,e.loadingIconTemplate||e._loadingIconTemplate)}}function zt(i,p){if(i&1&&th(0,`span`,38),i&2)Ex(`ngClass`,D$(2).dropdownIcon),eh(`aria-hidden`,!0)}function $t(i,p){if(i&1&&(LI(),th(0,`svg`,40)),i&2)Ex(`pBind`,D$(3).ptm(`dropdown`))}function Rt(i,p){}function qt(i,p){i&1&&lx(0,Rt,0,0,`ng-template`)}function Ht(i,p){if(i&1&&($b(0),lx(1,$t,1,1,`svg`,39)(2,qt,1,0,null,23),nh()),i&2){let e=D$(2);$B(),Ex(`ngIf`,!e.dropdownIconTemplate&&!e._dropdownIconTemplate),$B(),Ex(`ngTemplateOutlet`,e.dropdownIconTemplate||e._dropdownIconTemplate)}}function Pt(i,p){if(i&1){let e=jV();wp(0,`button`,36,7),rh(`click`,function(n){CI(e);return DI(D$().handleDropdownClick(n))}),lx(2,zt,1,2,`span`,37)(3,Ht,3,2,`ng-container`,14),Bb()}if(i&2){let e=D$();$$(e.cx(`dropdown`)),Ex(`pBind`,e.ptm(`dropdown`))(`disabled`,e.$disabled()),eh(`aria-label`,e.dropdownAriaLabel)(`tabindex`,e.tabindex),$B(2),Ex(`ngIf`,e.dropdownIcon),$B(),Ex(`ngIf`,!e.dropdownIcon)}}function Gt(i,p){i&1&&Tx(0)}function Qt(i,p){i&1&&Tx(0)}function Ut(i,p){if(i&1&&lx(0,Qt,1,0,`ng-container`,29),i&2){let e=p.$implicit,t=p.options;D$(2);Ex(`ngTemplateOutlet`,x$(6))(`ngTemplateOutletContext`,m5(2,Ne,e,t))}}function Nt(i,p){i&1&&Tx(0)}function jt(i,p){if(i&1&&lx(0,Nt,1,0,`ng-container`,29),i&2){let e=p.options,t=D$(4);Ex(`ngTemplateOutlet`,t.loaderTemplate||t._loaderTemplate)(`ngTemplateOutletContext`,h5(2,_t,e))}}function Wt(i,p){i&1&&($b(0),lx(1,jt,1,4,`ng-template`,null,10,_5),nh())}function Zt(i,p){if(i&1){let e=jV();wp(0,`p-scroller`,45,9),rh(`onLazyLoad`,function(n){CI(e);return DI(D$(2).onLazyLoad.emit(n))}),lx(2,Ut,1,5,`ng-template`,null,1,_5)(4,Wt,3,0,`ng-container`,14),Bb()}if(i&2){let e=D$(2);j$(h5(10,U,e.scrollHeight)),Ex(`tabindex`,-1)(`pt`,e.ptm(`virtualScroller`))(`items`,e.visibleOptions())(`itemSize`,e.virtualScrollItemSize)(`autoSize`,!0)(`lazy`,e.lazy)(`options`,e.virtualScrollOptions),$B(4),Ex(`ngIf`,e.loaderTemplate||e._loaderTemplate)}}function Jt(i,p){i&1&&Tx(0)}function Xt(i,p){if(i&1&&($b(0),lx(1,Jt,1,0,`ng-container`,29),nh()),i&2){D$();let e=x$(6),t=D$();$B(),Ex(`ngTemplateOutlet`,e)(`ngTemplateOutletContext`,m5(3,Ne,t.visibleOptions(),p5(2,gt)))}}function Yt(i,p){if(i&1&&(wp(0,`span`),J$(1),Bb()),i&2){let e=D$(2).$implicit,t=D$(3);$B(),aA(t.getOptionGroupLabel(e.optionGroup))}}function en(i,p){i&1&&Tx(0)}function tn(i,p){if(i&1&&($b(0),wp(1,`li`,49),lx(2,Yt,2,1,`span`,14)(3,en,1,0,`ng-container`,29),Bb(),nh()),i&2){let e=D$(),t=e.$implicit,n=e.index,o=D$().options,l=D$(2);$B(),$$(l.cx(`optionGroup`)),Ex(`pBind`,l.ptm(`optionGroup`))(`ngStyle`,h5(8,U,o.itemSize+`px`)),eh(`id`,l.id+`_`+l.getOptionIndex(n,o)),$B(),Ex(`ngIf`,!l.groupTemplate),$B(),Ex(`ngTemplateOutlet`,l.groupTemplate)(`ngTemplateOutletContext`,h5(10,Ue,t.optionGroup))}}function nn(i,p){if(i&1&&(wp(0,`span`),J$(1),Bb()),i&2){let e=D$(2).$implicit,t=D$(3);$B(),aA(t.getOptionLabel(e))}}function on(i,p){i&1&&Tx(0)}function ln(i,p){if(i&1){let e=jV();$b(0),wp(1,`li`,50),rh(`click`,function(n){CI(e);let o=D$().$implicit;return DI(D$(3).onOptionSelect(n,o))})(`mouseenter`,function(n){CI(e);let o=D$().index,l=D$().options,f=D$(2);return DI(f.onOptionMouseEnter(n,f.getOptionIndex(o,l)))}),lx(2,nn,2,1,`span`,14)(3,on,1,0,`ng-container`,29),Bb(),nh()}if(i&2){let e=D$(),t=e.$implicit,n=e.index,o=D$().options,l=D$(2);$B(),$$(l.cx(`option`,g5(15,ft,t,n,o))),Ex(`pBind`,l.getPTOptions(t,o,n,`option`))(`ngStyle`,h5(19,U,o.itemSize+`px`)),eh(`id`,l.id+`_`+l.getOptionIndex(n,o))(`aria-label`,l.getOptionLabel(t))(`aria-selected`,l.isSelected(t))(`data-p-selected`,l.isSelected(t))(`aria-disabled`,l.isOptionDisabled(t))(`data-p-focused`,l.focusedOptionIndex()===l.getOptionIndex(n,o))(`aria-setsize`,l.ariaSetSize)(`aria-posinset`,l.getAriaPosInset(l.getOptionIndex(n,o))),$B(),Ex(`ngIf`,!l.itemTemplate&&!l._itemTemplate),$B(),Ex(`ngTemplateOutlet`,l.itemTemplate||l._itemTemplate)(`ngTemplateOutletContext`,m5(21,yt,t,o.getOptions?o.getOptions(n):n))}}function an(i,p){if(i&1&&lx(0,tn,4,12,`ng-container`,14)(1,ln,4,24,`ng-container`,14),i&2){let e=p.$implicit,t=D$(3);Ex(`ngIf`,t.isOptionGroup(e)),$B(),Ex(`ngIf`,!t.isOptionGroup(e))}}function pn(i,p){if(i&1&&($b(0),J$(1),nh()),i&2){let e=D$(4);$B(),Kb(` `,e.searchResultMessageText,` `)}}function rn(i,p){i&1&&Tx(0,null,12)}function sn(i,p){if(i&1&&(wp(0,`li`,49),lx(1,pn,2,1,`ng-container`,51)(2,rn,2,0,`ng-container`,23),Bb()),i&2){let e=D$().options,t=D$(2);$$(t.cx(`emptyMessage`)),Ex(`pBind`,t.ptm(`emptyMessage`))(`ngStyle`,h5(7,U,e.itemSize+`px`)),$B(),Ex(`ngIf`,!t.emptyTemplate&&!t._emptyTemplate)(`ngIfElse`,t.empty),$B(),Ex(`ngTemplateOutlet`,t.emptyTemplate||t._emptyTemplate)}}function cn(i,p){if(i&1&&(wp(0,`ul`,46,11),lx(2,an,2,2,`ng-template`,47)(3,sn,3,9,`li`,48),Bb()),i&2){let e=p.$implicit,t=p.options,n=D$(2);j$(t.contentStyle),$$(n.cn(n.cx(`list`),t.contentStyleClass)),Ex(`pBind`,n.ptm(`list`)),eh(`id`,n.id+`_list`)(`aria-label`,n.listLabel),$B(2),Ex(`ngForOf`,e),$B(),Ex(`ngIf`,!e||e&&e.length===0&&n.showEmptyMessage)}}function un(i,p){i&1&&Tx(0)}function dn(i,p){if(i&1&&(wp(0,`div`,41),lx(1,Gt,1,0,`ng-container`,23),wp(2,`div`,42),lx(3,Zt,5,12,`p-scroller`,43)(4,Xt,2,6,`ng-container`,14),Bb(),lx(5,cn,4,9,`ng-template`,null,8,_5)(7,un,1,0,`ng-container`,23),Bb(),wp(8,`span`,44),J$(9),Bb()),i&2){let e=D$();$$(e.cn(e.cx(`overlay`),e.panelStyleClass)),Ex(`pBind`,e.ptm(`overlay`))(`ngStyle`,e.panelStyle),$B(),Ex(`ngTemplateOutlet`,e.headerTemplate||e._headerTemplate),$B(),$$(e.cx(`listContainer`)),Zx(`max-height`,e.virtualScroll?`auto`:e.scrollHeight),Ex(`pBind`,e.ptm(`listContainer`))(`tabindex`,-1),$B(),Ex(`ngIf`,e.virtualScroll),$B(),Ex(`ngIf`,!e.virtualScroll),$B(3),Ex(`ngTemplateOutlet`,e.footerTemplate||e._footerTemplate),$B(2),Kb(` `,e.selectedMessageText,` `)}}var mn=`
${Pe}

/* For PrimeNG */
p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input,
p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple,
p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input,
p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-multiple p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
    border-color: dt('autocomplete.invalid.border.color');
}

p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
p-autoComplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
p-auto-complete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
    border-color: dt('autocomplete.focus.border.color');
}

p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
    color: dt('autocomplete.invalid.placeholder.color');
}

p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
    color: dt('autocomplete.invalid.placeholder.color');
}
`;var hn={root:{position:`relative`}};var _n={root:({instance:i})=>[`p-autocomplete p-component p-inputwrapper`,{"p-invalid":i.invalid(),"p-focus":i.focused,"p-inputwrapper-filled":i.$filled(),"p-inputwrapper-focus":i.focused&&!i.$disabled()||i.autofocus||i.overlayVisible,"p-autocomplete-open":i.overlayVisible,"p-autocomplete-clearable":i.showClear&&!i.$disabled(),"p-autocomplete-fluid":i.hasFluid}],pcInputText:`p-autocomplete-input`,inputMultiple:({instance:i})=>[`p-autocomplete-input-multiple`,{"p-disabled":i.$disabled(),"p-variant-filled":i.$variant()===`filled`}],chipItem:({instance:i,i:p})=>[`p-autocomplete-chip-item`,{"p-focus":i.focusedMultipleOptionIndex()===p}],pcChip:`p-autocomplete-chip`,chipIcon:`p-autocomplete-chip-icon`,inputChip:`p-autocomplete-input-chip`,loader:`p-autocomplete-loader`,dropdown:`p-autocomplete-dropdown`,overlay:({instance:i})=>[`p-autocomplete-overlay p-component-overlay p-component`,{"p-input-filled":i.$variant()===`filled`,"p-ripple-disabled":i.config.ripple()===!1}],listContainer:`p-autocomplete-list-container`,list:`p-autocomplete-list`,optionGroup:`p-autocomplete-option-group`,option:({instance:i,option:p,i:e,scrollerOptions:t})=>({"p-autocomplete-option":!0,"p-autocomplete-option-selected":i.isSelected(p),"p-focus":i.focusedOptionIndex()===i.getOptionIndex(e,t),"p-disabled":i.isOptionDisabled(p)}),emptyMessage:`p-autocomplete-empty-message`,clearIcon:`p-autocomplete-clear-icon`};var Ge=(()=>{class i extends I{name=`autocomplete`;style=mn;classes=_n;inlineStyles=hn;static ɵfac=(()=>{let e;return function(n){return(e||(e=iu(i)))(n||i)}})();static ɵprov=S({token:i,factory:i.ɵfac})}return i})();var Qe=new x(`AUTOCOMPLETE_INSTANCE`);var gn={provide:D,useExisting:wf(()=>je),multi:!0};var je=(()=>{class i extends Kr{overlayService;zone;componentName=`AutoComplete`;$pcAutoComplete=g(Qe,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=g(Z,{self:!0});minLength=1;minQueryLength;delay=300;panelStyle;styleClass;panelStyleClass;inputStyle;inputId;inputStyleClass;placeholder;readonly;scrollHeight=`200px`;lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;autoHighlight;forceSelection;type=`text`;autoZIndex=!0;baseZIndex=0;ariaLabel;dropdownAriaLabel;ariaLabelledBy;dropdownIcon;unique=!0;group;completeOnFocus=!1;showClear=!1;dropdown;showEmptyMessage=!0;dropdownMode=`blank`;multiple;addOnTab=!1;tabindex;dataKey;emptyMessage;showTransitionOptions=`.12s cubic-bezier(0, 0, 0.2, 1)`;hideTransitionOptions=`.1s linear`;autofocus;autocomplete=`off`;optionGroupChildren=`items`;optionGroupLabel=`label`;overlayOptions;get suggestions(){return this._suggestions()}set suggestions(e){this._suggestions.set(e),this.handleSuggestionsChange()}optionLabel;optionValue;id;searchMessage;emptySelectionMessage;selectionMessage;autoOptionFocus=!1;selectOnFocus;searchLocale;optionDisabled;focusOnHover=!0;typeahead=!0;addOnBlur=!1;separator;appendTo=ph(void 0);motionOptions=ph(void 0);completeMethod=new zt$1;onSelect=new zt$1;onUnselect=new zt$1;onAdd=new zt$1;onFocus=new zt$1;onBlur=new zt$1;onDropdownClick=new zt$1;onClear=new zt$1;onInputKeydown=new zt$1;onKeyUp=new zt$1;onShow=new zt$1;onHide=new zt$1;onLazyLoad=new zt$1;inputEL;multiInputEl;multiContainerEL;dropdownButton;itemsViewChild;scroller;overlayViewChild;itemsWrapper;itemTemplate;emptyTemplate;headerTemplate;footerTemplate;selectedItemTemplate;groupTemplate;loaderTemplate;removeIconTemplate;loadingIconTemplate;clearIconTemplate;dropdownIconTemplate;onHostClick(e){this.onContainerClick(e)}value;_suggestions=Je$1(null);timeout;overlayVisible;suggestionsUpdated;highlightOption;highlightOptionChanged;focused=!1;loading;scrollHandler;listId;searchTimeout;dirty=!1;_itemTemplate;_groupTemplate;_selectedItemTemplate;_headerTemplate;_emptyTemplate;_footerTemplate;_loaderTemplate;_removeIconTemplate;_loadingIconTemplate;_clearIconTemplate;_dropdownIconTemplate;focusedMultipleOptionIndex=Je$1(-1);focusedOptionIndex=Je$1(-1);_componentStyle=g(Ge);$appendTo=bu(()=>this.appendTo()||this.config.overlayAppendTo());visibleOptions=bu(()=>this.group?this.flatOptions(this._suggestions()):this._suggestions()||[]);inputValue=bu(()=>{let e=this.modelValue(),t=this.optionValueSelected?(this.suggestions||[]).find(n=>FT(n,e,this.equalityKey())):e;if(kT(e))if(typeof e==`object`||this.optionValueSelected)return this.getOptionLabel(t)??e;else return e;else return``});get focusedMultipleOptionId(){return this.focusedMultipleOptionIndex()!==-1?`${this.id}_multiple_option_${this.focusedMultipleOptionIndex()}`:null}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}get searchResultMessageText(){return kT(this.visibleOptions())&&this.overlayVisible?this.searchMessageText.replaceAll(`{0}`,this.visibleOptions().length):this.emptySearchMessageText}get searchMessageText(){return this.searchMessage||this.config.translation.searchMessage||``}get emptySearchMessageText(){return this.emptyMessage||this.config.translation.emptySearchMessage||``}get selectionMessageText(){return this.selectionMessage||this.config.translation.selectionMessage||``}get emptySelectionMessageText(){return this.emptySelectionMessage||this.config.translation.emptySelectionMessage||``}get selectedMessageText(){return this.hasSelectedOption()?this.selectionMessageText.replaceAll(`{0}`,this.multiple?this.modelValue()?.length:`1`):this.emptySelectionMessageText}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}get listLabel(){return this.config.getTranslation(Kxe.ARIA).listLabel}get virtualScrollerDisabled(){return!this.virtualScroll}get optionValueSelected(){return typeof this.modelValue()==`string`&&this.optionValue}chipItemClass(e){return this._componentStyle.classes.chipItem({instance:this,i:e})}constructor(e,t){super(),this.overlayService=e,this.zone=t}onInit(){this.id=this.id||Wt$1(`pn_id_`),this.cd.detectChanges()}templates;onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case`item`:this._itemTemplate=e.template;break;case`group`:this._groupTemplate=e.template;break;case`selecteditem`:this._selectedItemTemplate=e.template;break;case`selectedItem`:this._selectedItemTemplate=e.template;break;case`header`:this._headerTemplate=e.template;break;case`empty`:this._emptyTemplate=e.template;break;case`footer`:this._footerTemplate=e.template;break;case`loader`:this._loaderTemplate=e.template;break;case`removetokenicon`:this._removeIconTemplate=e.template;break;case`loadingicon`:this._loadingIconTemplate=e.template;break;case`clearicon`:this._clearIconTemplate=e.template;break;case`dropdownicon`:this._dropdownIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms([`host`,`root`])),this.suggestionsUpdated&&this.overlayViewChild&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1),this.suggestionsUpdated=!1})}handleSuggestionsChange(){if(this.loading){this._suggestions()?.length>0||this.showEmptyMessage||this.emptyTemplate?this.show():this.hide();let e=this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(e),this.suggestionsUpdated=!0,this.loading=!1,this.cd.markForCheck()}}flatOptions(e){return(e||[]).reduce((t,n,o)=>{t.push({optionGroup:n,group:!0,index:o});let l=this.getOptionGroupChildren(n);return l&&l.forEach(f=>t.push(f)),t},[])}isOptionGroup(e){return this.optionGroupLabel&&e.optionGroup&&e.group}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findLastOptionIndex(){return Mxe(this.visibleOptions(),e=>this.isValidOption(e))}findFirstFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findLastFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextOptionIndex(e){let t=e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(n=>this.isValidOption(n)):-1;return t>-1?t+e+1:e}findPrevOptionIndex(e){let t=e>0?Mxe(this.visibleOptions().slice(0,e),n=>this.isValidOption(n)):-1;return t>-1?t:e}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}isValidOption(e){return e&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionDisabled(e){return this.optionDisabled?_m(e,this.optionDisabled):!1}isSelected(e){return this.multiple?this.unique?this.modelValue()?.some(t=>FT(t,e,this.equalityKey())):!1:FT(this.modelValue(),e,this.equalityKey())}isOptionMatched(e,t){return this.isValidOption(e)&&this.getOptionLabel(e).toLocaleLowerCase(this.searchLocale)===t.toLocaleLowerCase(this.searchLocale)}isInputClicked(e){return e.target===this.inputEL?.nativeElement}isDropdownClicked(e){return this.dropdownButton?.nativeElement?e.target===this.dropdownButton.nativeElement||this.dropdownButton.nativeElement.contains(e.target):!1}equalityKey(){return this.optionValue?void 0:this.dataKey}onContainerClick(e){this.$disabled()||this.loading||this.isInputClicked(e)||this.isDropdownClicked(e)||(!this.overlayViewChild||!this.overlayViewChild.overlayViewChild?.nativeElement.contains(e.target))&&xi(this.inputEL?.nativeElement)}handleDropdownClick(e){let t;this.overlayVisible?this.hide(!0):(xi(this.inputEL?.nativeElement),t=this.inputEL?.nativeElement?.value,this.dropdownMode===`blank`?this.search(e,``,`dropdown`):this.dropdownMode===`current`&&this.search(e,t,`dropdown`)),this.onDropdownClick.emit({originalEvent:e,query:t})}onInput(e){if(this.typeahead){let t=this.minQueryLength||this.minLength;this.searchTimeout&&clearTimeout(this.searchTimeout);let n=e.target.value;this.maxlength()!==null&&(n=n.split(``).slice(0,this.maxlength()).join(``)),!this.multiple&&!this.forceSelection&&this.updateModel(n),n.length===0&&!this.multiple?(this.onClear.emit(),setTimeout(()=>{this.hide()},this.delay/2)):n.length>=t?(this.focusedOptionIndex.set(-1),this.searchTimeout=setTimeout(()=>{this.search(e,n,`input`)},this.delay)):this.hide()}}onInputChange(e){this.updateInputWithForceSelection(e)}onInputFocus(e){if(this.$disabled())return;!this.dirty&&this.completeOnFocus&&this.search(e,e.target.value,`focus`),this.dirty=!0,this.focused=!0;let t=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(t),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(e)}onMultipleContainerFocus(e){this.$disabled()||(this.focused=!0)}onMultipleContainerBlur(e){this.focusedMultipleOptionIndex.set(-1),this.focused=!1}onMultipleContainerKeyDown(e){if(this.$disabled()){e.preventDefault();return}switch(e.code){case`ArrowLeft`:this.onArrowLeftKeyOnMultiple(e);break;case`ArrowRight`:this.onArrowRightKeyOnMultiple(e);break;case`Backspace`:this.onBackspaceKeyOnMultiple(e);break;default:break}}onInputBlur(e){if(this.dirty=!1,this.focused=!1,this.focusedOptionIndex.set(-1),this.addOnBlur&&this.multiple&&!this.typeahead){let t=(this.multiInputEl?.nativeElement?.value||e.target.value||``).trim();t&&!this.isSelected(t)&&(this.updateModel([...this.modelValue()||[],t]),this.onAdd.emit({originalEvent:e,value:t}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value=``:e.target.value=``)}this.onModelTouched(),this.onBlur.emit(e)}onInputPaste(e){if(this.separator&&this.multiple&&!this.typeahead){let t=(e.clipboardData||window.clipboardData)?.getData(`Text`);if(t){let n=t.split(this.separator),o=[...this.modelValue()||[]];if(n.forEach(l=>{let f=l.trim();f&&!this.isSelected(f)&&o.push(f)}),o.length>(this.modelValue()||[]).length){let l=o.slice((this.modelValue()||[]).length);this.updateModel(o),l.forEach(f=>{this.onAdd.emit({originalEvent:e,value:f})}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value=``:e.target.value=``,e.preventDefault()}}}else this.onKeyDown(e)}onInputKeyUp(e){this.onKeyUp.emit(e)}onKeyDown(e){if(this.$disabled()){e.preventDefault();return}switch(this.onInputKeydown.emit(e),e.code){case`ArrowDown`:this.onArrowDownKey(e);break;case`ArrowUp`:this.onArrowUpKey(e);break;case`ArrowLeft`:this.onArrowLeftKey(e);break;case`ArrowRight`:this.onArrowRightKey(e);break;case`Home`:this.onHomeKey(e);break;case`End`:this.onEndKey(e);break;case`PageDown`:this.onPageDownKey(e);break;case`PageUp`:this.onPageUpKey(e);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);break;case`ShiftLeft`:case`ShiftRight`:break;default:this.handleSeparatorKey(e);break}}handleSeparatorKey(e){if(this.separator&&this.multiple&&!this.typeahead&&(this.separator===e.key||typeof this.separator==`string`&&e.key===this.separator||this.separator instanceof RegExp&&e.key.match(this.separator))){let t=(this.multiInputEl?.nativeElement?.value||e.target.value||``).trim();t&&!this.isSelected(t)&&(this.updateModel([...this.modelValue()||[],t]),this.onAdd.emit({originalEvent:e,value:t}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value=``:e.target.value=``,e.preventDefault())}}onArrowDownKey(e){if(!this.overlayVisible)return;let t=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,t),e.preventDefault(),e.stopPropagation()}onArrowUpKey(e){if(this.overlayVisible)if(e.altKey)this.focusedOptionIndex()!==-1&&this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]),this.overlayVisible&&this.hide(),e.preventDefault();else{let t=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,t),e.preventDefault(),e.stopPropagation()}}onArrowLeftKey(e){let t=e.currentTarget;this.focusedOptionIndex.set(-1),this.multiple&&(X4(t.value)&&this.hasSelectedOption()?(xi(this.multiContainerEL?.nativeElement),this.focusedMultipleOptionIndex.set(this.modelValue().length)):e.stopPropagation())}onArrowRightKey(e){this.focusedOptionIndex.set(-1),this.multiple&&e.stopPropagation()}onHomeKey(e){let{currentTarget:t}=e,n=t.value.length;t.setSelectionRange(0,e.shiftKey?n:0),this.focusedOptionIndex.set(-1),e.preventDefault()}onEndKey(e){let{currentTarget:t}=e,n=t.value.length;t.setSelectionRange(e.shiftKey?0:n,n),this.focusedOptionIndex.set(-1),e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onEnterKey(e){if(!this.typeahead&&!this.forceSelection&&this.multiple){let t=e.target.value?.trim();t&&!this.isSelected(t)&&(this.updateModel([...this.modelValue()||[],t]),this.onAdd.emit({originalEvent:e,value:t}),this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=``))}if(this.overlayVisible)this.focusedOptionIndex()!==-1&&this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]),this.hide();else return;e.preventDefault()}onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault()}onTabKey(e){if(this.focusedOptionIndex()!==-1){this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]);return}if(this.multiple&&!this.typeahead){let t=(this.multiInputEl?.nativeElement?.value||this.inputEL?.nativeElement?.value||``).trim();if(this.addOnTab&&t&&!this.isSelected(t)){this.updateModel([...this.modelValue()||[],t]),this.onAdd.emit({originalEvent:e,value:t}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value=``:this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=``),this.updateInputValue(),e.preventDefault(),this.overlayVisible&&this.hide();return}}this.overlayVisible&&this.hide()}onBackspaceKey(e){if(this.multiple){if(kT(this.modelValue())&&!this.inputEL?.nativeElement?.value){let t=this.modelValue()[this.modelValue().length-1],n=this.modelValue().slice(0,-1);this.updateModel(n),this.onUnselect.emit({originalEvent:e,value:t})}e.stopPropagation()}}onArrowLeftKeyOnMultiple(e){let t=this.focusedMultipleOptionIndex()<1?0:this.focusedMultipleOptionIndex()-1;this.focusedMultipleOptionIndex.set(t)}onArrowRightKeyOnMultiple(e){let t=this.focusedMultipleOptionIndex();t++,this.focusedMultipleOptionIndex.set(t),t>this.modelValue().length-1&&(this.focusedMultipleOptionIndex.set(-1),xi(this.inputEL?.nativeElement))}onBackspaceKeyOnMultiple(e){this.focusedMultipleOptionIndex()!==-1&&this.removeOption(e,this.focusedMultipleOptionIndex())}onOptionSelect(e,t,n=!0){this.multiple?(this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=``),this.isSelected(t)||this.updateModel([...this.modelValue()||[],t])):this.updateModel(t),this.onSelect.emit({originalEvent:e,value:t}),n&&this.hide(!0)}onOptionMouseEnter(e,t){this.focusOnHover&&this.changeFocusedOptionIndex(e,t)}search(e,t,n){t!=null&&(n===`input`&&t.trim().length===0||(this.loading=!0,this.completeMethod.emit({originalEvent:e,query:t})))}removeOption(e,t){e.stopPropagation();let n=this.modelValue()[t],o=this.modelValue().filter((l,f)=>f!==t);this.updateModel(o),this.onUnselect.emit({originalEvent:e,value:n}),xi(this.inputEL?.nativeElement)}updateModel(e){let t=null;e&&(t=this.multiple?e.map(n=>this.getOptionValue(n)):this.getOptionValue(e)),this.value=t,this.writeModelValue(e),this.onModelChange(t),this.updateInputValue(),this.cd.markForCheck()}updateInputValue(){this.inputEL&&this.inputEL.nativeElement&&(this.multiple?this.inputEL.nativeElement.value=``:this.inputEL.nativeElement.value=this.inputValue())}updateInputWithForceSelection(e){let t=this.inputEL?.nativeElement,n=!t?.value&&kT(this.modelValue());if(!this.forceSelection||this.overlayVisible||!t?.value&&!n)return;let o=this.minQueryLength??this.minLength;if(!n&&t.value.length<o)return;let l=this.visibleOptions()?.find(f=>this.isOptionMatched(f,t.value));if(!l){t.value=``,this.multiple||this.clear();return}l&&!this.isSelected(l)&&this.onOptionSelect(e,l)}autoUpdateModel(){if((this.selectOnFocus||this.autoHighlight)&&this.autoOptionFocus&&!this.hasSelectedOption()){let e=this.findFirstFocusedOptionIndex();this.focusedOptionIndex.set(e),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)}}scrollInView(e=-1){let t=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let n=wi(this.itemsViewChild.nativeElement,`li[id="${t}"]`);n?n.scrollIntoView&&n.scrollIntoView({block:`nearest`,inline:`nearest`}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}changeFocusedOptionIndex(e,t){this.focusedOptionIndex()!==t&&(this.focusedOptionIndex.set(t),this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(e,this.visibleOptions()[t],!1))}show(e=!1){this.dirty=!0,this.overlayVisible=!0;let t=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(t),e&&xi(this.inputEL?.nativeElement),e&&xi(this.inputEL?.nativeElement),this.onShow.emit(),this.cd.markForCheck()}hide(e=!1){let t=()=>{this.dirty=e,this.overlayVisible=!1,this.focusedOptionIndex.set(-1),e&&xi(this.inputEL?.nativeElement),this.onHide.emit(),this.updateInputWithForceSelection(null),this.cd.markForCheck()};setTimeout(()=>{t()},0)}clear(){this.updateModel(null),this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=``),this.onClear.emit()}hasSelectedOption(){return kT(this.modelValue())}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(t=>this.isOptionGroup(t)).length:e)+1}getOptionLabel(e){return this.optionLabel?_m(e,this.optionLabel):e&&e.label!=null?e.label:e}getOptionValue(e){return this.optionValue?_m(e,this.optionValue):e&&e.value!=null?e.value:e}getOptionIndex(e,t){return this.virtualScrollerDisabled?e:t&&t.getItemOptions(e).index}getOptionGroupLabel(e){return this.optionGroupLabel?_m(e,this.optionGroupLabel):e&&e.label!=null?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?_m(e,this.optionGroupChildren):e.items}getPTOptions(e,t,n,o){return this.ptm(o,{context:{option:e,index:this.getOptionIndex(n,t),selected:this.isSelected(e),focused:this.focusedOptionIndex()===this.getOptionIndex(n,t),disabled:this.isOptionDisabled(e)}})}onOverlayBeforeEnter(){if(this.itemsWrapper=wi(this.overlayViewChild.overlayViewChild?.nativeElement,this.virtualScroll?`[data-pc-name="virtualscroller"]`:`[data-pc-name="pcoverlay"]`),this.virtualScroll&&(this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.scroller?.viewInit()),this.visibleOptions()&&this.visibleOptions().length)if(this.virtualScroll){let e=this.modelValue()?this.focusedOptionIndex():-1;e!==-1&&this.scroller?.scrollToIndex(e)}else{let e=wi(this.itemsWrapper,`[data-pc-section="option"][data-p-selected="true"]`);e&&e.scrollIntoView({block:`nearest`,inline:`center`})}}get containerDataP(){return this.cn({fluid:this.hasFluid})}get overlayDataP(){return this.cn({[`overlay-${this.$appendTo()}`]:!0})}get inputMultipleDataP(){return this.cn({invalid:this.invalid(),disabled:this.$disabled(),focus:this.focused,fluid:this.hasFluid,filled:this.$variant()===`filled`,empty:!this.$filled(),[this.size()]:this.size()})}writeControlValue(e,t){if(this.multiple){let n=(e||[]).map(o=>this.visibleOptions().find(f=>FT(o,f,this.equalityKey()))??o);t(X4(e)?e:n)}else{let n=this.visibleOptions().find(o=>FT(e,o,this.equalityKey()));t(X4(n)?e:n)}this.value=e,this.updateInputValue(),this.cd.markForCheck()}onDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static ɵfac=function(t){return new(t||i)(fe(Gxe),fe(se))};static ɵcmp=$a({type:i,selectors:[[`p-autoComplete`],[`p-autocomplete`],[`p-auto-complete`]],contentQueries:function(t,n,o){if(t&1&&sh(o,We,5)(o,Ze,5)(o,Je,5)(o,Xe,5)(o,Ye,5)(o,et,5)(o,tt,5)(o,nt,5)(o,it,5)(o,ot,5)(o,lt,5)(o,qxe,4),t&2){let l;qb(l=Yb())&&(n.itemTemplate=l.first),qb(l=Yb())&&(n.emptyTemplate=l.first),qb(l=Yb())&&(n.headerTemplate=l.first),qb(l=Yb())&&(n.footerTemplate=l.first),qb(l=Yb())&&(n.selectedItemTemplate=l.first),qb(l=Yb())&&(n.groupTemplate=l.first),qb(l=Yb())&&(n.loaderTemplate=l.first),qb(l=Yb())&&(n.removeIconTemplate=l.first),qb(l=Yb())&&(n.loadingIconTemplate=l.first),qb(l=Yb())&&(n.clearIconTemplate=l.first),qb(l=Yb())&&(n.dropdownIconTemplate=l.first),qb(l=Yb())&&(n.templates=l)}},viewQuery:function(t,n){if(t&1&&Gx(at,5)(pt,5)(rt,5)(st,5)(ct,5)(ut,5)(dt,5),t&2){let o;qb(o=Yb())&&(n.inputEL=o.first),qb(o=Yb())&&(n.multiInputEl=o.first),qb(o=Yb())&&(n.multiContainerEL=o.first),qb(o=Yb())&&(n.dropdownButton=o.first),qb(o=Yb())&&(n.itemsViewChild=o.first),qb(o=Yb())&&(n.scroller=o.first),qb(o=Yb())&&(n.overlayViewChild=o.first)}},hostVars:5,hostBindings:function(t,n){t&1&&rh(`click`,function(l){return n.onHostClick(l)}),t&2&&(eh(`data-p`,n.containerDataP),j$(n.sx(`root`)),$$(n.cn(n.cx(`root`),n.styleClass)))},inputs:{minLength:[2,`minLength`,`minLength`,i3],minQueryLength:[2,`minQueryLength`,`minQueryLength`,i3],delay:[2,`delay`,`delay`,i3],panelStyle:`panelStyle`,styleClass:`styleClass`,panelStyleClass:`panelStyleClass`,inputStyle:`inputStyle`,inputId:`inputId`,inputStyleClass:`inputStyleClass`,placeholder:`placeholder`,readonly:[2,`readonly`,`readonly`,Tu],scrollHeight:`scrollHeight`,lazy:[2,`lazy`,`lazy`,Tu],virtualScroll:[2,`virtualScroll`,`virtualScroll`,Tu],virtualScrollItemSize:[2,`virtualScrollItemSize`,`virtualScrollItemSize`,i3],virtualScrollOptions:`virtualScrollOptions`,autoHighlight:[2,`autoHighlight`,`autoHighlight`,Tu],forceSelection:[2,`forceSelection`,`forceSelection`,Tu],type:`type`,autoZIndex:[2,`autoZIndex`,`autoZIndex`,Tu],baseZIndex:[2,`baseZIndex`,`baseZIndex`,i3],ariaLabel:`ariaLabel`,dropdownAriaLabel:`dropdownAriaLabel`,ariaLabelledBy:`ariaLabelledBy`,dropdownIcon:`dropdownIcon`,unique:[2,`unique`,`unique`,Tu],group:[2,`group`,`group`,Tu],completeOnFocus:[2,`completeOnFocus`,`completeOnFocus`,Tu],showClear:[2,`showClear`,`showClear`,Tu],dropdown:[2,`dropdown`,`dropdown`,Tu],showEmptyMessage:[2,`showEmptyMessage`,`showEmptyMessage`,Tu],dropdownMode:`dropdownMode`,multiple:[2,`multiple`,`multiple`,Tu],addOnTab:[2,`addOnTab`,`addOnTab`,Tu],tabindex:[2,`tabindex`,`tabindex`,i3],dataKey:`dataKey`,emptyMessage:`emptyMessage`,showTransitionOptions:`showTransitionOptions`,hideTransitionOptions:`hideTransitionOptions`,autofocus:[2,`autofocus`,`autofocus`,Tu],autocomplete:`autocomplete`,optionGroupChildren:`optionGroupChildren`,optionGroupLabel:`optionGroupLabel`,overlayOptions:`overlayOptions`,suggestions:`suggestions`,optionLabel:`optionLabel`,optionValue:`optionValue`,id:`id`,searchMessage:`searchMessage`,emptySelectionMessage:`emptySelectionMessage`,selectionMessage:`selectionMessage`,autoOptionFocus:[2,`autoOptionFocus`,`autoOptionFocus`,Tu],selectOnFocus:[2,`selectOnFocus`,`selectOnFocus`,Tu],searchLocale:[2,`searchLocale`,`searchLocale`,Tu],optionDisabled:`optionDisabled`,focusOnHover:[2,`focusOnHover`,`focusOnHover`,Tu],typeahead:[2,`typeahead`,`typeahead`,Tu],addOnBlur:[2,`addOnBlur`,`addOnBlur`,Tu],separator:`separator`,appendTo:[1,`appendTo`],motionOptions:[1,`motionOptions`]},outputs:{completeMethod:`completeMethod`,onSelect:`onSelect`,onUnselect:`onUnselect`,onAdd:`onAdd`,onFocus:`onFocus`,onBlur:`onBlur`,onDropdownClick:`onDropdownClick`,onClear:`onClear`,onInputKeydown:`onInputKeydown`,onKeyUp:`onKeyUp`,onShow:`onShow`,onHide:`onHide`,onLazyLoad:`onLazyLoad`},features:[f5([gn,Ge,{provide:Qe,useExisting:i},{provide:ge,useExisting:i}]),L2([Z]),ax],decls:9,vars:14,consts:[[`overlay`,``],[`content`,``],[`focusInput`,``],[`multiContainer`,``],[`focusInput`,``,`multiIn`,``],[`token`,``],[`removeicon`,``],[`ddBtn`,``],[`buildInItems`,``],[`scroller`,``],[`loader`,``],[`items`,``],[`empty`,``],[`pInputText`,``,`aria-autocomplete`,`list`,`role`,`combobox`,3,`pAutoFocus`,`pt`,`class`,`ngStyle`,`variant`,`invalid`,`pSize`,`fluid`,`pInputTextUnstyled`,`input`,`keydown`,`change`,`focus`,`blur`,`paste`,`keyup`,4,`ngIf`],[4,`ngIf`],[`role`,`listbox`,3,`pBind`,`class`,`tabindex`,`focus`,`blur`,`keydown`,4,`ngIf`],[`type`,`button`,`pRipple`,``,3,`pBind`,`class`,`disabled`,`click`,4,`ngIf`],[3,`visibleChange`,`onBeforeEnter`,`onHide`,`hostAttrSelector`,`visible`,`options`,`target`,`appendTo`,`unstyled`,`pt`,`motionOptions`],[`pInputText`,``,`aria-autocomplete`,`list`,`role`,`combobox`,3,`input`,`keydown`,`change`,`focus`,`blur`,`paste`,`keyup`,`pAutoFocus`,`pt`,`ngStyle`,`variant`,`invalid`,`pSize`,`fluid`,`pInputTextUnstyled`],[`data-p-icon`,`times`,3,`pBind`,`class`,`click`,4,`ngIf`],[3,`pBind`,`class`,`click`,4,`ngIf`],[`data-p-icon`,`times`,3,`click`,`pBind`],[3,`click`,`pBind`],[4,`ngTemplateOutlet`],[`role`,`listbox`,3,`focus`,`blur`,`keydown`,`pBind`,`tabindex`],[`role`,`option`,3,`pBind`,`class`,4,`ngFor`,`ngForOf`],[`role`,`option`,3,`pBind`],[`role`,`combobox`,`aria-autocomplete`,`list`,3,`input`,`keydown`,`change`,`focus`,`blur`,`paste`,`keyup`,`pAutoFocus`,`pBind`,`ngStyle`],[3,`onRemove`,`pt`,`label`,`disabled`,`removable`,`unstyled`],[4,`ngTemplateOutlet`,`ngTemplateOutletContext`],[3,`pBind`,4,`ngIf`],[`data-p-icon`,`times-circle`],[3,`pBind`],[`data-p-icon`,`spinner`,3,`pBind`,`class`,`spin`,4,`ngIf`],[3,`pBind`,`class`,4,`ngIf`],[`data-p-icon`,`spinner`,3,`pBind`,`spin`],[`type`,`button`,`pRipple`,``,3,`click`,`pBind`,`disabled`],[3,`ngClass`,4,`ngIf`],[3,`ngClass`],[`data-p-icon`,`chevron-down`,3,`pBind`,4,`ngIf`],[`data-p-icon`,`chevron-down`,3,`pBind`],[3,`pBind`,`ngStyle`],[3,`pBind`,`tabindex`],[3,`tabindex`,`pt`,`items`,`style`,`itemSize`,`autoSize`,`lazy`,`options`,`onLazyLoad`,4,`ngIf`],[`role`,`status`,`aria-live`,`polite`,1,`p-hidden-accessible`],[3,`onLazyLoad`,`tabindex`,`pt`,`items`,`itemSize`,`autoSize`,`lazy`,`options`],[`role`,`listbox`,3,`pBind`],[`ngFor`,``,3,`ngForOf`],[`role`,`option`,3,`pBind`,`class`,`ngStyle`,4,`ngIf`],[`role`,`option`,3,`pBind`,`ngStyle`],[`pRipple`,``,`role`,`option`,3,`click`,`mouseenter`,`pBind`,`ngStyle`],[4,`ngIf`,`ngIfElse`]],template:function(t,n){if(t&1){let o=jV();lx(0,xt,2,32,`input`,13)(1,Ct,3,2,`ng-container`,14)(2,At,7,37,`ul`,15)(3,Kt,3,2,`ng-container`,14)(4,Pt,4,8,`button`,16),wp(5,`p-overlay`,17,0),fA(`visibleChange`,function(f){return CI(o),o5(n.overlayVisible,f)||(n.overlayVisible=f),DI(f)}),rh(`onBeforeEnter`,function(){return n.onOverlayBeforeEnter()})(`onHide`,function(){return n.hide()}),lx(7,dn,10,15,`ng-template`,null,1,_5),Bb()}t&2&&(Ex(`ngIf`,!n.multiple),$B(),Ex(`ngIf`,n.$filled()&&!n.$disabled()&&n.showClear&&!n.loading),$B(),Ex(`ngIf`,n.multiple),$B(),Ex(`ngIf`,n.loading),$B(),Ex(`ngIf`,n.dropdown),$B(),Ex(`hostAttrSelector`,n.$attrSelector),dA(`visible`,n.overlayVisible),Ex(`options`,n.overlayOptions)(`target`,`@parent`)(`appendTo`,n.$appendTo())(`unstyled`,n.unstyled())(`pt`,n.ptm(`pcOverlay`))(`motionOptions`,n.motionOptions()),eh(`data-p`,n.overlayDataP))},dependencies:[Au,O3,fR,L3,k3,P3,Ii,us,co,nn$1,Sr,ae,Ht$1,Kn,Xe$1,Yxe,rr,qo,Z],encapsulation:2})}return i})();var Zn=(()=>{class i{static ɵfac=function(t){return new(t||i)};static ɵmod=Vn({type:i});static ɵinj=Cn({imports:[je,Yxe,Yxe]})}return i})();var w=class n{inputId=ph.required();small=ph(!1,{transform:Tu});selectedItems=Rhe([]);placeholder=Rhe("Zadajte novú značku");separator;ngOnInit(){i()&&(this.separator=`,`,this.placeholder.set("Na pridanie tagu použite čiarku (,)"))}propagateChange=e=>{};writeValue(e){this.selectedItems.set(e)}registerOnChange(e){this.propagateChange=e}registerOnTouched(){}onModelChange(){this.propagateChange(this.selectedItems())}static ɵfac=function(o){return new(o||n)};static ɵcmp=$a({type:n,selectors:[[`my-select-tags`]],inputs:{inputId:[1,`inputId`],small:[1,`small`],selectedItems:[1,`selectedItems`],placeholder:[1,`placeholder`]},outputs:{selectedItems:`selectedItemsChange`,placeholder:`placeholderChange`},features:[f5([{provide:D,useExisting:wf(()=>n),multi:!0}])],decls:1,vars:7,consts:[[`multiple`,`true`,1,`w-100`,3,`ngModelChange`,`ngModel`,`placeholder`,`inputId`,`separator`,`typeahead`]],template:function(o,t){o&1&&(wp(0,`p-autoComplete`,0),fA(`ngModelChange`,function(a){return o5(t.selectedItems,a)||(t.selectedItems=a),a}),rh(`ngModelChange`,function(){return t.onModelChange()}),Bb(),Vj()),o&2&&(Qx(`small`,t.small()),dA(`ngModel`,t.selectedItems),Ex(`placeholder`,t.placeholder())(`inputId`,t.inputId())(`separator`,t.separator)(`typeahead`,!1),Gj())},dependencies:[Zn,je,Jn,qn,ln$1],encapsulation:2,changeDetection:1})};var H=n=>{if(!n.value)return null;let e=KAe(n.value);return e.every(o=>e.indexOf(o)===e.lastIndexOf(o))?null:{unique:{reason:`invalid`}}};export{je as i,w as n,Zn as r,H as t};
//# debugId=cf73a3c4-768a-59ef-a30e-16e3989ed638
//# sourceMappingURL=chunk-DzDmtByK2.js.map