{"version":3,"sources":["node_modules/primeng/fesm2022/primeng-chip.mjs","node_modules/primeng/fesm2022/primeng-multiselect.mjs"],"sourcesContent":["import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, inject, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport { TranslationKeys, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesCircleIcon } from 'primeng/icons';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-chip {\n display: inline-flex;\n align-items: center;\n background: ${dt('chip.background')};\n color: ${dt('chip.color')};\n border-radius: ${dt('chip.border.radius')};\n padding: ${dt('chip.padding.y')} ${dt('chip.padding.x')};\n gap: ${dt('chip.gap')};\n}\n\n.p-chip-icon {\n color: ${dt('chip.icon.color')};\n font-size: ${dt('chip.icon.font.size')};\n width: ${dt('chip.icon.size')};\n height: ${dt('chip.icon.size')};\n}\n\n.p-chip-image {\n border-radius: 50%;\n width: ${dt('chip.image.width')};\n height: ${dt('chip.image.height')};\n margin-left: calc(-1 * ${dt('chip.padding.y')});\n}\n\n.p-chip:has(.p-chip-remove-icon) {\n padding-inline-end: ${dt('chip.padding.y')};\n}\n\n.p-chip:has(.p-chip-image) {\n padding-top: calc(${dt('chip.padding.y')} / 2);\n padding-bottom: calc(${dt('chip.padding.y')} / 2);\n}\n\n.p-chip-remove-icon {\n cursor: pointer;\n font-size: ${dt('chip.remove.icon.font.size')};\n width: ${dt('chip.remove.icon.size')};\n height: ${dt('chip.remove.icon.size')};\n color: ${dt('chip.remove.icon.color')};\n border-radius: 50%;\n transition: outline-color ${dt('chip.transition.duration')}, box-shadow ${dt('chip.transition.duration')};\n outline-color: transparent;\n}\n\n.p-chip-remove-icon:focus-visible {\n box-shadow: ${dt('chip.remove.icon.focus.ring.shadow')};\n outline: ${dt('chip.remove.icon.focus.ring.width')} ${dt('chip.remove.icon.focus.ring.style')} ${dt('chip.remove.icon.focus.ring.color')};\n outline-offset: ${dt('chip.remove.icon.focus.ring.offset')};\n}\n`;\nconst classes = {\n root: 'p-chip p-component',\n image: 'p-chip-image',\n icon: 'p-chip-icon',\n label: 'p-chip-label',\n removeIcon: 'p-chip-remove-icon'\n};\nlet ChipStyle = /*#__PURE__*/(() => {\n class ChipStyle extends BaseStyle {\n name = 'chip';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵChipStyle_BaseFactory;\n return function ChipStyle_Factory(__ngFactoryType__) {\n return (ɵChipStyle_BaseFactory || (ɵChipStyle_BaseFactory = i0.ɵɵgetInheritedFactory(ChipStyle)))(__ngFactoryType__ || ChipStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: ChipStyle,\n factory: ChipStyle.ɵfac\n });\n }\n return ChipStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Chip represents people using icons, labels and images.\n *\n * [Live Demo](https://www.primeng.org/chip)\n *\n * @module chipstyle\n *\n */\nvar ChipClasses = /*#__PURE__*/function (ChipClasses) {\n /**\n * Class name of the root element\n */\n ChipClasses[\"root\"] = \"p-chip\";\n /**\n * Class name of the image element\n */\n ChipClasses[\"image\"] = \"p-chip-image\";\n /**\n * Class name of the icon element\n */\n ChipClasses[\"icon\"] = \"p-chip-icon\";\n /**\n * Class name of the label element\n */\n ChipClasses[\"label\"] = \"p-chip-label\";\n /**\n * Class name of the remove icon element\n */\n ChipClasses[\"removeIcon\"] = \"p-chip-remove-icon\";\n return ChipClasses;\n}(ChipClasses || {});\nconst _c0 = [\"removeicon\"];\nconst _c1 = [\"*\"];\nfunction Chip_img_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"img\", 4);\n i0.ɵɵlistener(\"error\", function Chip_img_1_Template_img_error_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.imageError($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"src\", ctx_r1.image, i0.ɵɵsanitizeUrl)(\"alt\", ctx_r1.alt);\n }\n}\nfunction Chip_ng_template_2_span_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 6);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵclassMap(ctx_r1.icon);\n i0.ɵɵproperty(\"ngClass\", \"p-chip-icon\");\n i0.ɵɵattribute(\"data-pc-section\", \"icon\");\n }\n}\nfunction Chip_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Chip_ng_template_2_span_0_Template, 1, 4, \"span\", 5);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.icon);\n }\n}\nfunction Chip_div_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 7);\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵattribute(\"data-pc-section\", \"label\");\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.label);\n }\n}\nfunction Chip_ng_container_5_ng_container_1_span_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 11);\n i0.ɵɵlistener(\"click\", function Chip_ng_container_5_ng_container_1_span_1_Template_span_click_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.close($event));\n })(\"keydown\", function Chip_ng_container_5_ng_container_1_span_1_Template_span_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.onKeydown($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵclassMap(ctx_r1.removeIcon);\n i0.ɵɵproperty(\"ngClass\", \"p-chip-remove-icon\");\n i0.ɵɵattribute(\"data-pc-section\", \"removeicon\")(\"aria-label\", ctx_r1.removeAriaLabel);\n }\n}\nfunction Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"TimesCircleIcon\", 12);\n i0.ɵɵlistener(\"click\", function Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template_TimesCircleIcon_click_0_listener($event) {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.close($event));\n })(\"keydown\", function Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template_TimesCircleIcon_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.onKeydown($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵclassMap(\"p-chip-remove-icon\");\n i0.ɵɵattribute(\"data-pc-section\", \"removeicon\")(\"aria-label\", ctx_r1.removeAriaLabel);\n }\n}\nfunction Chip_ng_container_5_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Chip_ng_container_5_ng_container_1_span_1_Template, 1, 5, \"span\", 9)(2, Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template, 1, 4, \"TimesCircleIcon\", 10);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.removeIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.removeIcon);\n }\n}\nfunction Chip_ng_container_5_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction Chip_ng_container_5_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Chip_ng_container_5_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Chip_ng_container_5_span_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 13);\n i0.ɵɵlistener(\"click\", function Chip_ng_container_5_span_2_Template_span_click_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.close($event));\n })(\"keydown\", function Chip_ng_container_5_span_2_Template_span_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onKeydown($event));\n });\n i0.ɵɵtemplate(1, Chip_ng_container_5_span_2_1_Template, 1, 0, null, 14);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"removeicon\")(\"aria-label\", ctx_r1.removeAriaLabel);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.removeIconTemplate || ctx_r1._removeIconTemplate);\n }\n}\nfunction Chip_ng_container_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Chip_ng_container_5_ng_container_1_Template, 3, 2, \"ng-container\", 3)(2, Chip_ng_container_5_span_2_Template, 2, 3, \"span\", 8);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.removeIconTemplate && !ctx_r1._removeIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.removeIconTemplate || ctx_r1._removeIconTemplate);\n }\n}\n/**\n * Chip represents people using icons, labels and images.\n * @group Components\n */\nlet Chip = /*#__PURE__*/(() => {\n class Chip extends BaseComponent {\n /**\n * Defines the text to display.\n * @group Props\n */\n label;\n /**\n * Defines the icon to display.\n * @group Props\n */\n icon;\n /**\n * Defines the image to display.\n * @group Props\n */\n image;\n /**\n * Alt attribute of the image.\n * @group Props\n */\n alt;\n /**\n * Inline style of the element.\n * @group Props\n */\n style;\n /**\n * Class of the element.\n * @group Props\n */\n styleClass;\n /**\n * Whether to display a remove icon.\n * @group Props\n */\n removable = false;\n /**\n * Icon of the remove element.\n * @group Props\n */\n removeIcon;\n /**\n * Callback to invoke when a chip is removed.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n onRemove = new EventEmitter();\n /**\n * This event is triggered if an error occurs while loading an image file.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onImageError = new EventEmitter();\n visible = true;\n get removeAriaLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['removeLabel'];\n }\n /**\n * Used to pass all properties of the chipProps to the Chip component.\n * @group Props\n */\n get chipProps() {\n return this._chipProps;\n }\n set chipProps(val) {\n this._chipProps = val;\n if (val && typeof val === 'object') {\n //@ts-ignore\n Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));\n }\n }\n _chipProps;\n _componentStyle = inject(ChipStyle);\n removeIconTemplate;\n templates;\n _removeIconTemplate;\n ngAfterContentInit() {\n this.templates.forEach(item => {\n switch (item.getType()) {\n case 'removeicon':\n this._removeIconTemplate = item.template;\n break;\n default:\n this._removeIconTemplate = item.template;\n break;\n }\n });\n }\n ngOnChanges(simpleChanges) {\n super.ngOnChanges(simpleChanges);\n if (simpleChanges.chipProps && simpleChanges.chipProps.currentValue) {\n const {\n currentValue\n } = simpleChanges.chipProps;\n if (currentValue.label !== undefined) {\n this.label = currentValue.label;\n }\n if (currentValue.icon !== undefined) {\n this.icon = currentValue.icon;\n }\n if (currentValue.image !== undefined) {\n this.image = currentValue.image;\n }\n if (currentValue.alt !== undefined) {\n this.alt = currentValue.alt;\n }\n if (currentValue.style !== undefined) {\n this.style = currentValue.style;\n }\n if (currentValue.styleClass !== undefined) {\n this.styleClass = currentValue.styleClass;\n }\n if (currentValue.removable !== undefined) {\n this.removable = currentValue.removable;\n }\n if (currentValue.removeIcon !== undefined) {\n this.removeIcon = currentValue.removeIcon;\n }\n }\n }\n containerClass() {\n let classes = 'p-chip p-component';\n if (this.styleClass) {\n classes += ` ${this.styleClass}`;\n }\n return classes;\n }\n close(event) {\n this.visible = false;\n this.onRemove.emit(event);\n }\n onKeydown(event) {\n if (event.key === 'Enter' || event.key === 'Backspace') {\n this.close(event);\n }\n }\n imageError(event) {\n this.onImageError.emit(event);\n }\n static ɵfac = /*@__PURE__*/(() => {\n let ɵChip_BaseFactory;\n return function Chip_Factory(__ngFactoryType__) {\n return (ɵChip_BaseFactory || (ɵChip_BaseFactory = i0.ɵɵgetInheritedFactory(Chip)))(__ngFactoryType__ || Chip);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: Chip,\n selectors: [[\"p-chip\"]],\n contentQueries: function Chip_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removeIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n hostVars: 9,\n hostBindings: function Chip_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"chip\")(\"aria-label\", ctx.label)(\"data-pc-section\", \"root\");\n i0.ɵɵstyleMap(ctx.style);\n i0.ɵɵclassMap(ctx.containerClass());\n i0.ɵɵstyleProp(\"display\", !ctx.visible && \"none\");\n }\n },\n inputs: {\n label: \"label\",\n icon: \"icon\",\n image: \"image\",\n alt: \"alt\",\n style: \"style\",\n styleClass: \"styleClass\",\n removable: [2, \"removable\", \"removable\", booleanAttribute],\n removeIcon: \"removeIcon\",\n chipProps: \"chipProps\"\n },\n outputs: {\n onRemove: \"onRemove\",\n onImageError: \"onImageError\"\n },\n features: [i0.ɵɵProvidersFeature([ChipStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c1,\n decls: 6,\n vars: 4,\n consts: [[\"iconTemplate\", \"\"], [\"class\", \"p-chip-image\", 3, \"src\", \"alt\", \"error\", 4, \"ngIf\", \"ngIfElse\"], [\"class\", \"p-chip-label\", 4, \"ngIf\"], [4, \"ngIf\"], [1, \"p-chip-image\", 3, \"error\", \"src\", \"alt\"], [3, \"class\", \"ngClass\", 4, \"ngIf\"], [3, \"ngClass\"], [1, \"p-chip-label\"], [\"tabindex\", \"0\", \"class\", \"p-chip-remove-icon\", \"role\", \"button\", 3, \"click\", \"keydown\", 4, \"ngIf\"], [\"tabindex\", \"0\", \"role\", \"button\", 3, \"class\", \"ngClass\", \"click\", \"keydown\", 4, \"ngIf\"], [\"tabindex\", \"0\", \"role\", \"button\", 3, \"class\", \"click\", \"keydown\", 4, \"ngIf\"], [\"tabindex\", \"0\", \"role\", \"button\", 3, \"click\", \"keydown\", \"ngClass\"], [\"tabindex\", \"0\", \"role\", \"button\", 3, \"click\", \"keydown\"], [\"tabindex\", \"0\", \"role\", \"button\", 1, \"p-chip-remove-icon\", 3, \"click\", \"keydown\"], [4, \"ngTemplateOutlet\"]],\n template: function Chip_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n i0.ɵɵtemplate(1, Chip_img_1_Template, 1, 2, \"img\", 1)(2, Chip_ng_template_2_Template, 1, 1, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(4, Chip_div_4_Template, 2, 2, \"div\", 2)(5, Chip_ng_container_5_Template, 3, 2, \"ng-container\", 3);\n }\n if (rf & 2) {\n const iconTemplate_r6 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.image)(\"ngIfElse\", iconTemplate_r6);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx.label);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.removable);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, TimesCircleIcon, SharedModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return Chip;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ChipModule = /*#__PURE__*/(() => {\n class ChipModule {\n static ɵfac = function ChipModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ChipModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: ChipModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [Chip, SharedModule, SharedModule]\n });\n }\n return ChipModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(ChipModule, {\n imports: [Chip, SharedModule],\n exports: [Chip, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Chip, ChipClasses, ChipModule, ChipStyle };\n","import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, inject, signal, computed, effect, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, HostBinding, NgModule } from '@angular/core';\nimport * as i2 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { deepEquals, isNotEmpty, isArray, isObject, uuid, equals, focus, findLastIndex, resolveFieldData, isPrintableCharacter, getFirstFocusableElement, getLastFocusableElement, findSingle, unblockBodyScroll, hasClass, isHidden, getFocusableElements } from '@primeuix/utils';\nimport * as i3 from 'primeng/api';\nimport { SharedModule, TranslationKeys, Footer, Header, PrimeTemplate } from 'primeng/api';\nimport { AutoFocus } from 'primeng/autofocus';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Checkbox } from 'primeng/checkbox';\nimport { Chip } from 'primeng/chip';\nimport { DomHandler } from 'primeng/dom';\nimport { IconField } from 'primeng/iconfield';\nimport { CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon } from 'primeng/icons';\nimport { InputIcon } from 'primeng/inputicon';\nimport { InputText } from 'primeng/inputtext';\nimport { Overlay } from 'primeng/overlay';\nimport { Ripple } from 'primeng/ripple';\nimport { Scroller } from 'primeng/scroller';\nimport { Tooltip } from 'primeng/tooltip';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-multiselect {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n background: ${dt('multiselect.background')};\n border: 1px solid ${dt('multiselect.border.color')};\n transition: background ${dt('multiselect.transition.duration')}, color ${dt('multiselect.transition.duration')}, border-color ${dt('multiselect.transition.duration')}, outline-color ${dt('multiselect.transition.duration')}, box-shadow ${dt('multiselect.transition.duration')};\n border-radius: ${dt('multiselect.border.radius')};\n outline-color: transparent;\n box-shadow: ${dt('multiselect.shadow')};\n}\n\n.p-multiselect.ng-invalid.ng-dirty {\n border-color: ${dt('multiselect.invalid.border.color')};\n}\n\n.p-multiselect:not(.p-disabled):hover {\n border-color: ${dt('multiselect.hover.border.color')};\n}\n\n.p-multiselect:not(.p-disabled).p-focus {\n border-color: ${dt('multiselect.focus.border.color')};\n box-shadow: ${dt('multiselect.focus.ring.shadow')};\n outline: ${dt('multiselect.focus.ring.width')} ${dt('multiselect.focus.ring.style')} ${dt('multiselect.focus.ring.color')};\n outline-offset: ${dt('multiselect.focus.ring.offset')};\n}\n\n.p-multiselect.p-variant-filled {\n background: ${dt('multiselect.filled.background')};\n}\n\n.p-multiselect.p-variant-filled:not(.p-disabled):hover {\n background: ${dt('multiselect.filled.hover.background')};\n}\n\n.p-multiselect.p-variant-filled.p-focus {\n background: ${dt('multiselect.filled.focus.background')};\n}\n\n.p-multiselect.p-disabled {\n opacity: 1;\n background: ${dt('multiselect.disabled.background')};\n}\n\n.p-multiselect-dropdown {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: transparent;\n color: ${dt('multiselect.dropdown.color')};\n width: ${dt('multiselect.dropdown.width')};\n border-start-end-radius: ${dt('multiselect.border.radius')};\n border-end-end-radius: ${dt('multiselect.border.radius')};\n}\n\n.p-multiselect-label-container {\n overflow: hidden;\n flex: 1 1 auto;\n cursor: pointer;\n}\n\n.p-multiselect-label {\n display: flex;\n align-items-center;\n gap: calc(${dt('multiselect.padding.y')} / 2);\n white-space: nowrap;\n cursor: pointer;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: ${dt('multiselect.padding.y')} ${dt('multiselect.padding.x')};\n color: ${dt('multiselect.color')};\n}\n\n.p-multiselect-label.p-placeholder {\n color: ${dt('multiselect.placeholder.color')};\n}\n\np-multiselect.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder {\n color: ${dt('multiselect.invalid.placeholder.color')};\n}\n\n.p-multiselect.p-disabled .p-multiselect-label {\n color: ${dt('multiselect.disabled.color')};\n}\n\n.p-multiselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n}\n\n.p-multiselect .p-multiselect-overlay {\n min-width: 100%;\n}\n\n.p-multiselect-overlay {\n background: ${dt('multiselect.overlay.background')};\n color: ${dt('multiselect.overlay.color')};\n border: 1px solid ${dt('multiselect.overlay.border.color')};\n border-radius: ${dt('multiselect.overlay.border.radius')};\n box-shadow: ${dt('multiselect.overlay.shadow')};\n}\n\n.p-multiselect-header {\n display: flex;\n align-items: center;\n padding: ${dt('multiselect.list.header.padding')};\n}\n\n.p-multiselect-header .p-checkbox {\n margin-inline-end: ${dt('multiselect.option.gap')};\n}\n\n.p-multiselect-filter-container {\n flex: 1 1 auto;\n}\n\n.p-multiselect-filter {\n width: 100%;\n}\n\n.p-multiselect-list-container {\n overflow: auto;\n}\n\n.p-multiselect-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n padding: ${dt('multiselect.list.padding')};\n display: flex;\n flex-direction: column;\n gap: ${dt('multiselect.list.gap')}\n}\n\n.p-multiselect-option {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n display: flex;\n align-items: center;\n gap: ${dt('multiselect.option.gap')};\n padding: ${dt('multiselect.option.padding')};\n border: 0 none;\n color: ${dt('multiselect.option.color')};\n background: transparent;\n transition: background ${dt('multiselect.transition.duration')}, color ${dt('multiselect.transition.duration')}, border-color ${dt('multiselect.transition.duration')}, box-shadow ${dt('multiselect.transition.duration')}, outline-color ${dt('multiselect.transition.duration')};\n border-radius: ${dt('multiselect.option.border.radius')}\n}\n\n.p-multiselect-option:not(.p-multiselect-option-selected):not(.p-disabled).p-focus {\n background: ${dt('multiselect.option.focus.background')};\n color: ${dt('multiselect.option.focus.color')};\n}\n\n.p-multiselect-option.p-multiselect-option-selected {\n background: ${dt('multiselect.option.selected.background')};\n color: ${dt('multiselect.option.selected.color')};\n}\n\n.p-multiselect-option.p-multiselect-option-selected.p-focus {\n background: ${dt('multiselect.option.selected.focus.background')};\n color: ${dt('multiselect.option.selected.focus.color')};\n}\n\n.p-multiselect-option-group {\n cursor: auto;\n margin: 0;\n padding: ${dt('multiselect.option.group.padding')};\n background: ${dt('multiselect.option.group.background')};\n color: ${dt('multiselect.option.group.color')};\n font-weight: ${dt('multiselect.option.group.font.weight')};\n}\n\n.p-multiselect-empty-message {\n padding: ${dt('multiselect.empty.message.padding')};\n}\n\n.p-multiselect-label .p-chip {\n padding-top: calc(${dt('multiselect.padding.y')} / 2);\n padding-bottom: calc(${dt('multiselect.padding.y')} / 2);\n border-radius: ${dt('multiselect.chip.border.radius')};\n}\n\n.p-multiselect-label:has(.p-chip) {\n padding: calc(${dt('multiselect.padding.y')} / 2) calc(${dt('multiselect.padding.x')} / 2);\n}\n\n.p-multiselect-fluid {\n display: flex;\n}\n\n.p-multiselect-sm .p-multiselect-label {\n font-size: ${dt('multiselect.sm.font.size')};\n padding-block: ${dt('multiselect.sm.padding.y')};\n padding-inline: ${dt('multiselect.sm.padding.x')};\n}\n\n.p-multiselect-sm .p-multiselect-dropdown .p-icon {\n font-size: ${dt('multiselect.sm.font.size')};\n width: ${dt('multiselect.sm.font.size')};\n height: ${dt('multiselect.sm.font.size')};\n}\n\n.p-multiselect-lg .p-multiselect-label {\n font-size: ${dt('multiselect.lg.font.size')};\n padding-block: ${dt('multiselect.lg.padding.y')};\n padding-inline: ${dt('multiselect.lg.padding.x')};\n}\n\n.p-multiselect-lg .p-multiselect-dropdown .p-icon {\n font-size: ${dt('multiselect.lg.font.size')};\n width: ${dt('multiselect.lg.font.size')};\n height: ${dt('multiselect.lg.font.size')};\n}\n\n.p-multiselect-clear-icon {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: transparent;\n color: ${dt('multiselect.clear.icon.color')};\n}`;\nconst inlineStyles = {\n root: ({\n props\n }) => ({\n position: props.appendTo === 'self' ? 'relative' : undefined\n })\n};\nconst classes = {\n root: ({\n instance\n }) => ({\n 'p-multiselect p-component p-inputwrapper': true,\n 'p-multiselect-display-chip': instance.display === 'chip',\n 'p-disabled': instance.disabled,\n 'p-invalid': instance.invalid,\n 'p-variant-filled': instance.variant ? instance.variant === 'filled' : instance.config.inputStyle === 'filled',\n 'p-focus': instance.focused,\n 'p-inputwrapper-filled': instance.filled,\n 'p-inputwrapper-focus': instance.focused || instance.overlayVisible,\n 'p-multiselect-open': instance.overlayVisible,\n 'p-multiselect-fluid': instance.hasFluid,\n 'p-multiselect-sm p-inputfield-sm': instance.size === 'small',\n 'p-multiselect-lg p-inputfield-lg': instance.size === 'large'\n }),\n labelContainer: 'p-multiselect-label-container',\n label: ({\n instance\n }) => ({\n 'p-multiselect-label': true,\n 'p-placeholder': instance.label() === instance.placeholder(),\n 'p-multiselect-label-empty': !instance.placeholder() && !instance.defaultLabel && (!instance.modelValue() || instance.modelValue().length === 0)\n }),\n chipItem: 'p-multiselect-chip-item',\n pcChip: 'p-multiselect-chip',\n chipIcon: 'p-multiselect-chip-icon',\n dropdown: 'p-multiselect-dropdown',\n loadingIcon: 'p-multiselect-loading-icon',\n dropdownIcon: 'p-multiselect-dropdown-icon',\n overlay: 'p-multiselect-overlay p-component',\n header: 'p-multiselect-header',\n pcFilterContainer: 'p-multiselect-filter-container',\n pcFilter: 'p-multiselect-filter',\n listContainer: 'p-multiselect-list-container',\n list: 'p-multiselect-list',\n optionGroup: 'p-multiselect-option-group',\n option: ({\n instance,\n option,\n index,\n getItemOptions\n }) => ({\n 'p-multiselect-option': true,\n 'p-multiselect-option-selected': instance.isSelected(option) && instance.highlightOnSelect,\n 'p-focus': instance.focusedOptionIndex === instance.getOptionIndex(index, getItemOptions),\n 'p-disabled': instance.isOptionDisabled(option)\n }),\n emptyMessage: 'p-multiselect-empty-message'\n};\nlet MultiSelectStyle = /*#__PURE__*/(() => {\n class MultiSelectStyle extends BaseStyle {\n name = 'multiselect';\n theme = theme;\n classes = classes;\n inlineStyles = inlineStyles;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵMultiSelectStyle_BaseFactory;\n return function MultiSelectStyle_Factory(__ngFactoryType__) {\n return (ɵMultiSelectStyle_BaseFactory || (ɵMultiSelectStyle_BaseFactory = i0.ɵɵgetInheritedFactory(MultiSelectStyle)))(__ngFactoryType__ || MultiSelectStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: MultiSelectStyle,\n factory: MultiSelectStyle.ɵfac\n });\n }\n return MultiSelectStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * MultiSelect is used to select multiple items from a collection.\n *\n * [Live Demo](https://www.primeng.org/multiselect/)\n *\n * @module multiselectstyle\n *\n */\nvar MultiSelectClasses = /*#__PURE__*/function (MultiSelectClasses) {\n /**\n * Class name of the root element\n */\n MultiSelectClasses[\"root\"] = \"p-multiselect\";\n /**\n * Class name of the label container element\n */\n MultiSelectClasses[\"labelContainer\"] = \"p-multiselect-label-container\";\n /**\n * Class name of the label element\n */\n MultiSelectClasses[\"label\"] = \"p-multiselect-label\";\n /**\n * Class name of the chip item element\n */\n MultiSelectClasses[\"chipItem\"] = \"p-multiselect-chip-item\";\n /**\n * Class name of the chip element\n */\n MultiSelectClasses[\"pcChip\"] = \"p-multiselect-chip\";\n /**\n * Class name of the chip icon element\n */\n MultiSelectClasses[\"chipIcon\"] = \"p-multiselect-chip-icon\";\n /**\n * Class name of the dropdown element\n */\n MultiSelectClasses[\"dropdown\"] = \"p-multiselect-dropdown\";\n /**\n * Class name of the loading icon element\n */\n MultiSelectClasses[\"loadingIcon\"] = \"p-multiselect-loading-icon\";\n /**\n * Class name of the dropdown icon element\n */\n MultiSelectClasses[\"dropdownIcon\"] = \"p-multiselect-dropdown-icon\";\n /**\n * Class name of the overlay element\n */\n MultiSelectClasses[\"overlay\"] = \"p-multiselect-overlay\";\n /**\n * Class name of the header element\n */\n MultiSelectClasses[\"header\"] = \"p-multiselect-header\";\n /**\n * Class name of the filter container element\n */\n MultiSelectClasses[\"pcFilterContainer\"] = \"p-multiselect-filter-container\";\n /**\n * Class name of the filter element\n */\n MultiSelectClasses[\"pcFilter\"] = \"p-multiselect-filter\";\n /**\n * Class name of the list container element\n */\n MultiSelectClasses[\"listContainer\"] = \"p-multiselect-list-container\";\n /**\n * Class name of the list element\n */\n MultiSelectClasses[\"list\"] = \"p-multiselect-list\";\n /**\n * Class name of the option group element\n */\n MultiSelectClasses[\"optionGroup\"] = \"p-multiselect-option-group\";\n /**\n * Class name of the option element\n */\n MultiSelectClasses[\"option\"] = \"p-multiselect-option\";\n /**\n * Class name of the empty message element\n */\n MultiSelectClasses[\"emptyMessage\"] = \"p-multiselect-empty-message\";\n return MultiSelectClasses;\n}(MultiSelectClasses || {});\nconst _c0 = a0 => ({\n height: a0\n});\nconst _c1 = (a0, a1) => ({\n \"p-multiselect-option\": true,\n \"p-disabled\": a0,\n \"p-focus\": a1\n});\nconst _c2 = a0 => ({\n $implicit: a0\n});\nconst _c3 = (a0, a1) => ({\n checked: a0,\n class: a1\n});\nfunction MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template(rf, ctx) {}\nfunction MultiSelectItem_ng_container_2_ng_template_1_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction MultiSelectItem_ng_container_2_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelectItem_ng_container_2_ng_template_1_0_Template, 1, 0, null, 4);\n }\n if (rf & 2) {\n const klass_r1 = ctx.class;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.itemCheckboxIconTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c3, ctx_r1.selected, klass_r1));\n }\n}\nfunction MultiSelectItem_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelectItem_ng_container_2_ng_template_1_Template, 1, 5, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction MultiSelectItem_span_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n let tmp_1_0;\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate((tmp_1_0 = ctx_r1.label) !== null && tmp_1_0 !== undefined ? tmp_1_0 : \"empty\");\n }\n}\nfunction MultiSelectItem_ng_container_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nconst _c4 = [\"item\"];\nconst _c5 = [\"group\"];\nconst _c6 = [\"loader\"];\nconst _c7 = [\"header\"];\nconst _c8 = [\"filter\"];\nconst _c9 = [\"footer\"];\nconst _c10 = [\"emptyfilter\"];\nconst _c11 = [\"empty\"];\nconst _c12 = [\"selecteditems\"];\nconst _c13 = [\"checkicon\"];\nconst _c14 = [\"loadingicon\"];\nconst _c15 = [\"filtericon\"];\nconst _c16 = [\"removetokenicon\"];\nconst _c17 = [\"chipicon\"];\nconst _c18 = [\"clearicon\"];\nconst _c19 = [\"dropdownicon\"];\nconst _c20 = [\"itemcheckboxicon\"];\nconst _c21 = [\"headercheckboxicon\"];\nconst _c22 = [\"overlay\"];\nconst _c23 = [\"filterInput\"];\nconst _c24 = [\"focusInput\"];\nconst _c25 = [\"items\"];\nconst _c26 = [\"scroller\"];\nconst _c27 = [\"lastHiddenFocusableEl\"];\nconst _c28 = [\"firstHiddenFocusableEl\"];\nconst _c29 = [\"headerCheckbox\"];\nconst _c30 = [[[\"p-header\"]], [[\"p-footer\"]]];\nconst _c31 = [\"p-header\", \"p-footer\"];\nconst _c32 = () => ({\n class: \"p-multiselect-chip-icon\"\n});\nconst _c33 = (a0, a1) => ({\n $implicit: a0,\n removeChip: a1\n});\nconst _c34 = a0 => ({\n options: a0\n});\nconst _c35 = (a0, a1, a2) => ({\n checked: a0,\n partialSelected: a1,\n class: a2\n});\nconst _c36 = (a0, a1) => ({\n $implicit: a0,\n options: a1\n});\nconst _c37 = () => ({});\nfunction MultiSelect_ng_container_5_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.label() || \"empty\");\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 28);\n i0.ɵɵlistener(\"click\", function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template_span_click_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const item_r4 = i0.ɵɵnextContext(4).$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event));\n });\n i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template, 1, 0, \"ng-container\", 29);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(7);\n i0.ɵɵattribute(\"data-pc-section\", \"clearicon\")(\"aria-hidden\", true);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction0(4, _c32));\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template, 2, 5, \"span\", 27);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(6);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate);\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, \"ng-container\", 20);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.disabled);\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template, 1, 1, \"ng-template\", null, 5, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 25, 4)(2, \"p-chip\", 26);\n i0.ɵɵlistener(\"onRemove\", function MultiSelect_ng_container_5_ng_container_2_div_1_Template_p_chip_onRemove_2_listener($event) {\n const item_r4 = i0.ɵɵrestoreView(_r3).$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event));\n });\n i0.ɵɵtemplate(3, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 3, 0, \"ng-container\", 20);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const item_r4 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"label\", ctx_r1.getLabelByValue(item_r4))(\"removable\", true)(\"removeIcon\", ctx_r1.chipIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate);\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || \"empty\");\n }\n}\nfunction MultiSelect_ng_container_5_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_Template, 4, 4, \"div\", 24)(2, MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template, 2, 1, \"ng-container\", 20);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.chipSelectedItems());\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);\n }\n}\nfunction MultiSelect_ng_container_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_1_Template, 2, 1, \"ng-container\", 20)(2, MultiSelect_ng_container_5_ng_container_2_Template, 3, 2, \"ng-container\", 20);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.display === \"comma\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.display === \"chip\");\n }\n}\nfunction MultiSelect_ng_container_6_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_container_6_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || \"empty\");\n }\n}\nfunction MultiSelect_ng_container_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_6_ng_container_1_Template, 1, 0, \"ng-container\", 29)(2, MultiSelect_ng_container_6_ng_container_2_Template, 2, 1, \"ng-container\", 20);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.selectedItemsTemplate || ctx_r1._selectedItemsTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(3, _c33, ctx_r1.selectedOptions, ctx_r1.removeOption.bind(ctx_r1)));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);\n }\n}\nfunction MultiSelect_ng_container_7_TimesIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"TimesIcon\", 31);\n i0.ɵɵlistener(\"click\", function MultiSelect_ng_container_7_TimesIcon_1_Template_TimesIcon_click_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.clear($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-section\", \"clearicon\")(\"aria-hidden\", true);\n }\n}\nfunction MultiSelect_ng_container_7_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction MultiSelect_ng_container_7_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_container_7_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction MultiSelect_ng_container_7_span_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r7 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 31);\n i0.ɵɵlistener(\"click\", function MultiSelect_ng_container_7_span_2_Template_span_click_0_listener($event) {\n i0.ɵɵrestoreView(_r7);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.clear($event));\n });\n i0.ɵɵtemplate(1, MultiSelect_ng_container_7_span_2_1_Template, 1, 0, null, 32);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"clearicon\")(\"aria-hidden\", true);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);\n }\n}\nfunction MultiSelect_ng_container_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_7_TimesIcon_1_Template, 1, 2, \"TimesIcon\", 30)(2, MultiSelect_ng_container_7_span_2_Template, 2, 3, \"span\", 30);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);\n }\n}\nfunction MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template, 1, 0, \"ng-container\", 32);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.loadingIconTemplate || ctx_r1._loadingIconTemplate);\n }\n}\nfunction MultiSelect_ng_container_9_ng_container_2_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 35);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngClass\", \"p-multiselect-loading-icon pi-spin \" + ctx_r1.loadingIcon);\n }\n}\nfunction MultiSelect_ng_container_9_ng_container_2_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 36);\n }\n if (rf & 2) {\n i0.ɵɵclassMap(\"p-multiselect-loading-icon pi pi-spinner pi-spin\");\n }\n}\nfunction MultiSelect_ng_container_9_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_2_span_1_Template, 1, 1, \"span\", 33)(2, MultiSelect_ng_container_9_ng_container_2_span_2_Template, 1, 2, \"span\", 34);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.loadingIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.loadingIcon);\n }\n}\nfunction MultiSelect_ng_container_9_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_Template, 2, 1, \"ng-container\", 20)(2, MultiSelect_ng_container_9_ng_container_2_Template, 3, 2, \"ng-container\", 20);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.loadingIconTemplate || ctx_r1._loadingIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.loadingIconTemplate && !ctx_r1._loadingIconTemplate);\n }\n}\nfunction MultiSelect_ng_template_10_ng_container_0_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 40);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.dropdownIcon);\n i0.ɵɵattribute(\"data-pc-section\", \"triggericon\")(\"aria-hidden\", true);\n }\n}\nfunction MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"ChevronDownIcon\", 41);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-multiselect-dropdown-icon\");\n i0.ɵɵattribute(\"data-pc-section\", \"triggericon\")(\"aria-hidden\", true);\n }\n}\nfunction MultiSelect_ng_template_10_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_10_ng_container_0_span_1_Template, 1, 3, \"span\", 38)(2, MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template, 1, 3, \"ChevronDownIcon\", 39);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.dropdownIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.dropdownIcon);\n }\n}\nfunction MultiSelect_ng_template_10_span_1_1_ng_template_0_Template(rf, ctx) {}\nfunction MultiSelect_ng_template_10_span_1_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_10_span_1_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction MultiSelect_ng_template_10_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 42);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_10_span_1_1_Template, 1, 0, null, 32);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"triggericon\")(\"aria-hidden\", true);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);\n }\n}\nfunction MultiSelect_ng_template_10_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_10_ng_container_0_Template, 3, 2, \"ng-container\", 20)(1, MultiSelect_ng_template_10_span_1_Template, 2, 3, \"span\", 37);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.dropdownIconTemplate && !ctx_r1._dropdownIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, \"ng-container\", 29);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.filterTemplate || ctx_r1._filterTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c34, ctx_r1.filterOptions));\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"CheckIcon\", 41);\n }\n if (rf & 2) {\n const klass_r10 = i0.ɵɵnextContext().class;\n i0.ɵɵproperty(\"styleClass\", klass_r10);\n i0.ɵɵattribute(\"data-pc-section\", \"icon\");\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template(rf, ctx) {}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template, 1, 2, \"CheckIcon\", 39)(1, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template, 1, 0, null, 29);\n }\n if (rf & 2) {\n const klass_r10 = ctx.class;\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.headerCheckboxIconTemplate && !ctx_r1._headerCheckboxIconTemplate && ctx_r1.allSelected());\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.headerCheckboxIconTemplate || ctx_r1._headerCheckboxIconTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction3(3, _c35, ctx_r1.allSelected(), ctx_r1.partialSelected(), klass_r10));\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r9 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-checkbox\", 51, 10);\n i0.ɵɵlistener(\"onChange\", function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template_p_checkbox_onChange_0_listener($event) {\n i0.ɵɵrestoreView(_r9);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.onToggleAll($event));\n });\n i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template, 2, 7, \"ng-template\", null, 11, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngModel\", ctx_r1.allSelected())(\"ariaLabel\", ctx_r1.toggleAllAriaLabel)(\"binary\", true)(\"variant\", ctx_r1.variant)(\"disabled\", ctx_r1.disabled);\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"SearchIcon\", 41);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-multiselect-filter-icon\");\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template(rf, ctx) {}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 55);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template, 1, 0, null, 32);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r11 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 52)(1, \"p-iconfield\")(2, \"input\", 53, 12);\n i0.ɵɵlistener(\"input\", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_input_2_listener($event) {\n i0.ɵɵrestoreView(_r11);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.onFilterInputChange($event));\n })(\"keydown\", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_keydown_2_listener($event) {\n i0.ɵɵrestoreView(_r11);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.onFilterKeyDown($event));\n })(\"click\", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_click_2_listener($event) {\n i0.ɵɵrestoreView(_r11);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.onInputClick($event));\n })(\"blur\", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_blur_2_listener($event) {\n i0.ɵɵrestoreView(_r11);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.onFilterBlur($event));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"p-inputicon\");\n i0.ɵɵtemplate(5, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template, 1, 1, \"SearchIcon\", 39)(6, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template, 2, 1, \"span\", 54);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"variant\", ctx_r1.variant)(\"value\", ctx_r1._filterValue() || \"\")(\"disabled\", ctx_r1.disabled);\n i0.ɵɵattribute(\"autocomplete\", ctx_r1.autocomplete)(\"aria-owns\", ctx_r1.id + \"_list\")(\"aria-activedescendant\", ctx_r1.focusedOptionId)(\"placeholder\", ctx_r1.filterPlaceHolder)(\"aria-label\", ctx_r1.ariaFilterLabel);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.filterIconTemplate && !ctx_r1._filterIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4, 5, \"p-checkbox\", 49)(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template, 7, 10, \"div\", 50);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showToggleAll && !ctx_r1.selectionLimit);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.filter);\n }\n}\nfunction MultiSelect_ng_template_14_div_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 48);\n i0.ɵɵprojection(1);\n i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_container_2_Template, 2, 4, \"ng-container\", 22)(3, MultiSelect_ng_template_14_div_4_ng_template_3_Template, 2, 2, \"ng-template\", null, 9, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const builtInFilterElement_r12 = i0.ɵɵreference(4);\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.filterTemplate || ctx_r1._filterTemplate)(\"ngIfElse\", builtInFilterElement_r12);\n }\n}\nfunction MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, \"ng-container\", 29);\n }\n if (rf & 2) {\n const items_r14 = ctx.$implicit;\n const scrollerOptions_r15 = ctx.options;\n i0.ɵɵnextContext(2);\n const buildInItems_r16 = i0.ɵɵreference(9);\n i0.ɵɵproperty(\"ngTemplateOutlet\", buildInItems_r16)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c36, items_r14, scrollerOptions_r15));\n }\n}\nfunction MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, \"ng-container\", 29);\n }\n if (rf & 2) {\n const scrollerOptions_r17 = ctx.options;\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c34, scrollerOptions_r17));\n }\n}\nfunction MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, \"ng-template\", null, 14, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction MultiSelect_ng_template_14_p_scroller_6_Template(rf, ctx) {\n if (rf & 1) {\n const _r13 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-scroller\", 56, 13);\n i0.ɵɵlistener(\"onLazyLoad\", function MultiSelect_ng_template_14_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener($event) {\n i0.ɵɵrestoreView(_r13);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onLazyLoad.emit($event));\n });\n i0.ɵɵtemplate(2, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template, 1, 5, \"ng-template\", null, 3, i0.ɵɵtemplateRefExtractor)(4, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template, 3, 0, \"ng-container\", 20);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵstyleMap(i0.ɵɵpureFunction1(9, _c0, ctx_r1.scrollHeight));\n i0.ɵɵproperty(\"items\", ctx_r1.visibleOptions())(\"itemSize\", ctx_r1.virtualScrollItemSize || ctx_r1._itemSize)(\"autoSize\", true)(\"tabindex\", -1)(\"lazy\", ctx_r1.lazy)(\"options\", ctx_r1.virtualScrollOptions);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, \"ng-container\", 29);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n i0.ɵɵnextContext();\n const buildInItems_r16 = i0.ɵɵreference(9);\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", buildInItems_r16)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(3, _c36, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c37)));\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const option_r18 = i0.ɵɵnextContext(2).$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.getOptionGroupLabel(option_r18.optionGroup));\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"li\", 60);\n i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, \"span\", 20)(3, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, \"ng-container\", 29);\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r18 = i0.ɵɵnextContext();\n const option_r18 = ctx_r18.$implicit;\n const i_r20 = ctx_r18.index;\n const scrollerOptions_r21 = i0.ɵɵnextContext().options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(5, _c0, scrollerOptions_r21.itemSize + \"px\"));\n i0.ɵɵattribute(\"id\", ctx_r1.id + \"_\" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.groupTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.groupTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(7, _c2, option_r18.optionGroup));\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r22 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"p-multiselect-item\", 61);\n i0.ɵɵlistener(\"onClick\", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onClick_1_listener($event) {\n i0.ɵɵrestoreView(_r22);\n const i_r20 = i0.ɵɵnextContext().index;\n const scrollerOptions_r21 = i0.ɵɵnextContext().options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onOptionSelect($event, false, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)));\n })(\"onMouseEnter\", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onMouseEnter_1_listener($event) {\n i0.ɵɵrestoreView(_r22);\n const i_r20 = i0.ɵɵnextContext().index;\n const scrollerOptions_r21 = i0.ɵɵnextContext().options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onOptionMouseEnter($event, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r18 = i0.ɵɵnextContext();\n const option_r18 = ctx_r18.$implicit;\n const i_r20 = ctx_r18.index;\n const scrollerOptions_r21 = i0.ɵɵnextContext().options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"id\", ctx_r1.id + \"_\" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))(\"option\", option_r18)(\"selected\", ctx_r1.isSelected(option_r18))(\"label\", ctx_r1.getOptionLabel(option_r18))(\"disabled\", ctx_r1.isOptionDisabled(option_r18))(\"template\", ctx_r1.itemTemplate || ctx_r1._itemTemplate)(\"checkIconTemplate\", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)(\"itemCheckboxIconTemplate\", ctx_r1.itemCheckboxIconTemplate || ctx_r1._itemCheckboxIconTemplate)(\"itemSize\", scrollerOptions_r21.itemSize)(\"focused\", ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))(\"ariaPosInset\", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)))(\"ariaSetSize\", ctx_r1.ariaSetSize)(\"variant\", ctx_r1.variant);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, \"ng-container\", 20)(1, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template, 2, 13, \"ng-container\", 20);\n }\n if (rf & 2) {\n const option_r18 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.isOptionGroup(option_r18));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.isOptionGroup(option_r18));\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtext(0);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.emptyFilterMessageLabel, \" \");\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, \"ng-container\", 32);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.emptyFilterTemplate || ctx_r1._emptyFilterTemplate || ctx_r1.emptyTemplate || ctx_r1._emptyFilterTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 62);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template, 1, 1, \"ng-container\");\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const scrollerOptions_r21 = i0.ɵɵnextContext().options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + \"px\"));\n i0.ɵɵadvance();\n i0.ɵɵconditional(!ctx_r1.emptyFilterTemplate && !ctx_r1._emptyFilterTemplate && !ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtext(0);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.emptyMessageLabel, \" \");\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 1, 0, \"ng-container\", 32);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.emptyTemplate || ctx_r1._emptyTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_li_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 62);\n i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template, 1, 1, \"ng-container\");\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const scrollerOptions_r21 = i0.ɵɵnextContext().options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + \"px\"));\n i0.ɵɵadvance();\n i0.ɵɵconditional(!ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);\n }\n}\nfunction MultiSelect_ng_template_14_ng_template_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"ul\", 57, 15);\n i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template, 2, 2, \"ng-template\", 58)(3, MultiSelect_ng_template_14_ng_template_8_li_3_Template, 3, 4, \"li\", 59)(4, MultiSelect_ng_template_14_ng_template_8_li_4_Template, 3, 4, \"li\", 59);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const items_r23 = ctx.$implicit;\n const scrollerOptions_r21 = ctx.options;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵstyleMap(scrollerOptions_r21.contentStyle);\n i0.ɵɵproperty(\"ngClass\", scrollerOptions_r21.contentStyleClass);\n i0.ɵɵattribute(\"aria-label\", ctx_r1.listLabel);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", items_r23);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.hasFilter() && ctx_r1.isEmpty());\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.hasFilter() && ctx_r1.isEmpty());\n }\n}\nfunction MultiSelect_ng_template_14_div_10_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction MultiSelect_ng_template_14_div_10_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\");\n i0.ɵɵprojection(1, 1);\n i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_10_ng_container_2_Template, 1, 0, \"ng-container\", 32);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.footerTemplate || ctx_r1._footerTemplate);\n }\n}\nfunction MultiSelect_ng_template_14_Template(rf, ctx) {\n if (rf & 1) {\n const _r8 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 43)(1, \"span\", 44, 6);\n i0.ɵɵlistener(\"focus\", function MultiSelect_ng_template_14_Template_span_focus_1_listener($event) {\n i0.ɵɵrestoreView(_r8);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onFirstHiddenFocus($event));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, MultiSelect_ng_template_14_ng_container_3_Template, 1, 0, \"ng-container\", 32)(4, MultiSelect_ng_template_14_div_4_Template, 5, 2, \"div\", 45);\n i0.ɵɵelementStart(5, \"div\", 46);\n i0.ɵɵtemplate(6, MultiSelect_ng_template_14_p_scroller_6_Template, 5, 11, \"p-scroller\", 47)(7, MultiSelect_ng_template_14_ng_container_7_Template, 2, 6, \"ng-container\", 20)(8, MultiSelect_ng_template_14_ng_template_8_Template, 5, 7, \"ng-template\", null, 7, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(10, MultiSelect_ng_template_14_div_10_Template, 3, 1, \"div\", 20);\n i0.ɵɵelementStart(11, \"span\", 44, 8);\n i0.ɵɵlistener(\"focus\", function MultiSelect_ng_template_14_Template_span_focus_11_listener($event) {\n i0.ɵɵrestoreView(_r8);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onLastHiddenFocus($event));\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassMap(ctx_r1.panelStyleClass);\n i0.ɵɵproperty(\"ngClass\", \"p-multiselect-overlay p-component\")(\"ngStyle\", ctx_r1.panelStyle);\n i0.ɵɵattribute(\"id\", ctx_r1.id + \"_list\");\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"tabindex\", 0)(\"data-p-hidden-accessible\", true)(\"data-p-hidden-focusable\", true);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.headerTemplate || ctx_r1._headerTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showHeader);\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"max-height\", ctx_r1.virtualScroll ? \"auto\" : ctx_r1.scrollHeight || \"auto\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.virtualScroll);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.virtualScroll);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.footerFacet || ctx_r1.footerTemplate || ctx_r1._footerTemplate);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"tabindex\", 0)(\"data-p-hidden-accessible\", true)(\"data-p-hidden-focusable\", true);\n }\n}\nconst MULTISELECT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MultiSelect),\n multi: true\n};\nlet MultiSelectItem = /*#__PURE__*/(() => {\n class MultiSelectItem extends BaseComponent {\n id;\n option;\n selected;\n label;\n disabled;\n itemSize;\n focused;\n ariaPosInset;\n ariaSetSize;\n variant;\n template;\n checkIconTemplate;\n itemCheckboxIconTemplate;\n onClick = new EventEmitter();\n onMouseEnter = new EventEmitter();\n onOptionClick(event) {\n this.onClick.emit({\n originalEvent: event,\n option: this.option,\n selected: this.selected\n });\n event.stopPropagation();\n event.preventDefault();\n }\n onOptionMouseEnter(event) {\n this.onMouseEnter.emit({\n originalEvent: event,\n option: this.option,\n selected: this.selected\n });\n }\n static ɵfac = /*@__PURE__*/(() => {\n let ɵMultiSelectItem_BaseFactory;\n return function MultiSelectItem_Factory(__ngFactoryType__) {\n return (ɵMultiSelectItem_BaseFactory || (ɵMultiSelectItem_BaseFactory = i0.ɵɵgetInheritedFactory(MultiSelectItem)))(__ngFactoryType__ || MultiSelectItem);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: MultiSelectItem,\n selectors: [[\"p-multiSelectItem\"], [\"p-multiselect-item\"]],\n inputs: {\n id: \"id\",\n option: \"option\",\n selected: [2, \"selected\", \"selected\", booleanAttribute],\n label: \"label\",\n disabled: [2, \"disabled\", \"disabled\", booleanAttribute],\n itemSize: [2, \"itemSize\", \"itemSize\", numberAttribute],\n focused: [2, \"focused\", \"focused\", booleanAttribute],\n ariaPosInset: \"ariaPosInset\",\n ariaSetSize: \"ariaSetSize\",\n variant: \"variant\",\n template: \"template\",\n checkIconTemplate: \"checkIconTemplate\",\n itemCheckboxIconTemplate: \"itemCheckboxIconTemplate\"\n },\n outputs: {\n onClick: \"onClick\",\n onMouseEnter: \"onMouseEnter\"\n },\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature],\n decls: 5,\n vars: 27,\n consts: [[\"icon\", \"\"], [\"pRipple\", \"\", \"role\", \"option\", 3, \"click\", \"mouseenter\", \"ngStyle\", \"ngClass\", \"id\"], [3, \"ngModel\", \"binary\", \"tabindex\", \"variant\", \"ariaLabel\"], [4, \"ngIf\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]],\n template: function MultiSelectItem_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 1);\n i0.ɵɵlistener(\"click\", function MultiSelectItem_Template_li_click_0_listener($event) {\n return ctx.onOptionClick($event);\n })(\"mouseenter\", function MultiSelectItem_Template_li_mouseenter_0_listener($event) {\n return ctx.onOptionMouseEnter($event);\n });\n i0.ɵɵelementStart(1, \"p-checkbox\", 2);\n i0.ɵɵtemplate(2, MultiSelectItem_ng_container_2_Template, 3, 0, \"ng-container\", 3);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, MultiSelectItem_span_3_Template, 2, 1, \"span\", 3)(4, MultiSelectItem_ng_container_4_Template, 1, 0, \"ng-container\", 4);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(20, _c0, ctx.itemSize + \"px\"))(\"ngClass\", i0.ɵɵpureFunction2(22, _c1, ctx.disabled, ctx.focused))(\"id\", ctx.id);\n i0.ɵɵattribute(\"aria-label\", ctx.label)(\"aria-setsize\", ctx.ariaSetSize)(\"aria-posinset\", ctx.ariaPosInset)(\"aria-selected\", ctx.selected)(\"data-p-focused\", ctx.focused)(\"data-p-highlight\", ctx.selected)(\"data-p-disabled\", ctx.disabled)(\"aria-checked\", ctx.selected);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngModel\", ctx.selected)(\"binary\", true)(\"tabindex\", -1)(\"variant\", ctx.variant)(\"ariaLabel\", ctx.label);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.itemCheckboxIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx.template);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx.template)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(25, _c2, ctx.option));\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel, Ripple, SharedModule],\n encapsulation: 2\n });\n }\n return MultiSelectItem;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n// @ts-ignore\n/**\n * MultiSelect is used to select multiple items from a collection.\n * @group Components\n */\nlet MultiSelect = /*#__PURE__*/(() => {\n class MultiSelect extends BaseComponent {\n zone;\n filterService;\n overlayService;\n /**\n * Unique identifier of the component\n * @group Props\n */\n id;\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n ariaLabel;\n /**\n * Inline style of the element.\n * @group Props\n */\n style;\n /**\n * Style class of the element.\n * @group Props\n */\n styleClass;\n /**\n * Inline style of the overlay panel.\n * @group Props\n */\n panelStyle;\n /**\n * Style class of the overlay panel element.\n * @group Props\n */\n panelStyleClass;\n /**\n * Identifier of the focus input to match a label defined for the component.\n * @group Props\n */\n inputId;\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n disabled;\n /**\n * Spans 100% width of the container when enabled.\n * @group Props\n */\n fluid;\n /**\n * When present, it specifies that the component cannot be edited.\n * @group Props\n */\n readonly;\n /**\n * Whether to display options as grouped when nested options are provided.\n * @group Props\n */\n group;\n /**\n * When specified, displays an input field to filter the items on keyup.\n * @group Props\n */\n filter = true;\n /**\n * Defines placeholder of the filter input.\n * @group Props\n */\n filterPlaceHolder;\n /**\n * Locale to use in filtering. The default locale is the host environment's current locale.\n * @group Props\n */\n filterLocale;\n /**\n * Specifies the visibility of the options panel.\n * @group Props\n */\n overlayVisible;\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n tabindex = 0;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n variant;\n /**\n * Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * A property to uniquely identify a value in options.\n * @group Props\n */\n dataKey;\n /**\n * Name of the input element.\n * @group Props\n */\n name;\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n ariaLabelledBy;\n /**\n * Whether to show labels of selected item labels or use default label.\n * @group Props\n * @defaultValue true\n */\n set displaySelectedLabel(val) {\n this._displaySelectedLabel = val;\n }\n get displaySelectedLabel() {\n return this._displaySelectedLabel;\n }\n /**\n * Decides how many selected item labels to show at most.\n * @group Props\n * @defaultValue 3\n */\n set maxSelectedLabels(val) {\n this._maxSelectedLabels = val;\n }\n get maxSelectedLabels() {\n return this._maxSelectedLabels;\n }\n /**\n * Decides how many selected item labels to show at most.\n * @group Props\n */\n selectionLimit;\n /**\n * Label to display after exceeding max selected labels e.g. ({0} items selected), defaults \"ellipsis\" keyword to indicate a text-overflow.\n * @group Props\n */\n selectedItemsLabel;\n /**\n * Whether to show the checkbox at header to toggle all items at once.\n * @group Props\n */\n showToggleAll = true;\n /**\n * Text to display when filtering does not return any results.\n * @group Props\n */\n emptyFilterMessage = '';\n /**\n * Text to display when there is no data. Defaults to global value in i18n translation configuration.\n * @group Props\n */\n emptyMessage = '';\n /**\n * Clears the filter value when hiding the dropdown.\n * @group Props\n */\n resetFilterOnHide = false;\n /**\n * Icon class of the dropdown icon.\n * @group Props\n */\n dropdownIcon;\n /**\n * Icon class of the chip icon.\n * @group Props\n */\n chipIcon;\n /**\n * Name of the label field of an option.\n * @group Props\n */\n optionLabel;\n /**\n * Name of the value field of an option.\n * @group Props\n */\n optionValue;\n /**\n * Name of the disabled field of an option.\n * @group Props\n */\n optionDisabled;\n /**\n * Name of the label field of an option group.\n * @group Props\n */\n optionGroupLabel = 'label';\n /**\n * Name of the options field of an option group.\n * @group Props\n */\n optionGroupChildren = 'items';\n /**\n * Whether to show the header.\n * @group Props\n */\n showHeader = true;\n /**\n * When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.\n * @group Props\n */\n filterBy;\n /**\n * Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.\n * @group Props\n */\n scrollHeight = '200px';\n /**\n * Defines if data is loaded and interacted with in lazy manner.\n * @group Props\n */\n lazy = false;\n /**\n * Whether the data should be loaded on demand during scroll.\n * @group Props\n */\n virtualScroll;\n /**\n * Whether the multiselect is in loading state.\n * @group Props\n */\n loading = false;\n /**\n * Height of an item in the list for VirtualScrolling.\n * @group Props\n */\n virtualScrollItemSize;\n /**\n * Icon to display in loading state.\n * @group Props\n */\n loadingIcon;\n /**\n * Whether to use the scroller feature. The properties of scroller component can be used like an object in it.\n * @group Props\n */\n virtualScrollOptions;\n /**\n * Whether to use overlay API feature. The properties of overlay API can be used like an object in it.\n * @group Props\n */\n overlayOptions;\n /**\n * Defines a string that labels the filter input.\n * @group Props\n */\n ariaFilterLabel;\n /**\n * Defines how the items are filtered.\n * @group Props\n */\n filterMatchMode = 'contains';\n /**\n * Advisory information to display in a tooltip on hover.\n * @group Props\n */\n tooltip = '';\n /**\n * Position of the tooltip.\n * @group Props\n */\n tooltipPosition = 'right';\n /**\n * Type of CSS position.\n * @group Props\n */\n tooltipPositionStyle = 'absolute';\n /**\n * Style class of the tooltip.\n * @group Props\n */\n tooltipStyleClass;\n /**\n * Applies focus to the filter element when the overlay is shown.\n * @group Props\n */\n autofocusFilter = false;\n /**\n * Defines how the selected items are displayed.\n * @group Props\n */\n display = 'comma';\n /**\n * Defines the autocomplete is active.\n * @group Props\n */\n autocomplete = 'off';\n /**\n * Defines the size of the component.\n * @group Props\n */\n size;\n /**\n * When enabled, a clear icon is displayed to clear the value.\n * @group Props\n */\n showClear = false;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n autofocus;\n /**\n * @deprecated since v14.2.0, use overlayOptions property instead.\n * Whether to automatically manage layering.\n * @group Props\n */\n get autoZIndex() {\n return this._autoZIndex;\n }\n set autoZIndex(val) {\n this._autoZIndex = val;\n console.log('The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n /**\n * @deprecated since v14.2.0, use overlayOptions property instead.\n * Base zIndex value to use in layering.\n * @group Props\n */\n get baseZIndex() {\n return this._baseZIndex;\n }\n set baseZIndex(val) {\n this._baseZIndex = val;\n console.log('The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n /**\n * Transition options of the show animation.\n * @group Props\n * @deprecated since v14.2.0, use overlayOptions property instead.\n */\n get showTransitionOptions() {\n return this._showTransitionOptions;\n }\n set showTransitionOptions(val) {\n this._showTransitionOptions = val;\n console.log('The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n /**\n * Transition options of the hide animation.\n * @group Props\n * @deprecated since v14.2.0, use overlayOptions property instead.\n */\n get hideTransitionOptions() {\n return this._hideTransitionOptions;\n }\n set hideTransitionOptions(val) {\n this._hideTransitionOptions = val;\n console.log('The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n /**\n * Label to display when there are no selections.\n * @group Props\n * @deprecated Use placeholder instead.\n */\n set defaultLabel(val) {\n this._defaultLabel = val;\n console.log('defaultLabel property is deprecated since 16.6.0, use placeholder instead');\n }\n get defaultLabel() {\n return this._defaultLabel;\n }\n /**\n * Label to display when there are no selections.\n * @group Props\n */\n set placeholder(val) {\n this._placeholder.set(val);\n }\n get placeholder() {\n return this._placeholder.asReadonly();\n }\n /**\n * An array of objects to display as the available options.\n * @group Props\n */\n get options() {\n const options = this._options();\n return options;\n }\n set options(val) {\n if (!deepEquals(this._options(), val)) {\n this._options.set(val);\n }\n }\n /**\n * When specified, filter displays with this value.\n * @group Props\n */\n get filterValue() {\n return this._filterValue();\n }\n set filterValue(val) {\n this._filterValue.set(val);\n }\n /**\n * Item size of item to be virtual scrolled.\n * @group Props\n * @deprecated use virtualScrollItemSize property instead.\n */\n get itemSize() {\n return this._itemSize;\n }\n set itemSize(val) {\n this._itemSize = val;\n console.log('The itemSize property is deprecated, use virtualScrollItemSize property instead.');\n }\n /**\n * Whether all data is selected.\n * @group Props\n */\n get selectAll() {\n return this._selectAll;\n }\n set selectAll(value) {\n this._selectAll = value;\n }\n /**\n * Indicates whether to focus on options when hovering over them, defaults to optionLabel.\n * @group Props\n */\n focusOnHover = true;\n /**\n * Fields used when filtering the options, defaults to optionLabel.\n * @group Props\n */\n filterFields;\n /**\n * Determines if the option will be selected on focus.\n * @group Props\n */\n selectOnFocus = false;\n /**\n * Whether to focus on the first visible or selected element when the overlay panel is shown.\n * @group Props\n */\n autoOptionFocus = false;\n /**\n * Callback to invoke when value changes.\n * @param {MultiSelectChangeEvent} event - Custom change event.\n * @group Emits\n */\n onChange = new EventEmitter();\n /**\n * Callback to invoke when data is filtered.\n * @param {MultiSelectFilterEvent} event - Custom filter event.\n * @group Emits\n */\n onFilter = new EventEmitter();\n /**\n * Callback to invoke when multiselect receives focus.\n * @param {MultiSelectFocusEvent} event - Custom focus event.\n * @group Emits\n */\n onFocus = new EventEmitter();\n /**\n * Callback to invoke when multiselect loses focus.\n * @param {MultiSelectBlurEvent} event - Custom blur event.\n * @group Emits\n */\n onBlur = new EventEmitter();\n /**\n * Callback to invoke when component is clicked.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onClick = new EventEmitter();\n /**\n * Callback to invoke when input field is cleared.\n * @group Emits\n */\n onClear = new EventEmitter();\n /**\n * Callback to invoke when overlay panel becomes visible.\n * @group Emits\n */\n onPanelShow = new EventEmitter();\n /**\n * Callback to invoke when overlay panel becomes hidden.\n * @group Emits\n */\n onPanelHide = new EventEmitter();\n /**\n * Callback to invoke in lazy mode to load new data.\n * @param {MultiSelectLazyLoadEvent} event - Lazy load event.\n * @group Emits\n */\n onLazyLoad = new EventEmitter();\n /**\n * Callback to invoke in lazy mode to load new data.\n * @param {MultiSelectRemoveEvent} event - Remove event.\n * @group Emits\n */\n onRemove = new EventEmitter();\n /**\n * Callback to invoke when all data is selected.\n * @param {MultiSelectSelectAllChangeEvent} event - Custom select event.\n * @group Emits\n */\n onSelectAllChange = new EventEmitter();\n overlayViewChild;\n filterInputChild;\n focusInputViewChild;\n itemsViewChild;\n scroller;\n lastHiddenFocusableElementOnOverlay;\n firstHiddenFocusableElementOnOverlay;\n headerCheckboxViewChild;\n footerFacet;\n headerFacet;\n _componentStyle = inject(MultiSelectStyle);\n searchValue;\n searchTimeout;\n _selectAll = null;\n _autoZIndex;\n _baseZIndex;\n _showTransitionOptions;\n _hideTransitionOptions;\n _defaultLabel;\n _placeholder = signal(undefined);\n _itemSize;\n _selectionLimit;\n _disableTooltip = false;\n value;\n _filteredOptions;\n onModelChange = () => {};\n onModelTouched = () => {};\n valuesAsString;\n focus;\n filtered;\n itemTemplate;\n groupTemplate;\n loaderTemplate;\n headerTemplate;\n filterTemplate;\n footerTemplate;\n emptyFilterTemplate;\n emptyTemplate;\n selectedItemsTemplate;\n checkIconTemplate;\n loadingIconTemplate;\n filterIconTemplate;\n removeTokenIconTemplate;\n chipIconTemplate;\n clearIconTemplate;\n dropdownIconTemplate;\n itemCheckboxIconTemplate;\n headerCheckboxIconTemplate;\n templates;\n _itemTemplate;\n _groupTemplate;\n _loaderTemplate;\n _headerTemplate;\n _filterTemplate;\n _footerTemplate;\n _emptyFilterTemplate;\n _emptyTemplate;\n _selectedItemsTemplate;\n _checkIconTemplate;\n _loadingIconTemplate;\n _filterIconTemplate;\n _removeTokenIconTemplate;\n _chipIconTemplate;\n _clearIconTemplate;\n _dropdownIconTemplate;\n _itemCheckboxIconTemplate;\n _headerCheckboxIconTemplate;\n ngAfterContentInit() {\n this.templates.forEach(item => {\n switch (item.getType()) {\n case 'item':\n this._itemTemplate = item.template;\n break;\n case 'group':\n this._groupTemplate = item.template;\n break;\n case 'selectedItems':\n case 'selecteditems':\n this._selectedItemsTemplate = item.template;\n break;\n case 'header':\n this._headerTemplate = item.template;\n break;\n case 'filter':\n this._filterTemplate = item.template;\n break;\n case 'emptyfilter':\n this._emptyFilterTemplate = item.template;\n break;\n case 'empty':\n this._emptyTemplate = item.template;\n break;\n case 'footer':\n this._footerTemplate = item.template;\n break;\n case 'loader':\n this._loaderTemplate = item.template;\n break;\n case 'checkicon':\n this._checkIconTemplate = item.template;\n console.warn('checkicon is deprecated and will removed in future. Use itemcheckboxicon or headercheckboxicon templates instead.');\n break;\n case 'headercheckboxicon':\n this._headerCheckboxIconTemplate = item.template;\n break;\n case 'loadingicon':\n this._loadingIconTemplate = item.template;\n break;\n case 'filtericon':\n this._filterIconTemplate = item.template;\n break;\n case 'removetokenicon':\n this._removeTokenIconTemplate = item.template;\n break;\n case 'clearicon':\n this._clearIconTemplate = item.template;\n break;\n case 'dropdownicon':\n this._dropdownIconTemplate = item.template;\n break;\n case 'itemcheckboxicon':\n this._itemCheckboxIconTemplate = item.template;\n break;\n case 'chipicon':\n this._chipIconTemplate = item.template;\n break;\n default:\n this._itemTemplate = item.template;\n break;\n }\n });\n }\n headerCheckboxFocus;\n filterOptions;\n preventModelTouched;\n preventDocumentDefault;\n focused = false;\n itemsWrapper;\n _displaySelectedLabel = true;\n _maxSelectedLabels = 3;\n modelValue = signal(null);\n _filterValue = signal(null);\n _options = signal(null);\n startRangeIndex = signal(-1);\n focusedOptionIndex = signal(-1);\n selectedOptions;\n clickInProgress = false;\n get hostClasses() {\n const classes = [];\n if (typeof this.rootClass === 'string') {\n classes.push(this.rootClass);\n } else if (Array.isArray(this.rootClass)) {\n classes.push(...this.rootClass);\n } else if (typeof this.rootClass === 'object') {\n Object.keys(this.rootClass).filter(key => this.rootClass[key]).forEach(key => classes.push(key));\n }\n if (this.styleClass) {\n classes.push(this.styleClass);\n }\n return classes.join(' ');\n }\n get rootClass() {\n return this._componentStyle.classes.root({\n instance: this\n });\n }\n get labelClass() {\n return this._componentStyle.classes.label({\n instance: this\n });\n }\n get emptyMessageLabel() {\n return this.emptyMessage || this.config.getTranslation(TranslationKeys.EMPTY_MESSAGE);\n }\n get emptyFilterMessageLabel() {\n return this.emptyFilterMessage || this.config.getTranslation(TranslationKeys.EMPTY_FILTER_MESSAGE);\n }\n get filled() {\n if (typeof this.modelValue() === 'string') return !!this.modelValue();\n return isNotEmpty(this.modelValue());\n }\n get isVisibleClearIcon() {\n return this.modelValue() != null && this.modelValue() !== '' && isNotEmpty(this.modelValue()) && this.showClear && !this.disabled && this.filled;\n }\n get toggleAllAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria[this.allSelected() ? 'selectAll' : 'unselectAll'] : undefined;\n }\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n get listLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['listLabel'];\n }\n get hasFluid() {\n const nativeElement = this.el.nativeElement;\n const fluidComponent = nativeElement.closest('p-fluid');\n return this.fluid || !!fluidComponent;\n }\n getAllVisibleAndNonVisibleOptions() {\n return this.group ? this.flatOptions(this.options) : this.options || [];\n }\n visibleOptions = computed(() => {\n const options = this.getAllVisibleAndNonVisibleOptions();\n const isArrayOfObjects = isArray(options) && isObject(options[0]);\n if (this._filterValue()) {\n let filteredOptions;\n if (isArrayOfObjects) {\n filteredOptions = this.filterService.filter(options, this.searchFields(), this._filterValue(), this.filterMatchMode, this.filterLocale);\n } else {\n filteredOptions = options.filter(option => option.toString().toLocaleLowerCase().includes(this._filterValue().toLocaleLowerCase()));\n }\n if (this.group) {\n const optionGroups = this.options || [];\n const filtered = [];\n optionGroups.forEach(group => {\n const groupChildren = this.getOptionGroupChildren(group);\n const filteredItems = groupChildren.filter(item => filteredOptions.includes(item));\n if (filteredItems.length > 0) filtered.push({\n ...group,\n [typeof this.optionGroupChildren === 'string' ? this.optionGroupChildren : 'items']: [...filteredItems]\n });\n });\n return this.flatOptions(filtered);\n }\n return filteredOptions;\n }\n return options;\n });\n label = computed(() => {\n let label;\n const modelValue = this.modelValue();\n if (modelValue && modelValue.length && this.displaySelectedLabel) {\n if (isNotEmpty(this.maxSelectedLabels) && modelValue.length > this.maxSelectedLabels) {\n return this.getSelectedItemsLabel();\n } else {\n label = '';\n for (let i = 0; i < modelValue.length; i++) {\n if (i !== 0) {\n label += ', ';\n }\n label += this.getLabelByValue(modelValue[i]);\n }\n }\n } else {\n label = this.placeholder() || this.defaultLabel || '';\n }\n return label;\n });\n chipSelectedItems = computed(() => {\n return isNotEmpty(this.maxSelectedLabels) && this.modelValue() && this.modelValue().length > this.maxSelectedLabels ? this.modelValue().slice(0, this.maxSelectedLabels) : this.modelValue();\n });\n constructor(zone, filterService, overlayService) {\n super();\n this.zone = zone;\n this.filterService = filterService;\n this.overlayService = overlayService;\n effect(() => {\n const modelValue = this.modelValue();\n const visibleOptions = this.visibleOptions();\n if (visibleOptions && isNotEmpty(visibleOptions)) {\n if (this.optionValue && this.optionLabel && modelValue) {\n this.selectedOptions = visibleOptions.filter(option => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));\n } else {\n this.selectedOptions = modelValue;\n }\n this.cd.markForCheck();\n }\n });\n }\n ngOnInit() {\n super.ngOnInit();\n this.id = this.id || uuid('pn_id_');\n this.autoUpdateModel();\n if (this.filterBy) {\n this.filterOptions = {\n filter: value => this.onFilterInputChange(value),\n reset: () => this.resetFilter()\n };\n }\n }\n maxSelectionLimitReached() {\n return this.selectionLimit && this.modelValue() && this.modelValue().length === this.selectionLimit;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n if (this.overlayVisible) {\n this.show();\n }\n }\n ngAfterViewChecked() {\n if (this.filtered) {\n this.zone.runOutsideAngular(() => {\n setTimeout(() => {\n this.overlayViewChild?.alignOverlay();\n }, 1);\n });\n this.filtered = false;\n }\n }\n flatOptions(options) {\n return (options || []).reduce((result, option, index) => {\n result.push({\n optionGroup: option,\n group: true,\n index\n });\n const optionGroupChildren = this.getOptionGroupChildren(option);\n optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));\n return result;\n }, []);\n }\n autoUpdateModel() {\n if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption()) {\n this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());\n const value = this.getOptionValue(this.visibleOptions()[this.focusedOptionIndex()]);\n this.onOptionSelect({\n originalEvent: null,\n option: [value]\n });\n }\n }\n /**\n * Updates the model value.\n * @group Method\n */\n updateModel(value, event) {\n this.value = value;\n this.onModelChange(value);\n this.modelValue.set(value);\n }\n onInputClick(event) {\n event.stopPropagation();\n event.preventDefault();\n this.focusedOptionIndex.set(-1);\n }\n onOptionSelect(event, isFocus = false, index = -1) {\n const {\n originalEvent,\n option\n } = event;\n if (this.disabled || this.isOptionDisabled(option)) {\n return;\n }\n let selected = this.isSelected(option);\n let value = null;\n if (selected) {\n value = this.modelValue().filter(val => !equals(val, this.getOptionValue(option), this.equalityKey()));\n } else {\n value = [...(this.modelValue() || []), this.getOptionValue(option)];\n }\n this.updateModel(value, originalEvent);\n index !== -1 && this.focusedOptionIndex.set(index);\n isFocus && focus(this.focusInputViewChild?.nativeElement);\n this.onChange.emit({\n originalEvent: event,\n value: value,\n itemValue: option\n });\n }\n findSelectedOptionIndex() {\n return this.hasSelectedOption() ? this.visibleOptions().findIndex(option => this.isValidSelectedOption(option)) : -1;\n }\n onOptionSelectRange(event, start = -1, end = -1) {\n start === -1 && (start = this.findNearestSelectedOptionIndex(end, true));\n end === -1 && (end = this.findNearestSelectedOptionIndex(start));\n if (start !== -1 && end !== -1) {\n const rangeStart = Math.min(start, end);\n const rangeEnd = Math.max(start, end);\n const value = this.visibleOptions().slice(rangeStart, rangeEnd + 1).filter(option => this.isValidOption(option)).map(option => this.getOptionValue(option));\n this.updateModel(value, event);\n }\n }\n searchFields() {\n return (this.filterBy || this.optionLabel || 'label').split(',');\n }\n findNearestSelectedOptionIndex(index, firstCheckUp = false) {\n let matchedOptionIndex = -1;\n if (this.hasSelectedOption()) {\n if (firstCheckUp) {\n matchedOptionIndex = this.findPrevSelectedOptionIndex(index);\n matchedOptionIndex = matchedOptionIndex === -1 ? this.findNextSelectedOptionIndex(index) : matchedOptionIndex;\n } else {\n matchedOptionIndex = this.findNextSelectedOptionIndex(index);\n matchedOptionIndex = matchedOptionIndex === -1 ? this.findPrevSelectedOptionIndex(index) : matchedOptionIndex;\n }\n }\n return matchedOptionIndex > -1 ? matchedOptionIndex : index;\n }\n findPrevSelectedOptionIndex(index) {\n const matchedOptionIndex = this.hasSelectedOption() && index > 0 ? findLastIndex(this.visibleOptions().slice(0, index), option => this.isValidSelectedOption(option)) : -1;\n return matchedOptionIndex > -1 ? matchedOptionIndex : -1;\n }\n findFirstFocusedOptionIndex() {\n const selectedIndex = this.findFirstSelectedOptionIndex();\n return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;\n }\n findFirstOptionIndex() {\n return this.visibleOptions().findIndex(option => this.isValidOption(option));\n }\n findFirstSelectedOptionIndex() {\n return this.hasSelectedOption() ? this.visibleOptions().findIndex(option => this.isValidSelectedOption(option)) : -1;\n }\n findNextSelectedOptionIndex(index) {\n const matchedOptionIndex = this.hasSelectedOption() && index < this.visibleOptions().length - 1 ? this.visibleOptions().slice(index + 1).findIndex(option => this.isValidSelectedOption(option)) : -1;\n return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : -1;\n }\n equalityKey() {\n return this.optionValue ? null : this.dataKey;\n }\n hasSelectedOption() {\n return isNotEmpty(this.modelValue());\n }\n isValidSelectedOption(option) {\n return this.isValidOption(option) && this.isSelected(option);\n }\n isOptionGroup(option) {\n return (this.group || this.optionGroupLabel) && option.optionGroup && option.group;\n }\n isValidOption(option) {\n return option && !(this.isOptionDisabled(option) || this.isOptionGroup(option));\n }\n isOptionDisabled(option) {\n if (this.maxSelectionLimitReached() && !this.isSelected(option)) {\n return true;\n }\n return this.optionDisabled ? resolveFieldData(option, this.optionDisabled) : option && option.disabled !== undefined ? option.disabled : false;\n }\n isSelected(option) {\n const optionValue = this.getOptionValue(option);\n return (this.modelValue() || []).some(value => equals(value, optionValue, this.equalityKey()));\n }\n isOptionMatched(option) {\n return this.isValidOption(option) && this.getOptionLabel(option).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));\n }\n isEmpty() {\n return !this._options() || this.visibleOptions() && this.visibleOptions().length === 0;\n }\n getOptionIndex(index, scrollerOptions) {\n return this.virtualScrollerDisabled ? index : scrollerOptions && scrollerOptions.getItemOptions(index)['index'];\n }\n getAriaPosInset(index) {\n return (this.optionGroupLabel ? index - this.visibleOptions().slice(0, index).filter(option => this.isOptionGroup(option)).length : index) + 1;\n }\n get ariaSetSize() {\n return this.visibleOptions().filter(option => !this.isOptionGroup(option)).length;\n }\n getLabelByValue(value) {\n const options = this.group ? this.flatOptions(this._options()) : this._options() || [];\n const matchedOption = options.find(option => !this.isOptionGroup(option) && equals(this.getOptionValue(option), value, this.equalityKey()));\n return matchedOption ? this.getOptionLabel(matchedOption) : null;\n }\n getSelectedItemsLabel() {\n let pattern = /{(.*?)}/;\n let message = this.selectedItemsLabel ? this.selectedItemsLabel : this.config.getTranslation(TranslationKeys.SELECTION_MESSAGE);\n if (pattern.test(message)) {\n return message.replace(message.match(pattern)[0], this.modelValue().length + '');\n }\n return message;\n }\n getOptionLabel(option) {\n return this.optionLabel ? resolveFieldData(option, this.optionLabel) : option && option.label != undefined ? option.label : option;\n }\n getOptionValue(option) {\n return this.optionValue ? resolveFieldData(option, this.optionValue) : !this.optionLabel && option && option.value !== undefined ? option.value : option;\n }\n getOptionGroupLabel(optionGroup) {\n return this.optionGroupLabel ? resolveFieldData(optionGroup, this.optionGroupLabel) : optionGroup && optionGroup.label != undefined ? optionGroup.label : optionGroup;\n }\n getOptionGroupChildren(optionGroup) {\n return this.optionGroupChildren ? resolveFieldData(optionGroup, this.optionGroupChildren) : optionGroup.items;\n }\n onKeyDown(event) {\n if (this.disabled) {\n event.preventDefault();\n return;\n }\n const metaKey = event.metaKey || event.ctrlKey;\n switch (event.code) {\n case 'ArrowDown':\n this.onArrowDownKey(event);\n break;\n case 'ArrowUp':\n this.onArrowUpKey(event);\n break;\n case 'Home':\n this.onHomeKey(event);\n break;\n case 'End':\n this.onEndKey(event);\n break;\n case 'PageDown':\n this.onPageDownKey(event);\n break;\n case 'PageUp':\n this.onPageUpKey(event);\n break;\n case 'Enter':\n case 'Space':\n this.onEnterKey(event);\n break;\n case 'Escape':\n this.onEscapeKey(event);\n break;\n case 'Tab':\n this.onTabKey(event);\n break;\n case 'ShiftLeft':\n case 'ShiftRight':\n this.onShiftKey();\n break;\n default:\n if (event.code === 'KeyA' && metaKey) {\n const value = this.visibleOptions().filter(option => this.isValidOption(option)).map(option => this.getOptionValue(option));\n this.updateModel(value, event);\n event.preventDefault();\n break;\n }\n if (!metaKey && isPrintableCharacter(event.key)) {\n !this.overlayVisible && this.show();\n this.searchOptions(event, event.key);\n event.preventDefault();\n }\n break;\n }\n }\n onFilterKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown':\n this.onArrowDownKey(event);\n break;\n case 'ArrowUp':\n this.onArrowUpKey(event, true);\n break;\n case 'ArrowLeft':\n case 'ArrowRight':\n this.onArrowLeftKey(event, true);\n break;\n case 'Home':\n this.onHomeKey(event, true);\n break;\n case 'End':\n this.onEndKey(event, true);\n break;\n case 'Enter':\n case 'NumpadEnter':\n this.onEnterKey(event);\n break;\n case 'Escape':\n this.onEscapeKey(event);\n break;\n case 'Tab':\n this.onTabKey(event, true);\n break;\n default:\n break;\n }\n }\n onArrowLeftKey(event, pressedInInputText = false) {\n pressedInInputText && this.focusedOptionIndex.set(-1);\n }\n onArrowDownKey(event) {\n const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.findFirstFocusedOptionIndex();\n if (event.shiftKey) {\n this.onOptionSelectRange(event, this.startRangeIndex(), optionIndex);\n }\n this.changeFocusedOptionIndex(event, optionIndex);\n !this.overlayVisible && this.show();\n event.preventDefault();\n event.stopPropagation();\n }\n onArrowUpKey(event, pressedInInputText = false) {\n if (event.altKey && !pressedInInputText) {\n if (this.focusedOptionIndex() !== -1) {\n this.onOptionSelect(event, this.visibleOptions()[this.focusedOptionIndex()]);\n }\n this.overlayVisible && this.hide();\n event.preventDefault();\n } else {\n const optionIndex = this.focusedOptionIndex() !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex()) : this.findLastFocusedOptionIndex();\n if (event.shiftKey) {\n this.onOptionSelectRange(event, optionIndex, this.startRangeIndex());\n }\n this.changeFocusedOptionIndex(event, optionIndex);\n !this.overlayVisible && this.show();\n event.preventDefault();\n }\n event.stopPropagation();\n }\n onHomeKey(event, pressedInInputText = false) {\n const {\n currentTarget\n } = event;\n if (pressedInInputText) {\n const len = currentTarget.value.length;\n currentTarget.setSelectionRange(0, event.shiftKey ? len : 0);\n this.focusedOptionIndex.set(-1);\n } else {\n let metaKey = event.metaKey || event.ctrlKey;\n let optionIndex = this.findFirstOptionIndex();\n if (event.shiftKey && metaKey) {\n this.onOptionSelectRange(event, optionIndex, this.startRangeIndex());\n }\n this.changeFocusedOptionIndex(event, optionIndex);\n !this.overlayVisible && this.show();\n }\n event.preventDefault();\n }\n onEndKey(event, pressedInInputText = false) {\n const {\n currentTarget\n } = event;\n if (pressedInInputText) {\n const len = currentTarget.value.length;\n currentTarget.setSelectionRange(event.shiftKey ? 0 : len, len);\n this.focusedOptionIndex.set(-1);\n } else {\n let metaKey = event.metaKey || event.ctrlKey;\n let optionIndex = this.findLastFocusedOptionIndex();\n if (event.shiftKey && metaKey) {\n this.onOptionSelectRange(event, this.startRangeIndex(), optionIndex);\n }\n this.changeFocusedOptionIndex(event, optionIndex);\n !this.overlayVisible && this.show();\n }\n event.preventDefault();\n }\n onPageDownKey(event) {\n this.scrollInView(this.visibleOptions().length - 1);\n event.preventDefault();\n }\n onPageUpKey(event) {\n this.scrollInView(0);\n event.preventDefault();\n }\n onEnterKey(event) {\n if (!this.overlayVisible) {\n this.onArrowDownKey(event);\n } else {\n if (this.focusedOptionIndex() !== -1) {\n if (event.shiftKey) {\n this.onOptionSelectRange(event, this.focusedOptionIndex());\n } else {\n this.onOptionSelect({\n originalEvent: event,\n option: this.visibleOptions()[this.focusedOptionIndex()]\n });\n }\n }\n }\n event.preventDefault();\n }\n onEscapeKey(event) {\n this.overlayVisible && this.hide(true);\n event.preventDefault();\n }\n onDeleteKey(event) {\n if (this.showClear) {\n this.clear(event);\n event.preventDefault();\n }\n }\n onTabKey(event, pressedInInputText = false) {\n if (!pressedInInputText) {\n if (this.overlayVisible && this.hasFocusableElements()) {\n focus(event.shiftKey ? this.lastHiddenFocusableElementOnOverlay.nativeElement : this.firstHiddenFocusableElementOnOverlay.nativeElement);\n event.preventDefault();\n } else {\n if (this.focusedOptionIndex() !== -1) {\n this.onOptionSelect({\n originalEvent: event,\n option: this.visibleOptions()[this.focusedOptionIndex()]\n });\n }\n this.overlayVisible && this.hide(this.filter);\n }\n }\n }\n onShiftKey() {\n this.startRangeIndex.set(this.focusedOptionIndex());\n }\n onContainerClick(event) {\n if (this.disabled || this.loading || this.readonly || event.target.isSameNode(this.focusInputViewChild?.nativeElement)) {\n return;\n }\n if (!this.overlayViewChild || !this.overlayViewChild.el.nativeElement.contains(event.target)) {\n if (this.clickInProgress) {\n return;\n }\n this.clickInProgress = true;\n setTimeout(() => {\n this.clickInProgress = false;\n }, 150);\n this.overlayVisible ? this.hide(true) : this.show(true);\n }\n this.focusInputViewChild?.nativeElement.focus({\n preventScroll: true\n });\n this.onClick.emit(event);\n this.cd.detectChanges();\n }\n onFirstHiddenFocus(event) {\n const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement ? getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement, ':not([data-p-hidden-focusable=\"true\"])') : this.focusInputViewChild?.nativeElement;\n focus(focusableEl);\n }\n onInputFocus(event) {\n this.focused = true;\n const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;\n this.focusedOptionIndex.set(focusedOptionIndex);\n this.overlayVisible && this.scrollInView(this.focusedOptionIndex());\n this.onFocus.emit({\n originalEvent: event\n });\n }\n onInputBlur(event) {\n this.focused = false;\n this.onBlur.emit({\n originalEvent: event\n });\n if (!this.preventModelTouched) {\n this.onModelTouched();\n }\n this.preventModelTouched = false;\n }\n onFilterInputChange(event) {\n let value = event.target.value;\n this._filterValue.set(value);\n this.focusedOptionIndex.set(-1);\n this.onFilter.emit({\n originalEvent: event,\n filter: this._filterValue()\n });\n !this.virtualScrollerDisabled && this.scroller.scrollToIndex(0);\n setTimeout(() => {\n this.overlayViewChild.alignOverlay();\n });\n }\n onLastHiddenFocus(event) {\n const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement ? getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement, ':not([data-p-hidden-focusable=\"true\"])') : this.focusInputViewChild?.nativeElement;\n focus(focusableEl);\n }\n onOptionMouseEnter(event, index) {\n if (this.focusOnHover) {\n this.changeFocusedOptionIndex(event, index);\n }\n }\n onHeaderCheckboxKeyDown(event) {\n if (this.disabled) {\n event.preventDefault();\n return;\n }\n switch (event.code) {\n case 'Space':\n this.onToggleAll(event);\n break;\n case 'Enter':\n this.onToggleAll(event);\n break;\n default:\n break;\n }\n }\n onFilterBlur(event) {\n this.focusedOptionIndex.set(-1);\n }\n onHeaderCheckboxFocus() {\n this.headerCheckboxFocus = true;\n }\n onHeaderCheckboxBlur() {\n this.headerCheckboxFocus = false;\n }\n onToggleAll(event) {\n if (this.disabled || this.readonly) {\n return;\n }\n if (this.selectAll != null) {\n this.onSelectAllChange.emit({\n originalEvent: event,\n checked: !this.allSelected()\n });\n } else {\n // pre-selected disabled options should always be selected.\n const selectedDisabledOptions = this.getAllVisibleAndNonVisibleOptions().filter(option => this.isSelected(option) && (this.optionDisabled ? resolveFieldData(option, this.optionDisabled) : option && option.disabled !== undefined ? option.disabled : false));\n const visibleOptions = this.allSelected() ? this.visibleOptions().filter(option => !this.isValidOption(option) && this.isSelected(option)) : this.visibleOptions().filter(option => this.isSelected(option) || this.isValidOption(option));\n const optionValues = [...selectedDisabledOptions, ...visibleOptions].map(option => this.getOptionValue(option));\n const value = [...new Set(optionValues)];\n this.updateModel(value, event);\n // because onToggleAll could have been called during filtering, this additional test needs to be performed before calling onSelectAllChange.emit\n if (!value.length || value.length === this.getAllVisibleAndNonVisibleOptions().length) {\n this.onSelectAllChange.emit({\n originalEvent: event,\n checked: !!value.length\n });\n }\n }\n if (this.partialSelected()) {\n this.selectedOptions = null;\n this.cd.markForCheck();\n }\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n DomHandler.focus(this.headerCheckboxViewChild?.inputViewChild?.nativeElement);\n this.headerCheckboxFocus = true;\n event.originalEvent.preventDefault();\n event.originalEvent.stopPropagation();\n }\n changeFocusedOptionIndex(event, index) {\n if (this.focusedOptionIndex() !== index) {\n this.focusedOptionIndex.set(index);\n this.scrollInView();\n }\n }\n get virtualScrollerDisabled() {\n return !this.virtualScroll;\n }\n scrollInView(index = -1) {\n const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;\n if (this.itemsViewChild && this.itemsViewChild.nativeElement) {\n const element = findSingle(this.itemsViewChild.nativeElement, `li[id=\"${id}\"]`);\n if (element) {\n element.scrollIntoView && element.scrollIntoView({\n block: 'nearest',\n inline: 'nearest'\n });\n } else if (!this.virtualScrollerDisabled) {\n setTimeout(() => {\n this.virtualScroll && this.scroller?.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex());\n }, 0);\n }\n }\n }\n get focusedOptionId() {\n return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;\n }\n writeValue(value) {\n this.value = value;\n this.modelValue.set(this.value);\n this.cd.markForCheck();\n }\n registerOnChange(fn) {\n this.onModelChange = fn;\n }\n registerOnTouched(fn) {\n this.onModelTouched = fn;\n }\n setDisabledState(val) {\n this.disabled = val;\n this.cd.markForCheck();\n }\n allSelected() {\n return this.selectAll !== null ? this.selectAll : isNotEmpty(this.visibleOptions()) && this.visibleOptions().every(option => this.isOptionGroup(option) || this.isOptionDisabled(option) || this.isSelected(option));\n }\n partialSelected() {\n return this.selectedOptions && this.selectedOptions.length > 0 && this.selectedOptions.length < this.options.length;\n }\n /**\n * Displays the panel.\n * @group Method\n */\n show(isFocus) {\n this.overlayVisible = true;\n const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();\n this.focusedOptionIndex.set(focusedOptionIndex);\n if (isFocus) {\n focus(this.focusInputViewChild?.nativeElement);\n }\n this.cd.markForCheck();\n }\n /**\n * Hides the panel.\n * @group Method\n */\n hide(isFocus) {\n this.overlayVisible = false;\n this.focusedOptionIndex.set(-1);\n if (this.filter && this.resetFilterOnHide) {\n this.resetFilter();\n }\n if (this.overlayOptions?.mode === 'modal') {\n unblockBodyScroll();\n }\n isFocus && focus(this.focusInputViewChild?.nativeElement);\n this.onPanelHide.emit();\n this.cd.markForCheck();\n }\n onOverlayAnimationStart(event) {\n switch (event.toState) {\n case 'visible':\n this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-list-container');\n this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);\n if (this._options() && this._options().length) {\n if (this.virtualScroll) {\n const selectedIndex = isNotEmpty(this.modelValue()) ? this.focusedOptionIndex() : -1;\n if (selectedIndex !== -1) {\n this.scroller?.scrollToIndex(selectedIndex);\n }\n } else {\n let selectedListItem = findSingle(this.itemsWrapper, '[data-p-highlight=\"true\"]');\n if (selectedListItem) {\n selectedListItem.scrollIntoView({\n block: 'nearest',\n inline: 'nearest'\n });\n }\n }\n }\n if (this.filterInputChild && this.filterInputChild.nativeElement) {\n this.preventModelTouched = true;\n if (this.autofocusFilter) {\n this.filterInputChild.nativeElement.focus();\n }\n }\n this.onPanelShow.emit();\n case 'void':\n this.itemsWrapper = null;\n this.onModelTouched();\n break;\n }\n }\n resetFilter() {\n if (this.filterInputChild && this.filterInputChild.nativeElement) {\n this.filterInputChild.nativeElement.value = '';\n }\n this._filterValue.set(null);\n this._filteredOptions = null;\n }\n close(event) {\n this.hide();\n event.preventDefault();\n event.stopPropagation();\n }\n clear(event) {\n this.value = null;\n this.updateModel(null, event);\n this.selectedOptions = null;\n this.onClear.emit();\n this._disableTooltip = true;\n event.stopPropagation();\n }\n labelContainerMouseLeave() {\n if (this._disableTooltip) this._disableTooltip = false;\n }\n removeOption(optionValue, event) {\n let value = this.modelValue().filter(val => !equals(val, optionValue, this.equalityKey()));\n this.updateModel(value, event);\n this.onChange.emit({\n originalEvent: event,\n value: value,\n itemValue: optionValue\n });\n this.onRemove.emit({\n newValue: value,\n removed: optionValue\n });\n event && event.stopPropagation();\n }\n findNextItem(item) {\n let nextItem = item.nextElementSibling;\n if (nextItem) return hasClass(nextItem.children[0], 'p-disabled') || isHidden(nextItem.children[0]) || hasClass(nextItem, 'p-multiselect-item-group') ? this.findNextItem(nextItem) : nextItem.children[0];else return null;\n }\n findPrevItem(item) {\n let prevItem = item.previousElementSibling;\n if (prevItem) return hasClass(prevItem.children[0], 'p-disabled') || isHidden(prevItem.children[0]) || hasClass(prevItem, 'p-multiselect-item-group') ? this.findPrevItem(prevItem) : prevItem.children[0];else return null;\n }\n findNextOptionIndex(index) {\n const matchedOptionIndex = index < this.visibleOptions().length - 1 ? this.visibleOptions().slice(index + 1).findIndex(option => this.isValidOption(option)) : -1;\n return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;\n }\n findPrevOptionIndex(index) {\n const matchedOptionIndex = index > 0 ? findLastIndex(this.visibleOptions().slice(0, index), option => this.isValidOption(option)) : -1;\n return matchedOptionIndex > -1 ? matchedOptionIndex : index;\n }\n findLastSelectedOptionIndex() {\n return this.hasSelectedOption() ? findLastIndex(this.visibleOptions(), option => this.isValidSelectedOption(option)) : -1;\n }\n findLastFocusedOptionIndex() {\n const selectedIndex = this.findLastSelectedOptionIndex();\n return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;\n }\n findLastOptionIndex() {\n return findLastIndex(this.visibleOptions(), option => this.isValidOption(option));\n }\n searchOptions(event, char) {\n this.searchValue = (this.searchValue || '') + char;\n let optionIndex = -1;\n let matched = false;\n if (this.focusedOptionIndex() !== -1) {\n optionIndex = this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(option => this.isOptionMatched(option));\n optionIndex = optionIndex === -1 ? this.visibleOptions().slice(0, this.focusedOptionIndex()).findIndex(option => this.isOptionMatched(option)) : optionIndex + this.focusedOptionIndex();\n } else {\n optionIndex = this.visibleOptions().findIndex(option => this.isOptionMatched(option));\n }\n if (optionIndex !== -1) {\n matched = true;\n }\n if (optionIndex === -1 && this.focusedOptionIndex() === -1) {\n optionIndex = this.findFirstFocusedOptionIndex();\n }\n if (optionIndex !== -1) {\n this.changeFocusedOptionIndex(event, optionIndex);\n }\n if (this.searchTimeout) {\n clearTimeout(this.searchTimeout);\n }\n this.searchTimeout = setTimeout(() => {\n this.searchValue = '';\n this.searchTimeout = null;\n }, 500);\n return matched;\n }\n activateFilter() {\n if (this.hasFilter() && this._options) {\n if (this.group) {\n let filteredGroups = [];\n for (let optgroup of this.options) {\n let filteredSubOptions = this.filterService.filter(this.getOptionGroupChildren(optgroup), this.searchFields(), this.filterValue, this.filterMatchMode, this.filterLocale);\n if (filteredSubOptions && filteredSubOptions.length) {\n filteredGroups.push({\n ...optgroup,\n ...{\n [this.optionGroupChildren]: filteredSubOptions\n }\n });\n }\n }\n this._filteredOptions = filteredGroups;\n } else {\n this._filteredOptions = this.filterService.filter(this.options, this.searchFields(), this.filterValue, this.filterMatchMode, this.filterLocale);\n }\n } else {\n this._filteredOptions = null;\n }\n }\n hasFocusableElements() {\n return getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement, ':not([data-p-hidden-focusable=\"true\"])').length > 0;\n }\n hasFilter() {\n return this._filterValue() && this._filterValue().trim().length > 0;\n }\n static ɵfac = function MultiSelect_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MultiSelect)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i3.FilterService), i0.ɵɵdirectiveInject(i3.OverlayService));\n };\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: MultiSelect,\n selectors: [[\"p-multiSelect\"], [\"p-multiselect\"], [\"p-multi-select\"]],\n contentQueries: function MultiSelect_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, Footer, 5);\n i0.ɵɵcontentQuery(dirIndex, Header, 5);\n i0.ɵɵcontentQuery(dirIndex, _c4, 4);\n i0.ɵɵcontentQuery(dirIndex, _c5, 4);\n i0.ɵɵcontentQuery(dirIndex, _c6, 4);\n i0.ɵɵcontentQuery(dirIndex, _c7, 4);\n i0.ɵɵcontentQuery(dirIndex, _c8, 4);\n i0.ɵɵcontentQuery(dirIndex, _c9, 4);\n i0.ɵɵcontentQuery(dirIndex, _c10, 4);\n i0.ɵɵcontentQuery(dirIndex, _c11, 4);\n i0.ɵɵcontentQuery(dirIndex, _c12, 4);\n i0.ɵɵcontentQuery(dirIndex, _c13, 4);\n i0.ɵɵcontentQuery(dirIndex, _c14, 4);\n i0.ɵɵcontentQuery(dirIndex, _c15, 4);\n i0.ɵɵcontentQuery(dirIndex, _c16, 4);\n i0.ɵɵcontentQuery(dirIndex, _c17, 4);\n i0.ɵɵcontentQuery(dirIndex, _c18, 4);\n i0.ɵɵcontentQuery(dirIndex, _c19, 4);\n i0.ɵɵcontentQuery(dirIndex, _c20, 4);\n i0.ɵɵcontentQuery(dirIndex, _c21, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerFacet = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectedItemsTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removeTokenIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chipIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemCheckboxIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function MultiSelect_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c22, 5);\n i0.ɵɵviewQuery(_c23, 5);\n i0.ɵɵviewQuery(_c24, 5);\n i0.ɵɵviewQuery(_c25, 5);\n i0.ɵɵviewQuery(_c26, 5);\n i0.ɵɵviewQuery(_c27, 5);\n i0.ɵɵviewQuery(_c28, 5);\n i0.ɵɵviewQuery(_c29, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterInputChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.focusInputViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastHiddenFocusableElementOnOverlay = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstHiddenFocusableElementOnOverlay = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxViewChild = _t.first);\n }\n },\n hostVars: 7,\n hostBindings: function MultiSelect_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"click\", function MultiSelect_click_HostBindingHandler($event) {\n return ctx.onContainerClick($event);\n });\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"id\", ctx.id);\n i0.ɵɵstyleMap(ctx.style);\n i0.ɵɵclassMap(ctx.hostClasses);\n i0.ɵɵclassProp(\"p-variant-filled\", ctx.variant === \"filled\" || ctx.config.inputVariant() === \"filled\" || ctx.config.inputStyle() === \"filled\");\n }\n },\n inputs: {\n id: \"id\",\n ariaLabel: \"ariaLabel\",\n style: \"style\",\n styleClass: \"styleClass\",\n panelStyle: \"panelStyle\",\n panelStyleClass: \"panelStyleClass\",\n inputId: \"inputId\",\n disabled: [2, \"disabled\", \"disabled\", booleanAttribute],\n fluid: [2, \"fluid\", \"fluid\", booleanAttribute],\n readonly: [2, \"readonly\", \"readonly\", booleanAttribute],\n group: [2, \"group\", \"group\", booleanAttribute],\n filter: [2, \"filter\", \"filter\", booleanAttribute],\n filterPlaceHolder: \"filterPlaceHolder\",\n filterLocale: \"filterLocale\",\n overlayVisible: [2, \"overlayVisible\", \"overlayVisible\", booleanAttribute],\n tabindex: [2, \"tabindex\", \"tabindex\", numberAttribute],\n variant: \"variant\",\n appendTo: \"appendTo\",\n dataKey: \"dataKey\",\n name: \"name\",\n ariaLabelledBy: \"ariaLabelledBy\",\n displaySelectedLabel: \"displaySelectedLabel\",\n maxSelectedLabels: \"maxSelectedLabels\",\n selectionLimit: [2, \"selectionLimit\", \"selectionLimit\", numberAttribute],\n selectedItemsLabel: \"selectedItemsLabel\",\n showToggleAll: [2, \"showToggleAll\", \"showToggleAll\", booleanAttribute],\n emptyFilterMessage: \"emptyFilterMessage\",\n emptyMessage: \"emptyMessage\",\n resetFilterOnHide: [2, \"resetFilterOnHide\", \"resetFilterOnHide\", booleanAttribute],\n dropdownIcon: \"dropdownIcon\",\n chipIcon: \"chipIcon\",\n optionLabel: \"optionLabel\",\n optionValue: \"optionValue\",\n optionDisabled: \"optionDisabled\",\n optionGroupLabel: \"optionGroupLabel\",\n optionGroupChildren: \"optionGroupChildren\",\n showHeader: [2, \"showHeader\", \"showHeader\", booleanAttribute],\n filterBy: \"filterBy\",\n scrollHeight: \"scrollHeight\",\n lazy: [2, \"lazy\", \"lazy\", booleanAttribute],\n virtualScroll: [2, \"virtualScroll\", \"virtualScroll\", booleanAttribute],\n loading: [2, \"loading\", \"loading\", booleanAttribute],\n virtualScrollItemSize: [2, \"virtualScrollItemSize\", \"virtualScrollItemSize\", numberAttribute],\n loadingIcon: \"loadingIcon\",\n virtualScrollOptions: \"virtualScrollOptions\",\n overlayOptions: \"overlayOptions\",\n ariaFilterLabel: \"ariaFilterLabel\",\n filterMatchMode: \"filterMatchMode\",\n tooltip: \"tooltip\",\n tooltipPosition: \"tooltipPosition\",\n tooltipPositionStyle: \"tooltipPositionStyle\",\n tooltipStyleClass: \"tooltipStyleClass\",\n autofocusFilter: [2, \"autofocusFilter\", \"autofocusFilter\", booleanAttribute],\n display: \"display\",\n autocomplete: \"autocomplete\",\n size: \"size\",\n showClear: [2, \"showClear\", \"showClear\", booleanAttribute],\n autofocus: [2, \"autofocus\", \"autofocus\", booleanAttribute],\n autoZIndex: \"autoZIndex\",\n baseZIndex: \"baseZIndex\",\n showTransitionOptions: \"showTransitionOptions\",\n hideTransitionOptions: \"hideTransitionOptions\",\n defaultLabel: \"defaultLabel\",\n placeholder: \"placeholder\",\n options: \"options\",\n filterValue: \"filterValue\",\n itemSize: \"itemSize\",\n selectAll: \"selectAll\",\n focusOnHover: [2, \"focusOnHover\", \"focusOnHover\", booleanAttribute],\n filterFields: \"filterFields\",\n selectOnFocus: [2, \"selectOnFocus\", \"selectOnFocus\", booleanAttribute],\n autoOptionFocus: [2, \"autoOptionFocus\", \"autoOptionFocus\", booleanAttribute]\n },\n outputs: {\n onChange: \"onChange\",\n onFilter: \"onFilter\",\n onFocus: \"onFocus\",\n onBlur: \"onBlur\",\n onClick: \"onClick\",\n onClear: \"onClear\",\n onPanelShow: \"onPanelShow\",\n onPanelHide: \"onPanelHide\",\n onLazyLoad: \"onLazyLoad\",\n onRemove: \"onRemove\",\n onSelectAllChange: \"onSelectAllChange\"\n },\n features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c31,\n decls: 16,\n vars: 35,\n consts: [[\"focusInput\", \"\"], [\"elseBlock\", \"\"], [\"overlay\", \"\"], [\"content\", \"\"], [\"token\", \"\"], [\"removeicon\", \"\"], [\"firstHiddenFocusableEl\", \"\"], [\"buildInItems\", \"\"], [\"lastHiddenFocusableEl\", \"\"], [\"builtInFilterElement\", \"\"], [\"headerCheckbox\", \"\"], [\"checkboxicon\", \"\"], [\"filterInput\", \"\"], [\"scroller\", \"\"], [\"loader\", \"\"], [\"items\", \"\"], [1, \"p-hidden-accessible\"], [\"role\", \"combobox\", 3, \"focus\", \"blur\", \"keydown\", \"pTooltip\", \"tooltipPosition\", \"positionStyle\", \"tooltipStyleClass\", \"pAutoFocus\"], [1, \"p-multiselect-label-container\", 3, \"mouseleave\", \"pTooltip\", \"tooltipDisabled\", \"tooltipPosition\", \"positionStyle\", \"tooltipStyleClass\"], [3, \"ngClass\"], [4, \"ngIf\"], [1, \"p-multiselect-dropdown\"], [4, \"ngIf\", \"ngIfElse\"], [3, \"visibleChange\", \"onAnimationStart\", \"onHide\", \"visible\", \"options\", \"target\", \"appendTo\", \"autoZIndex\", \"baseZIndex\", \"showTransitionOptions\", \"hideTransitionOptions\"], [\"class\", \"p-multiselect-chip-item\", 4, \"ngFor\", \"ngForOf\"], [1, \"p-multiselect-chip-item\"], [\"styleClass\", \"p-multiselect-chip\", 3, \"onRemove\", \"label\", \"removable\", \"removeIcon\"], [\"class\", \"p-multiselect-chip-icon\", 3, \"click\", 4, \"ngIf\"], [1, \"p-multiselect-chip-icon\", 3, \"click\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [\"class\", \"p-multiselect-clear-icon\", 3, \"click\", 4, \"ngIf\"], [1, \"p-multiselect-clear-icon\", 3, \"click\"], [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-multiselect-dropdown-icon\", 4, \"ngIf\"], [\"class\", \"p-multiselect-dropdown-icon\", 3, \"ngClass\", 4, \"ngIf\"], [3, \"styleClass\", 4, \"ngIf\"], [1, \"p-multiselect-dropdown-icon\", 3, \"ngClass\"], [3, \"styleClass\"], [1, \"p-multiselect-dropdown-icon\"], [3, \"ngClass\", \"ngStyle\"], [\"role\", \"presentation\", 1, \"p-hidden-accessible\", \"p-hidden-focusable\", 3, \"focus\"], [\"class\", \"p-multiselect-header\", 4, \"ngIf\"], [1, \"p-multiselect-list-container\"], [3, \"items\", \"style\", \"itemSize\", \"autoSize\", \"tabindex\", \"lazy\", \"options\", \"onLazyLoad\", 4, \"ngIf\"], [1, \"p-multiselect-header\"], [3, \"ngModel\", \"ariaLabel\", \"binary\", \"variant\", \"disabled\", \"onChange\", 4, \"ngIf\"], [\"class\", \"p-multiselect-filter-container\", 4, \"ngIf\"], [3, \"onChange\", \"ngModel\", \"ariaLabel\", \"binary\", \"variant\", \"disabled\"], [1, \"p-multiselect-filter-container\"], [\"pInputText\", \"\", \"type\", \"text\", \"role\", \"searchbox\", 1, \"p-multiselect-filter\", 3, \"input\", \"keydown\", \"click\", \"blur\", \"variant\", \"value\", \"disabled\"], [\"class\", \"p-multiselect-filter-icon\", 4, \"ngIf\"], [1, \"p-multiselect-filter-icon\"], [3, \"onLazyLoad\", \"items\", \"itemSize\", \"autoSize\", \"tabindex\", \"lazy\", \"options\"], [\"role\", \"listbox\", \"aria-multiselectable\", \"true\", 1, \"p-multiselect-list\", 3, \"ngClass\"], [\"ngFor\", \"\", 3, \"ngForOf\"], [\"class\", \"p-multiselect-empty-message\", \"role\", \"option\", 3, \"ngStyle\", 4, \"ngIf\"], [\"role\", \"option\", 1, \"p-multiselect-option-group\", 3, \"ngStyle\"], [3, \"onClick\", \"onMouseEnter\", \"id\", \"option\", \"selected\", \"label\", \"disabled\", \"template\", \"checkIconTemplate\", \"itemCheckboxIconTemplate\", \"itemSize\", \"focused\", \"ariaPosInset\", \"ariaSetSize\", \"variant\"], [\"role\", \"option\", 1, \"p-multiselect-empty-message\", 3, \"ngStyle\"]],\n template: function MultiSelect_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵprojectionDef(_c30);\n i0.ɵɵelementStart(0, \"div\", 16)(1, \"input\", 17, 0);\n i0.ɵɵlistener(\"focus\", function MultiSelect_Template_input_focus_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputFocus($event));\n })(\"blur\", function MultiSelect_Template_input_blur_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputBlur($event));\n })(\"keydown\", function MultiSelect_Template_input_keydown_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onKeyDown($event));\n });\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(3, \"div\", 18);\n i0.ɵɵlistener(\"mouseleave\", function MultiSelect_Template_div_mouseleave_3_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.labelContainerMouseLeave());\n });\n i0.ɵɵelementStart(4, \"div\", 19);\n i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, \"ng-container\", 20)(6, MultiSelect_ng_container_6_Template, 3, 6, \"ng-container\", 20);\n i0.ɵɵelementEnd()();\n i0.ɵɵtemplate(7, MultiSelect_ng_container_7_Template, 3, 2, \"ng-container\", 20);\n i0.ɵɵelementStart(8, \"div\", 21);\n i0.ɵɵtemplate(9, MultiSelect_ng_container_9_Template, 3, 2, \"ng-container\", 22)(10, MultiSelect_ng_template_10_Template, 2, 2, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"p-overlay\", 23, 2);\n i0.ɵɵtwoWayListener(\"visibleChange\", function MultiSelect_Template_p_overlay_visibleChange_12_listener($event) {\n i0.ɵɵrestoreView(_r1);\n i0.ɵɵtwoWayBindingSet(ctx.overlayVisible, $event) || (ctx.overlayVisible = $event);\n return i0.ɵɵresetView($event);\n });\n i0.ɵɵlistener(\"onAnimationStart\", function MultiSelect_Template_p_overlay_onAnimationStart_12_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onOverlayAnimationStart($event));\n })(\"onHide\", function MultiSelect_Template_p_overlay_onHide_12_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.hide());\n });\n i0.ɵɵtemplate(14, MultiSelect_ng_template_14_Template, 13, 18, \"ng-template\", null, 3, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n let tmp_15_0;\n const elseBlock_r24 = i0.ɵɵreference(11);\n i0.ɵɵattribute(\"data-p-hidden-accessible\", true);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"pTooltip\", ctx.tooltip)(\"tooltipPosition\", ctx.tooltipPosition)(\"positionStyle\", ctx.tooltipPositionStyle)(\"tooltipStyleClass\", ctx.tooltipStyleClass)(\"pAutoFocus\", ctx.autofocus);\n i0.ɵɵattribute(\"aria-disabled\", ctx.disabled)(\"id\", ctx.inputId)(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledBy)(\"aria-haspopup\", \"listbox\")(\"aria-expanded\", (tmp_15_0 = ctx.overlayVisible) !== null && tmp_15_0 !== undefined ? tmp_15_0 : false)(\"aria-controls\", ctx.overlayVisible ? ctx.id + \"_list\" : null)(\"tabindex\", !ctx.disabled ? ctx.tabindex : -1)(\"aria-activedescendant\", ctx.focused ? ctx.focusedOptionId : undefined)(\"value\", ctx.label() || \"empty\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"pTooltip\", ctx.tooltip)(\"tooltipDisabled\", ctx._disableTooltip)(\"tooltipPosition\", ctx.tooltipPosition)(\"positionStyle\", ctx.tooltipPositionStyle)(\"tooltipStyleClass\", ctx.tooltipStyleClass);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", ctx.labelClass);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx.selectedItemsTemplate && !ctx._selectedItemsTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.selectedItemsTemplate || ctx._selectedItemsTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isVisibleClearIcon);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx.loading)(\"ngIfElse\", elseBlock_r24);\n i0.ɵɵadvance(3);\n i0.ɵɵtwoWayProperty(\"visible\", ctx.overlayVisible);\n i0.ɵɵproperty(\"options\", ctx.overlayOptions)(\"target\", \"@parent\")(\"appendTo\", ctx.appendTo)(\"autoZIndex\", ctx.autoZIndex)(\"baseZIndex\", ctx.baseZIndex)(\"showTransitionOptions\", ctx.showTransitionOptions)(\"hideTransitionOptions\", ctx.hideTransitionOptions);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return MultiSelect;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet MultiSelectModule = /*#__PURE__*/(() => {\n class MultiSelectModule {\n static ɵfac = function MultiSelectModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MultiSelectModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: MultiSelectModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [MultiSelect, SharedModule, SharedModule]\n });\n }\n return MultiSelectModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(MultiSelectModule, {\n imports: [MultiSelect, SharedModule],\n exports: [MultiSelect, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MULTISELECT_VALUE_ACCESSOR, MultiSelect, MultiSelectClasses, MultiSelectItem, MultiSelectModule, MultiSelectStyle };\n"],"names":["theme","dt","classes","ChipStyle","BaseStyle","ɵChipStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","_c1","Chip_img_1_Template","rf","ctx","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ctx_r1","ɵɵnextContext","ɵɵresetView","ɵɵelementEnd","ɵɵproperty","ɵɵsanitizeUrl","Chip_ng_template_2_span_0_Template","ɵɵelement","ɵɵclassMap","ɵɵattribute","Chip_ng_template_2_Template","ɵɵtemplate","Chip_div_4_Template","ɵɵtext","ɵɵadvance","ɵɵtextInterpolate","Chip_ng_container_5_ng_container_1_span_1_Template","_r3","Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template","_r4","Chip_ng_container_5_ng_container_1_Template","ɵɵelementContainerStart","ɵɵelementContainerEnd","Chip_ng_container_5_span_2_1_ng_template_0_Template","Chip_ng_container_5_span_2_1_Template","Chip_ng_container_5_span_2_Template","_r5","Chip_ng_container_5_Template","Chip","BaseComponent","EventEmitter","TranslationKeys","val","k","v","inject","ChipStyle","item","simpleChanges","currentValue","classes","event","ɵChip_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","dirIndex","ɵɵcontentQuery","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵstyleMap","ɵɵstyleProp","booleanAttribute","ɵɵProvidersFeature","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","ɵɵprojectionDef","ɵɵprojection","ɵɵtemplateRefExtractor","iconTemplate_r6","ɵɵreference","CommonModule","NgClass","NgIf","NgTemplateOutlet","TimesCircleIcon","SharedModule","ChipModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","inlineStyles","props","classes","instance","option","index","getItemOptions","MultiSelectStyle","BaseStyle","ɵMultiSelectStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","a0","_c1","a1","_c2","_c3","MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template","rf","ctx","MultiSelectItem_ng_container_2_ng_template_1_0_Template","ɵɵtemplate","MultiSelectItem_ng_container_2_ng_template_1_Template","klass_r1","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵpureFunction2","MultiSelectItem_ng_container_2_Template","ɵɵelementContainerStart","ɵɵtemplateRefExtractor","ɵɵelementContainerEnd","MultiSelectItem_span_3_Template","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","tmp_1_0","ɵɵadvance","ɵɵtextInterpolate","MultiSelectItem_ng_container_4_Template","ɵɵelementContainer","_c4","_c5","_c6","_c7","_c8","_c9","_c10","_c11","_c12","_c13","_c14","_c15","_c16","_c17","_c18","_c19","_c20","_c21","_c22","_c23","_c24","_c25","_c26","_c27","_c28","_c29","_c30","_c31","_c32","_c33","_c34","_c35","a2","_c36","_c37","MultiSelect_ng_container_5_ng_container_1_Template","MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template","MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template","_r5","ɵɵgetCurrentView","ɵɵlistener","$event","ɵɵrestoreView","item_r4","ɵɵresetView","ɵɵattribute","ɵɵpureFunction0","MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template","MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template","MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template","MultiSelect_ng_container_5_ng_container_2_div_1_Template","_r3","MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template","MultiSelect_ng_container_5_ng_container_2_Template","MultiSelect_ng_container_5_Template","MultiSelect_ng_container_6_ng_container_1_Template","MultiSelect_ng_container_6_ng_container_2_Template","MultiSelect_ng_container_6_Template","MultiSelect_ng_container_7_TimesIcon_1_Template","_r6","MultiSelect_ng_container_7_span_2_1_ng_template_0_Template","MultiSelect_ng_container_7_span_2_1_Template","MultiSelect_ng_container_7_span_2_Template","_r7","MultiSelect_ng_container_7_Template","MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template","MultiSelect_ng_container_9_ng_container_1_Template","MultiSelect_ng_container_9_ng_container_2_span_1_Template","ɵɵelement","MultiSelect_ng_container_9_ng_container_2_span_2_Template","ɵɵclassMap","MultiSelect_ng_container_9_ng_container_2_Template","MultiSelect_ng_container_9_Template","MultiSelect_ng_template_10_ng_container_0_span_1_Template","MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template","MultiSelect_ng_template_10_ng_container_0_Template","MultiSelect_ng_template_10_span_1_1_ng_template_0_Template","MultiSelect_ng_template_10_span_1_1_Template","MultiSelect_ng_template_10_span_1_Template","MultiSelect_ng_template_10_Template","MultiSelect_ng_template_14_ng_container_3_Template","MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template","MultiSelect_ng_template_14_div_4_ng_container_2_Template","ɵɵpureFunction1","MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template","klass_r10","MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template","MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template","MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template","ɵɵpureFunction3","MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template","_r9","MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template","MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template","MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template","MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template","MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template","_r11","MultiSelect_ng_template_14_div_4_ng_template_3_Template","MultiSelect_ng_template_14_div_4_Template","ɵɵprojection","builtInFilterElement_r12","ɵɵreference","MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template","MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template","items_r14","scrollerOptions_r15","buildInItems_r16","MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template","MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template","scrollerOptions_r17","MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template","MultiSelect_ng_template_14_p_scroller_6_Template","_r13","ɵɵstyleMap","MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template","MultiSelect_ng_template_14_ng_container_7_Template","MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template","option_r18","MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template","MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template","ctx_r18","i_r20","scrollerOptions_r21","MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template","_r22","MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template","MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template","ɵɵtextInterpolate1","MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template","MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template","MultiSelect_ng_template_14_ng_template_8_li_3_Template","ɵɵconditional","MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template","MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template","MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template","MultiSelect_ng_template_14_ng_template_8_li_4_Template","MultiSelect_ng_template_14_ng_template_8_Template","items_r23","MultiSelect_ng_template_14_div_10_ng_container_2_Template","MultiSelect_ng_template_14_div_10_Template","MultiSelect_ng_template_14_Template","_r8","ɵɵstyleProp","MULTISELECT_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MultiSelect","MultiSelectItem","BaseComponent","EventEmitter","event","ɵMultiSelectItem_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","booleanAttribute","numberAttribute","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","CommonModule","NgClass","NgIf","NgTemplateOutlet","NgStyle","Checkbox","FormsModule","NgControlStatus","NgModel","Ripple","SharedModule","val","deepEquals","value","inject","MultiSelectStyle","signal","item","classes","key","TranslationKeys","isNotEmpty","fluidComponent","computed","options","isArrayOfObjects","isArray","isObject","filteredOptions","option","optionGroups","filtered","group","filteredItems","__spreadProps","__spreadValues","label","modelValue","zone","filterService","overlayService","effect","visibleOptions","uuid","result","index","optionGroupChildren","o","isFocus","originalEvent","selected","equals","focus","start","end","rangeStart","rangeEnd","firstCheckUp","matchedOptionIndex","findLastIndex","selectedIndex","resolveFieldData","optionValue","scrollerOptions","matchedOption","pattern","message","optionGroup","metaKey","isPrintableCharacter","pressedInInputText","optionIndex","currentTarget","len","focusableEl","getFirstFocusableElement","focusedOptionIndex","getLastFocusableElement","selectedDisabledOptions","optionValues","DomHandler","id","element","findSingle","fn","unblockBodyScroll","selectedListItem","nextItem","hasClass","isHidden","prevItem","char","matched","filteredGroups","optgroup","filteredSubOptions","getFocusableElements","ɵɵdirectiveInject","NgZone","FilterService","OverlayService","dirIndex","ɵɵcontentQuery","Footer","Header","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","ɵɵclassProp","ɵɵProvidersFeature","_r1","ɵɵprojectionDef","ɵɵtwoWayListener","ɵɵtwoWayBindingSet","tmp_15_0","elseBlock_r24","ɵɵtwoWayProperty","NgForOf","Overlay","Tooltip","Scroller","AutoFocus","CheckIcon","SearchIcon","TimesIcon","ChevronDownIcon","IconField","InputIcon","InputText","Chip","MultiSelectModule","ɵɵdefineNgModule","ɵɵdefineInjector"],"mappings":";;+mCAQA,IAAMA,GAAQ,CAAC,CACb,GAAAC,CACF,IAAM;AAAA;AAAA;AAAA;AAAA,kBAIYA,EAAG,iBAAiB,CAAC;AAAA,aAC1BA,EAAG,YAAY,CAAC;AAAA,qBACRA,EAAG,oBAAoB,CAAC;AAAA,eAC9BA,EAAG,gBAAgB,CAAC,IAAIA,EAAG,gBAAgB,CAAC;AAAA,WAChDA,EAAG,UAAU,CAAC;AAAA;AAAA;AAAA;AAAA,aAIZA,EAAG,iBAAiB,CAAC;AAAA,iBACjBA,EAAG,qBAAqB,CAAC;AAAA,aAC7BA,EAAG,gBAAgB,CAAC;AAAA,cACnBA,EAAG,gBAAgB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,aAKrBA,EAAG,kBAAkB,CAAC;AAAA,cACrBA,EAAG,mBAAmB,CAAC;AAAA,6BACRA,EAAG,gBAAgB,CAAC;AAAA;AAAA;AAAA;AAAA,0BAIvBA,EAAG,gBAAgB,CAAC;AAAA;AAAA;AAAA;AAAA,wBAItBA,EAAG,gBAAgB,CAAC;AAAA,2BACjBA,EAAG,gBAAgB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,iBAK9BA,EAAG,4BAA4B,CAAC;AAAA,aACpCA,EAAG,uBAAuB,CAAC;AAAA,cAC1BA,EAAG,uBAAuB,CAAC;AAAA,aAC5BA,EAAG,wBAAwB,CAAC;AAAA;AAAA,gCAETA,EAAG,0BAA0B,CAAC,gBAAgBA,EAAG,0BAA0B,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,kBAK1FA,EAAG,oCAAoC,CAAC;AAAA,eAC3CA,EAAG,mCAAmC,CAAC,IAAIA,EAAG,mCAAmC,CAAC,IAAIA,EAAG,mCAAmC,CAAC;AAAA,sBACtHA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