{"version":3,"sources":["webpack:///./node_modules/primevue/dropdown/dropdown.esm.js","webpack:///./node_modules/primevue/carousel/carousel.esm.js","webpack:///./node_modules/primevue/checkbox/checkbox.esm.js"],"names":["script","name","emits","props","modelValue","options","Array","optionLabel","optionValue","optionDisabled","optionGroupLabel","optionGroupChildren","scrollHeight","type","String","default","filter","Boolean","filterPlaceholder","filterLocale","filterMatchMode","filterFields","editable","placeholder","disabled","dataKey","showClear","inputId","inputClass","inputStyle","inputProps","panelClass","panelStyle","panelProps","filterInputProps","clearIconProps","appendTo","loading","clearIcon","dropdownIcon","filterIcon","loadingIcon","resetFilterOnHide","virtualScrollerOptions","Object","autoOptionFocus","autoFilterFocus","selectOnFocus","filterMessage","selectionMessage","emptySelectionMessage","emptyFilterMessage","emptyMessage","tabindex","Number","outsideClickListener","scrollHandler","resizeListener","overlay","list","virtualScroller","searchTimeout","searchValue","isModelValueChanged","focusOnHover","focused","focusedOptionIndex","filterValue","overlayVisible","watch","this","autoUpdateModel","scrollInView","findSelectedOptionIndex","unbindOutsideClickListener","unbindResizeListener","destroy","clear","methods","index","fn","virtualScrollerDisabled","option","resolveFieldData","getOptionLabel","optionGroup","group","visibleOptions","slice","isOptionGroup","length","isFocus","$emit","findFirstFocusedOptionIndex","focus","$refs","focusInput","_hide","setTimeout","event","metaKey","ctrlKey","code","onArrowDownKey","onArrowUpKey","onArrowLeftKey","onHomeKey","onEndKey","onPageDownKey","onPageUpKey","onSpaceKey","onEnterKey","onEscapeKey","onTabKey","onBackspaceKey","isPrintableCharacter","key","show","searchOptions","value","target","matched","hasClass","tagName","contains","hide","updateModel","relatedTarget","firstFocusableEl","getFirstFocusableElement","firstHiddenFocusableElementOnOverlay","isHide","getOptionValue","changeFocusedOptionIndex","originalEvent","scrollToIndex","alignOverlay","emit","$el","optionIndex","findNextOptionIndex","preventDefault","pressedInInputText","altKey","onOptionSelect","findPrevOptionIndex","findLastFocusedOptionIndex","currentTarget","setSelectionRange","findFirstOptionIndex","len","findLastOptionIndex","hasFocusableElements","el","set","$primevue","config","zIndex","filterInput","bindOutsideClickListener","bindScrollListener","bindResizeListener","unbindScrollListener","relativePosition","style","minWidth","getOuterWidth","absolutePosition","document","addEventListener","removeEventListener","container","isTouchDevice","window","getFocusableElements","isValidOption","toLocaleLowerCase","startsWith","isOptionDisabled","isSelected","equals","equalityKey","findIndex","findLastIndex","matchedOptionIndex","hasSelectedOption","isValidSelectedOption","selectedIndex","char","isOptionMatched","clearTimeout","id","focusedOptionId","element","findSingle","scrollIntoView","block","inline","reduce","result","push","getOptionGroupChildren","forEach","o","contentRef","computed","label","$slots","ripple","flatOptions","filteredOptions","searchFields","optionGroups","filtered","filteredItems","items","item","includes","isNotEmpty","selectedOptionIndex","filterMessageText","replaceAll","emptyFilterMessageText","locale","searchMessage","emptySearchMessage","selectionMessageText","emptySelectionMessageText","$attrs","directives","components","VirtualScroller","Portal","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","class","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","role","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","render","_ctx","_cache","$props","$setup","$data","$options","_component_VirtualScroller","_component_Portal","_directive_ripple","ref","containerClass","onClick","args","onContainerClick","inputStyleClass","editableInputValue","autocomplete","ariaLabel","ariaLabelledby","undefined","onFocus","onBlur","onKeydown","onKeyDown","onInput","onEditableInput","onClearClick","dropdownIconClass","onEnter","onOverlayEnter","onAfterEnter","onOverlayAfterEnter","onLeave","onOverlayLeave","onAfterLeave","onOverlayAfterLeave","overlayRef","panelStyleClass","onOverlayClick","onOverlayKeyDown","onFirstHiddenFocus","onVnodeUpdated","onFilterUpdated","onFilterKeyDown","onFilterBlur","onFilterChange","filterResultMessageText","virtualScrollerRef","height","content","styleClass","getItemOptions","contentStyle","itemSize","listRef","i","getOptionRenderKey","getOptionIndex","getOptionGroupLabel","ariaSetSize","getAriaPosInset","$event","onMousemove","onOptionMouseMove","emptyMessageText","selectedMessageText","_","onLastHiddenFocus","styleInject","css","insertAt","head","getElementsByTagName","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","css_248z","page","numVisible","numScroll","responsiveOptions","orientation","verticalViewPortHeight","contentClass","indicatorsContentClass","circular","autoplayInterval","showNavigators","showIndicators","remainingItems","d_numVisible","d_numScroll","d_oldNumScroll","d_oldNumVisible","d_oldValue","d_page","totalShiftedItems","allowAutoplay","d_circular","swipeThreshold","isRemainingItemsAdded","newValue","oldValue","stateChanged","createStyle","calculatePosition","bindDocumentListeners","isCircular","isAutoplay","startAutoplay","stopAutoplay","totalIndicators","itemsContainer","transform","isVertical","unbindDocumentListeners","dir","originalShiftedItems","Math","abs","floor","removeClass","transition","windowWidth","innerWidth","matchedResponsiveOptionsData","res","parseInt","breakpoint","e","step","cancelable","navForward","navBackward","addClass","touchobj","changedTouches","startPos","x","pageX","y","pageY","changePageOnTouch","diff","documentResizeListener","interval","setInterval","clearInterval","carouselStyle","body","innerHTML","_responsiveOptions","sort","data1","data2","value1","value2","localeCompare","numeric","firstIndex","max","ceil","contentClasses","containerClasses","backwardIsDisabled","onTouchend","onTouchEnd","onTouchstart","onTouchStart","onTouchmove","onTouchMove","onTransitionend","onTransitionEnd","data","lastIndex","forwardIsDisabled","indicatorsContentClasses","indicator","toString","onIndicatorClick","binary","trueValue","falseValue","readonly","required","newModelValue","checked","val","input"],"mappings":"kHAAA,0HAQIA,EAAS,CACTC,KAAM,WACNC,MAAO,CAAC,oBAAqB,SAAU,QAAS,OAAQ,cAAe,cAAe,OAAQ,OAAQ,UACtGC,MAAO,CACHC,WAAY,KACZC,QAASC,MACTC,YAAa,KACbC,YAAa,KACbC,eAAgB,KAChBC,iBAAkB,KAClBC,oBAAqB,KACrBC,aAAc,CACVC,KAAMC,OACNC,QAAS,SAEbC,OAAQC,QACRC,kBAAmBJ,OACnBK,aAAcL,OACdM,gBAAiB,CACbP,KAAMC,OACNC,QAAS,YAEbM,aAAc,CACVR,KA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CAC7CnB,MAAO,eAAemB,EAASK,gBAC/BC,QAASV,EAAO,KAAOA,EAAO,GAAK4D,GAAWxD,EAASM,QAAQkD,KAC9D,CACD,eAAmB,MAAO/E,EAAY,CACpC,eAAmB,QAAS,eAAW,CACrC2B,IAAK,QACLrE,GAAI8D,EAAOlO,QACXd,KAAM,WACN0G,MAAOsI,EAAOtI,MACdsH,MAAOgB,EAAOjO,WACdwI,MAAOyF,EAAOhO,WACd5B,KAAM4P,EAAO5P,KACbwb,QAASzL,EAASyL,QAClBpY,SAAUwM,EAAOxM,SACjB7B,SAAUqO,EAAOrO,SACjB8Z,SAAUzL,EAAOyL,SACjBC,SAAU1L,EAAO0L,SACjB,kBAAmB5L,EAAKkB,eACxB,aAAclB,EAAKiB,UACnBG,QAASnB,EAAO,KAAOA,EAAO,GAAK4D,GAAWxD,EAASe,QAAQyC,IAC/DxC,OAAQpB,EAAO,KAAOA,EAAO,GAAK4D,GAAWxD,EAASgB,OAAOwC,KAC5D3D,EAAO/N,YAAa,KAAM,GAAI4M,KAEnC,eAAmB,MAAO,CACxB0B,IAAK,MACLvB,MAAO,eAAe,CAAC,iBAAkB,CAAE,cAAemB,EAASyL,QAAS,aAAc5L,EAAOrO,SAAU,UAAWuO,EAAM9L,YAC3H,CACD,eAAmB,OAAQ,CACzB4K,MAAO,eAAe,CAAC,kBAAmB,CAAE,cAAemB,EAASyL,YACnE,KAAM,IACR,IACF,GAGLzb,EAAO0P,OAASA","file":"js/chunk-1ec52acf.a55b7698.js","sourcesContent":["import { FilterService } from 'primevue/api';\nimport OverlayEventBus from 'primevue/overlayeventbus';\nimport Portal from 'primevue/portal';\nimport Ripple from 'primevue/ripple';\nimport { ZIndexUtils, ObjectUtils, DomHandler, ConnectedOverlayScrollHandler, UniqueComponentId } from 'primevue/utils';\nimport VirtualScroller from 'primevue/virtualscroller';\nimport { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, mergeProps, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, createVNode, withCtx, Transition, normalizeStyle, createSlots, Fragment, renderList, withDirectives } from 'vue';\n\nvar script = {\n name: 'Dropdown',\n emits: ['update:modelValue', 'change', 'focus', 'blur', 'before-show', 'before-hide', 'show', 'hide', 'filter'],\n props: {\n modelValue: null,\n options: Array,\n optionLabel: null,\n optionValue: null,\n optionDisabled: null,\n optionGroupLabel: null,\n optionGroupChildren: null,\n scrollHeight: {\n type: String,\n default: '200px'\n },\n filter: Boolean,\n filterPlaceholder: String,\n filterLocale: String,\n filterMatchMode: {\n type: String,\n default: 'contains'\n },\n filterFields: {\n type: Array,\n default: null\n },\n editable: Boolean,\n placeholder: {\n type: String,\n default: null\n },\n disabled: {\n type: Boolean,\n default: false\n },\n dataKey: null,\n showClear: {\n type: Boolean,\n default: false\n },\n inputId: {\n type: String,\n default: null\n },\n inputClass: {\n type: String,\n default: null\n },\n inputStyle: {\n type: null,\n default: null\n },\n inputProps: {\n type: null,\n default: null\n },\n panelClass: {\n type: String,\n default: null\n },\n panelStyle: {\n type: null,\n default: null\n },\n panelProps: {\n type: null,\n default: null\n },\n filterInputProps: {\n type: null,\n default: null\n },\n clearIconProps: {\n type: null,\n default: null\n },\n appendTo: {\n type: String,\n default: 'body'\n },\n loading: {\n type: Boolean,\n default: false\n },\n clearIcon: {\n type: String,\n default: 'pi pi-times'\n },\n dropdownIcon: {\n type: String,\n default: 'pi pi-chevron-down'\n },\n filterIcon: {\n type: String,\n default: 'pi pi-search'\n },\n loadingIcon: {\n type: String,\n default: 'pi pi-spinner pi-spin'\n },\n resetFilterOnHide: {\n type: Boolean,\n default: false\n },\n virtualScrollerOptions: {\n type: Object,\n default: null\n },\n autoOptionFocus: {\n type: Boolean,\n default: true\n },\n autoFilterFocus: {\n type: Boolean,\n default: false\n },\n selectOnFocus: {\n type: Boolean,\n default: false\n },\n filterMessage: {\n type: String,\n default: null\n },\n selectionMessage: {\n type: String,\n default: null\n },\n emptySelectionMessage: {\n type: String,\n default: null\n },\n emptyFilterMessage: {\n type: String,\n default: null\n },\n emptyMessage: {\n type: String,\n default: null\n },\n tabindex: {\n type: Number,\n default: 0\n },\n 'aria-label': {\n type: String,\n default: null\n },\n 'aria-labelledby': {\n type: String,\n default: null\n }\n },\n outsideClickListener: null,\n scrollHandler: null,\n resizeListener: null,\n overlay: null,\n list: null,\n virtualScroller: null,\n searchTimeout: null,\n searchValue: null,\n isModelValueChanged: false,\n focusOnHover: false,\n data() {\n return {\n focused: false,\n focusedOptionIndex: -1,\n filterValue: null,\n overlayVisible: false\n };\n },\n watch: {\n modelValue() {\n this.isModelValueChanged = true;\n },\n options() {\n this.autoUpdateModel();\n }\n },\n mounted() {\n this.autoUpdateModel();\n },\n updated() {\n if (this.overlayVisible && this.isModelValueChanged) {\n this.scrollInView(this.findSelectedOptionIndex());\n }\n\n this.isModelValueChanged = false;\n },\n beforeUnmount() {\n this.unbindOutsideClickListener();\n this.unbindResizeListener();\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n if (this.overlay) {\n ZIndexUtils.clear(this.overlay);\n this.overlay = null;\n }\n },\n methods: {\n getOptionIndex(index, fn) {\n return this.virtualScrollerDisabled ? index : fn && fn(index)['index'];\n },\n getOptionLabel(option) {\n return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;\n },\n getOptionValue(option) {\n return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;\n },\n getOptionRenderKey(option, index) {\n return (this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option)) + '_' + index;\n },\n isOptionDisabled(option) {\n return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;\n },\n isOptionGroup(option) {\n return this.optionGroupLabel && option.optionGroup && option.group;\n },\n getOptionGroupLabel(optionGroup) {\n return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);\n },\n getOptionGroupChildren(optionGroup) {\n return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);\n },\n getAriaPosInset(index) {\n return (this.optionGroupLabel ? index - this.visibleOptions.slice(0, index).filter((option) => this.isOptionGroup(option)).length : index) + 1;\n },\n show(isFocus) {\n this.$emit('before-show');\n this.overlayVisible = true;\n this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;\n\n isFocus && DomHandler.focus(this.$refs.focusInput);\n },\n hide(isFocus) {\n const _hide = () => {\n this.$emit('before-hide');\n this.overlayVisible = false;\n this.focusedOptionIndex = -1;\n this.searchValue = '';\n\n this.resetFilterOnHide && (this.filterValue = null);\n isFocus && DomHandler.focus(this.$refs.focusInput);\n };\n\n setTimeout(() => {\n _hide();\n }, 0); // For ScreenReaders\n },\n onFocus(event) {\n this.focused = true;\n this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;\n this.overlayVisible && this.scrollInView(this.focusedOptionIndex);\n this.$emit('focus', event);\n },\n onBlur(event) {\n this.focused = false;\n this.focusedOptionIndex = -1;\n this.searchValue = '';\n this.$emit('blur', event);\n },\n onKeyDown(event) {\n const metaKey = event.metaKey || event.ctrlKey;\n\n switch (event.code) {\n case 'ArrowDown':\n this.onArrowDownKey(event);\n break;\n\n case 'ArrowUp':\n this.onArrowUpKey(event, this.editable);\n break;\n\n case 'ArrowLeft':\n case 'ArrowRight':\n this.onArrowLeftKey(event, this.editable);\n break;\n\n case 'Home':\n this.onHomeKey(event, this.editable);\n break;\n\n case 'End':\n this.onEndKey(event, this.editable);\n break;\n\n case 'PageDown':\n this.onPageDownKey(event);\n break;\n\n case 'PageUp':\n this.onPageUpKey(event);\n break;\n\n case 'Space':\n this.onSpaceKey(event, this.editable);\n break;\n\n case 'Enter':\n this.onEnterKey(event);\n break;\n\n case 'Escape':\n this.onEscapeKey(event);\n break;\n\n case 'Tab':\n this.onTabKey(event);\n break;\n\n case 'Backspace':\n this.onBackspaceKey(event, this.editable);\n break;\n\n case 'ShiftLeft':\n case 'ShiftRight':\n //NOOP\n break;\n\n default:\n if (!metaKey && ObjectUtils.isPrintableCharacter(event.key)) {\n !this.overlayVisible && this.show();\n !this.editable && this.searchOptions(event, event.key);\n }\n\n break;\n }\n },\n onEditableInput(event) {\n const value = event.target.value;\n\n this.searchValue = '';\n const matched = this.searchOptions(event, value);\n\n !matched && (this.focusedOptionIndex = -1);\n\n this.$emit('update:modelValue', value);\n },\n onContainerClick(event) {\n if (this.disabled || this.loading) {\n return;\n }\n\n if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') {\n return;\n } else if (!this.overlay || !this.overlay.contains(event.target)) {\n this.overlayVisible ? this.hide(true) : this.show(true);\n }\n },\n onClearClick(event) {\n this.updateModel(event, null);\n },\n onFirstHiddenFocus(event) {\n const relatedTarget = event.relatedTarget;\n\n if (relatedTarget === this.$refs.focusInput) {\n const firstFocusableEl = DomHandler.getFirstFocusableElement(this.overlay, ':not(.p-hidden-focusable)');\n\n DomHandler.focus(firstFocusableEl);\n } else {\n DomHandler.focus(this.$refs.focusInput);\n }\n },\n onLastHiddenFocus() {\n DomHandler.focus(this.$refs.firstHiddenFocusableElementOnOverlay);\n },\n onOptionSelect(event, option, isHide = true) {\n const value = this.getOptionValue(option);\n\n this.updateModel(event, value);\n isHide && this.hide(true);\n },\n onOptionMouseMove(event, index) {\n if (this.focusOnHover) {\n this.changeFocusedOptionIndex(event, index);\n }\n },\n onFilterChange(event) {\n const value = event.target.value;\n\n this.filterValue = value;\n this.focusedOptionIndex = -1;\n this.$emit('filter', { originalEvent: event, value });\n\n !this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);\n },\n onFilterKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown':\n this.onArrowDownKey(event);\n break;\n\n case 'ArrowUp':\n this.onArrowUpKey(event, true);\n break;\n\n case 'ArrowLeft':\n case 'ArrowRight':\n this.onArrowLeftKey(event, true);\n break;\n\n case 'Home':\n this.onHomeKey(event, true);\n break;\n\n case 'End':\n this.onEndKey(event, true);\n break;\n\n case 'Enter':\n this.onEnterKey(event);\n break;\n\n case 'Escape':\n this.onEscapeKey(event);\n break;\n\n case 'Tab':\n this.onTabKey(event, true);\n break;\n }\n },\n onFilterBlur() {\n this.focusedOptionIndex = -1;\n },\n onFilterUpdated() {\n if (this.overlayVisible) {\n this.alignOverlay();\n }\n },\n onOverlayClick(event) {\n OverlayEventBus.emit('overlay-click', {\n originalEvent: event,\n target: this.$el\n });\n },\n onOverlayKeyDown(event) {\n switch (event.code) {\n case 'Escape':\n this.onEscapeKey(event);\n break;\n }\n },\n onArrowDownKey(event) {\n const optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.findFirstFocusedOptionIndex();\n\n this.changeFocusedOptionIndex(event, optionIndex);\n\n !this.overlayVisible && this.show();\n event.preventDefault();\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\n this.overlayVisible && this.hide();\n event.preventDefault();\n } else {\n const optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.findLastFocusedOptionIndex();\n\n this.changeFocusedOptionIndex(event, optionIndex);\n\n !this.overlayVisible && this.show();\n event.preventDefault();\n }\n },\n onArrowLeftKey(event, pressedInInputText = false) {\n pressedInInputText && (this.focusedOptionIndex = -1);\n },\n onHomeKey(event, pressedInInputText = false) {\n if (pressedInInputText) {\n event.currentTarget.setSelectionRange(0, 0);\n this.focusedOptionIndex = -1;\n } else {\n this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());\n\n !this.overlayVisible && this.show();\n }\n\n event.preventDefault();\n },\n onEndKey(event, pressedInInputText = false) {\n if (pressedInInputText) {\n const target = event.currentTarget;\n const len = target.value.length;\n\n target.setSelectionRange(len, len);\n this.focusedOptionIndex = -1;\n } else {\n this.changeFocusedOptionIndex(event, this.findLastOptionIndex());\n\n !this.overlayVisible && this.show();\n }\n\n event.preventDefault();\n },\n onPageUpKey(event) {\n this.scrollInView(0);\n event.preventDefault();\n },\n onPageDownKey(event) {\n this.scrollInView(this.visibleOptions.length - 1);\n event.preventDefault();\n },\n onEnterKey(event) {\n if (!this.overlayVisible) {\n this.onArrowDownKey(event);\n } else {\n if (this.focusedOptionIndex !== -1) {\n this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);\n }\n\n this.hide();\n }\n\n event.preventDefault();\n },\n onSpaceKey(event, pressedInInputText = false) {\n !pressedInInputText && this.onEnterKey(event);\n },\n onEscapeKey(event) {\n this.overlayVisible && this.hide(true);\n event.preventDefault();\n },\n onTabKey(event, pressedInInputText = false) {\n if (!pressedInInputText) {\n if (this.overlayVisible && this.hasFocusableElements()) {\n DomHandler.focus(this.$refs.firstHiddenFocusableElementOnOverlay);\n\n event.preventDefault();\n } else {\n if (this.focusedOptionIndex !== -1) {\n this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);\n }\n\n this.overlayVisible && this.hide(this.filter);\n }\n }\n },\n onBackspaceKey(event, pressedInInputText = false) {\n if (pressedInInputText) {\n !this.overlayVisible && this.show();\n }\n },\n onOverlayEnter(el) {\n ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);\n this.alignOverlay();\n this.scrollInView();\n\n this.autoFilterFocus && DomHandler.focus(this.$refs.filterInput);\n },\n onOverlayAfterEnter() {\n this.bindOutsideClickListener();\n this.bindScrollListener();\n this.bindResizeListener();\n\n this.$emit('show');\n },\n onOverlayLeave() {\n this.unbindOutsideClickListener();\n this.unbindScrollListener();\n this.unbindResizeListener();\n\n this.$emit('hide');\n this.overlay = null;\n },\n onOverlayAfterLeave(el) {\n ZIndexUtils.clear(el);\n },\n alignOverlay() {\n if (this.appendTo === 'self') {\n DomHandler.relativePosition(this.overlay, this.$el);\n } else {\n this.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + 'px';\n DomHandler.absolutePosition(this.overlay, this.$el);\n }\n },\n bindOutsideClickListener() {\n if (!this.outsideClickListener) {\n this.outsideClickListener = (event) => {\n if (this.overlayVisible && this.overlay && !this.$el.contains(event.target) && !this.overlay.contains(event.target)) {\n this.hide();\n }\n };\n\n document.addEventListener('click', this.outsideClickListener);\n }\n },\n unbindOutsideClickListener() {\n if (this.outsideClickListener) {\n document.removeEventListener('click', this.outsideClickListener);\n this.outsideClickListener = null;\n }\n },\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.$refs.container, () => {\n if (this.overlayVisible) {\n this.hide();\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n },\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n },\n bindResizeListener() {\n if (!this.resizeListener) {\n this.resizeListener = () => {\n if (this.overlayVisible && !DomHandler.isTouchDevice()) {\n this.hide();\n }\n };\n\n window.addEventListener('resize', this.resizeListener);\n }\n },\n unbindResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n },\n hasFocusableElements() {\n return DomHandler.getFocusableElements(this.overlay, ':not(.p-hidden-focusable)').length > 0;\n },\n isOptionMatched(option) {\n return this.isValidOption(option) && this.getOptionLabel(option).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));\n },\n isValidOption(option) {\n return option && !(this.isOptionDisabled(option) || this.isOptionGroup(option));\n },\n isValidSelectedOption(option) {\n return this.isValidOption(option) && this.isSelected(option);\n },\n isSelected(option) {\n return ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey);\n },\n findFirstOptionIndex() {\n return this.visibleOptions.findIndex((option) => this.isValidOption(option));\n },\n findLastOptionIndex() {\n return ObjectUtils.findLastIndex(this.visibleOptions, (option) => this.isValidOption(option));\n },\n findNextOptionIndex(index) {\n const matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex((option) => this.isValidOption(option)) : -1;\n\n return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;\n },\n findPrevOptionIndex(index) {\n const matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), (option) => this.isValidOption(option)) : -1;\n\n return matchedOptionIndex > -1 ? matchedOptionIndex : index;\n },\n findSelectedOptionIndex() {\n return this.hasSelectedOption ? this.visibleOptions.findIndex((option) => this.isValidSelectedOption(option)) : -1;\n },\n findFirstFocusedOptionIndex() {\n const selectedIndex = this.findSelectedOptionIndex();\n\n return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;\n },\n findLastFocusedOptionIndex() {\n const selectedIndex = this.findSelectedOptionIndex();\n\n return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;\n },\n searchOptions(event, char) {\n this.searchValue = (this.searchValue || '') + char;\n\n let optionIndex = -1;\n let matched = false;\n\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\n if (optionIndex !== -1) {\n matched = true;\n }\n\n if (optionIndex === -1 && this.focusedOptionIndex === -1) {\n optionIndex = this.findFirstFocusedOptionIndex();\n }\n\n if (optionIndex !== -1) {\n this.changeFocusedOptionIndex(event, optionIndex);\n }\n\n if (this.searchTimeout) {\n clearTimeout(this.searchTimeout);\n }\n\n this.searchTimeout = setTimeout(() => {\n this.searchValue = '';\n this.searchTimeout = null;\n }, 500);\n\n return matched;\n },\n changeFocusedOptionIndex(event, index) {\n if (this.focusedOptionIndex !== index) {\n this.focusedOptionIndex = index;\n this.scrollInView();\n\n if (this.selectOnFocus) {\n this.onOptionSelect(event, this.visibleOptions[index], false);\n }\n }\n },\n scrollInView(index = -1) {\n const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;\n const element = DomHandler.findSingle(this.list, `li[id=\"${id}\"]`);\n\n if (element) {\n element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start' });\n } else if (!this.virtualScrollerDisabled) {\n setTimeout(() => {\n this.virtualScroller && this.virtualScroller.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex);\n }, 0);\n }\n },\n autoUpdateModel() {\n if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {\n this.focusedOptionIndex = this.findFirstFocusedOptionIndex();\n this.onOptionSelect(null, this.visibleOptions[this.focusedOptionIndex], false);\n }\n },\n updateModel(event, value) {\n this.$emit('update:modelValue', value);\n this.$emit('change', { originalEvent: event, value });\n },\n flatOptions(options) {\n return (options || []).reduce((result, option, index) => {\n result.push({ optionGroup: option, group: true, index });\n\n const optionGroupChildren = this.getOptionGroupChildren(option);\n\n optionGroupChildren && optionGroupChildren.forEach((o) => result.push(o));\n\n return result;\n }, []);\n },\n overlayRef(el) {\n this.overlay = el;\n },\n listRef(el, contentRef) {\n this.list = el;\n contentRef && contentRef(el); // For VirtualScroller\n },\n virtualScrollerRef(el) {\n this.virtualScroller = el;\n }\n },\n computed: {\n containerClass() {\n return [\n 'p-dropdown p-component p-inputwrapper',\n {\n 'p-disabled': this.disabled,\n 'p-dropdown-clearable': this.showClear && !this.disabled,\n 'p-focus': this.focused,\n 'p-inputwrapper-filled': this.modelValue,\n 'p-inputwrapper-focus': this.focused || this.overlayVisible,\n 'p-overlay-open': this.overlayVisible\n }\n ];\n },\n inputStyleClass() {\n return [\n 'p-dropdown-label p-inputtext',\n this.inputClass,\n {\n 'p-placeholder': !this.editable && this.label === this.placeholder,\n 'p-dropdown-label-empty': !this.editable && !this.$slots['value'] && (this.label === 'p-emptylabel' || this.label.length === 0)\n }\n ];\n },\n panelStyleClass() {\n return [\n 'p-dropdown-panel p-component',\n this.panelClass,\n {\n 'p-input-filled': this.$primevue.config.inputStyle === 'filled',\n 'p-ripple-disabled': this.$primevue.config.ripple === false\n }\n ];\n },\n dropdownIconClass() {\n return ['p-dropdown-trigger-icon', this.loading ? this.loadingIcon : this.dropdownIcon];\n },\n visibleOptions() {\n const options = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];\n\n if (this.filterValue) {\n const filteredOptions = FilterService.filter(options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);\n\n if (this.optionGroupLabel) {\n const optionGroups = this.options || [];\n const filtered = [];\n\n optionGroups.forEach((group) => {\n const filteredItems = group.items.filter((item) => filteredOptions.includes(item));\n\n if (filteredItems.length > 0) filtered.push({ ...group, items: [...filteredItems] });\n });\n\n return this.flatOptions(filtered);\n }\n\n return filteredOptions;\n }\n\n return options;\n },\n hasSelectedOption() {\n return ObjectUtils.isNotEmpty(this.modelValue);\n },\n label() {\n const selectedOptionIndex = this.findSelectedOptionIndex();\n\n return selectedOptionIndex !== -1 ? this.getOptionLabel(this.visibleOptions[selectedOptionIndex]) : this.placeholder || 'p-emptylabel';\n },\n editableInputValue() {\n const selectedOptionIndex = this.findSelectedOptionIndex();\n\n return selectedOptionIndex !== -1 ? this.getOptionLabel(this.visibleOptions[selectedOptionIndex]) : this.modelValue || '';\n },\n equalityKey() {\n return this.optionValue ? null : this.dataKey;\n },\n searchFields() {\n return this.filterFields || [this.optionLabel];\n },\n filterResultMessageText() {\n return ObjectUtils.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll('{0}', this.visibleOptions.length) : this.emptyFilterMessageText;\n },\n filterMessageText() {\n return this.filterMessage || this.$primevue.config.locale.searchMessage || '';\n },\n emptyFilterMessageText() {\n return this.emptyFilterMessage || this.$primevue.config.locale.emptySearchMessage || this.$primevue.config.locale.emptyFilterMessage || '';\n },\n emptyMessageText() {\n return this.emptyMessage || this.$primevue.config.locale.emptyMessage || '';\n },\n selectionMessageText() {\n return this.selectionMessage || this.$primevue.config.locale.selectionMessage || '';\n },\n emptySelectionMessageText() {\n return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || '';\n },\n selectedMessageText() {\n return this.hasSelectedOption ? this.selectionMessageText.replaceAll('{0}', '1') : this.emptySelectionMessageText;\n },\n id() {\n return this.$attrs.id || UniqueComponentId();\n },\n focusedOptionId() {\n return this.focusedOptionIndex !== -1 ? `${this.id}_${this.focusedOptionIndex}` : null;\n },\n ariaSetSize() {\n return this.visibleOptions.filter((option) => !this.isOptionGroup(option)).length;\n },\n virtualScrollerDisabled() {\n return !this.virtualScrollerOptions;\n }\n },\n directives: {\n ripple: Ripple\n },\n components: {\n VirtualScroller: VirtualScroller,\n Portal: Portal\n }\n};\n\nconst _hoisted_1 = [\"id\"];\nconst _hoisted_2 = [\"id\", \"value\", \"placeholder\", \"tabindex\", \"disabled\", \"aria-label\", \"aria-labelledby\", \"aria-expanded\", \"aria-controls\", \"aria-activedescendant\"];\nconst _hoisted_3 = [\"id\", \"tabindex\", \"aria-label\", \"aria-labelledby\", \"aria-expanded\", \"aria-controls\", \"aria-activedescendant\", \"aria-disabled\"];\nconst _hoisted_4 = { class: \"p-dropdown-trigger\" };\nconst _hoisted_5 = {\n key: 0,\n class: \"p-dropdown-header\"\n};\nconst _hoisted_6 = { class: \"p-dropdown-filter-container\" };\nconst _hoisted_7 = [\"value\", \"placeholder\", \"aria-owns\", \"aria-activedescendant\"];\nconst _hoisted_8 = {\n role: \"status\",\n \"aria-live\": \"polite\",\n class: \"p-hidden-accessible\"\n};\nconst _hoisted_9 = [\"id\"];\nconst _hoisted_10 = [\"id\"];\nconst _hoisted_11 = [\"id\", \"aria-label\", \"aria-selected\", \"aria-disabled\", \"aria-setsize\", \"aria-posinset\", \"onClick\", \"onMousemove\"];\nconst _hoisted_12 = {\n key: 0,\n class: \"p-dropdown-empty-message\",\n role: \"option\"\n};\nconst _hoisted_13 = {\n key: 1,\n class: \"p-dropdown-empty-message\",\n role: \"option\"\n};\nconst _hoisted_14 = {\n key: 0,\n role: \"status\",\n \"aria-live\": \"polite\",\n class: \"p-hidden-accessible\"\n};\nconst _hoisted_15 = {\n role: \"status\",\n \"aria-live\": \"polite\",\n class: \"p-hidden-accessible\"\n};\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_VirtualScroller = resolveComponent(\"VirtualScroller\");\n const _component_Portal = resolveComponent(\"Portal\");\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return (openBlock(), createElementBlock(\"div\", {\n ref: \"container\",\n id: $options.id,\n class: normalizeClass($options.containerClass),\n onClick: _cache[16] || (_cache[16] = (...args) => ($options.onContainerClick && $options.onContainerClick(...args)))\n }, [\n ($props.editable)\n ? (openBlock(), createElementBlock(\"input\", mergeProps({\n key: 0,\n ref: \"focusInput\",\n id: $props.inputId,\n type: \"text\",\n style: $props.inputStyle,\n class: $options.inputStyleClass,\n value: $options.editableInputValue,\n placeholder: $props.placeholder,\n tabindex: !$props.disabled ? $props.tabindex : -1,\n disabled: $props.disabled,\n autocomplete: \"off\",\n role: \"combobox\",\n \"aria-label\": _ctx.ariaLabel,\n \"aria-labelledby\": _ctx.ariaLabelledby,\n \"aria-haspopup\": \"listbox\",\n \"aria-expanded\": $data.overlayVisible,\n \"aria-controls\": $options.id + '_list',\n \"aria-activedescendant\": $data.focused ? $options.focusedOptionId : undefined,\n onFocus: _cache[0] || (_cache[0] = (...args) => ($options.onFocus && $options.onFocus(...args))),\n onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onBlur && $options.onBlur(...args))),\n onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),\n onInput: _cache[3] || (_cache[3] = (...args) => ($options.onEditableInput && $options.onEditableInput(...args)))\n }, $props.inputProps), null, 16, _hoisted_2))\n : (openBlock(), createElementBlock(\"span\", mergeProps({\n key: 1,\n ref: \"focusInput\",\n id: $props.inputId,\n style: $props.inputStyle,\n class: $options.inputStyleClass,\n tabindex: !$props.disabled ? $props.tabindex : -1,\n role: \"combobox\",\n \"aria-label\": _ctx.ariaLabel || ($options.label === 'p-emptylabel' ? undefined : $options.label),\n \"aria-labelledby\": _ctx.ariaLabelledby,\n \"aria-haspopup\": \"listbox\",\n \"aria-expanded\": $data.overlayVisible,\n \"aria-controls\": $options.id + '_list',\n \"aria-activedescendant\": $data.focused ? $options.focusedOptionId : undefined,\n \"aria-disabled\": $props.disabled,\n onFocus: _cache[4] || (_cache[4] = (...args) => ($options.onFocus && $options.onFocus(...args))),\n onBlur: _cache[5] || (_cache[5] = (...args) => ($options.onBlur && $options.onBlur(...args))),\n onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))\n }, $props.inputProps), [\n renderSlot(_ctx.$slots, \"value\", {\n value: $props.modelValue,\n placeholder: $props.placeholder\n }, () => [\n createTextVNode(toDisplayString($options.label === 'p-emptylabel' ? ' ' : $options.label || 'empty'), 1)\n ])\n ], 16, _hoisted_3)),\n ($props.showClear && $props.modelValue != null)\n ? (openBlock(), createElementBlock(\"i\", mergeProps({\n key: 2,\n class: ['p-dropdown-clear-icon', $props.clearIcon],\n onClick: _cache[7] || (_cache[7] = (...args) => ($options.onClearClick && $options.onClearClick(...args)))\n }, $props.clearIconProps), null, 16))\n : createCommentVNode(\"\", true),\n createElementVNode(\"div\", _hoisted_4, [\n renderSlot(_ctx.$slots, \"indicator\", {}, () => [\n createElementVNode(\"span\", {\n class: normalizeClass($options.dropdownIconClass),\n \"aria-hidden\": \"true\"\n }, null, 2)\n ])\n ]),\n createVNode(_component_Portal, { appendTo: $props.appendTo }, {\n default: withCtx(() => [\n createVNode(Transition, {\n name: \"p-connected-overlay\",\n onEnter: $options.onOverlayEnter,\n onAfterEnter: $options.onOverlayAfterEnter,\n onLeave: $options.onOverlayLeave,\n onAfterLeave: $options.onOverlayAfterLeave\n }, {\n default: withCtx(() => [\n ($data.overlayVisible)\n ? (openBlock(), createElementBlock(\"div\", mergeProps({\n key: 0,\n ref: $options.overlayRef,\n style: $props.panelStyle,\n class: $options.panelStyleClass,\n onClick: _cache[14] || (_cache[14] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),\n onKeydown: _cache[15] || (_cache[15] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args)))\n }, $props.panelProps), [\n createElementVNode(\"span\", {\n ref: \"firstHiddenFocusableElementOnOverlay\",\n role: \"presentation\",\n \"aria-hidden\": \"true\",\n class: \"p-hidden-accessible p-hidden-focusable\",\n tabindex: 0,\n onFocus: _cache[8] || (_cache[8] = (...args) => ($options.onFirstHiddenFocus && $options.onFirstHiddenFocus(...args)))\n }, null, 544),\n renderSlot(_ctx.$slots, \"header\", {\n value: $props.modelValue,\n options: $options.visibleOptions\n }),\n ($props.filter)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_5, [\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"input\", mergeProps({\n ref: \"filterInput\",\n type: \"text\",\n value: $data.filterValue,\n onVnodeUpdated: _cache[9] || (_cache[9] = (...args) => ($options.onFilterUpdated && $options.onFilterUpdated(...args))),\n class: \"p-dropdown-filter p-inputtext p-component\",\n placeholder: $props.filterPlaceholder,\n role: \"searchbox\",\n autocomplete: \"off\",\n \"aria-owns\": $options.id + '_list',\n \"aria-activedescendant\": $options.focusedOptionId,\n onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onFilterKeyDown && $options.onFilterKeyDown(...args))),\n onBlur: _cache[11] || (_cache[11] = (...args) => ($options.onFilterBlur && $options.onFilterBlur(...args))),\n onInput: _cache[12] || (_cache[12] = (...args) => ($options.onFilterChange && $options.onFilterChange(...args)))\n }, $props.filterInputProps), null, 16, _hoisted_7),\n createElementVNode(\"span\", {\n class: normalizeClass(['p-dropdown-filter-icon', $props.filterIcon])\n }, null, 2)\n ]),\n createElementVNode(\"span\", _hoisted_8, toDisplayString($options.filterResultMessageText), 1)\n ]))\n : createCommentVNode(\"\", true),\n createElementVNode(\"div\", {\n class: \"p-dropdown-items-wrapper\",\n style: normalizeStyle({ 'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : '' })\n }, [\n createVNode(_component_VirtualScroller, mergeProps({ ref: $options.virtualScrollerRef }, $props.virtualScrollerOptions, {\n items: $options.visibleOptions,\n style: { height: $props.scrollHeight },\n tabindex: -1,\n disabled: $options.virtualScrollerDisabled\n }), createSlots({\n content: withCtx(({ styleClass, contentRef, items, getItemOptions, contentStyle, itemSize }) => [\n createElementVNode(\"ul\", {\n ref: (el) => $options.listRef(el, contentRef),\n id: $options.id + '_list',\n class: normalizeClass(['p-dropdown-items', styleClass]),\n style: normalizeStyle(contentStyle),\n role: \"listbox\"\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(items, (option, i) => {\n return (openBlock(), createElementBlock(Fragment, {\n key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))\n }, [\n ($options.isOptionGroup(option))\n ? (openBlock(), createElementBlock(\"li\", {\n key: 0,\n id: $options.id + '_' + $options.getOptionIndex(i, getItemOptions),\n style: normalizeStyle({ height: itemSize ? itemSize + 'px' : undefined }),\n class: \"p-dropdown-item-group\",\n role: \"option\"\n }, [\n renderSlot(_ctx.$slots, \"optiongroup\", {\n option: option.optionGroup,\n index: $options.getOptionIndex(i, getItemOptions)\n }, () => [\n createTextVNode(toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)\n ])\n ], 12, _hoisted_10))\n : withDirectives((openBlock(), createElementBlock(\"li\", {\n key: 1,\n id: $options.id + '_' + $options.getOptionIndex(i, getItemOptions),\n style: normalizeStyle({ height: itemSize ? itemSize + 'px' : undefined }),\n class: normalizeClass(['p-dropdown-item', { 'p-highlight': $options.isSelected(option), 'p-focus': $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions), 'p-disabled': $options.isOptionDisabled(option) }]),\n role: \"option\",\n \"aria-label\": $options.getOptionLabel(option),\n \"aria-selected\": $options.isSelected(option),\n \"aria-disabled\": $options.isOptionDisabled(option),\n \"aria-setsize\": $options.ariaSetSize,\n \"aria-posinset\": $options.getAriaPosInset($options.getOptionIndex(i, getItemOptions)),\n onClick: $event => ($options.onOptionSelect($event, option)),\n onMousemove: $event => ($options.onOptionMouseMove($event, $options.getOptionIndex(i, getItemOptions)))\n }, [\n renderSlot(_ctx.$slots, \"option\", {\n option: option,\n index: $options.getOptionIndex(i, getItemOptions)\n }, () => [\n createTextVNode(toDisplayString($options.getOptionLabel(option)), 1)\n ])\n ], 46, _hoisted_11)), [\n [_directive_ripple]\n ])\n ], 64))\n }), 128)),\n ($data.filterValue && (!items || (items && items.length === 0)))\n ? (openBlock(), createElementBlock(\"li\", _hoisted_12, [\n renderSlot(_ctx.$slots, \"emptyfilter\", {}, () => [\n createTextVNode(toDisplayString($options.emptyFilterMessageText), 1)\n ])\n ]))\n : (!$props.options || ($props.options && $props.options.length === 0))\n ? (openBlock(), createElementBlock(\"li\", _hoisted_13, [\n renderSlot(_ctx.$slots, \"empty\", {}, () => [\n createTextVNode(toDisplayString($options.emptyMessageText), 1)\n ])\n ]))\n : createCommentVNode(\"\", true)\n ], 14, _hoisted_9),\n (!$props.options || ($props.options && $props.options.length === 0))\n ? (openBlock(), createElementBlock(\"span\", _hoisted_14, toDisplayString($options.emptyMessageText), 1))\n : createCommentVNode(\"\", true),\n createElementVNode(\"span\", _hoisted_15, toDisplayString($options.selectedMessageText), 1)\n ]),\n _: 2\n }, [\n (_ctx.$slots.loader)\n ? {\n name: \"loader\",\n fn: withCtx(({ options }) => [\n renderSlot(_ctx.$slots, \"loader\", { options: options })\n ]),\n key: \"0\"\n }\n : undefined\n ]), 1040, [\"items\", \"style\", \"disabled\"])\n ], 4),\n renderSlot(_ctx.$slots, \"footer\", {\n value: $props.modelValue,\n options: $options.visibleOptions\n }),\n createElementVNode(\"span\", {\n ref: \"lastHiddenFocusableElementOnOverlay\",\n role: \"presentation\",\n \"aria-hidden\": \"true\",\n class: \"p-hidden-accessible p-hidden-focusable\",\n tabindex: 0,\n onFocus: _cache[13] || (_cache[13] = (...args) => ($options.onLastHiddenFocus && $options.onLastHiddenFocus(...args)))\n }, null, 544)\n ], 16))\n : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"onEnter\", \"onAfterEnter\", \"onLeave\", \"onAfterLeave\"])\n ]),\n _: 3\n }, 8, [\"appendTo\"])\n ], 10, _hoisted_1))\n}\n\nfunction styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar css_248z = \"\\n.p-dropdown {\\n display: -webkit-inline-box;\\n display: -ms-inline-flexbox;\\n display: inline-flex;\\n cursor: pointer;\\n position: relative;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n}\\n.p-dropdown-clear-icon {\\n position: absolute;\\n top: 50%;\\n margin-top: -0.5rem;\\n}\\n.p-dropdown-trigger {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -ms-flex-negative: 0;\\n flex-shrink: 0;\\n}\\n.p-dropdown-label {\\n display: block;\\n white-space: nowrap;\\n overflow: hidden;\\n -webkit-box-flex: 1;\\n -ms-flex: 1 1 auto;\\n flex: 1 1 auto;\\n width: 1%;\\n text-overflow: ellipsis;\\n cursor: pointer;\\n}\\n.p-dropdown-label-empty {\\n overflow: hidden;\\n opacity: 0;\\n}\\ninput.p-dropdown-label {\\n cursor: default;\\n}\\n.p-dropdown .p-dropdown-panel {\\n min-width: 100%;\\n}\\n.p-dropdown-panel {\\n position: absolute;\\n top: 0;\\n left: 0;\\n}\\n.p-dropdown-items-wrapper {\\n overflow: auto;\\n}\\n.p-dropdown-item {\\n cursor: pointer;\\n font-weight: normal;\\n white-space: nowrap;\\n position: relative;\\n overflow: hidden;\\n}\\n.p-dropdown-item-group {\\n cursor: auto;\\n}\\n.p-dropdown-items {\\n margin: 0;\\n padding: 0;\\n list-style-type: none;\\n}\\n.p-dropdown-filter {\\n width: 100%;\\n}\\n.p-dropdown-filter-container {\\n position: relative;\\n}\\n.p-dropdown-filter-icon {\\n position: absolute;\\n top: 50%;\\n margin-top: -0.5rem;\\n}\\n.p-fluid .p-dropdown {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n}\\n.p-fluid .p-dropdown .p-dropdown-label {\\n width: 1%;\\n}\\n\";\nstyleInject(css_248z);\n\nscript.render = render;\n\nexport { script as default };\n","import { UniqueComponentId, DomHandler } from 'primevue/utils';\nimport Ripple from 'primevue/ripple';\nimport { resolveDirective, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, withDirectives, normalizeStyle, Fragment, renderList } from 'vue';\n\nvar script = {\n name: 'Carousel',\n emits: ['update:page'],\n props: {\n value: null,\n page: {\n type: Number,\n default: 0\n },\n numVisible: {\n type: Number,\n default: 1\n },\n numScroll: {\n type: Number,\n default: 1\n },\n responsiveOptions: Array,\n orientation: {\n type: String,\n default: 'horizontal'\n },\n verticalViewPortHeight: {\n type: String,\n default: '300px'\n },\n contentClass: String,\n containerClass: String,\n indicatorsContentClass: String,\n circular: {\n type: Boolean,\n default: false\n },\n autoplayInterval: {\n type: Number,\n default: 0\n },\n showNavigators: {\n type: Boolean,\n default: true\n },\n showIndicators: {\n type: Boolean,\n default: true\n }\n },\n data() {\n return {\n id: UniqueComponentId(),\n remainingItems: 0,\n d_numVisible: this.numVisible,\n d_numScroll: this.numScroll,\n d_oldNumScroll: 0,\n d_oldNumVisible: 0,\n d_oldValue: null,\n d_page: this.page,\n totalShiftedItems: this.page * this.numScroll * -1,\n allowAutoplay: !!this.autoplayInterval,\n d_circular: this.circular || this.allowAutoplay,\n swipeThreshold: 20\n };\n },\n isRemainingItemsAdded: false,\n watch: {\n page(newValue) {\n this.d_page = newValue;\n },\n circular(newValue) {\n this.d_circular = newValue;\n },\n numVisible(newValue, oldValue) {\n this.d_numVisible = newValue;\n this.d_oldNumVisible = oldValue;\n },\n numScroll(newValue, oldValue) {\n this.d_oldNumScroll = oldValue;\n this.d_numScroll = newValue;\n },\n value(oldValue) {\n this.d_oldValue = oldValue;\n }\n },\n mounted() {\n let stateChanged = false;\n\n this.createStyle();\n this.calculatePosition();\n\n if (this.responsiveOptions) {\n this.bindDocumentListeners();\n }\n\n if (this.isCircular()) {\n let totalShiftedItems = this.totalShiftedItems;\n\n if (this.d_page === 0) {\n totalShiftedItems = -1 * this.d_numVisible;\n } else if (totalShiftedItems === 0) {\n totalShiftedItems = -1 * this.value.length;\n\n if (this.remainingItems > 0) {\n this.isRemainingItemsAdded = true;\n }\n }\n\n if (totalShiftedItems !== this.totalShiftedItems) {\n this.totalShiftedItems = totalShiftedItems;\n\n stateChanged = true;\n }\n }\n\n if (!stateChanged && this.isAutoplay()) {\n this.startAutoplay();\n }\n },\n updated() {\n const isCircular = this.isCircular();\n let stateChanged = false;\n let totalShiftedItems = this.totalShiftedItems;\n\n if (this.autoplayInterval) {\n this.stopAutoplay();\n }\n\n if (this.d_oldNumScroll !== this.d_numScroll || this.d_oldNumVisible !== this.d_numVisible || this.d_oldValue.length !== this.value.length) {\n this.remainingItems = (this.value.length - this.d_numVisible) % this.d_numScroll;\n\n let page = this.d_page;\n\n if (this.totalIndicators !== 0 && page >= this.totalIndicators) {\n page = this.totalIndicators - 1;\n\n this.$emit('update:page', page);\n this.d_page = page;\n\n stateChanged = true;\n }\n\n totalShiftedItems = page * this.d_numScroll * -1;\n\n if (isCircular) {\n totalShiftedItems -= this.d_numVisible;\n }\n\n if (page === this.totalIndicators - 1 && this.remainingItems > 0) {\n totalShiftedItems += -1 * this.remainingItems + this.d_numScroll;\n this.isRemainingItemsAdded = true;\n } else {\n this.isRemainingItemsAdded = false;\n }\n\n if (totalShiftedItems !== this.totalShiftedItems) {\n this.totalShiftedItems = totalShiftedItems;\n\n stateChanged = true;\n }\n\n this.d_oldNumScroll = this.d_numScroll;\n this.d_oldNumVisible = this.d_numVisible;\n this.d_oldValue = this.value;\n\n this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;\n }\n\n if (isCircular) {\n if (this.d_page === 0) {\n totalShiftedItems = -1 * this.d_numVisible;\n } else if (totalShiftedItems === 0) {\n totalShiftedItems = -1 * this.value.length;\n\n if (this.remainingItems > 0) {\n this.isRemainingItemsAdded = true;\n }\n }\n\n if (totalShiftedItems !== this.totalShiftedItems) {\n this.totalShiftedItems = totalShiftedItems;\n\n stateChanged = true;\n }\n }\n\n if (!stateChanged && this.isAutoplay()) {\n this.startAutoplay();\n }\n },\n beforeUnmount() {\n if (this.responsiveOptions) {\n this.unbindDocumentListeners();\n }\n\n if (this.autoplayInterval) {\n this.stopAutoplay();\n }\n },\n methods: {\n step(dir, page) {\n let totalShiftedItems = this.totalShiftedItems;\n const isCircular = this.isCircular();\n\n if (page != null) {\n totalShiftedItems = this.d_numScroll * page * -1;\n\n if (isCircular) {\n totalShiftedItems -= this.d_numVisible;\n }\n\n this.isRemainingItemsAdded = false;\n } else {\n totalShiftedItems += this.d_numScroll * dir;\n\n if (this.isRemainingItemsAdded) {\n totalShiftedItems += this.remainingItems - this.d_numScroll * dir;\n this.isRemainingItemsAdded = false;\n }\n\n let originalShiftedItems = isCircular ? totalShiftedItems + this.d_numVisible : totalShiftedItems;\n\n page = Math.abs(Math.floor(originalShiftedItems / this.d_numScroll));\n }\n\n if (isCircular && this.d_page === this.totalIndicators - 1 && dir === -1) {\n totalShiftedItems = -1 * (this.value.length + this.d_numVisible);\n page = 0;\n } else if (isCircular && this.d_page === 0 && dir === 1) {\n totalShiftedItems = 0;\n page = this.totalIndicators - 1;\n } else if (page === this.totalIndicators - 1 && this.remainingItems > 0) {\n totalShiftedItems += this.remainingItems * -1 - this.d_numScroll * dir;\n this.isRemainingItemsAdded = true;\n }\n\n if (this.$refs.itemsContainer) {\n DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');\n this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;\n this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';\n }\n\n this.totalShiftedItems = totalShiftedItems;\n\n this.$emit('update:page', page);\n this.d_page = page;\n },\n calculatePosition() {\n if (this.$refs.itemsContainer && this.responsiveOptions) {\n let windowWidth = window.innerWidth;\n let matchedResponsiveOptionsData = {\n numVisible: this.numVisible,\n numScroll: this.numScroll\n };\n\n for (let i = 0; i < this.responsiveOptions.length; i++) {\n let res = this.responsiveOptions[i];\n\n if (parseInt(res.breakpoint, 10) >= windowWidth) {\n matchedResponsiveOptionsData = res;\n }\n }\n\n if (this.d_numScroll !== matchedResponsiveOptionsData.numScroll) {\n let page = this.d_page;\n\n page = parseInt((page * this.d_numScroll) / matchedResponsiveOptionsData.numScroll);\n\n this.totalShiftedItems = matchedResponsiveOptionsData.numScroll * page * -1;\n\n if (this.isCircular()) {\n this.totalShiftedItems -= matchedResponsiveOptionsData.numVisible;\n }\n\n this.d_numScroll = matchedResponsiveOptionsData.numScroll;\n\n this.$emit('update:page', page);\n this.d_page = page;\n }\n\n if (this.d_numVisible !== matchedResponsiveOptionsData.numVisible) {\n this.d_numVisible = matchedResponsiveOptionsData.numVisible;\n }\n }\n },\n navBackward(e, index) {\n if (this.d_circular || this.d_page !== 0) {\n this.step(1, index);\n }\n\n this.allowAutoplay = false;\n\n if (e.cancelable) {\n e.preventDefault();\n }\n },\n navForward(e, index) {\n if (this.d_circular || this.d_page < this.totalIndicators - 1) {\n this.step(-1, index);\n }\n\n this.allowAutoplay = false;\n\n if (e.cancelable) {\n e.preventDefault();\n }\n },\n onIndicatorClick(e, index) {\n let page = this.d_page;\n\n if (index > page) {\n this.navForward(e, index);\n } else if (index < page) {\n this.navBackward(e, index);\n }\n },\n onTransitionEnd() {\n if (this.$refs.itemsContainer) {\n DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');\n this.$refs.itemsContainer.style.transition = '';\n\n if ((this.d_page === 0 || this.d_page === this.totalIndicators - 1) && this.isCircular()) {\n this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${this.totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${this.totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;\n }\n }\n },\n onTouchStart(e) {\n let touchobj = e.changedTouches[0];\n\n this.startPos = {\n x: touchobj.pageX,\n y: touchobj.pageY\n };\n },\n onTouchMove(e) {\n if (e.cancelable) {\n e.preventDefault();\n }\n },\n onTouchEnd(e) {\n let touchobj = e.changedTouches[0];\n\n if (this.isVertical()) {\n this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);\n } else {\n this.changePageOnTouch(e, touchobj.pageX - this.startPos.x);\n }\n },\n changePageOnTouch(e, diff) {\n if (Math.abs(diff) > this.swipeThreshold) {\n if (diff < 0) {\n // left\n this.navForward(e);\n } else {\n // right\n this.navBackward(e);\n }\n }\n },\n bindDocumentListeners() {\n if (!this.documentResizeListener) {\n this.documentResizeListener = (e) => {\n this.calculatePosition(e);\n };\n\n window.addEventListener('resize', this.documentResizeListener);\n }\n },\n unbindDocumentListeners() {\n if (this.documentResizeListener) {\n window.removeEventListener('resize', this.documentResizeListener);\n this.documentResizeListener = null;\n }\n },\n startAutoplay() {\n this.interval = setInterval(() => {\n if (this.d_page === this.totalIndicators - 1) {\n this.step(-1, 0);\n } else {\n this.step(-1, this.d_page + 1);\n }\n }, this.autoplayInterval);\n },\n stopAutoplay() {\n if (this.interval) {\n clearInterval(this.interval);\n }\n },\n createStyle() {\n if (!this.carouselStyle) {\n this.carouselStyle = document.createElement('style');\n this.carouselStyle.type = 'text/css';\n document.body.appendChild(this.carouselStyle);\n }\n\n let innerHTML = `\n #${this.id} .p-carousel-item {\n flex: 1 0 ${100 / this.d_numVisible}%\n }\n `;\n\n if (this.responsiveOptions) {\n let _responsiveOptions = [...this.responsiveOptions];\n\n _responsiveOptions.sort((data1, data2) => {\n const value1 = data1.breakpoint;\n const value2 = data2.breakpoint;\n let result = null;\n\n if (value1 == null && value2 != null) result = -1;\n else if (value1 != null && value2 == null) result = 1;\n else if (value1 == null && value2 == null) result = 0;\n else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, { numeric: true });\n else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n\n return -1 * result;\n });\n\n for (let i = 0; i < _responsiveOptions.length; i++) {\n let res = _responsiveOptions[i];\n\n innerHTML += `\n @media screen and (max-width: ${res.breakpoint}) {\n #${this.id} .p-carousel-item {\n flex: 1 0 ${100 / res.numVisible}%\n }\n }\n `;\n }\n }\n\n this.carouselStyle.innerHTML = innerHTML;\n },\n isVertical() {\n return this.orientation === 'vertical';\n },\n isCircular() {\n return this.value && this.d_circular && this.value.length >= this.d_numVisible;\n },\n isAutoplay() {\n return this.autoplayInterval && this.allowAutoplay;\n },\n firstIndex() {\n return this.isCircular() ? -1 * (this.totalShiftedItems + this.d_numVisible) : this.totalShiftedItems * -1;\n },\n lastIndex() {\n return this.firstIndex() + this.d_numVisible - 1;\n }\n },\n computed: {\n totalIndicators() {\n return this.value ? Math.max(Math.ceil((this.value.length - this.d_numVisible) / this.d_numScroll) + 1, 0) : 0;\n },\n backwardIsDisabled() {\n return this.value && (!this.circular || this.value.length < this.d_numVisible) && this.d_page === 0;\n },\n forwardIsDisabled() {\n return this.value && (!this.circular || this.value.length < this.d_numVisible) && (this.d_page === this.totalIndicators - 1 || this.totalIndicators === 0);\n },\n containerClasses() {\n return ['p-carousel-container', this.containerClass];\n },\n contentClasses() {\n return ['p-carousel-content ', this.contentClass];\n },\n indicatorsContentClasses() {\n return ['p-carousel-indicators p-reset', this.indicatorsContentClass];\n }\n },\n directives: {\n ripple: Ripple\n }\n};\n\nconst _hoisted_1 = [\"id\"];\nconst _hoisted_2 = {\n key: 0,\n class: \"p-carousel-header\"\n};\nconst _hoisted_3 = [\"disabled\"];\nconst _hoisted_4 = [\"disabled\"];\nconst _hoisted_5 = [\"onClick\"];\nconst _hoisted_6 = {\n key: 1,\n class: \"p-carousel-footer\"\n};\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _directive_ripple = resolveDirective(\"ripple\");\n\n return (openBlock(), createElementBlock(\"div\", {\n id: $data.id,\n class: normalizeClass(['p-carousel p-component', { 'p-carousel-vertical': $options.isVertical(), 'p-carousel-horizontal': !$options.isVertical() }])\n }, [\n (_ctx.$slots.header)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"header\")\n ]))\n : createCommentVNode(\"\", true),\n createElementVNode(\"div\", {\n class: normalizeClass($options.contentClasses)\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass($options.containerClasses)\n }, [\n ($props.showNavigators)\n ? withDirectives((openBlock(), createElementBlock(\"button\", {\n key: 0,\n class: normalizeClass(['p-carousel-prev p-link', { 'p-disabled': $options.backwardIsDisabled }]),\n disabled: $options.backwardIsDisabled,\n onClick: _cache[0] || (_cache[0] = (...args) => ($options.navBackward && $options.navBackward(...args))),\n type: \"button\"\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(['p-carousel-prev-icon pi', { 'pi-chevron-left': !$options.isVertical(), 'pi-chevron-up': $options.isVertical() }])\n }, null, 2)\n ], 10, _hoisted_3)), [\n [_directive_ripple]\n ])\n : createCommentVNode(\"\", true),\n createElementVNode(\"div\", {\n class: \"p-carousel-items-content\",\n style: normalizeStyle([{ height: $options.isVertical() ? $props.verticalViewPortHeight : 'auto' }]),\n onTouchend: _cache[2] || (_cache[2] = (...args) => ($options.onTouchEnd && $options.onTouchEnd(...args))),\n onTouchstart: _cache[3] || (_cache[3] = (...args) => ($options.onTouchStart && $options.onTouchStart(...args))),\n onTouchmove: _cache[4] || (_cache[4] = (...args) => ($options.onTouchMove && $options.onTouchMove(...args)))\n }, [\n createElementVNode(\"div\", {\n ref: \"itemsContainer\",\n class: \"p-carousel-items-container\",\n onTransitionend: _cache[1] || (_cache[1] = (...args) => ($options.onTransitionEnd && $options.onTransitionEnd(...args)))\n }, [\n ($options.isCircular())\n ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.value.slice(-1 * $data.d_numVisible), (item, index) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: index + '_scloned',\n class: normalizeClass([\n 'p-carousel-item p-carousel-item-cloned',\n { 'p-carousel-item-active': $data.totalShiftedItems * -1 === $props.value.length + $data.d_numVisible, 'p-carousel-item-start': 0 === index, 'p-carousel-item-end': $props.value.slice(-1 * $data.d_numVisible).length - 1 === index }\n ])\n }, [\n renderSlot(_ctx.$slots, \"item\", {\n data: item,\n index: index\n })\n ], 2))\n }), 128))\n : createCommentVNode(\"\", true),\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.value, (item, index) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: index,\n class: normalizeClass(['p-carousel-item', { 'p-carousel-item-active': $options.firstIndex() <= index && $options.lastIndex() >= index, 'p-carousel-item-start': $options.firstIndex() === index, 'p-carousel-item-end': $options.lastIndex() === index }])\n }, [\n renderSlot(_ctx.$slots, \"item\", {\n data: item,\n index: index\n })\n ], 2))\n }), 128)),\n ($options.isCircular())\n ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($props.value.slice(0, $data.d_numVisible), (item, index) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: index + '_fcloned',\n class: normalizeClass(['p-carousel-item p-carousel-item-cloned', { 'p-carousel-item-active': $data.totalShiftedItems === 0, 'p-carousel-item-start': 0 === index, 'p-carousel-item-end': $props.value.slice(0, $data.d_numVisible).length - 1 === index }])\n }, [\n renderSlot(_ctx.$slots, \"item\", {\n data: item,\n index: index\n })\n ], 2))\n }), 128))\n : createCommentVNode(\"\", true)\n ], 544)\n ], 36),\n ($props.showNavigators)\n ? withDirectives((openBlock(), createElementBlock(\"button\", {\n key: 1,\n class: normalizeClass(['p-carousel-next p-link', { 'p-disabled': $options.forwardIsDisabled }]),\n disabled: $options.forwardIsDisabled,\n onClick: _cache[5] || (_cache[5] = (...args) => ($options.navForward && $options.navForward(...args))),\n type: \"button\"\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(['p-carousel-prev-icon pi', { 'pi-chevron-right': !$options.isVertical(), 'pi-chevron-down': $options.isVertical() }])\n }, null, 2)\n ], 10, _hoisted_4)), [\n [_directive_ripple]\n ])\n : createCommentVNode(\"\", true)\n ], 2),\n ($options.totalIndicators >= 0 && $props.showIndicators)\n ? (openBlock(), createElementBlock(\"ul\", {\n key: 0,\n class: normalizeClass($options.indicatorsContentClasses)\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($options.totalIndicators, (indicator, i) => {\n return (openBlock(), createElementBlock(\"li\", {\n key: 'p-carousel-indicator-' + i.toString(),\n class: normalizeClass(['p-carousel-indicator', { 'p-highlight': $data.d_page === i }])\n }, [\n createElementVNode(\"button\", {\n class: \"p-link\",\n onClick: $event => ($options.onIndicatorClick($event, i)),\n type: \"button\"\n }, null, 8, _hoisted_5)\n ], 2))\n }), 128))\n ], 2))\n : createCommentVNode(\"\", true)\n ], 2),\n (_ctx.$slots.footer)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_6, [\n renderSlot(_ctx.$slots, \"footer\")\n ]))\n : createCommentVNode(\"\", true)\n ], 10, _hoisted_1))\n}\n\nfunction styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar css_248z = \"\\n.p-carousel {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n}\\n.p-carousel-content {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n overflow: auto;\\n}\\n.p-carousel-prev,\\n.p-carousel-next {\\n -ms-flex-item-align: center;\\n align-self: center;\\n -webkit-box-flex: 0;\\n -ms-flex-positive: 0;\\n flex-grow: 0;\\n -ms-flex-negative: 0;\\n flex-shrink: 0;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n overflow: hidden;\\n position: relative;\\n}\\n.p-carousel-container {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: row;\\n flex-direction: row;\\n}\\n.p-carousel-items-content {\\n overflow: hidden;\\n width: 100%;\\n}\\n.p-carousel-items-container {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: row;\\n flex-direction: row;\\n}\\n.p-carousel-indicators {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: row;\\n flex-direction: row;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -ms-flex-wrap: wrap;\\n flex-wrap: wrap;\\n}\\n.p-carousel-indicator > button {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n}\\n\\n/* Vertical */\\n.p-carousel-vertical .p-carousel-container {\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n}\\n.p-carousel-vertical .p-carousel-items-container {\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n height: 100%;\\n}\\n\\n/* Keyboard Support */\\n.p-items-hidden .p-carousel-item {\\n visibility: hidden;\\n}\\n.p-items-hidden .p-carousel-item.p-carousel-item-active {\\n visibility: visible;\\n}\\n\";\nstyleInject(css_248z);\n\nscript.render = render;\n\nexport { script as default };\n","import { ObjectUtils } from 'primevue/utils';\nimport { openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps } from 'vue';\n\nvar script = {\n name: 'Checkbox',\n emits: ['click', 'update:modelValue', 'change', 'input', 'focus', 'blur'],\n props: {\n value: null,\n modelValue: null,\n binary: Boolean,\n name: {\n type: String,\n default: null\n },\n trueValue: {\n type: null,\n default: true\n },\n falseValue: {\n type: null,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n readonly: {\n type: Boolean,\n default: false\n },\n required: {\n type: Boolean,\n default: false\n },\n tabindex: {\n type: Number,\n default: null\n },\n inputId: {\n type: String,\n default: null\n },\n inputClass: {\n type: String,\n default: null\n },\n inputStyle: {\n type: null,\n default: null\n },\n inputProps: {\n type: null,\n default: null\n },\n 'aria-labelledby': {\n type: String,\n default: null\n },\n 'aria-label': {\n type: String,\n default: null\n }\n },\n data() {\n return {\n focused: false\n };\n },\n methods: {\n onClick(event) {\n if (!this.disabled) {\n let newModelValue;\n\n if (this.binary) {\n newModelValue = this.checked ? this.falseValue : this.trueValue;\n } else {\n if (this.checked) newModelValue = this.modelValue.filter((val) => !ObjectUtils.equals(val, this.value));\n else newModelValue = this.modelValue ? [...this.modelValue, this.value] : [this.value];\n }\n\n this.$emit('click', event);\n this.$emit('update:modelValue', newModelValue);\n this.$emit('change', event);\n this.$emit('input', newModelValue);\n this.$refs.input.focus();\n }\n },\n onFocus(event) {\n this.focused = true;\n this.$emit('focus', event);\n },\n onBlur(event) {\n this.focused = false;\n this.$emit('blur', event);\n }\n },\n computed: {\n checked() {\n return this.binary ? this.modelValue === this.trueValue : ObjectUtils.contains(this.value, this.modelValue);\n },\n containerClass() {\n return [\n 'p-checkbox p-component',\n {\n 'p-checkbox-checked': this.checked,\n 'p-checkbox-disabled': this.disabled,\n 'p-checkbox-focused': this.focused\n }\n ];\n }\n }\n};\n\nconst _hoisted_1 = { class: \"p-hidden-accessible\" };\nconst _hoisted_2 = [\"id\", \"value\", \"name\", \"checked\", \"tabindex\", \"disabled\", \"readonly\", \"required\", \"aria-labelledby\", \"aria-label\"];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n class: normalizeClass($options.containerClass),\n onClick: _cache[2] || (_cache[2] = $event => ($options.onClick($event)))\n }, [\n createElementVNode(\"div\", _hoisted_1, [\n createElementVNode(\"input\", mergeProps({\n ref: \"input\",\n id: $props.inputId,\n type: \"checkbox\",\n value: $props.value,\n class: $props.inputClass,\n style: $props.inputStyle,\n name: $props.name,\n checked: $options.checked,\n tabindex: $props.tabindex,\n disabled: $props.disabled,\n readonly: $props.readonly,\n required: $props.required,\n \"aria-labelledby\": _ctx.ariaLabelledby,\n \"aria-label\": _ctx.ariaLabel,\n onFocus: _cache[0] || (_cache[0] = $event => ($options.onFocus($event))),\n onBlur: _cache[1] || (_cache[1] = $event => ($options.onBlur($event)))\n }, $props.inputProps), null, 16, _hoisted_2)\n ]),\n createElementVNode(\"div\", {\n ref: \"box\",\n class: normalizeClass(['p-checkbox-box', { 'p-highlight': $options.checked, 'p-disabled': $props.disabled, 'p-focus': $data.focused }])\n }, [\n createElementVNode(\"span\", {\n class: normalizeClass(['p-checkbox-icon', { 'pi pi-check': $options.checked }])\n }, null, 2)\n ], 2)\n ], 2))\n}\n\nscript.render = render;\n\nexport { script as default };\n"],"sourceRoot":""}