1(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"6t4m":function(t,e,i){"use strict";i.d(e,"a",(function(){return x})),i.d(e,"b",(function(){return P}));var n=i("fXoL"),o=i("ofXK"),s=i("3Pt+"),r=i("arFO"),l=i("Q4Mo"),a=i("7zfz");function c(t,e){1&t&&n.Qb(0)}const h=function(t){return{$implicit:t}};function p(t,e){if(1&t&&(n.Ub(0,"div",14),n.Kc(1,c,1,0,"ng-container",15),n.Tb()),2&t){const t=n.gc(2);n.Bb(1),n.nc("ngTemplateOutlet",t.templateLeft)("ngTemplateOutletContext",n.sc(2,h,t.paginatorState))}}function d(t,e){if(1&t&&(n.Ub(0,"span",16),n.Mc(1),n.Tb()),2&t){const t=n.gc(2);n.Bb(1),n.Nc(t.currentPageReport)}}const u=function(t){return{"p-disabled":t}};function g(t,e){if(1&t){const t=n.Vb();n.Ub(0,"button",17),n.cc("click",(function(e){return n.Ec(t),n.gc(2).changePageToFirst(e)})),n.Pb(1,"span",18),n.Tb()}if(2&t){const t=n.gc(2);n.nc("disabled",t.isFirstPage())("ngClass",n.sc(2,u,t.isFirstPage()))}}const f=function(t){return{"p-highlight":t}};function b(t,e){if(1&t){const t=n.Vb();n.Ub(0,"button",21),n.cc("click",(function(i){n.Ec(t);const o=e.$implicit;return n.gc(3).onPageLinkClick(i,o-1)})),n.Mc(1),n.Tb()}if(2&t){const t=e.$implicit,i=n.gc(3);n.nc("ngClass",n.sc(2,f,t-1==i.getPage())),n.Bb(1),n.Nc(t)}}function m(t,e){if(1&t&&(n.Ub(0,"span",19),n.Kc(1,b,2,4,"button",20),n.Tb()),2&t){const t=n.gc(2);n.Bb(1),n.nc("ngForOf",t.pageLinks)}}function w(t,e){if(1&t&&n.Mc(0),2&t){const t=n.gc(3);n.Nc(t.currentPageReport)}}function v(t,e){if(1&t){const t=n.Vb();n.Ub(0,"p-dropdown",22),n.cc("onChange",(function(e){return n.Ec(t),n.gc(2).onPageDropdownChange(e)})),n.Kc(1,w,1,1,"ng-template",23),n.Tb()}if(2&t){const t=n.gc(2);n.nc("options",t.pageItems)("ngModel",t.getPage())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight)}}function C(t,e){if(1&t){const t=n.Vb();n.Ub(0,"button",24),n.cc("click",(function(e){return n.Ec(t),n.gc(2).changePageToLast(e)})),n.Pb(1,"span",25),n.Tb()}if(2&t){const t=n.gc(2);n.nc("disabled",t.isLastPage())("ngClass",n.sc(2,u,t.isLastPage()))}}function y(t,e){1&t&&n.Qb(0)}function _(t,e){if(1&t&&n.Kc(0,y,1,0,"ng-container",15),2&t){const t=e.$implicit,i=n.gc(4);n.nc("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",n.sc(2,h,t))}}function O(t,e){1&t&&(n.Sb(0),n.Kc(1,_,1,4,"ng-template",28),n.Rb())}function S(t,e){if(1&t){const t=n.Vb();n.Ub(0,"p-dropdown",26),n.cc("ngModelChange",(function(e){return n.Ec(t),n.gc(2).rows=e}))("onChange",(function(e){return n.Ec(t),n.gc(2).onRppChange(e)})),n.Kc(1,O,2,0,"ng-container",27),n.Tb()}if(2&t){const t=n.gc(2);n.nc("options",t.rowsPerPageItems)("ngModel",t.rows)("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight),n.Bb(1),n.nc("ngIf",t.dropdownItemTemplate)}}function T(t,e){1&t&&n.Qb(0)}function k(t,e){if(1&t&&(n.Ub(0,"div",29),n.Kc(1,T,1,0,"ng-container",15),n.Tb()),2&t){const t=n.gc(2);n.Bb(1),n.nc("ngTemplateOutlet",t.templateRight)("ngTemplateOutletContext",n.sc(2,h,t.paginatorState))}}function I(t,e){if(1&t){const t=n.Vb();n.Ub(0,"div",1),n.Kc(1,p,2,4,"div",2),n.Kc(2,d,2,1,"span",3),n.Kc(3,g,2,4,"button",4),n.Ub(4,"button",5),n.cc("click",(function(e){return n.Ec(t),n.gc().changePageToPrev(e)})),n.Pb(5,"span",6),n.Tb(),n.Kc(6,m,2,1,"span",7),n.Kc(7,v,2,4,"p-dropdown",8),n.Ub(8,"button",9),n.cc("click",(function(e){return n.Ec(t),n.gc().changePageToNext(e)})),n.Pb(9,"span",10),n.Tb(),n.Kc(10,C,2,4,"button",11),n.Kc(11,S,2,5,"p-dropdown",12),n.Kc(12,k,2,4,"div",13),n.Tb()}if(2&t){const t=n.gc();n.Db(t.styleClass),n.nc("ngStyle",t.style)("ngClass","p-paginator p-component"),n.Bb(1),n.nc("ngIf",t.templateLeft),n.Bb(1),n.nc("ngIf",t.showCurrentPageReport),n.Bb(1),n.nc("ngIf",t.showFirstLastIcon),n.Bb(1),n.nc("disabled",t.isFirstPage())("ngClass",n.sc(16,u,t.isFirstPage())),n.Bb(2),n.nc("ngIf",t.showPageLinks),n.Bb(1),n.nc("ngIf",t.showJumpToPageDropdown),n.Bb(1),n.nc("disabled",t.isLastPage())("ngClass",n.sc(18,u,t.isLastPage())),n.Bb(2),n.nc("ngIf",t.showFirstLastIcon),n.Bb(1),n.nc("ngIf",t.rowsPerPageOptions),n.Bb(1),n.nc("ngIf",t.templateRight)}}let x=(()=>{class t{constructor(t){this.cd=t,this.pageLinkSize=5,this.onPageChange=new n.n,this.alwaysShow=!0,this.dropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}
1",this.showFirstLastIcon=!0,this.totalRecords=0,this.rows=0,this.showPageLinks=!0,this._first=0,this._page=0}ngOnInit(){this.updatePaginatorState()}ngOnChanges(t){t.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),t.first&&(this._first=t.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),t.rows&&(this.updatePageLinks(),this.updatePaginatorState()),t.rowsPerPageOptions&&this.updateRowsPerPageOptions()}get first(){return this._first}set first(t){this._first=t}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];for(let t of this.rowsPerPageOptions)"object"==typeof t&&t.showAll?this.rowsPerPageItems.unshift({label:t.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(t),value:t})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)||1}calculatePageLinkBoundaries(){let t=this.getPageCount(),e=Math.min(this.pageLinkSize,t),i=Math.max(0,Math.ceil(this.getPage()-e/2)),n=Math.min(t-1,i+e-1);return i=Math.max(0,i-(this.pageLinkSize-(n-i+1))),[i,n]}updatePageLinks(){this.pageLinks=[];let t=this.calculatePageLinkBoundaries(),e=t[1];for(let i=t[0];i<=e;i++)this.pageLinks.push(i+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let t=0;t<this.getPageCount();t++)this.pageItems.push({label:String(t+1),value:t})}}changePage(t){var e=this.getPageCount();if(t>=0&&t<e){this._first=this.rows*t;var i={page:t,first:this.first,rows:this.rows,pageCount:e};this.updatePageLinks(),this.onPageChange.emit(i),this.updatePaginatorState()}}updateFirst(){const t=this.getPage();t>0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(t-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(t){this.isFirstPage()||this.changePage(0),t.preventDefault()}changePageToPrev(t){this.changePage(this.getPage()-1),t.preventDefault()}changePageToNext(t){this.changePage(this.getPage()+1),t.preventDefault()}changePageToLast(t){this.isLastPage()||this.changePage(this.getPageCount()-1),t.preventDefault()}onPageLinkClick(t,e){this.changePage(e),t.preventDefault()}onRppChange(t){this.changePage(this.getPage())}onPageDropdownChange(t){this.changePage(t.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.getPage()+1)).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))}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.h))},t.\u0275cmp=n.Ib({type:t,selectors:[["p-paginator"]],inputs:{pageLinkSize:"pageLinkSize",alwaysShow:"alwaysShow",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",showPageLinks:"showPageLinks",first:"first",style:"style",styleClass:"styleClass",templateLeft:"templateLeft",templateRight:"templateRight",dropdownAppendTo:"dropdownAppendTo",showCurrentPageReport:"showCurrentPageReport",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",dropdownItemTemplate:"dropdownItemTemplate"},outputs:{onPageChange:"onPageChange"},features:[n.zb],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-left"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-right"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","appendTo","scrollHeight","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-
1paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-left"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"ngClass","click"],["styleClass","p-paginator-page-options",3,"options","ngModel","appendTo","scrollHeight","onChange"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-right"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","appendTo","scrollHeight","ngModelChange","onChange"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(t,e){1&t&&n.Kc(0,I,13,20,"div",0),2&t&&n.nc("ngIf",!!e.alwaysShow||e.pageLinks&&e.pageLinks.length>1)},directives:[o.o,o.p,o.m,l.a,o.t,o.n,r.a,s.n,s.q,a.f],styles:[".p-paginator{align-items:center;display:flex;flex-wrap:wrap;justify-content:center}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-current,.p-paginator-first,.p-paginator-last,.p-paginator-next,.p-paginator-page,.p-paginator-prev{-ms-user-select:none;-webkit-user-select:none;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;line-height:1;overflow:hidden;position:relative;user-select:none}.p-paginator-element:focus{position:relative;z-index:1}"],encapsulation:2,changeDetection:0}),t})(),P=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)},imports:[[o.c,r.b,s.l,a.g,l.b],r.b,s.l,a.g]}),t})()},"8LU1":function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return l})),i.d(e,"d",(function(){return a})),i.d(e,"e",(function(){return s}));var n=i("fXoL");function o(t){return null!=t&&""+t!="false"}function s(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function r(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?"":"string"==typeof t?t:t+"px"}function a(t){return t instanceof n.l?t.nativeElement:t}},arFO:function(t,e,i){"use strict";i.d(e,"a",(function(){return rt})),i.d(e,"b",(function(){return lt}));var n=i("vxfF"),o=i("fXoL"),s=i("R0Ic"),r=i("ofXK"),l=i("7zfz"),a=i("YyRF"),c=i("t2ka"),h=i("3Pt+"),p=i("xlun"),d=i("Q4Mo");function u(t,e){if(1&t&&(o.Ub(0,"span"),o.Mc(1),o.Tb()),2&t){const t=o.gc();o.Bb(1),o.Nc(t.label||"empty")}}function g(t,e){1&t&&o.Qb(0)}const f=function(t){return{height:t}},b=function(t,e){return{"p-dropdown-item":!0,"p-highlight":t,"p-disabled":e}},m=function(t){return{$implicit:t}},w=["container"],v=["filter"],C=["in"],y=["editableInput"];function _(t,e){if(1&t&&(o.Sb(0),o.Mc(1),o.Rb()),2&t){const t=o.gc(2);o.Bb(1),o.Nc(t.label||"empty")}}function O(t,e){1&t&&o.Qb(0)}const S=function(t){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":t}};function T(t,e){if(1&t&&(o.Ub(0,"span",12),o.Kc(1,_,2,1,"ng-container",13),o.Kc(2,O,1,0,"ng-container",14),o.Tb()),2&t){const t=o.gc();o.nc("ngClass",o.sc(8,S,null==t.label||0===t.label.length))("pTooltip",t.tooltip)("tooltipPosition",t.tooltipPosition)("positionStyle",t.tooltipPositionStyle)("tooltipStyleClass",t.tooltipStyleClass),o.Bb(1),o.nc("ngIf",!t.selectedItemTemplate),o.Bb(1),o.nc("ngTemplateOutlet",t.selectedItemTemplate)("ngTemplateOutletContext",o.sc(10,m,t.selectedOption))}}const k=function(t){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":t}};function I(t,e){if(1&t&&(o.Ub(0,"span",15),o.Mc(1),o.Tb()),2&t){const t=o.gc();o.nc("ngClass",o.sc(2,k,null==t.placeholder||0===t.placeholder.length)),o.Bb(1),o.Nc(t.placeholder||"empty")}}function x(t,e){if(1&t){const t=o.Vb();o.Ub(0,"input",16,17),o.cc("click",(function(){return o.Ec(t),o.gc().onEditableInputClick()}))("input",(function(e){return o.Ec(t),o.gc().onEditableInputChange(e)}))("focus",(function(e){return o.Ec(t),o.gc().onEditableInputFocus(e)}))("blur",(function(e){return o.Ec(t),o.gc().onInputBlur(e)})),o.Tb()}if(2&t){const t=o.gc();o.nc("disabled",t.disabled),o.Cb("maxlength",t.maxlength)("placeholder",t.placeholder)("aria-expanded",t.overlayVisible)}}function P(t,e){if(1&t){const t=o.Vb();o.Ub(0,"i",18),o.cc("click",(function(e){return o.Ec(t),o.gc().clear(e)})),o.Tb()}}function L(t,e){1&t&&o.Qb(0)}function R(t,e){if(1&t){const t=o.Vb();o.Ub(0,"div",26),o.Ub(1,"div",27),o.cc("click",(function(e){return o.Ec(t),e.stopPropagation()}
1)),o.Ub(2,"input",28,29),o.cc("keydown.enter",(function(e){return o.Ec(t),e.preventDefault()}))("keydown",(function(e){return o.Ec(t),o.gc(2).onKeydown(e,!1)}))("input",(function(e){return o.Ec(t),o.gc(2).onFilterInputChange(e)})),o.Tb(),o.Pb(4,"span",30),o.Tb(),o.Tb()}if(2&t){const t=o.gc(2);o.Bb(2),o.nc("value",t.filterValue||""),o.Cb("placeholder",t.filterPlaceholder)("aria-label",t.ariaFilterLabel)}}function V(t,e){if(1&t&&(o.Ub(0,"span"),o.Mc(1),o.Tb()),2&t){const t=o.gc().$implicit,e=o.gc(3);o.Bb(1),o.Nc(e.getOptionGroupLabel(t)||"empty")}}function D(t,e){1&t&&o.Qb(0)}function z(t,e){1&t&&o.Qb(0)}const B=function(t,e){return{$implicit:t,selectedOption:e}};function E(t,e){if(1&t&&(o.Ub(0,"li",32),o.Kc(1,V,2,1,"span",13),o.Kc(2,D,1,0,"ng-container",14),o.Tb(),o.Kc(3,z,1,0,"ng-container",14)),2&t){const t=e.$implicit;o.gc(2);const i=o.Ac(8),n=o.gc();o.Bb(1),o.nc("ngIf",!n.groupTemplate),o.Bb(1),o.nc("ngTemplateOutlet",n.groupTemplate)("ngTemplateOutletContext",o.sc(5,m,t)),o.Bb(1),o.nc("ngTemplateOutlet",i)("ngTemplateOutletContext",o.tc(7,B,n.getOptionGroupChildren(t),n.selectedOption))}}function F(t,e){if(1&t&&(o.Sb(0),o.Kc(1,E,4,10,"ng-template",31),o.Rb()),2&t){const t=o.gc(2);o.Bb(1),o.nc("ngForOf",t.optionsToDisplay)}}function M(t,e){1&t&&o.Qb(0)}function j(t,e){if(1&t&&(o.Sb(0),o.Kc(1,M,1,0,"ng-container",14),o.Rb()),2&t){o.gc();const t=o.Ac(8),e=o.gc();o.Bb(1),o.nc("ngTemplateOutlet",t)("ngTemplateOutletContext",o.tc(2,B,e.optionsToDisplay,e.selectedOption))}}function K(t,e){if(1&t){const t=o.Vb();o.Ub(0,"p-dropdownItem",35),o.cc("onClick",(function(e){return o.Ec(t),o.gc(4).onItemClick(e)})),o.Tb()}if(2&t){const t=e.$implicit,i=o.gc(2).selectedOption,n=o.gc(2);o.nc("option",t)("selected",i==t)("label",n.getOptionLabel(t))("disabled",n.isOptionDisabled(t))("template",n.itemTemplate)}}function A(t,e){if(1&t&&(o.Sb(0),o.Kc(1,K,1,5,"ng-template",31),o.Rb()),2&t){const t=o.gc().$implicit;o.Bb(1),o.nc("ngForOf",t)}}function U(t,e){if(1&t){const t=o.Vb();o.Sb(0),o.Ub(1,"p-dropdownItem",35),o.cc("onClick",(function(e){return o.Ec(t),o.gc(5).onItemClick(e)})),o.Tb(),o.Rb()}if(2&t){const t=e.$implicit,i=o.gc(3).selectedOption,n=o.gc(2);o.Bb(1),o.nc("option",t)("selected",i==t)("label",n.getOptionLabel(t))("disabled",n.isOptionDisabled(t))("template",n.itemTemplate)}}function G(t,e){if(1&t){const t=o.Vb();o.Ub(0,"cdk-virtual-scroll-viewport",37,38),o.cc("scrolledIndexChange",(function(){return o.Ec(t),o.gc(4).scrollToSelectedVirtualScrollElement()})),o.Kc(2,U,2,5,"ng-container",39),o.Tb()}if(2&t){const t=o.gc(2).$implicit,e=o.gc(2);o.nc("ngStyle",o.sc(3,f,e.scrollHeight))("itemSize",e.itemSize),o.Bb(2),o.nc("cdkVirtualForOf",t)}}function H(t,e){if(1&t&&o.Kc(0,G,3,5,"cdk-virtual-scroll-viewport",36),2&t){const t=o.gc(3);o.nc("ngIf",t.virtualScroll&&t.optionsToDisplay&&t.optionsToDisplay.length)}}function N(t,e){if(1&t&&(o.Kc(0,A,2,1,"ng-container",33),o.Kc(1,H,1,1,"ng-template",null,34,o.Lc)),2&t){const t=o.Ac(2),e=o.gc(2);o.nc("ngIf",!e.virtualScroll)("ngIfElse",t)}}function W(t,e){if(1&t&&(o.Sb(0),o.Mc(1),o.Rb()),2&t){const t=o.gc(3);o.Bb(1),o.Oc(" ",t.emptyFilterMessageLabel," ")}}function Y(t,e){1&t&&o.Qb(0,null,41)}function Z(t,e){if(1&t&&(o.Ub(0,"li",40),o.Kc(1,W,2,1,"ng-container",33),o.Kc(2,Y,2,0,"ng-container",20),o.Tb()),2&t){const t=o.gc(2);o.Bb(1),o.nc("ngIf",!t.emptyFilterTemplate&&!t.emptyTemplate)("ngIfElse",t.emptyFilter),o.Bb(1),o.nc("ngTemplateOutlet",t.emptyFilterTemplate||t.emptyTemplate)}}function $(t,e){if(1&t&&(o.Sb(0),o.Mc(1),o.Rb()),2&t){const t=o.gc(3);o.Bb(1),o.Oc(" ",t.emptyMessageLabel," ")}}function Q(t,e){1&t&&o.Qb(0,null,42)}function X(t,e){if(1&t&&(o.Ub(0,"li",40),o.Kc(1,$,2,1,"ng-container",33),o.Kc(2,Q,2,0,"ng-container",20),o.Tb()),2&t){const t=o.gc(2);o.Bb(1),o.nc("ngIf",!t.emptyTemplate)("ngIfElse",t.empty),o.Bb(1),o.nc("ngTemplateOutlet",t.emptyTemplate)}}function J(t,e){1&t&&o.Qb(0)}const q=function(t,e){return{showTransitionParams:t,hideTransitionParams:e}},tt=function(t){return{value:"visible",params:t}},et=function(t){return{"p-dropdown-virtualscroll":t}};function it(t,e){if(1&t){const t=o.Vb();o.Ub(0,"div",19),o.cc("@overlayAnimation.start",(function(e){return o.Ec(t),o.gc().onOverlayAnimationStart(e)})),o.Kc(1,L,1,0,"ng-container",20),o.Kc(2,R,5,3,"div",21),o.Ub(3,"div",22),o.Ub(4,"ul",23),o.Kc(5,F,2,1,"ng-container",13),o.Kc(6,j,2,5,"ng-container",13),o.Kc(7,N,3,2,"ng-template",null,24,o.Lc),o.Kc(9,Z,3,3,"li",25),o.Kc(10,
1X,3,3,"li",25),o.Tb(),o.Tb(),o.Kc(11,J,1,0,"ng-container",20),o.Tb()}if(2&t){const t=o.gc();o.Db(t.panelStyleClass),o.nc("ngClass","p-dropdown-panel p-component")("@overlayAnimation",o.sc(18,tt,o.tc(15,q,t.showTransitionOptions,t.hideTransitionOptions)))("ngStyle",t.panelStyle),o.Bb(1),o.nc("ngTemplateOutlet",t.headerTemplate),o.Bb(1),o.nc("ngIf",t.filter),o.Bb(1),o.Jc("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),o.Bb(1),o.nc("ngClass",o.sc(20,et,t.virtualScroll)),o.Bb(1),o.nc("ngIf",t.group),o.Bb(1),o.nc("ngIf",!t.group),o.Bb(3),o.nc("ngIf",t.filterValue&&t.isEmpty()),o.Bb(1),o.nc("ngIf",!t.filterValue&&t.isEmpty()),o.Bb(1),o.nc("ngTemplateOutlet",t.footerTemplate)}}const nt=function(t,e,i,n){return{"p-dropdown p-component":!0,"p-disabled":t,"p-dropdown-open":e,"p-focus":i,"p-dropdown-clearable":n}},ot={provide:h.m,useExisting:Object(o.T)(()=>rt),multi:!0};let st=(()=>{class t{constructor(){this.onClick=new o.n}onOptionClick(t){this.onClick.emit({originalEvent:t,option:this.option})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["p-dropdownItem"]],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:14,consts:[["role","option","pRipple","",3,"ngStyle","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(o.Ub(0,"li",0),o.cc("click",(function(t){return e.onOptionClick(t)})),o.Kc(1,u,2,1,"span",1),o.Kc(2,g,1,0,"ng-container",2),o.Tb()),2&t&&(o.nc("ngStyle",o.sc(7,f,e.itemSize+"px"))("ngClass",o.tc(9,b,e.selected,e.disabled)),o.Cb("aria-label",e.label)("aria-selected",e.selected),o.Bb(1),o.nc("ngIf",!e.template),o.Bb(1),o.nc("ngTemplateOutlet",e.template)("ngTemplateOutletContext",o.sc(12,m,e.option)))},directives:[d.a,r.p,r.m,r.o,r.t],encapsulation:2}),t})(),rt=(()=>{class t{constructor(t,e,i,n,s,r){this.el=t,this.renderer=e,this.cd=i,this.zone=n,this.filterService=s,this.config=r,this.scrollHeight="200px",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.autoZIndex=!0,this.baseZIndex=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.onChange=new o.n,this.onFilter=new o.n,this.onFocus=new o.n,this.onBlur=new o.n,this.onClick=new o.n,this.onShow=new o.n,this.onHide=new o.n,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.viewPortOffsetTop=0}get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=t,this.cd.destroyed||this.cd.detectChanges()}
1ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":this.itemTemplate=t.template;break;case"selectedItem":this.selectedItemTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"emptyfilter":this.emptyFilterTemplate=t.template;break;case"empty":this.emptyTemplate=t.template;break;case"group":this.groupTemplate=t.template;break;default:this.itemTemplate=t.template}})}ngOnInit(){this.optionsToDisplay=this.options,this.updateSelectedOption(null)}get options(){return this._options}set options(t){this._options=t,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(t){this._filterValue=t,this.activateFilter()}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}get label(){return this.selectedOption?this.getOptionLabel(this.selectedOption):null}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(l.h.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(l.h.EMPTY_FILTER_MESSAGE)}updateEditableLabel(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}getOptionLabel(t){return this.optionLabel?c.a.resolveFieldData(t,this.optionLabel):null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?c.a.resolveFieldData(t,this.optionValue):this.optionLabel||void 0===t.value?t:t.value}isOptionDisabled(t){return this.optionDisabled?c.a.resolveFieldData(t,this.optionDisabled):void 0!==t.disabled&&t.disabled}getOptionGroupLabel(t){return this.optionGroupLabel?c.a.resolveFieldData(t,this.optionGroupLabel):null!=t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?c.a.resolveFieldData(t,this.optionGroupChildren):t.items}onItemClick(t){const e=t.option;this.isOptionDisabled(e)||(this.selectItem(t,e),this.accessibleViewChild.nativeElement.focus()),setTimeout(()=>{this.hide()},150)}selectItem(t,e){this.selectedOption!=e&&(this.selectedOption=e,this.value=this.getOptionValue(e),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:t.originalEvent,value:this.value}),this.virtualScroll&&setTimeout(()=>{this.viewPortOffsetTop=this.viewPort?this.viewPort.measureScrollOffset():0},1))}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.virtualScroll&&this.updateVirtualScrollSelectedIndex(!0),this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){if(this.virtualScroll&&this.viewPort){let t=this.viewPort.getRenderedRange();this.updateVirtualScrollSelectedIndex(!1),(t.start>this.virtualScrollSelectedIndex||t.end<this.virtualScrollSelectedIndex)&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)}a.b.findSingle(this.overlay,"li.p-highlight")&&a.b.scrollInView(this.itemsWrapper,a.b.findSingle(this.overlay,"li.p-highlight")),this.selectedOptionUpdated=!1}}writeValue(t){this.filter&&this.resetFilter(),this.value=t,this.updateSelectedOption(t),this.updateEditableLabel(),this.cd.markForCheck()}resetFilter(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}updateSelectedOption(t){this.selectedOption=this.findOption(t,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.optionsToDisplay[0]),this.selectedOptionUpdated=!0}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onMouseclick(t){this.disabled||this.readonly||this.isInputClick(t)||(this.onClick.emit(t),this.accessibleViewChild.nativeElement.focus(),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}isInputClick(t){return a.b.hasClass(t.target,"p-dropdown-clear-icon")||t.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&t.target.isSameNode(this.editableInputViewChild.nativeElement)}isOutsideClicked(t){return!(this.el.nativeElement.isSameNode(t.target)||this.el.nativeElement.contains(t.target)||this.overlay&&this.overlay.contains(t.target))}isEmpty(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}onEditableInputClick(){this.bindDocumentClickListener()}onEditableInputFocus(t){this.focused=!0,this.hide(),this.onFocus.emit(t)}onEditableInputChange(t){this.value=t.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value})}show(){this.overlayVisible=!0}onOverlayAnimationStart(t){switch(t.toState){case"visible":if(this.overlay=t.element,this.itemsWrapper=a.b.findSingle(this.overlay,this.virtualScroll?".cdk-virtual-scroll-viewport":".p-dropdown-items-wrapper"),this.appendOverlay(),this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++a.b.zindex)),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),this.options&&this.options.length&&!this.virtualScroll){let t=a.b.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");t&&a.b.scrollInView(this.itemsWrapper,t)}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(t);break;case"void":this.onOverlayHide(),this.onHide.emit(t)}}scrollToSelectedVirtualScrollElement(){this.virtualAutoScrolled||(this.viewPortOffsetTop?this.viewPort.scrollToOffset(this.viewPortOffsetTop):this.virtualScrollSelectedIndex>-1&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)),this.virtualAutoScrolled=!0}updateVirtualScrollSelectedIndex(t){this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&(t&&(this.viewPortOffsetTop=0),this.virtualScrollSelectedIndex=this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay))}appendOverlay(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):a.b.appendChild(this.overlay,this.appendTo),this.overlay.style.minWidth||(this.overlay.style.minWidth=a.b.getWidth(this.containerViewChild.nativeElement)+"px"))}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}hide(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.virtualScroll&&(this.virtualAutoScrolled=!1),this.cd.markForCheck()}alignOverlay(){this.overlay&&(this.appendTo?a.b.absolutePosition(this.overlay,this.containerViewChild.nativeElement):a.b.relativePosition(this.overlay,this.containerViewChild.nativeElement))}onInputFocus(t){this.focused=!0,this.onFocus.emit(t)}onInputBlur(t){this.focused=!1,this.onBlur.emit(t),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}findPrevEnabledOption(t){let e;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let i=t-1;0<=i;i--){let t=this.optionsToDisplay[i];if(!t.disabled){e=t;break}}if(!e)for(let i=this.optionsToDisplay.length-1;i>=t;i--){let t=this.optionsToDisplay[i];if(!this.isOptionDisabled(t)){e=t;break}}}return e}findNextEnabledOption(t){let e;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let i=t+1;t<this.optionsToDisplay.length-1;i++){let t=this.optionsToDisplay[i];if(!this.isOptionDisabled(t)){e=t;break}}if(!e)for(let i=0;i<t;i++){let t=this.optionsToDisplay[i];if(!this.isOptionDisabled(t)){e=t;break}}}return e}onKeydown(t,e){if(!this.readonly&&this.optionsToDisplay&&null!==this.optionsToDisplay.length)switch(t.which){case 40:if(!this.overlayVisible&&t.altKey)this.show();else if(this.group){let e=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==e){let i=e.itemIndex+1;i<this.getOptionGroupChildren(this.optionsToDisplay[e.groupIndex]).length?(this.selectItem(t,this.getOptionGroupChildren(this.optionsToDisplay[e.groupIndex])[i]),this.selectedOptionUpdated=!0):this.optionsToDisplay[e.groupIndex+1]&&(this.selectItem(t,this.getOptionGroupChildren(this.optionsToDisplay[e.groupIndex+1])[0]),this.selectedOptionUpdated=!0)}else this.selectItem(t,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{let e=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,i=this.findNextEnabledOption(e);i&&(this.selectItem(t,i),this.selectedOptionUpdated=!0)}t.preventDefault();break;case 38:if(this.group){let e=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==e){let i=e.itemIndex-1;if(i>=0)this.selectItem(t,this.getOptionGroupChildren(this.optionsToDisplay[e.groupIndex])[i]),this.selectedOptionUpdated=!0;else if(i<0){let i=this.optionsToDisplay[e.groupIndex-1];i&&(this.selectItem(t,this.getOptionGroupChildren(i)[this.getOptionGroupChildren(i).length-1]),this.selectedOptionUpdated=!0)}}}else{let e=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,i=this.findPrevEnabledOption(e);i&&(this.selectItem(t,i),this.selectedOptionUpdated=!0)}t.preventDefault();break;case 32:case 32:this.overlayVisible||(this.show(),t.preventDefault());break;case 13:(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)&&this.hide(),t.preventDefault();break;case 27:case 9:this.hide();break;default:e&&!t.metaKey&&this.search(t)}}search(t){this.searchTimeout&&clearTimeout(this.searchTimeout);const e=t.key;let i;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=e,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+e:e,this.group){let t=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};i=this.searchOptionWithinGroup(t)}else{let t=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;i=this.searchOption(++t)}i&&!this.isOptionDisabled(i)&&(this.selectItem(t,i),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(()=>{this.searchValue=null},250)}searchOption(t){let e;return this.searchValue&&(e=this.searchOptionInRange(t,this.optionsToDisplay.length),e||(e=this.searchOptionInRange(0,t))),e}searchOptionInRange(t,e){for(let i=t;i<e;i++){let t=this.optionsToDisplay[i];if(this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&
1!this.isOptionDisabled(t))return t}return null}searchOptionWithinGroup(t){if(this.searchValue){for(let e=t.groupIndex;e<this.optionsToDisplay.length;e++)for(let i=t.groupIndex===e?t.itemIndex+1:0;i<this.getOptionGroupChildren(this.optionsToDisplay[e]).length;i++){let t=this.getOptionGroupChildren(this.optionsToDisplay[e])[i];if(this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(t))return t}for(let e=0;e<=t.groupIndex;e++)for(let i=0;i<(t.groupIndex===e?t.itemIndex:this.getOptionGroupChildren(this.optionsToDisplay[e]).length);i++){let t=this.getOptionGroupChildren(this.optionsToDisplay[e])[i];if(this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(t))return t}}return null}findOptionIndex(t,e){let i=-1;if(e)for(let n=0;n<e.length;n++)if(null==t&&null==this.getOptionValue(e[n])||c.a.equals(t,this.getOptionValue(e[n]),this.dataKey)){i=n;break}return i}findOptionGroupIndex(t,e){let i,n;if(e)for(let o=0;o<e.length&&(i=o,n=this.findOptionIndex(t,this.getOptionGroupChildren(e[o])),-1===n);o++);return-1!==n?{groupIndex:i,itemIndex:n}:-1}findOption(t,e,i){if(this.group&&!i){let i;if(e&&e.length)for(let n of e)if(i=this.findOption(t,this.getOptionGroupChildren(n),!0),i)break;return i}{let i=this.findOptionIndex(t,e);return-1!=i?e[i]:null}}onFilterInputChange(t){let e=t.target.value;e&&e.length?(this._filterValue=e,this.activateFilter()):(this._filterValue=null,this.optionsToDisplay=this.options),this.optionsChanged=!0,this.onFilter.emit({originalEvent:t,filter:this._filterValue})}activateFilter(){let t=(this.filterBy||this.optionLabel||"label").split(",");if(this.options&&this.options.length){if(this.group){let e=[];for(let i of this.options){let n=this.filterService.filter(this.getOptionGroupChildren(i),t,this.filterValue,this.filterMatchMode,this.filterLocale);n&&n.length&&e.push(Object.assign(Object.assign({},i),{[this.optionGroupChildren]:n}))}this.optionsToDisplay=e}else this.optionsToDisplay=this.filterService.filter(this.options,t,this.filterValue,this.filterMatchMode,this.filterLocale);this.optionsChanged=!0}}applyFocus(){this.editable?a.b.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():a.b.findSingle(this.el.nativeElement,"input[readonly]").focus()}focus(){this.applyFocus()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",t=>{this.isOutsideClicked(t)&&(this.hide(),this.unbindDocumentClickListener()),this.cd.markForCheck()}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener)}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}onWindowResize(){a.b.isAndroid()||this.hide()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new a.a(this.containerViewChild.nativeElement,t=>{this.overlayVisible&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}clear(t){this.value=null,this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value}),this.updateSelectedOption(this.value),this.updateEditableLabel()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.itemsWrapper=null,this.onModelTouched()}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.restoreOverlayAppend(),this.onOverlayHide()}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(o.E),o.Ob(o.h),o.Ob(o.z),o.Ob(l.c),o.Ob(l.e))},t.\u0275cmp=o.Ib({type:t,selectors:[["p-dropdown"]],contentQueries:function(t,e,
1i){var n;1&t&&o.Gb(i,l.f,!1),2&t&&o.zc(n=o.dc())&&(e.templates=n)},viewQuery:function(t,e){var i;1&t&&(o.Sc(w,!0),o.Sc(v,!0),o.Sc(C,!0),o.Sc(n.c,!0),o.Sc(y,!0)),2&t&&(o.zc(i=o.dc())&&(e.containerViewChild=i.first),o.zc(i=o.dc())&&(e.filterViewChild=i.first),o.zc(i=o.dc())&&(e.accessibleViewChild=i.first),o.zc(i=o.dc())&&(e.viewPort=i.first),o.zc(i=o.dc())&&(e.editableInputViewChild=i.first))},hostVars:4,hostBindings:function(t,e){2&t&&o.Fb("p-inputwrapper-filled",e.value)("p-inputwrapper-focus",e.focused||e.overlayVisible)},inputs:{scrollHeight:"scrollHeight",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",autofocusFilter:"autofocusFilter",disabled:"disabled",options:"options",filterValue:"filterValue",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",selectId:"selectId",dataKey:"dataKey",filterBy:"filterBy",autofocus:"autofocus",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",group:"group",showClear:"showClear",virtualScroll:"virtualScroll",itemSize:"itemSize",ariaFilterLabel:"ariaFilterLabel",ariaLabelledBy:"ariaLabelledBy",maxlength:"maxlength",tooltipStyleClass:"tooltipStyleClass"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide"},features:[o.Ab([ot])],decls:12,vars:22,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","readonly","","aria-haspopup","listbox","aria-haspopup","listbox",3,"disabled","focus","blur","keydown"],["in",""],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],["type","text","class","p-dropdown-label p-inputtext","aria-haspopup","listbox",3,"disabled","click","input","focus","blur",4,"ngIf"],["class","p-dropdown-clear-icon pi pi-times",3,"click",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"p-dropdown-trigger"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"ngClass","ngStyle","class",4,"ngIf"],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],["type","text","aria-haspopup","listbox",1,"p-dropdown-label","p-inputtext",3,"disabled","click","input","focus","blur"],["editableInput",""],[1,"p-dropdown-clear-icon","pi","pi-times",3,"click"],[3,"ngClass","ngStyle"],[4,"ngTemplateOutlet"],["class","p-dropdown-header",4,"ngIf"],[1,"p-dropdown-items-wrapper"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["itemslist",""],["class","p-dropdown-empty-message",4,"ngIf"],[1,"p-dropdown-header"],[1,"p-dropdown-filter-container",3,"click"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"value","keydown.enter","keydown","input"],["filter",""],[1,"p-dropdown-filter-icon","pi","pi-search"],["ngFor","",3,"ngForOf"],[1,"p-dropdown-item-group"],[4,"ngIf","ngIfElse"],["virtualScrollList",""],[3,"option","selected","label","disabled","template","onClick"],[3,"ngStyle","itemSize","scrolledIndexChange",4,"ngIf"],[3,"ngStyle","itemSize","scrolledIndexChange"],["viewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"p-dropdown-empty-message"],["emptyFilter",""],["empty",""]],template:function(t,e){1&t&&(o.Ub(0,"div",0,1),o.cc("click",(function(t){return e.onMouseclick(t)})),o.Ub(2,"div",2),o.Ub(3,"input",3,4),o.cc("focus",(function(t){return e.onInputFocus(t)}))("blur",(function(t){return e.onInputBlur(t)}))("keydown",(function(t){return e.onKeydown(t,!0)})),o.Tb(),o.Tb(),o.Kc(5,T,3,12,"span",5),o.Kc(6,I,2,4,"span",6),o.Kc(7,x,2,4,"input",7),o.Kc(8,P,1,0,"i",8),o.Ub(9,"div",9),o.Pb(10,"span",10),o.Tb(),o.Kc(11,it,12,22,"div",11),o.Tb()),2&t&&(o.Db(e.styleClass),o.nc("ngClass",o.vc(17,nt,e.disabled,e.overlayVisible,e.focused,e.showClear&&!e.disabled))("ngStyle",e.style),o.Bb(3),o.nc("disabled",e.disabled),o.Cb("id",e.inputId)("aria-expanded",e.overlayVisible)("aria-labelledby",e.ariaLabelledBy)("tabindex",e.tabindex)("autofocus",e.autofocus),o.Bb(2),o.nc("ngIf",!e.editable&&null!=e.label),o.Bb(1),o.nc("ngIf",!e.editable&&null==e.label),o.Bb(1),o.nc("ngIf",e.editable),o.Bb(1),o.nc("ngIf",null!=e.value&&e.showClear&&!e.disabled),o.Bb(1),o.Cb("aria-expanded",e.overlayVisible),o.Bb(1),o.nc("ngClass",e.dropdownIcon),o.Bb(1),o.nc("ngIf",e.overlayVisible))},directives:[r.m,r.p,r.o,p.a,r.t,r.n,st,n.c,n.a,n.b],styles:[".p-dropdown{-ms-user-select:none;-webkit-user-select:none;cursor:pointer;display:inline-flex;position:relative;user-select:none}.p-dropdown-clear-icon{margin-top:-.5rem;position:absolute;top:50%}.p-dropdown-trigger{align-items:center;display:flex;flex-shrink:0;justify-content:center}.p-dropdown-label{cursor:pointer;display:block;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:1%}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;overflow:hidden;position:relative;white-space:nowrap}.p-dropdown-items{list-style-type:none;margin:0;padding:0}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{margin-top:-.5rem;position:absolute;top:50%}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}"],encapsulation:2,data:{animation:[Object(s.m)("overlayAnimation",[Object(s.l)(":enter",[Object(s.k)({opacity:0,transform:"scaleY(0.8)"}),Object(s.e)("{{showTransitionParams}}")]),Object(s.l)(":leave",[Object(s.e)("{{hideTransitionParams}}",Object(s.k)({opacity:0}
1))])])]},changeDetection:0}),t})(),lt=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[r.c,l.g,n.e,p.b,d.b],l.g,n.e]}),t})()},cH1L:function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return r}));var n=i("fXoL"),o=i("ofXK");const s=new n.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(n.U)(o.d)}});let r=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new n.n,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(s,8))},t.\u0275prov=Object(n.Kb)({factory:function(){return new t(Object(n.Yb)(s,8))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)}}),t})()},nLfN:function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"b",(function(){return h})),i.d(e,"c",(function(){return g})),i.d(e,"d",(function(){return u})),i.d(e,"e",(function(){return p})),i.d(e,"f",(function(){return d}));var n=i("fXoL"),o=i("ofXK");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(f){s=!1}let r,l,a,c=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(o.y)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(n.B,8))},t.\u0275prov=Object(n.Kb)({factory:function(){return new t(Object(n.Yb)(n.B,8))},token:t,providedIn:"root"}),t})(),h=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)}}),t})();function p(t){return function(){if(null==r&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>r=!0}))}finally{r=r||!1}return r}()?t:!!t.capture}function d(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function u(){if("object"!=typeof document||!document)return 0;if(null==l){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),l=0,0===t.scrollLeft&&(t.scrollLeft=1,l=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return l}function g(t){if(function(){if(null==a){const t="undefined"!=typeof document?document.head:null;a=!(!t||!t.createShadowRoot&&!t.attachShadow)}return a}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},vxfF:function(t,e,i){"use strict";i.d(e,"a",(function(){return z})),i.d(e,"b",(function(){return A})),i.d(e,"c",(function(){return j})),i.d(e,"d",(function(){return B})),i.d(e,"e",(function(){return G})),i.d(e,"f",(function(){return F}));var n=i("8LU1"),o=i("fXoL"),s=i("XNiG"),r=i("LRne"),l=i("HDdC"),a=i("xgIS"),c=i("VRyK"),h=i("eNwd"),p=i("7Hc7"),d=i("quSY");function u(t){return!!t&&(t instanceof l.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var g=i("7o/Q");class f{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new b(t,this.compare,this.keySelector))}}class b extends g.a{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}
1var m=i("3UWI"),w=i("pLZG"),v=i("1G5W"),C=i("JX91");class y{call(t,e){return e.subscribe(new _(t))}}class _ extends g.a{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}var O=i("eIep"),S=i("UXun"),T=i("nLfN"),k=i("ofXK"),I=i("cH1L");class x extends class{}{constructor(t){super(),this._data=t}connect(){return u(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}const P=["contentWrapper"],L=["*"],R=new o.q("VIRTUAL_SCROLL_STRATEGY");class V{constructor(t,e,i){this._scrolledIndexChange=new s.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(t=>t.lift(new f(void 0,void 0))),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,e,i){if(i<e)throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const t=this._viewport.measureScrollOffset(),e=t/this._itemSize,i=this._viewport.getRenderedRange(),n={start:i.start,end:i.end},o=this._viewport.getViewportSize(),s=this._viewport.getDataLength(),r=t-n.start*this._itemSize;if(r<this._minBufferPx&&0!=n.start){const t=Math.ceil((this._maxBufferPx-r)/this._itemSize);n.start=Math.max(0,n.start-t),n.end=Math.min(s,Math.ceil(e+(o+this._minBufferPx)/this._itemSize))}else{const i=n.end*this._itemSize-(t+o);if(i<this._minBufferPx&&n.end!=s){const t=Math.ceil((this._maxBufferPx-i)/this._itemSize);t>0&&(n.end=Math.min(s,n.end+t),n.start=Math.max(0,Math.floor(e-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(n),this._viewport.setRenderedContentOffset(this._itemSize*n.start),this._scrolledIndexChange.next(Math.floor(e))}}function D(t){return t._scrollStrategy}let z=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new V(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Object(n.e)(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Object(n.e)(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Object(n.e)(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[o.Ab([{provide:R,useFactory:D,deps:[Object(o.T)(()=>t)]}]),o.zb]}),t})(),B=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new s.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new l.a(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(Object(m.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(r.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
1h((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(w.a)(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let i=e.nativeElement,n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(a.a)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(o.Yb(o.z),o.Yb(T.a),o.Yb(k.d,8))},t.\u0275prov=Object(o.Kb)({factory:function(){return new t(Object(o.Yb)(o.z),Object(o.Yb)(T.a),Object(o.Yb)(k.d,8))},token:t,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new s.a,this._elementScrolled=new l.a(t=>this.ngZone.runOutsideAngular(()=>Object(a.a)(this.elementRef.nativeElement,"scroll").pipe(Object(v.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=Object(T.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(T.d)()?t.left=t.right:1==Object(T.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(T.f)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==Object(T.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==Object(T.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(B),o.Ob(o.z),o.Ob(I.b,8))},t.\u0275dir=o.Jb({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),F=(()=>{class t{constructor(t,e,i){this._platform=t,this._document=i,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?Object(c.a)(Object(a.a)(e,"resize"),Object(a.a)(e,"orientationchange")):Object(r.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(m.a)(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHe
1ight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(o.Yb(T.a),o.Yb(o.z),o.Yb(k.d,8))},t.\u0275prov=Object(o.Kb)({factory:function(){return new t(Object(o.Yb)(T.a),Object(o.Yb)(o.z),Object(o.Yb)(k.d,8))},token:t,providedIn:"root"}),t})();const M="undefined"!=typeof requestAnimationFrame?h.a:p.a;let j=(()=>{class t extends E{constructor(t,e,i,n,o,r,a){if(super(t,r,i,o),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=n,this._detachedSubject=new s.a,this._renderedRangeSubject=new s.a,this._orientation="vertical",this.scrolledIndexChange=new l.a(t=>this._scrollStrategy.scrolledIndexChange.subscribe(e=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(e))))),this.renderedRangeStream=this._renderedRangeSubject.asObservable(),this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=d.a.EMPTY,!n)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');a&&(this._viewportChanges=a.change().subscribe(()=>{this.checkViewportSize()}))}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(Object(C.a)(null),Object(m.a)(0,M)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Object(v.a)(this._detachedSubject)).subscribe(t=>{const e=t.length;e!==this._dataLength&&(this._dataLength=e,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){var e,i;((e=this._renderedRange).start!=(i=t).start||e.end!=i.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const i="horizontal"==this.orientation,n=i?"X":"Y";let o=`translate${n}(${Number((i&&this.dir&&"rtl"==this.dir.value?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===e&&(o+=` translate${n}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,e="auto"){const i={behavior:e};"horizontal"===this.orientation?i.start=t:i.top=t,this.scrollTo(i)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return super.measureScrollOffset(t||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(o.h),o.Ob(o.z),o.Ob(R,8),o.Ob(I.b,8),o.Ob(B),o.Ob(F,8))},t.\u0275cmp=o.Ib({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){var i;1&t&&o.Ic(P,!0),2&t&&o.zc(i=o.dc())&&(e._contentWrapper=i.first)},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&o.Fb("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[o.Ab([{provide:E,useExisting:t}]),o.yb],ngContentSelectors:L,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(o.mc(),o.Ub(0,"div",0,1),o.lc(2),o.Tb(),o.Pb(3,"div",2)),2&t&&(o.Bb(3),o.Jc("width",e._totalContentWidth)("height",e._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),t})();function K(t,e){if(!e.getBoundingClientRect)return 0;const i=e.getBoundingClientRect();return"horizontal"==t?i.width:i.height}let A=(()=>
1{class t{constructor(t,e,i,n,o){this._viewContainerRef=t,this._template=e,this._differs=i,this._viewport=n,this.viewChange=new s.a,this._dataSourceChanges=new s.a,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Object(C.a)(null),t=>t.lift(new y),Object(O.a)(([t,e])=>this._changeDataSource(t,e)),Object(S.a)(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new s.a,this.dataStream.subscribe(t=>{this._data=t,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Object(v.a)(this._destroyed)).subscribe(t=>{this._renderedRange=t,o.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,function(t){return t&&"function"==typeof t.connect}(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new x(u(t)?t:Array.prototype.slice.call(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,i)=>t(e+(this._renderedRange?this._renderedRange.start:0),i):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;if(t.start<this._renderedRange.start||t.end>this._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");const i=t.start-this._renderedRange.start;let n=0,o=t.end-t.start;for(;o--;){const t=this._viewContainerRef.get(o+i);let s=t?t.rootNodes.length:0;for(;s--;)n+=K(e,t.rootNodes[s])}return n}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(let t of this._templateCache)t.destroy()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):Object(r.a)()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){let i=this._viewContainerRef.get(e);i.context.index=this._renderedRange.start+e,i.context.count=t,this._updateComputedContextProperties(i.context),i.detectChanges()}}
1_applyChanges(t){t.forEachOperation((t,e,i)=>{if(null==t.previousIndex)this._insertViewForNewItem(i).context.$implicit=t.item;else if(null==i)this._cacheView(this._detachView(e));else{const n=this._viewContainerRef.get(e);this._viewContainerRef.move(n,i),n.context.$implicit=t.item}}),t.forEachIdentityChange(t=>{this._viewContainerRef.get(t.currentIndex).context.$implicit=t.item});const e=this._data.length;let i=this._viewContainerRef.length;for(;i--;){const t=this._viewContainerRef.get(i);t.context.index=this._renderedRange.start+i,t.context.count=e,this._updateComputedContextProperties(t.context)}}_cacheView(t){if(this._templateCache.length<this.cdkVirtualForTemplateCacheSize)this._templateCache.push(t);else{const e=this._viewContainerRef.indexOf(t);-1===e?t.destroy():this._viewContainerRef.remove(e)}}_insertViewForNewItem(t){return this._insertViewFromCache(t)||this._createEmbeddedViewAt(t)}_updateComputedContextProperties(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}_createEmbeddedViewAt(t){return this._viewContainerRef.createEmbeddedView(this._template,{$implicit:null,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},t)}_insertViewFromCache(t){const e=this._templateCache.pop();return e&&this._viewContainerRef.insert(e,t),e||null}_detachView(t){return this._viewContainerRef.detach(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.O),o.Ob(o.L),o.Ob(o.s),o.Ob(j,4),o.Ob(o.z))},t.\u0275dir=o.Jb({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize",cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate"}}),t})(),U=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)}}),t})(),G=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[I.a,T.b,U],I.a,U]}),t})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.