{"version":3,"sources":["node_modules/primeng/fesm2022/primeng-icons-angledoubleleft.mjs","node_modules/primeng/fesm2022/primeng-icons-angledoubleright.mjs","node_modules/primeng/fesm2022/primeng-icons-angledown.mjs","node_modules/primeng/fesm2022/primeng-icons-angleleft.mjs","node_modules/primeng/fesm2022/primeng-icons-angleright.mjs","node_modules/primeng/fesm2022/primeng-icons-angleup.mjs","node_modules/primeng/fesm2022/primeng-icons-blank.mjs","node_modules/primeng/fesm2022/primeng-icons-chevrondown.mjs","node_modules/primeng/fesm2022/primeng-icons-search.mjs","node_modules/primeng/fesm2022/primeng-inputtext.mjs","node_modules/primeng/fesm2022/primeng-inputnumber.mjs","node_modules/primeng/fesm2022/primeng-iconfield.mjs","node_modules/primeng/fesm2022/primeng-inputicon.mjs","node_modules/primeng/fesm2022/primeng-overlay.mjs","node_modules/primeng/fesm2022/primeng-scroller.mjs","node_modules/primeng/fesm2022/primeng-tooltip.mjs","node_modules/primeng/fesm2022/primeng-select.mjs","node_modules/primeng/fesm2022/primeng-paginator.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet AngleDoubleLeftIcon = /*#__PURE__*/(() => {\n class AngleDoubleLeftIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵAngleDoubleLeftIcon_BaseFactory;\n return function AngleDoubleLeftIcon_Factory(__ngFactoryType__) {\n return (ɵAngleDoubleLeftIcon_BaseFactory || (ɵAngleDoubleLeftIcon_BaseFactory = i0.ɵɵgetInheritedFactory(AngleDoubleLeftIcon)))(__ngFactoryType__ || AngleDoubleLeftIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngleDoubleLeftIcon,\n selectors: [[\"AngleDoubleLeftIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z\", \"fill\", \"currentColor\"]],\n template: function AngleDoubleLeftIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return AngleDoubleLeftIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AngleDoubleLeftIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet AngleDoubleRightIcon = /*#__PURE__*/(() => {\n class AngleDoubleRightIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵAngleDoubleRightIcon_BaseFactory;\n return function AngleDoubleRightIcon_Factory(__ngFactoryType__) {\n return (ɵAngleDoubleRightIcon_BaseFactory || (ɵAngleDoubleRightIcon_BaseFactory = i0.ɵɵgetInheritedFactory(AngleDoubleRightIcon)))(__ngFactoryType__ || AngleDoubleRightIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngleDoubleRightIcon,\n selectors: [[\"AngleDoubleRightIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z\", \"fill\", \"currentColor\"]],\n template: function AngleDoubleRightIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return AngleDoubleRightIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AngleDoubleRightIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet AngleDownIcon = /*#__PURE__*/(() => {\n class AngleDownIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵAngleDownIcon_BaseFactory;\n return function AngleDownIcon_Factory(__ngFactoryType__) {\n return (ɵAngleDownIcon_BaseFactory || (ɵAngleDownIcon_BaseFactory = i0.ɵɵgetInheritedFactory(AngleDownIcon)))(__ngFactoryType__ || AngleDownIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngleDownIcon,\n selectors: [[\"AngleDownIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z\", \"fill\", \"currentColor\"]],\n template: function AngleDownIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return AngleDownIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AngleDownIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet AngleLeftIcon = /*#__PURE__*/(() => {\n class AngleLeftIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵAngleLeftIcon_BaseFactory;\n return function AngleLeftIcon_Factory(__ngFactoryType__) {\n return (ɵAngleLeftIcon_BaseFactory || (ɵAngleLeftIcon_BaseFactory = i0.ɵɵgetInheritedFactory(AngleLeftIcon)))(__ngFactoryType__ || AngleLeftIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngleLeftIcon,\n selectors: [[\"AngleLeftIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z\", \"fill\", \"currentColor\"]],\n template: function AngleLeftIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return AngleLeftIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AngleLeftIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet AngleRightIcon = /*#__PURE__*/(() => {\n class AngleRightIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵAngleRightIcon_BaseFactory;\n return function AngleRightIcon_Factory(__ngFactoryType__) {\n return (ɵAngleRightIcon_BaseFactory || (ɵAngleRightIcon_BaseFactory = i0.ɵɵgetInheritedFactory(AngleRightIcon)))(__ngFactoryType__ || AngleRightIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngleRightIcon,\n selectors: [[\"AngleRightIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z\", \"fill\", \"currentColor\"]],\n template: function AngleRightIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return AngleRightIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AngleRightIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet AngleUpIcon = /*#__PURE__*/(() => {\n class AngleUpIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵAngleUpIcon_BaseFactory;\n return function AngleUpIcon_Factory(__ngFactoryType__) {\n return (ɵAngleUpIcon_BaseFactory || (ɵAngleUpIcon_BaseFactory = i0.ɵɵgetInheritedFactory(AngleUpIcon)))(__ngFactoryType__ || AngleUpIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngleUpIcon,\n selectors: [[\"AngleUpIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z\", \"fill\", \"currentColor\"]],\n template: function AngleUpIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return AngleUpIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AngleUpIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet BlankIcon = /*#__PURE__*/(() => {\n class BlankIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵBlankIcon_BaseFactory;\n return function BlankIcon_Factory(__ngFactoryType__) {\n return (ɵBlankIcon_BaseFactory || (ɵBlankIcon_BaseFactory = i0.ɵɵgetInheritedFactory(BlankIcon)))(__ngFactoryType__ || BlankIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: BlankIcon,\n selectors: [[\"BlankIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 0,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"width\", \"1\", \"height\", \"1\", \"fill\", \"currentColor\", \"fill-opacity\", \"0\"]],\n template: function BlankIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"rect\", 1);\n i0.ɵɵelementEnd();\n }\n },\n encapsulation: 2\n });\n }\n return BlankIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BlankIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet ChevronDownIcon = /*#__PURE__*/(() => {\n class ChevronDownIcon extends BaseIcon {\n static ɵfac = /*@__PURE__*/(() => {\n let ɵChevronDownIcon_BaseFactory;\n return function ChevronDownIcon_Factory(__ngFactoryType__) {\n return (ɵChevronDownIcon_BaseFactory || (ɵChevronDownIcon_BaseFactory = i0.ɵɵgetInheritedFactory(ChevronDownIcon)))(__ngFactoryType__ || ChevronDownIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ChevronDownIcon,\n selectors: [[\"ChevronDownIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 5,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"d\", \"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z\", \"fill\", \"currentColor\"]],\n template: function ChevronDownIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0);\n i0.ɵɵelement(1, \"path\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n }\n },\n encapsulation: 2\n });\n }\n return ChevronDownIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ChevronDownIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { uuid } from '@primeuix/utils';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet SearchIcon = /*#__PURE__*/(() => {\n class SearchIcon extends BaseIcon {\n pathId;\n ngOnInit() {\n this.pathId = 'url(#' + uuid() + ')';\n }\n static ɵfac = /*@__PURE__*/(() => {\n let ɵSearchIcon_BaseFactory;\n return function SearchIcon_Factory(__ngFactoryType__) {\n return (ɵSearchIcon_BaseFactory || (ɵSearchIcon_BaseFactory = i0.ɵɵgetInheritedFactory(SearchIcon)))(__ngFactoryType__ || SearchIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: SearchIcon,\n selectors: [[\"SearchIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 6,\n vars: 7,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z\", \"fill\", \"currentColor\"], [3, \"id\"], [\"width\", \"14\", \"height\", \"14\", \"fill\", \"white\"]],\n template: function SearchIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0)(1, \"g\");\n i0.ɵɵelement(2, \"path\", 1);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"defs\")(4, \"clipPath\", 2);\n i0.ɵɵelement(5, \"rect\", 3);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"clip-path\", ctx.pathId);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"id\", ctx.pathId);\n }\n },\n encapsulation: 2\n });\n }\n return SearchIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SearchIcon };\n","import * as i0 from '@angular/core';\nimport { Injectable, inject, booleanAttribute, Directive, Optional, Input, HostListener, NgModule } from '@angular/core';\nimport { isEmpty } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { BaseStyle } from 'primeng/base';\nimport * as i1 from '@angular/forms';\nconst theme = ({\n dt\n}) => `\n.p-inputtext {\n font-family: inherit;\n font-feature-settings: inherit;\n font-size: 1rem;\n color: ${dt('inputtext.color')};\n background: ${dt('inputtext.background')};\n padding-block: ${dt('inputtext.padding.y')};\n padding-inline: ${dt('inputtext.padding.x')};\n border: 1px solid ${dt('inputtext.border.color')};\n transition: background ${dt('inputtext.transition.duration')}, color ${dt('inputtext.transition.duration')}, border-color ${dt('inputtext.transition.duration')}, outline-color ${dt('inputtext.transition.duration')}, box-shadow ${dt('inputtext.transition.duration')};\n appearance: none;\n border-radius: ${dt('inputtext.border.radius')};\n outline-color: transparent;\n box-shadow: ${dt('inputtext.shadow')};\n}\n\n.p-inputtext.ng-invalid.ng-dirty {\n border-color: ${dt('inputtext.invalid.border.color')};\n}\n\n.p-inputtext:enabled:hover {\n border-color: ${dt('inputtext.hover.border.color')};\n}\n\n.p-inputtext:enabled:focus {\n border-color: ${dt('inputtext.focus.border.color')};\n box-shadow: ${dt('inputtext.focus.ring.shadow')};\n outline: ${dt('inputtext.focus.ring.width')} ${dt('inputtext.focus.ring.style')} ${dt('inputtext.focus.ring.color')};\n outline-offset: ${dt('inputtext.focus.ring.offset')};\n}\n\n.p-inputtext.p-invalid {\n border-color: ${dt('inputtext.invalid.border.color')};\n}\n\n.p-inputtext.p-variant-filled {\n background: ${dt('inputtext.filled.background')};\n}\n \n.p-inputtext.p-variant-filled:enabled:hover {\n background: ${dt('inputtext.filled.hover.background')};\n}\n\n.p-inputtext.p-variant-filled:enabled:focus {\n background: ${dt('inputtext.filled.focus.background')};\n}\n\n.p-inputtext:disabled {\n opacity: 1;\n background: ${dt('inputtext.disabled.background')};\n color: ${dt('inputtext.disabled.color')};\n}\n\n.p-inputtext::placeholder {\n color: ${dt('inputtext.placeholder.color')};\n}\n\n.p-inputtext.ng-invalid.ng-dirty::placeholder {\n color: ${dt('inputtext.invalid.placeholder.color')};\n}\n\n.p-inputtext-sm {\n font-size: ${dt('inputtext.sm.font.size')};\n padding-block: ${dt('inputtext.sm.padding.y')};\n padding-inline: ${dt('inputtext.sm.padding.x')};\n}\n\n.p-inputtext-lg {\n font-size: ${dt('inputtext.lg.font.size')};\n padding-block: ${dt('inputtext.lg.padding.y')};\n padding-inline: ${dt('inputtext.lg.padding.x')};\n}\n\n.p-inputtext-fluid {\n width: 100%;\n}\n`;\nconst classes = {\n root: ({\n instance,\n props\n }) => ['p-inputtext p-component', {\n 'p-filled': instance.filled,\n 'p-inputtext-sm': props.size === 'small',\n 'p-inputtext-lg': props.size === 'large',\n 'p-invalid': props.invalid,\n 'p-variant-filled': props.variant === 'filled',\n 'p-inputtext-fluid': props.fluid\n }]\n};\nlet InputTextStyle = /*#__PURE__*/(() => {\n class InputTextStyle extends BaseStyle {\n name = 'inputtext';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵInputTextStyle_BaseFactory;\n return function InputTextStyle_Factory(__ngFactoryType__) {\n return (ɵInputTextStyle_BaseFactory || (ɵInputTextStyle_BaseFactory = i0.ɵɵgetInheritedFactory(InputTextStyle)))(__ngFactoryType__ || InputTextStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: InputTextStyle,\n factory: InputTextStyle.ɵfac\n });\n }\n return InputTextStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * InputText renders a text field to enter data.\n *\n * [Live Demo](https://www.primeng.org/inputtext/)\n *\n * @module inputtextstyle\n *\n */\nvar InputTextClasses = /*#__PURE__*/function (InputTextClasses) {\n /**\n * The class of root element\n */\n InputTextClasses[\"root\"] = \"p-inputtext\";\n return InputTextClasses;\n}(InputTextClasses || {});\n/**\n * InputText directive is an extension to standard input element with theming.\n * @group Components\n */\nlet InputText = /*#__PURE__*/(() => {\n class InputText extends BaseComponent {\n ngModel;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n variant;\n /**\n * Spans 100% width of the container when enabled.\n * @group Props\n */\n fluid;\n /**\n * Defines the size of the component.\n * @group Props\n */\n pSize;\n filled;\n _componentStyle = inject(InputTextStyle);\n get hasFluid() {\n const nativeElement = this.el.nativeElement;\n const fluidComponent = nativeElement.closest('p-fluid');\n return isEmpty(this.fluid) ? !!fluidComponent : this.fluid;\n }\n constructor(ngModel) {\n super();\n this.ngModel = ngModel;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.updateFilledState();\n this.cd.detectChanges();\n }\n ngDoCheck() {\n this.updateFilledState();\n }\n onInput() {\n this.updateFilledState();\n }\n updateFilledState() {\n this.filled = this.el.nativeElement.value && this.el.nativeElement.value.length || this.ngModel && this.ngModel.model;\n }\n static ɵfac = function InputText_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InputText)(i0.ɵɵdirectiveInject(i1.NgModel, 8));\n };\n static ɵdir = /*@__PURE__*/i0.ɵɵdefineDirective({\n type: InputText,\n selectors: [[\"\", \"pInputText\", \"\"]],\n hostAttrs: [1, \"p-inputtext\", \"p-component\"],\n hostVars: 14,\n hostBindings: function InputText_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"input\", function InputText_input_HostBindingHandler($event) {\n return ctx.onInput($event);\n });\n }\n if (rf & 2) {\n let tmp_1_0;\n i0.ɵɵclassProp(\"p-filled\", ctx.filled)(\"p-variant-filled\", ((tmp_1_0 = ctx.variant) !== null && tmp_1_0 !== undefined ? tmp_1_0 : ctx.config.inputStyle() || ctx.config.inputVariant()) === \"filled\")(\"p-inputtext-fluid\", ctx.hasFluid)(\"p-inputtext-sm\", ctx.pSize === \"small\")(\"p-inputfield-sm\", ctx.pSize === \"small\")(\"p-inputtext-lg\", ctx.pSize === \"large\")(\"p-inputfield-lg\", ctx.pSize === \"large\");\n }\n },\n inputs: {\n variant: \"variant\",\n fluid: [2, \"fluid\", \"fluid\", booleanAttribute],\n pSize: \"pSize\"\n },\n features: [i0.ɵɵProvidersFeature([InputTextStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature]\n });\n }\n return InputText;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet InputTextModule = /*#__PURE__*/(() => {\n class InputTextModule {\n static ɵfac = function InputTextModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InputTextModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: InputTextModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({});\n }\n return InputTextModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(InputTextModule, {\n imports: [InputText],\n exports: [InputText]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { InputText, InputTextClasses, InputTextModule, InputTextStyle };\n","import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ContentChildren, ViewChild, HostBinding, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';\nimport { getSelection } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { AutoFocus } from 'primeng/autofocus';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesIcon, AngleUpIcon, AngleDownIcon } from 'primeng/icons';\nimport { InputText } from 'primeng/inputtext';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-inputnumber {\n display: inline-flex;\n position: relative;\n}\n\n.p-inputnumber-button {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 auto;\n cursor: pointer;\n background: ${dt('inputnumber.button.background')};\n color: ${dt('inputnumber.button.color')};\n width: ${dt('inputnumber.button.width')};\n transition: background ${dt('inputnumber.transition.duration')}, color ${dt('inputnumber.transition.duration')}, border-color ${dt('inputnumber.transition.duration')}, outline-color ${dt('inputnumber.transition.duration')};\n}\n\n.p-inputnumber-button:hover {\n background: ${dt('inputnumber.button.hover.background')};\n color: ${dt('inputnumber.button.hover.color')};\n}\n\n.p-inputnumber-button:active {\n background: ${dt('inputnumber.button.active.background')};\n color: ${dt('inputnumber.button.active.color')};\n}\n\n.p-inputnumber-stacked .p-inputnumber-button {\n position: relative;\n border: 0 none;\n}\n\n.p-inputnumber-stacked .p-inputnumber-button-group {\n display: flex;\n flex-direction: column;\n position: absolute;\n inset-block-start: 1px;\n inset-inline-end: 1px;\n height: calc(100% - 2px);\n z-index: 1;\n}\n\n.p-inputnumber-stacked .p-inputnumber-increment-button {\n padding: 0;\n border-start-end-radius: calc(${dt('inputnumber.button.border.radius')} - 1px);\n}\n\n.p-inputnumber-stacked .p-inputnumber-decrement-button {\n padding: 0;\n border-end-end-radius: calc(${dt('inputnumber.button.border.radius')} - 1px);\n}\n\n.p-inputnumber-stacked .p-inputnumber-button {\n flex: 1 1 auto;\n border: 0 none;\n}\n\n.p-inputnumber-horizontal .p-inputnumber-button {\n border: 1px solid ${dt('inputnumber.button.border.color')};\n}\n\n.p-inputnumber-horizontal .p-inputnumber-button:hover {\n border-color: ${dt('inputnumber.button.hover.border.color')};\n}\n\n.p-inputnumber-horizontal .p-inputnumber-button:active {\n border-color: ${dt('inputnumber.button.active.border.color')};\n}\n\n.p-inputnumber-horizontal .p-inputnumber-increment-button {\n order: 3;\n border-start-end-radius: ${dt('inputnumber.button.border.radius')};\n border-end-end-radius: ${dt('inputnumber.button.border.radius')};\n border-inline-start: 0 none;\n}\n\n.p-inputnumber-horizontal .p-inputnumber-input {\n order: 2;\n border-radius: 0;\n}\n\n.p-inputnumber-horizontal .p-inputnumber-decrement-button {\n order: 1;\n border-start-start-radius: ${dt('inputnumber.button.border.radius')};\n border-end-start-radius: ${dt('inputnumber.button.border.radius')};\n border-inline-end: 0 none;\n}\n\n.p-floatlabel:has(.p-inputnumber-horizontal) label {\n margin-inline-start: ${dt('inputnumber.button.width')};\n}\n\n.p-inputnumber-vertical {\n flex-direction: column;\n}\n\n.p-inputnumber-vertical .p-inputnumber-button {\n border: 1px solid ${dt('inputnumber.button.border.color')};\n padding-block: ${dt('inputnumber.button.vertical.padding')};\n padding-inline: 0;\n}\n\n.p-inputnumber-vertical .p-inputnumber-button:hover {\n border-color: ${dt('inputnumber.button.hover.border.color')};\n}\n\n.p-inputnumber-vertical .p-inputnumber-button:active {\n border-color: ${dt('inputnumber.button.active.border.color')};\n}\n\n.p-inputnumber-vertical .p-inputnumber-increment-button {\n order: 1;\n border-start-start-radius: ${dt('inputnumber.button.border.radius')};\n border-start-end-radius: ${dt('inputnumber.button.border.radius')};\n width: 100%;\n border-block-end: 0 none;\n}\n\n.p-inputnumber-vertical .p-inputnumber-input {\n order: 2;\n border-radius: 0;\n text-align: center;\n}\n\n.p-inputnumber-vertical .p-inputnumber-decrement-button {\n order: 3;\n border-end-start-radius: ${dt('inputnumber.button.border.radius')};\n border-end-end-radius: ${dt('inputnumber.button.border.radius')};\n width: 100%;\n border-block-start: 0 none;\n}\n\n.p-inputnumber-input {\n flex: 1 1 auto;\n}\n\n.p-inputnumber-fluid {\n width: 100%;\n}\n\n.p-inputnumber-fluid .p-inputnumber-input {\n width: 1%;\n}\n\n.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input {\n width: 100%;\n}\n\n.p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon {\n font-size: ${dt('form.field.sm.font.size')};\n width: ${dt('form.field.sm.font.size')};\n height: ${dt('form.field.sm.font.size')};\n}\n\n.p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon {\n font-size: ${dt('form.field.lg.font.size')};\n width: ${dt('form.field.lg.font.size')};\n height: ${dt('form.field.lg.font.size')};\n}\n\np-inputnumber.ng-invalid.ng-dirty > .p-inputtext {\n border-color: ${dt('inputtext.invalid.border.color')};\n}\n\np-inputnumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus {\n border-color: ${dt('inputtext.focus.border.color')};\n}\n\np-inputnumber.ng-invalid.ng-dirty > .p-inputtext::placeholder {\n color: ${dt('inputtext.invalid.placeholder.color')};\n}\n`;\nconst classes = {\n root: ({\n instance\n }) => ({\n 'p-inputnumber p-component p-inputwrapper': true,\n 'p-inputwrapper-filled': instance.filled || instance.allowEmpty === false,\n 'p-inputwrapper-focus': instance.focused,\n 'p-inputnumber-stacked': instance.showButtons && instance.buttonLayout === 'stacked',\n 'p-inputnumber-horizontal': instance.showButtons && instance.buttonLayout === 'horizontal',\n 'p-inputnumber-vertical': instance.showButtons && instance.buttonLayout === 'vertical',\n 'p-inputnumber-fluid': instance.hasFluid\n }),\n pcInput: 'p-inputnumber-input',\n buttonGroup: 'p-inputnumber-button-group',\n incrementButton: ({\n instance\n }) => ({\n 'p-inputnumber-button p-inputnumber-increment-button': true,\n 'p-disabled': instance.showButtons && instance.max !== null && instance.maxlength\n }),\n decrementButton: ({\n instance\n }) => ({\n 'p-inputnumber-button p-inputnumber-decrement-button': true,\n 'p-disabled': instance.showButtons && instance.min !== null && instance.minlength\n })\n};\nlet InputNumberStyle = /*#__PURE__*/(() => {\n class InputNumberStyle extends BaseStyle {\n name = 'inputnumber';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵInputNumberStyle_BaseFactory;\n return function InputNumberStyle_Factory(__ngFactoryType__) {\n return (ɵInputNumberStyle_BaseFactory || (ɵInputNumberStyle_BaseFactory = i0.ɵɵgetInheritedFactory(InputNumberStyle)))(__ngFactoryType__ || InputNumberStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: InputNumberStyle,\n factory: InputNumberStyle.ɵfac\n });\n }\n return InputNumberStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * InputNumber is an input component to provide numerical input.\n *\n * [Live Demo](https://www.primeng.org/inputnumber/)\n *\n * @module inputnumberstyle\n *\n */\nvar InputNumberClasses = /*#__PURE__*/function (InputNumberClasses) {\n /**\n * Class name of the root element\n */\n InputNumberClasses[\"root\"] = \"p-inputnumber\";\n /**\n * Class name of the input element\n */\n InputNumberClasses[\"pcInput\"] = \"p-inputnumber-input\";\n /**\n * Class name of the button group element\n */\n InputNumberClasses[\"buttonGroup\"] = \"p-inputnumber-button-group\";\n /**\n * Class name of the increment button element\n */\n InputNumberClasses[\"incrementButton\"] = \"p-inputnumber-increment-button\";\n /**\n * Class name of the decrement button element\n */\n InputNumberClasses[\"decrementButton\"] = \"p-inputnumber-decrement-button\";\n return InputNumberClasses;\n}(InputNumberClasses || {});\nconst _c0 = [\"clearicon\"];\nconst _c1 = [\"incrementbuttonicon\"];\nconst _c2 = [\"decrementbuttonicon\"];\nconst _c3 = [\"input\"];\nfunction InputNumber_ng_container_2_TimesIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"TimesIcon\", 7);\n i0.ɵɵlistener(\"click\", function InputNumber_ng_container_2_TimesIcon_1_Template_TimesIcon_click_0_listener() {\n i0.ɵɵrestoreView(_r2);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.clear());\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngClass\", \"p-inputnumber-clear-icon\");\n i0.ɵɵattribute(\"data-pc-section\", \"clearIcon\");\n }\n}\nfunction InputNumber_ng_container_2_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction InputNumber_ng_container_2_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, InputNumber_ng_container_2_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction InputNumber_ng_container_2_span_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 8);\n i0.ɵɵlistener(\"click\", function InputNumber_ng_container_2_span_2_Template_span_click_0_listener() {\n i0.ɵɵrestoreView(_r4);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.clear());\n });\n i0.ɵɵtemplate(1, InputNumber_ng_container_2_span_2_1_Template, 1, 0, null, 9);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"clearIcon\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.clearIconTemplate || ctx_r2._clearIconTemplate);\n }\n}\nfunction InputNumber_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, InputNumber_ng_container_2_TimesIcon_1_Template, 1, 2, \"TimesIcon\", 5)(2, InputNumber_ng_container_2_span_2_Template, 2, 2, \"span\", 6);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.clearIconTemplate && !ctx_r2._clearIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.clearIconTemplate || ctx_r2._clearIconTemplate);\n }\n}\nfunction InputNumber_span_3_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 13);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", ctx_r2.incrementButtonIcon);\n i0.ɵɵattribute(\"data-pc-section\", \"incrementbuttonicon\");\n }\n}\nfunction InputNumber_span_3_ng_container_3_AngleUpIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleUpIcon\");\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-section\", \"incrementbuttonicon\");\n }\n}\nfunction InputNumber_span_3_ng_container_3_2_ng_template_0_Template(rf, ctx) {}\nfunction InputNumber_span_3_ng_container_3_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, InputNumber_span_3_ng_container_3_2_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction InputNumber_span_3_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, InputNumber_span_3_ng_container_3_AngleUpIcon_1_Template, 1, 1, \"AngleUpIcon\", 2)(2, InputNumber_span_3_ng_container_3_2_Template, 1, 0, null, 9);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.incrementButtonIconTemplate && !ctx_r2._incrementButtonIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.incrementButtonIconTemplate || ctx_r2._incrementButtonIconTemplate);\n }\n}\nfunction InputNumber_span_3_span_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 13);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", ctx_r2.decrementButtonIcon);\n i0.ɵɵattribute(\"data-pc-section\", \"decrementbuttonicon\");\n }\n}\nfunction InputNumber_span_3_ng_container_6_AngleDownIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleDownIcon\");\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-section\", \"decrementbuttonicon\");\n }\n}\nfunction InputNumber_span_3_ng_container_6_2_ng_template_0_Template(rf, ctx) {}\nfunction InputNumber_span_3_ng_container_6_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, InputNumber_span_3_ng_container_6_2_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction InputNumber_span_3_ng_container_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, InputNumber_span_3_ng_container_6_AngleDownIcon_1_Template, 1, 1, \"AngleDownIcon\", 2)(2, InputNumber_span_3_ng_container_6_2_Template, 1, 0, null, 9);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.decrementButtonIconTemplate && !ctx_r2._decrementButtonIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.decrementButtonIconTemplate || ctx_r2._decrementButtonIconTemplate);\n }\n}\nfunction InputNumber_span_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 10)(1, \"button\", 11);\n i0.ɵɵlistener(\"mousedown\", function InputNumber_span_3_Template_button_mousedown_1_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonMouseDown($event));\n })(\"mouseup\", function InputNumber_span_3_Template_button_mouseup_1_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonMouseUp());\n })(\"mouseleave\", function InputNumber_span_3_Template_button_mouseleave_1_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonMouseLeave());\n })(\"keydown\", function InputNumber_span_3_Template_button_keydown_1_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonKeyDown($event));\n })(\"keyup\", function InputNumber_span_3_Template_button_keyup_1_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonKeyUp());\n });\n i0.ɵɵtemplate(2, InputNumber_span_3_span_2_Template, 1, 2, \"span\", 12)(3, InputNumber_span_3_ng_container_3_Template, 3, 2, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"button\", 11);\n i0.ɵɵlistener(\"mousedown\", function InputNumber_span_3_Template_button_mousedown_4_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonMouseDown($event));\n })(\"mouseup\", function InputNumber_span_3_Template_button_mouseup_4_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonMouseUp());\n })(\"mouseleave\", function InputNumber_span_3_Template_button_mouseleave_4_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonMouseLeave());\n })(\"keydown\", function InputNumber_span_3_Template_button_keydown_4_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonKeyDown($event));\n })(\"keyup\", function InputNumber_span_3_Template_button_keyup_4_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonKeyUp());\n });\n i0.ɵɵtemplate(5, InputNumber_span_3_span_5_Template, 1, 2, \"span\", 12)(6, InputNumber_span_3_ng_container_6_Template, 3, 2, \"ng-container\", 2);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵattribute(\"data-pc-section\", \"buttonGroup\");\n i0.ɵɵadvance();\n i0.ɵɵclassMap(ctx_r2.incrementButtonClass);\n i0.ɵɵproperty(\"ngClass\", ctx_r2._incrementButtonClass)(\"disabled\", ctx_r2.disabled);\n i0.ɵɵattribute(\"aria-hidden\", true)(\"data-pc-section\", \"incrementbutton\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.incrementButtonIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.incrementButtonIcon);\n i0.ɵɵadvance();\n i0.ɵɵclassMap(ctx_r2.decrementButtonClass);\n i0.ɵɵproperty(\"ngClass\", ctx_r2._decrementButtonClass)(\"disabled\", ctx_r2.disabled);\n i0.ɵɵattribute(\"aria-hidden\", true)(\"data-pc-section\", \"decrementbutton\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.decrementButtonIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.decrementButtonIcon);\n }\n}\nfunction InputNumber_button_4_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 13);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", ctx_r2.incrementButtonIcon);\n i0.ɵɵattribute(\"data-pc-section\", \"incrementbuttonicon\");\n }\n}\nfunction InputNumber_button_4_ng_container_2_AngleUpIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleUpIcon\");\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-section\", \"incrementbuttonicon\");\n }\n}\nfunction InputNumber_button_4_ng_container_2_2_ng_template_0_Template(rf, ctx) {}\nfunction InputNumber_button_4_ng_container_2_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, InputNumber_button_4_ng_container_2_2_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction InputNumber_button_4_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, InputNumber_button_4_ng_container_2_AngleUpIcon_1_Template, 1, 1, \"AngleUpIcon\", 2)(2, InputNumber_button_4_ng_container_2_2_Template, 1, 0, null, 9);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.incrementButtonIconTemplate && !ctx_r2._incrementButtonIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.incrementButtonIconTemplate || ctx_r2._incrementButtonIconTemplate);\n }\n}\nfunction InputNumber_button_4_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 11);\n i0.ɵɵlistener(\"mousedown\", function InputNumber_button_4_Template_button_mousedown_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonMouseDown($event));\n })(\"mouseup\", function InputNumber_button_4_Template_button_mouseup_0_listener() {\n i0.ɵɵrestoreView(_r6);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonMouseUp());\n })(\"mouseleave\", function InputNumber_button_4_Template_button_mouseleave_0_listener() {\n i0.ɵɵrestoreView(_r6);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonMouseLeave());\n })(\"keydown\", function InputNumber_button_4_Template_button_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonKeyDown($event));\n })(\"keyup\", function InputNumber_button_4_Template_button_keyup_0_listener() {\n i0.ɵɵrestoreView(_r6);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onUpButtonKeyUp());\n });\n i0.ɵɵtemplate(1, InputNumber_button_4_span_1_Template, 1, 2, \"span\", 12)(2, InputNumber_button_4_ng_container_2_Template, 3, 2, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵclassMap(ctx_r2.incrementButtonClass);\n i0.ɵɵproperty(\"ngClass\", ctx_r2._incrementButtonClass)(\"disabled\", ctx_r2.disabled);\n i0.ɵɵattribute(\"aria-hidden\", true)(\"data-pc-section\", \"incrementbutton\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.incrementButtonIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.incrementButtonIcon);\n }\n}\nfunction InputNumber_button_5_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 13);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", ctx_r2.decrementButtonIcon);\n i0.ɵɵattribute(\"data-pc-section\", \"decrementbuttonicon\");\n }\n}\nfunction InputNumber_button_5_ng_container_2_AngleDownIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleDownIcon\");\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-section\", \"decrementbuttonicon\");\n }\n}\nfunction InputNumber_button_5_ng_container_2_2_ng_template_0_Template(rf, ctx) {}\nfunction InputNumber_button_5_ng_container_2_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, InputNumber_button_5_ng_container_2_2_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction InputNumber_button_5_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, InputNumber_button_5_ng_container_2_AngleDownIcon_1_Template, 1, 1, \"AngleDownIcon\", 2)(2, InputNumber_button_5_ng_container_2_2_Template, 1, 0, null, 9);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.decrementButtonIconTemplate && !ctx_r2._decrementButtonIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.decrementButtonIconTemplate || ctx_r2._decrementButtonIconTemplate);\n }\n}\nfunction InputNumber_button_5_Template(rf, ctx) {\n if (rf & 1) {\n const _r7 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 11);\n i0.ɵɵlistener(\"mousedown\", function InputNumber_button_5_Template_button_mousedown_0_listener($event) {\n i0.ɵɵrestoreView(_r7);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonMouseDown($event));\n })(\"mouseup\", function InputNumber_button_5_Template_button_mouseup_0_listener() {\n i0.ɵɵrestoreView(_r7);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonMouseUp());\n })(\"mouseleave\", function InputNumber_button_5_Template_button_mouseleave_0_listener() {\n i0.ɵɵrestoreView(_r7);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonMouseLeave());\n })(\"keydown\", function InputNumber_button_5_Template_button_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r7);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonKeyDown($event));\n })(\"keyup\", function InputNumber_button_5_Template_button_keyup_0_listener() {\n i0.ɵɵrestoreView(_r7);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onDownButtonKeyUp());\n });\n i0.ɵɵtemplate(1, InputNumber_button_5_span_1_Template, 1, 2, \"span\", 12)(2, InputNumber_button_5_ng_container_2_Template, 3, 2, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵclassMap(ctx_r2.decrementButtonClass);\n i0.ɵɵproperty(\"ngClass\", ctx_r2._decrementButtonClass)(\"disabled\", ctx_r2.disabled);\n i0.ɵɵattribute(\"aria-hidden\", true)(\"data-pc-section\", \"decrementbutton\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.decrementButtonIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.decrementButtonIcon);\n }\n}\nconst INPUTNUMBER_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InputNumber),\n multi: true\n};\n/**\n * InputNumber is an input component to provide numerical input.\n * @group Components\n */\nlet InputNumber = /*#__PURE__*/(() => {\n class InputNumber extends BaseComponent {\n injector;\n /**\n * Displays spinner buttons.\n * @group Props\n */\n showButtons = false;\n /**\n * Whether to format the value.\n * @group Props\n */\n format = true;\n /**\n * Layout of the buttons, valid values are \"stacked\" (default), \"horizontal\" and \"vertical\".\n * @group Props\n */\n buttonLayout = 'stacked';\n /**\n * Identifier of the focus input to match a label defined for the component.\n * @group Props\n */\n inputId;\n /**\n * Style class of the component.\n * @group Props\n */\n styleClass;\n /**\n * Inline style of the component.\n * @group Props\n */\n style;\n /**\n * Advisory information to display on input.\n * @group Props\n */\n placeholder;\n /**\n * Defines the size of the component.\n * @group Props\n */\n size;\n /**\n * Maximum number of character allows in the input field.\n * @group Props\n */\n maxlength;\n /**\n * Specifies tab order of the element.\n * @group Props\n */\n tabindex;\n /**\n * Title text of the input text.\n * @group Props\n */\n title;\n /**\n * Specifies one or more IDs in the DOM that labels the input field.\n * @group Props\n */\n ariaLabelledBy;\n /**\n * Used to define a string that labels the input element.\n * @group Props\n */\n ariaLabel;\n /**\n * Used to indicate that user input is required on an element before a form can be submitted.\n * @group Props\n */\n ariaRequired;\n /**\n * Name of the input field.\n * @group Props\n */\n name;\n /**\n * Indicates that whether the input field is required.\n * @group Props\n */\n required;\n /**\n * Used to define a string that autocomplete attribute the current element.\n * @group Props\n */\n autocomplete;\n /**\n * Mininum boundary value.\n * @group Props\n */\n min;\n /**\n * Maximum boundary value.\n * @group Props\n */\n max;\n /**\n * Style class of the increment button.\n * @group Props\n */\n incrementButtonClass;\n /**\n * Style class of the decrement button.\n * @group Props\n */\n decrementButtonClass;\n /**\n * Style class of the increment button.\n * @group Props\n */\n incrementButtonIcon;\n /**\n * Style class of the decrement button.\n * @group Props\n */\n decrementButtonIcon;\n /**\n * When present, it specifies that an input field is read-only.\n * @group Props\n */\n readonly = false;\n /**\n * Step factor to increment/decrement the value.\n * @group Props\n */\n step = 1;\n /**\n * Determines whether the input field is empty.\n * @group Props\n */\n allowEmpty = true;\n /**\n * Locale to be used in formatting.\n * @group Props\n */\n locale;\n /**\n * The locale matching algorithm to use. Possible values are \"lookup\" and \"best fit\"; the default is \"best fit\". See Locale Negotiation for details.\n * @group Props\n */\n localeMatcher;\n /**\n * Defines the behavior of the component, valid values are \"decimal\" and \"currency\".\n * @group Props\n */\n mode = 'decimal';\n /**\n * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as \"USD\" for the US dollar, \"EUR\" for the euro, or \"CNY\" for the Chinese RMB. There is no default value; if the style is \"currency\", the currency property must be provided.\n * @group Props\n */\n currency;\n /**\n * How to display the currency in currency formatting. Possible values are \"symbol\" to use a localized currency symbol such as €, ü\"code\" to use the ISO currency code, \"name\" to use a localized currency name such as \"dollar\"; the default is \"symbol\".\n * @group Props\n */\n currencyDisplay;\n /**\n * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators.\n * @group Props\n */\n useGrouping = true;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n variant;\n /**\n * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).\n * @group Props\n */\n minFractionDigits;\n /**\n * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).\n * @group Props\n */\n maxFractionDigits;\n /**\n * Text to display before the value.\n * @group Props\n */\n prefix;\n /**\n * Text to display after the value.\n * @group Props\n */\n suffix;\n /**\n * Inline style of the input field.\n * @group Props\n */\n inputStyle;\n /**\n * Style class of the input field.\n * @group Props\n */\n inputStyleClass;\n /**\n * When enabled, a clear icon is displayed to clear the value.\n * @group Props\n */\n showClear = false;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n autofocus;\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(disabled) {\n if (disabled) this.focused = false;\n this._disabled = disabled;\n if (this.timer) this.clearTimer();\n }\n /**\n * Spans 100% width of the container when enabled.\n * @group Props\n */\n fluid = false;\n /**\n * Callback to invoke on input.\n * @param {InputNumberInputEvent} event - Custom input event.\n * @group Emits\n */\n onInput = new EventEmitter();\n /**\n * Callback to invoke when the component receives focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onFocus = new EventEmitter();\n /**\n * Callback to invoke when the component loses focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onBlur = new EventEmitter();\n /**\n * Callback to invoke on input key press.\n * @param {KeyboardEvent} event - Keyboard event.\n * @group Emits\n */\n onKeyDown = new EventEmitter();\n /**\n * Callback to invoke when clear token is clicked.\n * @group Emits\n */\n onClear = new EventEmitter();\n /**\n * Template of the clear icon.\n * @group Templates\n */\n clearIconTemplate;\n /**\n * Template of the increment button icon.\n * @group Templates\n */\n incrementButtonIconTemplate;\n /**\n * Template of the decrement button icon.\n * @group Templates\n */\n decrementButtonIconTemplate;\n templates;\n input;\n _clearIconTemplate;\n _incrementButtonIconTemplate;\n _decrementButtonIconTemplate;\n value;\n onModelChange = () => {};\n onModelTouched = () => {};\n focused;\n initialized;\n groupChar = '';\n prefixChar = '';\n suffixChar = '';\n isSpecialChar;\n timer;\n lastValue;\n _numeral;\n numberFormat;\n _decimal;\n _decimalChar;\n _group;\n _minusSign;\n _currency;\n _prefix;\n _suffix;\n _index;\n _disabled;\n _componentStyle = inject(InputNumberStyle);\n ngControl = null;\n get _rootClass() {\n return this._componentStyle.classes.root({\n instance: this\n });\n }\n get hasFluid() {\n const nativeElement = this.el.nativeElement;\n const fluidComponent = nativeElement.closest('p-fluid');\n return this.fluid || !!fluidComponent;\n }\n get _incrementButtonClass() {\n return this._componentStyle.classes.incrementButton({\n instance: this\n });\n }\n get _decrementButtonClass() {\n return this._componentStyle.classes.decrementButton({\n instance: this\n });\n }\n constructor(injector) {\n super();\n this.injector = injector;\n }\n ngOnChanges(simpleChange) {\n super.ngOnChanges(simpleChange);\n const props = ['locale', 'localeMatcher', 'mode', 'currency', 'currencyDisplay', 'useGrouping', 'minFractionDigits', 'maxFractionDigits', 'prefix', 'suffix'];\n if (props.some(p => !!simpleChange[p])) {\n this.updateConstructParser();\n }\n }\n get hostClasses() {\n if (typeof this._rootClass === 'string') {\n return this._rootClass;\n }\n if (Array.isArray(this._rootClass)) {\n return this._rootClass.join(' ');\n }\n if (typeof this._rootClass === 'object') {\n return Object.keys(this._rootClass).filter(key => this._rootClass[key]).join(' ');\n }\n return '';\n }\n ngOnInit() {\n super.ngOnInit();\n this.ngControl = this.injector.get(NgControl, null, {\n optional: true\n });\n this.constructParser();\n this.initialized = true;\n }\n ngAfterContentInit() {\n this.templates.forEach(item => {\n switch (item.getType()) {\n case 'clearicon':\n this._clearIconTemplate = item.template;\n break;\n case 'incrementbuttonicon':\n this._incrementButtonIconTemplate = item.template;\n break;\n case 'decrementbuttonicon':\n this._decrementButtonIconTemplate = item.template;\n break;\n }\n });\n }\n getOptions() {\n return {\n localeMatcher: this.localeMatcher,\n style: this.mode,\n currency: this.currency,\n currencyDisplay: this.currencyDisplay,\n useGrouping: this.useGrouping,\n minimumFractionDigits: this.minFractionDigits ?? undefined,\n maximumFractionDigits: this.maxFractionDigits ?? undefined\n };\n }\n constructParser() {\n this.numberFormat = new Intl.NumberFormat(this.locale, this.getOptions());\n const numerals = [...new Intl.NumberFormat(this.locale, {\n useGrouping: false\n }).format(9876543210)].reverse();\n const index = new Map(numerals.map((d, i) => [d, i]));\n this._numeral = new RegExp(`[${numerals.join('')}]`, 'g');\n this._group = this.getGroupingExpression();\n this._minusSign = this.getMinusSignExpression();\n this._currency = this.getCurrencyExpression();\n this._decimal = this.getDecimalExpression();\n this._decimalChar = this.getDecimalChar();\n this._suffix = this.getSuffixExpression();\n this._prefix = this.getPrefixExpression();\n this._index = d => index.get(d);\n }\n updateConstructParser() {\n if (this.initialized) {\n this.constructParser();\n }\n }\n escapeRegExp(text) {\n return text.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, '\\\\$&');\n }\n getDecimalExpression() {\n const decimalChar = this.getDecimalChar();\n return new RegExp(`[${decimalChar}]`, 'g');\n }\n getDecimalChar() {\n const formatter = new Intl.NumberFormat(this.locale, {\n ...this.getOptions(),\n useGrouping: false\n });\n return formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, '');\n }\n getGroupingExpression() {\n const formatter = new Intl.NumberFormat(this.locale, {\n useGrouping: true\n });\n this.groupChar = formatter.format(1000000).trim().replace(this._numeral, '').charAt(0);\n return new RegExp(`[${this.groupChar}]`, 'g');\n }\n getMinusSignExpression() {\n const formatter = new Intl.NumberFormat(this.locale, {\n useGrouping: false\n });\n return new RegExp(`[${formatter.format(-1).trim().replace(this._numeral, '')}]`, 'g');\n }\n getCurrencyExpression() {\n if (this.currency) {\n const formatter = new Intl.NumberFormat(this.locale, {\n style: 'currency',\n currency: this.currency,\n currencyDisplay: this.currencyDisplay,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0\n });\n return new RegExp(`[${formatter.format(1).replace(/\\s/g, '').replace(this._numeral, '').replace(this._group, '')}]`, 'g');\n }\n return new RegExp(`[]`, 'g');\n }\n getPrefixExpression() {\n if (this.prefix) {\n this.prefixChar = this.prefix;\n } else {\n const formatter = new Intl.NumberFormat(this.locale, {\n style: this.mode,\n currency: this.currency,\n currencyDisplay: this.currencyDisplay\n });\n this.prefixChar = formatter.format(1).split('1')[0];\n }\n return new RegExp(`${this.escapeRegExp(this.prefixChar || '')}`, 'g');\n }\n getSuffixExpression() {\n if (this.suffix) {\n this.suffixChar = this.suffix;\n } else {\n const formatter = new Intl.NumberFormat(this.locale, {\n style: this.mode,\n currency: this.currency,\n currencyDisplay: this.currencyDisplay,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0\n });\n this.suffixChar = formatter.format(1).split('1')[1];\n }\n return new RegExp(`${this.escapeRegExp(this.suffixChar || '')}`, 'g');\n }\n formatValue(value) {\n if (value != null) {\n if (value === '-') {\n // Minus sign\n return value;\n }\n if (this.format) {\n let formatter = new Intl.NumberFormat(this.locale, this.getOptions());\n let formattedValue = formatter.format(value);\n if (this.prefix && value != this.prefix) {\n formattedValue = this.prefix + formattedValue;\n }\n if (this.suffix && value != this.suffix) {\n formattedValue = formattedValue + this.suffix;\n }\n return formattedValue;\n }\n return value.toString();\n }\n return '';\n }\n parseValue(text) {\n const suffixRegex = new RegExp(this._suffix, '');\n const prefixRegex = new RegExp(this._prefix, '');\n const currencyRegex = new RegExp(this._currency, '');\n let filteredText = text.replace(suffixRegex, '').replace(prefixRegex, '').trim().replace(/\\s/g, '').replace(currencyRegex, '').replace(this._group, '').replace(this._minusSign, '-').replace(this._decimal, '.').replace(this._numeral, this._index);\n if (filteredText) {\n if (filteredText === '-')\n // Minus sign\n return filteredText;\n let parsedValue = +filteredText;\n return isNaN(parsedValue) ? null : parsedValue;\n }\n return null;\n }\n repeat(event, interval, dir) {\n if (this.readonly) {\n return;\n }\n let i = interval || 500;\n this.clearTimer();\n this.timer = setTimeout(() => {\n this.repeat(event, 40, dir);\n }, i);\n this.spin(event, dir);\n }\n spin(event, dir) {\n let step = this.step * dir;\n let currentValue = this.parseValue(this.input?.nativeElement.value) || 0;\n let newValue = this.validateValue(currentValue + step);\n if (this.maxlength && this.maxlength < this.formatValue(newValue).length) {\n return;\n }\n this.updateInput(newValue, null, 'spin', null);\n this.updateModel(event, newValue);\n this.handleOnInput(event, currentValue, newValue);\n }\n clear() {\n this.value = null;\n this.onModelChange(this.value);\n this.onClear.emit();\n }\n onUpButtonMouseDown(event) {\n if (event.button === 2) {\n this.clearTimer();\n return;\n }\n if (!this.disabled) {\n this.input?.nativeElement.focus();\n this.repeat(event, null, 1);\n event.preventDefault();\n }\n }\n onUpButtonMouseUp() {\n if (!this.disabled) {\n this.clearTimer();\n }\n }\n onUpButtonMouseLeave() {\n if (!this.disabled) {\n this.clearTimer();\n }\n }\n onUpButtonKeyDown(event) {\n if (event.keyCode === 32 || event.keyCode === 13) {\n this.repeat(event, null, 1);\n }\n }\n onUpButtonKeyUp() {\n if (!this.disabled) {\n this.clearTimer();\n }\n }\n onDownButtonMouseDown(event) {\n if (event.button === 2) {\n this.clearTimer();\n return;\n }\n if (!this.disabled) {\n this.input?.nativeElement.focus();\n this.repeat(event, null, -1);\n event.preventDefault();\n }\n }\n onDownButtonMouseUp() {\n if (!this.disabled) {\n this.clearTimer();\n }\n }\n onDownButtonMouseLeave() {\n if (!this.disabled) {\n this.clearTimer();\n }\n }\n onDownButtonKeyUp() {\n if (!this.disabled) {\n this.clearTimer();\n }\n }\n onDownButtonKeyDown(event) {\n if (event.keyCode === 32 || event.keyCode === 13) {\n this.repeat(event, null, -1);\n }\n }\n onUserInput(event) {\n if (this.readonly) {\n return;\n }\n if (this.isSpecialChar) {\n event.target.value = this.lastValue;\n }\n this.isSpecialChar = false;\n }\n onInputKeyDown(event) {\n if (this.readonly) {\n return;\n }\n this.lastValue = event.target.value;\n if (event.shiftKey || event.altKey) {\n this.isSpecialChar = true;\n return;\n }\n let selectionStart = event.target.selectionStart;\n let selectionEnd = event.target.selectionEnd;\n let inputValue = event.target.value;\n let newValueStr = null;\n if (event.altKey) {\n event.preventDefault();\n }\n switch (event.key) {\n case 'ArrowUp':\n this.spin(event, 1);\n event.preventDefault();\n break;\n case 'ArrowDown':\n this.spin(event, -1);\n event.preventDefault();\n break;\n case 'ArrowLeft':\n for (let index = selectionStart; index <= inputValue.length; index++) {\n const previousCharIndex = index === 0 ? 0 : index - 1;\n if (this.isNumeralChar(inputValue.charAt(previousCharIndex))) {\n this.input.nativeElement.setSelectionRange(index, index);\n break;\n }\n }\n break;\n case 'ArrowRight':\n for (let index = selectionEnd; index >= 0; index--) {\n if (this.isNumeralChar(inputValue.charAt(index))) {\n this.input.nativeElement.setSelectionRange(index, index);\n break;\n }\n }\n break;\n case 'Tab':\n case 'Enter':\n newValueStr = this.validateValue(this.parseValue(this.input.nativeElement.value));\n this.input.nativeElement.value = this.formatValue(newValueStr);\n this.input.nativeElement.setAttribute('aria-valuenow', newValueStr);\n this.updateModel(event, newValueStr);\n break;\n case 'Backspace':\n {\n event.preventDefault();\n if (selectionStart === selectionEnd) {\n if (selectionStart == 1 && this.prefix || selectionStart == inputValue.length && this.suffix) {\n break;\n }\n const deleteChar = inputValue.charAt(selectionStart - 1);\n const {\n decimalCharIndex,\n decimalCharIndexWithoutPrefix\n } = this.getDecimalCharIndexes(inputValue);\n if (this.isNumeralChar(deleteChar)) {\n const decimalLength = this.getDecimalLength(inputValue);\n if (this._group.test(deleteChar)) {\n this._group.lastIndex = 0;\n newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);\n } else if (this._decimal.test(deleteChar)) {\n this._decimal.lastIndex = 0;\n if (decimalLength) {\n this.input?.nativeElement.setSelectionRange(selectionStart - 1, selectionStart - 1);\n } else {\n newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);\n }\n } else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {\n const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';\n newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);\n } else if (decimalCharIndexWithoutPrefix === 1) {\n newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);\n newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';\n } else {\n newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);\n }\n } else if (this.mode === 'currency' && deleteChar.search(this._currency) != -1) {\n newValueStr = inputValue.slice(1);\n }\n this.updateValue(event, newValueStr, null, 'delete-single');\n } else {\n newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);\n this.updateValue(event, newValueStr, null, 'delete-range');\n }\n break;\n }\n case 'Delete':\n event.preventDefault();\n if (selectionStart === selectionEnd) {\n if (selectionStart == 0 && this.prefix || selectionStart == inputValue.length - 1 && this.suffix) {\n break;\n }\n const deleteChar = inputValue.charAt(selectionStart);\n const {\n decimalCharIndex,\n decimalCharIndexWithoutPrefix\n } = this.getDecimalCharIndexes(inputValue);\n if (this.isNumeralChar(deleteChar)) {\n const decimalLength = this.getDecimalLength(inputValue);\n if (this._group.test(deleteChar)) {\n this._group.lastIndex = 0;\n newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);\n } else if (this._decimal.test(deleteChar)) {\n this._decimal.lastIndex = 0;\n if (decimalLength) {\n this.input?.nativeElement.setSelectionRange(selectionStart + 1, selectionStart + 1);\n } else {\n newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);\n }\n } else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {\n const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';\n newValueStr = inputValue.slice(0, selectionStart) + insertedText + inputValue.slice(selectionStart + 1);\n } else if (decimalCharIndexWithoutPrefix === 1) {\n newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);\n newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';\n } else {\n newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);\n }\n }\n this.updateValue(event, newValueStr, null, 'delete-back-single');\n } else {\n newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);\n this.updateValue(event, newValueStr, null, 'delete-range');\n }\n break;\n case 'Home':\n if (this.min) {\n this.updateModel(event, this.min);\n event.preventDefault();\n }\n break;\n case 'End':\n if (this.max) {\n this.updateModel(event, this.max);\n event.preventDefault();\n }\n break;\n default:\n break;\n }\n this.onKeyDown.emit(event);\n }\n onInputKeyPress(event) {\n if (this.readonly) {\n return;\n }\n let code = event.which || event.keyCode;\n let char = String.fromCharCode(code);\n let isDecimalSign = this.isDecimalSign(char);\n const isMinusSign = this.isMinusSign(char);\n if (code != 13) {\n event.preventDefault();\n }\n if (!isDecimalSign && event.code === 'NumpadDecimal') {\n isDecimalSign = true;\n char = this._decimalChar;\n code = char.charCodeAt(0);\n }\n const {\n value,\n selectionStart,\n selectionEnd\n } = this.input.nativeElement;\n const newValue = this.parseValue(value + char);\n const newValueStr = newValue != null ? newValue.toString() : '';\n const selectedValue = value.substring(selectionStart, selectionEnd);\n const selectedValueParsed = this.parseValue(selectedValue);\n const selectedValueStr = selectedValueParsed != null ? selectedValueParsed.toString() : '';\n if (selectionStart !== selectionEnd && selectedValueStr.length > 0) {\n this.insert(event, char, {\n isDecimalSign,\n isMinusSign\n });\n return;\n }\n if (this.maxlength && newValueStr.length > this.maxlength) {\n return;\n }\n if (48 <= code && code <= 57 || isMinusSign || isDecimalSign) {\n this.insert(event, char, {\n isDecimalSign,\n isMinusSign\n });\n }\n }\n onPaste(event) {\n if (!this.disabled && !this.readonly) {\n event.preventDefault();\n let data = (event.clipboardData || this.document.defaultView['clipboardData']).getData('Text');\n if (data) {\n if (this.maxlength) {\n data = data.toString().substring(0, this.maxlength);\n }\n let filteredData = this.parseValue(data);\n if (filteredData != null) {\n this.insert(event, filteredData.toString());\n }\n }\n }\n }\n allowMinusSign() {\n return this.min == null || this.min < 0;\n }\n isMinusSign(char) {\n if (this._minusSign.test(char) || char === '-') {\n this._minusSign.lastIndex = 0;\n return true;\n }\n return false;\n }\n isDecimalSign(char) {\n if (this._decimal.test(char)) {\n this._decimal.lastIndex = 0;\n return true;\n }\n return false;\n }\n isDecimalMode() {\n return this.mode === 'decimal';\n }\n getDecimalCharIndexes(val) {\n let decimalCharIndex = val.search(this._decimal);\n this._decimal.lastIndex = 0;\n const filteredVal = val.replace(this._prefix, '').trim().replace(/\\s/g, '').replace(this._currency, '');\n const decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);\n this._decimal.lastIndex = 0;\n return {\n decimalCharIndex,\n decimalCharIndexWithoutPrefix\n };\n }\n getCharIndexes(val) {\n const decimalCharIndex = val.search(this._decimal);\n this._decimal.lastIndex = 0;\n const minusCharIndex = val.search(this._minusSign);\n this._minusSign.lastIndex = 0;\n const suffixCharIndex = val.search(this._suffix);\n this._suffix.lastIndex = 0;\n const currencyCharIndex = val.search(this._currency);\n this._currency.lastIndex = 0;\n return {\n decimalCharIndex,\n minusCharIndex,\n suffixCharIndex,\n currencyCharIndex\n };\n }\n insert(event, text, sign = {\n isDecimalSign: false,\n isMinusSign: false\n }) {\n const minusCharIndexOnText = text.search(this._minusSign);\n this._minusSign.lastIndex = 0;\n if (!this.allowMinusSign() && minusCharIndexOnText !== -1) {\n return;\n }\n let selectionStart = this.input?.nativeElement.selectionStart;\n let selectionEnd = this.input?.nativeElement.selectionEnd;\n let inputValue = this.input?.nativeElement.value.trim();\n const {\n decimalCharIndex,\n minusCharIndex,\n suffixCharIndex,\n currencyCharIndex\n } = this.getCharIndexes(inputValue);\n let newValueStr;\n if (sign.isMinusSign) {\n if (selectionStart === 0) {\n newValueStr = inputValue;\n if (minusCharIndex === -1 || selectionEnd !== 0) {\n newValueStr = this.insertText(inputValue, text, 0, selectionEnd);\n }\n this.updateValue(event, newValueStr, text, 'insert');\n }\n } else if (sign.isDecimalSign) {\n if (decimalCharIndex > 0 && selectionStart === decimalCharIndex) {\n this.updateValue(event, inputValue, text, 'insert');\n } else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {\n newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);\n this.updateValue(event, newValueStr, text, 'insert');\n } else if (decimalCharIndex === -1 && this.maxFractionDigits) {\n newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);\n this.updateValue(event, newValueStr, text, 'insert');\n }\n } else {\n const maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;\n const operation = selectionStart !== selectionEnd ? 'range-insert' : 'insert';\n if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {\n if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {\n const charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;\n newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);\n this.updateValue(event, newValueStr, text, operation);\n }\n } else {\n newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);\n this.updateValue(event, newValueStr, text, operation);\n }\n }\n }\n insertText(value, text, start, end) {\n let textSplit = text === '.' ? text : text.split('.');\n if (textSplit.length === 2) {\n const decimalCharIndex = value.slice(start, end).search(this._decimal);\n this._decimal.lastIndex = 0;\n return decimalCharIndex > 0 ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : value || this.formatValue(text);\n } else if (end - start === value.length) {\n return this.formatValue(text);\n } else if (start === 0) {\n return text + value.slice(end);\n } else if (end === value.length) {\n return value.slice(0, start) + text;\n } else {\n return value.slice(0, start) + text + value.slice(end);\n }\n }\n deleteRange(value, start, end) {\n let newValueStr;\n if (end - start === value.length) newValueStr = '';else if (start === 0) newValueStr = value.slice(end);else if (end === value.length) newValueStr = value.slice(0, start);else newValueStr = value.slice(0, start) + value.slice(end);\n return newValueStr;\n }\n initCursor() {\n let selectionStart = this.input?.nativeElement.selectionStart;\n let selectionEnd = this.input?.nativeElement.selectionEnd;\n let inputValue = this.input?.nativeElement.value;\n let valueLength = inputValue.length;\n let index = null;\n // remove prefix\n let prefixLength = (this.prefixChar || '').length;\n inputValue = inputValue.replace(this._prefix, '');\n // Will allow selecting whole prefix. But not a part of it.\n // Negative values will trigger clauses after this to fix the cursor position.\n if (selectionStart === selectionEnd || selectionStart !== 0 || selectionEnd < prefixLength) {\n selectionStart -= prefixLength;\n }\n let char = inputValue.charAt(selectionStart);\n if (this.isNumeralChar(char)) {\n return selectionStart + prefixLength;\n }\n //left\n let i = selectionStart - 1;\n while (i >= 0) {\n char = inputValue.charAt(i);\n if (this.isNumeralChar(char)) {\n index = i + prefixLength;\n break;\n } else {\n i--;\n }\n }\n if (index !== null) {\n this.input?.nativeElement.setSelectionRange(index + 1, index + 1);\n } else {\n i = selectionStart;\n while (i < valueLength) {\n char = inputValue.charAt(i);\n if (this.isNumeralChar(char)) {\n index = i + prefixLength;\n break;\n } else {\n i++;\n }\n }\n if (index !== null) {\n this.input?.nativeElement.setSelectionRange(index, index);\n }\n }\n return index || 0;\n }\n onInputClick() {\n const currentValue = this.input?.nativeElement.value;\n if (!this.readonly && currentValue !== getSelection()) {\n this.initCursor();\n }\n }\n isNumeralChar(char) {\n if (char.length === 1 && (this._numeral.test(char) || this._decimal.test(char) || this._group.test(char) || this._minusSign.test(char))) {\n this.resetRegex();\n return true;\n }\n return false;\n }\n resetRegex() {\n this._numeral.lastIndex = 0;\n this._decimal.lastIndex = 0;\n this._group.lastIndex = 0;\n this._minusSign.lastIndex = 0;\n }\n updateValue(event, valueStr, insertedValueStr, operation) {\n let currentValue = this.input?.nativeElement.value;\n let newValue = null;\n if (valueStr != null) {\n newValue = this.parseValue(valueStr);\n newValue = !newValue && !this.allowEmpty ? 0 : newValue;\n this.updateInput(newValue, insertedValueStr, operation, valueStr);\n this.handleOnInput(event, currentValue, newValue);\n }\n }\n handleOnInput(event, currentValue, newValue) {\n if (this.isValueChanged(currentValue, newValue)) {\n this.input.nativeElement.value = this.formatValue(newValue);\n this.input?.nativeElement.setAttribute('aria-valuenow', newValue);\n this.updateModel(event, newValue);\n this.onInput.emit({\n originalEvent: event,\n value: newValue,\n formattedValue: currentValue\n });\n }\n }\n isValueChanged(currentValue, newValue) {\n if (newValue === null && currentValue !== null) {\n return true;\n }\n if (newValue != null) {\n let parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;\n return newValue !== parsedCurrentValue;\n }\n return false;\n }\n validateValue(value) {\n if (value === '-' || value == null) {\n return null;\n }\n if (this.min != null && value < this.min) {\n return this.min;\n }\n if (this.max != null && value > this.max) {\n return this.max;\n }\n return value;\n }\n updateInput(value, insertedValueStr, operation, valueStr) {\n insertedValueStr = insertedValueStr || '';\n let inputValue = this.input?.nativeElement.value;\n let newValue = this.formatValue(value);\n let currentLength = inputValue.length;\n if (newValue !== valueStr) {\n newValue = this.concatValues(newValue, valueStr);\n }\n if (currentLength === 0) {\n this.input.nativeElement.value = newValue;\n this.input.nativeElement.setSelectionRange(0, 0);\n const index = this.initCursor();\n const selectionEnd = index + insertedValueStr.length;\n this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);\n } else {\n let selectionStart = this.input.nativeElement.selectionStart;\n let selectionEnd = this.input.nativeElement.selectionEnd;\n if (this.maxlength && newValue.length > this.maxlength) {\n newValue = newValue.slice(0, this.maxlength);\n selectionStart = Math.min(selectionStart, this.maxlength);\n selectionEnd = Math.min(selectionEnd, this.maxlength);\n }\n if (this.maxlength && this.maxlength < newValue.length) {\n return;\n }\n this.input.nativeElement.value = newValue;\n let newLength = newValue.length;\n if (operation === 'range-insert') {\n const startValue = this.parseValue((inputValue || '').slice(0, selectionStart));\n const startValueStr = startValue !== null ? startValue.toString() : '';\n const startExpr = startValueStr.split('').join(`(${this.groupChar})?`);\n const sRegex = new RegExp(startExpr, 'g');\n sRegex.test(newValue);\n const tExpr = insertedValueStr.split('').join(`(${this.groupChar})?`);\n const tRegex = new RegExp(tExpr, 'g');\n tRegex.test(newValue.slice(sRegex.lastIndex));\n selectionEnd = sRegex.lastIndex + tRegex.lastIndex;\n this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);\n } else if (newLength === currentLength) {\n if (operation === 'insert' || operation === 'delete-back-single') this.input.nativeElement.setSelectionRange(selectionEnd + 1, selectionEnd + 1);else if (operation === 'delete-single') this.input.nativeElement.setSelectionRange(selectionEnd - 1, selectionEnd - 1);else if (operation === 'delete-range' || operation === 'spin') this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);\n } else if (operation === 'delete-back-single') {\n let prevChar = inputValue.charAt(selectionEnd - 1);\n let nextChar = inputValue.charAt(selectionEnd);\n let diff = currentLength - newLength;\n let isGroupChar = this._group.test(nextChar);\n if (isGroupChar && diff === 1) {\n selectionEnd += 1;\n } else if (!isGroupChar && this.isNumeralChar(prevChar)) {\n selectionEnd += -1 * diff + 1;\n }\n this._group.lastIndex = 0;\n this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);\n } else if (inputValue === '-' && operation === 'insert') {\n this.input.nativeElement.setSelectionRange(0, 0);\n const index = this.initCursor();\n const selectionEnd = index + insertedValueStr.length + 1;\n this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);\n } else {\n selectionEnd = selectionEnd + (newLength - currentLength);\n this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);\n }\n }\n this.input.nativeElement.setAttribute('aria-valuenow', value);\n }\n concatValues(val1, val2) {\n if (val1 && val2) {\n let decimalCharIndex = val2.search(this._decimal);\n this._decimal.lastIndex = 0;\n if (this.suffixChar) {\n return decimalCharIndex !== -1 ? val1 : val1.replace(this.suffixChar, '').split(this._decimal)[0] + val2.replace(this.suffixChar, '').slice(decimalCharIndex) + this.suffixChar;\n } else {\n return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;\n }\n }\n return val1;\n }\n getDecimalLength(value) {\n if (value) {\n const valueSplit = value.split(this._decimal);\n if (valueSplit.length === 2) {\n return valueSplit[1].replace(this._suffix, '').trim().replace(/\\s/g, '').replace(this._currency, '').length;\n }\n }\n return 0;\n }\n onInputFocus(event) {\n this.focused = true;\n this.onFocus.emit(event);\n }\n onInputBlur(event) {\n this.focused = false;\n const newValueNumber = this.validateValue(this.parseValue(this.input.nativeElement.value));\n const newValueString = newValueNumber?.toString();\n this.input.nativeElement.value = this.formatValue(newValueString);\n this.input.nativeElement.setAttribute('aria-valuenow', newValueString);\n this.updateModel(event, newValueNumber);\n this.onBlur.emit(event);\n }\n formattedValue() {\n const val = !this.value && !this.allowEmpty ? 0 : this.value;\n return this.formatValue(val);\n }\n updateModel(event, value) {\n const isBlurUpdateOnMode = this.ngControl?.control?.updateOn === 'blur';\n if (this.value !== value) {\n this.value = value;\n if (!(isBlurUpdateOnMode && this.focused)) {\n this.onModelChange(value);\n }\n } else if (isBlurUpdateOnMode) {\n this.onModelChange(value);\n }\n this.onModelTouched();\n }\n writeValue(value) {\n this.value = value ? Number(value) : value;\n this.cd.markForCheck();\n }\n registerOnChange(fn) {\n this.onModelChange = fn;\n }\n registerOnTouched(fn) {\n this.onModelTouched = fn;\n }\n setDisabledState(val) {\n this.disabled = val;\n this.cd.markForCheck();\n }\n get filled() {\n return this.value != null && this.value.toString().length > 0;\n }\n clearTimer() {\n if (this.timer) {\n clearInterval(this.timer);\n }\n }\n static ɵfac = function InputNumber_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InputNumber)(i0.ɵɵdirectiveInject(i0.Injector));\n };\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: InputNumber,\n selectors: [[\"p-inputNumber\"], [\"p-inputnumber\"], [\"p-input-number\"]],\n contentQueries: function InputNumber_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, _c1, 4);\n i0.ɵɵcontentQuery(dirIndex, _c2, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementButtonIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementButtonIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function InputNumber_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c3, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.input = _t.first);\n }\n },\n hostVars: 4,\n hostBindings: function InputNumber_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-name\", \"inputnumber\")(\"data-pc-section\", \"root\");\n i0.ɵɵclassMap(ctx.hostClasses);\n }\n },\n inputs: {\n showButtons: [2, \"showButtons\", \"showButtons\", booleanAttribute],\n format: [2, \"format\", \"format\", booleanAttribute],\n buttonLayout: \"buttonLayout\",\n inputId: \"inputId\",\n styleClass: \"styleClass\",\n style: \"style\",\n placeholder: \"placeholder\",\n size: \"size\",\n maxlength: [2, \"maxlength\", \"maxlength\", numberAttribute],\n tabindex: [2, \"tabindex\", \"tabindex\", numberAttribute],\n title: \"title\",\n ariaLabelledBy: \"ariaLabelledBy\",\n ariaLabel: \"ariaLabel\",\n ariaRequired: [2, \"ariaRequired\", \"ariaRequired\", booleanAttribute],\n name: \"name\",\n required: [2, \"required\", \"required\", booleanAttribute],\n autocomplete: \"autocomplete\",\n min: [2, \"min\", \"min\", numberAttribute],\n max: [2, \"max\", \"max\", numberAttribute],\n incrementButtonClass: \"incrementButtonClass\",\n decrementButtonClass: \"decrementButtonClass\",\n incrementButtonIcon: \"incrementButtonIcon\",\n decrementButtonIcon: \"decrementButtonIcon\",\n readonly: [2, \"readonly\", \"readonly\", booleanAttribute],\n step: [2, \"step\", \"step\", numberAttribute],\n allowEmpty: [2, \"allowEmpty\", \"allowEmpty\", booleanAttribute],\n locale: \"locale\",\n localeMatcher: \"localeMatcher\",\n mode: \"mode\",\n currency: \"currency\",\n currencyDisplay: \"currencyDisplay\",\n useGrouping: [2, \"useGrouping\", \"useGrouping\", booleanAttribute],\n variant: \"variant\",\n minFractionDigits: [2, \"minFractionDigits\", \"minFractionDigits\", value => numberAttribute(value, null)],\n maxFractionDigits: [2, \"maxFractionDigits\", \"maxFractionDigits\", value => numberAttribute(value, null)],\n prefix: \"prefix\",\n suffix: \"suffix\",\n inputStyle: \"inputStyle\",\n inputStyleClass: \"inputStyleClass\",\n showClear: [2, \"showClear\", \"showClear\", booleanAttribute],\n autofocus: [2, \"autofocus\", \"autofocus\", booleanAttribute],\n disabled: \"disabled\",\n fluid: [2, \"fluid\", \"fluid\", booleanAttribute]\n },\n outputs: {\n onInput: \"onInput\",\n onFocus: \"onFocus\",\n onBlur: \"onBlur\",\n onKeyDown: \"onKeyDown\",\n onClear: \"onClear\"\n },\n features: [i0.ɵɵProvidersFeature([INPUTNUMBER_VALUE_ACCESSOR, InputNumberStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 6,\n vars: 32,\n consts: [[\"input\", \"\"], [\"pInputText\", \"\", \"role\", \"spinbutton\", \"inputmode\", \"decimal\", 3, \"input\", \"keydown\", \"keypress\", \"paste\", \"click\", \"focus\", \"blur\", \"ngClass\", \"ngStyle\", \"value\", \"variant\", \"disabled\", \"readonly\", \"pSize\", \"pAutoFocus\", \"fluid\"], [4, \"ngIf\"], [\"class\", \"p-inputnumber-button-group\", 4, \"ngIf\"], [\"type\", \"button\", \"tabindex\", \"-1\", 3, \"ngClass\", \"class\", \"disabled\", \"mousedown\", \"mouseup\", \"mouseleave\", \"keydown\", \"keyup\", 4, \"ngIf\"], [3, \"ngClass\", \"click\", 4, \"ngIf\"], [\"class\", \"p-inputnumber-clear-icon\", 3, \"click\", 4, \"ngIf\"], [3, \"click\", \"ngClass\"], [1, \"p-inputnumber-clear-icon\", 3, \"click\"], [4, \"ngTemplateOutlet\"], [1, \"p-inputnumber-button-group\"], [\"type\", \"button\", \"tabindex\", \"-1\", 3, \"mousedown\", \"mouseup\", \"mouseleave\", \"keydown\", \"keyup\", \"ngClass\", \"disabled\"], [3, \"ngClass\", 4, \"ngIf\"], [3, \"ngClass\"]],\n template: function InputNumber_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"input\", 1, 0);\n i0.ɵɵlistener(\"input\", function InputNumber_Template_input_input_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onUserInput($event));\n })(\"keydown\", function InputNumber_Template_input_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputKeyDown($event));\n })(\"keypress\", function InputNumber_Template_input_keypress_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputKeyPress($event));\n })(\"paste\", function InputNumber_Template_input_paste_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onPaste($event));\n })(\"click\", function InputNumber_Template_input_click_0_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputClick());\n })(\"focus\", function InputNumber_Template_input_focus_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputFocus($event));\n })(\"blur\", function InputNumber_Template_input_blur_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onInputBlur($event));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(2, InputNumber_ng_container_2_Template, 3, 2, \"ng-container\", 2)(3, InputNumber_span_3_Template, 7, 17, \"span\", 3)(4, InputNumber_button_4_Template, 3, 8, \"button\", 4)(5, InputNumber_button_5_Template, 3, 8, \"button\", 4);\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.inputStyleClass);\n i0.ɵɵproperty(\"ngClass\", \"p-inputnumber-input\")(\"ngStyle\", ctx.inputStyle)(\"value\", ctx.formattedValue())(\"variant\", ctx.variant)(\"disabled\", ctx.disabled)(\"readonly\", ctx.readonly)(\"pSize\", ctx.size)(\"pAutoFocus\", ctx.autofocus)(\"fluid\", ctx.hasFluid);\n i0.ɵɵattribute(\"id\", ctx.inputId)(\"aria-valuemin\", ctx.min)(\"aria-valuemax\", ctx.max)(\"aria-valuenow\", ctx.value)(\"placeholder\", ctx.placeholder)(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledBy)(\"title\", ctx.title)(\"name\", ctx.name)(\"autocomplete\", ctx.autocomplete)(\"maxlength\", ctx.maxlength)(\"tabindex\", ctx.tabindex)(\"aria-required\", ctx.ariaRequired)(\"required\", ctx.required)(\"min\", ctx.min)(\"max\", ctx.max)(\"data-pc-section\", \"input\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx.buttonLayout != \"vertical\" && ctx.showClear && ctx.value);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.showButtons && ctx.buttonLayout === \"stacked\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.showButtons && ctx.buttonLayout !== \"stacked\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.showButtons && ctx.buttonLayout !== \"stacked\");\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, InputText, AutoFocus, TimesIcon, AngleUpIcon, AngleDownIcon, SharedModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return InputNumber;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet InputNumberModule = /*#__PURE__*/(() => {\n class InputNumberModule {\n static ɵfac = function InputNumberModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InputNumberModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: InputNumberModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [InputNumber, SharedModule, SharedModule]\n });\n }\n return InputNumberModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(InputNumberModule, {\n imports: [InputNumber, SharedModule],\n exports: [InputNumber, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { INPUTNUMBER_VALUE_ACCESSOR, InputNumber, InputNumberClasses, InputNumberModule, InputNumberStyle };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-iconfield {\n position: relative;\n display: block;\n}\n\n.p-inputicon {\n position: absolute;\n top: 50%;\n margin-top: calc(-1 * (${dt('icon.size')} / 2));\n color: ${dt('iconfield.icon.color')};\n line-height: 1;\n}\n\n.p-iconfield .p-inputicon:first-child {\n inset-inline-start: ${dt('form.field.padding.x')};\n}\n\n.p-iconfield .p-inputicon:last-child {\n inset-inline-end: ${dt('form.field.padding.x')};\n}\n\n.p-iconfield .p-inputtext:not(:first-child) {\n padding-inline-start: calc((${dt('form.field.padding.x')} * 2) + ${dt('icon.size')});\n}\n\n.p-iconfield .p-inputtext:not(:last-child) {\n padding-inline-end: calc((${dt('form.field.padding.x')} * 2) + ${dt('icon.size')});\n}\n\n.p-iconfield:has(.p-inputfield-sm) .p-inputicon {\n font-size: ${dt('form.field.sm.font.size')};\n width: ${dt('form.field.sm.font.size')};\n height: ${dt('form.field.sm.font.size')};\n margin-top: calc(-1 * (${dt('form.field.sm.font.size')} / 2));\n}\n\n.p-iconfield:has(.p-inputfield-lg) .p-inputicon {\n font-size: ${dt('form.field.lg.font.size')};\n width: ${dt('form.field.lg.font.size')};\n height: ${dt('form.field.lg.font.size')};\n margin-top: calc(-1 * (${dt('form.field.lg.font.size')} / 2));\n}\n`;\nconst classes = {\n root: 'p-iconfield'\n};\nlet IconFieldStyle = /*#__PURE__*/(() => {\n class IconFieldStyle extends BaseStyle {\n name = 'iconfield';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵIconFieldStyle_BaseFactory;\n return function IconFieldStyle_Factory(__ngFactoryType__) {\n return (ɵIconFieldStyle_BaseFactory || (ɵIconFieldStyle_BaseFactory = i0.ɵɵgetInheritedFactory(IconFieldStyle)))(__ngFactoryType__ || IconFieldStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: IconFieldStyle,\n factory: IconFieldStyle.ɵfac\n });\n }\n return IconFieldStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * IconField wraps an input and an icon.\n *\n * [Live Demo](https://www.primeng.org/iconfield/)\n *\n * @module iconfieldstyle\n *\n */\nvar IconFieldClasses = /*#__PURE__*/function (IconFieldClasses) {\n /**\n * Class name of the root element\n */\n IconFieldClasses[\"root\"] = \"p-iconfield\";\n return IconFieldClasses;\n}(IconFieldClasses || {});\nconst _c0 = [\"*\"];\n/**\n * IconField wraps an input and an icon.\n * @group Components\n */\nlet IconField = /*#__PURE__*/(() => {\n class IconField extends BaseComponent {\n /**\n * Position of the icon.\n * @group Props\n */\n iconPosition = 'left';\n get _styleClass() {\n return this.styleClass;\n }\n /**\n * Style class of the component.\n * @group Props\n */\n styleClass;\n _componentStyle = inject(IconFieldStyle);\n static ɵfac = /*@__PURE__*/(() => {\n let ɵIconField_BaseFactory;\n return function IconField_Factory(__ngFactoryType__) {\n return (ɵIconField_BaseFactory || (ɵIconField_BaseFactory = i0.ɵɵgetInheritedFactory(IconField)))(__ngFactoryType__ || IconField);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: IconField,\n selectors: [[\"p-iconfield\"], [\"p-iconField\"], [\"p-icon-field\"]],\n hostAttrs: [1, \"p-iconfield\"],\n hostVars: 6,\n hostBindings: function IconField_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassMap(ctx._styleClass);\n i0.ɵɵclassProp(\"p-iconfield-left\", ctx.iconPosition === \"left\")(\"p-iconfield-right\", ctx.iconPosition === \"right\");\n }\n },\n inputs: {\n iconPosition: \"iconPosition\",\n styleClass: \"styleClass\"\n },\n features: [i0.ɵɵProvidersFeature([IconFieldStyle]), i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function IconField_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 IconField;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet IconFieldModule = /*#__PURE__*/(() => {\n class IconFieldModule {\n static ɵfac = function IconFieldModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || IconFieldModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: IconFieldModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [IconField]\n });\n }\n return IconFieldModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(IconFieldModule, {\n imports: [IconField],\n exports: [IconField]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { IconField, IconFieldClasses, IconFieldModule, IconFieldStyle };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';\nimport { SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { BaseStyle } from 'primeng/base';\nconst classes = {\n root: 'p-inputicon'\n};\nlet InputIconStyle = /*#__PURE__*/(() => {\n class InputIconStyle extends BaseStyle {\n name = 'inputicon';\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵInputIconStyle_BaseFactory;\n return function InputIconStyle_Factory(__ngFactoryType__) {\n return (ɵInputIconStyle_BaseFactory || (ɵInputIconStyle_BaseFactory = i0.ɵɵgetInheritedFactory(InputIconStyle)))(__ngFactoryType__ || InputIconStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: InputIconStyle,\n factory: InputIconStyle.ɵfac\n });\n }\n return InputIconStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst _c0 = [\"*\"];\n/**\n * InputIcon displays an icon.\n * @group Components\n */\nlet InputIcon = /*#__PURE__*/(() => {\n class InputIcon extends BaseComponent {\n /**\n * Style class of the element.\n * @group Props\n */\n styleClass;\n get hostClasses() {\n return this.styleClass;\n }\n _componentStyle = inject(InputIconStyle);\n static ɵfac = /*@__PURE__*/(() => {\n let ɵInputIcon_BaseFactory;\n return function InputIcon_Factory(__ngFactoryType__) {\n return (ɵInputIcon_BaseFactory || (ɵInputIcon_BaseFactory = i0.ɵɵgetInheritedFactory(InputIcon)))(__ngFactoryType__ || InputIcon);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: InputIcon,\n selectors: [[\"p-inputicon\"], [\"p-inputIcon\"]],\n hostVars: 4,\n hostBindings: function InputIcon_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.hostClasses);\n i0.ɵɵclassProp(\"p-inputicon\", true);\n }\n },\n inputs: {\n styleClass: \"styleClass\"\n },\n features: [i0.ɵɵProvidersFeature([InputIconStyle]), i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function InputIcon_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 InputIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet InputIconModule = /*#__PURE__*/(() => {\n class InputIconModule {\n static ɵfac = function InputIconModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InputIconModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: InputIconModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [InputIcon, SharedModule, SharedModule]\n });\n }\n return InputIconModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(InputIconModule, {\n imports: [InputIcon, SharedModule],\n exports: [InputIcon, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { InputIcon, InputIconModule, InputIconStyle };\n","import { animation, style, animate, trigger, transition, useAnimation } from '@angular/animations';\nimport * as i2 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport { getTargetElement, focus, addClass, removeClass, isTouchDevice } from '@primeuix/utils';\nimport * as i1 from 'primeng/api';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { DomHandler, ConnectedOverlayScrollHandler } from 'primeng/dom';\nimport { ObjectUtils, ZIndexUtils } from 'primeng/utils';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-overlay {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n}\n\n.p-overlay-modal {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-overlay-content {\n transform-origin: inherit;\n}\n\n.p-overlay-modal > .p-overlay-content {\n z-index: 1;\n width: 90%;\n}\n\n/* Position */\n/* top */\n.p-overlay-top {\n align-items: flex-start;\n}\n.p-overlay-top-start {\n align-items: flex-start;\n justify-content: flex-start;\n}\n.p-overlay-top-end {\n align-items: flex-start;\n justify-content: flex-end;\n}\n\n/* bottom */\n.p-overlay-bottom {\n align-items: flex-end;\n}\n.p-overlay-bottom-start {\n align-items: flex-end;\n justify-content: flex-start;\n}\n.p-overlay-bottom-end {\n align-items: flex-end;\n justify-content: flex-end;\n}\n\n/* left */\n.p-overlay-left {\n justify-content: flex-start;\n}\n.p-overlay-left-start {\n justify-content: flex-start;\n align-items: flex-start;\n}\n.p-overlay-left-end {\n justify-content: flex-start;\n align-items: flex-end;\n}\n\n/* right */\n.p-overlay-right {\n justify-content: flex-end;\n}\n.p-overlay-right-start {\n justify-content: flex-end;\n align-items: flex-start;\n}\n.p-overlay-right-end {\n justify-content: flex-end;\n align-items: flex-end;\n}\n`;\nlet OverlayStyle = /*#__PURE__*/(() => {\n class OverlayStyle extends BaseStyle {\n name = 'overlay';\n theme = theme;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵOverlayStyle_BaseFactory;\n return function OverlayStyle_Factory(__ngFactoryType__) {\n return (ɵOverlayStyle_BaseFactory || (ɵOverlayStyle_BaseFactory = i0.ɵɵgetInheritedFactory(OverlayStyle)))(__ngFactoryType__ || OverlayStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: OverlayStyle,\n factory: OverlayStyle.ɵfac\n });\n }\n return OverlayStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst _c0 = [\"content\"];\nconst _c1 = [\"overlay\"];\nconst _c2 = [\"*\"];\nconst _c3 = (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) => ({\n \"p-overlay p-component\": true,\n \"p-overlay-modal p-overlay-mask p-overlay-mask-enter\": a0,\n \"p-overlay-center\": a1,\n \"p-overlay-top\": a2,\n \"p-overlay-top-start\": a3,\n \"p-overlay-top-end\": a4,\n \"p-overlay-bottom\": a5,\n \"p-overlay-bottom-start\": a6,\n \"p-overlay-bottom-end\": a7,\n \"p-overlay-left\": a8,\n \"p-overlay-left-start\": a9,\n \"p-overlay-left-end\": a10,\n \"p-overlay-right\": a11,\n \"p-overlay-right-start\": a12,\n \"p-overlay-right-end\": a13\n});\nconst _c4 = (a0, a1, a2) => ({\n showTransitionParams: a0,\n hideTransitionParams: a1,\n transform: a2\n});\nconst _c5 = a0 => ({\n value: \"visible\",\n params: a0\n});\nconst _c6 = a0 => ({\n mode: a0\n});\nconst _c7 = a0 => ({\n $implicit: a0\n});\nfunction Overlay_div_0_div_2_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Overlay_div_0_div_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 3, 1);\n i0.ɵɵlistener(\"click\", function Overlay_div_0_div_2_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onOverlayContentClick($event));\n })(\"@overlayContentAnimation.start\", function Overlay_div_0_div_2_Template_div_animation_overlayContentAnimation_start_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onOverlayContentAnimationStart($event));\n })(\"@overlayContentAnimation.done\", function Overlay_div_0_div_2_Template_div_animation_overlayContentAnimation_done_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onOverlayContentAnimationDone($event));\n });\n i0.ɵɵprojection(2);\n i0.ɵɵtemplate(3, Overlay_div_0_div_2_ng_container_3_Template, 1, 0, \"ng-container\", 4);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵclassMap(ctx_r1.contentStyleClass);\n i0.ɵɵproperty(\"ngStyle\", ctx_r1.contentStyle)(\"ngClass\", \"p-overlay-content\")(\"@overlayContentAnimation\", i0.ɵɵpureFunction1(11, _c5, i0.ɵɵpureFunction3(7, _c4, ctx_r1.showTransitionOptions, ctx_r1.hideTransitionOptions, ctx_r1.transformOptions[ctx_r1.modal ? ctx_r1.overlayResponsiveDirection : \"default\"])));\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.contentTemplate || ctx_r1._contentTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(15, _c7, i0.ɵɵpureFunction1(13, _c6, ctx_r1.overlayMode)));\n }\n}\nfunction Overlay_div_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 3, 0);\n i0.ɵɵlistener(\"click\", function Overlay_div_0_Template_div_click_0_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onOverlayClick());\n });\n i0.ɵɵtemplate(2, Overlay_div_0_div_2_Template, 4, 17, \"div\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassMap(ctx_r1.styleClass);\n i0.ɵɵproperty(\"ngStyle\", ctx_r1.style)(\"ngClass\", i0.ɵɵpureFunctionV(5, _c3, [ctx_r1.modal, ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"center\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"top\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"top-start\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"top-end\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"bottom\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"bottom-start\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"bottom-end\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"left\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"left-start\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"left-end\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"right\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"right-start\", ctx_r1.modal && ctx_r1.overlayResponsiveDirection === \"right-end\"]));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.visible);\n }\n}\nconst showOverlayContentAnimation = animation([style({\n transform: '{{transform}}',\n opacity: 0\n}), animate('{{showTransitionParams}}')]);\nconst hideOverlayContentAnimation = animation([animate('{{hideTransitionParams}}', style({\n transform: '{{transform}}',\n opacity: 0\n}))]);\n/**\n * This API allows overlay components to be controlled from the PrimeNG. In this way, all overlay components in the application can have the same behavior.\n * @group Components\n */\nlet Overlay = /*#__PURE__*/(() => {\n class Overlay extends BaseComponent {\n overlayService;\n zone;\n /**\n * The visible property is an input that determines the visibility of the component.\n * @defaultValue false\n * @group Props\n */\n get visible() {\n return this._visible;\n }\n set visible(value) {\n this._visible = value;\n if (this._visible && !this.modalVisible) {\n this.modalVisible = true;\n }\n }\n /**\n * The mode property is an input that determines the overlay mode type or string.\n * @defaultValue null\n * @group Props\n */\n get mode() {\n return this._mode || this.overlayOptions?.mode;\n }\n set mode(value) {\n this._mode = value;\n }\n /**\n * The style property is an input that determines the style object for the component.\n * @defaultValue null\n * @group Props\n */\n get style() {\n return ObjectUtils.merge(this._style, this.modal ? this.overlayResponsiveOptions?.style : this.overlayOptions?.style);\n }\n set style(value) {\n this._style = value;\n }\n /**\n * The styleClass property is an input that determines the CSS class(es) for the component.\n * @defaultValue null\n * @group Props\n */\n get styleClass() {\n return ObjectUtils.merge(this._styleClass, this.modal ? this.overlayResponsiveOptions?.styleClass : this.overlayOptions?.styleClass);\n }\n set styleClass(value) {\n this._styleClass = value;\n }\n /**\n * The contentStyle property is an input that determines the style object for the content of the component.\n * @defaultValue null\n * @group Props\n */\n get contentStyle() {\n return ObjectUtils.merge(this._contentStyle, this.modal ? this.overlayResponsiveOptions?.contentStyle : this.overlayOptions?.contentStyle);\n }\n set contentStyle(value) {\n this._contentStyle = value;\n }\n /**\n * The contentStyleClass property is an input that determines the CSS class(es) for the content of the component.\n * @defaultValue null\n * @group Props\n */\n get contentStyleClass() {\n return ObjectUtils.merge(this._contentStyleClass, this.modal ? this.overlayResponsiveOptions?.contentStyleClass : this.overlayOptions?.contentStyleClass);\n }\n set contentStyleClass(value) {\n this._contentStyleClass = value;\n }\n /**\n * The target property is an input that specifies the target element or selector for the component.\n * @defaultValue null\n * @group Props\n */\n get target() {\n const value = this._target || this.overlayOptions?.target;\n return value === undefined ? '@prev' : value;\n }\n set target(value) {\n this._target = value;\n }\n /**\n * Overlay can be mounted into its location, body or DOM element instance using this option.\n * @defaultValue null\n * @group Props\n */\n get appendTo() {\n return this._appendTo || this.overlayOptions?.appendTo;\n }\n set appendTo(value) {\n this._appendTo = value;\n }\n /**\n * The autoZIndex determines whether to automatically manage layering. Its default value is 'false'.\n * @defaultValue false\n * @group Props\n */\n get autoZIndex() {\n const value = this._autoZIndex || this.overlayOptions?.autoZIndex;\n return value === undefined ? true : value;\n }\n set autoZIndex(value) {\n this._autoZIndex = value;\n }\n /**\n * The baseZIndex is base zIndex value to use in layering.\n * @defaultValue null\n * @group Props\n */\n get baseZIndex() {\n const value = this._baseZIndex || this.overlayOptions?.baseZIndex;\n return value === undefined ? 0 : value;\n }\n set baseZIndex(value) {\n this._baseZIndex = value;\n }\n /**\n * Transition options of the show or hide animation.\n * @defaultValue .12s cubic-bezier(0, 0, 0.2, 1)\n * @group Props\n */\n get showTransitionOptions() {\n const value = this._showTransitionOptions || this.overlayOptions?.showTransitionOptions;\n return value === undefined ? '.12s cubic-bezier(0, 0, 0.2, 1)' : value;\n }\n set showTransitionOptions(value) {\n this._showTransitionOptions = value;\n }\n /**\n * The hideTransitionOptions property is an input that determines the CSS transition options for hiding the component.\n * @defaultValue .1s linear\n * @group Props\n */\n get hideTransitionOptions() {\n const value = this._hideTransitionOptions || this.overlayOptions?.hideTransitionOptions;\n return value === undefined ? '.1s linear' : value;\n }\n set hideTransitionOptions(value) {\n this._hideTransitionOptions = value;\n }\n /**\n * The listener property is an input that specifies the listener object for the component.\n * @defaultValue null\n * @group Props\n */\n get listener() {\n return this._listener || this.overlayOptions?.listener;\n }\n set listener(value) {\n this._listener = value;\n }\n /**\n * It is the option used to determine in which mode it should appear according to the given media or breakpoint.\n * @defaultValue null\n * @group Props\n */\n get responsive() {\n return this._responsive || this.overlayOptions?.responsive;\n }\n set responsive(val) {\n this._responsive = val;\n }\n /**\n * The options property is an input that specifies the overlay options for the component.\n * @defaultValue null\n * @group Props\n */\n get options() {\n return this._options;\n }\n set options(val) {\n this._options = val;\n }\n /**\n * This EventEmitter is used to notify changes in the visibility state of a component.\n * @param {Boolean} boolean - Value of visibility as boolean.\n * @group Emits\n */\n visibleChange = new EventEmitter();\n /**\n * Callback to invoke before the overlay is shown.\n * @param {OverlayOnBeforeShowEvent} event - Custom overlay before show event.\n * @group Emits\n */\n onBeforeShow = new EventEmitter();\n /**\n * Callback to invoke when the overlay is shown.\n * @param {OverlayOnShowEvent} event - Custom overlay show event.\n * @group Emits\n */\n onShow = new EventEmitter();\n /**\n * Callback to invoke before the overlay is hidden.\n * @param {OverlayOnBeforeHideEvent} event - Custom overlay before hide event.\n * @group Emits\n */\n onBeforeHide = new EventEmitter();\n /**\n * Callback to invoke when the overlay is hidden\n * @param {OverlayOnHideEvent} event - Custom hide event.\n * @group Emits\n */\n onHide = new EventEmitter();\n /**\n * Callback to invoke when the animation is started.\n * @param {AnimationEvent} event - Animation event.\n * @group Emits\n */\n onAnimationStart = new EventEmitter();\n /**\n * Callback to invoke when the animation is done.\n * @param {AnimationEvent} event - Animation event.\n * @group Emits\n */\n onAnimationDone = new EventEmitter();\n overlayViewChild;\n contentViewChild;\n /**\n * Content template of the component.\n * @group Templates\n */\n contentTemplate;\n templates;\n _contentTemplate;\n _visible = false;\n _mode;\n _style;\n _styleClass;\n _contentStyle;\n _contentStyleClass;\n _target;\n _appendTo;\n _autoZIndex;\n _baseZIndex;\n _showTransitionOptions;\n _hideTransitionOptions;\n _listener;\n _responsive;\n _options;\n modalVisible = false;\n isOverlayClicked = false;\n isOverlayContentClicked = false;\n scrollHandler;\n documentClickListener;\n documentResizeListener;\n _componentStyle = inject(OverlayStyle);\n documentKeyboardListener;\n window;\n transformOptions = {\n default: 'scaleY(0.8)',\n center: 'scale(0.7)',\n top: 'translate3d(0px, -100%, 0px)',\n 'top-start': 'translate3d(0px, -100%, 0px)',\n 'top-end': 'translate3d(0px, -100%, 0px)',\n bottom: 'translate3d(0px, 100%, 0px)',\n 'bottom-start': 'translate3d(0px, 100%, 0px)',\n 'bottom-end': 'translate3d(0px, 100%, 0px)',\n left: 'translate3d(-100%, 0px, 0px)',\n 'left-start': 'translate3d(-100%, 0px, 0px)',\n 'left-end': 'translate3d(-100%, 0px, 0px)',\n right: 'translate3d(100%, 0px, 0px)',\n 'right-start': 'translate3d(100%, 0px, 0px)',\n 'right-end': 'translate3d(100%, 0px, 0px)'\n };\n get modal() {\n if (isPlatformBrowser(this.platformId)) {\n return this.mode === 'modal' || this.overlayResponsiveOptions && this.document.defaultView?.matchMedia(this.overlayResponsiveOptions.media?.replace('@media', '') || `(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches;\n }\n }\n get overlayMode() {\n return this.mode || (this.modal ? 'modal' : 'overlay');\n }\n get overlayOptions() {\n return {\n ...this.config?.overlayOptions,\n ...this.options\n }; // TODO: Improve performance\n }\n get overlayResponsiveOptions() {\n return {\n ...this.overlayOptions?.responsive,\n ...this.responsive\n }; // TODO: Improve performance\n }\n get overlayResponsiveDirection() {\n return this.overlayResponsiveOptions?.direction || 'center';\n }\n get overlayEl() {\n return this.overlayViewChild?.nativeElement;\n }\n get contentEl() {\n return this.contentViewChild?.nativeElement;\n }\n get targetEl() {\n return getTargetElement(this.target, this.el?.nativeElement);\n }\n constructor(overlayService, zone) {\n super();\n this.overlayService = overlayService;\n this.zone = zone;\n }\n ngAfterContentInit() {\n this.templates?.forEach(item => {\n switch (item.getType()) {\n case 'content':\n this._contentTemplate = item.template;\n break;\n // TODO: new template types may be added.\n default:\n this._contentTemplate = item.template;\n break;\n }\n });\n }\n show(overlay, isFocus = false) {\n this.onVisibleChange(true);\n this.handleEvents('onShow', {\n overlay: overlay || this.overlayEl,\n target: this.targetEl,\n mode: this.overlayMode\n });\n isFocus && focus(this.targetEl);\n this.modal && addClass(this.document?.body, 'p-overflow-hidden');\n }\n hide(overlay, isFocus = false) {\n if (!this.visible) {\n return;\n } else {\n this.onVisibleChange(false);\n this.handleEvents('onHide', {\n overlay: overlay || this.overlayEl,\n target: this.targetEl,\n mode: this.overlayMode\n });\n isFocus && focus(this.targetEl);\n this.modal && removeClass(this.document?.body, 'p-overflow-hidden');\n }\n }\n alignOverlay() {\n !this.modal && DomHandler.alignOverlay(this.overlayEl, this.targetEl, this.appendTo);\n }\n onVisibleChange(visible) {\n this._visible = visible;\n this.visibleChange.emit(visible);\n }\n onOverlayClick() {\n this.isOverlayClicked = true;\n }\n onOverlayContentClick(event) {\n this.overlayService.add({\n originalEvent: event,\n target: this.targetEl\n });\n this.isOverlayContentClicked = true;\n }\n onOverlayContentAnimationStart(event) {\n switch (event.toState) {\n case 'visible':\n this.handleEvents('onBeforeShow', {\n overlay: this.overlayEl,\n target: this.targetEl,\n mode: this.overlayMode\n });\n if (this.autoZIndex) {\n ZIndexUtils.set(this.overlayMode, this.overlayEl, this.baseZIndex + this.config?.zIndex[this.overlayMode]);\n }\n DomHandler.appendOverlay(this.overlayEl, this.appendTo === 'body' ? this.document.body : this.appendTo, this.appendTo);\n this.alignOverlay();\n break;\n case 'void':\n this.handleEvents('onBeforeHide', {\n overlay: this.overlayEl,\n target: this.targetEl,\n mode: this.overlayMode\n });\n this.modal && addClass(this.overlayEl, 'p-overlay-mask-leave');\n break;\n }\n this.handleEvents('onAnimationStart', event);\n }\n onOverlayContentAnimationDone(event) {\n const container = this.overlayEl || event.element.parentElement;\n switch (event.toState) {\n case 'visible':\n this.show(container, true);\n this.bindListeners();\n break;\n case 'void':\n this.hide(container, true);\n this.unbindListeners();\n DomHandler.appendOverlay(this.overlayEl, this.targetEl, this.appendTo);\n ZIndexUtils.clear(container);\n this.modalVisible = false;\n this.cd.markForCheck();\n break;\n }\n this.handleEvents('onAnimationDone', event);\n }\n handleEvents(name, params) {\n this[name].emit(params);\n this.options && this.options[name] && this.options[name](params);\n this.config?.overlayOptions && (this.config?.overlayOptions)[name] && (this.config?.overlayOptions)[name](params);\n }\n bindListeners() {\n this.bindScrollListener();\n this.bindDocumentClickListener();\n this.bindDocumentResizeListener();\n this.bindDocumentKeyboardListener();\n }\n unbindListeners() {\n this.unbindScrollListener();\n this.unbindDocumentClickListener();\n this.unbindDocumentResizeListener();\n this.unbindDocumentKeyboardListener();\n }\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.targetEl, event => {\n const valid = this.listener ? this.listener(event, {\n type: 'scroll',\n mode: this.overlayMode,\n valid: true\n }) : true;\n valid && this.hide(event, true);\n });\n }\n this.scrollHandler.bindScrollListener();\n }\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n }\n bindDocumentClickListener() {\n if (!this.documentClickListener) {\n this.documentClickListener = this.renderer.listen(this.document, 'click', event => {\n const isTargetClicked = this.targetEl && (this.targetEl.isSameNode(event.target) || !this.isOverlayClicked && this.targetEl.contains(event.target));\n const isOutsideClicked = !isTargetClicked && !this.isOverlayContentClicked;\n const valid = this.listener ? this.listener(event, {\n type: 'outside',\n mode: this.overlayMode,\n valid: event.which !== 3 && isOutsideClicked\n }) : isOutsideClicked;\n valid && this.hide(event);\n this.isOverlayClicked = this.isOverlayContentClicked = false;\n });\n }\n }\n unbindDocumentClickListener() {\n if (this.documentClickListener) {\n this.documentClickListener();\n this.documentClickListener = null;\n }\n }\n bindDocumentResizeListener() {\n if (!this.documentResizeListener) {\n this.documentResizeListener = this.renderer.listen(this.document.defaultView, 'resize', event => {\n const valid = this.listener ? this.listener(event, {\n type: 'resize',\n mode: this.overlayMode,\n valid: !isTouchDevice()\n }) : !isTouchDevice();\n valid && this.hide(event, true);\n });\n }\n }\n unbindDocumentResizeListener() {\n if (this.documentResizeListener) {\n this.documentResizeListener();\n this.documentResizeListener = null;\n }\n }\n bindDocumentKeyboardListener() {\n if (this.documentKeyboardListener) {\n return;\n }\n this.zone.runOutsideAngular(() => {\n this.documentKeyboardListener = this.renderer.listen(this.document.defaultView, 'keydown', event => {\n if (this.overlayOptions.hideOnEscape === false || event.code !== 'Escape') {\n return;\n }\n const valid = this.listener ? this.listener(event, {\n type: 'keydown',\n mode: this.overlayMode,\n valid: !isTouchDevice()\n }) : !isTouchDevice();\n if (valid) {\n this.zone.run(() => {\n this.hide(event, true);\n });\n }\n });\n });\n }\n unbindDocumentKeyboardListener() {\n if (this.documentKeyboardListener) {\n this.documentKeyboardListener();\n this.documentKeyboardListener = null;\n }\n }\n ngOnDestroy() {\n this.hide(this.overlayEl, true);\n if (this.overlayEl) {\n DomHandler.appendOverlay(this.overlayEl, this.targetEl, this.appendTo);\n ZIndexUtils.clear(this.overlayEl);\n }\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n this.unbindListeners();\n super.ngOnDestroy();\n }\n static ɵfac = function Overlay_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || Overlay)(i0.ɵɵdirectiveInject(i1.OverlayService), i0.ɵɵdirectiveInject(i0.NgZone));\n };\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: Overlay,\n selectors: [[\"p-overlay\"]],\n contentQueries: function Overlay_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function Overlay_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c1, 5);\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentViewChild = _t.first);\n }\n },\n inputs: {\n visible: \"visible\",\n mode: \"mode\",\n style: \"style\",\n styleClass: \"styleClass\",\n contentStyle: \"contentStyle\",\n contentStyleClass: \"contentStyleClass\",\n target: \"target\",\n appendTo: \"appendTo\",\n autoZIndex: \"autoZIndex\",\n baseZIndex: \"baseZIndex\",\n showTransitionOptions: \"showTransitionOptions\",\n hideTransitionOptions: \"hideTransitionOptions\",\n listener: \"listener\",\n responsive: \"responsive\",\n options: \"options\"\n },\n outputs: {\n visibleChange: \"visibleChange\",\n onBeforeShow: \"onBeforeShow\",\n onShow: \"onShow\",\n onBeforeHide: \"onBeforeHide\",\n onHide: \"onHide\",\n onAnimationStart: \"onAnimationStart\",\n onAnimationDone: \"onAnimationDone\"\n },\n features: [i0.ɵɵProvidersFeature([OverlayStyle]), i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c2,\n decls: 1,\n vars: 1,\n consts: [[\"overlay\", \"\"], [\"content\", \"\"], [3, \"ngStyle\", \"class\", \"ngClass\", \"click\", 4, \"ngIf\"], [3, \"click\", \"ngStyle\", \"ngClass\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]],\n template: function Overlay_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, Overlay_div_0_Template, 3, 20, \"div\", 2);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.modalVisible);\n }\n },\n dependencies: [CommonModule, i2.NgClass, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, SharedModule],\n encapsulation: 2,\n data: {\n animation: [trigger('overlayContentAnimation', [transition(':enter', [useAnimation(showOverlayContentAnimation)]), transition(':leave', [useAnimation(hideOverlayContentAnimation)])])]\n },\n changeDetection: 0\n });\n }\n return Overlay;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet OverlayModule = /*#__PURE__*/(() => {\n class OverlayModule {\n static ɵfac = function OverlayModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || OverlayModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: OverlayModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [Overlay, SharedModule, SharedModule]\n });\n }\n return OverlayModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(OverlayModule, {\n imports: [Overlay, SharedModule],\n exports: [Overlay, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Overlay, OverlayModule, OverlayStyle };\n","import * as i1 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport { isVisible, getWidth, getHeight, findSingle, isTouchDevice } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { SpinnerIcon } from 'primeng/icons';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n pointer-events: none;\n}\n\n.p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: ${dt('virtualscroller.loader.mask.background')};\n color: ${dt('virtualscroller.loader.mask.color')};\n}\n\n.p-virtualscroller-loader-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-virtualscroller-loading-icon {\n font-size: ${dt('virtualscroller.loader.icon.size')};\n width: ${dt('virtualscroller.loader.icon.size')};\n height: ${dt('virtualscroller.loader.icon.size')};\n}\n\n.p-virtualscroller-horizontal > .p-virtualscroller-content {\n display: flex;\n}\n\n.p-virtualscroller-inline .p-virtualscroller-content {\n position: static;\n}\n`;\nlet ScrollerStyle = /*#__PURE__*/(() => {\n class ScrollerStyle extends BaseStyle {\n name = 'virtualscroller';\n theme = theme;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵScrollerStyle_BaseFactory;\n return function ScrollerStyle_Factory(__ngFactoryType__) {\n return (ɵScrollerStyle_BaseFactory || (ɵScrollerStyle_BaseFactory = i0.ɵɵgetInheritedFactory(ScrollerStyle)))(__ngFactoryType__ || ScrollerStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: ScrollerStyle,\n factory: ScrollerStyle.ɵfac\n });\n }\n return ScrollerStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * VirtualScroller is a performant approach to handle huge data efficiently.\n *\n * [Live Demo](https://www.primeng.org/scroller/)\n *\n * @module scrollerstyle\n *\n */\nvar ScrollerClasses = /*#__PURE__*/function (ScrollerClasses) {\n /**\n * Class name of the root element\n */\n ScrollerClasses[\"root\"] = \"p-virtualscroller\";\n /**\n * Class name of the content element\n */\n ScrollerClasses[\"content\"] = \"p-virtualscroller-content\";\n /**\n * Class name of the spacer element\n */\n ScrollerClasses[\"spacer\"] = \"p-virtualscroller-spacer\";\n /**\n * Class name of the loader element\n */\n ScrollerClasses[\"loader\"] = \"p-virtualscroller-loader\";\n /**\n * Class name of the loading icon element\n */\n ScrollerClasses[\"loadingIcon\"] = \"p-virtualscroller-loading-icon\";\n return ScrollerClasses;\n}(ScrollerClasses || {});\nconst _c0 = [\"content\"];\nconst _c1 = [\"item\"];\nconst _c2 = [\"loader\"];\nconst _c3 = [\"loadericon\"];\nconst _c4 = [\"element\"];\nconst _c5 = [\"*\"];\nconst _c6 = (a0, a1, a2) => ({\n \"p-virtualscroller\": true,\n \"p-virtualscroller-inline\": a0,\n \"p-virtualscroller-both p-both-scroll\": a1,\n \"p-virtualscroller-horizontal p-horizontal-scroll\": a2\n});\nconst _c7 = (a0, a1) => ({\n $implicit: a0,\n options: a1\n});\nconst _c8 = a0 => ({\n \"p-virtualscroller-loading \": a0\n});\nconst _c9 = a0 => ({\n \"p-virtualscroller-loader-mask\": a0\n});\nconst _c10 = a0 => ({\n numCols: a0\n});\nconst _c11 = a0 => ({\n options: a0\n});\nconst _c12 = () => ({\n styleClass: \"p-virtualscroller-loading-icon\"\n});\nconst _c13 = (a0, a1) => ({\n rows: a0,\n columns: a1\n});\nfunction Scroller_ng_container_0_ng_container_3_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Scroller_ng_container_0_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Scroller_ng_container_0_ng_container_3_ng_container_1_Template, 1, 0, \"ng-container\", 10);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.contentTemplate || ctx_r1._contentTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c7, ctx_r1.loadedItems, ctx_r1.getContentOptions()));\n }\n}\nfunction Scroller_ng_container_0_ng_template_4_ng_container_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Scroller_ng_container_0_ng_template_4_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Scroller_ng_container_0_ng_template_4_ng_container_2_ng_container_1_Template, 1, 0, \"ng-container\", 10);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const item_r3 = ctx.$implicit;\n const index_r4 = ctx.index;\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.itemTemplate || ctx_r1._itemTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c7, item_r3, ctx_r1.getOptions(index_r4)));\n }\n}\nfunction Scroller_ng_container_0_ng_template_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 11, 3);\n i0.ɵɵtemplate(2, Scroller_ng_container_0_ng_template_4_ng_container_2_Template, 2, 5, \"ng-container\", 12);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(5, _c8, ctx_r1.d_loading))(\"ngStyle\", ctx_r1.contentStyle);\n i0.ɵɵattribute(\"data-pc-section\", \"content\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.loadedItems)(\"ngForTrackBy\", ctx_r1._trackBy);\n }\n}\nfunction Scroller_ng_container_0_div_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 13);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngStyle\", ctx_r1.spacerStyle);\n i0.ɵɵattribute(\"data-pc-section\", \"spacer\");\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_container_1_ng_container_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_container_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Scroller_ng_container_0_div_7_ng_container_1_ng_container_1_ng_container_1_Template, 1, 0, \"ng-container\", 10);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const index_r5 = ctx.index;\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(4, _c11, ctx_r1.getLoaderOptions(index_r5, ctx_r1.both && i0.ɵɵpureFunction1(2, _c10, ctx_r1.numItemsInViewport.cols))));\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Scroller_ng_container_0_div_7_ng_container_1_ng_container_1_Template, 2, 6, \"ng-container\", 15);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.loaderArr);\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_template_2_ng_container_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_template_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Scroller_ng_container_0_div_7_ng_template_2_ng_container_0_ng_container_1_Template, 1, 0, \"ng-container\", 10);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.loaderIconTemplate || ctx_r1._loaderIconTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(3, _c11, i0.ɵɵpureFunction0(2, _c12)));\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_template_2_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"SpinnerIcon\", 16);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-virtualscroller-loading-icon pi-spin\");\n i0.ɵɵattribute(\"data-pc-section\", \"loadingIcon\");\n }\n}\nfunction Scroller_ng_container_0_div_7_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Scroller_ng_container_0_div_7_ng_template_2_ng_container_0_Template, 2, 5, \"ng-container\", 6)(1, Scroller_ng_container_0_div_7_ng_template_2_ng_template_1_Template, 1, 2, \"ng-template\", null, 5, i0.ɵɵtemplateRefExtractor);\n }\n if (rf & 2) {\n const buildInLoaderIcon_r6 = i0.ɵɵreference(2);\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.loaderIconTemplate || ctx_r1._loaderIconTemplate)(\"ngIfElse\", buildInLoaderIcon_r6);\n }\n}\nfunction Scroller_ng_container_0_div_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 14);\n i0.ɵɵtemplate(1, Scroller_ng_container_0_div_7_ng_container_1_Template, 2, 1, \"ng-container\", 6)(2, Scroller_ng_container_0_div_7_ng_template_2_Template, 3, 2, \"ng-template\", null, 4, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const buildInLoader_r7 = i0.ɵɵreference(3);\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(4, _c9, !ctx_r1.loaderTemplate));\n i0.ɵɵattribute(\"data-pc-section\", \"loader\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)(\"ngIfElse\", buildInLoader_r7);\n }\n}\nfunction Scroller_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"div\", 7, 1);\n i0.ɵɵlistener(\"scroll\", function Scroller_ng_container_0_Template_div_scroll_1_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onContainerScroll($event));\n });\n i0.ɵɵtemplate(3, Scroller_ng_container_0_ng_container_3_Template, 2, 5, \"ng-container\", 6)(4, Scroller_ng_container_0_ng_template_4_Template, 3, 7, \"ng-template\", null, 2, i0.ɵɵtemplateRefExtractor)(6, Scroller_ng_container_0_div_6_Template, 1, 2, \"div\", 8)(7, Scroller_ng_container_0_div_7_Template, 4, 6, \"div\", 9);\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const buildInContent_r8 = i0.ɵɵreference(5);\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵclassMap(ctx_r1._styleClass);\n i0.ɵɵproperty(\"ngStyle\", ctx_r1._style)(\"ngClass\", i0.ɵɵpureFunction3(12, _c6, ctx_r1.inline, ctx_r1.both, ctx_r1.horizontal));\n i0.ɵɵattribute(\"id\", ctx_r1._id)(\"tabindex\", ctx_r1.tabindex)(\"data-pc-name\", \"scroller\")(\"data-pc-section\", \"root\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.contentTemplate || ctx_r1._contentTemplate)(\"ngIfElse\", buildInContent_r8);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r1._showSpacer);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.loaderDisabled && ctx_r1._showLoader && ctx_r1.d_loading);\n }\n}\nfunction Scroller_ng_template_1_ng_container_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Scroller_ng_template_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Scroller_ng_template_1_ng_container_1_ng_container_1_Template, 1, 0, \"ng-container\", 10);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.contentTemplate || ctx_r1._contentTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(5, _c7, ctx_r1.items, i0.ɵɵpureFunction2(2, _c13, ctx_r1._items, ctx_r1.loadedColumns)));\n }\n}\nfunction Scroller_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojection(0);\n i0.ɵɵtemplate(1, Scroller_ng_template_1_ng_container_1_Template, 2, 8, \"ng-container\", 17);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.contentTemplate || ctx_r1._contentTemplate);\n }\n}\n/**\n * Scroller is a performance-approach to handle huge data efficiently.\n * @group Components\n */\nlet Scroller = /*#__PURE__*/(() => {\n class Scroller extends BaseComponent {\n zone;\n /**\n * Unique identifier of the element.\n * @group Props\n */\n get id() {\n return this._id;\n }\n set id(val) {\n this._id = val;\n }\n /**\n * Inline style of the component.\n * @group Props\n */\n get style() {\n return this._style;\n }\n set style(val) {\n this._style = val;\n }\n /**\n * Style class of the element.\n * @group Props\n */\n get styleClass() {\n return this._styleClass;\n }\n set styleClass(val) {\n this._styleClass = val;\n }\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n get tabindex() {\n return this._tabindex;\n }\n set tabindex(val) {\n this._tabindex = val;\n }\n /**\n * An array of objects to display.\n * @group Props\n */\n get items() {\n return this._items;\n }\n set items(val) {\n this._items = val;\n }\n /**\n * The height/width of item according to orientation.\n * @group Props\n */\n get itemSize() {\n return this._itemSize;\n }\n set itemSize(val) {\n this._itemSize = val;\n }\n /**\n * Height of the scroll viewport.\n * @group Props\n */\n get scrollHeight() {\n return this._scrollHeight;\n }\n set scrollHeight(val) {\n this._scrollHeight = val;\n }\n /**\n * Width of the scroll viewport.\n * @group Props\n */\n get scrollWidth() {\n return this._scrollWidth;\n }\n set scrollWidth(val) {\n this._scrollWidth = val;\n }\n /**\n * The orientation of scrollbar.\n * @group Props\n */\n get orientation() {\n return this._orientation;\n }\n set orientation(val) {\n this._orientation = val;\n }\n /**\n * Used to specify how many items to load in each load method in lazy mode.\n * @group Props\n */\n get step() {\n return this._step;\n }\n set step(val) {\n this._step = val;\n }\n /**\n * Delay in scroll before new data is loaded.\n * @group Props\n */\n get delay() {\n return this._delay;\n }\n set delay(val) {\n this._delay = val;\n }\n /**\n * Delay after window's resize finishes.\n * @group Props\n */\n get resizeDelay() {\n return this._resizeDelay;\n }\n set resizeDelay(val) {\n this._resizeDelay = val;\n }\n /**\n * Used to append each loaded item to top without removing any items from the DOM. Using very large data may cause the browser to crash.\n * @group Props\n */\n get appendOnly() {\n return this._appendOnly;\n }\n set appendOnly(val) {\n this._appendOnly = val;\n }\n /**\n * Specifies whether the scroller should be displayed inline or not.\n * @group Props\n */\n get inline() {\n return this._inline;\n }\n set inline(val) {\n this._inline = val;\n }\n /**\n * Defines if data is loaded and interacted with in lazy manner.\n * @group Props\n */\n get lazy() {\n return this._lazy;\n }\n set lazy(val) {\n this._lazy = val;\n }\n /**\n * If disabled, the scroller feature is eliminated and the content is displayed directly.\n * @group Props\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(val) {\n this._disabled = val;\n }\n /**\n * Used to implement a custom loader instead of using the loader feature in the scroller.\n * @group Props\n */\n get loaderDisabled() {\n return this._loaderDisabled;\n }\n set loaderDisabled(val) {\n this._loaderDisabled = val;\n }\n /**\n * Columns to display.\n * @group Props\n */\n get columns() {\n return this._columns;\n }\n set columns(val) {\n this._columns = val;\n }\n /**\n * Used to implement a custom spacer instead of using the spacer feature in the scroller.\n * @group Props\n */\n get showSpacer() {\n return this._showSpacer;\n }\n set showSpacer(val) {\n this._showSpacer = val;\n }\n /**\n * Defines whether to show loader.\n * @group Props\n */\n get showLoader() {\n return this._showLoader;\n }\n set showLoader(val) {\n this._showLoader = val;\n }\n /**\n * Determines how many additional elements to add to the DOM outside of the view. According to the scrolls made up and down, extra items are added in a certain algorithm in the form of multiples of this number. Default value is half the number of items shown in the view.\n * @group Props\n */\n get numToleratedItems() {\n return this._numToleratedItems;\n }\n set numToleratedItems(val) {\n this._numToleratedItems = val;\n }\n /**\n * Defines whether the data is loaded.\n * @group Props\n */\n get loading() {\n return this._loading;\n }\n set loading(val) {\n this._loading = val;\n }\n /**\n * Defines whether to dynamically change the height or width of scrollable container.\n * @group Props\n */\n get autoSize() {\n return this._autoSize;\n }\n set autoSize(val) {\n this._autoSize = val;\n }\n /**\n * Function to optimize the dom operations by delegating to ngForTrackBy, default algoritm checks for object identity.\n * @group Props\n */\n get trackBy() {\n return this._trackBy;\n }\n set trackBy(val) {\n this._trackBy = val;\n }\n /**\n * Defines whether to use the scroller feature. The properties of scroller component can be used like an object in it.\n * @group Props\n */\n get options() {\n return this._options;\n }\n set options(val) {\n this._options = val;\n if (val && typeof val === 'object') {\n //@ts-ignore\n Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));\n }\n }\n /**\n * Callback to invoke in lazy mode to load new data.\n * @param {ScrollerLazyLoadEvent} event - Custom lazy load event.\n * @group Emits\n */\n onLazyLoad = new EventEmitter();\n /**\n * Callback to invoke when scroll position changes.\n * @param {ScrollerScrollEvent} event - Custom scroll event.\n * @group Emits\n */\n onScroll = new EventEmitter();\n /**\n * Callback to invoke when scroll position and item's range in view changes.\n * @param {ScrollerScrollEvent} event - Custom scroll index change event.\n * @group Emits\n */\n onScrollIndexChange = new EventEmitter();\n elementViewChild;\n contentViewChild;\n _id;\n _style;\n _styleClass;\n _tabindex = 0;\n _items;\n _itemSize = 0;\n _scrollHeight;\n _scrollWidth;\n _orientation = 'vertical';\n _step = 0;\n _delay = 0;\n _resizeDelay = 10;\n _appendOnly = false;\n _inline = false;\n _lazy = false;\n _disabled = false;\n _loaderDisabled = false;\n _columns;\n _showSpacer = true;\n _showLoader = false;\n _numToleratedItems;\n _loading;\n _autoSize = false;\n _trackBy;\n _options;\n d_loading = false;\n d_numToleratedItems;\n contentEl;\n /**\n * Content template of the component.\n * @group Templates\n */\n contentTemplate;\n /**\n * Item template of the component.\n * @group Templates\n */\n itemTemplate;\n /**\n * Loader template of the component.\n * @group Templates\n */\n loaderTemplate;\n /**\n * Loader icon template of the component.\n * @group Templates\n */\n loaderIconTemplate;\n templates;\n _contentTemplate;\n _itemTemplate;\n _loaderTemplate;\n _loaderIconTemplate;\n first = 0;\n last = 0;\n page = 0;\n isRangeChanged = false;\n numItemsInViewport = 0;\n lastScrollPos = 0;\n lazyLoadState = {};\n loaderArr = [];\n spacerStyle = {};\n contentStyle = {};\n scrollTimeout;\n resizeTimeout;\n initialized = false;\n windowResizeListener;\n defaultWidth;\n defaultHeight;\n defaultContentWidth;\n defaultContentHeight;\n get vertical() {\n return this._orientation === 'vertical';\n }\n get horizontal() {\n return this._orientation === 'horizontal';\n }\n get both() {\n return this._orientation === 'both';\n }\n get loadedItems() {\n if (this._items && !this.d_loading) {\n if (this.both) return this._items.slice(this._appendOnly ? 0 : this.first.rows, this.last.rows).map(item => this._columns ? item : item.slice(this._appendOnly ? 0 : this.first.cols, this.last.cols));else if (this.horizontal && this._columns) return this._items;else return this._items.slice(this._appendOnly ? 0 : this.first, this.last);\n }\n return [];\n }\n get loadedRows() {\n return this.d_loading ? this._loaderDisabled ? this.loaderArr : [] : this.loadedItems;\n }\n get loadedColumns() {\n if (this._columns && (this.both || this.horizontal)) {\n return this.d_loading && this._loaderDisabled ? this.both ? this.loaderArr[0] : this.loaderArr : this._columns.slice(this.both ? this.first.cols : this.first, this.both ? this.last.cols : this.last);\n }\n return this._columns;\n }\n _componentStyle = inject(ScrollerStyle);\n constructor(zone) {\n super();\n this.zone = zone;\n }\n ngOnInit() {\n super.ngOnInit();\n this.setInitialState();\n }\n ngOnChanges(simpleChanges) {\n super.ngOnChanges(simpleChanges);\n let isLoadingChanged = false;\n if (simpleChanges.loading) {\n const {\n previousValue,\n currentValue\n } = simpleChanges.loading;\n if (this.lazy && previousValue !== currentValue && currentValue !== this.d_loading) {\n this.d_loading = currentValue;\n isLoadingChanged = true;\n }\n }\n if (simpleChanges.orientation) {\n this.lastScrollPos = this.both ? {\n top: 0,\n left: 0\n } : 0;\n }\n if (simpleChanges.numToleratedItems) {\n const {\n previousValue,\n currentValue\n } = simpleChanges.numToleratedItems;\n if (previousValue !== currentValue && currentValue !== this.d_numToleratedItems) {\n this.d_numToleratedItems = currentValue;\n }\n }\n if (simpleChanges.options) {\n const {\n previousValue,\n currentValue\n } = simpleChanges.options;\n if (this.lazy && previousValue?.loading !== currentValue?.loading && currentValue?.loading !== this.d_loading) {\n this.d_loading = currentValue.loading;\n isLoadingChanged = true;\n }\n if (previousValue?.numToleratedItems !== currentValue?.numToleratedItems && currentValue?.numToleratedItems !== this.d_numToleratedItems) {\n this.d_numToleratedItems = currentValue.numToleratedItems;\n }\n }\n if (this.initialized) {\n const isChanged = !isLoadingChanged && (simpleChanges.items?.previousValue?.length !== simpleChanges.items?.currentValue?.length || simpleChanges.itemSize || simpleChanges.scrollHeight || simpleChanges.scrollWidth);\n if (isChanged) {\n this.init();\n this.calculateAutoSize();\n }\n }\n }\n ngAfterContentInit() {\n this.templates.forEach(item => {\n switch (item.getType()) {\n case 'content':\n this._contentTemplate = item.template;\n break;\n case 'item':\n this._itemTemplate = item.template;\n break;\n case 'loader':\n this._loaderTemplate = item.template;\n break;\n case 'loadericon':\n this._loaderIconTemplate = item.template;\n break;\n default:\n this._itemTemplate = item.template;\n break;\n }\n });\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n Promise.resolve().then(() => {\n this.viewInit();\n });\n }\n ngAfterViewChecked() {\n if (!this.initialized) {\n this.viewInit();\n }\n }\n ngOnDestroy() {\n this.unbindResizeListener();\n this.contentEl = null;\n this.initialized = false;\n super.ngOnDestroy();\n }\n viewInit() {\n if (isPlatformBrowser(this.platformId) && !this.initialized) {\n if (isVisible(this.elementViewChild?.nativeElement)) {\n this.setInitialState();\n this.setContentEl(this.contentEl);\n this.init();\n this.defaultWidth = getWidth(this.elementViewChild?.nativeElement);\n this.defaultHeight = getHeight(this.elementViewChild?.nativeElement);\n this.defaultContentWidth = getWidth(this.contentEl);\n this.defaultContentHeight = getHeight(this.contentEl);\n this.initialized = true;\n }\n }\n }\n init() {\n if (!this._disabled) {\n this.setSize();\n this.calculateOptions();\n this.setSpacerSize();\n this.bindResizeListener();\n this.cd.detectChanges();\n }\n }\n setContentEl(el) {\n this.contentEl = el || this.contentViewChild?.nativeElement || findSingle(this.elementViewChild?.nativeElement, '.p-virtualscroller-content');\n }\n setInitialState() {\n this.first = this.both ? {\n rows: 0,\n cols: 0\n } : 0;\n this.last = this.both ? {\n rows: 0,\n cols: 0\n } : 0;\n this.numItemsInViewport = this.both ? {\n rows: 0,\n cols: 0\n } : 0;\n this.lastScrollPos = this.both ? {\n top: 0,\n left: 0\n } : 0;\n this.d_loading = this._loading || false;\n this.d_numToleratedItems = this._numToleratedItems;\n this.loaderArr = [];\n this.spacerStyle = {};\n this.contentStyle = {};\n }\n getElementRef() {\n return this.elementViewChild;\n }\n getPageByFirst(first) {\n return Math.floor(((first ?? this.first) + this.d_numToleratedItems * 4) / (this._step || 1));\n }\n isPageChanged(first) {\n return this._step ? this.page !== this.getPageByFirst(first ?? this.first) : true;\n }\n scrollTo(options) {\n // this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;\n this.elementViewChild?.nativeElement?.scrollTo(options);\n }\n scrollToIndex(index, behavior = 'auto') {\n const valid = this.both ? index.every(i => i > -1) : index > -1;\n if (valid) {\n const first = this.first;\n const {\n scrollTop = 0,\n scrollLeft = 0\n } = this.elementViewChild?.nativeElement;\n const {\n numToleratedItems\n } = this.calculateNumItems();\n const contentPos = this.getContentPosition();\n const itemSize = this.itemSize;\n const calculateFirst = (_index = 0, _numT) => _index <= _numT ? 0 : _index;\n const calculateCoord = (_first, _size, _cpos) => _first * _size + _cpos;\n const scrollTo = (left = 0, top = 0) => this.scrollTo({\n left,\n top,\n behavior\n });\n let newFirst = this.both ? {\n rows: 0,\n cols: 0\n } : 0;\n let isRangeChanged = false,\n isScrollChanged = false;\n if (this.both) {\n newFirst = {\n rows: calculateFirst(index[0], numToleratedItems[0]),\n cols: calculateFirst(index[1], numToleratedItems[1])\n };\n scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));\n isScrollChanged = this.lastScrollPos.top !== scrollTop || this.lastScrollPos.left !== scrollLeft;\n isRangeChanged = newFirst.rows !== first.rows || newFirst.cols !== first.cols;\n } else {\n newFirst = calculateFirst(index, numToleratedItems);\n this.horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), scrollTop) : scrollTo(scrollLeft, calculateCoord(newFirst, itemSize, contentPos.top));\n isScrollChanged = this.lastScrollPos !== (this.horizontal ? scrollLeft : scrollTop);\n isRangeChanged = newFirst !== first;\n }\n this.isRangeChanged = isRangeChanged;\n isScrollChanged && (this.first = newFirst);\n }\n }\n scrollInView(index, to, behavior = 'auto') {\n if (to) {\n const {\n first,\n viewport\n } = this.getRenderedRange();\n const scrollTo = (left = 0, top = 0) => this.scrollTo({\n left,\n top,\n behavior\n });\n const isToStart = to === 'to-start';\n const isToEnd = to === 'to-end';\n if (isToStart) {\n if (this.both) {\n if (viewport.first.rows - first.rows > index[0]) {\n scrollTo(viewport.first.cols * this._itemSize[1], (viewport.first.rows - 1) * this._itemSize[0]);\n } else if (viewport.first.cols - first.cols > index[1]) {\n scrollTo((viewport.first.cols - 1) * this._itemSize[1], viewport.first.rows * this._itemSize[0]);\n }\n } else {\n if (viewport.first - first > index) {\n const pos = (viewport.first - 1) * this._itemSize;\n this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);\n }\n }\n } else if (isToEnd) {\n if (this.both) {\n if (viewport.last.rows - first.rows <= index[0] + 1) {\n scrollTo(viewport.first.cols * this._itemSize[1], (viewport.first.rows + 1) * this._itemSize[0]);\n } else if (viewport.last.cols - first.cols <= index[1] + 1) {\n scrollTo((viewport.first.cols + 1) * this._itemSize[1], viewport.first.rows * this._itemSize[0]);\n }\n } else {\n if (viewport.last - first <= index + 1) {\n const pos = (viewport.first + 1) * this._itemSize;\n this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);\n }\n }\n }\n } else {\n this.scrollToIndex(index, behavior);\n }\n }\n getRenderedRange() {\n const calculateFirstInViewport = (_pos, _size) => _size || _pos ? Math.floor(_pos / (_size || _pos)) : 0;\n let firstInViewport = this.first;\n let lastInViewport = 0;\n if (this.elementViewChild?.nativeElement) {\n const {\n scrollTop,\n scrollLeft\n } = this.elementViewChild.nativeElement;\n if (this.both) {\n firstInViewport = {\n rows: calculateFirstInViewport(scrollTop, this._itemSize[0]),\n cols: calculateFirstInViewport(scrollLeft, this._itemSize[1])\n };\n lastInViewport = {\n rows: firstInViewport.rows + this.numItemsInViewport.rows,\n cols: firstInViewport.cols + this.numItemsInViewport.cols\n };\n } else {\n const scrollPos = this.horizontal ? scrollLeft : scrollTop;\n firstInViewport = calculateFirstInViewport(scrollPos, this._itemSize);\n lastInViewport = firstInViewport + this.numItemsInViewport;\n }\n }\n return {\n first: this.first,\n last: this.last,\n viewport: {\n first: firstInViewport,\n last: lastInViewport\n }\n };\n }\n calculateNumItems() {\n const contentPos = this.getContentPosition();\n const contentWidth = (this.elementViewChild?.nativeElement ? this.elementViewChild.nativeElement.offsetWidth - contentPos.left : 0) || 0;\n const contentHeight = (this.elementViewChild?.nativeElement ? this.elementViewChild.nativeElement.offsetHeight - contentPos.top : 0) || 0;\n const calculateNumItemsInViewport = (_contentSize, _itemSize) => _itemSize || _contentSize ? Math.ceil(_contentSize / (_itemSize || _contentSize)) : 0;\n const calculateNumToleratedItems = _numItems => Math.ceil(_numItems / 2);\n const numItemsInViewport = this.both ? {\n rows: calculateNumItemsInViewport(contentHeight, this._itemSize[0]),\n cols: calculateNumItemsInViewport(contentWidth, this._itemSize[1])\n } : calculateNumItemsInViewport(this.horizontal ? contentWidth : contentHeight, this._itemSize);\n const numToleratedItems = this.d_numToleratedItems || (this.both ? [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] : calculateNumToleratedItems(numItemsInViewport));\n return {\n numItemsInViewport,\n numToleratedItems\n };\n }\n calculateOptions() {\n const {\n numItemsInViewport,\n numToleratedItems\n } = this.calculateNumItems();\n const calculateLast = (_first, _num, _numT, _isCols = false) => this.getLast(_first + _num + (_first < _numT ? 2 : 3) * _numT, _isCols);\n const first = this.first;\n const last = this.both ? {\n rows: calculateLast(this.first.rows, numItemsInViewport.rows, numToleratedItems[0]),\n cols: calculateLast(this.first.cols, numItemsInViewport.cols, numToleratedItems[1], true)\n } : calculateLast(this.first, numItemsInViewport, numToleratedItems);\n this.last = last;\n this.numItemsInViewport = numItemsInViewport;\n this.d_numToleratedItems = numToleratedItems;\n if (this.showLoader) {\n this.loaderArr = this.both ? Array.from({\n length: numItemsInViewport.rows\n }).map(() => Array.from({\n length: numItemsInViewport.cols\n })) : Array.from({\n length: numItemsInViewport\n });\n }\n if (this._lazy) {\n Promise.resolve().then(() => {\n this.lazyLoadState = {\n first: this._step ? this.both ? {\n rows: 0,\n cols: first.cols\n } : 0 : first,\n last: Math.min(this._step ? this._step : this.last, this.items.length)\n };\n this.handleEvents('onLazyLoad', this.lazyLoadState);\n });\n }\n }\n calculateAutoSize() {\n if (this._autoSize && !this.d_loading) {\n Promise.resolve().then(() => {\n if (this.contentEl) {\n this.contentEl.style.minHeight = this.contentEl.style.minWidth = 'auto';\n this.contentEl.style.position = 'relative';\n this.elementViewChild.nativeElement.style.contain = 'none';\n const [contentWidth, contentHeight] = [getWidth(this.contentEl), getHeight(this.contentEl)];\n contentWidth !== this.defaultContentWidth && (this.elementViewChild.nativeElement.style.width = '');\n contentHeight !== this.defaultContentHeight && (this.elementViewChild.nativeElement.style.height = '');\n const [width, height] = [getWidth(this.elementViewChild.nativeElement), getHeight(this.elementViewChild.nativeElement)];\n (this.both || this.horizontal) && (this.elementViewChild.nativeElement.style.width = width < this.defaultWidth ? width + 'px' : this._scrollWidth || this.defaultWidth + 'px');\n (this.both || this.vertical) && (this.elementViewChild.nativeElement.style.height = height < this.defaultHeight ? height + 'px' : this._scrollHeight || this.defaultHeight + 'px');\n this.contentEl.style.minHeight = this.contentEl.style.minWidth = '';\n this.contentEl.style.position = '';\n this.elementViewChild.nativeElement.style.contain = '';\n }\n });\n }\n }\n getLast(last = 0, isCols = false) {\n return this._items ? Math.min(isCols ? (this._columns || this._items[0]).length : this._items.length, last) : 0;\n }\n getContentPosition() {\n if (this.contentEl) {\n const style = getComputedStyle(this.contentEl);\n const left = parseFloat(style.paddingLeft) + Math.max(parseFloat(style.left) || 0, 0);\n const right = parseFloat(style.paddingRight) + Math.max(parseFloat(style.right) || 0, 0);\n const top = parseFloat(style.paddingTop) + Math.max(parseFloat(style.top) || 0, 0);\n const bottom = parseFloat(style.paddingBottom) + Math.max(parseFloat(style.bottom) || 0, 0);\n return {\n left,\n right,\n top,\n bottom,\n x: left + right,\n y: top + bottom\n };\n }\n return {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n x: 0,\n y: 0\n };\n }\n setSize() {\n if (this.elementViewChild?.nativeElement) {\n const parentElement = this.elementViewChild.nativeElement.parentElement.parentElement;\n const width = this._scrollWidth || `${this.elementViewChild.nativeElement.offsetWidth || parentElement.offsetWidth}px`;\n const height = this._scrollHeight || `${this.elementViewChild.nativeElement.offsetHeight || parentElement.offsetHeight}px`;\n const setProp = (_name, _value) => this.elementViewChild.nativeElement.style[_name] = _value;\n if (this.both || this.horizontal) {\n setProp('height', height);\n setProp('width', width);\n } else {\n setProp('height', height);\n }\n }\n }\n setSpacerSize() {\n if (this._items) {\n const contentPos = this.getContentPosition();\n const setProp = (_name, _value, _size, _cpos = 0) => this.spacerStyle = {\n ...this.spacerStyle,\n ...{\n [`${_name}`]: (_value || []).length * _size + _cpos + 'px'\n }\n };\n if (this.both) {\n setProp('height', this._items, this._itemSize[0], contentPos.y);\n setProp('width', this._columns || this._items[1], this._itemSize[1], contentPos.x);\n } else {\n this.horizontal ? setProp('width', this._columns || this._items, this._itemSize, contentPos.x) : setProp('height', this._items, this._itemSize, contentPos.y);\n }\n }\n }\n setContentPosition(pos) {\n if (this.contentEl && !this._appendOnly) {\n const first = pos ? pos.first : this.first;\n const calculateTranslateVal = (_first, _size) => _first * _size;\n const setTransform = (_x = 0, _y = 0) => this.contentStyle = {\n ...this.contentStyle,\n ...{\n transform: `translate3d(${_x}px, ${_y}px, 0)`\n }\n };\n if (this.both) {\n setTransform(calculateTranslateVal(first.cols, this._itemSize[1]), calculateTranslateVal(first.rows, this._itemSize[0]));\n } else {\n const translateVal = calculateTranslateVal(first, this._itemSize);\n this.horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);\n }\n }\n }\n onScrollPositionChange(event) {\n const target = event.target;\n const contentPos = this.getContentPosition();\n const calculateScrollPos = (_pos, _cpos) => _pos ? _pos > _cpos ? _pos - _cpos : _pos : 0;\n const calculateCurrentIndex = (_pos, _size) => _size || _pos ? Math.floor(_pos / (_size || _pos)) : 0;\n const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {\n return _currentIndex <= _numT ? _numT : _isScrollDownOrRight ? _last - _num - _numT : _first + _numT - 1;\n };\n const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {\n if (_currentIndex <= _numT) return 0;else return Math.max(0, _isScrollDownOrRight ? _currentIndex < _triggerIndex ? _first : _currentIndex - _numT : _currentIndex > _triggerIndex ? _first : _currentIndex - 2 * _numT);\n };\n const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols = false) => {\n let lastValue = _first + _num + 2 * _numT;\n if (_currentIndex >= _numT) {\n lastValue += _numT + 1;\n }\n return this.getLast(lastValue, _isCols);\n };\n const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);\n const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);\n let newFirst = this.both ? {\n rows: 0,\n cols: 0\n } : 0;\n let newLast = this.last;\n let isRangeChanged = false;\n let newScrollPos = this.lastScrollPos;\n if (this.both) {\n const isScrollDown = this.lastScrollPos.top <= scrollTop;\n const isScrollRight = this.lastScrollPos.left <= scrollLeft;\n if (!this._appendOnly || this._appendOnly && (isScrollDown || isScrollRight)) {\n const currentIndex = {\n rows: calculateCurrentIndex(scrollTop, this._itemSize[0]),\n cols: calculateCurrentIndex(scrollLeft, this._itemSize[1])\n };\n const triggerIndex = {\n rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),\n cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)\n };\n newFirst = {\n rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),\n cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)\n };\n newLast = {\n rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),\n cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)\n };\n isRangeChanged = newFirst.rows !== this.first.rows || newLast.rows !== this.last.rows || newFirst.cols !== this.first.cols || newLast.cols !== this.last.cols || this.isRangeChanged;\n newScrollPos = {\n top: scrollTop,\n left: scrollLeft\n };\n }\n } else {\n const scrollPos = this.horizontal ? scrollLeft : scrollTop;\n const isScrollDownOrRight = this.lastScrollPos <= scrollPos;\n if (!this._appendOnly || this._appendOnly && isScrollDownOrRight) {\n const currentIndex = calculateCurrentIndex(scrollPos, this._itemSize);\n const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);\n newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);\n newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);\n isRangeChanged = newFirst !== this.first || newLast !== this.last || this.isRangeChanged;\n newScrollPos = scrollPos;\n }\n }\n return {\n first: newFirst,\n last: newLast,\n isRangeChanged,\n scrollPos: newScrollPos\n };\n }\n onScrollChange(event) {\n const {\n first,\n last,\n isRangeChanged,\n scrollPos\n } = this.onScrollPositionChange(event);\n if (isRangeChanged) {\n const newState = {\n first,\n last\n };\n this.setContentPosition(newState);\n this.first = first;\n this.last = last;\n this.lastScrollPos = scrollPos;\n this.handleEvents('onScrollIndexChange', newState);\n if (this._lazy && this.isPageChanged(first)) {\n const lazyLoadState = {\n first: this._step ? Math.min(this.getPageByFirst(first) * this._step, this.items.length - this._step) : first,\n last: Math.min(this._step ? (this.getPageByFirst(first) + 1) * this._step : last, this.items.length)\n };\n const isLazyStateChanged = this.lazyLoadState.first !== lazyLoadState.first || this.lazyLoadState.last !== lazyLoadState.last;\n isLazyStateChanged && this.handleEvents('onLazyLoad', lazyLoadState);\n this.lazyLoadState = lazyLoadState;\n }\n }\n }\n onContainerScroll(event) {\n this.handleEvents('onScroll', {\n originalEvent: event\n });\n if (this._delay && this.isPageChanged()) {\n if (this.scrollTimeout) {\n clearTimeout(this.scrollTimeout);\n }\n if (!this.d_loading && this.showLoader) {\n const {\n isRangeChanged\n } = this.onScrollPositionChange(event);\n const changed = isRangeChanged || (this._step ? this.isPageChanged() : false);\n if (changed) {\n this.d_loading = true;\n this.cd.detectChanges();\n }\n }\n this.scrollTimeout = setTimeout(() => {\n this.onScrollChange(event);\n if (this.d_loading && this.showLoader && (!this._lazy || this._loading === undefined)) {\n this.d_loading = false;\n this.page = this.getPageByFirst();\n }\n this.cd.detectChanges();\n }, this._delay);\n } else {\n !this.d_loading && this.onScrollChange(event);\n }\n }\n bindResizeListener() {\n if (isPlatformBrowser(this.platformId)) {\n if (!this.windowResizeListener) {\n this.zone.runOutsideAngular(() => {\n const window = this.document.defaultView;\n const event = isTouchDevice() ? 'orientationchange' : 'resize';\n this.windowResizeListener = this.renderer.listen(window, event, this.onWindowResize.bind(this));\n });\n }\n }\n }\n unbindResizeListener() {\n if (this.windowResizeListener) {\n this.windowResizeListener();\n this.windowResizeListener = null;\n }\n }\n onWindowResize() {\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n this.resizeTimeout = setTimeout(() => {\n if (isVisible(this.elementViewChild?.nativeElement)) {\n const [width, height] = [getWidth(this.elementViewChild?.nativeElement), getHeight(this.elementViewChild?.nativeElement)];\n const [isDiffWidth, isDiffHeight] = [width !== this.defaultWidth, height !== this.defaultHeight];\n const reinit = this.both ? isDiffWidth || isDiffHeight : this.horizontal ? isDiffWidth : this.vertical ? isDiffHeight : false;\n reinit && this.zone.run(() => {\n this.d_numToleratedItems = this._numToleratedItems;\n this.defaultWidth = width;\n this.defaultHeight = height;\n this.defaultContentWidth = getWidth(this.contentEl);\n this.defaultContentHeight = getHeight(this.contentEl);\n this.init();\n });\n }\n }, this._resizeDelay);\n }\n handleEvents(name, params) {\n //@ts-ignore\n return this.options && this.options[name] ? this.options[name](params) : this[name].emit(params);\n }\n getContentOptions() {\n return {\n contentStyleClass: `p-virtualscroller-content ${this.d_loading ? 'p-virtualscroller-loading' : ''}`,\n items: this.loadedItems,\n getItemOptions: index => this.getOptions(index),\n loading: this.d_loading,\n getLoaderOptions: (index, options) => this.getLoaderOptions(index, options),\n itemSize: this._itemSize,\n rows: this.loadedRows,\n columns: this.loadedColumns,\n spacerStyle: this.spacerStyle,\n contentStyle: this.contentStyle,\n vertical: this.vertical,\n horizontal: this.horizontal,\n both: this.both\n };\n }\n getOptions(renderedIndex) {\n const count = (this._items || []).length;\n const index = this.both ? this.first.rows + renderedIndex : this.first + renderedIndex;\n return {\n index,\n count,\n first: index === 0,\n last: index === count - 1,\n even: index % 2 === 0,\n odd: index % 2 !== 0\n };\n }\n getLoaderOptions(index, extOptions) {\n const count = this.loaderArr.length;\n return {\n index,\n count,\n first: index === 0,\n last: index === count - 1,\n even: index % 2 === 0,\n odd: index % 2 !== 0,\n ...extOptions\n };\n }\n static ɵfac = function Scroller_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || Scroller)(i0.ɵɵdirectiveInject(i0.NgZone));\n };\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: Scroller,\n selectors: [[\"p-scroller\"], [\"p-virtualscroller\"], [\"p-virtual-scroller\"], [\"p-virtualScroller\"]],\n contentQueries: function Scroller_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, _c1, 4);\n i0.ɵɵcontentQuery(dirIndex, _c2, 4);\n i0.ɵɵcontentQuery(dirIndex, _c3, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function Scroller_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c4, 5);\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.elementViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentViewChild = _t.first);\n }\n },\n inputs: {\n id: \"id\",\n style: \"style\",\n styleClass: \"styleClass\",\n tabindex: \"tabindex\",\n items: \"items\",\n itemSize: \"itemSize\",\n scrollHeight: \"scrollHeight\",\n scrollWidth: \"scrollWidth\",\n orientation: \"orientation\",\n step: \"step\",\n delay: \"delay\",\n resizeDelay: \"resizeDelay\",\n appendOnly: \"appendOnly\",\n inline: \"inline\",\n lazy: \"lazy\",\n disabled: \"disabled\",\n loaderDisabled: \"loaderDisabled\",\n columns: \"columns\",\n showSpacer: \"showSpacer\",\n showLoader: \"showLoader\",\n numToleratedItems: \"numToleratedItems\",\n loading: \"loading\",\n autoSize: \"autoSize\",\n trackBy: \"trackBy\",\n options: \"options\"\n },\n outputs: {\n onLazyLoad: \"onLazyLoad\",\n onScroll: \"onScroll\",\n onScrollIndexChange: \"onScrollIndexChange\"\n },\n features: [i0.ɵɵProvidersFeature([ScrollerStyle]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c5,\n decls: 3,\n vars: 2,\n consts: [[\"disabledContainer\", \"\"], [\"element\", \"\"], [\"buildInContent\", \"\"], [\"content\", \"\"], [\"buildInLoader\", \"\"], [\"buildInLoaderIcon\", \"\"], [4, \"ngIf\", \"ngIfElse\"], [3, \"scroll\", \"ngStyle\", \"ngClass\"], [\"class\", \"p-virtualscroller-spacer\", 3, \"ngStyle\", 4, \"ngIf\"], [\"class\", \"p-virtualscroller-loader\", 3, \"ngClass\", 4, \"ngIf\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [1, \"p-virtualscroller-content\", 3, \"ngClass\", \"ngStyle\"], [4, \"ngFor\", \"ngForOf\", \"ngForTrackBy\"], [1, \"p-virtualscroller-spacer\", 3, \"ngStyle\"], [1, \"p-virtualscroller-loader\", 3, \"ngClass\"], [4, \"ngFor\", \"ngForOf\"], [3, \"styleClass\"], [4, \"ngIf\"]],\n template: function Scroller_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, Scroller_ng_container_0_Template, 8, 16, \"ng-container\", 6)(1, Scroller_ng_template_1_Template, 2, 1, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n }\n if (rf & 2) {\n const disabledContainer_r9 = i0.ɵɵreference(2);\n i0.ɵɵproperty(\"ngIf\", !ctx._disabled)(\"ngIfElse\", disabledContainer_r9);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, SpinnerIcon, SharedModule],\n encapsulation: 2\n });\n }\n return Scroller;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ScrollerModule = /*#__PURE__*/(() => {\n class ScrollerModule {\n static ɵfac = function ScrollerModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ScrollerModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: ScrollerModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [Scroller, SharedModule, SharedModule]\n });\n }\n return ScrollerModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(ScrollerModule, {\n imports: [Scroller, SharedModule],\n exports: [Scroller, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Scroller, ScrollerClasses, ScrollerModule, ScrollerStyle };\n","import { isPlatformBrowser } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, TemplateRef, booleanAttribute, numberAttribute, Directive, Input, NgModule } from '@angular/core';\nimport { uuid, hasClass, appendChild, fadeIn, getWindowScrollLeft, getWindowScrollTop, findSingle, getOuterWidth, getOuterHeight, getViewport, removeChild } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { ConnectedOverlayScrollHandler } from 'primeng/dom';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-tooltip {\n position: absolute;\n display: none;\n max-width: ${dt('tooltip.max.width')};\n}\n\n.p-tooltip-right,\n.p-tooltip-left {\n padding: 0 ${dt('tooltip.gutter')};\n}\n\n.p-tooltip-top,\n.p-tooltip-bottom {\n padding: ${dt('tooltip.gutter')} 0;\n}\n\n.p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n background: ${dt('tooltip.background')};\n color: ${dt('tooltip.color')};\n padding: ${dt('tooltip.padding')};\n box-shadow: ${dt('tooltip.shadow')};\n border-radius: ${dt('tooltip.border.radius')};\n}\n\n.p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n}\n\n.p-tooltip-right .p-tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: calc(-1 * ${dt('tooltip.gutter')});\n border-width: ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} 0;\n border-right-color: ${dt('tooltip.background')};\n}\n\n.p-tooltip-left .p-tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: calc(-1 * ${dt('tooltip.gutter')});\n border-width: ${dt('tooltip.gutter')} 0 ${dt('tooltip.gutter')} ${dt('tooltip.gutter')};\n border-left-color: ${dt('tooltip.background')};\n}\n\n.p-tooltip-top .p-tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: calc(-1 * ${dt('tooltip.gutter')});\n border-width: ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} 0 ${dt('tooltip.gutter')};\n border-top-color: ${dt('tooltip.background')};\n border-bottom-color: ${dt('tooltip.background')};\n}\n\n.p-tooltip-bottom .p-tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: calc(-1 * ${dt('tooltip.gutter')});\n border-width: 0 ${dt('tooltip.gutter')} ${dt('tooltip.gutter')} ${dt('tooltip.gutter')};\n border-top-color: ${dt('tooltip.background')};\n border-bottom-color: ${dt('tooltip.background')};\n}\n`;\nconst classes = {\n root: 'p-tooltip p-component',\n arrow: 'p-tooltip-arrow',\n text: 'p-tooltip-text'\n};\nlet TooltipStyle = /*#__PURE__*/(() => {\n class TooltipStyle extends BaseStyle {\n name = 'tooltip';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵTooltipStyle_BaseFactory;\n return function TooltipStyle_Factory(__ngFactoryType__) {\n return (ɵTooltipStyle_BaseFactory || (ɵTooltipStyle_BaseFactory = i0.ɵɵgetInheritedFactory(TooltipStyle)))(__ngFactoryType__ || TooltipStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: TooltipStyle,\n factory: TooltipStyle.ɵfac\n });\n }\n return TooltipStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Tooltip directive provides advisory information for a component.\n *\n * [Live Demo](https://www.primeng.org/tooltip)\n *\n * @module tooltipstyle\n *\n */\nvar TooltipClasses = /*#__PURE__*/function (TooltipClasses) {\n /**\n * Class name of the root element\n */\n TooltipClasses[\"root\"] = \"p-tooltip\";\n /**\n * Class name of the arrow element\n */\n TooltipClasses[\"arrow\"] = \"p-tooltip-arrow\";\n /**\n * Class name of the text element\n */\n TooltipClasses[\"text\"] = \"p-tooltip-text\";\n return TooltipClasses;\n}(TooltipClasses || {});\n/**\n * Tooltip directive provides advisory information for a component.\n * @group Components\n */\nlet Tooltip = /*#__PURE__*/(() => {\n class Tooltip extends BaseComponent {\n zone;\n viewContainer;\n /**\n * Position of the tooltip.\n * @group Props\n */\n tooltipPosition;\n /**\n * Event to show the tooltip.\n * @group Props\n */\n tooltipEvent = 'hover';\n /**\n * Target element to attach the overlay, valid values are \"body\", \"target\" or a local ng-F variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * Type of CSS position.\n * @group Props\n */\n positionStyle;\n /**\n * Style class of the tooltip.\n * @group Props\n */\n tooltipStyleClass;\n /**\n * Whether the z-index should be managed automatically to always go on top or have a fixed value.\n * @group Props\n */\n tooltipZIndex;\n /**\n * By default the tooltip contents are rendered as text. Set to false to support html tags in the content.\n * @group Props\n */\n escape = true;\n /**\n * Delay to show the tooltip in milliseconds.\n * @group Props\n */\n showDelay;\n /**\n * Delay to hide the tooltip in milliseconds.\n * @group Props\n */\n hideDelay;\n /**\n * Time to wait in milliseconds to hide the tooltip even it is active.\n * @group Props\n */\n life;\n /**\n * Specifies the additional vertical offset of the tooltip from its default position.\n * @group Props\n */\n positionTop;\n /**\n * Specifies the additional horizontal offset of the tooltip from its default position.\n * @group Props\n */\n positionLeft;\n /**\n * Whether to hide tooltip when hovering over tooltip content.\n * @group Props\n */\n autoHide = true;\n /**\n * Automatically adjusts the element position when there is not enough space on the selected position.\n * @group Props\n */\n fitContent = true;\n /**\n * Whether to hide tooltip on escape key press.\n * @group Props\n */\n hideOnEscape = true;\n /**\n * Content of the tooltip.\n * @group Props\n */\n content;\n /**\n * When present, it specifies that the component should be disabled.\n * @defaultValue false\n * @group Props\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(val) {\n this._disabled = val;\n this.deactivate();\n }\n /**\n * Specifies the tooltip configuration options for the component.\n * @group Props\n */\n tooltipOptions;\n _tooltipOptions = {\n tooltipLabel: null,\n tooltipPosition: 'right',\n tooltipEvent: 'hover',\n appendTo: 'body',\n positionStyle: null,\n tooltipStyleClass: null,\n tooltipZIndex: 'auto',\n escape: true,\n disabled: null,\n showDelay: null,\n hideDelay: null,\n positionTop: null,\n positionLeft: null,\n life: null,\n autoHide: true,\n hideOnEscape: true,\n id: uuid('pn_id_') + '_tooltip'\n };\n _disabled;\n container;\n styleClass;\n tooltipText;\n showTimeout;\n hideTimeout;\n active;\n mouseEnterListener;\n mouseLeaveListener;\n containerMouseleaveListener;\n clickListener;\n focusListener;\n blurListener;\n documentEscapeListener;\n scrollHandler;\n resizeListener;\n _componentStyle = inject(TooltipStyle);\n interactionInProgress = false;\n constructor(zone, viewContainer) {\n super();\n this.zone = zone;\n this.viewContainer = viewContainer;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n if (isPlatformBrowser(this.platformId)) {\n this.zone.runOutsideAngular(() => {\n const tooltipEvent = this.getOption('tooltipEvent');\n if (tooltipEvent === 'hover' || tooltipEvent === 'both') {\n this.mouseEnterListener = this.onMouseEnter.bind(this);\n this.mouseLeaveListener = this.onMouseLeave.bind(this);\n this.clickListener = this.onInputClick.bind(this);\n this.el.nativeElement.addEventListener('mouseenter', this.mouseEnterListener);\n this.el.nativeElement.addEventListener('click', this.clickListener);\n this.el.nativeElement.addEventListener('mouseleave', this.mouseLeaveListener);\n }\n if (tooltipEvent === 'focus' || tooltipEvent === 'both') {\n this.focusListener = this.onFocus.bind(this);\n this.blurListener = this.onBlur.bind(this);\n let target = this.el.nativeElement.querySelector('.p-component');\n if (!target) {\n target = this.getTarget(this.el.nativeElement);\n }\n target.addEventListener('focus', this.focusListener);\n target.addEventListener('blur', this.blurListener);\n }\n });\n }\n }\n ngOnChanges(simpleChange) {\n super.ngOnChanges(simpleChange);\n if (simpleChange.tooltipPosition) {\n this.setOption({\n tooltipPosition: simpleChange.tooltipPosition.currentValue\n });\n }\n if (simpleChange.tooltipEvent) {\n this.setOption({\n tooltipEvent: simpleChange.tooltipEvent.currentValue\n });\n }\n if (simpleChange.appendTo) {\n this.setOption({\n appendTo: simpleChange.appendTo.currentValue\n });\n }\n if (simpleChange.positionStyle) {\n this.setOption({\n positionStyle: simpleChange.positionStyle.currentValue\n });\n }\n if (simpleChange.tooltipStyleClass) {\n this.setOption({\n tooltipStyleClass: simpleChange.tooltipStyleClass.currentValue\n });\n }\n if (simpleChange.tooltipZIndex) {\n this.setOption({\n tooltipZIndex: simpleChange.tooltipZIndex.currentValue\n });\n }\n if (simpleChange.escape) {\n this.setOption({\n escape: simpleChange.escape.currentValue\n });\n }\n if (simpleChange.showDelay) {\n this.setOption({\n showDelay: simpleChange.showDelay.currentValue\n });\n }\n if (simpleChange.hideDelay) {\n this.setOption({\n hideDelay: simpleChange.hideDelay.currentValue\n });\n }\n if (simpleChange.life) {\n this.setOption({\n life: simpleChange.life.currentValue\n });\n }\n if (simpleChange.positionTop) {\n this.setOption({\n positionTop: simpleChange.positionTop.currentValue\n });\n }\n if (simpleChange.positionLeft) {\n this.setOption({\n positionLeft: simpleChange.positionLeft.currentValue\n });\n }\n if (simpleChange.disabled) {\n this.setOption({\n disabled: simpleChange.disabled.currentValue\n });\n }\n if (simpleChange.content) {\n this.setOption({\n tooltipLabel: simpleChange.content.currentValue\n });\n if (this.active) {\n if (simpleChange.content.currentValue) {\n if (this.container && this.container.offsetParent) {\n this.updateText();\n this.align();\n } else {\n this.show();\n }\n } else {\n this.hide();\n }\n }\n }\n if (simpleChange.autoHide) {\n this.setOption({\n autoHide: simpleChange.autoHide.currentValue\n });\n }\n if (simpleChange.id) {\n this.setOption({\n id: simpleChange.id.currentValue\n });\n }\n if (simpleChange.tooltipOptions) {\n this._tooltipOptions = {\n ...this._tooltipOptions,\n ...simpleChange.tooltipOptions.currentValue\n };\n this.deactivate();\n if (this.active) {\n if (this.getOption('tooltipLabel')) {\n if (this.container && this.container.offsetParent) {\n this.updateText();\n this.align();\n } else {\n this.show();\n }\n } else {\n this.hide();\n }\n }\n }\n }\n isAutoHide() {\n return this.getOption('autoHide');\n }\n onMouseEnter(e) {\n if (!this.container && !this.showTimeout) {\n this.activate();\n }\n }\n onMouseLeave(e) {\n if (!this.isAutoHide()) {\n const valid = hasClass(e.relatedTarget, 'p-tooltip') || hasClass(e.relatedTarget, 'p-tooltip-text') || hasClass(e.relatedTarget, 'p-tooltip-arrow');\n !valid && this.deactivate();\n } else {\n this.deactivate();\n }\n }\n onFocus(e) {\n this.activate();\n }\n onBlur(e) {\n this.deactivate();\n }\n onInputClick(e) {\n this.deactivate();\n }\n activate() {\n if (!this.interactionInProgress) {\n this.active = true;\n this.clearHideTimeout();\n if (this.getOption('showDelay')) this.showTimeout = setTimeout(() => {\n this.show();\n }, this.getOption('showDelay'));else this.show();\n if (this.getOption('life')) {\n let duration = this.getOption('showDelay') ? this.getOption('life') + this.getOption('showDelay') : this.getOption('life');\n this.hideTimeout = setTimeout(() => {\n this.hide();\n }, duration);\n }\n if (this.getOption('hideOnEscape')) {\n this.documentEscapeListener = this.renderer.listen('document', 'keydown.escape', () => {\n this.deactivate();\n this.documentEscapeListener();\n });\n }\n this.interactionInProgress = true;\n }\n }\n deactivate() {\n this.interactionInProgress = false;\n this.active = false;\n this.clearShowTimeout();\n if (this.getOption('hideDelay')) {\n this.clearHideTimeout(); //life timeout\n this.hideTimeout = setTimeout(() => {\n this.hide();\n }, this.getOption('hideDelay'));\n } else {\n this.hide();\n }\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n }\n }\n create() {\n if (this.container) {\n this.clearHideTimeout();\n this.remove();\n }\n this.container = document.createElement('div');\n this.container.setAttribute('id', this.getOption('id'));\n this.container.setAttribute('role', 'tooltip');\n let tooltipArrow = document.createElement('div');\n tooltipArrow.className = 'p-tooltip-arrow';\n this.container.appendChild(tooltipArrow);\n this.tooltipText = document.createElement('div');\n this.tooltipText.className = 'p-tooltip-text';\n this.updateText();\n if (this.getOption('positionStyle')) {\n this.container.style.position = this.getOption('positionStyle');\n }\n this.container.appendChild(this.tooltipText);\n if (this.getOption('appendTo') === 'body') document.body.appendChild(this.container);else if (this.getOption('appendTo') === 'target') appendChild(this.container, this.el.nativeElement);else appendChild(this.getOption('appendTo'), this.container);\n this.container.style.display = 'none';\n if (this.fitContent) {\n this.container.style.width = 'fit-content';\n }\n if (this.isAutoHide()) {\n this.container.style.pointerEvents = 'none';\n } else {\n this.container.style.pointerEvents = 'unset';\n this.bindContainerMouseleaveListener();\n }\n }\n bindContainerMouseleaveListener() {\n if (!this.containerMouseleaveListener) {\n const targetEl = this.container ?? this.container.nativeElement;\n this.containerMouseleaveListener = this.renderer.listen(targetEl, 'mouseleave', e => {\n this.deactivate();\n });\n }\n }\n unbindContainerMouseleaveListener() {\n if (this.containerMouseleaveListener) {\n this.bindContainerMouseleaveListener();\n this.containerMouseleaveListener = null;\n }\n }\n show() {\n if (!this.getOption('tooltipLabel') || this.getOption('disabled')) {\n return;\n }\n this.create();\n const nativeElement = this.el.nativeElement;\n const pDialogWrapper = nativeElement.closest('p-dialog');\n if (pDialogWrapper) {\n setTimeout(() => {\n this.container && (this.container.style.display = 'inline-block');\n this.container && this.align();\n }, 100);\n } else {\n this.container.style.display = 'inline-block';\n this.align();\n }\n fadeIn(this.container, 250);\n if (this.getOption('tooltipZIndex') === 'auto') ZIndexUtils.set('tooltip', this.container, this.config.zIndex.tooltip);else this.container.style.zIndex = this.getOption('tooltipZIndex');\n this.bindDocumentResizeListener();\n this.bindScrollListener();\n }\n hide() {\n if (this.getOption('tooltipZIndex') === 'auto') {\n ZIndexUtils.clear(this.container);\n }\n this.remove();\n }\n updateText() {\n const content = this.getOption('tooltipLabel');\n if (content instanceof TemplateRef) {\n const embeddedViewRef = this.viewContainer.createEmbeddedView(content);\n embeddedViewRef.detectChanges();\n embeddedViewRef.rootNodes.forEach(node => this.tooltipText.appendChild(node));\n } else if (this.getOption('escape')) {\n this.tooltipText.innerHTML = '';\n this.tooltipText.appendChild(document.createTextNode(content));\n } else {\n this.tooltipText.innerHTML = content;\n }\n }\n align() {\n let position = this.getOption('tooltipPosition');\n const positionPriority = {\n top: [this.alignTop, this.alignBottom, this.alignRight, this.alignLeft],\n bottom: [this.alignBottom, this.alignTop, this.alignRight, this.alignLeft],\n left: [this.alignLeft, this.alignRight, this.alignTop, this.alignBottom],\n right: [this.alignRight, this.alignLeft, this.alignTop, this.alignBottom]\n };\n for (let [index, alignmentFn] of positionPriority[position].entries()) {\n if (index === 0) alignmentFn.call(this);else if (this.isOutOfBounds()) alignmentFn.call(this);else break;\n }\n }\n getHostOffset() {\n if (this.getOption('appendTo') === 'body' || this.getOption('appendTo') === 'target') {\n let offset = this.el.nativeElement.getBoundingClientRect();\n let targetLeft = offset.left + getWindowScrollLeft();\n let targetTop = offset.top + getWindowScrollTop();\n return {\n left: targetLeft,\n top: targetTop\n };\n } else {\n return {\n left: 0,\n top: 0\n };\n }\n }\n get activeElement() {\n return this.el.nativeElement.nodeName.includes('P-') ? findSingle(this.el.nativeElement, '.p-component') : this.el.nativeElement;\n }\n alignRight() {\n this.preAlign('right');\n const el = this.activeElement;\n const offsetLeft = getOuterWidth(el);\n const offsetTop = (getOuterHeight(el) - getOuterHeight(this.container)) / 2;\n this.alignTooltip(offsetLeft, offsetTop);\n }\n alignLeft() {\n this.preAlign('left');\n let offsetLeft = getOuterWidth(this.container);\n let offsetTop = (getOuterHeight(this.el.nativeElement) - getOuterHeight(this.container)) / 2;\n this.alignTooltip(-offsetLeft, offsetTop);\n }\n alignTop() {\n this.preAlign('top');\n let offsetLeft = (getOuterWidth(this.el.nativeElement) - getOuterWidth(this.container)) / 2;\n let offsetTop = getOuterHeight(this.container);\n this.alignTooltip(offsetLeft, -offsetTop);\n }\n alignBottom() {\n this.preAlign('bottom');\n let offsetLeft = (getOuterWidth(this.el.nativeElement) - getOuterWidth(this.container)) / 2;\n let offsetTop = getOuterHeight(this.el.nativeElement);\n this.alignTooltip(offsetLeft, offsetTop);\n }\n alignTooltip(offsetLeft, offsetTop) {\n let hostOffset = this.getHostOffset();\n let left = hostOffset.left + offsetLeft;\n let top = hostOffset.top + offsetTop;\n this.container.style.left = left + this.getOption('positionLeft') + 'px';\n this.container.style.top = top + this.getOption('positionTop') + 'px';\n }\n setOption(option) {\n this._tooltipOptions = {\n ...this._tooltipOptions,\n ...option\n };\n }\n getOption(option) {\n return this._tooltipOptions[option];\n }\n getTarget(el) {\n return hasClass(el, 'p-inputwrapper') ? findSingle(el, 'input') : el;\n }\n preAlign(position) {\n this.container.style.left = -999 + 'px';\n this.container.style.top = -999 + 'px';\n let defaultClassName = 'p-tooltip p-component p-tooltip-' + position;\n this.container.className = this.getOption('tooltipStyleClass') ? defaultClassName + ' ' + this.getOption('tooltipStyleClass') : defaultClassName;\n }\n isOutOfBounds() {\n let offset = this.container.getBoundingClientRect();\n let targetTop = offset.top;\n let targetLeft = offset.left;\n let width = getOuterWidth(this.container);\n let height = getOuterHeight(this.container);\n let viewport = getViewport();\n return targetLeft + width > viewport.width || targetLeft < 0 || targetTop < 0 || targetTop + height > viewport.height;\n }\n onWindowResize(e) {\n this.hide();\n }\n bindDocumentResizeListener() {\n this.zone.runOutsideAngular(() => {\n this.resizeListener = this.onWindowResize.bind(this);\n window.addEventListener('resize', this.resizeListener);\n });\n }\n unbindDocumentResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n }\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.el.nativeElement, () => {\n if (this.container) {\n this.hide();\n }\n });\n }\n this.scrollHandler.bindScrollListener();\n }\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n }\n unbindEvents() {\n const tooltipEvent = this.getOption('tooltipEvent');\n if (tooltipEvent === 'hover' || tooltipEvent === 'both') {\n this.el.nativeElement.removeEventListener('mouseenter', this.mouseEnterListener);\n this.el.nativeElement.removeEventListener('mouseleave', this.mouseLeaveListener);\n this.el.nativeElement.removeEventListener('click', this.clickListener);\n }\n if (tooltipEvent === 'focus' || tooltipEvent === 'both') {\n let target = this.el.nativeElement.querySelector('.p-component');\n if (!target) {\n target = this.getTarget(this.el.nativeElement);\n }\n target.removeEventListener('focus', this.focusListener);\n target.removeEventListener('blur', this.blurListener);\n }\n this.unbindDocumentResizeListener();\n }\n remove() {\n if (this.container && this.container.parentElement) {\n if (this.getOption('appendTo') === 'body') document.body.removeChild(this.container);else if (this.getOption('appendTo') === 'target') this.el.nativeElement.removeChild(this.container);else removeChild(this.getOption('appendTo'), this.container);\n }\n this.unbindDocumentResizeListener();\n this.unbindScrollListener();\n this.unbindContainerMouseleaveListener();\n this.clearTimeouts();\n this.container = null;\n this.scrollHandler = null;\n }\n clearShowTimeout() {\n if (this.showTimeout) {\n clearTimeout(this.showTimeout);\n this.showTimeout = null;\n }\n }\n clearHideTimeout() {\n if (this.hideTimeout) {\n clearTimeout(this.hideTimeout);\n this.hideTimeout = null;\n }\n }\n clearTimeouts() {\n this.clearShowTimeout();\n this.clearHideTimeout();\n }\n ngOnDestroy() {\n this.unbindEvents();\n super.ngOnDestroy();\n if (this.container) {\n ZIndexUtils.clear(this.container);\n }\n this.remove();\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n }\n }\n static ɵfac = function Tooltip_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || Tooltip)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ViewContainerRef));\n };\n static ɵdir = /*@__PURE__*/i0.ɵɵdefineDirective({\n type: Tooltip,\n selectors: [[\"\", \"pTooltip\", \"\"]],\n inputs: {\n tooltipPosition: \"tooltipPosition\",\n tooltipEvent: \"tooltipEvent\",\n appendTo: \"appendTo\",\n positionStyle: \"positionStyle\",\n tooltipStyleClass: \"tooltipStyleClass\",\n tooltipZIndex: \"tooltipZIndex\",\n escape: [2, \"escape\", \"escape\", booleanAttribute],\n showDelay: [2, \"showDelay\", \"showDelay\", numberAttribute],\n hideDelay: [2, \"hideDelay\", \"hideDelay\", numberAttribute],\n life: [2, \"life\", \"life\", numberAttribute],\n positionTop: [2, \"positionTop\", \"positionTop\", numberAttribute],\n positionLeft: [2, \"positionLeft\", \"positionLeft\", numberAttribute],\n autoHide: [2, \"autoHide\", \"autoHide\", booleanAttribute],\n fitContent: [2, \"fitContent\", \"fitContent\", booleanAttribute],\n hideOnEscape: [2, \"hideOnEscape\", \"hideOnEscape\", booleanAttribute],\n content: [0, \"pTooltip\", \"content\"],\n disabled: [0, \"tooltipDisabled\", \"disabled\"],\n tooltipOptions: \"tooltipOptions\"\n },\n features: [i0.ɵɵProvidersFeature([TooltipStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature]\n });\n }\n return Tooltip;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TooltipModule = /*#__PURE__*/(() => {\n class TooltipModule {\n static ɵfac = function TooltipModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || TooltipModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: TooltipModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({});\n }\n return TooltipModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(TooltipModule, {\n imports: [Tooltip],\n exports: [Tooltip]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Tooltip, TooltipClasses, TooltipModule, TooltipStyle };\n","import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, Input, Output, inject, signal, computed, effect, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, HostBinding, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { deepEquals, isNotEmpty, isEmpty, uuid, findSingle, scrollInView, equals, resolveFieldData, focus, unblockBodyScroll, isPrintableCharacter, findLastIndex, getFirstFocusableElement, getLastFocusableElement, getFocusableElements } from '@primeuix/utils';\nimport * as i2 from 'primeng/api';\nimport { SharedModule, TranslationKeys, PrimeTemplate } from 'primeng/api';\nimport { AutoFocus } from 'primeng/autofocus';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { IconField } from 'primeng/iconfield';\nimport { CheckIcon, BlankIcon, TimesIcon, ChevronDownIcon, SearchIcon } from 'primeng/icons';\nimport { InputIcon } from 'primeng/inputicon';\nimport { InputText } from 'primeng/inputtext';\nimport { Overlay } from 'primeng/overlay';\nimport { Ripple } from 'primeng/ripple';\nimport { Scroller } from 'primeng/scroller';\nimport { Tooltip } from 'primeng/tooltip';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-select {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n background: ${dt('select.background')};\n border: 1px solid ${dt('select.border.color')};\n transition: background ${dt('select.transition.duration')}, color ${dt('select.transition.duration')}, border-color ${dt('select.transition.duration')},\n outline-color ${dt('select.transition.duration')}, box-shadow ${dt('select.transition.duration')};\n border-radius: ${dt('select.border.radius')};\n outline-color: transparent;\n box-shadow: ${dt('select.shadow')};\n}\n\n.p-select.ng-invalid.ng-dirty {\n border-color: ${dt('select.invalid.border.color')};\n}\n\n.p-select:not(.p-disabled):hover {\n border-color: ${dt('select.hover.border.color')};\n}\n\n.p-select:not(.p-disabled).p-focus {\n border-color: ${dt('select.focus.border.color')};\n box-shadow: ${dt('select.focus.ring.shadow')};\n outline: ${dt('select.focus.ring.width')} ${dt('select.focus.ring.style')} ${dt('select.focus.ring.color')};\n outline-offset: ${dt('select.focus.ring.offset')};\n}\n\n.p-select.p-variant-filled {\n background: ${dt('select.filled.background')};\n}\n\n.p-select.p-variant-filled:not(.p-disabled):hover {\n background: ${dt('select.filled.hover.background')};\n}\n\n.p-select.p-variant-filled.p-focus {\n background: ${dt('select.filled.focus.background')};\n}\n\n.p-select.p-disabled {\n opacity: 1;\n background: ${dt('select.disabled.background')};\n}\n\n.p-select-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n color: ${dt('select.clear.icon.color')};\n inset-inline-end: ${dt('select.dropdown.width')};\n}\n\n.p-select-dropdown {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: transparent;\n color: ${dt('select.dropdown.color')};\n width: ${dt('select.dropdown.width')};\n border-start-end-radius: ${dt('select.border.radius')};\n border-end-end-radius: ${dt('select.border.radius')};\n}\n\n.p-select-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n flex: 1 1 auto;\n width: 1%;\n padding: ${dt('select.padding.y')} ${dt('select.padding.x')};\n text-overflow: ellipsis;\n cursor: pointer;\n color: ${dt('select.color')};\n background: transparent;\n border: 0 none;\n outline: 0 none;\n}\n\n.p-select-label.p-placeholder {\n color: ${dt('select.placeholder.color')};\n}\n\n.p-select.ng-invalid.ng-dirty .p-select-label.p-placeholder {\n color: ${dt('select.invalid.placeholder.color')};\n}\n\n.p-select:has(.p-select-clear-icon) .p-select-label {\n padding-inline-end: calc(1rem + ${dt('select.padding.x')});\n}\n\n.p-select.p-disabled .p-select-label {\n color: ${dt('select.disabled.color')};\n}\n\n.p-select-label-empty {\n overflow: hidden;\n opacity: 0;\n}\n\ninput.p-select-label {\n cursor: default;\n}\n\n.p-select .p-select-overlay {\n min-width: 100%;\n}\n\n.p-select-overlay {\n background: ${dt('select.overlay.background')};\n color: ${dt('select.overlay.color')};\n border: 1px solid ${dt('select.overlay.border.color')};\n border-radius: ${dt('select.overlay.border.radius')};\n box-shadow: ${dt('select.overlay.shadow')};\n}\n\n.p-select-header {\n padding: ${dt('select.list.header.padding')};\n}\n\n.p-select-filter {\n width: 100%;\n}\n\n.p-select-list-container {\n overflow: auto;\n}\n\n.p-select-option-group {\n cursor: auto;\n margin: 0;\n padding: ${dt('select.option.group.padding')};\n background: ${dt('select.option.group.background')};\n color: ${dt('select.option.group.color')};\n font-weight: ${dt('select.option.group.font.weight')};\n}\n\n.p-select-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n padding: ${dt('select.list.padding')};\n gap: ${dt('select.list.gap')};\n display: flex;\n flex-direction: column;\n}\n\n.p-select-option {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n display: flex;\n align-items: center;\n padding: ${dt('select.option.padding')};\n border: 0 none;\n color: ${dt('select.option.color')};\n background: transparent;\n transition: background ${dt('select.transition.duration')}, color ${dt('select.transition.duration')}, border-color ${dt('select.transition.duration')},\n box-shadow ${dt('select.transition.duration')}, outline-color ${dt('select.transition.duration')};\n border-radius: ${dt('select.option.border.radius')};\n}\n\n.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus {\n background: ${dt('select.option.focus.background')};\n color: ${dt('select.option.focus.color')};\n}\n\n.p-select-option.p-select-option-selected {\n background: ${dt('select.option.selected.background')};\n color: ${dt('select.option.selected.color')};\n}\n\n.p-select-option.p-select-option-selected.p-focus {\n background: ${dt('select.option.selected.focus.background')};\n color: ${dt('select.option.selected.focus.color')};\n}\n\n.p-select-option-check-icon {\n position: relative;\n margin-inline-start: ${dt('select.checkmark.gutter.start')};\n margin-inline-end: ${dt('select.checkmark.gutter.end')};\n color: ${dt('select.checkmark.color')};\n}\n\n.p-select-empty-message {\n padding: ${dt('select.empty.message.padding')};\n}\n\n.p-select-fluid {\n display: flex;\n}\n\n.p-select-sm .p-select-label {\n font-size: ${dt('select.sm.font.size')};\n padding-block: ${dt('select.sm.padding.y')};\n padding-inline: ${dt('select.sm.padding.x')};\n}\n\n.p-select-sm .p-select-dropdown .p-icon {\n font-size: ${dt('select.sm.font.size')};\n width: ${dt('select.sm.font.size')};\n height: ${dt('select.sm.font.size')};\n}\n\n.p-select-lg .p-select-label {\n font-size: ${dt('select.lg.font.size')};\n padding-block: ${dt('select.lg.padding.y')};\n padding-inline: ${dt('select.lg.padding.x')};\n}\n\n.p-select-lg .p-select-dropdown .p-icon {\n font-size: ${dt('select.lg.font.size')};\n width: ${dt('select.lg.font.size')};\n height: ${dt('select.lg.font.size')};\n}\n`;\nconst classes = {\n root: ({\n instance\n }) => ['p-select p-component p-inputwrapper', {\n 'p-disabled': instance.disabled,\n 'p-variant-filled': instance.variant === 'filled' || instance.config.inputVariant() === 'filled' || instance.config.inputStyle() === 'filled',\n 'p-focus': instance.focused,\n 'p-inputwrapper-filled': instance.modelValue() !== undefined && instance.modelValue() !== null,\n 'p-inputwrapper-focus': instance.focused || instance.overlayVisible,\n 'p-select-open': instance.overlayVisible,\n 'p-select-fluid': instance.hasFluid,\n 'p-select-sm p-inputfield-sm': instance.size === 'small',\n 'p-select-lg p-inputfield-lg': instance.size === 'large'\n }],\n label: ({\n instance,\n props\n }) => ['p-select-label', {\n 'p-placeholder': !props.editable && instance.label === props.placeholder,\n 'p-select-label-empty': !props.editable && !instance.$slots['value'] && (instance.label === 'p-emptylabel' || instance.label.length === 0)\n }],\n clearIcon: 'p-select-clear-icon',\n dropdown: 'p-select-dropdown',\n loadingicon: 'p-select-loading-icon',\n dropdownIcon: 'p-select-dropdown-icon',\n overlay: 'p-select-overlay p-component',\n header: 'p-select-header',\n pcFilter: 'p-select-filter',\n listContainer: 'p-select-list-container',\n list: 'p-select-list',\n optionGroup: 'p-select-option-group',\n optionGroupLabel: 'p-select-option-group-label',\n option: ({\n instance,\n props,\n state,\n option,\n focusedOption\n }) => ['p-select-option', {\n 'p-select-option-selected': instance.isSelected(option) && props.highlightOnSelect,\n 'p-focus': state.focusedOptionIndex === focusedOption,\n 'p-disabled': instance.isOptionDisabled(option)\n }],\n optionLabel: 'p-select-option-label',\n optionCheckIcon: 'p-select-option-check-icon',\n optionBlankIcon: 'p-select-option-blank-icon',\n emptyMessage: 'p-select-empty-message'\n};\nlet SelectStyle = /*#__PURE__*/(() => {\n class SelectStyle extends BaseStyle {\n name = 'select';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵSelectStyle_BaseFactory;\n return function SelectStyle_Factory(__ngFactoryType__) {\n return (ɵSelectStyle_BaseFactory || (ɵSelectStyle_BaseFactory = i0.ɵɵgetInheritedFactory(SelectStyle)))(__ngFactoryType__ || SelectStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: SelectStyle,\n factory: SelectStyle.ɵfac\n });\n }\n return SelectStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Select also known as Select, is used to choose an item from a collection of options.\n *\n * [Live Demo](https://www.primeng.org/select/)\n *\n * @module selectstyle\n *\n */\nvar SelectClasses = /*#__PURE__*/function (SelectClasses) {\n /**\n * Class name of the root element\n */\n SelectClasses[\"root\"] = \"p-select\";\n /**\n * Class name of the label element\n */\n SelectClasses[\"label\"] = \"p-select-label\";\n /**\n * Class name of the clear icon element\n */\n SelectClasses[\"clearIcon\"] = \"p-select-clear-icon\";\n /**\n * Class name of the dropdown element\n */\n SelectClasses[\"dropdown\"] = \"p-select-dropdown\";\n /**\n * Class name of the loadingicon element\n */\n SelectClasses[\"loadingicon\"] = \"p-select-loading-icon\";\n /**\n * Class name of the dropdown icon element\n */\n SelectClasses[\"dropdownIcon\"] = \"p-select-dropdown-icon\";\n /**\n * Class name of the overlay element\n */\n SelectClasses[\"overlay\"] = \"p-select-overlay\";\n /**\n * Class name of the header element\n */\n SelectClasses[\"header\"] = \"p-select-header\";\n /**\n * Class name of the filter element\n */\n SelectClasses[\"pcFilter\"] = \"p-select-filter\";\n /**\n * Class name of the list container element\n */\n SelectClasses[\"listContainer\"] = \"p-select-list-container\";\n /**\n * Class name of the list element\n */\n SelectClasses[\"list\"] = \"p-select-list\";\n /**\n * Class name of the option group element\n */\n SelectClasses[\"optionGroup\"] = \"p-select-option-group\";\n /**\n * Class name of the option group label element\n */\n SelectClasses[\"optionGroupLabel\"] = \"p-select-option-group-label\";\n /**\n * Class name of the option element\n */\n SelectClasses[\"option\"] = \"p-select-option\";\n /**\n * Class name of the option label element\n */\n SelectClasses[\"optionLabel\"] = \"p-select-option-label\";\n /**\n * Class name of the option check icon element\n */\n SelectClasses[\"optionCheckIcon\"] = \"p-select-option-check-icon\";\n /**\n * Class name of the option blank icon element\n */\n SelectClasses[\"optionBlankIcon\"] = \"p-select-option-blank-icon\";\n /**\n * Class name of the empty message element\n */\n SelectClasses[\"emptyMessage\"] = \"p-select-empty-message\";\n return SelectClasses;\n}(SelectClasses || {});\nconst _c0 = a0 => ({\n height: a0\n});\nconst _c1 = (a0, a1, a2) => ({\n \"p-select-option\": true,\n \"p-select-option-selected\": a0,\n \"p-disabled\": a1,\n \"p-focus\": a2\n});\nconst _c2 = a0 => ({\n $implicit: a0\n});\nfunction SelectItem_ng_container_1_CheckIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"CheckIcon\", 5);\n }\n}\nfunction SelectItem_ng_container_1_BlankIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"BlankIcon\", 6);\n }\n}\nfunction SelectItem_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, SelectItem_ng_container_1_CheckIcon_1_Template, 1, 0, \"CheckIcon\", 3)(2, SelectItem_ng_container_1_BlankIcon_2_Template, 1, 0, \"BlankIcon\", 4);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r0.selected);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r0.selected);\n }\n}\nfunction SelectItem_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n let tmp_1_0;\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate((tmp_1_0 = ctx_r0.label) !== null && tmp_1_0 !== undefined ? tmp_1_0 : \"empty\");\n }\n}\nfunction SelectItem_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nconst _c3 = [\"item\"];\nconst _c4 = [\"group\"];\nconst _c5 = [\"loader\"];\nconst _c6 = [\"selectedItem\"];\nconst _c7 = [\"header\"];\nconst _c8 = [\"filter\"];\nconst _c9 = [\"footer\"];\nconst _c10 = [\"emptyfilter\"];\nconst _c11 = [\"empty\"];\nconst _c12 = [\"dropdownicon\"];\nconst _c13 = [\"loadingicon\"];\nconst _c14 = [\"clearicon\"];\nconst _c15 = [\"filtericon\"];\nconst _c16 = [\"onicon\"];\nconst _c17 = [\"officon\"];\nconst _c18 = [\"cancelicon\"];\nconst _c19 = [\"focusInput\"];\nconst _c20 = [\"editableInput\"];\nconst _c21 = [\"items\"];\nconst _c22 = [\"scroller\"];\nconst _c23 = [\"overlay\"];\nconst _c24 = [\"firstHiddenFocusableEl\"];\nconst _c25 = [\"lastHiddenFocusableEl\"];\nconst _c26 = () => ({\n class: \"p-select-clear-icon\"\n});\nconst _c27 = () => ({\n class: \"p-select-dropdown-icon\"\n});\nconst _c28 = a0 => ({\n options: a0\n});\nconst _c29 = (a0, a1) => ({\n $implicit: a0,\n options: a1\n});\nconst _c30 = () => ({});\nfunction Select_span_0_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r2.label() === \"p-emptylabel\" ? \"\\u00A0\" : ctx_r2.label());\n }\n}\nfunction Select_span_0_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0, 24);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.selectedItemTemplate || ctx_r2._selectedItemTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c2, ctx_r2.selectedOption));\n }\n}\nfunction Select_span_0_ng_template_4_span_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r2.label() === \"p-emptylabel\" ? \"\\u00A0\" : ctx_r2.label());\n }\n}\nfunction Select_span_0_ng_template_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_span_0_ng_template_4_span_0_Template, 2, 1, \"span\", 18);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.selectedOption);\n }\n}\nfunction Select_span_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 22, 3);\n i0.ɵɵlistener(\"focus\", function Select_span_0_Template_span_focus_0_listener($event) {\n i0.ɵɵrestoreView(_r2);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onInputFocus($event));\n })(\"blur\", function Select_span_0_Template_span_blur_0_listener($event) {\n i0.ɵɵrestoreView(_r2);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onInputBlur($event));\n })(\"keydown\", function Select_span_0_Template_span_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r2);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onKeyDown($event));\n });\n i0.ɵɵtemplate(2, Select_span_0_ng_container_2_Template, 2, 1, \"ng-container\", 20)(3, Select_span_0_ng_container_3_Template, 1, 4, \"ng-container\", 23)(4, Select_span_0_ng_template_4_Template, 1, 1, \"ng-template\", null, 4, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n let tmp_17_0;\n const defaultPlaceholder_r4 = i0.ɵɵreference(5);\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngClass\", ctx_r2.inputClass)(\"pTooltip\", ctx_r2.tooltip)(\"tooltipPosition\", ctx_r2.tooltipPosition)(\"positionStyle\", ctx_r2.tooltipPositionStyle)(\"tooltipStyleClass\", ctx_r2.tooltipStyleClass)(\"pAutoFocus\", ctx_r2.autofocus);\n i0.ɵɵattribute(\"aria-disabled\", ctx_r2.disabled)(\"id\", ctx_r2.inputId)(\"aria-label\", ctx_r2.ariaLabel || (ctx_r2.label() === \"p-emptylabel\" ? undefined : ctx_r2.label()))(\"aria-labelledby\", ctx_r2.ariaLabelledBy)(\"aria-haspopup\", \"listbox\")(\"aria-expanded\", (tmp_17_0 = ctx_r2.overlayVisible) !== null && tmp_17_0 !== undefined ? tmp_17_0 : false)(\"aria-controls\", ctx_r2.overlayVisible ? ctx_r2.id + \"_list\" : null)(\"tabindex\", !ctx_r2.disabled ? ctx_r2.tabindex : -1)(\"aria-activedescendant\", ctx_r2.focused ? ctx_r2.focusedOptionId : undefined)(\"aria-required\", ctx_r2.required)(\"required\", ctx_r2.required);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.selectedItemTemplate && !ctx_r2._selectedItemTemplate)(\"ngIfElse\", defaultPlaceholder_r4);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", (ctx_r2.selectedItemTemplate || ctx_r2._selectedItemTemplate) && ctx_r2.selectedOption);\n }\n}\nfunction Select_input_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"input\", 25, 5);\n i0.ɵɵlistener(\"input\", function Select_input_1_Template_input_input_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onEditableInput($event));\n })(\"keydown\", function Select_input_1_Template_input_keydown_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onKeyDown($event));\n })(\"focus\", function Select_input_1_Template_input_focus_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onInputFocus($event));\n })(\"blur\", function Select_input_1_Template_input_blur_0_listener($event) {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onInputBlur($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngClass\", ctx_r2.inputClass)(\"disabled\", ctx_r2.disabled)(\"pAutoFocus\", ctx_r2.autofocus);\n i0.ɵɵattribute(\"id\", ctx_r2.inputId)(\"maxlength\", ctx_r2.maxlength)(\"placeholder\", ctx_r2.modelValue() === undefined || ctx_r2.modelValue() === null ? ctx_r2.placeholder() : undefined)(\"aria-label\", ctx_r2.ariaLabel || (ctx_r2.label() === \"p-emptylabel\" ? undefined : ctx_r2.label()))(\"aria-activedescendant\", ctx_r2.focused ? ctx_r2.focusedOptionId : undefined);\n }\n}\nfunction Select_ng_container_2_TimesIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"TimesIcon\", 27);\n i0.ɵɵlistener(\"click\", function Select_ng_container_2_TimesIcon_1_Template_TimesIcon_click_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.clear($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"data-pc-section\", \"clearicon\");\n }\n}\nfunction Select_ng_container_2_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction Select_ng_container_2_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_container_2_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Select_ng_container_2_span_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r7 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"span\", 27);\n i0.ɵɵlistener(\"click\", function Select_ng_container_2_span_2_Template_span_click_0_listener($event) {\n i0.ɵɵrestoreView(_r7);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.clear($event));\n });\n i0.ɵɵtemplate(1, Select_ng_container_2_span_2_1_Template, 1, 0, null, 28);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"clearicon\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.clearIconTemplate || ctx_r2._clearIconTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction0(3, _c26));\n }\n}\nfunction Select_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_container_2_TimesIcon_1_Template, 1, 1, \"TimesIcon\", 26)(2, Select_ng_container_2_span_2_Template, 2, 4, \"span\", 26);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.clearIconTemplate && !ctx_r2._clearIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.clearIconTemplate || ctx_r2._clearIconTemplate);\n }\n}\nfunction Select_ng_container_4_ng_container_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_container_4_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_container_4_ng_container_1_ng_container_1_Template, 1, 0, \"ng-container\", 29);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.loadingIconTemplate || ctx_r2._loadingIconTemplate);\n }\n}\nfunction Select_ng_container_4_ng_container_2_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 32);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngClass\", \"p-select-loading-icon pi-spin \" + ctx_r2.loadingIcon);\n }\n}\nfunction Select_ng_container_4_ng_container_2_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 33);\n }\n if (rf & 2) {\n i0.ɵɵclassMap(\"p-select-loading-icon pi pi-spinner pi-spin\");\n }\n}\nfunction Select_ng_container_4_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_container_4_ng_container_2_span_1_Template, 1, 1, \"span\", 30)(2, Select_ng_container_4_ng_container_2_span_2_Template, 1, 2, \"span\", 31);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.loadingIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.loadingIcon);\n }\n}\nfunction Select_ng_container_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_container_4_ng_container_1_Template, 2, 1, \"ng-container\", 18)(2, Select_ng_container_4_ng_container_2_Template, 3, 2, \"ng-container\", 18);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.loadingIconTemplate || ctx_r2._loadingIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.loadingIconTemplate && !ctx_r2._loadingIconTemplate);\n }\n}\nfunction Select_ng_template_5_ng_container_0_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 37);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngClass\", ctx_r2.dropdownIcon);\n }\n}\nfunction Select_ng_template_5_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"ChevronDownIcon\", 38);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-select-dropdown-icon\");\n }\n}\nfunction Select_ng_template_5_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_template_5_ng_container_0_span_1_Template, 1, 1, \"span\", 35)(2, Select_ng_template_5_ng_container_0_ChevronDownIcon_2_Template, 1, 1, \"ChevronDownIcon\", 36);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.dropdownIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.dropdownIcon);\n }\n}\nfunction Select_ng_template_5_span_1_1_ng_template_0_Template(rf, ctx) {}\nfunction Select_ng_template_5_span_1_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_5_span_1_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Select_ng_template_5_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 39);\n i0.ɵɵtemplate(1, Select_ng_template_5_span_1_1_Template, 1, 0, null, 28);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.dropdownIconTemplate || ctx_r2._dropdownIconTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction0(2, _c27));\n }\n}\nfunction Select_ng_template_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_5_ng_container_0_Template, 3, 2, \"ng-container\", 18)(1, Select_ng_template_5_span_1_Template, 2, 3, \"span\", 34);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.dropdownIconTemplate && !ctx_r2._dropdownIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.dropdownIconTemplate || ctx_r2._dropdownIconTemplate);\n }\n}\nfunction Select_ng_template_9_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_div_4_ng_container_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_div_4_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_template_9_div_4_ng_container_1_ng_container_1_Template, 1, 0, \"ng-container\", 28);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.filterTemplate || ctx_r2._filterTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c28, ctx_r2.filterOptions));\n }\n}\nfunction Select_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"SearchIcon\");\n }\n}\nfunction Select_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template(rf, ctx) {}\nfunction Select_ng_template_9_div_4_ng_template_2_span_5_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Select_ng_template_9_div_4_ng_template_2_span_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtemplate(1, Select_ng_template_9_div_4_ng_template_2_span_5_1_Template, 1, 0, null, 29);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.filterIconTemplate || ctx_r2._filterIconTemplate);\n }\n}\nfunction Select_ng_template_9_div_4_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r10 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-iconfield\")(1, \"input\", 46, 10);\n i0.ɵɵlistener(\"input\", function Select_ng_template_9_div_4_ng_template_2_Template_input_input_1_listener($event) {\n i0.ɵɵrestoreView(_r10);\n const ctx_r2 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r2.onFilterInputChange($event));\n })(\"keydown\", function Select_ng_template_9_div_4_ng_template_2_Template_input_keydown_1_listener($event) {\n i0.ɵɵrestoreView(_r10);\n const ctx_r2 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r2.onFilterKeyDown($event));\n })(\"blur\", function Select_ng_template_9_div_4_ng_template_2_Template_input_blur_1_listener($event) {\n i0.ɵɵrestoreView(_r10);\n const ctx_r2 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r2.onFilterBlur($event));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"p-inputicon\");\n i0.ɵɵtemplate(4, Select_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template, 1, 0, \"SearchIcon\", 18)(5, Select_ng_template_9_div_4_ng_template_2_span_5_Template, 2, 1, \"span\", 18);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"pSize\", ctx_r2.size)(\"value\", ctx_r2._filterValue() || \"\")(\"variant\", ctx_r2.variant);\n i0.ɵɵattribute(\"placeholder\", ctx_r2.filterPlaceholder)(\"aria-owns\", ctx_r2.id + \"_list\")(\"aria-label\", ctx_r2.ariaFilterLabel)(\"aria-activedescendant\", ctx_r2.focusedOptionId);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.filterIconTemplate && !ctx_r2._filterIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.filterIconTemplate || ctx_r2._filterIconTemplate);\n }\n}\nfunction Select_ng_template_9_div_4_Template(rf, ctx) {\n if (rf & 1) {\n const _r9 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 45);\n i0.ɵɵlistener(\"click\", function Select_ng_template_9_div_4_Template_div_click_0_listener($event) {\n i0.ɵɵrestoreView(_r9);\n return i0.ɵɵresetView($event.stopPropagation());\n });\n i0.ɵɵtemplate(1, Select_ng_template_9_div_4_ng_container_1_Template, 2, 4, \"ng-container\", 20)(2, Select_ng_template_9_div_4_ng_template_2_Template, 6, 9, \"ng-template\", null, 9, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const builtInFilterElement_r11 = i0.ɵɵreference(3);\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.filterTemplate || ctx_r2._filterTemplate)(\"ngIfElse\", builtInFilterElement_r11);\n }\n}\nfunction Select_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_p_scroller_6_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, \"ng-container\", 28);\n }\n if (rf & 2) {\n const items_r13 = ctx.$implicit;\n const scrollerOptions_r14 = ctx.options;\n i0.ɵɵnextContext(2);\n const buildInItems_r15 = i0.ɵɵreference(9);\n i0.ɵɵproperty(\"ngTemplateOutlet\", buildInItems_r15)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c29, items_r13, scrollerOptions_r14));\n }\n}\nfunction Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, \"ng-container\", 28);\n }\n if (rf & 2) {\n const scrollerOptions_r16 = ctx.options;\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.loaderTemplate || ctx_r2._loaderTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c28, scrollerOptions_r16));\n }\n}\nfunction Select_ng_template_9_p_scroller_6_ng_container_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, \"ng-template\", null, 12, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction Select_ng_template_9_p_scroller_6_Template(rf, ctx) {\n if (rf & 1) {\n const _r12 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-scroller\", 47, 11);\n i0.ɵɵlistener(\"onLazyLoad\", function Select_ng_template_9_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener($event) {\n i0.ɵɵrestoreView(_r12);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.onLazyLoad.emit($event));\n });\n i0.ɵɵtemplate(2, Select_ng_template_9_p_scroller_6_ng_template_2_Template, 1, 5, \"ng-template\", null, 2, i0.ɵɵtemplateRefExtractor)(4, Select_ng_template_9_p_scroller_6_ng_container_4_Template, 3, 0, \"ng-container\", 18);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8, _c0, ctx_r2.scrollHeight));\n i0.ɵɵproperty(\"items\", ctx_r2.visibleOptions())(\"itemSize\", ctx_r2.virtualScrollItemSize || ctx_r2._itemSize)(\"autoSize\", true)(\"lazy\", ctx_r2.lazy)(\"options\", ctx_r2.virtualScrollOptions);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.loaderTemplate || ctx_r2._loaderTemplate);\n }\n}\nfunction Select_ng_template_9_ng_container_7_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_ng_container_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Select_ng_template_9_ng_container_7_ng_container_1_Template, 1, 0, \"ng-container\", 28);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n i0.ɵɵnextContext();\n const buildInItems_r15 = i0.ɵɵreference(9);\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", buildInItems_r15)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(3, _c29, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c30)));\n }\n}\nfunction Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const option_r17 = i0.ɵɵnextContext(2).$implicit;\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));\n }\n}\nfunction Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"li\", 51);\n i0.ɵɵtemplate(2, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, \"span\", 18)(3, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, \"ng-container\", 28);\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r17 = i0.ɵɵnextContext();\n const option_r17 = ctx_r17.$implicit;\n const i_r19 = ctx_r17.index;\n const scrollerOptions_r20 = i0.ɵɵnextContext().options;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(5, _c0, scrollerOptions_r20.itemSize + \"px\"));\n i0.ɵɵattribute(\"id\", ctx_r2.id + \"_\" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.groupTemplate && !ctx_r2._groupTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.groupTemplate || ctx_r2._groupTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(7, _c2, option_r17.optionGroup));\n }\n}\nfunction Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r21 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"p-selectItem\", 52);\n i0.ɵɵlistener(\"onClick\", function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template_p_selectItem_onClick_1_listener($event) {\n i0.ɵɵrestoreView(_r21);\n const option_r17 = i0.ɵɵnextContext().$implicit;\n const ctx_r2 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r2.onOptionSelect($event, option_r17));\n })(\"onMouseEnter\", function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template_p_selectItem_onMouseEnter_1_listener($event) {\n i0.ɵɵrestoreView(_r21);\n const i_r19 = i0.ɵɵnextContext().index;\n const scrollerOptions_r20 = i0.ɵɵnextContext().options;\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.onOptionMouseEnter($event, ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20)));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r17 = i0.ɵɵnextContext();\n const option_r17 = ctx_r17.$implicit;\n const i_r19 = ctx_r17.index;\n const scrollerOptions_r20 = i0.ɵɵnextContext().options;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"id\", ctx_r2.id + \"_\" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))(\"option\", option_r17)(\"checkmark\", ctx_r2.checkmark)(\"selected\", ctx_r2.isSelected(option_r17))(\"label\", ctx_r2.getOptionLabel(option_r17))(\"disabled\", ctx_r2.isOptionDisabled(option_r17))(\"template\", ctx_r2.itemTemplate || ctx_r2._itemTemplate)(\"focused\", ctx_r2.focusedOptionIndex() === ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))(\"ariaPosInset\", ctx_r2.getAriaPosInset(ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20)))(\"ariaSetSize\", ctx_r2.ariaSetSize);\n }\n}\nfunction Select_ng_template_9_ng_template_8_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, \"ng-container\", 18)(1, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template, 2, 10, \"ng-container\", 18);\n }\n if (rf & 2) {\n const option_r17 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.isOptionGroup(option_r17));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.isOptionGroup(option_r17));\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_3_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtext(0);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.emptyFilterMessageLabel, \" \");\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0, null, 14);\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_3_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 2, 0, \"ng-container\", 29);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.emptyFilterTemplate || ctx_r2._emptyFilterTemplate || ctx_r2.emptyTemplate || ctx_r2._emptyTemplate);\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 53);\n i0.ɵɵtemplate(1, Select_ng_template_9_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, Select_ng_template_9_ng_template_8_li_3_Conditional_2_Template, 1, 1, \"ng-container\");\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const scrollerOptions_r20 = i0.ɵɵnextContext().options;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r20.itemSize + \"px\"));\n i0.ɵɵadvance();\n i0.ɵɵconditional(!ctx_r2.emptyFilterTemplate && !ctx_r2._emptyFilterTemplate && !ctx_r2.emptyTemplate ? 1 : 2);\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_4_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtext(0);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.emptyMessageLabel, \" \");\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0, null, 15);\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_4_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Select_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 2, 0, \"ng-container\", 29);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.emptyTemplate || ctx_r2._emptyTemplate);\n }\n}\nfunction Select_ng_template_9_ng_template_8_li_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 53);\n i0.ɵɵtemplate(1, Select_ng_template_9_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, Select_ng_template_9_ng_template_8_li_4_Conditional_2_Template, 1, 1, \"ng-container\");\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const scrollerOptions_r20 = i0.ɵɵnextContext().options;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r20.itemSize + \"px\"));\n i0.ɵɵadvance();\n i0.ɵɵconditional(!ctx_r2.emptyTemplate && !ctx_r2._emptyTemplate ? 1 : 2);\n }\n}\nfunction Select_ng_template_9_ng_template_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"ul\", 48, 13);\n i0.ɵɵtemplate(2, Select_ng_template_9_ng_template_8_ng_template_2_Template, 2, 2, \"ng-template\", 49)(3, Select_ng_template_9_ng_template_8_li_3_Template, 3, 4, \"li\", 50)(4, Select_ng_template_9_ng_template_8_li_4_Template, 3, 4, \"li\", 50);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const items_r22 = ctx.$implicit;\n const scrollerOptions_r20 = ctx.options;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵstyleMap(scrollerOptions_r20.contentStyle);\n i0.ɵɵproperty(\"ngClass\", scrollerOptions_r20.contentStyleClass);\n i0.ɵɵattribute(\"id\", ctx_r2.id + \"_list\")(\"aria-label\", ctx_r2.listLabel);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", items_r22);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.filterValue && ctx_r2.isEmpty());\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.filterValue && ctx_r2.isEmpty());\n }\n}\nfunction Select_ng_template_9_ng_container_10_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Select_ng_template_9_Template(rf, ctx) {\n if (rf & 1) {\n const _r8 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 40)(1, \"span\", 41, 6);\n i0.ɵɵlistener(\"focus\", function Select_ng_template_9_Template_span_focus_1_listener($event) {\n i0.ɵɵrestoreView(_r8);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onFirstHiddenFocus($event));\n });\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, Select_ng_template_9_ng_container_3_Template, 1, 0, \"ng-container\", 29)(4, Select_ng_template_9_div_4_Template, 4, 2, \"div\", 42);\n i0.ɵɵelementStart(5, \"div\", 43);\n i0.ɵɵtemplate(6, Select_ng_template_9_p_scroller_6_Template, 5, 10, \"p-scroller\", 44)(7, Select_ng_template_9_ng_container_7_Template, 2, 6, \"ng-container\", 18)(8, Select_ng_template_9_ng_template_8_Template, 5, 8, \"ng-template\", null, 7, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(10, Select_ng_template_9_ng_container_10_Template, 1, 0, \"ng-container\", 29);\n i0.ɵɵelementStart(11, \"span\", 41, 8);\n i0.ɵɵlistener(\"focus\", function Select_ng_template_9_Template_span_focus_11_listener($event) {\n i0.ɵɵrestoreView(_r8);\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.onLastHiddenFocus($event));\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵclassMap(ctx_r2.panelStyleClass);\n i0.ɵɵproperty(\"ngClass\", \"p-select-overlay p-component\")(\"ngStyle\", ctx_r2.panelStyle);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"tabindex\", 0)(\"data-p-hidden-accessible\", true)(\"data-p-hidden-focusable\", true);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.headerTemplate || ctx_r2._headerTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.filter);\n i0.ɵɵadvance();\n i0.ɵɵstyleProp(\"max-height\", ctx_r2.virtualScroll ? \"auto\" : ctx_r2.scrollHeight || \"auto\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.virtualScroll);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r2.virtualScroll);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.footerTemplate || ctx_r2._footerTemplate);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"tabindex\", 0)(\"data-p-hidden-accessible\", true)(\"data-p-hidden-focusable\", true);\n }\n}\nconst SELECT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Select),\n multi: true\n};\nlet SelectItem = /*#__PURE__*/(() => {\n class SelectItem extends BaseComponent {\n id;\n option;\n selected;\n focused;\n label;\n disabled;\n visible;\n itemSize;\n ariaPosInset;\n ariaSetSize;\n template;\n checkmark;\n onClick = new EventEmitter();\n onMouseEnter = new EventEmitter();\n onOptionClick(event) {\n this.onClick.emit(event);\n }\n onOptionMouseEnter(event) {\n this.onMouseEnter.emit(event);\n }\n static ɵfac = /*@__PURE__*/(() => {\n let ɵSelectItem_BaseFactory;\n return function SelectItem_Factory(__ngFactoryType__) {\n return (ɵSelectItem_BaseFactory || (ɵSelectItem_BaseFactory = i0.ɵɵgetInheritedFactory(SelectItem)))(__ngFactoryType__ || SelectItem);\n };\n })();\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: SelectItem,\n selectors: [[\"p-selectItem\"]],\n inputs: {\n id: \"id\",\n option: \"option\",\n selected: [2, \"selected\", \"selected\", booleanAttribute],\n focused: [2, \"focused\", \"focused\", booleanAttribute],\n label: \"label\",\n disabled: [2, \"disabled\", \"disabled\", booleanAttribute],\n visible: [2, \"visible\", \"visible\", booleanAttribute],\n itemSize: [2, \"itemSize\", \"itemSize\", numberAttribute],\n ariaPosInset: \"ariaPosInset\",\n ariaSetSize: \"ariaSetSize\",\n template: \"template\",\n checkmark: [2, \"checkmark\", \"checkmark\", booleanAttribute]\n },\n outputs: {\n onClick: \"onClick\",\n onMouseEnter: \"onMouseEnter\"\n },\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature],\n decls: 4,\n vars: 22,\n consts: [[\"role\", \"option\", \"pRipple\", \"\", 3, \"click\", \"mouseenter\", \"id\", \"ngStyle\", \"ngClass\"], [4, \"ngIf\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [\"styleClass\", \"p-select-option-check-icon\", 4, \"ngIf\"], [\"styleClass\", \"p-select-option-blank-icon\", 4, \"ngIf\"], [\"styleClass\", \"p-select-option-check-icon\"], [\"styleClass\", \"p-select-option-blank-icon\"]],\n template: function SelectItem_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 0);\n i0.ɵɵlistener(\"click\", function SelectItem_Template_li_click_0_listener($event) {\n return ctx.onOptionClick($event);\n })(\"mouseenter\", function SelectItem_Template_li_mouseenter_0_listener($event) {\n return ctx.onOptionMouseEnter($event);\n });\n i0.ɵɵtemplate(1, SelectItem_ng_container_1_Template, 3, 2, \"ng-container\", 1)(2, SelectItem_span_2_Template, 2, 1, \"span\", 1)(3, SelectItem_ng_container_3_Template, 1, 0, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"id\", ctx.id)(\"ngStyle\", i0.ɵɵpureFunction1(14, _c0, ctx.itemSize + \"px\"))(\"ngClass\", i0.ɵɵpureFunction3(16, _c1, ctx.selected && !ctx.checkmark, ctx.disabled, ctx.focused));\n i0.ɵɵattribute(\"aria-label\", ctx.label)(\"aria-setsize\", ctx.ariaSetSize)(\"aria-posinset\", ctx.ariaPosInset)(\"aria-selected\", ctx.selected)(\"data-p-focused\", ctx.focused)(\"data-p-highlight\", ctx.selected)(\"data-p-disabled\", ctx.disabled);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.checkmark);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx.template);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx.template)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(20, _c2, ctx.option));\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, SharedModule, Ripple, CheckIcon, BlankIcon],\n encapsulation: 2\n });\n }\n return SelectItem;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Select is used to choose an item from a collection of options.\n * @group Components\n */\nlet Select = /*#__PURE__*/(() => {\n class Select extends BaseComponent {\n zone;\n filterService;\n /**\n * Unique identifier of the component\n * @group Props\n */\n id;\n /**\n * Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.\n * @group Props\n */\n scrollHeight = '200px';\n /**\n * When specified, displays an input field to filter the items on keyup.\n * @group Props\n */\n filter;\n /**\n * Name of the input element.\n * @group Props\n */\n name;\n /**\n * Inline style of the element.\n * @group Props\n */\n style;\n /**\n * Inline style of the overlay panel element.\n * @group Props\n */\n panelStyle;\n /**\n * Style class of the element.\n * @group Props\n */\n styleClass;\n /**\n * Style class of the overlay panel element.\n * @group Props\n */\n panelStyleClass;\n /**\n * When present, it specifies that the component cannot be edited.\n * @group Props\n */\n readonly;\n /**\n * When present, it specifies that an input field must be filled out before submitting the form.\n * @group Props\n */\n required;\n /**\n * When present, custom value instead of predefined options can be entered using the editable input field.\n * @group Props\n */\n editable;\n /**\n * Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n tabindex = 0;\n /**\n * Default text to display when no option is selected.\n * @group Props\n */\n set placeholder(val) {\n this._placeholder.set(val);\n }\n get placeholder() {\n return this._placeholder.asReadonly();\n }\n /**\n * Icon to display in loading state.\n * @group Props\n */\n loadingIcon;\n /**\n * Placeholder text to show when filter input is empty.\n * @group Props\n */\n filterPlaceholder;\n /**\n * Locale to use in filtering. The default locale is the host environment's current locale.\n * @group Props\n */\n filterLocale;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n variant;\n /**\n * Identifier of the accessible input element.\n * @group Props\n */\n inputId;\n /**\n * A property to uniquely identify a value in options.\n * @group Props\n */\n dataKey;\n /**\n * When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.\n * @group Props\n */\n filterBy;\n /**\n * Fields used when filtering the options, defaults to optionLabel.\n * @group Props\n */\n filterFields;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n autofocus;\n /**\n * Clears the filter value when hiding the select.\n * @group Props\n */\n resetFilterOnHide = false;\n /**\n * Whether the selected option will be shown with a check mark.\n * @group Props\n */\n checkmark = false;\n /**\n * Icon class of the select icon.\n * @group Props\n */\n dropdownIcon;\n /**\n * Whether the select is in loading state.\n * @group Props\n */\n loading = false;\n /**\n * Name of the label field of an option.\n * @group Props\n */\n optionLabel;\n /**\n * Name of the value field of an option.\n * @group Props\n */\n optionValue;\n /**\n * Name of the disabled field of an option.\n * @group Props\n */\n optionDisabled;\n /**\n * Name of the label field of an option group.\n * @group Props\n */\n optionGroupLabel = 'label';\n /**\n * Name of the options field of an option group.\n * @group Props\n */\n optionGroupChildren = 'items';\n /**\n * Whether to display the first item as the label if no placeholder is defined and value is null.\n * @deprecated since v17.3.0, set initial value by model instead.\n * @group Props\n */\n autoDisplayFirst = true;\n /**\n * Whether to display options as grouped when nested options are provided.\n * @group Props\n */\n group;\n /**\n * When enabled, a clear icon is displayed to clear the value.\n * @group Props\n */\n showClear;\n /**\n * Text to display when filtering does not return any results. Defaults to global value in i18n translation configuration.\n * @group Props\n */\n emptyFilterMessage = '';\n /**\n * Text to display when there is no data. Defaults to global value in i18n translation configuration.\n * @group Props\n */\n emptyMessage = '';\n /**\n * Defines if data is loaded and interacted with in lazy manner.\n * @group Props\n */\n lazy = false;\n /**\n * Whether the data should be loaded on demand during scroll.\n * @group Props\n */\n virtualScroll;\n /**\n * Height of an item in the list for VirtualScrolling.\n * @group Props\n */\n virtualScrollItemSize;\n /**\n * Whether to use the scroller feature. The properties of scroller component can be used like an object in it.\n * @group Props\n */\n virtualScrollOptions;\n /**\n * Defines the size of the component.\n * @group Props\n */\n size;\n /**\n * Whether to use overlay API feature. The properties of overlay API can be used like an object in it.\n * @group Props\n */\n overlayOptions;\n /**\n * Defines a string that labels the filter input.\n * @group Props\n */\n ariaFilterLabel;\n /**\n * Used to define a aria label attribute the current element.\n * @group Props\n */\n ariaLabel;\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n ariaLabelledBy;\n /**\n * Defines how the items are filtered.\n * @group Props\n */\n filterMatchMode = 'contains';\n /**\n * Maximum number of character allows in the editable input field.\n * @group Props\n */\n maxlength;\n /**\n * Advisory information to display in a tooltip on hover.\n * @group Props\n */\n tooltip = '';\n /**\n * Position of the tooltip.\n * @group Props\n */\n tooltipPosition = 'right';\n /**\n * Type of CSS position.\n * @group Props\n */\n tooltipPositionStyle = 'absolute';\n /**\n * Style class of the tooltip.\n * @group Props\n */\n tooltipStyleClass;\n /**\n * Fields used when filtering the options, defaults to optionLabel.\n * @group Props\n */\n focusOnHover = true;\n /**\n * Determines if the option will be selected on focus.\n * @group Props\n */\n selectOnFocus = false;\n /**\n * Whether to focus on the first visible or selected element when the overlay panel is shown.\n * @group Props\n */\n autoOptionFocus = false;\n /**\n * Applies focus to the filter element when the overlay is shown.\n * @group Props\n */\n autofocusFilter = true;\n /**\n * Whether the component should span the full width of its parent.\n * @group Props\n */\n fluid;\n /**\n * When present, it specifies that the component should be disabled.\n * @group Props\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(_disabled) {\n if (_disabled) {\n this.focused = false;\n if (this.overlayVisible) this.hide();\n }\n this._disabled = _disabled;\n if (!this.cd.destroyed) {\n this.cd.detectChanges();\n }\n }\n /**\n * Item size of item to be virtual scrolled.\n * @group Props\n * @deprecated use virtualScrollItemSize property instead.\n */\n get itemSize() {\n return this._itemSize;\n }\n set itemSize(val) {\n this._itemSize = val;\n console.log('The itemSize property is deprecated, use virtualScrollItemSize property instead.');\n }\n _itemSize;\n /**\n * Whether to automatically manage layering.\n * @group Props\n * @deprecated since v14.2.0, use overlayOptions property instead.\n */\n get autoZIndex() {\n return this._autoZIndex;\n }\n set autoZIndex(val) {\n this._autoZIndex = val;\n console.log('The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n _autoZIndex;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n * @deprecated since v14.2.0, use overlayOptions property instead.\n */\n get baseZIndex() {\n return this._baseZIndex;\n }\n set baseZIndex(val) {\n this._baseZIndex = val;\n console.log('The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n _baseZIndex;\n /**\n * Transition options of the show animation.\n * @group Props\n * @deprecated since v14.2.0, use overlayOptions property instead.\n */\n get showTransitionOptions() {\n return this._showTransitionOptions;\n }\n set showTransitionOptions(val) {\n this._showTransitionOptions = val;\n console.log('The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n _showTransitionOptions;\n /**\n * Transition options of the hide animation.\n * @group Props\n * @deprecated since v14.2.0, use overlayOptions property instead.\n */\n get hideTransitionOptions() {\n return this._hideTransitionOptions;\n }\n set hideTransitionOptions(val) {\n this._hideTransitionOptions = val;\n console.log('The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');\n }\n _hideTransitionOptions;\n /**\n * When specified, filter displays with this value.\n * @group Props\n */\n get filterValue() {\n return this._filterValue();\n }\n set filterValue(val) {\n setTimeout(() => {\n this._filterValue.set(val);\n });\n }\n /**\n * An array of objects to display as the available options.\n * @group Props\n */\n get options() {\n const options = this._options();\n return options;\n }\n set options(val) {\n if (!deepEquals(val, this._options())) {\n this._options.set(val);\n }\n }\n /**\n * Callback to invoke when value of select changes.\n * @param {SelectChangeEvent} event - custom change event.\n * @group Emits\n */\n onChange = new EventEmitter();\n /**\n * Callback to invoke when data is filtered.\n * @param {SelectFilterEvent} event - custom filter event.\n * @group Emits\n */\n onFilter = new EventEmitter();\n /**\n * Callback to invoke when select gets focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onFocus = new EventEmitter();\n /**\n * Callback to invoke when select loses focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onBlur = new EventEmitter();\n /**\n * Callback to invoke when component is clicked.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n onClick = new EventEmitter();\n /**\n * Callback to invoke when select overlay gets visible.\n * @param {AnimationEvent} event - Animation event.\n * @group Emits\n */\n onShow = new EventEmitter();\n /**\n * Callback to invoke when select overlay gets hidden.\n * @param {AnimationEvent} event - Animation event.\n * @group Emits\n */\n onHide = new EventEmitter();\n /**\n * Callback to invoke when select clears the value.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n onClear = new EventEmitter();\n /**\n * Callback to invoke in lazy mode to load new data.\n * @param {SelectLazyLoadEvent} event - Lazy load event.\n * @group Emits\n */\n onLazyLoad = new EventEmitter();\n _componentStyle = inject(SelectStyle);\n filterViewChild;\n focusInputViewChild;\n editableInputViewChild;\n itemsViewChild;\n scroller;\n overlayViewChild;\n firstHiddenFocusableElementOnOverlay;\n lastHiddenFocusableElementOnOverlay;\n get hasFluid() {\n const nativeElement = this.el.nativeElement;\n const fluidComponent = nativeElement.closest('p-fluid');\n return this.fluid || !!fluidComponent;\n }\n // @todo to be refactored\n get hostClass() {\n const classes = this._componentStyle.classes.root({\n instance: this\n }).map(cls => {\n if (typeof cls === 'string') {\n return cls;\n } else {\n return Object.keys(cls).filter(key => cls[key]).join(' ');\n }\n }).join(' ');\n return classes + ' ' + this.styleClass;\n }\n get hostStyle() {\n return this.style;\n }\n _disabled;\n itemsWrapper;\n /**\n * Custom item template.\n * @group Templates\n */\n itemTemplate;\n /**\n * Custom group template.\n * @group Templates\n */\n groupTemplate;\n /**\n * Custom loader template.\n * @group Templates\n */\n loaderTemplate;\n /**\n * Custom selected item template.\n * @group Templates\n */\n selectedItemTemplate;\n /**\n * Custom header template.\n * @group Templates\n */\n headerTemplate;\n /**\n * Custom filter template.\n * @group Templates\n */\n filterTemplate;\n /**\n * Custom footer template.\n * @group Templates\n */\n footerTemplate;\n /**\n * Custom empty filter template.\n * @group Templates\n */\n emptyFilterTemplate;\n /**\n * Custom empty template.\n * @group Templates\n */\n emptyTemplate;\n /**\n * Custom dropdown icon template.\n * @group Templates\n */\n dropdownIconTemplate;\n /**\n * Custom loading icon template.\n * @group Templates\n */\n loadingIconTemplate;\n /**\n * Custom clear icon template.\n * @group Templates\n */\n clearIconTemplate;\n /**\n * Custom filter icon template.\n * @group Templates\n */\n filterIconTemplate;\n /**\n * Custom on icon template.\n * @group Templates\n */\n onIconTemplate;\n /**\n * Custom off icon template.\n * @group Templates\n */\n offIconTemplate;\n /**\n * Custom cancel icon template.\n * @group Templates\n */\n cancelIconTemplate;\n templates;\n _itemTemplate;\n _selectedItemTemplate;\n _headerTemplate;\n _filterTemplate;\n _footerTemplate;\n _emptyFilterTemplate;\n _emptyTemplate;\n _groupTemplate;\n _loaderTemplate;\n _dropdownIconTemplate;\n _loadingIconTemplate;\n _clearIconTemplate;\n _filterIconTemplate;\n _cancelIconTemplate;\n _onIconTemplate;\n _offIconTemplate;\n filterOptions;\n _options = signal(null);\n _placeholder = signal(undefined);\n modelValue = signal(null);\n value;\n onModelChange = () => {};\n onModelTouched = () => {};\n hover;\n focused;\n overlayVisible;\n optionsChanged;\n panel;\n dimensionsUpdated;\n hoveredItem;\n selectedOptionUpdated;\n _filterValue = signal(null);\n searchValue;\n searchIndex;\n searchTimeout;\n previousSearchChar;\n currentSearchChar;\n preventModelTouched;\n focusedOptionIndex = signal(-1);\n labelId;\n listId;\n clicked = signal(false);\n get emptyMessageLabel() {\n return this.emptyMessage || this.config.getTranslation(TranslationKeys.EMPTY_MESSAGE);\n }\n get emptyFilterMessageLabel() {\n return this.emptyFilterMessage || this.config.getTranslation(TranslationKeys.EMPTY_FILTER_MESSAGE);\n }\n get isVisibleClearIcon() {\n return this.modelValue() != null && this.hasSelectedOption() && this.showClear && !this.disabled;\n }\n get listLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['listLabel'];\n }\n get rootClass() {\n return this._componentStyle.classes.root({\n instance: this\n });\n }\n get inputClass() {\n const label = this.label();\n return {\n 'p-select-label': true,\n 'p-placeholder': this.placeholder() && label === this.placeholder(),\n 'p-select-label-empty': !this.editable && !this.selectedItemTemplate && (label === undefined || label === null || label === 'p-emptylabel' || label.length === 0)\n };\n }\n get panelClass() {\n return {\n 'p-dropdown-panel p-component': true,\n 'p-input-filled': this.config.inputStyle() === 'filled' || this.config.inputVariant() === 'filled',\n 'p-ripple-disabled': this.config.ripple() === false\n };\n }\n get focusedOptionId() {\n return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;\n }\n visibleOptions = computed(() => {\n const options = this.getAllVisibleAndNonVisibleOptions();\n if (this._filterValue()) {\n const _filterBy = this.filterBy || this.optionLabel;\n const filteredOptions = !_filterBy && !this.filterFields && !this.optionValue ? this.options.filter(option => {\n if (option.label) {\n return option.label.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim()) !== -1;\n }\n return option.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim()) !== -1;\n }) : this.filterService.filter(options, this.searchFields(), this._filterValue().trim(), this.filterMatchMode, this.filterLocale);\n if (this.group) {\n const optionGroups = this.options || [];\n const filtered = [];\n optionGroups.forEach(group => {\n const groupChildren = this.getOptionGroupChildren(group);\n const filteredItems = groupChildren.filter(item => filteredOptions.includes(item));\n if (filteredItems.length > 0) filtered.push({\n ...group,\n [typeof this.optionGroupChildren === 'string' ? this.optionGroupChildren : 'items']: [...filteredItems]\n });\n });\n return this.flatOptions(filtered);\n }\n return filteredOptions;\n }\n return options;\n });\n label = computed(() => {\n // use getAllVisibleAndNonVisibleOptions verses just visible options\n // this will find the selected option whether or not the user is currently filtering because the filtered (i.e. visible) options, are a subset of all the options\n const options = this.getAllVisibleAndNonVisibleOptions();\n // use isOptionEqualsModelValue for the use case where the dropdown is initalized with a disabled option\n const selectedOptionIndex = options.findIndex(option => this.isOptionValueEqualsModelValue(option));\n return selectedOptionIndex !== -1 ? this.getOptionLabel(options[selectedOptionIndex]) : this.placeholder() || 'p-emptylabel';\n });\n filled = computed(() => {\n if (typeof this.modelValue() === 'string') return !!this.modelValue();\n return this.label() !== 'p-emptylabel' && this.modelValue() !== undefined && this.modelValue() !== null;\n });\n selectedOption;\n editableInputValue = computed(() => this.getOptionLabel(this.selectedOption) || this.modelValue() || '');\n constructor(zone, filterService) {\n super();\n this.zone = zone;\n this.filterService = filterService;\n effect(() => {\n const modelValue = this.modelValue();\n const visibleOptions = this.visibleOptions();\n if (visibleOptions && isNotEmpty(visibleOptions)) {\n const selectedOptionIndex = this.findSelectedOptionIndex();\n if (selectedOptionIndex !== -1 || modelValue === undefined || typeof modelValue === 'string' && modelValue.length === 0 || this.isModelValueNotSet() || this.editable) {\n this.selectedOption = visibleOptions[selectedOptionIndex];\n }\n }\n if (isEmpty(visibleOptions) && (modelValue === undefined || this.isModelValueNotSet()) && isNotEmpty(this.selectedOption)) {\n this.selectedOption = null;\n }\n if (modelValue !== undefined && this.editable) {\n this.updateEditableLabel();\n }\n this.cd.markForCheck();\n });\n }\n isModelValueNotSet() {\n return this.modelValue() === null && !this.isOptionValueEqualsModelValue(this.selectedOption);\n }\n getAllVisibleAndNonVisibleOptions() {\n return this.group ? this.flatOptions(this.options) : this.options || [];\n }\n ngOnInit() {\n super.ngOnInit();\n this.id = this.id || uuid('pn_id_');\n this.autoUpdateModel();\n if (this.filterBy) {\n this.filterOptions = {\n filter: value => this.onFilterInputChange(value),\n reset: () => this.resetFilter()\n };\n }\n }\n ngAfterContentInit() {\n this.templates.forEach(item => {\n switch (item.getType()) {\n case 'item':\n this._itemTemplate = item.template;\n break;\n case 'selectedItem':\n this._selectedItemTemplate = item.template;\n break;\n case 'header':\n this._headerTemplate = item.template;\n break;\n case 'filter':\n this._filterTemplate = item.template;\n break;\n case 'footer':\n this._footerTemplate = item.template;\n break;\n case 'emptyfilter':\n this._emptyFilterTemplate = item.template;\n break;\n case 'empty':\n this._emptyTemplate = item.template;\n break;\n case 'group':\n this._groupTemplate = item.template;\n break;\n case 'loader':\n this._loaderTemplate = item.template;\n break;\n case 'dropdownicon':\n this._dropdownIconTemplate = item.template;\n break;\n case 'loadingicon':\n this._loadingIconTemplate = item.template;\n break;\n case 'clearicon':\n this._clearIconTemplate = item.template;\n break;\n case 'filtericon':\n this._filterIconTemplate = item.template;\n break;\n case 'cancelicon':\n this._cancelIconTemplate = item.template;\n break;\n case 'onicon':\n this._onIconTemplate = item.template;\n break;\n case 'officon':\n this._offIconTemplate = item.template;\n break;\n default:\n this._itemTemplate = item.template;\n break;\n }\n });\n }\n ngAfterViewChecked() {\n if (this.optionsChanged && this.overlayVisible) {\n this.optionsChanged = false;\n this.zone.runOutsideAngular(() => {\n setTimeout(() => {\n if (this.overlayViewChild) {\n this.overlayViewChild.alignOverlay();\n }\n }, 1);\n });\n }\n if (this.selectedOptionUpdated && this.itemsWrapper) {\n let selectedItem = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, 'li.p-select-option-selected');\n if (selectedItem) {\n scrollInView(this.itemsWrapper, selectedItem);\n }\n this.selectedOptionUpdated = false;\n }\n }\n flatOptions(options) {\n return (options || []).reduce((result, option, index) => {\n result.push({\n optionGroup: option,\n group: true,\n index\n });\n const optionGroupChildren = this.getOptionGroupChildren(option);\n optionGroupChildren && optionGroupChildren.forEach(o => result.push(o));\n return result;\n }, []);\n }\n autoUpdateModel() {\n if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption()) {\n this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());\n this.onOptionSelect(null, this.visibleOptions()[this.focusedOptionIndex()], false);\n }\n if (this.autoDisplayFirst && (this.modelValue() === null || this.modelValue() === undefined)) {\n if (!this.placeholder()) {\n const ind = this.findFirstOptionIndex();\n this.onOptionSelect(null, this.visibleOptions()[ind], false, true);\n }\n }\n }\n onOptionSelect(event, option, isHide = true, preventChange = false) {\n if (!this.isSelected(option)) {\n const value = this.getOptionValue(option);\n this.updateModel(value, event);\n this.focusedOptionIndex.set(this.findSelectedOptionIndex());\n preventChange === false && this.onChange.emit({\n originalEvent: event,\n value: value\n });\n }\n if (isHide) {\n this.hide(true);\n }\n }\n onOptionMouseEnter(event, index) {\n if (this.focusOnHover) {\n this.changeFocusedOptionIndex(event, index);\n }\n }\n updateModel(value, event) {\n this.value = value;\n this.onModelChange(value);\n this.modelValue.set(value);\n this.selectedOptionUpdated = true;\n }\n writeValue(value) {\n if (this.filter) {\n this.resetFilter();\n }\n this.value = value;\n this.allowModelChange() && this.onModelChange(value);\n this.modelValue.set(this.value);\n this.updateEditableLabel();\n this.cd.markForCheck();\n }\n allowModelChange() {\n return !!this.modelValue() && !this.placeholder() && (this.modelValue() === undefined || this.modelValue() === null) && !this.editable && this.options && this.options.length;\n }\n isSelected(option) {\n return this.isValidOption(option) && this.isOptionValueEqualsModelValue(option);\n }\n isOptionValueEqualsModelValue(option) {\n return equals(this.modelValue(), this.getOptionValue(option), this.equalityKey());\n }\n ngAfterViewInit() {\n if (this.editable) {\n this.updateEditableLabel();\n }\n this.updatePlaceHolderForFloatingLabel();\n }\n updatePlaceHolderForFloatingLabel() {\n const parentElement = this.el.nativeElement.parentElement;\n const isInFloatingLabel = parentElement?.classList.contains('p-float-label');\n if (parentElement && isInFloatingLabel && !this.selectedOption) {\n const label = parentElement.querySelector('label');\n if (label) {\n this._placeholder.set(label.textContent);\n }\n }\n }\n updateEditableLabel() {\n if (this.editableInputViewChild) {\n this.editableInputViewChild.nativeElement.value = this.getOptionLabel(this.selectedOption) || this.modelValue() || '';\n }\n }\n clearEditableLabel() {\n if (this.editableInputViewChild) {\n this.editableInputViewChild.nativeElement.value = '';\n }\n }\n getOptionIndex(index, scrollerOptions) {\n return this.virtualScrollerDisabled ? index : scrollerOptions && scrollerOptions.getItemOptions(index)['index'];\n }\n getOptionLabel(option) {\n return this.optionLabel !== undefined && this.optionLabel !== null ? resolveFieldData(option, this.optionLabel) : option && option.label !== undefined ? option.label : option;\n }\n getOptionValue(option) {\n return this.optionValue && this.optionValue !== null ? resolveFieldData(option, this.optionValue) : !this.optionLabel && option && option.value !== undefined ? option.value : option;\n }\n isOptionDisabled(option) {\n if (this.getOptionValue(this.modelValue()) === this.getOptionValue(option) || this.getOptionLabel(this.modelValue() === this.getOptionLabel(option)) && option.disabled === false) {\n return false;\n } else {\n return this.optionDisabled ? resolveFieldData(option, this.optionDisabled) : option && option.disabled !== undefined ? option.disabled : false;\n }\n }\n getOptionGroupLabel(optionGroup) {\n return this.optionGroupLabel !== undefined && this.optionGroupLabel !== null ? resolveFieldData(optionGroup, this.optionGroupLabel) : optionGroup && optionGroup.label !== undefined ? optionGroup.label : optionGroup;\n }\n getOptionGroupChildren(optionGroup) {\n return this.optionGroupChildren !== undefined && this.optionGroupChildren !== null ? resolveFieldData(optionGroup, this.optionGroupChildren) : optionGroup.items;\n }\n getAriaPosInset(index) {\n return (this.optionGroupLabel ? index - this.visibleOptions().slice(0, index).filter(option => this.isOptionGroup(option)).length : index) + 1;\n }\n get ariaSetSize() {\n return this.visibleOptions().filter(option => !this.isOptionGroup(option)).length;\n }\n /**\n * Callback to invoke on filter reset.\n * @group Method\n */\n resetFilter() {\n this._filterValue.set(null);\n if (this.filterViewChild && this.filterViewChild.nativeElement) {\n this.filterViewChild.nativeElement.value = '';\n }\n }\n registerOnChange(fn) {\n this.onModelChange = fn;\n }\n registerOnTouched(fn) {\n this.onModelTouched = fn;\n }\n setDisabledState(val) {\n this.disabled = val;\n this.cd.markForCheck();\n }\n onContainerClick(event) {\n if (this.disabled || this.readonly || this.loading) {\n return;\n }\n this.focusInputViewChild?.nativeElement.focus({\n preventScroll: true\n });\n if (event.target.tagName === 'INPUT' || event.target.getAttribute('data-pc-section') === 'clearicon' || event.target.closest('[data-pc-section=\"clearicon\"]')) {\n return;\n } else if (!this.overlayViewChild || !this.overlayViewChild.el.nativeElement.contains(event.target)) {\n this.overlayVisible ? this.hide(true) : this.show(true);\n }\n this.onClick.emit(event);\n this.clicked.set(true);\n this.cd.detectChanges();\n }\n isEmpty() {\n return !this._options() || this.visibleOptions() && this.visibleOptions().length === 0;\n }\n onEditableInput(event) {\n const value = event.target.value;\n this.searchValue = '';\n const matched = this.searchOptions(event, value);\n !matched && this.focusedOptionIndex.set(-1);\n this.onModelChange(value);\n this.updateModel(value || null, event);\n setTimeout(() => {\n this.onChange.emit({\n originalEvent: event,\n value: value\n });\n }, 1);\n !this.overlayVisible && isNotEmpty(value) && this.show();\n }\n /**\n * Displays the panel.\n * @group Method\n */\n show(isFocus) {\n this.overlayVisible = true;\n this.focusedOptionIndex.set(this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex());\n if (isFocus) {\n focus(this.focusInputViewChild?.nativeElement);\n }\n this.cd.markForCheck();\n }\n onOverlayAnimationStart(event) {\n if (event.toState === 'visible') {\n this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-select-list-container');\n this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);\n if (this.options && this.options.length) {\n if (this.virtualScroll) {\n const selectedIndex = this.modelValue() ? this.focusedOptionIndex() : -1;\n if (selectedIndex !== -1) {\n this.scroller?.scrollToIndex(selectedIndex);\n }\n } else {\n let selectedListItem = findSingle(this.itemsWrapper, '.p-select-option.p-select-option-selected');\n if (selectedListItem) {\n selectedListItem.scrollIntoView({\n block: 'nearest',\n inline: 'nearest'\n });\n }\n }\n }\n if (this.filterViewChild && this.filterViewChild.nativeElement) {\n this.preventModelTouched = true;\n if (this.autofocusFilter && !this.editable) {\n this.filterViewChild.nativeElement.focus();\n }\n }\n this.onShow.emit(event);\n }\n if (event.toState === 'void') {\n this.itemsWrapper = null;\n this.onModelTouched();\n this.onHide.emit(event);\n }\n }\n /**\n * Hides the panel.\n * @group Method\n */\n hide(isFocus) {\n this.overlayVisible = false;\n this.focusedOptionIndex.set(-1);\n this.clicked.set(false);\n this.searchValue = '';\n if (this.overlayOptions?.mode === 'modal') {\n unblockBodyScroll();\n }\n if (this.filter && this.resetFilterOnHide) {\n this.resetFilter();\n }\n if (isFocus) {\n if (this.focusInputViewChild) {\n focus(this.focusInputViewChild?.nativeElement);\n }\n if (this.editable && this.editableInputViewChild) {\n focus(this.editableInputViewChild?.nativeElement);\n }\n }\n this.cd.markForCheck();\n }\n onInputFocus(event) {\n if (this.disabled) {\n // For ScreenReaders\n return;\n }\n this.focused = true;\n const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;\n this.focusedOptionIndex.set(focusedOptionIndex);\n this.overlayVisible && this.scrollInView(this.focusedOptionIndex());\n this.onFocus.emit(event);\n }\n onInputBlur(event) {\n this.focused = false;\n this.onBlur.emit(event);\n if (!this.preventModelTouched) {\n this.onModelTouched();\n }\n this.preventModelTouched = false;\n }\n onKeyDown(event, search = false) {\n if (this.disabled || this.readonly || this.loading) {\n return;\n }\n switch (event.code) {\n //down\n case 'ArrowDown':\n this.onArrowDownKey(event);\n break;\n //up\n case 'ArrowUp':\n this.onArrowUpKey(event, this.editable);\n break;\n case 'ArrowLeft':\n case 'ArrowRight':\n this.onArrowLeftKey(event, this.editable);\n break;\n case 'Delete':\n this.onDeleteKey(event);\n break;\n case 'Home':\n this.onHomeKey(event, this.editable);\n break;\n case 'End':\n this.onEndKey(event, this.editable);\n break;\n case 'PageDown':\n this.onPageDownKey(event);\n break;\n case 'PageUp':\n this.onPageUpKey(event);\n break;\n //space\n case 'Space':\n this.onSpaceKey(event, search);\n break;\n //enter\n case 'Enter':\n case 'NumpadEnter':\n this.onEnterKey(event);\n break;\n //escape and tab\n case 'Escape':\n this.onEscapeKey(event);\n break;\n case 'Tab':\n this.onTabKey(event);\n break;\n case 'Backspace':\n this.onBackspaceKey(event, this.editable);\n break;\n case 'ShiftLeft':\n case 'ShiftRight':\n //NOOP\n break;\n default:\n if (!event.metaKey && isPrintableCharacter(event.key)) {\n !this.overlayVisible && this.show();\n !this.editable && this.searchOptions(event, event.key);\n }\n break;\n }\n this.clicked.set(false);\n }\n onFilterKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown':\n this.onArrowDownKey(event);\n break;\n case 'ArrowUp':\n this.onArrowUpKey(event, true);\n break;\n case 'ArrowLeft':\n case 'ArrowRight':\n this.onArrowLeftKey(event, true);\n break;\n case 'Home':\n this.onHomeKey(event, true);\n break;\n case 'End':\n this.onEndKey(event, true);\n break;\n case 'Enter':\n case 'NumpadEnter':\n this.onEnterKey(event, true);\n break;\n case 'Escape':\n this.onEscapeKey(event);\n break;\n case 'Tab':\n this.onTabKey(event, true);\n break;\n default:\n break;\n }\n }\n onFilterBlur(event) {\n this.focusedOptionIndex.set(-1);\n }\n onArrowDownKey(event) {\n if (!this.overlayVisible) {\n this.show();\n this.editable && this.changeFocusedOptionIndex(event, this.findSelectedOptionIndex());\n } else {\n const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.clicked() ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();\n this.changeFocusedOptionIndex(event, optionIndex);\n }\n // const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.findFirstFocusedOptionIndex();\n // this.changeFocusedOptionIndex(event, optionIndex);\n // !this.overlayVisible && this.show();\n event.preventDefault();\n event.stopPropagation();\n }\n changeFocusedOptionIndex(event, index) {\n if (this.focusedOptionIndex() !== index) {\n this.focusedOptionIndex.set(index);\n this.scrollInView();\n if (this.selectOnFocus) {\n const option = this.visibleOptions()[index];\n this.onOptionSelect(event, option, false);\n }\n }\n }\n get virtualScrollerDisabled() {\n return !this.virtualScroll;\n }\n scrollInView(index = -1) {\n const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;\n if (this.itemsViewChild && this.itemsViewChild.nativeElement) {\n const element = findSingle(this.itemsViewChild.nativeElement, `li[id=\"${id}\"]`);\n if (element) {\n element.scrollIntoView && element.scrollIntoView({\n block: 'nearest',\n inline: 'nearest'\n });\n } else if (!this.virtualScrollerDisabled) {\n setTimeout(() => {\n this.virtualScroll && this.scroller?.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex());\n }, 0);\n }\n }\n }\n hasSelectedOption() {\n return this.modelValue() !== undefined;\n }\n isValidSelectedOption(option) {\n return this.isValidOption(option) && this.isSelected(option);\n }\n equalityKey() {\n return this.optionValue ? null : this.dataKey;\n }\n findFirstFocusedOptionIndex() {\n const selectedIndex = this.findSelectedOptionIndex();\n return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;\n }\n findFirstOptionIndex() {\n return this.visibleOptions().findIndex(option => this.isValidOption(option));\n }\n findSelectedOptionIndex() {\n return this.hasSelectedOption() ? this.visibleOptions().findIndex(option => this.isValidSelectedOption(option)) : -1;\n }\n findNextOptionIndex(index) {\n const matchedOptionIndex = index < this.visibleOptions().length - 1 ? this.visibleOptions().slice(index + 1).findIndex(option => this.isValidOption(option)) : -1;\n return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;\n }\n findPrevOptionIndex(index) {\n const matchedOptionIndex = index > 0 ? findLastIndex(this.visibleOptions().slice(0, index), option => this.isValidOption(option)) : -1;\n return matchedOptionIndex > -1 ? matchedOptionIndex : index;\n }\n findLastOptionIndex() {\n return findLastIndex(this.visibleOptions(), option => this.isValidOption(option));\n }\n findLastFocusedOptionIndex() {\n const selectedIndex = this.findSelectedOptionIndex();\n return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;\n }\n isValidOption(option) {\n return option !== undefined && option !== null && !(this.isOptionDisabled(option) || this.isOptionGroup(option));\n }\n isOptionGroup(option) {\n return this.optionGroupLabel !== undefined && this.optionGroupLabel !== null && option.optionGroup !== undefined && option.optionGroup !== null && option.group;\n }\n onArrowUpKey(event, pressedInInputText = false) {\n if (event.altKey && !pressedInInputText) {\n if (this.focusedOptionIndex() !== -1) {\n const option = this.visibleOptions()[this.focusedOptionIndex()];\n this.onOptionSelect(event, option);\n }\n this.overlayVisible && this.hide();\n } else {\n const optionIndex = this.focusedOptionIndex() !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex()) : this.clicked() ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();\n this.changeFocusedOptionIndex(event, optionIndex);\n !this.overlayVisible && this.show();\n }\n event.preventDefault();\n event.stopPropagation();\n }\n onArrowLeftKey(event, pressedInInputText = false) {\n pressedInInputText && this.focusedOptionIndex.set(-1);\n }\n onDeleteKey(event) {\n if (this.showClear) {\n this.clear(event);\n event.preventDefault();\n }\n }\n onHomeKey(event, pressedInInputText = false) {\n if (pressedInInputText) {\n const target = event.currentTarget;\n if (event.shiftKey) {\n target.setSelectionRange(0, target.value.length);\n } else {\n target.setSelectionRange(0, 0);\n this.focusedOptionIndex.set(-1);\n }\n } else {\n this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());\n !this.overlayVisible && this.show();\n }\n event.preventDefault();\n }\n onEndKey(event, pressedInInputText = false) {\n if (pressedInInputText) {\n const target = event.currentTarget;\n if (event.shiftKey) {\n target.setSelectionRange(0, target.value.length);\n } else {\n const len = target.value.length;\n target.setSelectionRange(len, len);\n this.focusedOptionIndex.set(-1);\n }\n } else {\n this.changeFocusedOptionIndex(event, this.findLastOptionIndex());\n !this.overlayVisible && this.show();\n }\n event.preventDefault();\n }\n onPageDownKey(event) {\n this.scrollInView(this.visibleOptions().length - 1);\n event.preventDefault();\n }\n onPageUpKey(event) {\n this.scrollInView(0);\n event.preventDefault();\n }\n onSpaceKey(event, pressedInInputText = false) {\n !this.editable && !pressedInInputText && this.onEnterKey(event);\n }\n onEnterKey(event, pressedInInput = false) {\n if (!this.overlayVisible) {\n this.focusedOptionIndex.set(-1);\n this.onArrowDownKey(event);\n } else {\n if (this.focusedOptionIndex() !== -1) {\n const option = this.visibleOptions()[this.focusedOptionIndex()];\n this.onOptionSelect(event, option);\n }\n !pressedInInput && this.hide();\n }\n event.preventDefault();\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 focus(event.shiftKey ? this.lastHiddenFocusableElementOnOverlay.nativeElement : this.firstHiddenFocusableElementOnOverlay.nativeElement);\n event.preventDefault();\n } else {\n if (this.focusedOptionIndex() !== -1 && this.overlayVisible) {\n const option = this.visibleOptions()[this.focusedOptionIndex()];\n this.onOptionSelect(event, option);\n }\n this.overlayVisible && this.hide(this.filter);\n }\n }\n event.stopPropagation();\n }\n onFirstHiddenFocus(event) {\n const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement ? getFirstFocusableElement(this.overlayViewChild.el?.nativeElement, ':not(.p-hidden-focusable)') : this.focusInputViewChild?.nativeElement;\n focus(focusableEl);\n }\n onLastHiddenFocus(event) {\n const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement ? getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement, ':not([data-p-hidden-focusable=\"true\"])') : this.focusInputViewChild?.nativeElement;\n focus(focusableEl);\n }\n hasFocusableElements() {\n return getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement, ':not([data-p-hidden-focusable=\"true\"])').length > 0;\n }\n onBackspaceKey(event, pressedInInputText = false) {\n if (pressedInInputText) {\n !this.overlayVisible && this.show();\n }\n }\n searchFields() {\n return this.filterBy?.split(',') || this.filterFields || [this.optionLabel];\n }\n searchOptions(event, char) {\n this.searchValue = (this.searchValue || '') + char;\n let optionIndex = -1;\n let matched = false;\n optionIndex = this.visibleOptions().findIndex(option => this.isOptionMatched(option));\n if (optionIndex !== -1) {\n matched = true;\n }\n if (optionIndex === -1 && this.focusedOptionIndex() === -1) {\n optionIndex = this.findFirstFocusedOptionIndex();\n }\n if (optionIndex !== -1) {\n setTimeout(() => {\n this.changeFocusedOptionIndex(event, optionIndex);\n });\n }\n if (this.searchTimeout) {\n clearTimeout(this.searchTimeout);\n }\n this.searchTimeout = setTimeout(() => {\n this.searchValue = '';\n this.searchTimeout = null;\n }, 500);\n return matched;\n }\n isOptionMatched(option) {\n return this.isValidOption(option) && this.getOptionLabel(option).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));\n }\n onFilterInputChange(event) {\n let value = event.target.value;\n this._filterValue.set(value);\n this.focusedOptionIndex.set(-1);\n this.onFilter.emit({\n originalEvent: event,\n filter: this._filterValue()\n });\n !this.virtualScrollerDisabled && this.scroller.scrollToIndex(0);\n setTimeout(() => {\n this.overlayViewChild.alignOverlay();\n });\n this.cd.markForCheck();\n }\n applyFocus() {\n if (this.editable) findSingle(this.el.nativeElement, '.p-dropdown-label.p-inputtext').focus();else focus(this.focusInputViewChild?.nativeElement);\n }\n /**\n * Applies focus.\n * @group Method\n */\n focus() {\n this.applyFocus();\n }\n /**\n * Clears the model.\n * @group Method\n */\n clear(event) {\n this.updateModel(null, event);\n this.clearEditableLabel();\n this.onModelTouched();\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n this.onClear.emit(event);\n this.resetFilter();\n }\n static ɵfac = function Select_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || Select)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i2.FilterService));\n };\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: Select,\n selectors: [[\"p-select\"]],\n contentQueries: function Select_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c3, 4);\n i0.ɵɵcontentQuery(dirIndex, _c4, 4);\n i0.ɵɵcontentQuery(dirIndex, _c5, 4);\n i0.ɵɵcontentQuery(dirIndex, _c6, 4);\n i0.ɵɵcontentQuery(dirIndex, _c7, 4);\n i0.ɵɵcontentQuery(dirIndex, _c8, 4);\n i0.ɵɵcontentQuery(dirIndex, _c9, 4);\n i0.ɵɵcontentQuery(dirIndex, _c10, 4);\n i0.ɵɵcontentQuery(dirIndex, _c11, 4);\n i0.ɵɵcontentQuery(dirIndex, _c12, 4);\n i0.ɵɵcontentQuery(dirIndex, _c13, 4);\n i0.ɵɵcontentQuery(dirIndex, _c14, 4);\n i0.ɵɵcontentQuery(dirIndex, _c15, 4);\n i0.ɵɵcontentQuery(dirIndex, _c16, 4);\n i0.ɵɵcontentQuery(dirIndex, _c17, 4);\n i0.ɵɵcontentQuery(dirIndex, _c18, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectedItemTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.onIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.offIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.cancelIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function Select_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c8, 5);\n i0.ɵɵviewQuery(_c19, 5);\n i0.ɵɵviewQuery(_c20, 5);\n i0.ɵɵviewQuery(_c21, 5);\n i0.ɵɵviewQuery(_c22, 5);\n i0.ɵɵviewQuery(_c23, 5);\n i0.ɵɵviewQuery(_c24, 5);\n i0.ɵɵviewQuery(_c25, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.focusInputViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editableInputViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstHiddenFocusableElementOnOverlay = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastHiddenFocusableElementOnOverlay = _t.first);\n }\n },\n hostVars: 5,\n hostBindings: function Select_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"click\", function Select_click_HostBindingHandler($event) {\n return ctx.onContainerClick($event);\n });\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"id\", ctx.id);\n i0.ɵɵstyleMap(ctx.hostStyle);\n i0.ɵɵclassMap(ctx.hostClass);\n }\n },\n inputs: {\n id: \"id\",\n scrollHeight: \"scrollHeight\",\n filter: [2, \"filter\", \"filter\", booleanAttribute],\n name: \"name\",\n style: \"style\",\n panelStyle: \"panelStyle\",\n styleClass: \"styleClass\",\n panelStyleClass: \"panelStyleClass\",\n readonly: [2, \"readonly\", \"readonly\", booleanAttribute],\n required: [2, \"required\", \"required\", booleanAttribute],\n editable: [2, \"editable\", \"editable\", booleanAttribute],\n appendTo: \"appendTo\",\n tabindex: [2, \"tabindex\", \"tabindex\", numberAttribute],\n placeholder: \"placeholder\",\n loadingIcon: \"loadingIcon\",\n filterPlaceholder: \"filterPlaceholder\",\n filterLocale: \"filterLocale\",\n variant: \"variant\",\n inputId: \"inputId\",\n dataKey: \"dataKey\",\n filterBy: \"filterBy\",\n filterFields: \"filterFields\",\n autofocus: [2, \"autofocus\", \"autofocus\", booleanAttribute],\n resetFilterOnHide: [2, \"resetFilterOnHide\", \"resetFilterOnHide\", booleanAttribute],\n checkmark: [2, \"checkmark\", \"checkmark\", booleanAttribute],\n dropdownIcon: \"dropdownIcon\",\n loading: [2, \"loading\", \"loading\", booleanAttribute],\n optionLabel: \"optionLabel\",\n optionValue: \"optionValue\",\n optionDisabled: \"optionDisabled\",\n optionGroupLabel: \"optionGroupLabel\",\n optionGroupChildren: \"optionGroupChildren\",\n autoDisplayFirst: [2, \"autoDisplayFirst\", \"autoDisplayFirst\", booleanAttribute],\n group: [2, \"group\", \"group\", booleanAttribute],\n showClear: [2, \"showClear\", \"showClear\", booleanAttribute],\n emptyFilterMessage: \"emptyFilterMessage\",\n emptyMessage: \"emptyMessage\",\n lazy: [2, \"lazy\", \"lazy\", booleanAttribute],\n virtualScroll: [2, \"virtualScroll\", \"virtualScroll\", booleanAttribute],\n virtualScrollItemSize: [2, \"virtualScrollItemSize\", \"virtualScrollItemSize\", numberAttribute],\n virtualScrollOptions: \"virtualScrollOptions\",\n size: \"size\",\n overlayOptions: \"overlayOptions\",\n ariaFilterLabel: \"ariaFilterLabel\",\n ariaLabel: \"ariaLabel\",\n ariaLabelledBy: \"ariaLabelledBy\",\n filterMatchMode: \"filterMatchMode\",\n maxlength: [2, \"maxlength\", \"maxlength\", numberAttribute],\n tooltip: \"tooltip\",\n tooltipPosition: \"tooltipPosition\",\n tooltipPositionStyle: \"tooltipPositionStyle\",\n tooltipStyleClass: \"tooltipStyleClass\",\n focusOnHover: [2, \"focusOnHover\", \"focusOnHover\", booleanAttribute],\n selectOnFocus: [2, \"selectOnFocus\", \"selectOnFocus\", booleanAttribute],\n autoOptionFocus: [2, \"autoOptionFocus\", \"autoOptionFocus\", booleanAttribute],\n autofocusFilter: [2, \"autofocusFilter\", \"autofocusFilter\", booleanAttribute],\n fluid: [2, \"fluid\", \"fluid\", booleanAttribute],\n disabled: \"disabled\",\n itemSize: \"itemSize\",\n autoZIndex: \"autoZIndex\",\n baseZIndex: \"baseZIndex\",\n showTransitionOptions: \"showTransitionOptions\",\n hideTransitionOptions: \"hideTransitionOptions\",\n filterValue: \"filterValue\",\n options: \"options\"\n },\n outputs: {\n onChange: \"onChange\",\n onFilter: \"onFilter\",\n onFocus: \"onFocus\",\n onBlur: \"onBlur\",\n onClick: \"onClick\",\n onShow: \"onShow\",\n onHide: \"onHide\",\n onClear: \"onClear\",\n onLazyLoad: \"onLazyLoad\"\n },\n features: [i0.ɵɵProvidersFeature([SELECT_VALUE_ACCESSOR, SelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature],\n decls: 11,\n vars: 15,\n consts: [[\"elseBlock\", \"\"], [\"overlay\", \"\"], [\"content\", \"\"], [\"focusInput\", \"\"], [\"defaultPlaceholder\", \"\"], [\"editableInput\", \"\"], [\"firstHiddenFocusableEl\", \"\"], [\"buildInItems\", \"\"], [\"lastHiddenFocusableEl\", \"\"], [\"builtInFilterElement\", \"\"], [\"filter\", \"\"], [\"scroller\", \"\"], [\"loader\", \"\"], [\"items\", \"\"], [\"emptyFilter\", \"\"], [\"empty\", \"\"], [\"role\", \"combobox\", 3, \"ngClass\", \"pTooltip\", \"tooltipPosition\", \"positionStyle\", \"tooltipStyleClass\", \"pAutoFocus\", \"focus\", \"blur\", \"keydown\", 4, \"ngIf\"], [\"type\", \"text\", \"aria-haspopup\", \"listbox\", 3, \"ngClass\", \"disabled\", \"pAutoFocus\", \"input\", \"keydown\", \"focus\", \"blur\", 4, \"ngIf\"], [4, \"ngIf\"], [\"role\", \"button\", \"aria-label\", \"dropdown trigger\", \"aria-haspopup\", \"listbox\", 1, \"p-select-dropdown\"], [4, \"ngIf\", \"ngIfElse\"], [3, \"visibleChange\", \"onAnimationStart\", \"onHide\", \"visible\", \"options\", \"target\", \"appendTo\", \"autoZIndex\", \"baseZIndex\", \"showTransitionOptions\", \"hideTransitionOptions\"], [\"role\", \"combobox\", 3, \"focus\", \"blur\", \"keydown\", \"ngClass\", \"pTooltip\", \"tooltipPosition\", \"positionStyle\", \"tooltipStyleClass\", \"pAutoFocus\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\", 4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [\"type\", \"text\", \"aria-haspopup\", \"listbox\", 3, \"input\", \"keydown\", \"focus\", \"blur\", \"ngClass\", \"disabled\", \"pAutoFocus\"], [\"class\", \"p-select-clear-icon\", 3, \"click\", 4, \"ngIf\"], [1, \"p-select-clear-icon\", 3, \"click\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [4, \"ngTemplateOutlet\"], [\"aria-hidden\", \"true\", 3, \"ngClass\", 4, \"ngIf\"], [\"aria-hidden\", \"true\", 3, \"class\", 4, \"ngIf\"], [\"aria-hidden\", \"true\", 3, \"ngClass\"], [\"aria-hidden\", \"true\"], [\"class\", \"p-select-dropdown-icon\", 4, \"ngIf\"], [\"class\", \"p-select-dropdown-icon\", 3, \"ngClass\", 4, \"ngIf\"], [3, \"styleClass\", 4, \"ngIf\"], [1, \"p-select-dropdown-icon\", 3, \"ngClass\"], [3, \"styleClass\"], [1, \"p-select-dropdown-icon\"], [3, \"ngClass\", \"ngStyle\"], [\"role\", \"presentation\", 1, \"p-hidden-accessible\", \"p-hidden-focusable\", 3, \"focus\"], [\"class\", \"p-select-header\", 3, \"click\", 4, \"ngIf\"], [1, \"p-select-list-container\"], [3, \"items\", \"style\", \"itemSize\", \"autoSize\", \"lazy\", \"options\", \"onLazyLoad\", 4, \"ngIf\"], [1, \"p-select-header\", 3, \"click\"], [\"pInputText\", \"\", \"type\", \"text\", \"role\", \"searchbox\", \"autocomplete\", \"off\", 1, \"p-select-filter\", 3, \"input\", \"keydown\", \"blur\", \"pSize\", \"value\", \"variant\"], [3, \"onLazyLoad\", \"items\", \"itemSize\", \"autoSize\", \"lazy\", \"options\"], [\"role\", \"listbox\", 1, \"p-select-list\", 3, \"ngClass\"], [\"ngFor\", \"\", 3, \"ngForOf\"], [\"class\", \"p-select-empty-message\", \"role\", \"option\", 3, \"ngStyle\", 4, \"ngIf\"], [\"role\", \"option\", 1, \"p-select-option-group\", 3, \"ngStyle\"], [3, \"onClick\", \"onMouseEnter\", \"id\", \"option\", \"checkmark\", \"selected\", \"label\", \"disabled\", \"template\", \"focused\", \"ariaPosInset\", \"ariaSetSize\"], [\"role\", \"option\", 1, \"p-select-empty-message\", 3, \"ngStyle\"]],\n template: function Select_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵtemplate(0, Select_span_0_Template, 6, 20, \"span\", 16)(1, Select_input_1_Template, 2, 8, \"input\", 17)(2, Select_ng_container_2_Template, 3, 2, \"ng-container\", 18);\n i0.ɵɵelementStart(3, \"div\", 19);\n i0.ɵɵtemplate(4, Select_ng_container_4_Template, 3, 2, \"ng-container\", 20)(5, Select_ng_template_5_Template, 2, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"p-overlay\", 21, 1);\n i0.ɵɵtwoWayListener(\"visibleChange\", function Select_Template_p_overlay_visibleChange_7_listener($event) {\n i0.ɵɵrestoreView(_r1);\n i0.ɵɵtwoWayBindingSet(ctx.overlayVisible, $event) || (ctx.overlayVisible = $event);\n return i0.ɵɵresetView($event);\n });\n i0.ɵɵlistener(\"onAnimationStart\", function Select_Template_p_overlay_onAnimationStart_7_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onOverlayAnimationStart($event));\n })(\"onHide\", function Select_Template_p_overlay_onHide_7_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.hide());\n });\n i0.ɵɵtemplate(9, Select_ng_template_9_Template, 13, 17, \"ng-template\", null, 2, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n let tmp_6_0;\n const elseBlock_r23 = i0.ɵɵreference(6);\n i0.ɵɵproperty(\"ngIf\", !ctx.editable);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.editable);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isVisibleClearIcon);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"aria-expanded\", (tmp_6_0 = ctx.overlayVisible) !== null && tmp_6_0 !== undefined ? tmp_6_0 : false)(\"data-pc-section\", \"trigger\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.loading)(\"ngIfElse\", elseBlock_r23);\n i0.ɵɵadvance(3);\n i0.ɵɵtwoWayProperty(\"visible\", ctx.overlayVisible);\n i0.ɵɵproperty(\"options\", ctx.overlayOptions)(\"target\", \"@parent\")(\"appendTo\", ctx.appendTo)(\"autoZIndex\", ctx.autoZIndex)(\"baseZIndex\", ctx.baseZIndex)(\"showTransitionOptions\", ctx.showTransitionOptions)(\"hideTransitionOptions\", ctx.hideTransitionOptions);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, SelectItem, Overlay, Tooltip, AutoFocus, TimesIcon, ChevronDownIcon, SearchIcon, InputText, IconField, InputIcon, Scroller, SharedModule],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return Select;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet SelectModule = /*#__PURE__*/(() => {\n class SelectModule {\n static ɵfac = function SelectModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SelectModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: SelectModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [Select, SharedModule, SharedModule]\n });\n }\n return SelectModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(SelectModule, {\n imports: [Select, SharedModule],\n exports: [Select, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SELECT_VALUE_ACCESSOR, Select, SelectClasses, SelectItem, SelectModule, SelectStyle };\n","import * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, inject, numberAttribute, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport * as i2 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i3 from 'primeng/api';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleLeftIcon, AngleRightIcon } from 'primeng/icons';\nimport { InputNumber } from 'primeng/inputnumber';\nimport { Ripple } from 'primeng/ripple';\nimport { Select } from 'primeng/select';\nimport { BaseStyle } from 'primeng/base';\nconst theme = ({\n dt\n}) => `\n.p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n background: ${dt('paginator.background')};\n color: ${dt('paginator.color')};\n padding: ${dt('paginator.padding')};\n border-radius: ${dt('paginator.border.radius')};\n gap: ${dt('paginator.gap')};\n}\n\n.p-paginator-content {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n gap: ${dt('paginator.gap')};\n}\n\n.p-paginator-content-start {\n margin-inline-end: auto;\n}\n\n.p-paginator-content-end {\n margin-inline-start: auto;\n}\n\n.p-paginator-page,\n.p-paginator-next,\n.p-paginator-last,\n.p-paginator-first,\n.p-paginator-prev {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n background: ${dt('paginator.nav.button.background')};\n border: 0 none;\n color: ${dt('paginator.nav.button.color')};\n min-width: ${dt('paginator.nav.button.width')};\n height: ${dt('paginator.nav.button.height')};\n transition: background ${dt('paginator.transition.duration')}, color ${dt('paginator.transition.duration')}, outline-color ${dt('paginator.transition.duration')}, box-shadow ${dt('paginator.transition.duration')};\n border-radius: ${dt('paginator.nav.button.border.radius')};\n padding: 0;\n margin: 0;\n}\n\n.p-paginator-page:focus-visible,\n.p-paginator-next:focus-visible,\n.p-paginator-last:focus-visible,\n.p-paginator-first:focus-visible,\n.p-paginator-prev:focus-visible {\n box-shadow: ${dt('paginator.nav.button.focus.ring.shadow')};\n outline: ${dt('paginator.nav.button.focus.ring.width')} ${dt('paginator.nav.button.focus.ring.style')} ${dt('paginator.nav.button.focus.ring.color')};\n outline-offset: ${dt('paginator.nav.button.focus.ring.offset')};\n}\n\n.p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover,\n.p-paginator-first:not(.p-disabled):hover,\n.p-paginator-prev:not(.p-disabled):hover,\n.p-paginator-next:not(.p-disabled):hover,\n.p-paginator-last:not(.p-disabled):hover {\n background: ${dt('paginator.nav.button.hover.background')};\n color: ${dt('paginator.nav.button.hover.color')};\n}\n\n.p-paginator-first:dir(rtl),\n.p-paginator-prev:dir(rtl),\n.p-paginator-next:dir(rtl),\n.p-paginator-last:dir(rtl) {\n transform: rotate(180deg);\n}\n\n.p-paginator-page.p-paginator-page-selected {\n background: ${dt('paginator.nav.button.selected.background')};\n color: ${dt('paginator.nav.button.selected.color')};\n}\n\n.p-paginator-current {\n color: ${dt('paginator.current.page.report.color')};\n}\n\n.p-paginator-pages {\n display: flex;\n align-items: center;\n gap: ${dt('paginator.gap')};\n}\n\n.p-paginator-jtp-input .p-inputtext {\n max-width: ${dt('paginator.jump.to.page.input.max.width')};\n}\n`;\nconst classes = {\n paginator: ({\n instance,\n key\n }) => ['p-paginator p-component', {\n 'p-paginator-default': !instance.hasBreakpoints(),\n [`p-paginator-${key}`]: instance.hasBreakpoints()\n }],\n content: 'p-paginator-content',\n contentStart: 'p-paginator-content-start',\n contentEnd: 'p-paginator-content-end',\n first: ({\n instance\n }) => ['p-paginator-first', {\n 'p-disabled': instance.$attrs.disabled\n }],\n firstIcon: 'p-paginator-first-icon',\n prev: ({\n instance\n }) => ['p-paginator-prev', {\n 'p-disabled': instance.$attrs.disabled\n }],\n prevIcon: 'p-paginator-prev-icon',\n next: ({\n instance\n }) => ['p-paginator-next', {\n 'p-disabled': instance.$attrs.disabled\n }],\n nextIcon: 'p-paginator-next-icon',\n last: ({\n instance\n }) => ['p-paginator-last', {\n 'p-disabled': instance.$attrs.disabled\n }],\n lastIcon: 'p-paginator-last-icon',\n pages: 'p-paginator-pages',\n page: ({\n props,\n pageLink\n }) => ['p-paginator-page', {\n 'p-paginator-page-selected': pageLink - 1 === props.page\n }],\n current: 'p-paginator-current',\n pcRowPerPageDropdown: 'p-paginator-rpp-dropdown',\n pcJumpToPageDropdown: 'p-paginator-jtp-dropdown',\n pcJumpToPageInput: 'p-paginator-jtp-input'\n};\nlet PaginatorStyle = /*#__PURE__*/(() => {\n class PaginatorStyle extends BaseStyle {\n name = 'paginator';\n theme = theme;\n classes = classes;\n static ɵfac = /*@__PURE__*/(() => {\n let ɵPaginatorStyle_BaseFactory;\n return function PaginatorStyle_Factory(__ngFactoryType__) {\n return (ɵPaginatorStyle_BaseFactory || (ɵPaginatorStyle_BaseFactory = i0.ɵɵgetInheritedFactory(PaginatorStyle)))(__ngFactoryType__ || PaginatorStyle);\n };\n })();\n static ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: PaginatorStyle,\n factory: PaginatorStyle.ɵfac\n });\n }\n return PaginatorStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Paginator is a generic component to display content in paged format.\n *\n * [Live Demo](https://www.primeng.org/paginator)\n *\n * @module paginatorstyle\n *\n */\nvar PaginatorClasses = /*#__PURE__*/function (PaginatorClasses) {\n /**\n * Class name of the paginator element\n */\n PaginatorClasses[\"paginator\"] = \"p-paginator\";\n /**\n * Class name of the content start element\n */\n PaginatorClasses[\"contentStart\"] = \"p-paginator-content-start\";\n /**\n * Class name of the content end element\n */\n PaginatorClasses[\"contentEnd\"] = \"p-paginator-content-end\";\n /**\n * Class name of the first element\n */\n PaginatorClasses[\"first\"] = \"p-paginator-first\";\n /**\n * Class name of the first icon element\n */\n PaginatorClasses[\"firstIcon\"] = \"p-paginator-first-icon\";\n /**\n * Class name of the prev element\n */\n PaginatorClasses[\"prev\"] = \"p-paginator-prev\";\n /**\n * Class name of the prev icon element\n */\n PaginatorClasses[\"prevIcon\"] = \"p-paginator-prev-icon\";\n /**\n * Class name of the next element\n */\n PaginatorClasses[\"next\"] = \"p-paginator-next\";\n /**\n * Class name of the next icon element\n */\n PaginatorClasses[\"nextIcon\"] = \"p-paginator-next-icon\";\n /**\n * Class name of the last element\n */\n PaginatorClasses[\"last\"] = \"p-paginator-last\";\n /**\n * Class name of the last icon element\n */\n PaginatorClasses[\"lastIcon\"] = \"p-paginator-last-icon\";\n /**\n * Class name of the pages element\n */\n PaginatorClasses[\"pages\"] = \"p-paginator-pages\";\n /**\n * Class name of the page element\n */\n PaginatorClasses[\"page\"] = \"p-paginator-page\";\n /**\n * Class name of the current element\n */\n PaginatorClasses[\"current\"] = \"p-paginator-current\";\n /**\n * Class name of the row per page dropdown element\n */\n PaginatorClasses[\"pcRowPerPageDropdown\"] = \"p-paginator-rpp-dropdown\";\n /**\n * Class name of the jump to page dropdown element\n */\n PaginatorClasses[\"pcJumpToPageDropdown\"] = \"p-paginator-jtp-dropdown\";\n /**\n * Class name of the jump to page input element\n */\n PaginatorClasses[\"pcJumpToPageInput\"] = \"p-paginator-jtp-input\";\n return PaginatorClasses;\n}(PaginatorClasses || {});\nconst _c0 = [\"dropdownicon\"];\nconst _c1 = [\"firstpagelinkicon\"];\nconst _c2 = [\"previouspagelinkicon\"];\nconst _c3 = [\"lastpagelinkicon\"];\nconst _c4 = [\"nextpagelinkicon\"];\nconst _c5 = a0 => ({\n \"p-disabled\": a0\n});\nconst _c6 = a0 => ({\n $implicit: a0\n});\nconst _c7 = a0 => ({\n \"p-paginator-page-selected\": a0\n});\nfunction Paginator_div_0_div_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Paginator_div_0_div_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 16);\n i0.ɵɵtemplate(1, Paginator_div_0_div_1_ng_container_1_Template, 1, 0, \"ng-container\", 17);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"start\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.templateLeft)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(3, _c6, ctx_r1.paginatorState));\n }\n}\nfunction Paginator_div_0_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 18);\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.currentPageReport);\n }\n}\nfunction Paginator_div_0_button_3_AngleDoubleLeftIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleDoubleLeftIcon\", 21);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-paginator-first-icon\");\n }\n}\nfunction Paginator_div_0_button_3_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction Paginator_div_0_button_3_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_button_3_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Paginator_div_0_button_3_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 22);\n i0.ɵɵtemplate(1, Paginator_div_0_button_3_span_2_1_Template, 1, 0, null, 23);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.firstPageLinkIconTemplate || ctx_r1._firstPageLinkIconTemplate);\n }\n}\nfunction Paginator_div_0_button_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 19);\n i0.ɵɵlistener(\"click\", function Paginator_div_0_button_3_Template_button_click_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.changePageToFirst($event));\n });\n i0.ɵɵtemplate(1, Paginator_div_0_button_3_AngleDoubleLeftIcon_1_Template, 1, 1, \"AngleDoubleLeftIcon\", 6)(2, Paginator_div_0_button_3_span_2_Template, 2, 1, \"span\", 20);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"disabled\", ctx_r1.isFirstPage() || ctx_r1.empty())(\"ngClass\", i0.ɵɵpureFunction1(5, _c5, ctx_r1.isFirstPage() || ctx_r1.empty()));\n i0.ɵɵattribute(\"aria-label\", ctx_r1.getAriaLabel(\"firstPageLabel\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.firstPageLinkIconTemplate && !ctx_r1._firstPageLinkIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.firstPageLinkIconTemplate || ctx_r1._firstPageLinkIconTemplate);\n }\n}\nfunction Paginator_div_0_AngleLeftIcon_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleLeftIcon\", 21);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-paginator-prev-icon\");\n }\n}\nfunction Paginator_div_0_span_6_1_ng_template_0_Template(rf, ctx) {}\nfunction Paginator_div_0_span_6_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_span_6_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Paginator_div_0_span_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 24);\n i0.ɵɵtemplate(1, Paginator_div_0_span_6_1_Template, 1, 0, null, 23);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.previousPageLinkIconTemplate || ctx_r1._previousPageLinkIconTemplate);\n }\n}\nfunction Paginator_div_0_span_7_button_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 27);\n i0.ɵɵlistener(\"click\", function Paginator_div_0_span_7_button_1_Template_button_click_0_listener($event) {\n const pageLink_r5 = i0.ɵɵrestoreView(_r4).$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n return i0.ɵɵresetView(ctx_r1.onPageLinkClick($event, pageLink_r5 - 1));\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const pageLink_r5 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(4, _c7, pageLink_r5 - 1 == ctx_r1.getPage()));\n i0.ɵɵattribute(\"aria-label\", ctx_r1.getPageAriaLabel(pageLink_r5))(\"aria-current\", pageLink_r5 - 1 == ctx_r1.getPage() ? \"page\" : undefined);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.getLocalization(pageLink_r5), \" \");\n }\n}\nfunction Paginator_div_0_span_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 25);\n i0.ɵɵtemplate(1, Paginator_div_0_span_7_button_1_Template, 2, 6, \"button\", 26);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.pageLinks);\n }\n}\nfunction Paginator_div_0_p_select_8_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtext(0);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵtextInterpolate(ctx_r1.currentPageReport);\n }\n}\nfunction Paginator_div_0_p_select_8_ng_container_2_ng_template_1_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Paginator_div_0_p_select_8_ng_container_2_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_p_select_8_ng_container_2_ng_template_1_ng_container_0_Template, 1, 0, \"ng-container\", 17);\n }\n if (rf & 2) {\n const item_r7 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.jumpToPageItemTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c6, item_r7));\n }\n}\nfunction Paginator_div_0_p_select_8_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Paginator_div_0_p_select_8_ng_container_2_ng_template_1_Template, 1, 4, \"ng-template\", 31);\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction Paginator_div_0_p_select_8_3_ng_template_0_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Paginator_div_0_p_select_8_3_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_p_select_8_3_ng_template_0_ng_container_0_Template, 1, 0, \"ng-container\", 23);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);\n }\n}\nfunction Paginator_div_0_p_select_8_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_p_select_8_3_ng_template_0_Template, 1, 1, \"ng-template\", 32);\n }\n}\nfunction Paginator_div_0_p_select_8_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-select\", 28);\n i0.ɵɵlistener(\"onChange\", function Paginator_div_0_p_select_8_Template_p_select_onChange_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onPageDropdownChange($event));\n });\n i0.ɵɵtemplate(1, Paginator_div_0_p_select_8_ng_template_1_Template, 1, 1, \"ng-template\", 29)(2, Paginator_div_0_p_select_8_ng_container_2_Template, 2, 0, \"ng-container\", 30)(3, Paginator_div_0_p_select_8_3_Template, 1, 0, null, 30);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"options\", ctx_r1.pageItems)(\"ngModel\", ctx_r1.getPage())(\"disabled\", ctx_r1.empty())(\"appendTo\", ctx_r1.dropdownAppendTo)(\"scrollHeight\", ctx_r1.dropdownScrollHeight);\n i0.ɵɵattribute(\"aria-label\", ctx_r1.getAriaLabel(\"jumpToPageDropdownLabel\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.jumpToPageItemTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);\n }\n}\nfunction Paginator_div_0_AngleRightIcon_10_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleRightIcon\", 21);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-paginator-next-icon\");\n }\n}\nfunction Paginator_div_0_span_11_1_ng_template_0_Template(rf, ctx) {}\nfunction Paginator_div_0_span_11_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_span_11_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Paginator_div_0_span_11_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 33);\n i0.ɵɵtemplate(1, Paginator_div_0_span_11_1_Template, 1, 0, null, 23);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.nextPageLinkIconTemplate || ctx_r1._nextPageLinkIconTemplate);\n }\n}\nfunction Paginator_div_0_button_12_AngleDoubleRightIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"AngleDoubleRightIcon\", 21);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"styleClass\", \"p-paginator-last-icon\");\n }\n}\nfunction Paginator_div_0_button_12_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction Paginator_div_0_button_12_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_button_12_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Paginator_div_0_button_12_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 36);\n i0.ɵɵtemplate(1, Paginator_div_0_button_12_span_2_1_Template, 1, 0, null, 23);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.lastPageLinkIconTemplate || ctx_r1._lastPageLinkIconTemplate);\n }\n}\nfunction Paginator_div_0_button_12_Template(rf, ctx) {\n if (rf & 1) {\n const _r8 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 34);\n i0.ɵɵlistener(\"click\", function Paginator_div_0_button_12_Template_button_click_0_listener($event) {\n i0.ɵɵrestoreView(_r8);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.changePageToLast($event));\n });\n i0.ɵɵtemplate(1, Paginator_div_0_button_12_AngleDoubleRightIcon_1_Template, 1, 1, \"AngleDoubleRightIcon\", 6)(2, Paginator_div_0_button_12_span_2_Template, 2, 1, \"span\", 35);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"disabled\", ctx_r1.isLastPage() || ctx_r1.empty())(\"ngClass\", i0.ɵɵpureFunction1(5, _c5, ctx_r1.isLastPage() || ctx_r1.empty()));\n i0.ɵɵattribute(\"aria-label\", ctx_r1.getAriaLabel(\"lastPageLabel\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.lastPageLinkIconTemplate && !ctx_r1._lastPageLinkIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.lastPageLinkIconTemplate || ctx_r1._lastPageLinkIconTemplate);\n }\n}\nfunction Paginator_div_0_p_inputnumber_13_Template(rf, ctx) {\n if (rf & 1) {\n const _r9 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-inputnumber\", 37);\n i0.ɵɵlistener(\"ngModelChange\", function Paginator_div_0_p_inputnumber_13_Template_p_inputnumber_ngModelChange_0_listener($event) {\n i0.ɵɵrestoreView(_r9);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.changePage($event - 1));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngModel\", ctx_r1.currentPage())(\"disabled\", ctx_r1.empty());\n }\n}\nfunction Paginator_div_0_p_select_14_ng_container_1_ng_template_1_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Paginator_div_0_p_select_14_ng_container_1_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_p_select_14_ng_container_1_ng_template_1_ng_container_0_Template, 1, 0, \"ng-container\", 17);\n }\n if (rf & 2) {\n const item_r11 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.dropdownItemTemplate)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c6, item_r11));\n }\n}\nfunction Paginator_div_0_p_select_14_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Paginator_div_0_p_select_14_ng_container_1_ng_template_1_Template, 1, 4, \"ng-template\", 31);\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction Paginator_div_0_p_select_14_2_ng_template_0_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Paginator_div_0_p_select_14_2_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_p_select_14_2_ng_template_0_ng_container_0_Template, 1, 0, \"ng-container\", 23);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);\n }\n}\nfunction Paginator_div_0_p_select_14_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_p_select_14_2_ng_template_0_Template, 1, 1, \"ng-template\", 32);\n }\n}\nfunction Paginator_div_0_p_select_14_Template(rf, ctx) {\n if (rf & 1) {\n const _r10 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-select\", 38);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function Paginator_div_0_p_select_14_Template_p_select_ngModelChange_0_listener($event) {\n i0.ɵɵrestoreView(_r10);\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵtwoWayBindingSet(ctx_r1.rows, $event) || (ctx_r1.rows = $event);\n return i0.ɵɵresetView($event);\n });\n i0.ɵɵlistener(\"onChange\", function Paginator_div_0_p_select_14_Template_p_select_onChange_0_listener($event) {\n i0.ɵɵrestoreView(_r10);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onRppChange($event));\n });\n i0.ɵɵtemplate(1, Paginator_div_0_p_select_14_ng_container_1_Template, 2, 0, \"ng-container\", 30)(2, Paginator_div_0_p_select_14_2_Template, 1, 0, null, 30);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"options\", ctx_r1.rowsPerPageItems);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r1.rows);\n i0.ɵɵproperty(\"disabled\", ctx_r1.empty())(\"appendTo\", ctx_r1.dropdownAppendTo)(\"scrollHeight\", ctx_r1.dropdownScrollHeight)(\"ariaLabel\", ctx_r1.getAriaLabel(\"rowsPerPageLabel\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.dropdownItemTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);\n }\n}\nfunction Paginator_div_0_div_15_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Paginator_div_0_div_15_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 39);\n i0.ɵɵtemplate(1, Paginator_div_0_div_15_ng_container_1_Template, 1, 0, \"ng-container\", 17);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵattribute(\"data-pc-section\", \"end\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.templateRight)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(3, _c6, ctx_r1.paginatorState));\n }\n}\nfunction Paginator_div_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 1);\n i0.ɵɵtemplate(1, Paginator_div_0_div_1_Template, 2, 5, \"div\", 2)(2, Paginator_div_0_span_2_Template, 2, 1, \"span\", 3)(3, Paginator_div_0_button_3_Template, 3, 7, \"button\", 4);\n i0.ɵɵelementStart(4, \"button\", 5);\n i0.ɵɵlistener(\"click\", function Paginator_div_0_Template_button_click_4_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changePageToPrev($event));\n });\n i0.ɵɵtemplate(5, Paginator_div_0_AngleLeftIcon_5_Template, 1, 1, \"AngleLeftIcon\", 6)(6, Paginator_div_0_span_6_Template, 2, 1, \"span\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(7, Paginator_div_0_span_7_Template, 2, 1, \"span\", 8)(8, Paginator_div_0_p_select_8_Template, 4, 8, \"p-select\", 9);\n i0.ɵɵelementStart(9, \"button\", 10);\n i0.ɵɵlistener(\"click\", function Paginator_div_0_Template_button_click_9_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.changePageToNext($event));\n });\n i0.ɵɵtemplate(10, Paginator_div_0_AngleRightIcon_10_Template, 1, 1, \"AngleRightIcon\", 6)(11, Paginator_div_0_span_11_Template, 2, 1, \"span\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(12, Paginator_div_0_button_12_Template, 3, 7, \"button\", 12)(13, Paginator_div_0_p_inputnumber_13_Template, 1, 2, \"p-inputnumber\", 13)(14, Paginator_div_0_p_select_14_Template, 3, 8, \"p-select\", 14)(15, Paginator_div_0_div_15_Template, 2, 5, \"div\", 15);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassMap(ctx_r1.styleClass);\n i0.ɵɵproperty(\"ngStyle\", ctx_r1.style)(\"ngClass\", \"p-paginator p-component\");\n i0.ɵɵattribute(\"data-pc-section\", \"paginator\")(\"data-pc-section\", \"root\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.templateLeft);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showCurrentPageReport);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showFirstLastIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"disabled\", ctx_r1.isFirstPage() || ctx_r1.empty())(\"ngClass\", i0.ɵɵpureFunction1(25, _c5, ctx_r1.isFirstPage() || ctx_r1.empty()));\n i0.ɵɵattribute(\"aria-label\", ctx_r1.getAriaLabel(\"prevPageLabel\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.previousPageLinkIconTemplate && !ctx_r1._previousPageLinkIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.previousPageLinkIconTemplate || ctx_r1._previousPageLinkIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showPageLinks);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showJumpToPageDropdown);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"disabled\", ctx_r1.isLastPage() || ctx_r1.empty())(\"ngClass\", i0.ɵɵpureFunction1(27, _c5, ctx_r1.isLastPage() || ctx_r1.empty()));\n i0.ɵɵattribute(\"aria-label\", ctx_r1.getAriaLabel(\"nextPageLabel\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.nextPageLinkIconTemplate && !ctx_r1._nextPageLinkIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.nextPageLinkIconTemplate || ctx_r1._nextPageLinkIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showFirstLastIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showJumpToPageInput);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.rowsPerPageOptions);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.templateRight);\n }\n}\n/**\n * Paginator is a generic component to display content in paged format.\n * @group Components\n */\nlet Paginator = /*#__PURE__*/(() => {\n class Paginator extends BaseComponent {\n /**\n * Number of page links to display.\n * @group Props\n */\n pageLinkSize = 5;\n /**\n * Inline style of the component.\n * @group Props\n */\n style;\n /**\n * Style class of the component.\n * @group Props\n */\n styleClass;\n /**\n * Whether to show it even there is only one page.\n * @group Props\n */\n alwaysShow = true;\n /**\n * Target element to attach the dropdown overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n dropdownAppendTo;\n /**\n * Template instance to inject into the left side of the paginator.\n * @param {PaginatorState} context - Paginator state.\n * @group Props\n */\n templateLeft;\n /**\n * Template instance to inject into the right side of the paginator.\n * @param {PaginatorState} context - Paginator state.\n * @group Props\n */\n templateRight;\n /**\n * Target element to attach the dropdown overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * Dropdown height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.\n * @group Props\n */\n dropdownScrollHeight = '200px';\n /**\n * Template of the current page report element. Available placeholders are {currentPage},{totalPages},{rows},{first},{last} and {totalRecords}\n * @group Props\n */\n currentPageReportTemplate = '{currentPage} of {totalPages}';\n /**\n * Whether to display current page report.\n * @group Props\n */\n showCurrentPageReport;\n /**\n * When enabled, icons are displayed on paginator to go first and last page.\n * @group Props\n */\n showFirstLastIcon = true;\n /**\n * Number of total records.\n * @group Props\n */\n totalRecords = 0;\n /**\n * Data count to display per page.\n * @group Props\n */\n rows = 0;\n /**\n * Array of integer/object values to display inside rows per page dropdown. A object that have 'showAll' key can be added to it to show all data. Exp; [10,20,30,{showAll:'All'}]\n * @group Props\n */\n rowsPerPageOptions;\n /**\n * Whether to display a dropdown to navigate to any page.\n * @group Props\n */\n showJumpToPageDropdown;\n /**\n * Whether to display a input to navigate to any page.\n * @group Props\n */\n showJumpToPageInput;\n /**\n * Template instance to inject into the jump to page dropdown item inside in the paginator.\n * @param {Object} context - item instance.\n * @group Props\n */\n jumpToPageItemTemplate;\n /**\n * Whether to show page links.\n * @group Props\n */\n showPageLinks = true;\n /**\n * Locale to be used in formatting.\n * @group Props\n */\n locale;\n /**\n * Template instance to inject into the rows per page dropdown item inside in the paginator.\n * @param {Object} context - item instance.\n * @group Props\n */\n dropdownItemTemplate;\n /**\n * Zero-relative number of the first row to be displayed.\n * @group Props\n */\n get first() {\n return this._first;\n }\n set first(val) {\n this._first = val;\n }\n /**\n * Callback to invoke when page changes, the event object contains information about the new state.\n * @param {PaginatorState} event - Paginator state.\n * @group Emits\n */\n onPageChange = new EventEmitter();\n /**\n * Template for the dropdown icon.\n * @group Templates\n */\n dropdownIconTemplate;\n /**\n * Template for the first page link icon.\n * @group Templates\n */\n firstPageLinkIconTemplate;\n /**\n * Template for the previous page link icon.\n * @group Templates\n */\n previousPageLinkIconTemplate;\n /**\n * Template for the last page link icon.\n * @group Templates\n */\n lastPageLinkIconTemplate;\n /**\n * Template for the next page link icon.\n * @group Templates\n */\n nextPageLinkIconTemplate;\n templates;\n _dropdownIconTemplate;\n _firstPageLinkIconTemplate;\n _previousPageLinkIconTemplate;\n _lastPageLinkIconTemplate;\n _nextPageLinkIconTemplate;\n pageLinks;\n pageItems;\n rowsPerPageItems;\n paginatorState;\n _first = 0;\n _page = 0;\n _componentStyle = inject(PaginatorStyle);\n constructor() {\n super();\n }\n ngOnInit() {\n super.ngOnInit();\n this.updatePaginatorState();\n }\n ngAfterContentInit() {\n this.templates.forEach(item => {\n switch (item.getType()) {\n case 'dropdownicon':\n this._dropdownIconTemplate = item.template;\n break;\n case 'firstpagelinkicon':\n this._firstPageLinkIconTemplate = item.template;\n break;\n case 'previouspagelinkicon':\n this._previousPageLinkIconTemplate = item.template;\n break;\n case 'lastpagelinkicon':\n this._lastPageLinkIconTemplate = item.template;\n break;\n case 'nextpagelinkicon':\n this._nextPageLinkIconTemplate = item.template;\n break;\n }\n });\n }\n getAriaLabel(labelType) {\n return this.config.translation.aria ? this.config.translation.aria[labelType] : undefined;\n }\n getPageAriaLabel(value) {\n return this.config.translation.aria ? this.config.translation.aria.pageLabel.replace(/{page}/g, `${value}`) : undefined;\n }\n getLocalization(digit) {\n const numerals = [...new Intl.NumberFormat(this.locale, {\n useGrouping: false\n }).format(9876543210)].reverse();\n const index = new Map(numerals.map((d, i) => [i, d]));\n if (digit > 9) {\n const numbers = String(digit).split('');\n return numbers.map(number => index.get(Number(number))).join('');\n } else {\n return index.get(digit);\n }\n }\n ngOnChanges(simpleChange) {\n super.ngOnChanges(simpleChange);\n if (simpleChange.totalRecords) {\n this.updatePageLinks();\n this.updatePaginatorState();\n this.updateFirst();\n this.updateRowsPerPageOptions();\n }\n if (simpleChange.first) {\n this._first = simpleChange.first.currentValue;\n this.updatePageLinks();\n this.updatePaginatorState();\n }\n if (simpleChange.rows) {\n this.updatePageLinks();\n this.updatePaginatorState();\n }\n if (simpleChange.rowsPerPageOptions) {\n this.updateRowsPerPageOptions();\n }\n if (simpleChange.pageLinkSize) {\n this.updatePageLinks();\n }\n }\n updateRowsPerPageOptions() {\n if (this.rowsPerPageOptions) {\n this.rowsPerPageItems = [];\n let showAllItem = null;\n for (let opt of this.rowsPerPageOptions) {\n if (typeof opt == 'object' && opt['showAll']) {\n showAllItem = {\n label: opt['showAll'],\n value: this.totalRecords\n };\n } else {\n this.rowsPerPageItems.push({\n label: String(this.getLocalization(opt)),\n value: opt\n });\n }\n }\n if (showAllItem) {\n this.rowsPerPageItems.push(showAllItem);\n }\n }\n }\n isFirstPage() {\n return this.getPage() === 0;\n }\n isLastPage() {\n return this.getPage() === this.getPageCount() - 1;\n }\n getPageCount() {\n return Math.ceil(this.totalRecords / this.rows);\n }\n calculatePageLinkBoundaries() {\n let numberOfPages = this.getPageCount(),\n visiblePages = Math.min(this.pageLinkSize, numberOfPages);\n //calculate range, keep current in middle if necessary\n let start = Math.max(0, Math.ceil(this.getPage() - visiblePages / 2)),\n end = Math.min(numberOfPages - 1, start + visiblePages - 1);\n //check when approaching to last page\n var delta = this.pageLinkSize - (end - start + 1);\n start = Math.max(0, start - delta);\n return [start, end];\n }\n updatePageLinks() {\n this.pageLinks = [];\n let boundaries = this.calculatePageLinkBoundaries(),\n start = boundaries[0],\n end = boundaries[1];\n for (let i = start; i <= end; i++) {\n this.pageLinks.push(i + 1);\n }\n if (this.showJumpToPageDropdown) {\n this.pageItems = [];\n for (let i = 0; i < this.getPageCount(); i++) {\n this.pageItems.push({\n label: String(i + 1),\n value: i\n });\n }\n }\n }\n changePage(p) {\n var pc = this.getPageCount();\n if (p >= 0 && p < pc) {\n this._first = this.rows * p;\n var state = {\n page: p,\n first: this.first,\n rows: this.rows,\n pageCount: pc\n };\n this.updatePageLinks();\n this.onPageChange.emit(state);\n this.updatePaginatorState();\n }\n }\n updateFirst() {\n const page = this.getPage();\n if (page > 0 && this.totalRecords && this.first >= this.totalRecords) {\n Promise.resolve(null).then(() => this.changePage(page - 1));\n }\n }\n getPage() {\n return Math.floor(this.first / this.rows);\n }\n changePageToFirst(event) {\n if (!this.isFirstPage()) {\n this.changePage(0);\n }\n event.preventDefault();\n }\n changePageToPrev(event) {\n this.changePage(this.getPage() - 1);\n event.preventDefault();\n }\n changePageToNext(event) {\n this.changePage(this.getPage() + 1);\n event.preventDefault();\n }\n changePageToLast(event) {\n if (!this.isLastPage()) {\n this.changePage(this.getPageCount() - 1);\n }\n event.preventDefault();\n }\n onPageLinkClick(event, page) {\n this.changePage(page);\n event.preventDefault();\n }\n onRppChange(event) {\n this.changePage(this.getPage());\n }\n onPageDropdownChange(event) {\n this.changePage(event.value);\n }\n updatePaginatorState() {\n this.paginatorState = {\n page: this.getPage(),\n pageCount: this.getPageCount(),\n rows: this.rows,\n first: this.first,\n totalRecords: this.totalRecords\n };\n }\n empty() {\n return this.getPageCount() === 0;\n }\n currentPage() {\n return this.getPageCount() > 0 ? this.getPage() + 1 : 0;\n }\n get currentPageReport() {\n return this.currentPageReportTemplate.replace('{currentPage}', String(this.currentPage())).replace('{totalPages}', String(this.getPageCount())).replace('{first}', String(this.totalRecords > 0 ? this._first + 1 : 0)).replace('{last}', String(Math.min(this._first + this.rows, this.totalRecords))).replace('{rows}', String(this.rows)).replace('{totalRecords}', String(this.totalRecords));\n }\n static ɵfac = function Paginator_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || Paginator)();\n };\n static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: Paginator,\n selectors: [[\"p-paginator\"]],\n contentQueries: function Paginator_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, _c1, 4);\n i0.ɵɵcontentQuery(dirIndex, _c2, 4);\n i0.ɵɵcontentQuery(dirIndex, _c3, 4);\n i0.ɵɵcontentQuery(dirIndex, _c4, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstPageLinkIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousPageLinkIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastPageLinkIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextPageLinkIconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n inputs: {\n pageLinkSize: [2, \"pageLinkSize\", \"pageLinkSize\", numberAttribute],\n style: \"style\",\n styleClass: \"styleClass\",\n alwaysShow: [2, \"alwaysShow\", \"alwaysShow\", booleanAttribute],\n dropdownAppendTo: \"dropdownAppendTo\",\n templateLeft: \"templateLeft\",\n templateRight: \"templateRight\",\n appendTo: \"appendTo\",\n dropdownScrollHeight: \"dropdownScrollHeight\",\n currentPageReportTemplate: \"currentPageReportTemplate\",\n showCurrentPageReport: [2, \"showCurrentPageReport\", \"showCurrentPageReport\", booleanAttribute],\n showFirstLastIcon: [2, \"showFirstLastIcon\", \"showFirstLastIcon\", booleanAttribute],\n totalRecords: [2, \"totalRecords\", \"totalRecords\", numberAttribute],\n rows: [2, \"rows\", \"rows\", numberAttribute],\n rowsPerPageOptions: \"rowsPerPageOptions\",\n showJumpToPageDropdown: [2, \"showJumpToPageDropdown\", \"showJumpToPageDropdown\", booleanAttribute],\n showJumpToPageInput: [2, \"showJumpToPageInput\", \"showJumpToPageInput\", booleanAttribute],\n jumpToPageItemTemplate: \"jumpToPageItemTemplate\",\n showPageLinks: [2, \"showPageLinks\", \"showPageLinks\", booleanAttribute],\n locale: \"locale\",\n dropdownItemTemplate: \"dropdownItemTemplate\",\n first: \"first\"\n },\n outputs: {\n onPageChange: \"onPageChange\"\n },\n features: [i0.ɵɵProvidersFeature([PaginatorStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature],\n decls: 1,\n vars: 1,\n consts: [[3, \"class\", \"ngStyle\", \"ngClass\", 4, \"ngIf\"], [3, \"ngStyle\", \"ngClass\"], [\"class\", \"p-paginator-content-start\", 4, \"ngIf\"], [\"class\", \"p-paginator-current\", 4, \"ngIf\"], [\"type\", \"button\", \"pRipple\", \"\", \"class\", \"p-paginator-first\", 3, \"disabled\", \"ngClass\", \"click\", 4, \"ngIf\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-paginator-prev\", 3, \"click\", \"disabled\", \"ngClass\"], [3, \"styleClass\", 4, \"ngIf\"], [\"class\", \"p-paginator-prev-icon\", 4, \"ngIf\"], [\"class\", \"p-paginator-pages\", 4, \"ngIf\"], [\"styleClass\", \"p-paginator-jtp-dropdown\", 3, \"options\", \"ngModel\", \"disabled\", \"appendTo\", \"scrollHeight\", \"onChange\", 4, \"ngIf\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-paginator-next\", 3, \"click\", \"disabled\", \"ngClass\"], [\"class\", \"p-paginator-next-icon\", 4, \"ngIf\"], [\"type\", \"button\", \"pRipple\", \"\", \"class\", \"p-paginator-last\", 3, \"disabled\", \"ngClass\", \"click\", 4, \"ngIf\"], [\"class\", \"p-paginator-jtp-input\", 3, \"ngModel\", \"disabled\", \"ngModelChange\", 4, \"ngIf\"], [\"styleClass\", \"p-paginator-rpp-dropdown\", 3, \"options\", \"ngModel\", \"disabled\", \"appendTo\", \"scrollHeight\", \"ariaLabel\", \"ngModelChange\", \"onChange\", 4, \"ngIf\"], [\"class\", \"p-paginator-content-end\", 4, \"ngIf\"], [1, \"p-paginator-content-start\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [1, \"p-paginator-current\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-paginator-first\", 3, \"click\", \"disabled\", \"ngClass\"], [\"class\", \"p-paginator-first-icon\", 4, \"ngIf\"], [3, \"styleClass\"], [1, \"p-paginator-first-icon\"], [4, \"ngTemplateOutlet\"], [1, \"p-paginator-prev-icon\"], [1, \"p-paginator-pages\"], [\"type\", \"button\", \"class\", \"p-paginator-page\", \"pRipple\", \"\", 3, \"ngClass\", \"click\", 4, \"ngFor\", \"ngForOf\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-paginator-page\", 3, \"click\", \"ngClass\"], [\"styleClass\", \"p-paginator-jtp-dropdown\", 3, \"onChange\", \"options\", \"ngModel\", \"disabled\", \"appendTo\", \"scrollHeight\"], [\"pTemplate\", \"selectedItem\"], [4, \"ngIf\"], [\"pTemplate\", \"item\"], [\"pTemplate\", \"dropdownicon\"], [1, \"p-paginator-next-icon\"], [\"type\", \"button\", \"pRipple\", \"\", 1, \"p-paginator-last\", 3, \"click\", \"disabled\", \"ngClass\"], [\"class\", \"p-paginator-last-icon\", 4, \"ngIf\"], [1, \"p-paginator-last-icon\"], [1, \"p-paginator-jtp-input\", 3, \"ngModelChange\", \"ngModel\", \"disabled\"], [\"styleClass\", \"p-paginator-rpp-dropdown\", 3, \"ngModelChange\", \"onChange\", \"options\", \"ngModel\", \"disabled\", \"appendTo\", \"scrollHeight\", \"ariaLabel\"], [1, \"p-paginator-content-end\"]],\n template: function Paginator_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Paginator_div_0_Template, 16, 29, \"div\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.alwaysShow ? true : ctx.pageLinks && ctx.pageLinks.length > 1);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Select, InputNumber, FormsModule, i2.NgControlStatus, i2.NgModel, Ripple, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleLeftIcon, AngleRightIcon, SharedModule, i3.PrimeTemplate],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n return Paginator;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet PaginatorModule = /*#__PURE__*/(() => {\n class PaginatorModule {\n static ɵfac = function PaginatorModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PaginatorModule)();\n };\n static ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: PaginatorModule\n });\n static ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [Paginator, SharedModule, SharedModule]\n });\n }\n return PaginatorModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(PaginatorModule, {\n imports: [Paginator, SharedModule],\n exports: [Paginator, SharedModule]\n });\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Paginator, PaginatorClasses, PaginatorModule, PaginatorStyle };\n"],"names":["AngleDoubleLeftIcon","BaseIcon","ɵAngleDoubleLeftIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","AngleDoubleRightIcon","BaseIcon","ɵAngleDoubleRightIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","AngleDownIcon","BaseIcon","ɵAngleDownIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","AngleLeftIcon","BaseIcon","ɵAngleLeftIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","AngleRightIcon","BaseIcon","ɵAngleRightIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","AngleUpIcon","BaseIcon","ɵAngleUpIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","BlankIcon","BaseIcon","ɵBlankIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ChevronDownIcon","BaseIcon","ɵChevronDownIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","SearchIcon","BaseIcon","uuid","ɵSearchIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","ɵɵadvance","ɵɵproperty","theme","dt","classes","instance","props","InputTextStyle","BaseStyle","ɵInputTextStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","InputText","BaseComponent","inject","InputTextStyle","fluidComponent","isEmpty","ngModel","__ngFactoryType__","ɵɵdirectiveInject","NgModel","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","tmp_1_0","ɵɵclassProp","booleanAttribute","ɵɵProvidersFeature","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","InputTextModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","classes","instance","InputNumberStyle","BaseStyle","ɵInputNumberStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","_c1","_c2","_c3","InputNumber_ng_container_2_TimesIcon_1_Template","rf","ctx","_r2","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","ctx_r2","ɵɵnextContext","ɵɵresetView","ɵɵelementEnd","ɵɵproperty","ɵɵattribute","InputNumber_ng_container_2_span_2_1_ng_template_0_Template","InputNumber_ng_container_2_span_2_1_Template","ɵɵtemplate","InputNumber_ng_container_2_span_2_Template","_r4","ɵɵadvance","InputNumber_ng_container_2_Template","ɵɵelementContainerStart","ɵɵelementContainerEnd","InputNumber_span_3_span_2_Template","ɵɵelement","InputNumber_span_3_ng_container_3_AngleUpIcon_1_Template","InputNumber_span_3_ng_container_3_2_ng_template_0_Template","InputNumber_span_3_ng_container_3_2_Template","InputNumber_span_3_ng_container_3_Template","InputNumber_span_3_span_5_Template","InputNumber_span_3_ng_container_6_AngleDownIcon_1_Template","InputNumber_span_3_ng_container_6_2_ng_template_0_Template","InputNumber_span_3_ng_container_6_2_Template","InputNumber_span_3_ng_container_6_Template","InputNumber_span_3_Template","_r5","$event","ɵɵclassMap","InputNumber_button_4_span_1_Template","InputNumber_button_4_ng_container_2_AngleUpIcon_1_Template","InputNumber_button_4_ng_container_2_2_ng_template_0_Template","InputNumber_button_4_ng_container_2_2_Template","InputNumber_button_4_ng_container_2_Template","InputNumber_button_4_Template","_r6","InputNumber_button_5_span_1_Template","InputNumber_button_5_ng_container_2_AngleDownIcon_1_Template","InputNumber_button_5_ng_container_2_2_ng_template_0_Template","InputNumber_button_5_ng_container_2_2_Template","InputNumber_button_5_ng_container_2_Template","InputNumber_button_5_Template","_r7","INPUTNUMBER_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","InputNumber","BaseComponent","disabled","EventEmitter","inject","InputNumberStyle","fluidComponent","injector","simpleChange","p","key","NgControl","item","numerals","index","d","i","text","decimalChar","__spreadProps","__spreadValues","formatter","value","formattedValue","suffixRegex","prefixRegex","currencyRegex","filteredText","parsedValue","event","interval","dir","step","currentValue","newValue","selectionStart","selectionEnd","inputValue","newValueStr","previousCharIndex","deleteChar","decimalCharIndex","decimalCharIndexWithoutPrefix","decimalLength","insertedText","code","char","isDecimalSign","isMinusSign","selectedValue","selectedValueParsed","selectedValueStr","data","filteredData","val","minusCharIndex","suffixCharIndex","currencyCharIndex","sign","minusCharIndexOnText","maxFractionDigits","operation","charIndex","start","end","valueLength","prefixLength","getSelection","valueStr","insertedValueStr","parsedCurrentValue","currentLength","newLength","startValue","startExpr","sRegex","tExpr","tRegex","prevChar","nextChar","diff","isGroupChar","val1","val2","valueSplit","newValueNumber","newValueString","isBlurUpdateOnMode","fn","__ngFactoryType__","ɵɵdirectiveInject","Injector","ɵɵdefineComponent","dirIndex","ɵɵcontentQuery","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","booleanAttribute","numberAttribute","ɵɵProvidersFeature","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","_r1","CommonModule","NgClass","NgIf","NgTemplateOutlet","NgStyle","InputText","AutoFocus","TimesIcon","AngleUpIcon","AngleDownIcon","SharedModule","InputNumberModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","classes","IconFieldStyle","BaseStyle","ɵIconFieldStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","IconField","BaseComponent","inject","IconFieldStyle","ɵIconField_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","rf","ctx","ɵɵclassMap","ɵɵclassProp","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","ɵɵprojectionDef","ɵɵprojection","CommonModule","classes","InputIconStyle","BaseStyle","ɵInputIconStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","InputIcon","BaseComponent","inject","ɵInputIcon_BaseFactory","ɵɵdefineComponent","rf","ctx","ɵɵclassMap","ɵɵclassProp","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","ɵɵprojectionDef","ɵɵprojection","CommonModule","SharedModule","theme","dt","OverlayStyle","BaseStyle","ɵOverlayStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","_c1","_c2","_c3","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","a10","a11","a12","a13","_c4","_c5","_c6","_c7","Overlay_div_0_div_2_ng_container_3_Template","rf","ctx","ɵɵelementContainer","Overlay_div_0_div_2_Template","_r3","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ctx_r1","ɵɵnextContext","ɵɵresetView","ɵɵprojection","ɵɵtemplate","ɵɵelementEnd","ɵɵclassMap","ɵɵproperty","ɵɵpureFunction1","ɵɵpureFunction3","ɵɵadvance","Overlay_div_0_Template","_r1","ɵɵpureFunctionV","showOverlayContentAnimation","animation","style","animate","hideOverlayContentAnimation","Overlay","BaseComponent","value","ObjectUtils","val","EventEmitter","inject","isPlatformBrowser","__spreadValues","getTargetElement","overlayService","zone","item","overlay","isFocus","focus","addClass","removeClass","DomHandler","visible","event","zindexutils","container","name","params","ConnectedOverlayScrollHandler","isOutsideClicked","isTouchDevice","ɵɵdirectiveInject","OverlayService","NgZone","ɵɵdefineComponent","dirIndex","ɵɵcontentQuery","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","ɵɵprojectionDef","CommonModule","NgClass","NgIf","NgTemplateOutlet","NgStyle","SharedModule","trigger","transition","useAnimation","OverlayModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","ScrollerStyle","BaseStyle","ɵScrollerStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","_c1","_c2","_c3","_c4","_c5","_c6","a0","a1","a2","_c7","_c8","_c9","_c10","_c11","_c12","_c13","Scroller_ng_container_0_ng_container_3_ng_container_1_Template","rf","ctx","ɵɵelementContainer","Scroller_ng_container_0_ng_container_3_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵproperty","ɵɵpureFunction2","Scroller_ng_container_0_ng_template_4_ng_container_2_ng_container_1_Template","Scroller_ng_container_0_ng_template_4_ng_container_2_Template","item_r3","index_r4","Scroller_ng_container_0_ng_template_4_Template","ɵɵelementStart","ɵɵelementEnd","ɵɵpureFunction1","ɵɵattribute","Scroller_ng_container_0_div_6_Template","ɵɵelement","Scroller_ng_container_0_div_7_ng_container_1_ng_container_1_ng_container_1_Template","Scroller_ng_container_0_div_7_ng_container_1_ng_container_1_Template","index_r5","Scroller_ng_container_0_div_7_ng_container_1_Template","Scroller_ng_container_0_div_7_ng_template_2_ng_container_0_ng_container_1_Template","Scroller_ng_container_0_div_7_ng_template_2_ng_container_0_Template","ɵɵpureFunction0","Scroller_ng_container_0_div_7_ng_template_2_ng_template_1_Template","Scroller_ng_container_0_div_7_ng_template_2_Template","ɵɵtemplateRefExtractor","buildInLoaderIcon_r6","ɵɵreference","Scroller_ng_container_0_div_7_Template","buildInLoader_r7","Scroller_ng_container_0_Template","_r1","ɵɵgetCurrentView","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","buildInContent_r8","ɵɵclassMap","ɵɵpureFunction3","Scroller_ng_template_1_ng_container_1_ng_container_1_Template","Scroller_ng_template_1_ng_container_1_Template","Scroller_ng_template_1_Template","ɵɵprojection","Scroller","BaseComponent","val","k","v","EventEmitter","item","inject","ScrollerStyle","zone","simpleChanges","isLoadingChanged","previousValue","currentValue","isPlatformBrowser","isVisible","getWidth","getHeight","el","findSingle","first","options","index","behavior","i","scrollTop","scrollLeft","numToleratedItems","contentPos","itemSize","calculateFirst","_index","_numT","calculateCoord","_first","_size","_cpos","scrollTo","left","top","newFirst","isRangeChanged","isScrollChanged","to","viewport","isToStart","isToEnd","pos","calculateFirstInViewport","_pos","firstInViewport","lastInViewport","scrollPos","contentWidth","contentHeight","calculateNumItemsInViewport","_contentSize","_itemSize","calculateNumToleratedItems","_numItems","numItemsInViewport","calculateLast","_num","_isCols","last","width","height","isCols","style","right","bottom","parentElement","setProp","_name","_value","__spreadProps","__spreadValues","calculateTranslateVal","setTransform","_x","_y","translateVal","event","target","calculateScrollPos","calculateCurrentIndex","calculateTriggerIndex","_currentIndex","_last","_isScrollDownOrRight","_triggerIndex","lastValue","newLast","newScrollPos","isScrollDown","isScrollRight","currentIndex","triggerIndex","isScrollDownOrRight","newState","lazyLoadState","window","isTouchDevice","isDiffWidth","isDiffHeight","name","params","renderedIndex","count","extOptions","__ngFactoryType__","ɵɵdirectiveInject","NgZone","ɵɵdefineComponent","dirIndex","ɵɵcontentQuery","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","ɵɵprojectionDef","disabledContainer_r9","CommonModule","NgClass","NgForOf","NgIf","NgTemplateOutlet","NgStyle","SpinnerIcon","SharedModule","ScrollerModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","classes","TooltipStyle","BaseStyle","ɵTooltipStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","Tooltip","BaseComponent","val","uuid","inject","TooltipStyle","zone","viewContainer","isPlatformBrowser","tooltipEvent","target","simpleChange","__spreadValues","hasClass","duration","tooltipArrow","appendChild","targetEl","e","fadeIn","zindexutils","content","TemplateRef","embeddedViewRef","node","position","positionPriority","index","alignmentFn","offset","targetLeft","getWindowScrollLeft","targetTop","getWindowScrollTop","findSingle","el","offsetLeft","getOuterWidth","offsetTop","getOuterHeight","hostOffset","left","top","option","defaultClassName","width","height","viewport","getViewport","ConnectedOverlayScrollHandler","removeChild","__ngFactoryType__","ɵɵdirectiveInject","NgZone","ViewContainerRef","ɵɵdefineDirective","booleanAttribute","numberAttribute","ɵɵProvidersFeature","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","TooltipModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","classes","instance","props","state","option","focusedOption","SelectStyle","BaseStyle","ɵSelectStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","a0","_c1","a1","a2","_c2","SelectItem_ng_container_1_CheckIcon_1_Template","rf","ctx","ɵɵelement","SelectItem_ng_container_1_BlankIcon_2_Template","SelectItem_ng_container_1_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ctx_r0","ɵɵnextContext","ɵɵadvance","ɵɵproperty","SelectItem_span_2_Template","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","tmp_1_0","ɵɵtextInterpolate","SelectItem_ng_container_3_Template","ɵɵelementContainer","_c3","_c4","_c5","_c6","_c7","_c8","_c9","_c10","_c11","_c12","_c13","_c14","_c15","_c16","_c17","_c18","_c19","_c20","_c21","_c22","_c23","_c24","_c25","_c26","_c27","_c28","_c29","_c30","Select_span_0_ng_container_2_Template","ctx_r2","Select_span_0_ng_container_3_Template","ɵɵpureFunction1","Select_span_0_ng_template_4_span_0_Template","Select_span_0_ng_template_4_Template","Select_span_0_Template","_r2","ɵɵgetCurrentView","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","ɵɵtemplateRefExtractor","tmp_17_0","defaultPlaceholder_r4","ɵɵreference","ɵɵattribute","Select_input_1_Template","_r5","Select_ng_container_2_TimesIcon_1_Template","_r6","Select_ng_container_2_span_2_1_ng_template_0_Template","Select_ng_container_2_span_2_1_Template","Select_ng_container_2_span_2_Template","_r7","ɵɵpureFunction0","Select_ng_container_2_Template","Select_ng_container_4_ng_container_1_ng_container_1_Template","Select_ng_container_4_ng_container_1_Template","Select_ng_container_4_ng_container_2_span_1_Template","Select_ng_container_4_ng_container_2_span_2_Template","ɵɵclassMap","Select_ng_container_4_ng_container_2_Template","Select_ng_container_4_Template","Select_ng_template_5_ng_container_0_span_1_Template","Select_ng_template_5_ng_container_0_ChevronDownIcon_2_Template","Select_ng_template_5_ng_container_0_Template","Select_ng_template_5_span_1_1_ng_template_0_Template","Select_ng_template_5_span_1_1_Template","Select_ng_template_5_span_1_Template","Select_ng_template_5_Template","Select_ng_template_9_ng_container_3_Template","Select_ng_template_9_div_4_ng_container_1_ng_container_1_Template","Select_ng_template_9_div_4_ng_container_1_Template","Select_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template","Select_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template","Select_ng_template_9_div_4_ng_template_2_span_5_1_Template","Select_ng_template_9_div_4_ng_template_2_span_5_Template","Select_ng_template_9_div_4_ng_template_2_Template","_r10","Select_ng_template_9_div_4_Template","_r9","builtInFilterElement_r11","Select_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template","Select_ng_template_9_p_scroller_6_ng_template_2_Template","items_r13","scrollerOptions_r14","buildInItems_r15","ɵɵpureFunction2","Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template","Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template","scrollerOptions_r16","Select_ng_template_9_p_scroller_6_ng_container_4_Template","Select_ng_template_9_p_scroller_6_Template","_r12","ɵɵstyleMap","Select_ng_template_9_ng_container_7_ng_container_1_Template","Select_ng_template_9_ng_container_7_Template","Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template","option_r17","Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template","Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template","ctx_r17","i_r19","scrollerOptions_r20","Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template","_r21","Select_ng_template_9_ng_template_8_ng_template_2_Template","Select_ng_template_9_ng_template_8_li_3_Conditional_1_Template","ɵɵtextInterpolate1","Select_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template","Select_ng_template_9_ng_template_8_li_3_Conditional_2_Template","Select_ng_template_9_ng_template_8_li_3_Template","ɵɵconditional","Select_ng_template_9_ng_template_8_li_4_Conditional_1_Template","Select_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template","Select_ng_template_9_ng_template_8_li_4_Conditional_2_Template","Select_ng_template_9_ng_template_8_li_4_Template","Select_ng_template_9_ng_template_8_Template","items_r22","Select_ng_template_9_ng_container_10_Template","Select_ng_template_9_Template","_r8","ɵɵstyleProp","SELECT_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","Select","SelectItem","BaseComponent","EventEmitter","event","ɵSelectItem_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","booleanAttribute","numberAttribute","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵpureFunction3","CommonModule","NgClass","NgIf","NgTemplateOutlet","NgStyle","SharedModule","Ripple","CheckIcon","BlankIcon","val","_disabled","deepEquals","inject","SelectStyle","fluidComponent","cls","key","signal","TranslationKeys","label","computed","options","filteredOptions","option","optionGroups","filtered","group","filteredItems","item","__spreadProps","__spreadValues","selectedOptionIndex","zone","filterService","effect","modelValue","visibleOptions","isNotEmpty","isEmpty","uuid","value","selectedItem","findSingle","scrollInView","result","index","optionGroupChildren","o","ind","isHide","preventChange","equals","parentElement","isInFloatingLabel","scrollerOptions","resolveFieldData","optionGroup","fn","isFocus","focus","selectedIndex","selectedListItem","unblockBodyScroll","focusedOptionIndex","search","isPrintableCharacter","optionIndex","id","element","matchedOptionIndex","findLastIndex","pressedInInputText","target","len","pressedInInput","focusableEl","getFirstFocusableElement","getLastFocusableElement","getFocusableElements","char","matched","ɵɵdirectiveInject","NgZone","FilterService","dirIndex","ɵɵcontentQuery","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","ɵɵProvidersFeature","_r1","ɵɵtwoWayListener","ɵɵtwoWayBindingSet","tmp_6_0","elseBlock_r23","ɵɵtwoWayProperty","NgForOf","Overlay","Tooltip","AutoFocus","TimesIcon","ChevronDownIcon","SearchIcon","InputText","IconField","InputIcon","Scroller","SelectModule","ɵɵdefineNgModule","ɵɵdefineInjector","theme","dt","classes","instance","key","props","pageLink","PaginatorStyle","BaseStyle","ɵPaginatorStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","_c0","_c1","_c2","_c3","_c4","_c5","a0","_c6","_c7","Paginator_div_0_div_1_ng_container_1_Template","rf","ctx","ɵɵelementContainer","Paginator_div_0_div_1_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵattribute","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","Paginator_div_0_span_2_Template","ɵɵtext","ɵɵtextInterpolate","Paginator_div_0_button_3_AngleDoubleLeftIcon_1_Template","ɵɵelement","Paginator_div_0_button_3_span_2_1_ng_template_0_Template","Paginator_div_0_button_3_span_2_1_Template","Paginator_div_0_button_3_span_2_Template","Paginator_div_0_button_3_Template","_r3","ɵɵgetCurrentView","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","Paginator_div_0_AngleLeftIcon_5_Template","Paginator_div_0_span_6_1_ng_template_0_Template","Paginator_div_0_span_6_1_Template","Paginator_div_0_span_6_Template","Paginator_div_0_span_7_button_1_Template","_r4","pageLink_r5","ɵɵtextInterpolate1","Paginator_div_0_span_7_Template","Paginator_div_0_p_select_8_ng_template_1_Template","Paginator_div_0_p_select_8_ng_container_2_ng_template_1_ng_container_0_Template","Paginator_div_0_p_select_8_ng_container_2_ng_template_1_Template","item_r7","Paginator_div_0_p_select_8_ng_container_2_Template","ɵɵelementContainerStart","ɵɵelementContainerEnd","Paginator_div_0_p_select_8_3_ng_template_0_ng_container_0_Template","Paginator_div_0_p_select_8_3_ng_template_0_Template","Paginator_div_0_p_select_8_3_Template","Paginator_div_0_p_select_8_Template","_r6","Paginator_div_0_AngleRightIcon_10_Template","Paginator_div_0_span_11_1_ng_template_0_Template","Paginator_div_0_span_11_1_Template","Paginator_div_0_span_11_Template","Paginator_div_0_button_12_AngleDoubleRightIcon_1_Template","Paginator_div_0_button_12_span_2_1_ng_template_0_Template","Paginator_div_0_button_12_span_2_1_Template","Paginator_div_0_button_12_span_2_Template","Paginator_div_0_button_12_Template","_r8","Paginator_div_0_p_inputnumber_13_Template","_r9","Paginator_div_0_p_select_14_ng_container_1_ng_template_1_ng_container_0_Template","Paginator_div_0_p_select_14_ng_container_1_ng_template_1_Template","item_r11","Paginator_div_0_p_select_14_ng_container_1_Template","Paginator_div_0_p_select_14_2_ng_template_0_ng_container_0_Template","Paginator_div_0_p_select_14_2_ng_template_0_Template","Paginator_div_0_p_select_14_2_Template","Paginator_div_0_p_select_14_Template","_r10","ɵɵtwoWayListener","ɵɵtwoWayBindingSet","ɵɵtwoWayProperty","Paginator_div_0_div_15_ng_container_1_Template","Paginator_div_0_div_15_Template","Paginator_div_0_Template","_r1","ɵɵclassMap","Paginator","BaseComponent","val","EventEmitter","inject","PaginatorStyle","item","labelType","value","digit","numerals","index","d","i","number","simpleChange","showAllItem","opt","numberOfPages","visiblePages","start","end","delta","boundaries","p","pc","state","page","event","__ngFactoryType__","ɵɵdefineComponent","dirIndex","ɵɵcontentQuery","PrimeTemplate","_t","ɵɵqueryRefresh","ɵɵloadQuery","numberAttribute","booleanAttribute","ɵɵProvidersFeature","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","CommonModule","NgClass","NgForOf","NgIf","NgTemplateOutlet","NgStyle","Select","InputNumber","FormsModule","NgControlStatus","NgModel","Ripple","AngleDoubleLeftIcon","AngleDoubleRightIcon","AngleLeftIcon","AngleRightIcon","SharedModule","PaginatorModule","ɵɵdefineNgModule","ɵɵdefineInjector"],"mappings":";;4tCAGA,IAAIA,IAAoC,IAAM,CAC5C,MAAMA,UAA4BC,CAAS,CACzC,OAAO,WAAqB,IAAM,CAChC,IAAIC,EACJ,OAAO,SAAqCC,EAAmB,CAC7D,OAAQD,IAAqCA,EAAsCE,EAAsBJ,CAAmB,IAAIG,GAAqBH,CAAmB,CAC1K,CACF,GAAG,EACH,OAAO,UAAuBK,EAAkB,CAC9C,KAAML,EACN,UAAW,CAAC,CAAC,qBAAqB,CAAC,EACnC,SAAU,CAAIM,CAA0B,EACxC,MAAO,EACP,KAAM,EACN,OAAQ,CAAC,CAAC,QAAS,KAAM,SAAU,KAAM,UAAW,YAAa,OAAQ,OAAQ,QAAS,4BAA4B,EAAG,CAAC,YAAa,UAAW,YAAa,UAAW,IAAK,qnCAAsnC,OAAQ,cAAc,CAAC,EAC5zC,SAAU,SAAsCC,EAAIC,EAAK,CACnDD,EAAK,IACJE,EAAe,EACfC,EAAe,EAAG,MAAO,CAAC,EAC1BC,EAAU,EAAG,OAAQ,CAAC,EACtBC,EAAa,GAEdL,EAAK,IACJM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