{"version":3,"sources":["node_modules/primeng/fesm2022/primeng-tabs.mjs"],"sourcesContent":["import * as i1 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, forwardRef, signal, computed, effect, ViewChild, ContentChildren, ContentChild, ViewEncapsulation, ChangeDetectionStrategy, Component, model, input, booleanAttribute, ElementRef, HostListener, numberAttribute, NgModule } from '@angular/core';\nimport { getWidth, isRTL, findSingle, getOuterWidth, getOffset, equals, getAttribute, focus, uuid } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { BaseStyle } from 'primeng/base';\nimport { SharedModule, PrimeTemplate } from 'primeng/api';\nimport * as i2 from 'primeng/ripple';\nimport { RippleModule, Ripple } from 'primeng/ripple';\nimport { ChevronLeftIcon, ChevronRightIcon } from 'primeng/icons';\nconst _c0 = [\"previcon\"];\nconst _c1 = [\"nexticon\"];\nconst _c2 = [\"content\"];\nconst _c3 = [\"prevButton\"];\nconst _c4 = [\"nextButton\"];\nconst _c5 = [\"inkbar\"];\nconst _c6 = [\"tabs\"];\nconst _c7 = [\"*\"];\nconst _c8 = a0 => ({\n \"p-tablist-viewport\": a0\n});\nfunction TabList_Conditional_0_Conditional_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction TabList_Conditional_0_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TabList_Conditional_0_Conditional_2_ng_container_0_Template, 1, 0, \"ng-container\", 11);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.prevIconTemplate || ctx_r2._prevIconTemplate);\n }\n}\nfunction TabList_Conditional_0_Conditional_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"ChevronLeftIcon\");\n }\n}\nfunction TabList_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 10, 3);\n i0.ɵɵlistener(\"click\", function TabList_Conditional_0_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r2);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onPrevButtonClick());\n });\n i0.ɵɵtemplate(2, TabList_Conditional_0_Conditional_2_Template, 1, 1, \"ng-container\")(3, TabList_Conditional_0_Conditional_3_Template, 1, 0, \"ChevronLeftIcon\");\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵattribute(\"aria-label\", ctx_r2.prevButtonAriaLabel)(\"tabindex\", ctx_r2.tabindex())(\"data-pc-group-section\", \"navigator\");\n i0.ɵɵadvance(2);\n i0.ɵɵconditional(ctx_r2.prevIconTemplate || ctx_r2._prevIconTemplate ? 2 : 3);\n }\n}\nfunction TabList_Conditional_8_Conditional_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction TabList_Conditional_8_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TabList_Conditional_8_Conditional_2_ng_container_0_Template, 1, 0, \"ng-container\", 11);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.nextIconTemplate || ctx_r2._nextIconTemplate);\n }\n}\nfunction TabList_Conditional_8_Conditional_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"ChevronRightIcon\");\n }\n}\nfunction TabList_Conditional_8_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 12, 4);\n i0.ɵɵlistener(\"click\", function TabList_Conditional_8_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r4);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onNextButtonClick());\n });\n i0.ɵɵtemplate(2, TabList_Conditional_8_Conditional_2_Template, 1, 1, \"ng-container\")(3, TabList_Conditional_8_Conditional_3_Template, 1, 0, \"ChevronRightIcon\");\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵattribute(\"aria-label\", ctx_r2.nextButtonAriaLabel)(\"tabindex\", ctx_r2.tabindex())(\"data-pc-group-section\", \"navigator\");\n i0.ɵɵadvance(2);\n i0.ɵɵconditional(ctx_r2.nextIconTemplate || ctx_r2._nextIconTemplate ? 2 : 3);\n }\n}\nfunction TabPanel_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojection(0);\n }\n}\nconst theme = ({\n dt\n}) => `\n.p-tabs {\n display: flex;\n flex-direction: column;\n}\n\n.p-tablist {\n display: flex;\n position: relative;\n}\n\n.p-tabs-scrollable > .p-tablist {\n overflow: hidden;\n}\n\n.p-tablist-viewport {\n overflow-x: auto;\n overflow-y: hidden;\n scroll-behavior: smooth;\n scrollbar-width: none;\n overscroll-behavior: contain auto;\n}\n\n.p-tablist-viewport::-webkit-scrollbar {\n display: none;\n}\n\n.p-tablist-tab-list {\n position: relative;\n display: flex;\n background: ${dt('tabs.tablist.background')};\n border-style: solid;\n border-color: ${dt('tabs.tablist.border.color')};\n border-width: ${dt('tabs.tablist.border.width')};\n}\n\n.p-tablist-content {\n flex-grow: 1;\n}\n\n.p-tablist-nav-button {\n all: unset;\n position: absolute !important;\n flex-shrink: 0;\n top: 0;\n z-index: 2;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: ${dt('tabs.nav.button.background')};\n color: ${dt('tabs.nav.button.color')};\n width: ${dt('tabs.nav.button.width')};\n transition: color ${dt('tabs.transition.duration')}, outline-color ${dt('tabs.transition.duration')}, box-shadow ${dt('tabs.transition.duration')};\n box-shadow: ${dt('tabs.nav.button.shadow')};\n outline-color: transparent;\n cursor: pointer;\n}\n\n.p-tablist-nav-button:focus-visible {\n z-index: 1;\n box-shadow: ${dt('tabs.nav.button.focus.ring.shadow')};\n outline: ${dt('tabs.nav.button.focus.ring.width')} ${dt('tabs.nav.button.focus.ring.style')} ${dt('tabs.nav.button.focus.ring.color')};\n outline-offset: ${dt('tabs.nav.button.focus.ring.offset')};\n}\n\n.p-tablist-nav-button:hover {\n color: ${dt('tabs.nav.button.hover.color')};\n}\n\n.p-tablist-prev-button {\n left: 0;\n}\n\n.p-tablist-next-button {\n right: 0;\n}\n\n.p-tab {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n cursor: pointer;\n user-select: none;\n position: relative;\n border-style: solid;\n white-space: nowrap;\n gap: ${dt('tabs.tab.gap')};\n background: ${dt('tabs.tab.background')};\n border-width: ${dt('tabs.tab.border.width')};\n border-color: ${dt('tabs.tab.border.color')};\n color: ${dt('tabs.tab.color')};\n padding: ${dt('tabs.tab.padding')};\n font-weight: ${dt('tabs.tab.font.weight')};\n transition: background ${dt('tabs.transition.duration')}, border-color ${dt('tabs.transition.duration')}, color ${dt('tabs.transition.duration')}, outline-color ${dt('tabs.transition.duration')}, box-shadow ${dt('tabs.transition.duration')};\n margin: ${dt('tabs.tab.margin')};\n outline-color: transparent;\n}\n\n.p-tab:not(.p-disabled):focus-visible {\n z-index: 1;\n box-shadow: ${dt('tabs.tab.focus.ring.shadow')};\n outline: ${dt('tabs.tab.focus.ring.width')} ${dt('tabs.tab.focus.ring.style')} ${dt('tabs.tab.focus.ring.color')};\n outline-offset: ${dt('tabs.tab.focus.ring.offset')};\n}\n\n.p-tab:not(.p-tab-active):not(.p-disabled):hover {\n background: ${dt('tabs.tab.hover.background')};\n border-color: ${dt('tabs.tab.hover.border.color')};\n color: ${dt('tabs.tab.hover.color')};\n}\n\n.p-tab-active {\n background: ${dt('tabs.tab.active.background')};\n border-color: ${dt('tabs.tab.active.border.color')};\n color: ${dt('tabs.tab.active.color')};\n}\n\n.p-tabpanels {\n background: ${dt('tabs.tabpanel.background')};\n color: ${dt('tabs.tabpanel.color')};\n padding: ${dt('tabs.tabpanel.padding')};\n outline: 0 none;\n}\n\n.p-tabpanel:focus-visible {\n box-shadow: ${dt('tabs.tabpanel.focus.ring.shadow')};\n outline: ${dt('tabs.tabpanel.focus.ring.width')} ${dt('tabs.tabpanel.focus.ring.style')} ${dt('tabs.tabpanel.focus.ring.color')};\n outline-offset: ${dt('tabs.tabpanel.focus.ring.offset')};\n}\n\n.p-tablist-active-bar {\n z-index: 1;\n display: block;\n position: absolute;\n bottom: ${dt('tabs.active.bar.bottom')};\n height: ${dt('tabs.active.bar.height')};\n background: ${dt('tabs.active.bar.background')};\n transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);\n}\n`;\nconst classes = {\n root: ({\n props\n }) => ['p-tabs p-component', {\n 'p-tabs-scrollable': props.scrollable\n }]\n};\nlet TabsStyle = /*#__PURE__*/(() => {\n class TabsStyle extends BaseStyle {\n name = 'tabs';\n theme = theme;\n classes = classes;\n static ɵfac = /* @__PURE__ */(() => {\n let ɵTabsStyle_BaseFactory;\n return function TabsStyle_Factory(__ngFactoryType__) {\n return (ɵTabsStyle_BaseFactory || (ɵTabsStyle_BaseFactory = i0.ɵɵgetInheritedFactory(TabsStyle)))(__ngFactoryType__ || TabsStyle);\n };\n })();\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TabsStyle,\n factory: TabsStyle.ɵfac\n });\n }\n return TabsStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Tabs facilitates seamless switching between different views.\n *\n * [Live Demo](https://www.primeng.org/tabs/)\n *\n * @module tabsstyle\n *\n */\nvar TabsClasses = /*#__PURE__*/function (TabsClasses) {\n /**\n * Class name of the root element\n */\n TabsClasses[\"root\"] = \"p-tabs\";\n /**\n * Class name of the wrapper element\n */\n TabsClasses[\"list\"] = \"p-tablist\";\n /**\n * Class name of the content element\n */\n TabsClasses[\"content\"] = \"p-tablist-content\";\n /**\n * Class name of the tab list element\n */\n TabsClasses[\"tablist\"] = \"p-tablist-tab-list\";\n /**\n * Class name of the tab list element\n */\n TabsClasses[\"tab\"] = \"p-tab\";\n /**\n * Class name of the inkbar element\n */\n TabsClasses[\"inkbar\"] = \"p-tablist-active-bar\";\n /**\n * Class name of the navigation buttons\n */\n TabsClasses[\"button\"] = \"p-tablist-nav-button\";\n /**\n * Class name of the tab panels wrapper\n */\n TabsClasses[\"tabpanels\"] = \"p-tabpanels\";\n /**\n * Class name of the tab panel element\n */\n TabsClasses[\"tabpanel\"] = \"p-tabs-panel\";\n return TabsClasses;\n}(TabsClasses || {});\n/**\n * TabList is a helper component for Tabs component.\n * @group Components\n */\nlet TabList = /*#__PURE__*/(() => {\n class TabList extends BaseComponent {\n /**\n * A template reference variable that represents the previous icon in a UI component.\n * @type {TemplateRef | undefined}\n * @group Templates\n */\n prevIconTemplate;\n /**\n * A template reference variable that represents the next icon in a UI component.\n * @type {TemplateRef | undefined}\n * @group Templates\n */\n nextIconTemplate;\n templates;\n content;\n prevButton;\n nextButton;\n inkbar;\n tabs;\n pcTabs = inject(forwardRef(() => Tabs));\n isPrevButtonEnabled = signal(false);\n isNextButtonEnabled = signal(false);\n resizeObserver;\n showNavigators = computed(() => this.pcTabs.showNavigators());\n tabindex = computed(() => this.pcTabs.tabindex());\n scrollable = computed(() => this.pcTabs.scrollable());\n constructor() {\n super();\n effect(() => {\n this.pcTabs.value();\n if (isPlatformBrowser(this.platformId)) {\n setTimeout(() => {\n this.updateInkBar();\n });\n }\n });\n }\n get prevButtonAriaLabel() {\n return this.config.translation.aria.previous;\n }\n get nextButtonAriaLabel() {\n return this.config.translation.aria.next;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n if (this.showNavigators() && isPlatformBrowser(this.platformId)) {\n this.updateButtonState();\n this.bindResizeObserver();\n }\n }\n _prevIconTemplate;\n _nextIconTemplate;\n ngAfterContentInit() {\n this.templates.forEach(t => {\n switch (t.getType()) {\n case 'previcon':\n this._prevIconTemplate = t.template;\n break;\n case 'nexticon':\n this._nextIconTemplate = t.template;\n break;\n }\n });\n }\n ngOnDestroy() {\n this.unbindResizeObserver();\n super.ngOnDestroy();\n }\n onScroll(event) {\n this.showNavigators() && this.updateButtonState();\n event.preventDefault();\n }\n onPrevButtonClick() {\n const _content = this.content.nativeElement;\n const width = getWidth(_content);\n const pos = Math.abs(_content.scrollLeft) - width;\n const scrollLeft = pos <= 0 ? 0 : pos;\n _content.scrollLeft = isRTL(_content) ? -1 * scrollLeft : scrollLeft;\n }\n onNextButtonClick() {\n const _content = this.content.nativeElement;\n const width = getWidth(_content) - this.getVisibleButtonWidths();\n const pos = _content.scrollLeft + width;\n const lastPos = _content.scrollWidth - width;\n const scrollLeft = pos >= lastPos ? lastPos : pos;\n _content.scrollLeft = isRTL(_content) ? -1 * scrollLeft : scrollLeft;\n }\n updateButtonState() {\n const _content = this.content?.nativeElement;\n const _list = this.el?.nativeElement;\n const {\n scrollWidth,\n offsetWidth\n } = _content;\n const scrollLeft = Math.abs(_content.scrollLeft);\n const width = getWidth(_content);\n this.isPrevButtonEnabled.set(scrollLeft !== 0);\n this.isNextButtonEnabled.set(_list.offsetWidth >= offsetWidth && scrollLeft !== scrollWidth - width);\n }\n updateInkBar() {\n const _content = this.content.nativeElement;\n const _inkbar = this.inkbar.nativeElement;\n const _tabs = this.tabs.nativeElement;\n const activeTab = findSingle(_content, '[data-pc-name=\"tab\"][data-p-active=\"true\"]');\n _inkbar.style.width = getOuterWidth(activeTab) + 'px';\n _inkbar.style.left = getOffset(activeTab).left - getOffset(_tabs).left + 'px';\n }\n getVisibleButtonWidths() {\n const _prevBtn = this.prevButton?.nativeElement;\n const _nextBtn = this.nextButton?.nativeElement;\n return [_prevBtn, _nextBtn].reduce((acc, el) => el ? acc + getWidth(el) : acc, 0);\n }\n bindResizeObserver() {\n this.resizeObserver = new ResizeObserver(() => this.updateButtonState());\n this.resizeObserver.observe(this.el.nativeElement);\n }\n unbindResizeObserver() {\n if (this.resizeObserver) {\n this.resizeObserver.unobserve(this.el.nativeElement);\n this.resizeObserver = null;\n }\n }\n static ɵfac = function TabList_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || TabList)();\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TabList,\n selectors: [[\"p-tablist\"]],\n contentQueries: function TabList_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, _c1, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prevIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function TabList_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c2, 5);\n i0.ɵɵviewQuery(_c3, 5);\n i0.ɵɵviewQuery(_c4, 5);\n i0.ɵɵviewQuery(_c5, 5);\n i0.ɵɵviewQuery(_c6, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prevButton = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextButton = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inkbar = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t.first);\n }\n },\n hostVars: 5,\n hostBindings: function TabList_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"tablist\");\n i0.ɵɵclassProp(\"p-tablist\", true)(\"p-component\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c7,\n decls: 9,\n vars: 6,\n consts: [[\"content\", \"\"], [\"tabs\", \"\"], [\"inkbar\", \"\"], [\"prevButton\", \"\"], [\"nextButton\", \"\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-tablist-nav-button\", \"p-tablist-prev-button\"], [1, \"p-tablist-content\", 3, \"scroll\", \"ngClass\"], [\"role\", \"tablist\", 1, \"p-tablist-tab-list\"], [\"role\", \"presentation\", 1, \"p-tablist-active-bar\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-tablist-nav-button\", \"p-tablist-next-button\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-tablist-nav-button\", \"p-tablist-prev-button\", 3, \"click\"], [4, \"ngTemplateOutlet\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-tablist-nav-button\", \"p-tablist-next-button\", 3, \"click\"]],\n template: function TabList_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, TabList_Conditional_0_Template, 4, 4, \"button\", 5);\n i0.ɵɵelementStart(1, \"div\", 6, 0);\n i0.ɵɵlistener(\"scroll\", function TabList_Template_div_scroll_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onScroll($event));\n });\n i0.ɵɵelementStart(3, \"div\", 7, 1);\n i0.ɵɵprojection(5);\n i0.ɵɵelement(6, \"span\", 8, 2);\n i0.ɵɵelementEnd()();\n i0.ɵɵtemplate(8, TabList_Conditional_8_Template, 4, 4, \"button\", 9);\n }\n if (rf & 2) {\n i0.ɵɵconditional(ctx.showNavigators() && ctx.isPrevButtonEnabled() ? 0 : -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(4, _c8, ctx.scrollable()));\n i0.ɵɵadvance(5);\n i0.ɵɵattribute(\"data-pc-section\", \"inkbar\");\n i0.ɵɵadvance(2);\n i0.ɵɵconditional(ctx.showNavigators() && ctx.isNextButtonEnabled() ? 8 : -1);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgTemplateOutlet, ChevronLeftIcon, ChevronRightIcon, RippleModule, i2.Ripple, SharedModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return TabList;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Defines valid properties in Tab component.\n * @group Components\n */\nlet Tab = /*#__PURE__*/(() => {\n class Tab extends BaseComponent {\n /**\n * Value of tab.\n * @defaultValue undefined\n * @group Props\n */\n value = model();\n /**\n * Whether the tab is disabled.\n * @defaultValue false\n * @group Props\n */\n disabled = input(false, {\n transform: booleanAttribute\n });\n pcTabs = inject(forwardRef(() => Tabs));\n pcTabList = inject(forwardRef(() => TabList));\n el = inject(ElementRef);\n ripple = computed(() => this.config.ripple());\n id = computed(() => `${this.pcTabs.id()}_tab_${this.value()}`);\n ariaControls = computed(() => `${this.pcTabs.id()}_tabpanel_${this.value()}`);\n active = computed(() => equals(this.pcTabs.value(), this.value()));\n tabindex = computed(() => this.active() ? this.pcTabs.tabindex() : -1);\n mutationObserver;\n onFocus(event) {\n this.pcTabs.selectOnFocus() && this.changeActiveValue();\n }\n onClick(event) {\n this.changeActiveValue();\n }\n onKeyDown(event) {\n switch (event.code) {\n case 'ArrowRight':\n this.onArrowRightKey(event);\n break;\n case 'ArrowLeft':\n this.onArrowLeftKey(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 'NumpadEnter':\n case 'Space':\n this.onEnterKey(event);\n break;\n default:\n break;\n }\n event.stopPropagation();\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.bindMutationObserver();\n }\n onArrowRightKey(event) {\n const nextTab = this.findNextTab(event.currentTarget);\n nextTab ? this.changeFocusedTab(event, nextTab) : this.onHomeKey(event);\n event.preventDefault();\n }\n onArrowLeftKey(event) {\n const prevTab = this.findPrevTab(event.currentTarget);\n prevTab ? this.changeFocusedTab(event, prevTab) : this.onEndKey(event);\n event.preventDefault();\n }\n onHomeKey(event) {\n const firstTab = this.findFirstTab();\n this.changeFocusedTab(event, firstTab);\n event.preventDefault();\n }\n onEndKey(event) {\n const lastTab = this.findLastTab();\n this.changeFocusedTab(event, lastTab);\n event.preventDefault();\n }\n onPageDownKey(event) {\n this.scrollInView(this.findLastTab());\n event.preventDefault();\n }\n onPageUpKey(event) {\n this.scrollInView(this.findFirstTab());\n event.preventDefault();\n }\n onEnterKey(event) {\n this.changeActiveValue();\n event.preventDefault();\n }\n findNextTab(tabElement, selfCheck = false) {\n const element = selfCheck ? tabElement : tabElement.nextElementSibling;\n return element ? getAttribute(element, 'data-p-disabled') || getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findNextTab(element) : element : null;\n }\n findPrevTab(tabElement, selfCheck = false) {\n const element = selfCheck ? tabElement : tabElement.previousElementSibling;\n return element ? getAttribute(element, 'data-p-disabled') || getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findPrevTab(element) : element : null;\n }\n findFirstTab() {\n return this.findNextTab(this.pcTabList?.tabs?.nativeElement?.firstElementChild, true);\n }\n findLastTab() {\n return this.findPrevTab(this.pcTabList?.tabs?.nativeElement?.lastElementChild, true);\n }\n changeActiveValue() {\n this.pcTabs.updateValue(this.value());\n }\n changeFocusedTab(event, element) {\n focus(element);\n this.scrollInView(element);\n }\n scrollInView(element) {\n element?.scrollIntoView?.({\n block: 'nearest'\n });\n }\n bindMutationObserver() {\n if (isPlatformBrowser(this.platformId)) {\n this.mutationObserver = new MutationObserver(mutations => {\n mutations.forEach(() => {\n if (this.active()) {\n this.pcTabList?.updateInkBar();\n }\n });\n });\n this.mutationObserver.observe(this.el.nativeElement, {\n childList: true,\n characterData: true,\n subtree: true\n });\n }\n }\n unbindMutationObserver() {\n this.mutationObserver.disconnect();\n }\n ngOnDestroy() {\n if (this.mutationObserver) {\n this.unbindMutationObserver();\n }\n super.ngOnDestroy();\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵTab_BaseFactory;\n return function Tab_Factory(__ngFactoryType__) {\n return (ɵTab_BaseFactory || (ɵTab_BaseFactory = i0.ɵɵgetInheritedFactory(Tab)))(__ngFactoryType__ || Tab);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: Tab,\n selectors: [[\"p-tab\"]],\n hostVars: 16,\n hostBindings: function Tab_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"focus\", function Tab_focus_HostBindingHandler($event) {\n return ctx.onFocus($event);\n })(\"click\", function Tab_click_HostBindingHandler($event) {\n return ctx.onClick($event);\n })(\"keydown\", function Tab_keydown_HostBindingHandler($event) {\n return ctx.onKeyDown($event);\n });\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"tab\")(\"id\", ctx.id())(\"aria-controls\", ctx.ariaControls())(\"role\", \"tab\")(\"aria-selected\", ctx.active())(\"data-p-disabled\", ctx.disabled())(\"data-p-active\", ctx.active())(\"tabindex\", ctx.tabindex());\n i0.ɵɵclassProp(\"p-tab\", true)(\"p-tab-active\", ctx.active())(\"p-disabled\", ctx.disabled())(\"p-component\", true);\n }\n },\n inputs: {\n value: [1, \"value\"],\n disabled: [1, \"disabled\"]\n },\n outputs: {\n value: \"valueChange\"\n },\n features: [i0.ɵɵHostDirectivesFeature([i2.Ripple]), i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c7,\n decls: 1,\n vars: 0,\n template: function Tab_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n dependencies: [CommonModule, SharedModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return Tab;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * TabPanel is a helper component for Tabs component.\n * @group Components\n */\nlet TabPanel = /*#__PURE__*/(() => {\n class TabPanel extends BaseComponent {\n pcTabs = inject(forwardRef(() => Tabs));\n /**\n * Value of the active tab.\n * @defaultValue undefined\n * @group Props\n */\n value = model(undefined);\n id = computed(() => `${this.pcTabs.id()}_tabpanel_${this.value()}`);\n ariaLabelledby = computed(() => `${this.pcTabs.id()}_tab_${this.value()}`);\n active = computed(() => equals(this.pcTabs.value(), this.value()));\n static ɵfac = /* @__PURE__ */(() => {\n let ɵTabPanel_BaseFactory;\n return function TabPanel_Factory(__ngFactoryType__) {\n return (ɵTabPanel_BaseFactory || (ɵTabPanel_BaseFactory = i0.ɵɵgetInheritedFactory(TabPanel)))(__ngFactoryType__ || TabPanel);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TabPanel,\n selectors: [[\"p-tabpanel\"]],\n hostVars: 9,\n hostBindings: function TabPanel_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"tabpanel\")(\"id\", ctx.id())(\"role\", \"tabpanel\")(\"aria-labelledby\", ctx.ariaLabelledby())(\"data-p-active\", ctx.active());\n i0.ɵɵclassProp(\"p-tabpanel\", true)(\"p-component\", true);\n }\n },\n inputs: {\n value: [1, \"value\"]\n },\n outputs: {\n value: \"valueChange\"\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c7,\n decls: 1,\n vars: 1,\n template: function TabPanel_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, TabPanel_Conditional_0_Template, 1, 0);\n }\n if (rf & 2) {\n i0.ɵɵconditional(ctx.active() ? 0 : -1);\n }\n },\n dependencies: [CommonModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return TabPanel;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * TabPanels is a helper component for Tabs component.\n * @group Components\n */\nlet TabPanels = /*#__PURE__*/(() => {\n class TabPanels extends BaseComponent {\n static ɵfac = /* @__PURE__ */(() => {\n let ɵTabPanels_BaseFactory;\n return function TabPanels_Factory(__ngFactoryType__) {\n return (ɵTabPanels_BaseFactory || (ɵTabPanels_BaseFactory = i0.ɵɵgetInheritedFactory(TabPanels)))(__ngFactoryType__ || TabPanels);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TabPanels,\n selectors: [[\"p-tabpanels\"]],\n hostVars: 6,\n hostBindings: function TabPanels_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"tabpanels\")(\"role\", \"presentation\");\n i0.ɵɵclassProp(\"p-tabpanels\", true)(\"p-component\", true);\n }\n },\n features: [i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c7,\n decls: 1,\n vars: 0,\n template: function TabPanels_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n dependencies: [CommonModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return TabPanels;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Tabs facilitates seamless switching between different views.\n * @group Components\n */\nlet Tabs = /*#__PURE__*/(() => {\n class Tabs extends BaseComponent {\n /**\n * Value of the active tab.\n * @defaultValue undefined\n * @group Props\n */\n value = model(undefined);\n /**\n * When specified, enables horizontal and/or vertical scrolling.\n * @type boolean\n * @defaultValue false\n * @group Props\n */\n scrollable = input(false, {\n transform: booleanAttribute\n });\n /**\n * When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.\n * @type boolean\n * @defaultValue false\n * @group Props\n */\n lazy = input(false, {\n transform: booleanAttribute\n });\n /**\n * When enabled, the focused tab is activated.\n * @type boolean\n * @defaultValue false\n * @group Props\n */\n selectOnFocus = input(false, {\n transform: booleanAttribute\n });\n /**\n * Whether to display navigation buttons in container when scrollable is enabled.\n * @type boolean\n * @defaultValue true\n * @group Props\n */\n showNavigators = input(true, {\n transform: booleanAttribute\n });\n /**\n * Tabindex of the tab buttons.\n * @type number\n * @defaultValue 0\n * @group Props\n */\n tabindex = input(0, {\n transform: numberAttribute\n });\n id = signal(uuid('pn_id_'));\n _componentStyle = inject(TabsStyle);\n updateValue(newValue) {\n this.value.update(() => newValue);\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵTabs_BaseFactory;\n return function Tabs_Factory(__ngFactoryType__) {\n return (ɵTabs_BaseFactory || (ɵTabs_BaseFactory = i0.ɵɵgetInheritedFactory(Tabs)))(__ngFactoryType__ || Tabs);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: Tabs,\n selectors: [[\"p-tabs\"]],\n hostVars: 8,\n hostBindings: function Tabs_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"tabs\")(\"id\", ctx.id);\n i0.ɵɵclassProp(\"p-tabs\", true)(\"p-tabs-scrollable\", ctx.scrollable())(\"p-component\", true);\n }\n },\n inputs: {\n value: [1, \"value\"],\n scrollable: [1, \"scrollable\"],\n lazy: [1, \"lazy\"],\n selectOnFocus: [1, \"selectOnFocus\"],\n showNavigators: [1, \"showNavigators\"],\n tabindex: [1, \"tabindex\"]\n },\n outputs: {\n value: \"valueChange\"\n },\n features: [i0.ɵɵProvidersFeature([TabsStyle]), i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c7,\n decls: 1,\n vars: 0,\n template: function Tabs_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n dependencies: [CommonModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return Tabs;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TabsModule = /*#__PURE__*/(() => {\n class TabsModule {\n static ɵfac = function TabsModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || TabsModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TabsModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [Tabs, TabPanels, TabPanel, TabList, Tab]\n });\n }\n return TabsModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Tab, TabList, TabPanel, TabPanels, Tabs, TabsClasses, TabsModule, TabsStyle };\n"],"mappings":"woBAWA,IAAMA,GAAM,CAAC,UAAU,EACjBC,GAAM,CAAC,UAAU,EACjBC,GAAM,CAAC,SAAS,EAChBC,GAAM,CAAC,YAAY,EACnBC,GAAM,CAAC,YAAY,EACnBC,GAAM,CAAC,QAAQ,EACfC,GAAM,CAAC,MAAM,EACbC,EAAM,CAAC,GAAG,EACVC,GAAMC,IAAO,CACjB,qBAAsBA,CACxB,GACA,SAASC,GAA4DC,EAAIC,EAAK,CACxED,EAAK,GACJE,EAAmB,CAAC,CAE3B,CACA,SAASC,GAA6CH,EAAIC,EAAK,CAI7D,GAHID,EAAK,GACJI,EAAW,EAAGL,GAA6D,EAAG,EAAG,eAAgB,EAAE,EAEpGC,EAAK,EAAG,CACV,IAAMK,EAAYC,EAAc,CAAC,EAC9BC,EAAW,mBAAoBF,EAAO,kBAAoBA,EAAO,iBAAiB,CACvF,CACF,CACA,SAASG,GAA6CR,EAAIC,EAAK,CACzDD,EAAK,GACJS,EAAU,EAAG,iBAAiB,CAErC,CACA,SAASC,GAA+BV,EAAIC,EAAK,CAC/C,GAAID,EAAK,EAAG,CACV,IAAMW,EAASC,EAAiB,EAC7BC,EAAe,EAAG,SAAU,GAAI,CAAC,EACjCC,EAAW,Q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,CAACS,CAAY,EAC3B,cAAe,EACf,gBAAiB,CACnB,CAAC,CACH,CACA,OAAOnE,CACT,GAAG,EAICyG,IAA2B,IAAM,CACnC,MAAMA,CAAW,CACf,OAAO,UAAO,SAA4B/E,EAAmB,CAC3D,OAAO,IAAKA,GAAqB+E,EACnC,EACA,OAAO,UAAyBC,GAAiB,CAC/C,KAAMD,CACR,CAAC,EACD,OAAO,UAAyBE,EAAiB,CAC/C,QAAS,CAAC3G,EAAMiG,GAAWH,GAAUlG,GAAS+E,EAAG,CACnD,CAAC,CACH,CACA,OAAO8B,CACT,GAAG","names":["_c0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","a0","TabList_Conditional_0_Conditional_2_ng_container_0_Template","rf","ctx","ɵɵelementContainer","TabList_Conditional_0_Conditional_2_Template","ɵɵtemplate","ctx_r2","ɵɵnextContext","ɵɵproperty","TabList_Conditional_0_Conditional_3_Template","ɵɵelement","TabList_Conditional_0_Template","_r2","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","ɵɵresetView","ɵɵelementEnd","ɵɵattribute","ɵɵadvance","ɵɵconditional","TabList_Conditional_8_Conditional_2_ng_container_0_Template","TabList_Conditional_8_Conditional_2_Template","TabList_Conditional_8_Conditional_3_Template","TabList_Conditional_8_Template","_r4","TabPanel_Conditional_0_Template","ɵɵprojection","theme","dt","classes","props","TabsStyle","BaseStyle","ɵTabsStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","TabList","BaseComponent","inject","forwardRef","Tabs","signal","computed","effect","isPlatformBrowser","event","_content","width","getWidth","pos","scrollLeft","isRTL","lastPos","_list","scrollWidth","offsetWidth","_inkbar","_tabs","activeTab","findSingle","getOuterWidth","getOffset","_prevBtn","_nextBtn","acc","el","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","dirIndex","ɵɵcontentQuery","_c0","_c1","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","_c2","_c3","_c4","_c5","_c6","ɵɵattribute","ɵɵclassProp","ɵɵInheritDefinitionFeature","_c7","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","ɵɵtemplate","TabList_Conditional_0_Template","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","ɵɵprojection","ɵɵelement","ɵɵelementEnd","TabList_Conditional_8_Template","ɵɵconditional","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c8","CommonModule","NgClass","NgTemplateOutlet","ChevronLeftIcon","ChevronRightIcon","RippleModule","Ripple","SharedModule","Tab","model","input","booleanAttribute","ElementRef","equals","nextTab","prevTab","firstTab","lastTab","tabElement","selfCheck","element","getAttribute","focus","mutations","ɵTab_BaseFactory","ɵɵgetInheritedFactory","ɵɵHostDirectivesFeature","TabPanel","ɵTabPanel_BaseFactory","TabPanel_Conditional_0_Template","TabPanels","ɵTabPanels_BaseFactory","numberAttribute","uuid","TabsStyle","newValue","ɵTabs_BaseFactory","ɵɵProvidersFeature","TabsModule","ɵɵdefineNgModule","ɵɵdefineInjector"],"x_google_ignoreList":[0]}