diff --git a/404.html b/404.html index 2a19d02..cea3101 100644 --- a/404.html +++ b/404.html @@ -2,8 +2,8 @@ - GPW Literature Review - + Grassland Literature Review + @@ -14,7 +14,7 @@ - + @@ -22,20 +22,20 @@ - + - + - -
-
- + +
+
+ +
-
- - + + diff --git a/503.8c56916b50d1c4ca.js b/503.8c56916b50d1c4ca.js new file mode 100644 index 0000000..617111d --- /dev/null +++ b/503.8c56916b50d1c4ca.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[503],{503:(Nu,ue,I)=>{I.r(ue),I.d(ue,{HomeModule:()=>Lu});var m=I(177),L=I(7488),e=I(4438),$=I(139),R=I(4341),g=I(5779),M=I(1141),v=I(9969),d=I(1455),E=I(563),h=I(4420),x=I(461);let he=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),me=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),_e=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),A=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var F=I(1512);let ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CalendarIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const nt=["container"],ot=["inputfield"],st=["contentWrapper"],at=[[["p-header"]],[["p-footer"]]],lt=["p-header","p-footer"],rt=(o,a,t,i,n)=>({"p-calendar":!0,"p-input-icon-right":o,"p-calendar-w-btn":a,"p-calendar-timeonly":t,"p-calendar-disabled":i,"p-focus":n}),ct=o=>({clickCallBack:o}),dt=(o,a,t,i,n,s)=>({"p-datepicker p-component":!0,"p-datepicker-inline":o,"p-disabled":a,"p-datepicker-timeonly":t,"p-datepicker-multiple-month":i,"p-datepicker-monthpicker":n,"p-datepicker-touch-ui":s}),fe=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),pt=o=>({value:"visibleTouchUI",params:o}),ut=o=>({value:"visible",params:o}),ee=o=>({$implicit:o}),ht=(o,a)=>({"p-datepicker-other-month":o,"p-datepicker-today":a}),te=(o,a)=>({"p-highlight":o,"p-disabled":a}),be=o=>[o];function mt(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",11),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.k0s()}2&o&&e.Y8G("styleClass","p-calendar-clear-icon")}function _t(o,a){}function gt(o,a){1&o&&e.DNE(0,_t,0,0,"ng-template")}function ft(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.DNE(1,gt,1,0,null,13),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function bt(o,a){if(1&o&&(e.qex(0),e.DNE(1,mt,1,1,"TimesIcon",9)(2,ft,2,1,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function vt(o,a){if(1&o&&e.nrm(0,"span",16),2&o){const t=e.XpG(3);e.Y8G("ngClass",t.icon)}}function yt(o,a){1&o&&e.nrm(0,"CalendarIcon")}function Ct(o,a){}function wt(o,a){1&o&&e.DNE(0,Ct,0,0,"ng-template")}function It(o,a){if(1&o&&(e.qex(0),e.DNE(1,yt,1,0,"CalendarIcon",7)(2,wt,1,0,null,13),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.triggerIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.triggerIconTemplate)}}function xt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(n){e.eBV(t),e.XpG();const s=e.sdS(1),l=e.XpG();return e.Njj(l.onButtonClick(n,s))}),e.DNE(1,vt,1,1,"span",15)(2,It,3,2,"ng-container",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.disabled),e.BMQ("aria-label",t.iconButtonAriaLabel)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId),e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.Y8G("ngIf",!t.icon)}}function Tt(o,a){if(1&o){const t=e.RV6();e.j41(0,"CalendarIcon",19),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onButtonClick(n))}),e.k0s()}}function kt(o,a){1&o&&e.eu8(0)}function St(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tt,1,0,"CalendarIcon",17)(2,kt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.inputIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.inputIconTemplate)("ngTemplateOutletContext",e.eq3(3,ct,t.onButtonClick.bind(t)))}}function Dt(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",6,1),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputKeydown(n))})("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onInputClick())})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUserInput(n))}),e.k0s(),e.DNE(2,bt,3,2,"ng-container",7)(3,xt,3,6,"button",8)(4,St,3,5,"ng-container",7)}if(2&o){const t=e.XpG();e.HbH(t.inputStyleClass),e.Y8G("value",t.inputFieldValue)("readonly",t.readonlyInput)("ngStyle",t.inputStyle)("placeholder",t.placeholder||"")("disabled",t.disabled)("ngClass","p-inputtext p-component"),e.BMQ("id",t.inputId)("name",t.name)("required",t.required)("aria-required",t.required)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId)("aria-labelledby",t.ariaLabelledBy)("aria-label",t.ariaLabel)("tabindex",t.tabindex)("inputmode",t.touchUI?"off":null),e.R7$(2),e.Y8G("ngIf",t.showClear&&!t.disabled&&null!=t.value),e.R7$(),e.Y8G("ngIf",t.showIcon&&"button"===t.iconDisplay),e.R7$(),e.Y8G("ngIf","input"===t.iconDisplay&&t.showIcon)}}function Et(o,a){1&o&&e.eu8(0)}function Rt(o,a){1&o&&e.nrm(0,"ChevronLeftIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-prev-icon")}function Mt(o,a){}function Ft(o,a){1&o&&e.DNE(0,Mt,0,0,"ng-template")}function Gt(o,a){if(1&o&&(e.j41(0,"span",41),e.DNE(1,Ft,1,0,null,13),e.k0s()),2&o){const t=e.XpG(5);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousIconTemplate)}}function Vt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",38),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onPrevButtonClick(n))}),e.DNE(1,Rt,1,1,"ChevronLeftIcon",35)(2,Gt,2,1,"span",39),e.k0s()}if(2&o){const t=e.XpG(4);e.BMQ("aria-label",t.prevIconAriaLabel),e.R7$(),e.Y8G("ngIf",!t.previousIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousIconTemplate)}}function Bt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",42),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToMonthView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseMonth")),e.R7$(),e.SpI(" ",i.getMonthName(t.month)," ")}}function Ot(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",43),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToYearView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseYear")),e.R7$(),e.SpI(" ",i.getYear(t)," ")}}function Lt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(5);e.R7$(),e.Lme("",t.yearPickerValues()[0]," - ",t.yearPickerValues()[t.yearPickerValues().length-1],"")}}function Nt(o,a){1&o&&e.eu8(0)}function jt(o,a){if(1&o&&(e.j41(0,"span",44),e.DNE(1,Lt,2,2,"ng-container",7)(2,Nt,1,0,"ng-container",18),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",!t.decadeTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decadeTemplate)("ngTemplateOutletContext",e.eq3(3,ee,t.yearPickerValues))}}function Pt(o,a){1&o&&e.nrm(0,"ChevronRightIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-next-icon")}function zt(o,a){}function Ht(o,a){1&o&&e.DNE(0,zt,0,0,"ng-template")}function Yt(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,Ht,1,0,null,13),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextIconTemplate)}}function $t(o,a){if(1&o&&(e.j41(0,"th",51)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(5);e.R7$(2),e.JRh(t.getTranslation("weekHeader"))}}function At(o,a){if(1&o&&(e.j41(0,"th",52)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=a.$implicit;e.R7$(2),e.JRh(t)}}function Xt(o,a){if(1&o&&(e.j41(0,"td",55)(1,"span",56),e.EFF(2),e.k0s()()),2&o){const t=e.XpG().index,i=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",i.weekNumbers[t]," ")}}function Kt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.day)}}function Ut(o,a){1&o&&e.eu8(0)}function Qt(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ut,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.dateTemplate)("ngTemplateOutletContext",e.eq3(2,ee,t))}}function qt(o,a){1&o&&e.eu8(0)}function Wt(o,a){if(1&o&&(e.qex(0),e.DNE(1,qt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.disabledDateTemplate)("ngTemplateOutletContext",e.eq3(2,ee,t))}}function Zt(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.day," ")}}function Jt(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"span",57),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(6);return e.Njj(l.onDateSelect(n,s))})("keydown",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3).index,r=e.XpG(3);return e.Njj(r.onDateCellKeydown(n,s,l))}),e.DNE(2,Kt,2,1,"ng-container",7)(3,Qt,2,4,"ng-container",7)(4,Wt,2,4,"ng-container",7),e.k0s(),e.DNE(5,Zt,2,1,"div",58),e.bVm()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngClass",e.l_i(5,te,i.isSelected(t)&&t.selectable,!t.selectable)),e.R7$(),e.Y8G("ngIf",!i.dateTemplate&&(t.selectable||!i.disabledDateTemplate)),e.R7$(),e.Y8G("ngIf",t.selectable||!i.disabledDateTemplate),e.R7$(),e.Y8G("ngIf",!t.selectable),e.R7$(),e.Y8G("ngIf",i.isSelected(t))}}function ei(o,a){if(1&o&&(e.j41(0,"td",16),e.DNE(1,Jt,6,8,"ng-container",7),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(6);e.Y8G("ngClass",e.l_i(3,ht,t.otherMonth,t.today)),e.BMQ("aria-label",t.day),e.R7$(),e.Y8G("ngIf",!t.otherMonth||i.showOtherMonths)}}function ti(o,a){if(1&o&&(e.j41(0,"tr"),e.DNE(1,Xt,3,1,"td",53)(2,ei,2,6,"td",54),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(5);e.R7$(),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",t)}}function ii(o,a){if(1&o&&(e.j41(0,"div",46)(1,"table",47)(2,"thead")(3,"tr"),e.DNE(4,$t,3,1,"th",48)(5,At,3,1,"th",49),e.k0s()(),e.j41(6,"tbody"),e.DNE(7,ti,3,2,"tr",50),e.k0s()()()),2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(4),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",i.weekDays),e.R7$(2),e.Y8G("ngForOf",t.dates)}}function ni(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",27)(1,"div",28),e.DNE(2,Vt,3,3,"button",29),e.j41(3,"div",30),e.DNE(4,Bt,2,3,"button",31)(5,Ot,2,3,"button",32)(6,jt,3,5,"span",33),e.k0s(),e.j41(7,"button",34),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onNextButtonClick(n))}),e.DNE(8,Pt,1,1,"ChevronRightIcon",35)(9,Yt,2,1,"span",36),e.k0s()(),e.DNE(10,ii,8,3,"div",37),e.k0s()}if(2&o){const t=a.index,i=e.XpG(3);e.R7$(2),e.Y8G("ngIf",0===t),e.R7$(2),e.Y8G("ngIf","date"===i.currentView),e.R7$(),e.Y8G("ngIf","year"!==i.currentView),e.R7$(),e.Y8G("ngIf","year"===i.currentView),e.R7$(),e.xc7("display",1===i.numberOfMonths||t===i.numberOfMonths-1?"inline-flex":"none"),e.BMQ("aria-label",i.nextIconAriaLabel),e.R7$(),e.Y8G("ngIf",!i.nextIconTemplate),e.R7$(),e.Y8G("ngIf",i.nextIconTemplate),e.R7$(),e.Y8G("ngIf","date"===i.currentView)}}function oi(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function si(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",62),e.bIt("click",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthSelect(n,s))})("keydown",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthCellKeydown(n,s))}),e.EFF(1),e.DNE(2,oi,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.XpG(4);e.Y8G("ngClass",e.l_i(3,te,n.isMonthSelected(i),n.isMonthDisabled(i))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",n.isMonthSelected(i))}}function ai(o,a){if(1&o&&(e.j41(0,"div",60),e.DNE(1,si,3,6,"span",61),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.monthPickerValues())}}function li(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function ri(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",65),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearSelect(n,s))})("keydown",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearCellKeydown(n,s))}),e.EFF(1),e.DNE(2,li,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngClass",e.l_i(3,te,i.isYearSelected(t),i.isYearDisabled(t))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",i.isYearSelected(t))}}function ci(o,a){if(1&o&&(e.j41(0,"div",63),e.DNE(1,ri,3,6,"span",64),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.yearPickerValues())}}function di(o,a){if(1&o&&(e.qex(0),e.j41(1,"div",23),e.DNE(2,ni,11,10,"div",24),e.k0s(),e.DNE(3,ai,2,1,"div",25)(4,ci,2,1,"div",26),e.bVm()),2&o){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.months),e.R7$(),e.Y8G("ngIf","month"===t.currentView),e.R7$(),e.Y8G("ngIf","year"===t.currentView)}}function pi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function ui(o,a){}function hi(o,a){1&o&&e.DNE(0,ui,0,0,"ng-template")}function mi(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function _i(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function gi(o,a){}function fi(o,a){1&o&&e.DNE(0,gi,0,0,"ng-template")}function bi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function vi(o,a){}function yi(o,a){1&o&&e.DNE(0,vi,0,0,"ng-template")}function Ci(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function wi(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Ii(o,a){}function xi(o,a){1&o&&e.DNE(0,Ii,0,0,"ng-template")}function Ti(o,a){if(1&o&&(e.j41(0,"div",69)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(3);e.R7$(2),e.JRh(t.timeSeparator)}}function ki(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Si(o,a){}function Di(o,a){1&o&&e.DNE(0,Si,0,0,"ng-template")}function Ei(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function Ri(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Mi(o,a){}function Fi(o,a){1&o&&e.DNE(0,Mi,0,0,"ng-template")}function Gi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",74)(1,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(2,ki,1,0,"ChevronUpIcon",7)(3,Di,1,0,null,13),e.k0s(),e.j41(4,"span"),e.DNE(5,Ei,2,0,"ng-container",7),e.EFF(6),e.k0s(),e.j41(7,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(8,Ri,1,0,"ChevronDownIcon",7)(9,Fi,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("nextSecond")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentSecond<10),e.R7$(),e.JRh(t.currentSecond),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevSecond")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function Vi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Bi(o,a){}function Oi(o,a){1&o&&e.DNE(0,Bi,0,0,"ng-template")}function Li(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Ni(o,a){}function ji(o,a){1&o&&e.DNE(0,Ni,0,0,"ng-template")}function Pi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",75)(1,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(2,Vi,1,0,"ChevronUpIcon",7)(3,Oi,1,0,null,13),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s(),e.j41(6,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(7,Li,1,0,"ChevronDownIcon",7)(8,ji,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("am")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.JRh(t.pm?"PM":"AM"),e.R7$(),e.BMQ("aria-label",t.getTranslation("pm")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function zi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",66)(1,"div",67)(2,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(3,pi,1,0,"ChevronUpIcon",7)(4,hi,1,0,null,13),e.k0s(),e.j41(5,"span"),e.DNE(6,mi,2,0,"ng-container",7),e.EFF(7),e.k0s(),e.j41(8,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(9,_i,1,0,"ChevronDownIcon",7)(10,fi,1,0,null,13),e.k0s()(),e.j41(11,"div",69)(12,"span"),e.EFF(13),e.k0s()(),e.j41(14,"div",70)(15,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(16,bi,1,0,"ChevronUpIcon",7)(17,yi,1,0,null,13),e.k0s(),e.j41(18,"span"),e.DNE(19,Ci,2,0,"ng-container",7),e.EFF(20),e.k0s(),e.j41(21,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(22,wi,1,0,"ChevronDownIcon",7)(23,xi,1,0,null,13),e.k0s()(),e.DNE(24,Ti,3,1,"div",71)(25,Gi,10,8,"div",72)(26,Pi,9,7,"div",73),e.k0s()}if(2&o){const t=e.XpG(2);e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextHour")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentHour<10),e.R7$(),e.JRh(t.currentHour),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevHour")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(3),e.JRh(t.timeSeparator),e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextMinute")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentMinute<10),e.R7$(),e.JRh(t.currentMinute),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevMinute")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf","12"==t.hourFormat)}}function Hi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",77)(1,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTodayButtonClick(n))}),e.k0s(),e.j41(2,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onClearButtonClick(n))}),e.k0s()()}if(2&o){const t=e.XpG(2);e.R7$(),e.Y8G("label",t.getTranslation("today"))("ngClass",e.eq3(4,be,t.todayButtonStyleClass)),e.R7$(),e.Y8G("label",t.getTranslation("clear"))("ngClass",e.eq3(6,be,t.clearButtonStyleClass))}}function Yi(o,a){1&o&&e.eu8(0)}function $i(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",20,2),e.bIt("@overlayAnimation.start",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationStart(n))})("@overlayAnimation.done",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationDone(n))})("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayClick(n))}),e.SdG(2),e.DNE(3,Et,1,0,"ng-container",13)(4,di,5,3,"ng-container",7)(5,zi,27,20,"div",21)(6,Hi,3,8,"div",22),e.SdG(7,1),e.DNE(8,Yi,1,0,"ng-container",13),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngStyle",t.panelStyle)("ngClass",e.l4e(14,dt,t.inline,t.disabled,t.timeOnly,t.numberOfMonths>1,"month"===t.view,t.touchUI))("@overlayAnimation",t.touchUI?e.eq3(24,pt,e.l_i(21,fe,t.showTransitionOptions,t.hideTransitionOptions)):e.eq3(29,ut,e.l_i(26,fe,t.showTransitionOptions,t.hideTransitionOptions)))("@.disabled",!0===t.inline),e.BMQ("aria-label",t.getTranslation("chooseDate"))("role",t.inline?null:"dialog")("aria-modal",t.inline?null:"true"),e.R7$(3),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",!t.timeOnly),e.R7$(),e.Y8G("ngIf",(t.showTime||t.timeOnly)&&"date"===t.currentView),e.R7$(),e.Y8G("ngIf",t.showButtonBar),e.R7$(2),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}const Ai={provide:R.kq,useExisting:(0,e.Rfq)(()=>Xi),multi:!0};let Xi=(()=>{class o{document;el;renderer;cd;zone;config;overlayService;iconDisplay="button";style;styleClass;inputStyle;inputId;name;inputStyleClass;placeholder;ariaLabelledBy;ariaLabel;iconAriaLabel;disabled;dateFormat;multipleSeparator=",";rangeSeparator="-";inline=!1;showOtherMonths=!0;selectOtherMonths;showIcon;icon;appendTo;readonlyInput;shortYearCutoff="+10";monthNavigator;yearNavigator;hourFormat="24";timeOnly;stepHour=1;stepMinute=1;stepSecond=1;showSeconds=!1;required;showOnFocus=!0;showWeek=!1;showClear=!1;dataType="date";selectionMode="single";maxDateCount;showButtonBar;todayButtonStyleClass="p-button-text";clearButtonStyleClass="p-button-text";autoZIndex=!0;baseZIndex=0;panelStyleClass;panelStyle;keepInvalid=!1;hideOnDateTimeSelect=!0;touchUI;timeSeparator=":";focusTrap=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";tabindex;get minDate(){return this._minDate}set minDate(t){this._minDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(t){this._disabledDates=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(t){this._disabledDays=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(t){if(this._yearRange=t,t){const i=t.split(":"),n=parseInt(i[0]),s=parseInt(i[1]);this.populateYearOptions(n,s)}}get showTime(){return this._showTime}set showTime(t){this._showTime=t,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get responsiveOptions(){return this._responsiveOptions}set responsiveOptions(t){this._responsiveOptions=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get numberOfMonths(){return this._numberOfMonths}set numberOfMonths(t){this._numberOfMonths=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(t){this._firstDayOfWeek=t,this.createWeekDays()}set locale(t){console.warn("Locale property has no effect, use new i18n API instead.")}get view(){return this._view}set view(t){this._view=t,this.currentView=this._view}get defaultDate(){return this._defaultDate}set defaultDate(t){if(this._defaultDate=t,this.initialized){const i=t||new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.initTime(i),this.createMonths(this.currentMonth,this.currentYear)}}onFocus=new e.bkB;onBlur=new e.bkB;onClose=new e.bkB;onSelect=new e.bkB;onClear=new e.bkB;onInput=new e.bkB;onTodayClick=new e.bkB;onClearClick=new e.bkB;onMonthChange=new e.bkB;onYearChange=new e.bkB;onClickOutside=new e.bkB;onShow=new e.bkB;templates;containerViewChild;inputfieldViewChild;set content(t){this.contentViewChild=t,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):!this.focus&&!this.inline&&this.initFocusableCell())}contentViewChild;value;dates;months;weekDays;currentMonth;currentYear;currentHour;currentMinute;currentSecond;pm;mask;maskClickListener;overlay;responsiveStyleElement;overlayVisible;onModelChange=()=>{};onModelTouched=()=>{};calendarElement;timePickerTimer;documentClickListener;animationEndListener;ticksTo1970;yearOptions;focus;isKeydown;filled;inputFieldValue=null;_minDate;_maxDate;_showTime;_yearRange;preventDocumentListener;dateTemplate;headerTemplate;footerTemplate;disabledDateTemplate;decadeTemplate;previousIconTemplate;nextIconTemplate;triggerIconTemplate;clearIconTemplate;decrementIconTemplate;incrementIconTemplate;inputIconTemplate;_disabledDates;_disabledDays;selectElement;todayElement;focusElement;scrollHandler;documentResizeListener;navigationState=null;isMonthNavigate;initialized;translationSubscription;_locale;_responsiveOptions;currentView;attributeSelector;panelId;_numberOfMonths=1;_firstDayOfWeek;_view="date";preventFocus;_defaultDate;window;get locale(){return this._locale}get iconButtonAriaLabel(){return this.iconAriaLabel?this.iconAriaLabel:this.getTranslation("chooseDate")}get prevIconAriaLabel(){return this.getTranslation("year"===this.currentView?"prevDecade":"month"===this.currentView?"prevYear":"prevMonth")}get nextIconAriaLabel(){return this.getTranslation("year"===this.currentView?"nextDecade":"month"===this.currentView?"nextYear":"nextMonth")}constructor(t,i,n,s,l,r,c){this.document=t,this.el=i,this.renderer=n,this.cd=s,this.zone=l,this.config=r,this.overlayService=c,this.window=this.document.defaultView}ngOnInit(){this.attributeSelector=(0,h._Y)(),this.panelId=this.attributeSelector+"_panel";const t=this.defaultDate||new Date;this.createResponsiveStyle(),this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),this.yearOptions=[],this.currentView=this.view,"date"===this.view&&(this.createWeekDays(),this.initTime(t),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays(),this.cd.markForCheck()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"date":default:this.dateTemplate=t.template;break;case"decade":this.decadeTemplate=t.template;break;case"disabledDate":this.disabledDateTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"inputicon":this.inputIconTemplate=t.template;break;case"previousicon":this.previousIconTemplate=t.template;break;case"nexticon":this.nextIconTemplate=t.template;break;case"triggericon":this.triggerIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"decrementicon":this.decrementIconTemplate=t.template;break;case"incrementicon":this.incrementIconTemplate=t.template;break;case"footer":this.footerTemplate=t.template}})}ngAfterViewInit(){this.inline&&(this.contentViewChild&&this.contentViewChild.nativeElement.setAttribute(this.attributeSelector,""),!this.disabled&&!this.inline&&(this.initFocusableCell(),1===this.numberOfMonths&&this.contentViewChild&&this.contentViewChild.nativeElement&&(this.contentViewChild.nativeElement.style.width=d.D.getOuterWidth(this.containerViewChild?.nativeElement)+"px")))}getTranslation(t){return this.config.getTranslation(t)}populateYearOptions(t,i){this.yearOptions=[];for(let n=t;n<=i;n++)this.yearOptions.push(n)}createWeekDays(){this.weekDays=[];let t=this.getFirstDateOfWeek(),i=this.getTranslation(g.Yj.DAY_NAMES_MIN);for(let n=0;n<7;n++)this.weekDays.push(i[t]),t=6==t?0:++t}monthPickerValues(){let t=[];for(let i=0;i<=11;i++)t.push(this.config.getTranslation("monthNamesShort")[i]);return t}yearPickerValues(){let t=[],i=this.currentYear-this.currentYear%10;for(let n=0;n<10;n++)t.push(i+n);return t}createMonths(t,i){this.months=this.months=[];for(let n=0;n11&&(s=s%11-1,l=i+1),this.months.push(this.createMonth(s,l))}}getWeekNumber(t){let i=new Date(t.getTime());i.setDate(i.getDate()+4-(i.getDay()||7));let n=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((n-i.getTime())/864e5)/7)+1}createMonth(t,i){let n=[],s=this.getFirstDayOfMonthIndex(t,i),l=this.getDaysCountInMonth(t,i),r=this.getDaysCountInPrevMonth(t,i),c=1,p=new Date,u=[],_=Math.ceil((l+s)/7);for(let b=0;b<_;b++){let f=[];if(0==b){for(let C=r-s+1;C<=r;C++){let y=this.getPreviousMonthAndYear(t,i);f.push({day:C,month:y.month,year:y.year,otherMonth:!0,today:this.isToday(p,C,y.month,y.year),selectable:this.isSelectable(C,y.month,y.year,!0)})}let w=7-f.length;for(let C=0;Cl){let C=this.getNextMonthAndYear(t,i);f.push({day:c-l,month:C.month,year:C.year,otherMonth:!0,today:this.isToday(p,c-l,C.month,C.year),selectable:this.isSelectable(c-l,C.month,C.year,!0)})}else f.push({day:c,month:t,year:i,today:this.isToday(p,c,t,i),selectable:this.isSelectable(c,t,i,!1)});c++}this.showWeek&&u.push(this.getWeekNumber(new Date(f[0].year,f[0].month,f[0].day))),n.push(f)}return{month:t,year:i,dates:n,weekNumbers:u}}initTime(t){this.pm=t.getHours()>11,this.showTime?(this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds(),this.setCurrentHourPM(t.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.decrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.incrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){this.currentYear--;let t=this.yearOptions;if(this.yearNavigator&&this.currentYeart[t.length-1]){let i=t[t.length-1]-t[0];this.populateYearOptions(t[0]+i,t[t.length-1]+i)}}switchToMonthView(t){this.setCurrentView("month"),t.preventDefault()}switchToYearView(t){this.setCurrentView("year"),t.preventDefault()}onDateSelect(t,i){!this.disabled&&i.selectable?(this.isMultipleSelection()&&this.isSelected(i)?(this.value=this.value.filter((n,s)=>!this.isDateEquals(n,i)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(i)&&this.selectDate(i),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{t.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),t.preventDefault()):t.preventDefault()}shouldSelectDate(t){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(t,i){"month"===this.view?this.onDateSelect(t,{year:this.currentYear,month:i,day:1,selectable:!0}):(this.currentMonth=i,this.createMonths(this.currentMonth,this.currentYear),this.setCurrentView("date"),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}))}onYearSelect(t,i){"year"===this.view?this.onDateSelect(t,{year:i,month:0,day:1,selectable:!0}):(this.currentYear=i,this.setCurrentView("month"),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}))}updateInputfield(){let t="";if(this.value)if(this.isSingleSelection())t=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let i=0;i11,this.currentHour=t>=12?12==t?12:t-12:0==t?12:t):this.currentHour=t}setCurrentView(t){this.currentView=t,this.cd.detectChanges(),this.alignOverlay()}selectDate(t){let i=new Date(t.year,t.month,t.day);if(this.showTime&&(i.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),i.setMinutes(this.currentMinute),i.setSeconds(this.currentSecond)),this.minDate&&this.minDate>i&&(i=this.minDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.maxDate&&this.maxDate=n.getTime()?s=i:(n=i,s=null),this.updateModel([n,s])}else this.updateModel([i,null]);this.onSelect.emit(i)}updateModel(t){if(this.value=t,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let i=null;Array.isArray(this.value)&&(i=this.value.map(n=>this.formatDateTime(n))),this.onModelChange(i)}}getFirstDayOfMonthIndex(t,i){let n=new Date;n.setDate(1),n.setMonth(t),n.setFullYear(i);let s=n.getDay()+this.getSundayIndex();return s>=7?s-7:s}getDaysCountInMonth(t,i){return 32-this.daylightSavingAdjust(new Date(i,t,32)).getDate()}getDaysCountInPrevMonth(t,i){let n=this.getPreviousMonthAndYear(t,i);return this.getDaysCountInMonth(n.month,n.year)}getPreviousMonthAndYear(t,i){let n,s;return 0===t?(n=11,s=i-1):(n=t-1,s=i),{month:n,year:s}}getNextMonthAndYear(t,i){let n,s;return 11===t?(n=0,s=i+1):(n=t+1,s=i),{month:n,year:s}}getSundayIndex(){let t=this.getFirstDateOfWeek();return t>0?7-t:0}isSelected(t){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,t);if(this.isMultipleSelection()){let i=!1;for(let n of this.value)if(i=this.isDateEquals(n,t),i)break;return i}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],t)||this.isDateEquals(this.value[1],t)||this.isDateBetween(this.value[0],this.value[1],t):this.isDateEquals(this.value[0],t):void 0}isComparable(){return null!=this.value&&"string"!=typeof this.value}isMonthSelected(t){if(this.isComparable()&&!this.isMultipleSelection()){const[i,n]=this.isRangeSelection()?this.value:[this.value,this.value],s=new Date(this.currentYear,t,1);return s>=i&&s<=(n??i)}return!1}isMonthDisabled(t){for(let i=1;i=l.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(t,i,n,s){return t.getDate()===i&&t.getMonth()===n&&t.getFullYear()===s}isSelectable(t,i,n,s){let l=!0,r=!0,c=!0,p=!0;return!(s&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>i||this.minDate.getMonth()===i&&this.minDate.getDate()>t))&&(l=!1),this.maxDate&&(this.maxDate.getFullYear()1||this.disabled}onPrevButtonClick(t){this.navigationState={backward:!0,button:!0},this.navBackward(t)}onNextButtonClick(t){this.navigationState={backward:!1,button:!0},this.navForward(t)}onContainerButtonKeydown(t){switch(t.which){case 9:if(this.inline||this.trapFocus(t),this.inline){const i=d.D.findSingle(this.containerViewChild?.nativeElement,".p-datepicker-header");t.target==i.children[i.children.length-1]&&this.initFocusableCell()}break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()}}onInputKeydown(t){this.isKeydown=!0,40===t.keyCode&&this.contentViewChild?this.trapFocus(t):27===t.keyCode?this.overlayVisible&&(this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()):13===t.keyCode?this.overlayVisible&&(this.overlayVisible=!1,t.preventDefault()):9===t.keyCode&&this.contentViewChild&&(d.D.getFocusableElements(this.contentViewChild.nativeElement).forEach(i=>i.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(t,i,n){const s=t.currentTarget,l=s.parentElement;switch(t.which){case 40:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.nextElementSibling;c?d.D.hasClass(c.children[r].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(t)):(c.children[r].children[0].tabIndex="0",c.children[r].children[0].focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 38:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.previousElementSibling;if(c){let p=c.children[r].children[0];d.D.hasClass(p,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(t)):(p.tabIndex="0",p.focus())}else this.navigationState={backward:!0},this.navBackward(t);t.preventDefault();break}case 37:{s.tabIndex="-1";let r=l.previousElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")||d.D.hasClass(c.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!0,n);t.preventDefault();break}case 39:{s.tabIndex="-1";let r=l.nextElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")?this.navigateToMonth(!1,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!1,n);t.preventDefault();break}case 13:case 32:this.onDateSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onMonthCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+3:l-3];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onMonthSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onYearCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+2:l-2];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onYearSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.trapFocus(t)}}navigateToMonth(t,i){if(t)if(1===this.numberOfMonths||0===i)this.navigationState={backward:!0},this.navBackward(event);else{let s=d.D.find(this.contentViewChild.nativeElement.children[i-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),l=s[s.length-1];l.tabIndex="0",l.focus()}else if(1===this.numberOfMonths||i===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let s=d.D.findSingle(this.contentViewChild.nativeElement.children[i+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");s.tabIndex="0",s.focus()}}updateFocus(){let t;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let i;i=d.D.find(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),i&&i.length>0&&(t=i[i.length-1])}else t=d.D.findSingle(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");t&&(t.tabIndex="0",t.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){const t=this.contentViewChild?.nativeElement;let i;if("month"===this.currentView){let n=d.D.find(t,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),s=d.D.findSingle(t,".p-monthpicker .p-monthpicker-month.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if("year"===this.currentView){let n=d.D.find(t,".p-yearpicker .p-yearpicker-year:not(.p-disabled)"),s=d.D.findSingle(t,".p-yearpicker .p-yearpicker-year.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-yearpicker .p-yearpicker-year.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if(i=d.D.findSingle(t,"span.p-highlight"),!i){let n=d.D.findSingle(t,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)");i=n||d.D.findSingle(t,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}i&&(i.tabIndex="0",!this.preventFocus&&(!this.navigationState||!this.navigationState.button)&&setTimeout(()=>{this.disabled||i.focus()},1),this.preventFocus=!1)}trapFocus(t){let i=d.D.getFocusableElements(this.contentViewChild.nativeElement);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);if(t.shiftKey)if(-1==n||0===n)if(this.focusTrap)i[i.length-1].focus();else{if(-1===n)return this.hideOverlay();if(0===n)return}else i[n-1].focus();else if(-1==n)if(this.timeOnly)i[0].focus();else{let s=0;for(let l=0;lr||this.minDate.getHours()===r&&(this.minDate.getMinutes()>i||this.minDate.getMinutes()===i&&this.minDate.getSeconds()>n))||this.maxDate&&c&&this.maxDate.toDateString()===c&&(this.maxDate.getHours()=24?n-24:n:"12"==this.hourFormat&&(this.currentHour<12&&n>11&&(s=!this.pm),n=n>=13?n-12:n),this.validateTime(n,this.currentMinute,this.currentSecond,s)&&(this.currentHour=n,this.pm=s),t.preventDefault()}onTimePickerElementMouseDown(t,i,n){this.disabled||(this.repeat(t,null,i,n),t.preventDefault())}onTimePickerElementMouseUp(t){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(t,i,n,s){let l=i||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(t,100,n,s),this.cd.markForCheck()},l),n){case 0:1===s?this.incrementHour(t):this.decrementHour(t);break;case 1:1===s?this.incrementMinute(t):this.decrementMinute(t);break;case 2:1===s?this.incrementSecond(t):this.decrementSecond(t)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(t){let i=this.currentHour-this.stepHour,n=this.pm;"24"==this.hourFormat?i=i<0?24+i:i:"12"==this.hourFormat&&(12===this.currentHour&&(n=!this.pm),i=i<=0?12+i:i),this.validateTime(i,this.currentMinute,this.currentSecond,n)&&(this.currentHour=i,this.pm=n),t.preventDefault()}incrementMinute(t){let i=this.currentMinute+this.stepMinute;i=i>59?i-60:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}decrementMinute(t){let i=this.currentMinute-this.stepMinute;i=i<0?60+i:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}incrementSecond(t){let i=this.currentSecond+this.stepSecond;i=i>59?i-60:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}decrementSecond(t){let i=this.currentSecond-this.stepSecond;i=i<0?60+i:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}updateTime(){let t=this.value;this.isRangeSelection()&&(t=this.value[1]||this.value[0]),this.isMultipleSelection()&&(t=this.value[this.value.length-1]),t=t?new Date(t.getTime()):new Date,t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond),this.isRangeSelection()&&(t=this.value[1]?[this.value[0],t]:[t,null]),this.isMultipleSelection()&&(t=[...this.value.slice(0,-1),t]),this.updateModel(t),this.onSelect.emit(t),this.updateInputfield()}toggleAMPM(t){const i=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,i)&&(this.pm=i,this.updateTime()),t.preventDefault()}onUserInput(t){if(!this.isKeydown)return;this.isKeydown=!1;let i=t.target.value;try{let n=this.parseValueFromString(i);this.isValidSelection(n)?(this.updateModel(n),this.updateUI()):this.keepInvalid&&this.updateModel(n)}catch{this.updateModel(this.keepInvalid?i:null)}this.filled=null!=i&&i.length,this.onInput.emit(t)}isValidSelection(t){let i=!0;return this.isSingleSelection()?this.isSelectable(t.getDate(),t.getMonth(),t.getFullYear(),!1)||(i=!1):t.every(n=>this.isSelectable(n.getDate(),n.getMonth(),n.getFullYear(),!1))&&this.isRangeSelection()&&(i=t.length>1&&t[1]>t[0]),i}parseValueFromString(t){if(!t||0===t.trim().length)return null;let i;if(this.isSingleSelection())i=this.parseDateTime(t);else if(this.isMultipleSelection()){let n=t.split(this.multipleSeparator);i=[];for(let s of n)i.push(this.parseDateTime(s.trim()))}else if(this.isRangeSelection()){let n=t.split(" "+this.rangeSeparator+" ");i=[];for(let s=0;s{this.disableModality(),this.overlayVisible=!1}),this.renderer.appendChild(this.document.body,this.mask),d.D.blockBodyScroll())}disableModality(){this.mask&&(d.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyMask.bind(this))))}destroyMask(){if(!this.mask)return;this.renderer.removeChild(this.document.body,this.mask);let i,t=this.document.body.children;for(let n=0;n{const _=n+1{let f=""+_;if(s(u))for(;f.lengths(u)?f[_]:b[_];let c="",p=!1;if(t)for(n=0;n11&&12!=n&&(n-=12),i+="12"==this.hourFormat&&0===n?12:n<10?"0"+n:n,i+=":",i+=s<10?"0"+s:s,this.showSeconds&&(i+=":",i+=l<10?"0"+l:l),"12"==this.hourFormat&&(i+=t.getHours()>11?" PM":" AM"),i}parseTime(t){let i=t.split(":");if(i.length!==(this.showSeconds?3:2))throw"Invalid time";let s=parseInt(i[0]),l=parseInt(i[1]),r=this.showSeconds?parseInt(i[2]):null;if(isNaN(s)||isNaN(l)||s>23||l>59||"12"==this.hourFormat&&s>12||this.showSeconds&&(isNaN(r)||r>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==s&&this.pm?s+=12:!this.pm&&12===s&&(s-=12)),{hour:s,minute:l,second:r}}parseDate(t,i){if(null==i||null==t)throw"Invalid arguments";if(""===(t="object"==typeof t?t.toString():t+""))return null;let n,s,l,w,r=0,c="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),p=-1,u=-1,_=-1,b=-1,f=!1,C=S=>{let D=n+1{let D=C(S),G="@"===S?14:"!"===S?20:"y"===S&&D?4:"o"===S?3:2,J=new RegExp("^\\d{"+("y"===S?G:1)+","+G+"}"),O=t.substring(r).match(J);if(!O)throw"Missing number at position "+r;return r+=O[0].length,parseInt(O[0],10)},T=(S,D,G)=>{let B=-1,J=C(S)?G:D,O=[];for(let V=0;V-(V[1].length-Y[1].length));for(let V=0;V{if(t.charAt(r)!==i.charAt(n))throw"Unexpected literal at position "+r;r++};for("month"===this.view&&(_=1),n=0;n-1)for(u=1,_=b;s=this.getDaysCountInMonth(p,u-1),!(_<=s);)u++,_-=s;if("year"===this.view&&(u=-1===u?1:u,_=-1===_?1:_),w=this.daylightSavingAdjust(new Date(p,u-1,_)),w.getFullYear()!==p||w.getMonth()+1!==u||w.getDate()!==_)throw"Invalid date";return w}daylightSavingAdjust(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(t){const i=new Date,n={day:i.getDate(),month:i.getMonth(),year:i.getFullYear(),otherMonth:i.getMonth()!==this.currentMonth||i.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.createMonths(i.getMonth(),i.getFullYear()),this.onDateSelect(t,n),this.onTodayClick.emit(t)}onClearButtonClick(t){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(t)}createResponsiveStyle(){if(this.numberOfMonths>1&&this.responsiveOptions){this.responsiveStyleElement||(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.body,this.responsiveStyleElement));let t="";if(this.responsiveOptions){let i=[...this.responsiveOptions].filter(n=>!(!n.breakpoint||!n.numMonths)).sort((n,s)=>-1*n.breakpoint.localeCompare(s.breakpoint,void 0,{numeric:!0}));for(let n=0;n{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"mousedown",i=>{this.isOutsideClicked(i)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(i),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.containerViewChild?.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(t){return!(this.el.nativeElement.isSameNode(t.target)||this.isNavIconClicked(t)||this.el.nativeElement.contains(t.target)||this.overlay&&this.overlay.contains(t.target))}isNavIconClicked(t){return d.D.hasClass(t.target,"p-datepicker-prev")||d.D.hasClass(t.target,"p-datepicker-prev-icon")||d.D.hasClass(t.target,"p-datepicker-next")||d.D.hasClass(t.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!d.D.isTouchDevice()&&this.hideOverlay()}onOverlayHide(){this.currentView=this.view,this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&h.Q$.clear(this.overlay),this.destroyResponsiveStyleElement(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.r1),e.rXU(g.si))};static \u0275cmp=e.VBU({type:o,selectors:[["p-calendar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(nt,5),e.GBs(ot,5),e.GBs(st,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.inputfieldViewChild=s.first),e.mGM(s=e.lsd())&&(n.content=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focus)("p-calendar-clearable",n.showClear&&!n.disabled)},inputs:{iconDisplay:"iconDisplay",style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",iconAriaLabel:"iconAriaLabel",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",showClear:"showClear",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",responsiveOptions:"responsiveOptions",numberOfMonths:"numberOfMonths",firstDayOfWeek:"firstDayOfWeek",locale:"locale",view:"view",defaultDate:"defaultDate"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[e.Jv_([Ai])],ngContentSelectors:lt,decls:4,vars:12,consts:[["container",""],["inputfield",""],["contentWrapper",""],[3,"ngClass","ngStyle"],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","role","combobox","aria-autocomplete","none","aria-haspopup","dialog","autocomplete","off",3,"focus","keydown","click","blur","input","value","readonly","ngStyle","placeholder","disabled","ngClass"],[4,"ngIf"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","class","p-datepicker-trigger p-button-icon-only","tabindex","0",3,"disabled","click",4,"ngIf"],[3,"styleClass","click",4,"ngIf"],["class","p-calendar-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-calendar-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger","p-button-icon-only",3,"click","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"click",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"click"],[3,"click","ngStyle","ngClass"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],["class","p-yearpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["type","button","class","p-datepicker-month p-link",3,"disabled","click","keydown",4,"ngIf"],["type","button","class","p-datepicker-year p-link",3,"disabled","click","keydown",4,"ngIf"],["class","p-datepicker-decade",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[3,"styleClass",4,"ngIf"],["class","p-datepicker-next-icon",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],["class","p-datepicker-prev-icon",4,"ngIf"],[3,"styleClass"],[1,"p-datepicker-prev-icon"],["type","button",1,"p-datepicker-month","p-link",3,"click","keydown","disabled"],["type","button",1,"p-datepicker-year","p-link",3,"click","keydown","disabled"],[1,"p-datepicker-decade"],[1,"p-datepicker-next-icon"],[1,"p-datepicker-calendar-container"],["role","grid",1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],["draggable","false","pRipple","",3,"click","keydown","ngClass"],["class","p-hidden-accessible","aria-live","polite",4,"ngIf"],["aria-live","polite",1,"p-hidden-accessible"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"click","keydown","ngClass"],[1,"p-yearpicker"],["class","p-yearpicker-year","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-yearpicker-year",3,"click","keydown","ngClass"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","keydown.space","mousedown","mouseup","keyup.enter","keyup.space","mouseleave"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"keydown","click","label","ngClass"]],template:function(i,n){1&i&&(e.NAR(at),e.j41(0,"span",3,0),e.DNE(2,Dt,5,21,"ng-template",4)(3,$i,9,31,"div",5),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.s1E(6,rt,n.showIcon&&"input"===n.iconDisplay,n.showIcon&&"button"===n.iconDisplay,n.timeOnly,n.disabled,n.focus||n.overlayVisible))("ngStyle",n.style),e.R7$(2),e.Y8G("ngIf",!n.inline),e.R7$(),e.Y8G("ngIf",n.inline||n.overlayVisible))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,M._f,E.n,he,me,_e,A,F.A,ge],styles:["@layer primeng{.p-calendar{position:relative;display:inline-flex;max-width:100%}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-block;position:static;overflow-x:auto}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group{flex:1 1 auto}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-yearpicker-year{width:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-calendar-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-calendar-clearable{position:relative}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayAnimation",[(0,v.wk)("visibleTouchUI",(0,v.iF)({transform:"translate(-50%,-50%)",opacity:1})),(0,v.kY)("void => visible",[(0,v.iF)({opacity:0,transform:"scaleY(0.8)"}),(0,v.i0)("{{showTransitionParams}}",(0,v.iF)({opacity:1,transform:"*"}))]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0}))]),(0,v.kY)("void => visibleTouchUI",[(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visibleTouchUI => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0})}return o})(),Ki=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,M.tm,g.Gg,E.Z,he,me,_e,A,F.A,ge,M.tm,g.Gg]})}return o})(),Ui=(()=>{class o{host;constructor(t){this.host=t}autofocus;focused=!1;ngAfterContentChecked(){if(!this.focused&&this.autofocus){const t=d.D.getFocusableElements(this.host.nativeElement);0===t.length&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}})}return o})(),Qi=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})();const qi=["overlay"],Wi=["content"],Zi=["*"],Ji=(o,a,t,i,n,s,l,r,c,p,u,_,b,f)=>({"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":o,"p-overlay-center":a,"p-overlay-top":t,"p-overlay-top-start":i,"p-overlay-top-end":n,"p-overlay-bottom":s,"p-overlay-bottom-start":l,"p-overlay-bottom-end":r,"p-overlay-left":c,"p-overlay-left-start":p,"p-overlay-left-end":u,"p-overlay-right":_,"p-overlay-right-start":b,"p-overlay-right-end":f}),en=(o,a,t)=>({showTransitionParams:o,hideTransitionParams:a,transform:t}),tn=o=>({value:"visible",params:o}),nn=o=>({mode:o}),on=o=>({$implicit:o});function sn(o,a){1&o&&e.eu8(0)}function an(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,1),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationDone(n))}),e.SdG(2),e.DNE(3,sn,1,0,"ng-container",4),e.k0s()}if(2&o){const t=e.XpG(2);e.HbH(t.contentStyleClass),e.Y8G("ngStyle",t.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",e.eq3(11,tn,e.sMw(7,en,t.showTransitionOptions,t.hideTransitionOptions,t.transformOptions[t.modal?t.overlayResponsiveDirection:"default"]))),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.eq3(15,on,e.eq3(13,nn,t.overlayMode)))}}function ln(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onOverlayClick())}),e.DNE(2,an,4,17,"div",2),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass",e.zJS(5,Ji,[t.modal,t.modal&&"center"===t.overlayResponsiveDirection,t.modal&&"top"===t.overlayResponsiveDirection,t.modal&&"top-start"===t.overlayResponsiveDirection,t.modal&&"top-end"===t.overlayResponsiveDirection,t.modal&&"bottom"===t.overlayResponsiveDirection,t.modal&&"bottom-start"===t.overlayResponsiveDirection,t.modal&&"bottom-end"===t.overlayResponsiveDirection,t.modal&&"left"===t.overlayResponsiveDirection,t.modal&&"left-start"===t.overlayResponsiveDirection,t.modal&&"left-end"===t.overlayResponsiveDirection,t.modal&&"right"===t.overlayResponsiveDirection,t.modal&&"right-start"===t.overlayResponsiveDirection,t.modal&&"right-end"===t.overlayResponsiveDirection])),e.R7$(2),e.Y8G("ngIf",t.visible)}}const rn={provide:R.kq,useExisting:(0,e.Rfq)(()=>ve),multi:!0},cn=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),dn=(0,v.lY)([(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let ve=(()=>{class o{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(t){this._mode=t}get style(){return h.BF.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(t){this._style=t}get styleClass(){return h.BF.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(t){this._styleClass=t}get contentStyle(){return h.BF.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(t){this._contentStyle=t}get contentStyleClass(){return h.BF.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(t){this._contentStyleClass=t}get target(){const t=this._target||this.overlayOptions?.target;return void 0===t?"@prev":t}set target(t){this._target=t}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(t){this._appendTo=t}get autoZIndex(){const t=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===t||t}set autoZIndex(t){this._autoZIndex=t}get baseZIndex(){const t=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===t?0:t}set baseZIndex(t){this._baseZIndex=t}get showTransitionOptions(){const t=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===t?".12s cubic-bezier(0, 0, 0.2, 1)":t}set showTransitionOptions(t){this._showTransitionOptions=t}get hideTransitionOptions(){const t=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===t?".1s linear":t}set hideTransitionOptions(t){this._hideTransitionOptions=t}get listener(){return this._listener||this.overlayOptions?.listener}set listener(t){this._listener=t}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(t){this._responsive=t}get options(){return this._options}set options(t){this._options=t}visibleChange=new e.bkB;onBeforeShow=new e.bkB;onShow=new e.bkB;onBeforeHide=new e.bkB;onHide=new e.bkB;onAnimationStart=new e.bkB;onAnimationDone=new e.bkB;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,m.UE)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return d.D.getTargetElement(this.target,this.el?.nativeElement)}constructor(t,i,n,s,l,r,c,p){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.config=l,this.overlayService=r,this.cd=c,this.zone=p,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{t.getType(),this.contentTemplate=t.template})}show(t,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.addClass(this.document?.body,"p-overflow-hidden")}hide(t,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&d.D.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(t){this._visible=t,this.visibleChange.emit(t)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(t){this.overlayService.add({originalEvent:t,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(t){switch(t.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&h.Q$.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),d.D.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&d.D.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",t)}onOverlayContentAnimationDone(t){const i=this.overlayEl||t.element.parentElement;switch(t.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(i),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",t)}handleEvents(t,i){this[t].emit(i),this.options&&this.options[t]&&this.options[t](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[t]&&(this.config?.overlayOptions)[t](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.targetEl,t=>{(!this.listener||this.listener(t,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(t,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{const n=!(this.targetEl&&(this.targetEl.isSameNode(t.target)||!this.isOverlayClicked&&this.targetEl.contains(t.target))||this.isOverlayContentClicked);(this.listener?this.listener(t,{type:"outside",mode:this.overlayMode,valid:3!==t.which&&n}):n)&&this.hide(t),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",t=>{(this.listener?this.listener(t,{type:"resize",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.hide(t,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",t=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===t.code&&(this.listener?this.listener(t,{type:"keydown",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.zone.run(()=>{this.hide(t,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(g.r1),e.rXU(g.si),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-overlay"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(qi,5),e.GBs(Wi,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[e.Jv_([rn])],ngContentSelectors:Zi,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.NAR(),e.DNE(0,ln,3,20,"div",2)),2&i&&e.Y8G("ngIf",n.modalVisible)},dependencies:[m.YU,m.bT,m.T3,m.B3],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayContentAnimation",[(0,v.kY)(":enter",[(0,v.sM)(cn)]),(0,v.kY)(":leave",[(0,v.sM)(dn)])])]},changeDetection:0})}return o})(),ye=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,g.Gg]})}return o})();var X=I(8757);const pn=["element"],un=["content"],hn=["*"],mn=(o,a,t)=>({"p-scroller":!0,"p-scroller-inline":o,"p-both-scroll":a,"p-horizontal-scroll":t}),ie=(o,a)=>({$implicit:o,options:a}),_n=o=>({"p-scroller-loading":o}),gn=o=>({"p-component-overlay":o}),fn=o=>({numCols:o}),Ce=o=>({options:o}),bn=()=>({styleClass:"p-scroller-loading-icon"}),vn=(o,a)=>({rows:o,columns:a});function yn(o,a){1&o&&e.eu8(0)}function Cn(o,a){if(1&o&&(e.qex(0),e.DNE(1,yn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(2,ie,t.loadedItems,t.getContentOptions()))}}function wn(o,a){1&o&&e.eu8(0)}function In(o,a){if(1&o&&(e.qex(0),e.DNE(1,wn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.$implicit,i=a.index,n=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",n.itemTemplate)("ngTemplateOutletContext",e.l_i(2,ie,t,n.getOptions(i)))}}function xn(o,a){if(1&o&&(e.j41(0,"div",11,3),e.DNE(2,In,2,5,"ng-container",12),e.k0s()),2&o){const t=e.XpG(2);e.Y8G("ngClass",e.eq3(5,_n,t.d_loading))("ngStyle",t.contentStyle),e.BMQ("data-pc-section","content"),e.R7$(2),e.Y8G("ngForOf",t.loadedItems)("ngForTrackBy",t._trackBy||t.index)}}function Tn(o,a){if(1&o&&e.nrm(0,"div",13),2&o){const t=e.XpG(2);e.Y8G("ngStyle",t.spacerStyle),e.BMQ("data-pc-section","spacer")}}function kn(o,a){1&o&&e.eu8(0)}function Sn(o,a){if(1&o&&(e.qex(0),e.DNE(1,kn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.index,i=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(4,Ce,i.getLoaderOptions(t,i.both&&e.eq3(2,fn,i._numItemsInViewport.cols))))}}function Dn(o,a){if(1&o&&(e.qex(0),e.DNE(1,Sn,2,6,"ng-container",15),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.loaderArr)}}function En(o,a){1&o&&e.eu8(0)}function Rn(o,a){if(1&o&&(e.qex(0),e.DNE(1,En,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.loaderIconTemplate)("ngTemplateOutletContext",e.eq3(3,Ce,e.lJ4(2,bn)))}}function Mn(o,a){1&o&&e.nrm(0,"SpinnerIcon",16),2&o&&(e.Y8G("styleClass","p-scroller-loading-icon pi-spin"),e.BMQ("data-pc-section","loadingIcon"))}function Fn(o,a){if(1&o&&e.DNE(0,Rn,2,5,"ng-container",6)(1,Mn,1,2,"ng-template",null,5,e.C5r),2&o){const t=e.sdS(2),i=e.XpG(3);e.Y8G("ngIf",i.loaderIconTemplate)("ngIfElse",t)}}function Gn(o,a){if(1&o&&(e.j41(0,"div",14),e.DNE(1,Dn,2,1,"ng-container",6)(2,Fn,3,2,"ng-template",null,4,e.C5r),e.k0s()),2&o){const t=e.sdS(3),i=e.XpG(2);e.Y8G("ngClass",e.eq3(4,gn,!i.loaderTemplate)),e.BMQ("data-pc-section","loader"),e.R7$(),e.Y8G("ngIf",i.loaderTemplate)("ngIfElse",t)}}function Vn(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"div",7,1),e.bIt("scroll",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onContainerScroll(n))}),e.DNE(3,Cn,2,5,"ng-container",6)(4,xn,3,7,"ng-template",null,2,e.C5r)(6,Tn,1,2,"div",8)(7,Gn,4,6,"div",9),e.k0s(),e.bVm()}if(2&o){const t=e.sdS(5),i=e.XpG();e.R7$(),e.HbH(i._styleClass),e.Y8G("ngStyle",i._style)("ngClass",e.sMw(12,mn,i.inline,i.both,i.horizontal)),e.BMQ("id",i._id)("tabindex",i.tabindex)("data-pc-name","scroller")("data-pc-section","root"),e.R7$(2),e.Y8G("ngIf",i.contentTemplate)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i._showSpacer),e.R7$(),e.Y8G("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function Bn(o,a){1&o&&e.eu8(0)}function On(o,a){if(1&o&&(e.qex(0),e.DNE(1,Bn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(5,ie,t.items,e.l_i(2,vn,t._items,t.loadedColumns)))}}function Ln(o,a){if(1&o&&(e.SdG(0),e.DNE(1,On,2,8,"ng-container",17)),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.contentTemplate)}}let we=(()=>{class o{document;platformId;renderer;cd;zone;get id(){return this._id}set id(t){this._id=t}get style(){return this._style}set style(t){this._style=t}get styleClass(){return this._styleClass}set styleClass(t){this._styleClass=t}get tabindex(){return this._tabindex}set tabindex(t){this._tabindex=t}get items(){return this._items}set items(t){this._items=t}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t}get scrollHeight(){return this._scrollHeight}set scrollHeight(t){this._scrollHeight=t}get scrollWidth(){return this._scrollWidth}set scrollWidth(t){this._scrollWidth=t}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get step(){return this._step}set step(t){this._step=t}get delay(){return this._delay}set delay(t){this._delay=t}get resizeDelay(){return this._resizeDelay}set resizeDelay(t){this._resizeDelay=t}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=t}get inline(){return this._inline}set inline(t){this._inline=t}get lazy(){return this._lazy}set lazy(t){this._lazy=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(t){this._loaderDisabled=t}get columns(){return this._columns}set columns(t){this._columns=t}get showSpacer(){return this._showSpacer}set showSpacer(t){this._showSpacer=t}get showLoader(){return this._showLoader}set showLoader(t){this._showLoader=t}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(t){this._numToleratedItems=t}get loading(){return this._loading}set loading(t){this._loading=t}get autoSize(){return this._autoSize}set autoSize(t){this._autoSize=t}get trackBy(){return this._trackBy}set trackBy(t){this._trackBy=t}get options(){return this._options}set options(t){this._options=t,t&&"object"==typeof t&&Object.entries(t).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n))}onLazyLoad=new e.bkB;onScroll=new e.bkB;onScrollIndexChange=new e.bkB;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(t=>this._columns?t:t.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?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):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}constructor(t,i,n,s,l){this.document=t,this.platformId=i,this.renderer=n,this.cd=s,this.zone=l}ngOnInit(){this.setInitialState()}ngOnChanges(t){let i=!1;if(t.loading){const{previousValue:n,currentValue:s}=t.loading;this.lazy&&n!==s&&s!==this.d_loading&&(this.d_loading=s,i=!0)}if(t.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),t.numToleratedItems){const{previousValue:n,currentValue:s}=t.numToleratedItems;n!==s&&s!==this.d_numToleratedItems&&(this.d_numToleratedItems=s)}if(t.options){const{previousValue:n,currentValue:s}=t.options;this.lazy&&n?.loading!==s?.loading&&s?.loading!==this.d_loading&&(this.d_loading=s.loading,i=!0),n?.numToleratedItems!==s?.numToleratedItems&&s?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=s.numToleratedItems)}this.initialized&&!i&&(t.items?.previousValue?.length!==t.items?.currentValue?.length||t.itemSize||t.scrollHeight||t.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"content":this.contentTemplate=t.template;break;case"item":default:this.itemTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"loadericon":this.loaderIconTemplate=t.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,m.UE)(this.platformId)&&d.D.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=d.D.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=d.D.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(t){this.contentEl=t||this.contentViewChild?.nativeElement||d.D.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(t){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(t)}scrollToIndex(t,i="auto"){const{numToleratedItems:n}=this.calculateNumItems(),s=this.getContentPosition(),l=(u=0,_)=>u<=_?0:u,r=(u,_,b)=>u*_+b,c=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:i});let p=0;this.both?(p={rows:l(t[0],n[0]),cols:l(t[1],n[1])},c(r(p.cols,this._itemSize[1],s.left),r(p.rows,this._itemSize[0],s.top))):(p=l(t,n),this.horizontal?c(r(p,this._itemSize,s.left),0):c(0,r(p,this._itemSize,s.top))),this.isRangeChanged=this.first!==p,this.first=p}scrollInView(t,i,n="auto"){if(i){const{first:s,viewport:l}=this.getRenderedRange(),r=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:n}),p="to-end"===i;if("to-start"===i){if(this.both)l.first.rows-s.rows>t[0]?r(l.first.cols*this._itemSize[1],(l.first.rows-1)*this._itemSize[0]):l.first.cols-s.cols>t[1]&&r((l.first.cols-1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.first-s>t){const u=(l.first-1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else if(p)if(this.both)l.last.rows-s.rows<=t[0]+1?r(l.first.cols*this._itemSize[1],(l.first.rows+1)*this._itemSize[0]):l.last.cols-s.cols<=t[1]+1&&r((l.first.cols+1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.last-s<=t+1){const u=(l.first+1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else this.scrollToIndex(t,n)}getRenderedRange(){const t=(s,l)=>Math.floor(s/(l||s));let i=this.first,n=0;if(this.elementViewChild?.nativeElement){const{scrollTop:s,scrollLeft:l}=this.elementViewChild.nativeElement;this.both?(i={rows:t(s,this._itemSize[0]),cols:t(l,this._itemSize[1])},n={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=t(this.horizontal?l:s,this._itemSize),n=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:n}}}calculateNumItems(){const t=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-t.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-t.top:0)||0,s=(p,u)=>Math.ceil(p/(u||p)),l=p=>Math.ceil(p/2),r=this.both?{rows:s(n,this._itemSize[0]),cols:s(i,this._itemSize[1])}:s(this.horizontal?i:n,this._itemSize);return{numItemsInViewport:r,numToleratedItems:this.d_numToleratedItems||(this.both?[l(r.rows),l(r.cols)]:l(r))}}calculateOptions(){const{numItemsInViewport:t,numToleratedItems:i}=this.calculateNumItems(),n=(r,c,p,u=!1)=>this.getLast(r+c+(rArray.from({length:t.cols})):Array.from({length:t})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:s.cols}:0:s,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[t,i]=[d.D.getWidth(this.contentEl),d.D.getHeight(this.contentEl)];t!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[n,s]=[d.D.getWidth(this.elementViewChild.nativeElement),d.D.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=nthis.elementViewChild.nativeElement.style[l]=r;this.both||this.horizontal?(s("height",n),s("width",i)):s("height",n)}}setSpacerSize(){if(this._items){const t=this.getContentPosition(),i=(n,s,l,r=0)=>this.spacerStyle={...this.spacerStyle,[`${n}`]:(s||[]).length*l+r+"px"};this.both?(i("height",this._items,this._itemSize[0],t.y),i("width",this._columns||this._items[1],this._itemSize[1],t.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,t.x):i("height",this._items,this._itemSize,t.y)}}setContentPosition(t){if(this.contentEl&&!this._appendOnly){const i=t?t.first:this.first,n=(l,r)=>l*r,s=(l=0,r=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${l}px, ${r}px, 0)`};if(this.both)s(n(i.cols,this._itemSize[1]),n(i.rows,this._itemSize[0]));else{const l=n(i,this._itemSize);this.horizontal?s(l,0):s(0,l)}}}onScrollPositionChange(t){const i=t.target,n=this.getContentPosition(),s=(y,T)=>y?y>T?y-T:y:0,l=(y,T)=>Math.floor(y/(T||y)),r=(y,T,k,S,D,G)=>y<=D?D:G?k-S-D:T+D-1,c=(y,T,k,S,D,G,B)=>y<=G?0:Math.max(0,B?yT?k:y-2*G),p=(y,T,k,S,D,G=!1)=>{let B=T+S+2*D;return y>=D&&(B+=D+1),this.getLast(B,G)},u=s(i.scrollTop,n.top),_=s(i.scrollLeft,n.left);let b=this.both?{rows:0,cols:0}:0,f=this.last,w=!1,C=this.lastScrollPos;if(this.both){const y=this.lastScrollPos.top<=u,T=this.lastScrollPos.left<=_;if(!this._appendOnly||this._appendOnly&&(y||T)){const k={rows:l(u,this._itemSize[0]),cols:l(_,this._itemSize[1])},S={rows:r(k.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],y),cols:r(k.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],T)};b={rows:c(k.rows,S.rows,this.first.rows,0,0,this.d_numToleratedItems[0],y),cols:c(k.cols,S.cols,this.first.cols,0,0,this.d_numToleratedItems[1],T)},f={rows:p(k.rows,b.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:p(k.cols,b.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},w=b.rows!==this.first.rows||f.rows!==this.last.rows||b.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,C={top:u,left:_}}}else{const y=this.horizontal?_:u,T=this.lastScrollPos<=y;if(!this._appendOnly||this._appendOnly&&T){const k=l(y,this._itemSize);b=c(k,r(k,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,T),this.first,0,0,this.d_numToleratedItems,T),f=p(k,b,0,this.numItemsInViewport,this.d_numToleratedItems),w=b!==this.first||f!==this.last||this.isRangeChanged,C=y}}return{first:b,last:f,isRangeChanged:w,scrollPos:C}}onScrollChange(t){const{first:i,last:n,isRangeChanged:s,scrollPos:l}=this.onScrollPositionChange(t);if(s){const r={first:i,last:n};if(this.setContentPosition(r),this.first=i,this.last=n,this.lastScrollPos=l,this.handleEvents("onScrollIndexChange",r),this._lazy&&this.isPageChanged){const c={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:n,this.items.length)};(this.lazyLoadState.first!==c.first||this.lazyLoadState.last!==c.last)&&this.handleEvents("onLazyLoad",c),this.lazyLoadState=c}}}onContainerScroll(t){if(this.handleEvents("onScroll",{originalEvent:t}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(t);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(t)}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const t=this.document.defaultView,i=d.D.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(t,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(d.D.isVisible(this.elementViewChild?.nativeElement)){const[t,i]=[d.D.getWidth(this.elementViewChild?.nativeElement),d.D.getHeight(this.elementViewChild?.nativeElement)],[n,s]=[t!==this.defaultWidth,i!==this.defaultHeight];(this.both?n||s:this.horizontal?n:this.vertical&&s)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=t,this.defaultHeight=i,this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(t,i){return this.options&&this.options[t]?this.options[t](i):this[t].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:t=>this.getOptions(t),loading:this.d_loading,getLoaderOptions:(t,i)=>this.getLoaderOptions(t,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(t){const i=(this._items||[]).length,n=this.both?this.first.rows+t:this.first+t;return{index:n,count:i,first:0===n,last:n===i-1,even:n%2==0,odd:n%2!=0}}getLoaderOptions(t,i){const n=this.loaderArr.length;return{index:t,count:n,first:0===t,last:t===n-1,even:t%2==0,odd:t%2!=0,...i}}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-scroller"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(pn,5),e.GBs(un,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.elementViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[e.OA$],ngContentSelectors:hn,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(i,n){if(1&i&&(e.NAR(),e.DNE(0,Vn,8,16,"ng-container",6)(1,Ln,2,1,"ng-template",null,0,e.C5r)),2&i){const s=e.sdS(2);e.Y8G("ngIf",!n._disabled)("ngIfElse",s)}},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,X.N],styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return o})(),K=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,X.N,g.Gg]})}return o})();var j=I(8542);let Ie=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const z=o=>({height:o}),Nn=(o,a,t)=>({"p-dropdown-item":!0,"p-highlight":o,"p-disabled":a,"p-focus":t}),ne=o=>({$implicit:o});function jn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){let t;const i=e.XpG();e.R7$(),e.JRh(null!==(t=i.label)&&void 0!==t?t:"empty")}}function Pn(o,a){1&o&&e.eu8(0)}const zn=["container"],Hn=["filter"],Yn=["focusInput"],$n=["editableInput"],An=["items"],Xn=["scroller"],Kn=["overlay"],Un=["firstHiddenFocusableEl"],Qn=["lastHiddenFocusableEl"],xe=o=>({options:o}),Te=(o,a)=>({$implicit:o,options:a}),qn=()=>({});function Wn(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.label())}}function Zn(o,a){1&o&&e.eu8(0)}function Jn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.placeholder)}}function eo(o,a){if(1&o&&e.DNE(0,Jn,2,1,"span",17),2&o){const t=e.XpG(2);e.Y8G("ngIf",!t.modelValue()&&(t.label()===t.placeholder||t.label()&&!t.placeholder))}}function to(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",22,2),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))}),e.DNE(2,Wn,2,1,"ng-container",23)(3,Zn,1,0,"ng-container",24)(4,eo,1,1,"ng-template",null,3,e.C5r),e.k0s()}if(2&o){const t=e.sdS(5),i=e.XpG();e.Y8G("ngClass",i.inputClass)("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("autofocus",i.autofocus),e.BMQ("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel||("p-emptylabel"===i.label()?void 0:i.label()))("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible)("aria-controls",i.id+"_list")("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),e.R7$(2),e.Y8G("ngIf",!i.selectedItemTemplate)("ngIfElse",t),e.R7$(),e.Y8G("ngTemplateOutlet",i.selectedItemTemplate)("ngTemplateOutletContext",e.eq3(19,ne,i.selectedOption))}}function io(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",25,4),e.bIt("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onEditableInput(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))})("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))}),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",t.inputClass)("disabled",t.disabled),e.BMQ("maxlength",t.maxlength)("placeholder",t.placeholder)("aria-expanded",t.overlayVisible)}}function no(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.k0s()}2&o&&(e.Y8G("styleClass","p-dropdown-clear-icon"),e.BMQ("data-pc-section","clearicon"))}function oo(o,a){}function so(o,a){1&o&&e.DNE(0,oo,0,0,"ng-template")}function ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",29),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.DNE(1,so,1,0,null,30),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearicon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function lo(o,a){if(1&o&&(e.qex(0),e.DNE(1,no,1,2,"TimesIcon",26)(2,ao,2,2,"span",27),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ro(o,a){if(1&o&&e.nrm(0,"span",33),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.dropdownIcon)}}function co(o,a){1&o&&e.nrm(0,"ChevronDownIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-trigger-icon")}function po(o,a){if(1&o&&(e.qex(0),e.DNE(1,ro,1,1,"span",31)(2,co,1,1,"ChevronDownIcon",32),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.dropdownIcon),e.R7$(),e.Y8G("ngIf",!t.dropdownIcon)}}function uo(o,a){}function ho(o,a){1&o&&e.DNE(0,uo,0,0,"ng-template")}function mo(o,a){if(1&o&&(e.j41(0,"span",35),e.DNE(1,ho,1,0,null,30),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dropdownIconTemplate)}}function _o(o,a){1&o&&e.eu8(0)}function go(o,a){1&o&&e.eu8(0)}function fo(o,a){if(1&o&&(e.qex(0),e.DNE(1,go,1,0,"ng-container",24),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterTemplate)("ngTemplateOutletContext",e.eq3(2,xe,t.filterOptions))}}function bo(o,a){1&o&&e.nrm(0,"SearchIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-filter-icon")}function vo(o,a){}function yo(o,a){1&o&&e.DNE(0,vo,0,0,"ng-template")}function Co(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,yo,1,0,null,30),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterIconTemplate)}}function wo(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",42)(1,"input",43,9),e.bIt("input",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterInputChange(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterKeyDown(n))})("blur",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterBlur(n))}),e.k0s(),e.DNE(3,bo,1,1,"SearchIcon",32)(4,Co,2,1,"span",44),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("value",t._filterValue()||""),e.BMQ("placeholder",t.filterPlaceholder)("aria-owns",t.id+"_list")("aria-label",t.ariaFilterLabel)("aria-activedescendant",t.focusedOptionId),e.R7$(2),e.Y8G("ngIf",!t.filterIconTemplate),e.R7$(),e.Y8G("ngIf",t.filterIconTemplate)}}function Io(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",41),e.bIt("click",function(n){return e.eBV(t),e.Njj(n.stopPropagation())}),e.DNE(1,fo,2,4,"ng-container",23)(2,wo,5,7,"ng-template",null,8,e.C5r),e.k0s()}if(2&o){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.filterTemplate)("ngIfElse",t)}}function xo(o,a){1&o&&e.eu8(0)}function To(o,a){if(1&o&&e.DNE(0,xo,1,0,"ng-container",24),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(9);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,Te,t,i))}}function ko(o,a){1&o&&e.eu8(0)}function So(o,a){if(1&o&&e.DNE(0,ko,1,0,"ng-container",24),2&o){const t=a.options,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(2,xe,t))}}function Do(o,a){1&o&&(e.qex(0),e.DNE(1,So,1,4,"ng-template",47),e.bVm())}function Eo(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",46,10),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onLazyLoad.emit(n))}),e.DNE(2,To,1,5,"ng-template",21)(3,Do,2,0,"ng-container",17),e.k0s()}if(2&o){const t=e.XpG(2);e.Aen(e.eq3(8,z,t.scrollHeight)),e.Y8G("items",t.visibleOptions())("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("lazy",t.lazy)("options",t.virtualScrollOptions),e.R7$(3),e.Y8G("ngIf",t.loaderTemplate)}}function Ro(o,a){1&o&&e.eu8(0)}function Mo(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ro,1,0,"ng-container",24),e.bVm()),2&o){e.XpG();const t=e.sdS(9),i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(3,Te,i.visibleOptions(),e.lJ4(2,qn)))}}function Fo(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.JRh(i.getOptionGroupLabel(t.optionGroup))}}function Go(o,a){1&o&&e.eu8(0)}function Vo(o,a){if(1&o&&(e.qex(0),e.j41(1,"li",51),e.DNE(2,Fo,2,1,"span",17)(3,Go,1,0,"ng-container",24),e.k0s(),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("ngStyle",e.eq3(5,z,s.itemSize+"px")),e.BMQ("id",l.id+"_"+l.getOptionIndex(n,s)),e.R7$(),e.Y8G("ngIf",!l.groupTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",e.eq3(7,ne,i.optionGroup))}}function Bo(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"p-dropdownItem",52),e.bIt("onClick",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.onOptionSelect(n,s))})("onMouseEnter",function(n){e.eBV(t);const s=e.XpG().index,l=e.XpG().options,r=e.XpG(2);return e.Njj(r.onOptionMouseEnter(n,r.getOptionIndex(s,l)))}),e.k0s(),e.bVm()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("id",l.id+"_"+l.getOptionIndex(n,s))("option",i)("selected",l.isSelected(i))("label",l.getOptionLabel(i))("disabled",l.isOptionDisabled(i))("template",l.itemTemplate)("focused",l.focusedOptionIndex()===l.getOptionIndex(n,s))("ariaPosInset",l.getAriaPosInset(l.getOptionIndex(n,s)))("ariaSetSize",l.ariaSetSize)}}function Oo(o,a){if(1&o&&e.DNE(0,Vo,4,9,"ng-container",17)(1,Bo,2,9,"ng-container",17),2&o){const t=a.$implicit;e.Y8G("ngIf",t.group),e.R7$(),e.Y8G("ngIf",!t.group)}}function Lo(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyFilterMessageLabel," ")}}function No(o,a){1&o&&e.eu8(0,null,12)}function jo(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,Lo,2,1,"ng-container",23)(2,No,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function Po(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyMessageLabel," ")}}function zo(o,a){1&o&&e.eu8(0,null,13)}function Ho(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,Po,2,1,"ng-container",23)(2,zo,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyTemplate)}}function Yo(o,a){if(1&o&&(e.j41(0,"ul",48,11),e.DNE(2,Oo,2,2,"ng-template",49)(3,jo,3,6,"li",50)(4,Ho,3,6,"li",50),e.k0s()),2&o){const t=a.$implicit,i=a.options,n=e.XpG(2);e.Aen(i.contentStyle),e.Y8G("ngClass",i.contentStyleClass),e.BMQ("id",n.id+"_list"),e.R7$(2),e.Y8G("ngForOf",t),e.R7$(),e.Y8G("ngIf",n.filterValue&&n.isEmpty()),e.R7$(),e.Y8G("ngIf",!n.filterValue&&n.isEmpty())}}function $o(o,a){1&o&&e.eu8(0)}function Ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",36)(1,"span",37,5),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onFirstHiddenFocus(n))}),e.k0s(),e.DNE(3,_o,1,0,"ng-container",30)(4,Io,4,2,"div",38),e.j41(5,"div",39),e.DNE(6,Eo,4,10,"p-scroller",40)(7,Mo,2,6,"ng-container",17)(8,Yo,5,7,"ng-template",null,6,e.C5r),e.k0s(),e.DNE(10,$o,1,0,"ng-container",30),e.j41(11,"span",37,7),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLastHiddenFocus(n))}),e.k0s()()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngClass","p-dropdown-panel p-component")("ngStyle",t.panelStyle),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),e.R7$(2),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.filter),e.R7$(),e.xc7("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),e.R7$(),e.Y8G("ngIf",t.virtualScroll),e.R7$(),e.Y8G("ngIf",!t.virtualScroll),e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Xo={provide:R.kq,useExisting:(0,e.Rfq)(()=>ke),multi:!0};let Ko=(()=>{class o{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;onClick=new e.bkB;onMouseEnter=new e.bkB;ngOnInit(){}onOptionClick(t){this.onClick.emit(t)}onOptionMouseEnter(t){this.onMouseEnter.emit(t)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",focused:"focused",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:3,vars:21,consts:[["role","option","pRipple","",3,"click","mouseenter","id","ngStyle","ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"li",0),e.bIt("click",function(l){return n.onOptionClick(l)})("mouseenter",function(l){return n.onOptionMouseEnter(l)}),e.DNE(1,jn,2,1,"span",1)(2,Pn,1,0,"ng-container",2),e.k0s()),2&i&&(e.Y8G("id",n.id)("ngStyle",e.eq3(13,z,n.itemSize+"px"))("ngClass",e.sMw(15,Nn,n.selected,n.disabled,n.focused)),e.BMQ("aria-label",n.label)("aria-setsize",n.ariaSetSize)("aria-posinset",n.ariaPosInset)("aria-selected",n.selected)("data-p-focused",n.focused)("data-p-highlight",n.selected)("data-p-disabled",n.disabled),e.R7$(),e.Y8G("ngIf",!n.template),e.R7$(),e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.eq3(19,ne,n.option)))},dependencies:[m.YU,m.bT,m.T3,m.B3,E.n],encapsulation:2})}return o})(),ke=(()=>{class o{el;renderer;cd;zone;filterService;config;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;placeholder;filterPlaceholder;filterLocale;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!1;selectOnFocus=!1;autoOptionFocus=!0;autofocusFilter=!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()}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(t){this._showTransitionOptions=t,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(t){this._hideTransitionOptions=t,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(t){this._filterValue.set(t)}get options(){return this._options()}set options(t){this._options.set(t)}onChange=new e.bkB;onFilter=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onClick=new e.bkB;onShow=new e.bkB;onHide=new e.bkB;onClear=new e.bkB;onLazyLoad=new e.bkB;containerViewChild;filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;templates;_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;clearIconTemplate;filterIconTemplate;filterOptions;_options=(0,e.vPA)(null);modelValue=(0,e.vPA)(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=(0,e.vPA)(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=(0,e.vPA)(-1);labelId;listId;get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(g.Yj.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(g.Yj.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.modelValue()?!!this.modelValue():this.modelValue()||null!=this.modelValue()||null!=this.modelValue()}get isVisibleClearIcon(){return null!=this.modelValue()&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get containerClass(){return{"p-dropdown p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-dropdown-clearable":this.showClear&&!this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue(),"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){const t=this.label();return{"p-dropdown-label p-inputtext":!0,"p-placeholder":this.placeholder&&t===this.placeholder,"p-dropdown-label-empty":!(this.editable||this.selectedItemTemplate||t&&"p-emptylabel"!==t&&0!==t.length)}}get panelClass(){return{"p-dropdown-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}visibleOptions=(0,e.EWP)(()=>{const t=this.group?this.flatOptions(this.options):this.options||[];if(this._filterValue()){const i=this.filterBy||this.filterFields||this.optionValue?this.filterService.filter(t,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale):this.options.filter(n=>-1!==n.toLowerCase().indexOf(this._filterValue().toLowerCase()));if(this.group){const s=[];return(this.options||[]).forEach(l=>{const c=this.getOptionGroupChildren(l).filter(p=>i.includes(p));c.length>0&&s.push({...l,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...c]})}),this.flatOptions(s)}return i}return t});label=(0,e.EWP)(()=>{const t=this.findSelectedOptionIndex();return-1!==t?this.getOptionLabel(this.visibleOptions()[t]):this.placeholder||"p-emptylabel"});selectedOption;constructor(t,i,n,s,l,r){this.el=t,this.renderer=i,this.cd=n,this.zone=s,this.filterService=l,this.config=r,(0,e.QZP)(()=>{const c=this.modelValue(),p=this.visibleOptions();c&&this.editable&&this.updateEditableLabel(),p&&h.BF.isNotEmpty(p)&&(this.selectedOption=p[this.findSelectedOptionIndex()],this.cd.markForCheck())})}ngOnInit(){this.id=this.id||(0,h._Y)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:t=>this.onFilterInputChange(t),reset:()=>this.resetFilter()})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let t=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-highlight");t&&d.D.scrollInView(this.itemsWrapper,t),this.selectedOptionUpdated=!1}}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"selectedItem":this.selectedItemTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"filter":this.filterTemplate=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;case"loader":this.loaderTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"filtericon":this.filterIconTemplate=t.template}})}flatOptions(t){return(t||[]).reduce((i,n,s)=>{i.push({optionGroup:n,group:!0,index:s});const l=this.getOptionGroupChildren(n);return l&&l.forEach(r=>i.push(r)),i},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&!this.modelValue()){const t=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[t],!1,!0)}}onOptionSelect(t,i,n=!0,s=!1){const l=this.getOptionValue(i);this.updateModel(l,t),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),n&&this.hide(!0),!1===s&&this.onChange.emit({originalEvent:t,value:l})}onOptionMouseEnter(t,i){this.focusOnHover&&this.changeFocusedOptionIndex(t,i)}updateModel(t,i){this.value=t,this.onModelChange(t),this.modelValue.set(t),this.selectedOptionUpdated=!0}writeValue(t){this.filter&&this.resetFilter(),this.value=t,this.allowModelChange()&&this.onModelChange(t),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return this.autoDisplayFirst&&!this.placeholder&&!this.modelValue()&&!this.editable&&this.options&&this.options.length}isSelected(t){return this.isValidOption(t)&&h.BF.equals(this.modelValue(),this.getOptionValue(t),this.equalityKey())}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=void 0===this.getOptionLabel(this.modelValue())?this.editableInputViewChild.nativeElement.value:this.getOptionLabel(this.modelValue()))}getOptionIndex(t,i){return this.virtualScrollerDisabled?t:i&&i.getItemOptions(t).index}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):t&&void 0!==t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):!this.optionLabel&&t&&void 0!==t.value?t.value:t}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled}getOptionGroupLabel(t){return this.optionGroupLabel?h.BF.resolveFieldData(t,this.optionGroupLabel):t&&void 0!==t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?h.BF.resolveFieldData(t,this.optionGroupChildren):t.items}getAriaPosInset(t){return(this.optionGroupLabel?t-this.visibleOptions().slice(0,t).filter(i=>this.isOptionGroup(i)).length:t)+1}get ariaSetSize(){return this.visibleOptions().filter(t=>!this.isOptionGroup(t)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onContainerClick(t){this.disabled||this.readonly||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),"INPUT"!==t.target.tagName&&"clearicon"!==t.target.getAttribute("data-pc-section")&&!t.target.closest('[data-pc-section="clearicon"]')&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(t),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}onEditableInput(t){const i=t.target.value;this.searchValue="",!this.searchOptions(t,i)&&this.focusedOptionIndex.set(-1),this.onModelChange(i),this.updateModel(i,t),this.onChange.emit({originalEvent:t,value:i})}show(t){this.overlayVisible=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(t){if("visible"===t.toState){if(this.itemsWrapper=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.modelValue()?this.focusedOptionIndex():-1;-1!==i&&this.scroller?.scrollToIndex(i)}else{let i=d.D.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(t)}"void"===t.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(t))}hide(t){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onInputFocus(t){if(this.disabled)return;this.focused=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(t)}onInputBlur(t){this.focused=!1,!1===this.overlayVisible&&this.onBlur.emit(t),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(t,i){if(!this.disabled&&!this.readonly)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Delete":this.onDeleteKey(t);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,i);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!t.metaKey&&h.BF.isPrintableCharacter(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key))}}onFilterKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0)}}onFilterBlur(t){this.focusedOptionIndex.set(-1)}onArrowDownKey(t){const i=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,i),!this.overlayVisible&&this.show(),t.preventDefault()}changeFocusedOptionIndex(t,i){if(this.focusedOptionIndex()!==i&&(this.focusedOptionIndex.set(i),this.scrollInView(),this.selectOnFocus)){const n=this.visibleOptions()[i];this.onOptionSelect(t,n,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(t=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const n=d.D.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedOptionId}"]`);n?n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==t?t:this.focusedOptionIndex())},0)}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}hasSelectedOption(){return void 0!==this.modelValue()}isValidSelectedOption(t){return this.isValidOption(t)&&this.isSelected(t)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t}findFirstOptionIndex(){return this.visibleOptions().findIndex(t=>this.isValidOption(t))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}findNextOptionIndex(t){const i=tthis.isValidOption(n)):-1;return i>-1?i+t+1:t}findPrevOptionIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleOptions().slice(0,t),n=>this.isValidOption(n)):-1;return i>-1?i:t}findLastOptionIndex(){return h.BF.findLastIndex(this.visibleOptions(),t=>this.isValidOption(t))}findLastFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t}isValidOption(t){return t&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))}isOptionGroup(t){return this.optionGroupLabel&&t.optionGroup&&t.group}onArrowUpKey(t,i=!1){if(t.altKey&&!i){if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(),t.preventDefault()}else{const n=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()}}onArrowLeftKey(t,i=!1){i&&this.focusedOptionIndex.set(-1)}onDeleteKey(t){this.showClear&&(this.clear(t),t.preventDefault())}onHomeKey(t,i=!1){i?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex.set(-1)):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()}onEndKey(t,i=!1){if(i){const n=t.currentTarget,s=n.value.length;n.setSelectionRange(s,s),this.focusedOptionIndex.set(-1)}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()}onPageDownKey(t){this.scrollInView(this.visibleOptions().length-1),t.preventDefault()}onPageUpKey(t){this.scrollInView(0),t.preventDefault()}onSpaceKey(t,i=!1){!this.editable&&!i&&this.onEnterKey(t)}onEnterKey(t){if(this.overlayVisible){if(-1!==this.focusedOptionIndex()){const i=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,i)}this.hide()}else this.onArrowDownKey(t);t.preventDefault()}onEscapeKey(t){this.overlayVisible&&this.hide(!0),t.preventDefault()}onTabKey(t,i=!1){if(!i)if(this.overlayVisible&&this.hasFocusableElements())d.D.focus(t.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),t.preventDefault();else{if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(this.filter)}}onFirstHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getFirstFocusableElement(this.overlayViewChild.el.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild.nativeElement;d.D.focus(i)}onLastHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;d.D.focus(i)}hasFocusableElements(){return d.D.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(t,i=!1){i&&!this.overlayVisible&&this.show()}searchFields(){return this.filterFields||[this.optionLabel]}searchOptions(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedOptionIndex()?(n=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)),n=-1===n?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)):n+this.focusedOptionIndex()):n=this.visibleOptions().findIndex(l=>this.isOptionMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedOptionIndex()&&(n=this.findFirstFocusedOptionIndex()),-1!==n&&this.changeFocusedOptionIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}isOptionMatched(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(t){let i=t.target.value?.trim();this._filterValue.set(i),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:t,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),this.cd.markForCheck()}applyFocus(){this.editable?d.D.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():d.D.focus(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(t){this.updateModel(null,t),this.updateEditableLabel(),this.onChange.emit({originalEvent:t,value:this.value}),this.onClear.emit(t)}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.E),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdown"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(zn,5),e.GBs(Hn,5),e.GBs(Yn,5),e.GBs($n,5),e.GBs(An,5),e.GBs(Xn,5),e.GBs(Kn,5),e.GBs(Un,5),e.GBs(Qn,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.filterViewChild=s.first),e.mGM(s=e.lsd())&&(n.focusInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.editableInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.itemsViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first),e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.firstHiddenFocusableElementOnOverlay=s.first),e.mGM(s=e.lsd())&&(n.lastHiddenFocusableElementOnOverlay=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused||n.overlayVisible)},inputs:{id:"id",scrollHeight:"scrollHeight",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",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:"focusOnHover",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus",autofocusFilter:"autofocusFilter",disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[e.Jv_([Xo])],decls:11,vars:20,consts:[["container",""],["overlay",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["items",""],["emptyFilter",""],["empty",""],[3,"click","ngClass","ngStyle"],["role","combobox","pAutoFocus","",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-dropdown-trigger"],["class","p-dropdown-trigger-icon",4,"ngIf"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["pTemplate","content"],["role","combobox","pAutoFocus","",3,"focus","blur","keydown","ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"input","keydown","focus","blur","ngClass","disabled"],[3,"styleClass","click",4,"ngIf"],["class","p-dropdown-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-dropdown-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-dropdown-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-dropdown-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-dropdown-header",3,"click",4,"ngIf"],[1,"p-dropdown-items-wrapper"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],[1,"p-dropdown-header",3,"click"],[1,"p-dropdown-filter-container"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"input","keydown","blur","value"],["class","p-dropdown-filter-icon",4,"ngIf"],[1,"p-dropdown-filter-icon"],[3,"onLazyLoad","items","itemSize","autoSize","lazy","options"],["pTemplate","loader"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","p-dropdown-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-dropdown-item-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize"],[1,"p-dropdown-empty-message",3,"ngStyle"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",14,0),e.bIt("click",function(r){return e.eBV(s),e.Njj(n.onContainerClick(r))}),e.DNE(2,to,6,21,"span",15)(3,io,2,5,"input",16)(4,lo,3,2,"ng-container",17),e.j41(5,"div",18),e.DNE(6,po,3,2,"ng-container",17)(7,mo,2,1,"span",19),e.k0s(),e.j41(8,"p-overlay",20,1),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.overlayVisible,r)||(n.overlayVisible=r),e.Njj(r)}),e.bIt("onAnimationStart",function(r){return e.eBV(s),e.Njj(n.onOverlayAnimationStart(r))})("onHide",function(){return e.eBV(s),e.Njj(n.hide())}),e.DNE(10,Ao,13,19,"ng-template",21),e.k0s()()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass)("ngStyle",n.style),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",!n.editable),e.R7$(),e.Y8G("ngIf",n.editable),e.R7$(),e.Y8G("ngIf",n.isVisibleClearIcon),e.R7$(),e.BMQ("aria-expanded",n.overlayVisible)("data-pc-section","trigger"),e.R7$(),e.Y8G("ngIf",!n.dropdownIconTemplate),e.R7$(),e.Y8G("ngIf",n.dropdownIconTemplate),e.R7$(),e.R50("visible",n.overlayVisible),e.Y8G("options",n.overlayOptions)("target","@parent")("appendTo",n.appendTo)("autoZIndex",n.autoZIndex)("baseZIndex",n.baseZIndex)("showTransitionOptions",n.showTransitionOptions)("hideTransitionOptions",n.hideTransitionOptions))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,ve,g.Ei,j.m,we,Ui,F.A,A,Ie,Ko],styles:["@layer primeng{.p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;opacity:0}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-item-group{cursor:auto}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}}\n"],encapsulation:2,changeDetection:0})}return o})(),oe=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,ye,g.Gg,j.S,E.Z,K,Qi,F.A,A,Ie,ye,g.Gg,K]})}return o})(),U=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Se=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var H=I(2242);const Uo=["input"],Qo=(o,a,t)=>({"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":o,"p-inputnumber-buttons-horizontal":a,"p-inputnumber-buttons-vertical":t}),De=()=>({"p-inputnumber-button p-inputnumber-button-up":!0}),Ee=()=>({"p-inputnumber-button p-inputnumber-button-down":!0});function qo(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",8),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.k0s()}2&o&&(e.Y8G("ngClass","p-inputnumber-clear-icon"),e.BMQ("data-pc-section","clearIcon"))}function Wo(o,a){}function Zo(o,a){1&o&&e.DNE(0,Wo,0,0,"ng-template")}function Jo(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",9),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.DNE(1,Zo,1,0,null,10),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function es(o,a){if(1&o&&(e.qex(0),e.DNE(1,qo,1,2,"TimesIcon",6)(2,Jo,2,2,"span",7),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ts(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function is(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ns(o,a){}function os(o,a){1&o&&e.DNE(0,ns,0,0,"ng-template")}function ss(o,a){if(1&o&&(e.qex(0),e.DNE(1,is,1,1,"AngleUpIcon",3)(2,os,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function as(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function ls(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function rs(o,a){}function cs(o,a){1&o&&e.DNE(0,rs,0,0,"ng-template")}function ds(o,a){if(1&o&&(e.qex(0),e.DNE(1,ls,1,1,"AngleDownIcon",3)(2,cs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function ps(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",11)(1,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(2,ts,1,2,"span",13)(3,ss,3,2,"ng-container",3),e.k0s(),e.j41(4,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(5,as,1,2,"span",13)(6,ds,3,2,"ng-container",3),e.k0s()()}if(2&o){const t=e.XpG();e.BMQ("data-pc-section","buttonGroup"),e.R7$(),e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(17,De))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon),e.R7$(),e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(18,Ee))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section",t.decrementbutton),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}function us(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function hs(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ms(o,a){}function _s(o,a){1&o&&e.DNE(0,ms,0,0,"ng-template")}function gs(o,a){if(1&o&&(e.qex(0),e.DNE(1,hs,1,1,"AngleUpIcon",3)(2,_s,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function fs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(1,us,1,2,"span",13)(2,gs,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(8,De))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon)}}function bs(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function vs(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function ys(o,a){}function Cs(o,a){1&o&&e.DNE(0,ys,0,0,"ng-template")}function ws(o,a){if(1&o&&(e.qex(0),e.DNE(1,vs,1,1,"AngleDownIcon",3)(2,Cs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function Is(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(1,bs,1,2,"span",13)(2,ws,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(8,Ee))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","decrementbutton"),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}const xs={provide:R.kq,useExisting:(0,e.Rfq)(()=>Re),multi:!0};let Re=(()=>{class o{document;el;cd;injector;showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;style;placeholder;size;maxlength;tabindex;title;ariaLabelledBy;ariaLabel;ariaRequired;name;required;autocomplete;min;max;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly=!1;step=1;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1),this._disabled=t,this.timer&&this.clearTimer()}onInput=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onKeyDown=new e.bkB;onClear=new e.bkB;input;templates;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;value;onModelChange=()=>{};onModelTouched=()=>{};focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_group;_minusSign;_currency;_prefix;_suffix;_index;_disabled;ngControl=null;constructor(t,i,n,s){this.document=t,this.el=i,this.cd=n,this.injector=s}ngOnChanges(t){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(n=>!!t[n])&&this.updateConstructParser()}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"clearicon":this.clearIconTemplate=t.template;break;case"incrementbuttonicon":this.incrementButtonIconTemplate=t.template;break;case"decrementbuttonicon":this.decrementButtonIconTemplate=t.template}})}ngOnInit(){this.ngControl=this.injector.get(R.vO,null,{optional:!0}),this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const t=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(t.map((n,s)=>[n,s]));this._numeral=new RegExp(`[${t.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=n=>i.get(n)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const t=new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1});return new RegExp(`[${t.format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=t.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${t.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const t=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${t.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=t.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=t.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(t){if(null!=t){if("-"===t)return t;if(this.format){let n=new Intl.NumberFormat(this.locale,this.getOptions()).format(t);return this.prefix&&(n=this.prefix+n),this.suffix&&(n+=this.suffix),n}return t.toString()}return""}parseValue(t){let i=t.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(i){if("-"===i)return i;let n=+i;return isNaN(n)?null:n}return null}repeat(t,i,n){if(this.readonly)return;let s=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(t,40,n)},s),this.spin(t,n)}spin(t,i){let n=this.step*i,s=this.parseValue(this.input?.nativeElement.value)||0,l=this.validateValue(s+n);this.maxlength&&this.maxlength0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i-1)+s.slice(i)}else"currency"===this.mode&&-1!=r.search(this._currency)&&(l=s.slice(1));this.updateValue(t,l,null,"delete-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Delete":if(t.preventDefault(),i===n){const r=s.charAt(i),{decimalCharIndex:c,decimalCharIndexWithoutPrefix:p}=this.getDecimalCharIndexes(s);if(this.isNumeralChar(r)){const u=this.getDecimalLength(s);if(this._group.test(r))this._group.lastIndex=0,l=s.slice(0,i)+s.slice(i+2);else if(this._decimal.test(r))this._decimal.lastIndex=0,u?this.input?.nativeElement.setSelectionRange(i+1,i+1):l=s.slice(0,i)+s.slice(i+1);else if(c>0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i)+s.slice(i+1)}this.updateValue(t,l,null,"delete-back-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Home":this.min&&(this.updateModel(t,this.min),t.preventDefault());break;case"End":this.max&&(this.updateModel(t,this.max),t.preventDefault())}this.onKeyDown.emit(t)}onInputKeyPress(t){if(this.readonly)return;let i=t.which||t.keyCode,n=String.fromCharCode(i);const s=this.isDecimalSign(n),l=this.isMinusSign(n);13!=i&&t.preventDefault();const r=this.parseValue(this.input.nativeElement.value+n),c=null!=r?r.toString():"";this.maxlength&&c.length>this.maxlength||(48<=i&&i<=57||l||s)&&this.insert(t,n,{isDecimalSign:s,isMinusSign:l})}onPaste(t){if(!this.disabled&&!this.readonly){t.preventDefault();let i=(t.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(i){this.maxlength&&(i=i.toString().substring(0,this.maxlength));let n=this.parseValue(i);null!=n&&this.insert(t,n.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(t){return!(!this._minusSign.test(t)&&"-"!==t||(this._minusSign.lastIndex=0,0))}isDecimalSign(t){return!!this._decimal.test(t)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(t){let i=t.search(this._decimal);this._decimal.lastIndex=0;const s=t.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:s}}getCharIndexes(t){const i=t.search(this._decimal);this._decimal.lastIndex=0;const n=t.search(this._minusSign);this._minusSign.lastIndex=0;const s=t.search(this._suffix);this._suffix.lastIndex=0;const l=t.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:n,suffixCharIndex:s,currencyCharIndex:l}}insert(t,i,n={isDecimalSign:!1,isMinusSign:!1}){const s=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==s)return;let l=this.input?.nativeElement.selectionStart,r=this.input?.nativeElement.selectionEnd,c=this.input?.nativeElement.value.trim();const{decimalCharIndex:p,minusCharIndex:u,suffixCharIndex:_,currencyCharIndex:b}=this.getCharIndexes(c);let f;if(n.isMinusSign)0===l&&(f=c,(-1===u||0!==r)&&(f=this.insertText(c,i,0,r)),this.updateValue(t,f,i,"insert"));else if(n.isDecimalSign)p>0&&l===p?this.updateValue(t,c,i,"insert"):(p>l&&p0&&l>p){if(l+i.length-(p+1)<=w){const y=b>=l?b-1:_>=l?_:c.length;f=c.slice(0,l)+i+c.slice(l+i.length,y)+c.slice(y),this.updateValue(t,f,i,C)}}else f=this.insertText(c,i,l,r),this.updateValue(t,f,i,C)}}insertText(t,i,n,s){if(2===("."===i?i:i.split(".")).length){const r=t.slice(n,s).search(this._decimal);return this._decimal.lastIndex=0,r>0?t.slice(0,n)+this.formatValue(i)+t.slice(s):t||this.formatValue(i)}return s-n===t.length?this.formatValue(i):0===n?i+t.slice(s):s===t.length?t.slice(0,n)+i:t.slice(0,n)+i+t.slice(s)}deleteRange(t,i,n){let s;return s=n-i===t.length?"":0===i?t.slice(n):n===t.length?t.slice(0,i):t.slice(0,i)+t.slice(n),s}initCursor(){let t=this.input?.nativeElement.selectionStart,i=this.input?.nativeElement.value,n=i.length,s=null,l=(this.prefixChar||"").length;i=i.replace(this._prefix,""),t-=l;let r=i.charAt(t);if(this.isNumeralChar(r))return t+l;let c=t-1;for(;c>=0;){if(r=i.charAt(c),this.isNumeralChar(r)){s=c+l;break}c--}if(null!==s)this.input?.nativeElement.setSelectionRange(s+1,s+1);else{for(c=t;cthis.max?this.max:t}updateInput(t,i,n,s){i=i||"";let l=this.input?.nativeElement.value,r=this.formatValue(t),c=l.length;if(r!==s&&(r=this.concatValues(r,s)),0===c){this.input.nativeElement.value=r,this.input.nativeElement.setSelectionRange(0,0);const u=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(u,u)}else{let p=this.input.nativeElement.selectionStart,u=this.input.nativeElement.selectionEnd;if(this.maxlength&&r.length>this.maxlength&&(r=r.slice(0,this.maxlength),p=Math.min(p,this.maxlength),u=Math.min(u,this.maxlength)),this.maxlength&&this.maxlength0}clearTimer(){this.timer&&clearInterval(this.timer)}getFormatter(){return this.numberFormat}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.zZn))};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputNumber"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&e.GBs(Uo,5),2&i){let s;e.mGM(s=e.lsd())&&(n.input=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused)("p-inputnumber-clearable",n.showClear&&"vertical"!=n.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[e.Jv_([xs]),e.OA$],decls:7,vars:39,consts:[["input",""],[3,"ngClass","ngStyle"],["pInputText","","role","spinbutton","inputmode","decimal",3,"input","keydown","keypress","paste","click","focus","blur","ngClass","ngStyle","value","disabled","readonly"],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","class","p-button-icon-only","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","pButton","","tabindex","-1",1,"p-button-icon-only",3,"mousedown","mouseup","mouseleave","keydown","keyup","ngClass","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"span",1)(1,"input",2,0),e.bIt("input",function(r){return e.eBV(s),e.Njj(n.onUserInput(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.onInputKeyDown(r))})("keypress",function(r){return e.eBV(s),e.Njj(n.onInputKeyPress(r))})("paste",function(r){return e.eBV(s),e.Njj(n.onPaste(r))})("click",function(){return e.eBV(s),e.Njj(n.onInputClick())})("focus",function(r){return e.eBV(s),e.Njj(n.onInputFocus(r))})("blur",function(r){return e.eBV(s),e.Njj(n.onInputBlur(r))}),e.k0s(),e.DNE(3,es,3,2,"ng-container",3)(4,ps,7,19,"span",4)(5,fs,3,9,"button",5)(6,Is,3,9,"button",5),e.k0s()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.sMw(35,Qo,n.showButtons&&"stacked"===n.buttonLayout,n.showButtons&&"horizontal"===n.buttonLayout,n.showButtons&&"vertical"===n.buttonLayout))("ngStyle",n.style),e.BMQ("data-pc-name","inputnumber")("data-pc-section","root"),e.R7$(),e.HbH(n.inputStyleClass),e.Y8G("ngClass","p-inputnumber-input")("ngStyle",n.inputStyle)("value",n.formattedValue())("disabled",n.disabled)("readonly",n.readonly),e.BMQ("id",n.inputId)("aria-valuemin",n.min)("aria-valuemax",n.max)("aria-valuenow",n.value)("placeholder",n.placeholder)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledBy)("title",n.title)("size",n.size)("name",n.name)("autocomplete",n.autocomplete)("maxlength",n.maxlength)("tabindex",n.tabindex)("aria-required",n.ariaRequired)("required",n.required)("min",n.min)("max",n.max)("data-pc-section","input"),e.R7$(2),e.Y8G("ngIf","vertical"!=n.buttonLayout&&n.showClear&&n.value),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"===n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,H.S,M._f,F.A,Se,U],styles:["@layer primeng{p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),se=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,H.u,M.tm,F.A,Se,U,g.Gg]})}return o})(),Me=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Fe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Q=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const q=o=>({"p-disabled":o}),ae=o=>({$implicit:o}),Ts=o=>({"p-highlight":o});function ks(o,a){1&o&&e.eu8(0)}function Ss(o,a){if(1&o&&(e.j41(0,"div",15),e.DNE(1,ks,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","start"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateLeft)("ngTemplateOutletContext",e.eq3(3,ae,t.paginatorState))}}function Ds(o,a){if(1&o&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.JRh(t.currentPageReport)}}function Es(o,a){1&o&&e.nrm(0,"AngleDoubleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Rs(o,a){}function Ms(o,a){1&o&&e.DNE(0,Rs,0,0,"ng-template")}function Fs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Ms,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.firstPageLinkIconTemplate)}}function Gs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",18),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToFirst(n))}),e.DNE(1,Es,1,1,"AngleDoubleLeftIcon",6)(2,Fs,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(5,q,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("firstPageLabel")),e.R7$(),e.Y8G("ngIf",!t.firstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.firstPageLinkIconTemplate)}}function Vs(o,a){1&o&&e.nrm(0,"AngleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Bs(o,a){}function Os(o,a){1&o&&e.DNE(0,Bs,0,0,"ng-template")}function Ls(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Os,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousPageLinkIconTemplate)}}function Ns(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.onPageLinkClick(n,s-1))}),e.EFF(1),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(3);e.Y8G("ngClass",e.eq3(3,Ts,t-1==i.getPage())),e.BMQ("aria-label",i.getAriaLabel("pageLabel")),e.R7$(),e.SpI(" ",i.getLocalization(t)," ")}}function js(o,a){if(1&o&&(e.j41(0,"span",22),e.DNE(1,Ns,2,5,"button",23),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.pageLinks)}}function Ps(o,a){if(1&o&&e.EFF(0),2&o){const t=e.XpG(3);e.JRh(t.currentPageReport)}}function zs(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",25),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onPageDropdownChange(n))}),e.DNE(1,Ps,1,1,"ng-template",26),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.pageItems)("ngModel",t.getPage())("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight),e.BMQ("aria-label",t.getAriaLabel("jumpToPageDropdownLabel"))}}function Hs(o,a){1&o&&e.nrm(0,"AngleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ys(o,a){}function $s(o,a){1&o&&e.DNE(0,Ys,0,0,"ng-template")}function As(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,$s,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextPageLinkIconTemplate)}}function Xs(o,a){1&o&&e.nrm(0,"AngleDoubleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ks(o,a){}function Us(o,a){1&o&&e.DNE(0,Ks,0,0,"ng-template")}function Qs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Us,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.lastPageLinkIconTemplate)}}function qs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",27),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToLast(n))}),e.DNE(1,Xs,1,1,"AngleDoubleRightIcon",6)(2,Qs,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(5,q,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("lastPageLabel")),e.R7$(),e.Y8G("ngIf",!t.lastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.lastPageLinkIconTemplate)}}function Ws(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-inputNumber",28),e.bIt("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePage(n-1))}),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("ngModel",t.currentPage())("disabled",t.empty())}}function Zs(o,a){1&o&&e.eu8(0)}function Js(o,a){if(1&o&&e.DNE(0,Zs,1,0,"ng-container",16),2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",e.eq3(2,ae,t))}}function ea(o,a){1&o&&(e.qex(0),e.DNE(1,Js,1,4,"ng-template",31),e.bVm())}function ta(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",29),e.mxI("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.DH7(s.rows,n)||(s.rows=n),e.Njj(n)}),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onRppChange(n))}),e.DNE(1,ea,2,0,"ng-container",30),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.rowsPerPageItems),e.R50("ngModel",t.rows),e.Y8G("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight)("ariaLabel",t.getAriaLabel("rowsPerPageLabel")),e.R7$(),e.Y8G("ngIf",t.dropdownItemTemplate)}}function ia(o,a){1&o&&e.eu8(0)}function na(o,a){if(1&o&&(e.j41(0,"div",32),e.DNE(1,ia,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","end"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateRight)("ngTemplateOutletContext",e.eq3(3,ae,t.paginatorState))}}function oa(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",1),e.DNE(1,Ss,2,5,"div",2)(2,Ds,2,1,"span",3)(3,Gs,3,7,"button",4),e.j41(4,"button",5),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToPrev(n))}),e.DNE(5,Vs,1,1,"AngleLeftIcon",6)(6,Ls,2,1,"span",7),e.k0s(),e.DNE(7,js,2,1,"span",8)(8,zs,2,6,"p-dropdown",9),e.j41(9,"button",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToNext(n))}),e.DNE(10,Hs,1,1,"AngleRightIcon",6)(11,As,2,1,"span",7),e.k0s(),e.DNE(12,qs,3,7,"button",11)(13,Ws,1,2,"p-inputNumber",12)(14,ta,2,7,"p-dropdown",13)(15,na,2,5,"div",14),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass","p-paginator p-component"),e.BMQ("data-pc-section","paginator")("data-pc-section","root"),e.R7$(),e.Y8G("ngIf",t.templateLeft),e.R7$(),e.Y8G("ngIf",t.showCurrentPageReport),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(25,q,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("prevPageLabel")),e.R7$(),e.Y8G("ngIf",!t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showPageLinks),e.R7$(),e.Y8G("ngIf",t.showJumpToPageDropdown),e.R7$(),e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(27,q,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("nextPageLabel")),e.R7$(),e.Y8G("ngIf",!t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("ngIf",t.showJumpToPageInput),e.R7$(),e.Y8G("ngIf",t.rowsPerPageOptions),e.R7$(),e.Y8G("ngIf",t.templateRight)}}let sa=(()=>{class o{cd;config;pageLinkSize=5;style;styleClass;alwaysShow=!0;dropdownAppendTo;templateLeft;templateRight;appendTo;dropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showFirstLastIcon=!0;totalRecords=0;rows=0;rowsPerPageOptions;showJumpToPageDropdown;showJumpToPageInput;showPageLinks=!0;locale;dropdownItemTemplate;get first(){return this._first}set first(t){this._first=t}onPageChange=new e.bkB;templates;firstPageLinkIconTemplate;previousPageLinkIconTemplate;lastPageLinkIconTemplate;nextPageLinkIconTemplate;pageLinks;pageItems;rowsPerPageItems;paginatorState;_first=0;_page=0;constructor(t,i){this.cd=t,this.config=i}ngOnInit(){this.updatePaginatorState()}getAriaLabel(t){return this.config.translation.aria?this.config.translation.aria[t]:void 0}getLocalization(t){const i=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),n=new Map(i.map((s,l)=>[l,s]));return t>9?String(t).split("").map(l=>n.get(Number(l))).join(""):n.get(t)}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"firstpagelinkicon":this.firstPageLinkIconTemplate=t.template;break;case"previouspagelinkicon":this.previousPageLinkIconTemplate=t.template;break;case"lastpagelinkicon":this.lastPageLinkIconTemplate=t.template;break;case"nextpagelinkicon":this.nextPageLinkIconTemplate=t.template}})}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()}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(this.getLocalization(t)),value:t})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let t=this.getPageCount(),i=Math.min(this.pageLinkSize,t),n=Math.max(0,Math.ceil(this.getPage()-i/2)),s=Math.min(t-1,n+i-1);return n=Math.max(0,n-(this.pageLinkSize-(s-n+1))),[n,s]}updatePageLinks(){this.pageLinks=[];let t=this.calculatePageLinkBoundaries(),n=t[1];for(let s=t[0];s<=n;s++)this.pageLinks.push(s+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let s=0;s=0&&t0&&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,i){this.changePage(i),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}}empty(){return 0===this.getPageCount()}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){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))}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-paginator"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",dropdownAppendTo:"dropdownAppendTo",templateLeft:"templateLeft",templateRight:"templateRight",appendTo:"appendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showPageLinks:"showPageLinks",locale:"locale",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[e.OA$],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,"click","disabled","ngClass"],[3,"styleClass",4,"ngIf"],["class","p-paginator-icon",4,"ngIf"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"click","disabled","ngClass"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-page-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ariaLabel","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-paginator-element","p-link",3,"click","disabled","ngClass"],[3,"styleClass"],[1,"p-paginator-icon"],[4,"ngTemplateOutlet"],[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,"click","ngClass"],["styleClass","p-paginator-page-options",3,"onChange","options","ngModel","disabled","appendTo","scrollHeight"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"click","disabled","ngClass"],[1,"p-paginator-page-input",3,"ngModelChange","ngModel","disabled"],["styleClass","p-paginator-rpp-options",3,"ngModelChange","onChange","options","ngModel","disabled","appendTo","scrollHeight","ariaLabel"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(i,n){1&i&&e.DNE(0,oa,16,29,"div",0),2&i&&e.Y8G("ngIf",!!n.alwaysShow||n.pageLinks&&n.pageLinks.length>1)},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,ke,g.Ei,Re,R.BC,R.vS,E.n,Me,Fe,Ge,Q],styles:["@layer primeng{.p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),aa=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,oe,se,R.YN,g.Gg,E.Z,Me,Fe,Ge,Q,oe,se,R.YN,g.Gg]})}return o})();const la=["container"],ra=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-button-icon-only":t}),ca=(o,a)=>({$implicit:o,index:a});function da(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2).$implicit;e.HbH(t.icon),e.Y8G("ngClass","p-button-icon p-button-icon-left"),e.BMQ("data-pc-section","icon")}}function pa(o,a){if(1&o&&(e.qex(0),e.DNE(1,da,1,4,"span",6),e.j41(2,"span",7),e.EFF(3),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.BMQ("data-pc-section","label"),e.R7$(),e.JRh(i.getOptionLabel(t))}}function ua(o,a){1&o&&e.eu8(0)}function ha(o,a){if(1&o&&e.DNE(0,ua,1,0,"ng-container",9),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.Y8G("ngTemplateOutlet",s.selectButtonTemplate)("ngTemplateOutletContext",e.l_i(2,ca,i,n))}}function ma(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",4),e.bIt("click",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onOptionSelect(n,l,r))})("keydown",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onKeyDown(n,l,r))})("focus",function(n){const s=e.eBV(t).index,l=e.XpG();return e.Njj(l.onFocus(n,s))})("blur",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onBlur())}),e.DNE(1,pa,4,3,"ng-container",5)(2,ha,1,5,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.sdS(3),s=e.XpG();e.HbH(t.styleClass),e.Y8G("role",s.multiple?"checkbox":"radio")("ngClass",e.sMw(14,ra,s.isSelected(t),s.disabled||s.isOptionDisabled(t),t.icon&&!s.getOptionLabel(t))),e.BMQ("tabindex",i===s.focusedIndex?"0":"-1")("aria-label",t.label)("aria-checked",s.isSelected(t))("aria-disabled",s.optionDisabled)("aria-pressed",s.isSelected(t))("title",t.title)("aria-labelledby",s.getOptionLabel(t))("data-pc-section","button"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate)("ngIfElse",n)}}const _a={provide:R.kq,useExisting:(0,e.Rfq)(()=>ga),multi:!0};let ga=(()=>{class o{cd;options;optionLabel;optionValue;optionDisabled;unselectable=!1;tabindex=0;multiple;allowEmpty=!0;style;styleClass;ariaLabelledBy;disabled;dataKey;onOptionClick=new e.bkB;onChange=new e.bkB;container;itemTemplate;get selectButtonTemplate(){return this.itemTemplate?.template}get equalityKey(){return this.optionValue?null:this.dataKey}value;onModelChange=()=>{};onModelTouched=()=>{};focusedIndex=0;constructor(t){this.cd=t}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):this.optionLabel||void 0===t.value?t:t.value}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):void 0!==t.disabled&&t.disabled}writeValue(t){this.value=t,this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onOptionSelect(t,i,n){if(this.disabled||this.isOptionDisabled(i))return;let s=this.isSelected(i);if(s&&this.unselectable)return;let r,l=this.getOptionValue(i);if(this.multiple)r=s?this.value.filter(c=>!h.BF.equals(c,l,this.equalityKey)):this.value?[...this.value,l]:[l];else{if(s&&!this.allowEmpty)return;r=s?null:l}this.focusedIndex=n,this.value=r,this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value}),this.onOptionClick.emit({originalEvent:t,option:i,index:n})}onKeyDown(t,i,n){switch(t.code){case"Space":this.onOptionSelect(t,i,n),t.preventDefault();break;case"ArrowDown":case"ArrowRight":this.changeTabIndexes(t,"next"),t.preventDefault();break;case"ArrowUp":case"ArrowLeft":this.changeTabIndexes(t,"prev"),t.preventDefault()}}changeTabIndexes(t,i){let n,s;for(let l=0;l<=this.container.nativeElement.children.length-1;l++)"0"===this.container.nativeElement.children[l].getAttribute("tabindex")&&(n={elem:this.container.nativeElement.children[l],index:l});s="prev"===i?0===n.index?this.container.nativeElement.children.length-1:n.index-1:n.index===this.container.nativeElement.children.length-1?0:n.index+1,this.focusedIndex=s,this.container.nativeElement.children[s].focus()}onFocus(t,i){this.focusedIndex=i}onBlur(){this.onModelTouched()}removeOption(t){this.value=this.value.filter(i=>!h.BF.equals(i,this.getOptionValue(t),this.dataKey))}isSelected(t){let i=!1;const n=this.getOptionValue(t);if(this.multiple){if(this.value&&Array.isArray(this.value))for(let s of this.value)if(h.BF.equals(s,n,this.dataKey)){i=!0;break}}else i=h.BF.equals(this.getOptionValue(t),this.value,this.equalityKey);return i}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-selectButton"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,5),2&i){let l;e.mGM(l=e.lsd())&&(n.itemTemplate=l.first)}},viewQuery:function(i,n){if(1&i&&e.GBs(la,5),2&i){let s;e.mGM(s=e.lsd())&&(n.container=s.first)}},hostAttrs:[1,"p-element"],inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",unselectable:"unselectable",tabindex:"tabindex",multiple:"multiple",allowEmpty:"allowEmpty",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[e.Jv_([_a])],decls:3,vars:8,consts:[["container",""],["customcontent",""],["role","group",3,"ngClass","ngStyle"],["pRipple","","class","p-button p-component",3,"role","class","ngClass","click","keydown","focus","blur",4,"ngFor","ngForOf"],["pRipple","",1,"p-button","p-component",3,"click","keydown","focus","blur","role","ngClass"],[4,"ngIf","ngIfElse"],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"div",2,0),e.DNE(2,ma,4,18,"div",3),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",n.style),e.BMQ("aria-labelledby",n.ariaLabelledBy)("data-pc-name","selectbutton")("data-pc-section","root"),e.R7$(2),e.Y8G("ngForOf",n.options))},dependencies:[m.YU,m.Sq,m.bT,m.T3,m.B3,E.n],styles:['@layer primeng{.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}p-button[iconpos=right] spinnericon{order:1}}\n'],encapsulation:2,changeDetection:0})}return o})(),fa=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,E.Z,g.Gg,g.Gg]})}return o})(),le=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CheckIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const ba=(o,a)=>({"p-checkbox p-component":!0,"p-checkbox-disabled":o,"p-checkbox-focused":a}),va=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-focus":t}),ya=(o,a,t)=>({"p-checkbox-label-active":o,"p-disabled":a,"p-checkbox-label-focus":t});function Ca(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxTrueIcon),e.BMQ("data-pc-section","checkIcon")}}function wa(o,a){1&o&&e.nrm(0,"CheckIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","checkIcon"))}function Ia(o,a){}function xa(o,a){1&o&&e.DNE(0,Ia,0,0,"ng-template")}function Ta(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,xa,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","checkIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.checkIconTemplate)}}function ka(o,a){if(1&o&&(e.qex(0),e.DNE(1,wa,1,2,"CheckIcon",9)(2,Ta,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.checkIconTemplate),e.R7$(),e.Y8G("ngIf",t.checkIconTemplate)}}function Sa(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ca,1,2,"span",7)(2,ka,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxTrueIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxTrueIcon)}}function Da(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxFalseIcon),e.BMQ("data-pc-section","uncheckIcon")}}function Ea(o,a){1&o&&e.nrm(0,"TimesIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","uncheckIcon"))}function Ra(o,a){}function Ma(o,a){1&o&&e.DNE(0,Ra,0,0,"ng-template")}function Fa(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,Ma,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","uncheckIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.uncheckIconTemplate)}}function Ga(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ea,1,2,"TimesIcon",9)(2,Fa,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.uncheckIconTemplate),e.R7$(),e.Y8G("ngIf",t.uncheckIconTemplate)}}function Va(o,a){if(1&o&&(e.qex(0),e.DNE(1,Da,1,2,"span",7)(2,Ga,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxFalseIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxFalseIcon)}}function Ba(o,a){if(1&o){const t=e.RV6();e.j41(0,"label",14),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(),l=e.sdS(3);return e.Njj(s.onClick(n,l))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",e.sMw(3,ya,null!=t.value,t.disabled,t.focused)),e.BMQ("for",t.inputId),e.R7$(),e.JRh(t.label)}}const Oa={provide:R.kq,useExisting:(0,e.Rfq)(()=>La),multi:!0};let La=(()=>{class o{cd;constructor(t){this.cd=t}disabled;name;ariaLabel;ariaLabelledBy;tabindex;inputId;style;styleClass;label;readonly;checkboxTrueIcon;checkboxFalseIcon;onChange=new e.bkB;templates;checkIconTemplate;uncheckIconTemplate;focused;value;onModelChange=()=>{};onModelTouched=()=>{};onClick(t,i){!this.disabled&&!this.readonly&&(this.toggle(t),this.focused=!0,i.focus())}onKeyDown(t){"Enter"===t.key&&(this.toggle(t),t.preventDefault())}toggle(t){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value})}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"checkicon":this.checkIconTemplate=t.template;break;case"uncheckicon":this.uncheckIconTemplate=t.template}})}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}writeValue(t){this.value=t,this.cd.markForCheck()}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-triStateCheckbox"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{disabled:"disabled",name:"name",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[e.Jv_([Oa])],decls:8,vars:26,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox","inputmode","none",3,"keydown","focus","blur","name","readonly","disabled"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"],[1,"p-checkbox-label",3,"click","ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",1),e.bIt("click",function(r){e.eBV(s);const c=e.sdS(3);return e.Njj(n.onClick(r,c))}),e.j41(1,"div",2)(2,"input",3,0),e.bIt("keydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("focus",function(){return e.eBV(s),e.Njj(n.onFocus())})("blur",function(){return e.eBV(s),e.Njj(n.onBlur())}),e.k0s()(),e.j41(4,"div",4),e.DNE(5,Sa,3,2,"ng-container",5)(6,Va,3,2,"ng-container",5),e.k0s()(),e.DNE(7,Ba,2,7,"label",6)}2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.l_i(19,ba,n.disabled,n.focused)),e.BMQ("data-pc-name","tristatecheckbox")("data-pc-section","root"),e.R7$(2),e.Y8G("name",n.name)("readonly",n.readonly)("disabled",n.disabled),e.BMQ("id",n.inputId)("tabindex",n.tabindex)("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel)("data-pc-section","hiddenInput"),e.R7$(2),e.Y8G("ngClass",e.sMw(22,va,null!=n.value,n.disabled,n.focused)),e.BMQ("aria-checked",!0===n.value),e.R7$(),e.Y8G("ngIf",!0===n.value),e.R7$(),e.Y8G("ngIf",!1===n.value),e.R7$(),e.Y8G("ngIf",n.label))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,le,F.A],encapsulation:2,changeDetection:0})}return o})(),Na=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,le,F.A,g.Gg]})}return o})();var P=I(1413);let Ve=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Be=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),ja=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Oe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:9,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z","fill","currentColor"],["d","M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z","fill","currentColor"],["d","M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z","fill","currentColor"],["d","M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1)(3,"path",2)(4,"path",3)(5,"path",4),e.k0s(),e.j41(6,"defs")(7,"clipPath",5),e.nrm(8,"rect",6),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(6),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Le=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ne=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountUpAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Pa=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterSlashIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const za=["container"],Ha=["resizeHelper"],Ya=["reorderIndicatorUp"],$a=["reorderIndicatorDown"],Aa=["wrapper"],Xa=["table"],Ka=["thead"],Ua=["tfoot"],Qa=["scroller"],qa=(o,a,t)=>({"p-datatable p-component":!0,"p-datatable-hoverable-rows":o,"p-datatable-scrollable":a,"p-datatable-flex-scrollable":t}),Wa=o=>({maxHeight:o}),Za=o=>({height:o}),je=(o,a)=>({$implicit:o,options:a}),Ja=o=>({columns:o}),el=(o,a,t)=>({"p-datatable-table":!0,"p-datatable-scrollable-table":o,"p-datatable-resizable-table":a,"p-datatable-resizable-table-fit":t}),N=o=>({$implicit:o});function tl(o,a){if(1&o&&e.nrm(0,"i"),2&o){const t=e.XpG(2);e.HbH("p-datatable-loading-icon "+t.loadingIcon)}}function il(o,a){1&o&&e.nrm(0,"SpinnerIcon",26),2&o&&e.Y8G("spin",!0)("styleClass","p-datatable-loading-icon")}function nl(o,a){}function ol(o,a){1&o&&e.DNE(0,nl,0,0,"ng-template")}function sl(o,a){if(1&o&&(e.j41(0,"span",27),e.DNE(1,ol,1,0,null,28),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.loadingIconTemplate)}}function al(o,a){if(1&o&&(e.qex(0),e.DNE(1,il,1,2,"SpinnerIcon",24)(2,sl,2,1,"span",25),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.loadingIconTemplate),e.R7$(),e.Y8G("ngIf",t.loadingIconTemplate)}}function ll(o,a){if(1&o&&(e.j41(0,"div",22),e.DNE(1,tl,1,2,"i",23)(2,al,3,2,"ng-container",16),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.loadingIcon),e.R7$(),e.Y8G("ngIf",!t.loadingIcon)}}function rl(o,a){1&o&&e.eu8(0)}function cl(o,a){if(1&o&&(e.j41(0,"div",29),e.DNE(1,rl,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.captionTemplate)}}function dl(o,a){1&o&&e.eu8(0)}function pl(o,a){if(1&o&&e.DNE(0,dl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function ul(o,a){1&o&&e.DNE(0,pl,1,1,"ng-template",31)}function hl(o,a){1&o&&e.eu8(0)}function ml(o,a){if(1&o&&e.DNE(0,hl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function _l(o,a){1&o&&e.DNE(0,ml,1,1,"ng-template",32)}function gl(o,a){1&o&&e.eu8(0)}function fl(o,a){if(1&o&&e.DNE(0,gl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function bl(o,a){1&o&&e.DNE(0,fl,1,1,"ng-template",33)}function vl(o,a){1&o&&e.eu8(0)}function yl(o,a){if(1&o&&e.DNE(0,vl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Cl(o,a){1&o&&e.DNE(0,yl,1,1,"ng-template",34)}function wl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",30),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,ul,1,0,null,16)(2,_l,1,0,null,16)(3,bl,1,0,null,16)(4,Cl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Il(o,a){1&o&&e.eu8(0)}function xl(o,a){if(1&o&&e.DNE(0,Il,1,0,"ng-container",37),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(10);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,je,t,i))}}function Tl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",35,3),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLazyItemLoad(n))}),e.DNE(2,xl,1,5,"ng-template",36),e.k0s()}if(2&o){const t=e.XpG();e.Aen(e.eq3(15,Za,"flex"!==t.scrollHeight?t.scrollHeight:void 0)),e.Y8G("items",t.processedData)("columns",t.columns)("scrollHeight","flex"!==t.scrollHeight?void 0:"100%")("itemSize",t.virtualScrollItemSize||t._virtualRowHeight)("step",t.rows)("delay",t.lazy?t.virtualScrollDelay:0)("inline",!0)("lazy",t.lazy)("loaderDisabled",!0)("showSpacer",!1)("showLoader",t.loadingBodyTemplate)("options",t.virtualScrollOptions)("autoSize",!0)}}function kl(o,a){1&o&&e.eu8(0)}function Sl(o,a){if(1&o&&(e.qex(0),e.DNE(1,kl,1,0,"ng-container",37),e.bVm()),2&o){const t=e.XpG(),i=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(4,je,t.processedData,e.eq3(2,Ja,t.columns)))}}function Dl(o,a){1&o&&e.eu8(0)}function El(o,a){1&o&&e.eu8(0)}function Rl(o,a){if(1&o&&e.nrm(0,"tbody",44),2&o){const t=e.XpG().options,i=e.XpG();e.Y8G("value",i.frozenValue)("frozenRows",!0)("pTableBody",t.columns)("pTableBodyTemplate",i.frozenBodyTemplate)("frozen",!0)}}function Ml(o,a){if(1&o&&e.nrm(0,"tbody",45),2&o){const t=e.XpG().options;e.Aen("height: calc("+t.spacerStyle.height+" - "+t.rows.length*t.itemSize+"px);")}}function Fl(o,a){1&o&&e.eu8(0)}function Gl(o,a){if(1&o&&(e.j41(0,"tfoot",46,6),e.DNE(2,Fl,1,0,"ng-container",37),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",i.footerGroupedTemplate||i.footerTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.columns))}}function Vl(o,a){if(1&o&&(e.j41(0,"table",38,4),e.DNE(2,Dl,1,0,"ng-container",37),e.j41(3,"thead",39,5),e.DNE(5,El,1,0,"ng-container",37),e.k0s(),e.DNE(6,Rl,1,5,"tbody",40),e.nrm(7,"tbody",41),e.DNE(8,Ml,1,2,"tbody",42)(9,Gl,3,4,"tfoot",43),e.k0s()),2&o){const t=a.options,i=e.XpG();e.Aen(i.tableStyle),e.HbH(i.tableStyleClass),e.Y8G("ngClass",e.sMw(20,el,i.scrollable,i.resizableColumns,i.resizableColumns&&"fit"===i.columnResizeMode)),e.BMQ("id",i.id+"-table"),e.R7$(2),e.Y8G("ngTemplateOutlet",i.colGroupTemplate)("ngTemplateOutletContext",e.eq3(24,N,t.columns)),e.R7$(3),e.Y8G("ngTemplateOutlet",i.headerGroupedTemplate||i.headerTemplate)("ngTemplateOutletContext",e.eq3(26,N,t.columns)),e.R7$(),e.Y8G("ngIf",i.frozenValue||i.frozenBodyTemplate),e.R7$(),e.Aen(t.contentStyle),e.Y8G("ngClass",t.contentStyleClass)("value",i.dataToRender(t.rows))("pTableBody",t.columns)("pTableBodyTemplate",i.bodyTemplate)("scrollerOptions",t),e.R7$(),e.Y8G("ngIf",t.spacerStyle),e.R7$(),e.Y8G("ngIf",i.footerGroupedTemplate||i.footerTemplate)}}function Bl(o,a){1&o&&e.eu8(0)}function Ol(o,a){if(1&o&&e.DNE(0,Bl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function Ll(o,a){1&o&&e.DNE(0,Ol,1,1,"ng-template",31)}function Nl(o,a){1&o&&e.eu8(0)}function jl(o,a){if(1&o&&e.DNE(0,Nl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function Pl(o,a){1&o&&e.DNE(0,jl,1,1,"ng-template",32)}function zl(o,a){1&o&&e.eu8(0)}function Hl(o,a){if(1&o&&e.DNE(0,zl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function Yl(o,a){1&o&&e.DNE(0,Hl,1,1,"ng-template",33)}function $l(o,a){1&o&&e.eu8(0)}function Al(o,a){if(1&o&&e.DNE(0,$l,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Xl(o,a){1&o&&e.DNE(0,Al,1,1,"ng-template",34)}function Kl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",47),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,Ll,1,0,null,16)(2,Pl,1,0,null,16)(3,Yl,1,0,null,16)(4,Xl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Ul(o,a){1&o&&e.eu8(0)}function Ql(o,a){if(1&o&&(e.j41(0,"div",48),e.DNE(1,Ul,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.summaryTemplate)}}function ql(o,a){1&o&&e.nrm(0,"div",49,7)}function Wl(o,a){1&o&&e.nrm(0,"ArrowDownIcon")}function Zl(o,a){}function Jl(o,a){1&o&&e.DNE(0,Zl,0,0,"ng-template")}function er(o,a){if(1&o&&(e.j41(0,"span",50,8),e.DNE(2,Wl,1,0,"ArrowDownIcon",16)(3,Jl,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorUpIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorUpIconTemplate)}}function tr(o,a){1&o&&e.nrm(0,"ArrowUpIcon")}function ir(o,a){}function nr(o,a){1&o&&e.DNE(0,ir,0,0,"ng-template")}function or(o,a){if(1&o&&(e.j41(0,"span",51,9),e.DNE(2,tr,1,0,"ArrowUpIcon",16)(3,nr,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorDownIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorDownIconTemplate)}}const sr=["pTableBody",""],re=(o,a,t,i,n)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n}),ar=(o,a,t,i,n,s,l)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n,rowgroup:s,rowspan:l}),W=(o,a,t,i,n,s)=>({$implicit:o,rowIndex:a,columns:t,expanded:i,editing:n,frozen:s}),Pe=(o,a,t,i)=>({$implicit:o,rowIndex:a,columns:t,frozen:i}),ze=(o,a)=>({$implicit:o,frozen:a});function lr(o,a){1&o&&e.eu8(0)}function rr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,lr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function cr(o,a){1&o&&e.eu8(0)}function dr(o,a){if(1&o&&(e.qex(0),e.DNE(1,cr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function pr(o,a){1&o&&e.eu8(0)}function ur(o,a){if(1&o&&(e.qex(0),e.DNE(1,pr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.sGs(2,ar,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen,s.shouldRenderRowspan(s.value,i,n),s.calculateRowGroupSize(s.value,i,n)))}}function hr(o,a){1&o&&e.eu8(0)}function mr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,hr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function _r(o,a){if(1&o&&e.DNE(0,rr,2,8,"ng-container",2)(1,dr,2,8,"ng-container",0)(2,ur,2,10,"ng-container",0)(3,mr,2,8,"ng-container",2),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",n.dt.groupHeaderTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,i)),e.R7$(),e.Y8G("ngIf","rowspan"!==n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf","rowspan"===n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf",n.dt.groupFooterTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupFooter(n.value,t,i))}}function gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,_r,4,4,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function fr(o,a){1&o&&e.eu8(0)}function br(o,a){if(1&o&&(e.qex(0),e.DNE(1,fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function vr(o,a){1&o&&e.eu8(0)}function yr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,vr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function Cr(o,a){1&o&&e.eu8(0)}function wr(o,a){1&o&&e.eu8(0)}function Ir(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,wr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(2),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function xr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Cr,1,0,"ng-container",4)(2,Ir,2,9,"ng-container",2),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.expandedRowTemplate)("ngTemplateOutletContext",e.ziG(3,Pe,i,s.getRowIndex(n),s.columns,s.frozen)),e.R7$(),e.Y8G("ngIf",s.dt.groupFooterTemplate&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupFooter(s.value,i,s.getRowIndex(n)))}}function Tr(o,a){if(1&o&&e.DNE(0,br,2,9,"ng-container",0)(1,yr,2,9,"ng-container",2)(2,xr,3,8,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",!n.dt.groupHeaderTemplate),e.R7$(),e.Y8G("ngIf",n.dt.groupHeaderTemplate&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,n.getRowIndex(i))),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function kr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tr,3,3,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Sr(o,a){1&o&&e.eu8(0)}function Dr(o,a){1&o&&e.eu8(0)}function Er(o,a){if(1&o&&(e.qex(0),e.DNE(1,Dr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",e.ziG(2,Pe,i,s.getRowIndex(n),s.columns,s.frozen))}}function Rr(o,a){if(1&o&&e.DNE(0,Sr,1,0,"ng-container",4)(1,Er,2,7,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.l4e(3,W,t,n.getRowIndex(i),n.columns,n.dt.isRowExpanded(t),"row"===n.dt.editMode&&n.dt.isRowEditing(t),n.frozen)),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function Mr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Rr,2,10,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Fr(o,a){1&o&&e.eu8(0)}function Gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.l_i(2,ze,t.columns,t.frozen))}}function Vr(o,a){1&o&&e.eu8(0)}function Br(o,a){if(1&o&&(e.qex(0),e.DNE(1,Vr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.emptyMessageTemplate)("ngTemplateOutletContext",e.l_i(2,ze,t.columns,t.frozen))}}function Or(o,a){1&o&&e.nrm(0,"SortAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Lr(o,a){1&o&&e.nrm(0,"SortAmountUpAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Nr(o,a){1&o&&e.nrm(0,"SortAmountDownIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function jr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Or,1,1,"SortAltIcon",3)(2,Lr,1,1,"SortAmountUpAltIcon",3)(3,Nr,1,1,"SortAmountDownIcon",3),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0===t.sortOrder),e.R7$(),e.Y8G("ngIf",1===t.sortOrder),e.R7$(),e.Y8G("ngIf",-1===t.sortOrder)}}function Pr(o,a){}function zr(o,a){1&o&&e.DNE(0,Pr,0,0,"ng-template")}function Hr(o,a){if(1&o&&(e.j41(0,"span",5),e.DNE(1,zr,1,0,null,6),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.sortIconTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.sortOrder))}}function Yr(o,a){if(1&o&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.JRh(t.getBadgeValue())}}let ce=(()=>{class o{sortSource=new P.B;selectionSource=new P.B;contextMenuSource=new P.B;valueSource=new P.B;totalRecordsSource=new P.B;columnsSource=new P.B;sortSource$=this.sortSource.asObservable();selectionSource$=this.selectionSource.asObservable();contextMenuSource$=this.contextMenuSource.asObservable();valueSource$=this.valueSource.asObservable();totalRecordsSource$=this.totalRecordsSource.asObservable();columnsSource$=this.columnsSource.asObservable();onSort(t){this.sortSource.next(t)}onSelectionChange(){this.selectionSource.next(null)}onContextMenu(t){this.contextMenuSource.next(t)}onValueChange(t){this.valueSource.next(t)}onTotalRecordsChange(t){this.totalRecordsSource.next(t)}onColumnsChange(t){this.columnsSource.next(t)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Z=(()=>{class o{document;platformId;renderer;el;zone;tableService;cd;filterService;overlayService;config;frozenColumns;frozenValue;style;styleClass;tableStyle;tableStyleClass;paginator;pageLinks=5;rowsPerPageOptions;alwaysShowPaginator=!0;paginatorPosition="bottom";paginatorStyleClass;paginatorDropdownAppendTo;paginatorDropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showJumpToPageDropdown;showJumpToPageInput;showFirstLastIcon=!0;showPageLinks=!0;defaultSortOrder=1;sortMode="single";resetPageOnSort=!0;selectionMode;selectionPageOnly;contextMenuSelection;contextMenuSelectionChange=new e.bkB;contextMenuSelectionMode="separate";dataKey;metaKeySelection=!0;rowSelectable;rowTrackBy=(t,i)=>i;lazy=!1;lazyLoadOnInit=!0;compareSelectionBy="deepEquals";csvSeparator=",";exportFilename="download";filters={};globalFilterFields;filterDelay=300;filterLocale;expandedRowKeys={};editingRowKeys={};rowExpandMode="multiple";scrollable;scrollDirection="vertical";rowGroupMode;scrollHeight;virtualScroll;virtualScrollItemSize;virtualScrollOptions;virtualScrollDelay=250;frozenWidth;get responsive(){return this._responsive}set responsive(t){this._responsive=t,console.warn("responsive property is deprecated as table is always responsive with scrollable behavior.")}_responsive;contextMenu;resizableColumns;columnResizeMode="fit";reorderableColumns;loading;loadingIcon;showLoader=!0;rowHover;customSort;showInitialSortBadge=!0;autoLayout;exportFunction;exportHeader;stateKey;stateStorage="session";editMode="cell";groupRowsBy;groupRowsByOrder=1;responsiveLayout="scroll";breakpoint="960px";paginatorLocale;get value(){return this._value}set value(t){this._value=t}get columns(){return this._columns}set columns(t){this._columns=t}get first(){return this._first}set first(t){this._first=t}get rows(){return this._rows}set rows(t){this._rows=t}get totalRecords(){return this._totalRecords}set totalRecords(t){this._totalRecords=t,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField(t){this._sortField=t}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder=t}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(t){this._multiSortMeta=t}get selection(){return this._selection}set selection(t){this._selection=t}get selectAll(){return this._selection}set selectAll(t){this._selection=t}selectAllChange=new e.bkB;selectionChange=new e.bkB;onRowSelect=new e.bkB;onRowUnselect=new e.bkB;onPage=new e.bkB;onSort=new e.bkB;onFilter=new e.bkB;onLazyLoad=new e.bkB;onRowExpand=new e.bkB;onRowCollapse=new e.bkB;onContextMenuSelect=new e.bkB;onColResize=new e.bkB;onColReorder=new e.bkB;onRowReorder=new e.bkB;onEditInit=new e.bkB;onEditComplete=new e.bkB;onEditCancel=new e.bkB;onHeaderCheckboxToggle=new e.bkB;sortFunction=new e.bkB;firstChange=new e.bkB;rowsChange=new e.bkB;onStateSave=new e.bkB;onStateRestore=new e.bkB;containerViewChild;resizeHelperViewChild;reorderIndicatorUpViewChild;reorderIndicatorDownViewChild;wrapperViewChild;tableViewChild;tableHeaderViewChild;tableFooterViewChild;scroller;templates;get virtualRowHeight(){return this._virtualRowHeight}set virtualRowHeight(t){this._virtualRowHeight=t,console.warn("The virtualRowHeight property is deprecated.")}_virtualRowHeight=28;_value=[];_columns;_totalRecords=0;_first=0;_rows;filteredValue;headerTemplate;headerGroupedTemplate;bodyTemplate;loadingBodyTemplate;captionTemplate;footerTemplate;footerGroupedTemplate;summaryTemplate;colGroupTemplate;expandedRowTemplate;groupHeaderTemplate;groupFooterTemplate;frozenExpandedRowTemplate;frozenHeaderTemplate;frozenBodyTemplate;frozenFooterTemplate;frozenColGroupTemplate;emptyMessageTemplate;paginatorLeftTemplate;paginatorRightTemplate;paginatorDropdownItemTemplate;loadingIconTemplate;reorderIndicatorUpIconTemplate;reorderIndicatorDownIconTemplate;sortIconTemplate;checkboxIconTemplate;headerCheckboxIconTemplate;paginatorFirstPageLinkIconTemplate;paginatorLastPageLinkIconTemplate;paginatorPreviousPageLinkIconTemplate;paginatorNextPageLinkIconTemplate;selectionKeys={};lastResizerHelperX;reorderIconWidth;reorderIconHeight;draggedColumn;draggedRowIndex;droppedRowIndex;rowDragging;dropPosition;editingCell;editingCellData;editingCellField;editingCellRowIndex;selfClick;documentEditListener;_multiSortMeta;_sortField;_sortOrder=1;preventSelectionSetterPropagation;_selection;_selectAll=null;anchorRowIndex;rangeRowIndex;filterTimeout;initialized;rowTouched;restoringSort;restoringFilter;stateRestored;columnOrderStateRestored;columnWidthsState;tableWidthState;overlaySubscription;resizeColumnElement;columnResizing=!1;rowGroupHeaderStyleObject={};id=(0,h._Y)();styleElement;responsiveStyleElement;window;constructor(t,i,n,s,l,r,c,p,u,_){this.document=t,this.platformId=i,this.renderer=n,this.el=s,this.zone=l,this.tableService=r,this.cd=c,this.filterService=p,this.overlayService=u,this.config=_,this.window=this.document.defaultView}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),"stack"===this.responsiveLayout&&!this.scrollable&&this.createResponsiveStyle(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"caption":this.captionTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"headergrouped":this.headerGroupedTemplate=t.template;break;case"body":this.bodyTemplate=t.template;break;case"loadingbody":this.loadingBodyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"footergrouped":this.footerGroupedTemplate=t.template;break;case"summary":this.summaryTemplate=t.template;break;case"colgroup":this.colGroupTemplate=t.template;break;case"rowexpansion":this.expandedRowTemplate=t.template;break;case"groupheader":this.groupHeaderTemplate=t.template;break;case"groupfooter":this.groupFooterTemplate=t.template;break;case"frozenheader":this.frozenHeaderTemplate=t.template;break;case"frozenbody":this.frozenBodyTemplate=t.template;break;case"frozenfooter":this.frozenFooterTemplate=t.template;break;case"frozencolgroup":this.frozenColGroupTemplate=t.template;break;case"frozenrowexpansion":this.frozenExpandedRowTemplate=t.template;break;case"emptymessage":this.emptyMessageTemplate=t.template;break;case"paginatorleft":this.paginatorLeftTemplate=t.template;break;case"paginatorright":this.paginatorRightTemplate=t.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=t.template;break;case"paginatorfirstpagelinkicon":this.paginatorFirstPageLinkIconTemplate=t.template;break;case"paginatorlastpagelinkicon":this.paginatorLastPageLinkIconTemplate=t.template;break;case"paginatorpreviouspagelinkicon":this.paginatorPreviousPageLinkIconTemplate=t.template;break;case"paginatornextpagelinkicon":this.paginatorNextPageLinkIconTemplate=t.template;break;case"loadingicon":this.loadingIconTemplate=t.template;break;case"reorderindicatorupicon":this.reorderIndicatorUpIconTemplate=t.template;break;case"reorderindicatordownicon":this.reorderIndicatorDownIconTemplate=t.template;break;case"sorticon":this.sortIconTemplate=t.template;break;case"checkboxicon":this.checkboxIconTemplate=t.template;break;case"headercheckboxicon":this.headerCheckboxIconTemplate=t.template}})}ngAfterViewInit(){(0,m.UE)(this.platformId)&&this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()}ngOnChanges(t){t.value&&(this.isStateful()&&!this.stateRestored&&(0,m.UE)(this.platformId)&&this.restoreState(),this._value=t.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&(this.sortField||this.groupRowsBy)?this.sortSingle():"multiple"==this.sortMode&&(this.multiSortMeta||this.groupRowsBy)?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(t.value.currentValue)),t.columns&&(this._columns=t.columns.currentValue,this.tableService.onColumnsChange(t.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()),t.sortField&&(this._sortField=t.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsBy&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.sortOrder&&(this._sortOrder=t.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsByOrder&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.multiSortMeta&&(this._multiSortMeta=t.multiSortMeta.currentValue,"multiple"===this.sortMode&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),t.selection&&(this._selection=t.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1),t.selectAll&&(this._selectAll=t.selectAll.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()),this.preventSelectionSetterPropagation=!1)}get processedData(){return this.filteredValue||this.value||[]}_initialColWidths;dataToRender(t){const i=t||this.processedData;if(i&&this.paginator){const n=this.lazy?0:this.first;return i.slice(n,n+this.rows)}return i}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let t of this._selection)this.selectionKeys[String(h.BF.resolveFieldData(t,this.dataKey))]=1;else this.selectionKeys[String(h.BF.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(t){this.first=t.first,this.rows=t.rows,this.onPage.emit({first:this.first,rows:this.rows}),this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(t){let i=t.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===t.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=t.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){let n=i.metaKey||i.ctrlKey,s=this.getSortMeta(t.field);s?n?s.order=-1*s.order:(this._multiSortMeta=[{field:t.field,order:-1*s.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!n||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:t.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){let t=this.sortField||this.groupRowsBy,i=this.sortField?this.sortOrder:this.groupRowsByOrder;if(this.groupRowsBy&&this.sortField&&this.groupRowsBy!==this.sortField)return this._multiSortMeta=[this.getGroupRowsMeta(),{field:this.sortField,order:this.sortOrder}],void this.sortMultiple();if(t&&i){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:t,order:i}):(this.value.sort((s,l)=>{let r=h.BF.resolveFieldData(s,t),c=h.BF.resolveFieldData(l,t),p=null;return p=null==r&&null!=c?-1:null!=r&&null==c?1:null==r&&null==c?0:"string"==typeof r&&"string"==typeof c?r.localeCompare(c):rc?1:0,i*p}),this._value=[...this.value]),this.hasFilter()&&this._filter());let n={field:t,order:i};this.onSort.emit(n),this.tableService.onSort(n)}}sortMultiple(){this.groupRowsBy&&(this._multiSortMeta?this.multiSortMeta[0].field!==this.groupRowsBy&&(this._multiSortMeta=[this.getGroupRowsMeta(),...this._multiSortMeta]):this._multiSortMeta=[this.getGroupRowsMeta()]),this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((t,i)=>this.multisortField(t,i,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(t,i,n,s){const l=h.BF.resolveFieldData(t,n[s].field),r=h.BF.resolveFieldData(i,n[s].field);return 0===h.BF.compare(l,r,this.filterLocale)?n.length-1>s?this.multisortField(t,i,n,s+1):0:this.compareValuesOnSort(l,r,n[s].order)}compareValuesOnSort(t,i,n){return h.BF.sort(t,i,n,this.filterLocale,this.sortOrder)}getSortMeta(t){if(this.multiSortMeta&&this.multiSortMeta.length)for(let i=0;iw!=b),this.selectionChange.emit(this.selection),u&&delete this.selectionKeys[u]}this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row"})}else this.isSingleSelectionMode()?(this._selection=l,this.selectionChange.emit(l),u&&(this.selectionKeys={},this.selectionKeys[u]=1)):this.isMultipleSelectionMode()&&(_?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,l],this.selectionChange.emit(this.selection),u&&(this.selectionKeys[u]=1)),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})}else if("single"===this.selectionMode)c?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})):(this._selection=l,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys={},this.selectionKeys[u]=1));else if("multiple"===this.selectionMode)if(c){let _=this.findIndexInSelection(l);this._selection=this.selection.filter((b,f)=>f!=_),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&delete this.selectionKeys[u]}else this._selection=this.selection?[...this.selection,l]:[l],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys[u]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(t){this.rowTouched=!0}handleRowRightClick(t){if(this.contextMenu){const i=t.rowData,n=t.rowIndex;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=i,this.contextMenuSelectionChange.emit(i),this.onContextMenuSelect.emit({originalEvent:t.originalEvent,data:i,index:t.rowIndex}),this.contextMenu.show(t.originalEvent),this.tableService.onContextMenu(i);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let s=this.isSelected(i),l=this.dataKey?String(h.BF.resolveFieldData(i,this.dataKey)):null;if(!s){if(!this.isRowSelectable(i,n))return;this.isSingleSelectionMode()?(this.selection=i,this.selectionChange.emit(i),l&&(this.selectionKeys={},this.selectionKeys[l]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),l&&(this.selectionKeys[l]=1))}this.tableService.onSelectionChange(),this.contextMenu.show(t.originalEvent),this.onContextMenuSelect.emit({originalEvent:t,data:i,index:t.rowIndex})}}}selectRange(t,i){let n,s;this.anchorRowIndex>i?(n=i,s=this.anchorRowIndex):this.anchorRowIndexl?(i=this.anchorRowIndex,n=this.rangeRowIndex):sb!=p);let u=this.dataKey?String(h.BF.resolveFieldData(c,this.dataKey)):null;u&&delete this.selectionKeys[u],this.onRowUnselect.emit({originalEvent:t,data:c,type:"row"})}}isSelected(t){return!(!t||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[h.BF.resolveFieldData(t,this.dataKey)]:Array.isArray(this.selection)?this.findIndexInSelection(t)>-1:this.equals(t,this.selection))}findIndexInSelection(t){let i=-1;if(this.selection&&this.selection.length)for(let n=0;nc!=l),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&delete this.selectionKeys[s]}else{if(!this.isRowSelectable(i,t.rowIndex))return;this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&(this.selectionKeys[s]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox(t,i){if(null!==this._selectAll)this.selectAllChange.emit({originalEvent:t,checked:i});else{const n=this.selectionPageOnly?this.dataToRender(this.processedData):this.processedData;let s=this.selectionPageOnly&&this._selection?this._selection.filter(l=>!n.some(r=>this.equals(l,r))):[];i&&(s=this.frozenValue?[...s,...this.frozenValue,...n]:[...s,...n],s=this.rowSelectable?s.filter((l,r)=>this.rowSelectable({data:l,index:r})):s),this._selection=s,this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:t,checked:i}),this.isStateful()&&this.saveState()}}equals(t,i){return"equals"===this.compareSelectionBy?t===i:h.BF.equals(t,i,this.dataKey)}filter(t,i,n){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(t)?this.filters[i]&&delete this.filters[i]:this.filters[i]={value:t,matchMode:n},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(t,i){this.filter(t,"global",i)}isFilterBlank(t){return null==t||!!("string"==typeof t&&0==t.trim().length||Array.isArray(t)&&0==t.length)}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let t;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");t=this.globalFilterFields||this.columns}this.filteredValue=[];for(let i=0;ithis.cd.detectChanges()}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.clearFilterValues(),this.filteredValue=null,this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}clearFilterValues(){for(const[,t]of Object.entries(this.filters))if(Array.isArray(t))for(let i of t)i.value=null;else t&&(t.value=null)}reset(){this.clear()}getExportHeader(t){return t[this.exportHeader]||t.header||t.field}exportCSV(t){let i,n="",s=this.columns;t&&t.selectionOnly?i=this.selection||[]:t&&t.allValues?i=this.value||[]:(i=this.filteredValue||this.value,this.frozenValue&&(i=i?[...this.frozenValue,...i]:this.frozenValue));for(let c=0;c{n+="\n";for(let u=0;u{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(d.D.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:t,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1}))}unbindDocumentEditListener(){this.documentEditListener&&(this.documentEditListener(),this.documentEditListener=null)}initRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));this.editingRowKeys[i]=!0}saveRowEdit(t,i){if(0===d.D.find(i,".ng-invalid.ng-dirty").length){let n=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[n]}}cancelRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[i]}toggleRow(t,i){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");let n=String(h.BF.resolveFieldData(t,this.dataKey));null!=this.expandedRowKeys[n]?(delete this.expandedRowKeys[n],this.onRowCollapse.emit({originalEvent:i,data:t})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[n]=!0,this.onRowExpand.emit({originalEvent:i,data:t})),i&&i.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(t){return!0===this.expandedRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isRowEditing(t){return!0===this.editingRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}onColumnResizeBegin(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;this.resizeColumnElement=t.target.parentElement,this.columnResizing=!0,this.lastResizerHelperX=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft,this.onColumnResize(t),t.preventDefault()}onColumnResize(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;d.D.addClass(this.containerViewChild?.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild?.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let t=this.resizeHelperViewChild?.nativeElement.offsetLeft-this.lastResizerHelperX,n=this.resizeColumnElement.offsetWidth+t;if(n>=(this.resizeColumnElement.style.minWidth.replace(/[^\d.]/g,"")||15)){if("fit"===this.columnResizeMode){let r=this.resizeColumnElement.nextElementSibling.offsetWidth-t;n>15&&r>15&&this.resizeTableCells(n,r)}else"expand"===this.columnResizeMode&&(this._initialColWidths=this._totalTableWidth(),this.setResizeTableWidth(this.tableViewChild?.nativeElement.offsetWidth+t+"px"),this.resizeTableCells(n,null));this.onColResize.emit({element:this.resizeColumnElement,delta:t}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",d.D.removeClass(this.containerViewChild?.nativeElement,"p-unselectable-text")}_totalTableWidth(){let t=[];const i=d.D.findSingle(this.containerViewChild.nativeElement,".p-datatable-thead");return d.D.find(i,"tr > th").forEach(s=>t.push(d.D.getOuterWidth(s))),t}onColumnDragStart(t,i){this.reorderIconWidth=d.D.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild?.nativeElement),this.reorderIconHeight=d.D.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild?.nativeElement),this.draggedColumn=i,t.dataTransfer.setData("text","b")}onColumnDragEnter(t,i){if(this.reorderableColumns&&this.draggedColumn&&i){t.preventDefault();let n=d.D.getOffset(this.containerViewChild?.nativeElement),s=d.D.getOffset(i);if(this.draggedColumn!=i){d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),d.D.indexWithinGroup(i,"preorderablecolumn");let c=s.left-n.left,u=s.left+i.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=s.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=s.top-n.top+i.offsetHeight+"px",t.pageX>u?(this.reorderIndicatorUpViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else t.dataTransfer.dropEffect="none"}}onColumnDragLeave(t){this.reorderableColumns&&this.draggedColumn&&t.preventDefault()}onColumnDrop(t,i){if(t.preventDefault(),this.draggedColumn){let n=d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),s=d.D.indexWithinGroup(i,"preorderablecolumn"),l=n!=s;if(l&&(s-n==1&&-1===this.dropPosition||n-s==1&&1===this.dropPosition)&&(l=!1),l&&sn&&-1===this.dropPosition&&(s-=1),l&&(h.BF.reorderArray(this.columns,n,s),this.onColReorder.emit({dragIndex:n,dropIndex:s,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.resizableColumns&&this.resizeColumnElement){let r="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();h.BF.reorderArray(r,n+1,s+1),this.updateStyleElement(r,n,null,null)}this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}resizeTableCells(t,i){let n=d.D.index(this.resizeColumnElement),s="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();this.updateStyleElement(s,n,t,i)}updateStyleElement(t,i,n,s){this.destroyStyleElement(),this.createStyleElement();let l="";t.forEach((r,c)=>{let p=c===i?n:s&&c===i+1?s:r;l+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${c+1}) {\n width: ${p}px !important; max-width: ${p}px !important;\n }\n `}),this.renderer.setProperty(this.styleElement,"innerHTML",l)}onRowDragStart(t,i){this.rowDragging=!0,this.draggedRowIndex=i,t.dataTransfer.setData("text","b")}onRowDragOver(t,i,n){if(this.rowDragging&&this.draggedRowIndex!==i){let s=d.D.getOffset(n).top,l=t.pageY,r=s+d.D.getOuterHeight(n)/2,c=n.previousElementSibling;lthis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;h.BF.reorderArray(this.value,this.draggedRowIndex,n),this.virtualScroll&&(this._value=[...this._value]),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:n})}this.onRowDragLeave(t,i),this.onRowDragEnd(t)}isEmpty(){let t=this.filteredValue||this.value;return null==t||0==t.length}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){if(!(0,m.UE)(this.platformId))throw new Error("Browser storage is not available in the server side.");switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}isStateful(){return null!=this.stateKey}saveState(){const t=this.getStorage();let i={};this.paginator&&(i.first=this.first,i.rows=this.rows),this.sortField&&(i.sortField=this.sortField,i.sortOrder=this.sortOrder),this.multiSortMeta&&(i.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(i.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(i),this.reorderableColumns&&this.saveColumnOrder(i),this.selection&&(i.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(i.expandedRowKeys=this.expandedRowKeys),t.setItem(this.stateKey,JSON.stringify(i)),this.onStateSave.emit(i)}clearState(){const t=this.getStorage();this.stateKey&&t.removeItem(this.stateKey)}restoreState(){const i=this.getStorage().getItem(this.stateKey),n=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(i){let l=JSON.parse(i,function(l,r){return"string"==typeof r&&n.test(r)?new Date(r):r});this.paginator&&(void 0!==this.first&&(this.first=l.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=l.rows,this.rowsChange.emit(this.rows))),l.sortField&&(this.restoringSort=!0,this._sortField=l.sortField,this._sortOrder=l.sortOrder),l.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=l.multiSortMeta),l.filters&&(this.restoringFilter=!0,this.filters=l.filters),this.resizableColumns&&(this.columnWidthsState=l.columnWidths,this.tableWidthState=l.tableWidth),l.expandedRowKeys&&(this.expandedRowKeys=l.expandedRowKeys),l.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(l.selection)),this.stateRestored=!0,this.onStateRestore.emit(l)}}saveColumnWidths(t){let i=[];d.D.find(this.containerViewChild?.nativeElement,".p-datatable-thead > tr > th").forEach(s=>i.push(d.D.getOuterWidth(s))),t.columnWidths=i.join(","),"expand"===this.columnResizeMode&&(t.tableWidth=d.D.getOuterWidth(this.tableViewChild?.nativeElement))}setResizeTableWidth(t){this.tableViewChild.nativeElement.style.width=t,this.tableViewChild.nativeElement.style.minWidth=t}restoreColumnWidths(){if(this.columnWidthsState){let t=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState&&this.setResizeTableWidth(this.tableWidthState+"px"),h.BF.isNotEmpty(t)){this.createStyleElement();let i="";t.forEach((n,s)=>{i+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${s+1}) {\n width: ${n}px !important; max-width: ${n}px !important\n }\n `}),this.styleElement.innerHTML=i}}}saveColumnOrder(t){if(this.columns){let i=[];this.columns.map(n=>{i.push(n.field||n.key)}),t.columnOrder=i}}restoreColumnOrder(){const i=this.getStorage().getItem(this.stateKey);if(i){let s=JSON.parse(i).columnOrder;if(s){let l=[];s.map(r=>{let c=this.findColumnByKey(r);c&&l.push(c)}),this.columnOrderStateRestored=!0,this.columns=l}}}findColumnByKey(t){if(!this.columns)return null;for(let i of this.columns)if(i.key===t||i.field===t)return i}createStyleElement(){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement)}getGroupRowsMeta(){return{field:this.groupRowsBy,order:this.groupRowsByOrder}}createResponsiveStyle(){(0,m.UE)(this.platformId)&&!this.responsiveStyleElement&&(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.head,this.responsiveStyleElement),this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",`\n @media screen and (max-width: ${this.breakpoint}) {\n #${this.id}-table > .p-datatable-thead > tr > th,\n #${this.id}-table > .p-datatable-tfoot > tr > td {\n display: none !important;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td {\n display: flex;\n width: 100% !important;\n align-items: center;\n justify-content: space-between;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td:not(:last-child) {\n border: 0 none;\n }\n\n #${this.id}.p-datatable-gridlines > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tbody > tr > td:last-child {\n border-top: 0;\n border-right: 0;\n border-left: 0;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td > .p-column-title {\n display: block;\n }\n }\n `))}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(ce),e.rXU(e.gRc),e.rXU(g.E),e.rXU(g.si),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-table"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(za,5),e.GBs(Ha,5),e.GBs(Ya,5),e.GBs($a,5),e.GBs(Aa,5),e.GBs(Xa,5),e.GBs(Ka,5),e.GBs(Ua,5),e.GBs(Qa,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.resizeHelperViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorUpViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorDownViewChild=s.first),e.mGM(s=e.lsd())&&(n.wrapperViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableHeaderViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableFooterViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first)}},hostAttrs:[1,"p-element"],inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",selectionPageOnly:"selectionPageOnly",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:"virtualScrollDelay",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",groupRowsByOrder:"groupRowsByOrder",responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",paginatorLocale:"paginatorLocale",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll",virtualRowHeight:"virtualRowHeight"},outputs:{contextMenuSelectionChange:"contextMenuSelectionChange",selectAllChange:"selectAllChange",selectionChange:"selectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[e.Jv_([ce]),e.OA$],decls:16,vars:22,consts:[["container",""],["wrapper",""],["buildInTable",""],["scroller",""],["table",""],["thead",""],["tfoot",""],["resizeHelper",""],["reorderIndicatorUp",""],["reorderIndicatorDown",""],[3,"ngStyle","ngClass"],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize","onLazyLoad",4,"ngIf"],[4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","p-datatable-reorder-indicator-up","style","display: none;",4,"ngIf"],["class","p-datatable-reorder-indicator-down","style","display: none;",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-datatable-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-datatable-loading-icon"],[4,"ngTemplateOutlet"],[1,"p-datatable-header"],["styleClass","p-paginator-top",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"onLazyLoad","items","columns","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize"],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"ngClass"],["role","rowgroup",1,"p-datatable-thead"],["role","rowgroup","class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody",3,"ngClass","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["role","rowgroup","class","p-datatable-scroller-spacer",3,"style",4,"ngIf"],["role","rowgroup","class","p-datatable-tfoot",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],["role","rowgroup",1,"p-datatable-scroller-spacer"],["role","rowgroup",1,"p-datatable-tfoot"],["styleClass","p-paginator-bottom",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],[1,"p-datatable-reorder-indicator-up",2,"display","none"],[1,"p-datatable-reorder-indicator-down",2,"display","none"]],template:function(i,n){1&i&&(e.j41(0,"div",10,0),e.DNE(2,ll,3,2,"div",11)(3,cl,2,1,"div",12)(4,wl,5,23,"p-paginator",13),e.j41(5,"div",14,1),e.DNE(7,Tl,3,17,"p-scroller",15)(8,Sl,2,7,"ng-container",16)(9,Vl,10,28,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(11,Kl,5,23,"p-paginator",17)(12,Ql,2,1,"div",18)(13,ql,2,0,"div",19)(14,er,4,2,"span",20)(15,or,4,2,"span",21),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.sMw(16,qa,n.rowHover||n.selectionMode,n.scrollable,n.scrollable&&"flex"===n.scrollHeight)),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",n.loading&&n.showLoader),e.R7$(),e.Y8G("ngIf",n.captionTemplate),e.R7$(),e.Y8G("ngIf",n.paginator&&("top"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngStyle",e.eq3(20,Wa,n.virtualScroll?"":n.scrollHeight)),e.R7$(2),e.Y8G("ngIf",n.virtualScroll),e.R7$(),e.Y8G("ngIf",!n.virtualScroll),e.R7$(3),e.Y8G("ngIf",n.paginator&&("bottom"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngIf",n.summaryTemplate),e.R7$(),e.Y8G("ngIf",n.resizableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,sa,g.Ei,we,Ve,Be,X.N,Gc],styles:["@layer primeng{.p-datatable{position:relative}.p-datatable>.p-datatable-wrapper{overflow:auto}.p-datatable-table{border-spacing:0px;width:100%}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-icon-wrapper{display:inline}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable>.p-datatable-wrapper{position:relative}.p-datatable-scrollable-table>.p-datatable-thead{position:sticky;top:0;z-index:2}.p-datatable-scrollable-table>.p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable-table>.p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit;z-index:1}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-flex-scrollable{display:flex;flex-direction:column;height:100%}.p-datatable-flex-scrollable>.p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header{position:sticky;z-index:2}.p-datatable-resizable-table>.p-datatable-thead>tr>th,.p-datatable-resizable-table>.p-datatable-tfoot>tr>td,.p-datatable-resizable-table>.p-datatable-tbody>tr>td{overflow:hidden;white-space:nowrap}.p-datatable-resizable-table>.p-datatable-thead>tr>th.p-resizable-column:not(.p-frozen-column){background-clip:padding-box;position:relative}.p-datatable-resizable-table-fit>.p-datatable-thead>tr>th.p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-menu-button,.p-column-filter-clear-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable-tbody>tr>td>.p-column-title{display:none}.p-datatable-scroller-spacer{display:flex}.p-datatable .p-scroller .p-scroller-loading{transform:none!important;min-height:0;position:sticky;top:0;left:0}}\n"],encapsulation:2})}return o})(),Gc=(()=>{class o{dt;tableService;cd;el;columns;template;get value(){return this._value}set value(t){this._value=t,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(t,i,n,s){this.dt=t,this.tableService=i,this.cd=n,this.el=s,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowGroupFooter(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n+1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowspan(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}calculateRowGroupSize(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=s,r=0;for(;s===l;){r++;let c=t[++n];if(!c)break;l=h.BF.resolveFieldData(c,this.dt.groupRowsBy)}return 1===r?null:r}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let t=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=t+"px"}}getScrollerOption(t,i){return this.dt.virtualScroll&&(i=i||this.scrollerOptions)?i[t]:null}getRowIndex(t){const i=this.dt.paginator?this.dt.first+t:t,n=this.getScrollerOption("getItemOptions");return n?n(i).index:i}static \u0275fac=function(i){return new(i||o)(e.rXU(Z),e.rXU(ce),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:[e.Mj6.None,"pTableBody","columns"],template:[e.Mj6.None,"pTableBodyTemplate","template"],value:"value",frozen:"frozen",frozenRows:"frozenRows",scrollerOptions:"scrollerOptions"},attrs:sr,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&e.DNE(0,gr,2,2,"ng-container",0)(1,kr,2,2,"ng-container",0)(2,Mr,2,2,"ng-container",0)(3,Gr,2,5,"ng-container",0)(4,Br,2,5,"ng-container",0),2&i&&(e.Y8G("ngIf",!n.dt.expandedRowTemplate),e.R7$(),e.Y8G("ngIf",n.dt.expandedRowTemplate&&!(n.frozen&&n.dt.frozenExpandedRowTemplate)),e.R7$(),e.Y8G("ngIf",n.dt.frozenExpandedRowTemplate&&n.frozen),e.R7$(),e.Y8G("ngIf",n.dt.loading),e.R7$(),e.Y8G("ngIf",n.dt.isEmpty()&&!n.dt.loading))},dependencies:[m.Sq,m.bT,m.T3],encapsulation:2})}return o})(),Vc=(()=>{class o{dt;field;pSortableColumnDisabled;sorted;sortOrder;subscription;constructor(t){this.dt=t,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(i=>{this.updateSortState()}))}ngOnInit(){this.isEnabled()&&this.updateSortState()}updateSortState(){this.sorted=this.dt.isSorted(this.field),this.sortOrder=this.sorted?1===this.dt.sortOrder?"ascending":"descending":"none"}onClick(t){this.isEnabled()&&!this.isFilterElement(t.target)&&(this.updateSortState(),this.dt.sort({originalEvent:t,field:this.field}),d.D.clearSelection())}onEnterKey(t){this.onClick(t),t.preventDefault()}isEnabled(){return!0!==this.pSortableColumnDisabled}isFilterElement(t){return this.isFilterElementIconOrButton(t)||this.isFilterElementIconOrButton(t?.parentElement?.parentElement)}isFilterElementIconOrButton(t){return d.D.hasClass(t,"pi-filter-icon")||d.D.hasClass(t,"p-column-filter-menu-button")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(Z))};static \u0275dir=e.FsC({type:o,selectors:[["","pSortableColumn",""]],hostAttrs:[1,"p-element"],hostVars:7,hostBindings:function(i,n){1&i&&e.bIt("click",function(l){return n.onClick(l)})("keydown.space",function(l){return n.onEnterKey(l)})("keydown.enter",function(l){return n.onEnterKey(l)}),2&i&&(e.BMQ("tabindex",n.isEnabled()?"0":null)("role","columnheader")("aria-sort",n.sortOrder),e.AVh("p-sortable-column",n.isEnabled())("p-highlight",n.sorted))},inputs:{field:[e.Mj6.None,"pSortableColumn","field"],pSortableColumnDisabled:"pSortableColumnDisabled"}})}return o})(),Bc=(()=>{class o{dt;cd;field;subscription;sortOrder;constructor(t,i){this.dt=t,this.cd=i,this.subscription=this.dt.tableService.sortSource$.subscribe(n=>{this.updateSortState()})}ngOnInit(){this.updateSortState()}onClick(t){t.preventDefault()}updateSortState(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){let t=this.dt.getSortMeta(this.field);this.sortOrder=t?t.order:0}this.cd.markForCheck()}getMultiSortMetaIndex(){let t=this.dt._multiSortMeta,i=-1;if(t&&"multiple"===this.dt.sortMode&&this.dt.showInitialSortBadge&&t.length>1)for(let n=0;n-1?t:t+1}isMultiSorted(){return"multiple"===this.dt.sortMode&&this.getMultiSortMetaIndex()>-1}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(Z),e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-sortIcon"]],hostAttrs:[1,"p-element"],inputs:{field:"field"},decls:3,vars:3,consts:[[4,"ngIf"],["class","p-sortable-column-icon",4,"ngIf"],["class","p-sortable-column-badge",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-sortable-column-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-sortable-column-badge"]],template:function(i,n){1&i&&e.DNE(0,jr,4,3,"ng-container",0)(1,Hr,2,4,"span",1)(2,Yr,2,1,"span",2),2&i&&(e.Y8G("ngIf",!n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.isMultiSorted()))},dependencies:()=>[m.bT,m.T3,Oe,Ne,Le],encapsulation:2,changeDetection:0})}return o})(),Oc=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,aa,H.u,oe,R.YN,M.tm,fa,Ki,se,Na,K,Ve,Be,X.N,Oe,Ne,Le,le,ja,Pa,g.Gg,K]})}return o})(),He=(()=>{class o{el;pFocusTrapDisabled=!1;constructor(t){this.el=t}onkeydown(t){if(!0!==this.pFocusTrapDisabled){t.preventDefault();const i=d.D.getNextFocusableElement(this.el.nativeElement,t.shiftKey);i&&(i.focus(),i.select?.())}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.tab",function(l){return n.onkeydown(l)})("keydown.shift.tab",function(l){return n.onkeydown(l)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}})}return o})(),Ye=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})(),$e=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ae=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Lc=["titlebar"],Nc=["content"],jc=["footer"],Pc=["*",[["p-header"]],[["p-footer"]]],zc=["*","p-header","p-footer"],Hc=(o,a,t,i,n,s,l,r,c,p)=>({"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":o,"p-dialog-mask-scrollblocker":a,"p-dialog-left":t,"p-dialog-right":i,"p-dialog-top":n,"p-dialog-top-left":s,"p-dialog-top-right":l,"p-dialog-bottom":r,"p-dialog-bottom-left":c,"p-dialog-bottom-right":p}),Yc=(o,a,t,i)=>({"p-dialog p-component":!0,"p-dialog-rtl":o,"p-dialog-draggable":a,"p-dialog-resizable":t,"p-dialog-maximized":i}),$c=(o,a)=>({transform:o,transition:a}),Ac=o=>({value:"visible",params:o}),Xc=()=>({"p-dialog-header-icon p-dialog-header-maximize p-link":!0}),Kc=()=>({"p-dialog-header-icon p-dialog-header-close p-link":!0});function Uc(o,a){1&o&&e.eu8(0)}function Qc(o,a){if(1&o&&(e.qex(0),e.DNE(1,Uc,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.headlessTemplate)}}function qc(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",15),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initResize(n))}),e.k0s()}}function Wc(o,a){if(1&o&&(e.j41(0,"span",21),e.EFF(1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy()),e.R7$(),e.JRh(t.header)}}function Zc(o,a){if(1&o&&(e.j41(0,"span",21),e.SdG(1,1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy())}}function Jc(o,a){1&o&&e.eu8(0)}function ed(o,a){if(1&o&&e.nrm(0,"span",25),2&o){const t=e.XpG(6);e.Y8G("ngClass",t.maximized?t.minimizeIcon:t.maximizeIcon)}}function td(o,a){1&o&&e.nrm(0,"WindowMaximizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function id(o,a){1&o&&e.nrm(0,"WindowMinimizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function nd(o,a){if(1&o&&(e.qex(0),e.DNE(1,td,1,1,"WindowMaximizeIcon",26)(2,id,1,1,"WindowMinimizeIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",!t.maximized&&!t.maximizeIconTemplate),e.R7$(),e.Y8G("ngIf",t.maximized&&!t.minimizeIconTemplate)}}function od(o,a){}function sd(o,a){1&o&&e.DNE(0,od,0,0,"ng-template")}function ad(o,a){if(1&o&&(e.qex(0),e.DNE(1,sd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.maximizeIconTemplate)}}function ld(o,a){}function rd(o,a){1&o&&e.DNE(0,ld,0,0,"ng-template")}function cd(o,a){if(1&o&&(e.qex(0),e.DNE(1,rd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.minimizeIconTemplate)}}function dd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",22),e.bIt("click",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())})("keydown.enter",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())}),e.DNE(1,ed,1,1,"span",23)(2,nd,3,2,"ng-container",24)(3,ad,2,1,"ng-container",24)(4,cd,2,1,"ng-container",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Xc)),e.R7$(),e.Y8G("ngIf",t.maximizeIcon&&!t.maximizeIconTemplate&&!t.minimizeIconTemplate),e.R7$(),e.Y8G("ngIf",!t.maximizeIcon),e.R7$(),e.Y8G("ngIf",!t.maximized),e.R7$(),e.Y8G("ngIf",t.maximized)}}function pd(o,a){if(1&o&&e.nrm(0,"span",30),2&o){const t=e.XpG(7);e.Y8G("ngClass",t.closeIcon)}}function ud(o,a){1&o&&e.nrm(0,"TimesIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-close-icon")}function hd(o,a){if(1&o&&(e.qex(0),e.DNE(1,pd,1,1,"span",29)(2,ud,1,1,"TimesIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.closeIcon),e.R7$(),e.Y8G("ngIf",!t.closeIcon)}}function md(o,a){}function _d(o,a){1&o&&e.DNE(0,md,0,0,"ng-template")}function gd(o,a){if(1&o&&(e.j41(0,"span"),e.DNE(1,_d,1,0,null,10),e.k0s()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate)}}function fd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))}),e.DNE(1,hd,3,2,"ng-container",24)(2,gd,2,1,"span",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Kc)),e.BMQ("aria-label",t.closeAriaLabel)("tabindex",t.closeTabindex),e.R7$(),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.closeIconTemplate)}}function bd(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",16,3),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initDrag(n))}),e.DNE(2,Wc,2,2,"span",17)(3,Zc,2,1,"span",17)(4,Jc,1,0,"ng-container",10),e.j41(5,"div",18),e.DNE(6,dd,5,6,"button",19)(7,fd,3,6,"button",20),e.k0s()()}if(2&o){const t=e.XpG(4);e.R7$(2),e.Y8G("ngIf",!t.headerFacet&&!t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.headerFacet),e.R7$(),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(2),e.Y8G("ngIf",t.maximizable),e.R7$(),e.Y8G("ngIf",t.closable)}}function vd(o,a){1&o&&e.eu8(0)}function yd(o,a){1&o&&e.eu8(0)}function Cd(o,a){if(1&o&&(e.j41(0,"div",31,4),e.SdG(2,2),e.DNE(3,yd,1,0,"ng-container",10),e.k0s()),2&o){const t=e.XpG(4);e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}function wd(o,a){if(1&o&&(e.DNE(0,qc,1,0,"div",11)(1,bd,8,5,"div",12),e.j41(2,"div",13,2),e.SdG(4),e.DNE(5,vd,1,0,"ng-container",10),e.k0s(),e.DNE(6,Cd,4,1,"div",14)),2&o){const t=e.XpG(3);e.Y8G("ngIf",t.resizable),e.R7$(),e.Y8G("ngIf",t.showHeader),e.R7$(),e.HbH(t.contentStyleClass),e.Y8G("ngClass","p-dialog-content")("ngStyle",t.contentStyle),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate),e.R7$(),e.Y8G("ngIf",t.footerFacet||t.footerTemplate)}}function Id(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",8,0),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.DNE(2,Qc,2,1,"ng-container",9)(3,wd,7,8,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG(2);e.HbH(i.styleClass),e.Y8G("ngClass",e.ziG(10,Yc,i.rtl,i.draggable,i.resizable,i.maximized))("ngStyle",i.style)("pFocusTrapDisabled",!1===i.focusTrap)("@animation",e.eq3(18,Ac,e.l_i(15,$c,i.transformOptions,i.transitionOptions))),e.BMQ("aria-labelledby",i.ariaLabelledBy)("aria-modal",!0),e.R7$(2),e.Y8G("ngIf",i.headlessTemplate)("ngIfElse",t)}}function xd(o,a){if(1&o&&(e.j41(0,"div",6),e.DNE(1,Id,5,20,"div",7),e.k0s()),2&o){const t=e.XpG();e.Aen(t.maskStyle),e.HbH(t.maskStyleClass),e.Y8G("ngClass",e.zJS(6,Hc,[t.modal,t.modal||t.blockScroll,"left"===t.position,"right"===t.position,"top"===t.position,"topleft"===t.position||"top-left"===t.position,"topright"===t.position||"top-right"===t.position,"bottom"===t.position,"bottomleft"===t.position||"bottom-left"===t.position,"bottomright"===t.position||"bottom-right"===t.position])),e.R7$(),e.Y8G("ngIf",t.visible)}}const Td=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{transition}}")]),kd=(0,v.lY)([(0,v.i0)("{{transition}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let Sd=(()=>{class o{document;platformId;el;renderer;zone;cd;config;header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(t){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(t){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(t){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(t){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="-1";minimizeIcon;maximizeIcon;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(t){t&&(this._style={...t},this.originalStyle=t)}get position(){return this._position}set position(t){switch(this._position=t,t){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}onShow=new e.bkB;onHide=new e.bkB;visibleChange=new e.bkB;onResizeInit=new e.bkB;onResizeEnd=new e.bkB;onDragEnd=new e.bkB;onMaximize=new e.bkB;headerFacet;footerFacet;templates;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;maximizeIconTemplate;closeIconTemplate;minimizeIconTemplate;headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy;documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=(0,h._Y)();_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.zone=l,this.cd=r,this.config=c,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this.headerTemplate=t.template;break;case"content":default:this.contentTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template;break;case"maximizeicon":this.maximizeIconTemplate=t.template;break;case"minimizeicon":this.minimizeIconTemplate=t.template;break;case"headless":this.headlessTemplate=t.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}getAriaLabelledBy(){return null!==this.header?(0,h._Y)()+"_header":null}focus(){let t=d.D.findSingle(this.container,"[autofocus]");t&&this.zone.runOutsideAngular(()=>{setTimeout(()=>t.focus(),5)})}close(t){this.visibleChange.emit(!1),t.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.close(t)})),this.modal&&d.D.blockBodyScroll()}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&d.D.unblockBodyScroll(),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?d.D.blockBodyScroll():d.D.unblockBodyScroll()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(h.Q$.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if((0,m.UE)(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let i in this.breakpoints)t+=`\n @media screen and (max-width: ${i}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[i]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t)}}initDrag(t){d.D.hasClass(t.target,"p-dialog-header-icon")||d.D.hasClass(t.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",d.D.addClass(this.document.body,"p-unselectable-text"))}onKeydown(t){if(this.focusTrap&&9===t.which){t.preventDefault();let i=d.D.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);t.shiftKey?-1==n||0===n?i[i.length-1].focus():i[n-1].focus():-1==n||n===i.length-1?i[0].focus():i[n+1].focus()}else i[0].focus()}}onDrag(t){if(this.dragging){const i=d.D.getOuterWidth(this.container),n=d.D.getOuterHeight(this.container),s=t.pageX-this.lastPageX,l=t.pageY-this.lastPageY,r=this.container.getBoundingClientRect(),c=getComputedStyle(this.container),p=parseFloat(c.marginLeft),u=parseFloat(c.marginTop),_=r.left+s-p,b=r.top+l-u,f=d.D.getViewport();this.container.style.position="fixed",this.keepInViewport?(_>=this.minX&&_+i=this.minY&&b+nparseInt(u))&&b.left+cparseInt(_))&&b.top+p{this.documentDragListener=this.renderer.listen(this.window,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.window,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.window,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.window,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&d.D.addClass(this.document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(d.D.removeClass(this.document.body,"p-overflow-hidden"),this.document.body.style.removeProperty("--scrollbar-width"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&d.D.removeClass(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&h.Q$.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dialog"]],contentQueries:function(i,n,s){if(1&i&&(e.wni(s,g.Y9,5),e.wni(s,g.wi,5),e.wni(s,g.Ei,4)),2&i){let l;e.mGM(l=e.lsd())&&(n.headerFacet=l.first),e.mGM(l=e.lsd())&&(n.footerFacet=l.first),e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Lc,5),e.GBs(Nc,5),e.GBs(jc,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.headerViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first),e.mGM(s=e.lsd())&&(n.footerViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:zc,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["footer",""],[3,"class","style","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["class","p-dialog-title",3,"id",4,"ngIf"],[1,"p-dialog-header-icons"],["role","button","type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title",3,"id"],["role","button","type","button","tabindex","-1","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-maximize-icon",3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],["type","button","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-close-icon",3,"ngClass",4,"ngIf"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"]],template:function(i,n){1&i&&(e.NAR(Pc),e.DNE(0,xd,2,17,"div",5)),2&i&&e.Y8G("ngIf",n.maskVisible)},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,He,E.n,F.A,$e,Ae],styles:["@layer primeng{.p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.sM)(Td)]),(0,v.kY)("visible => void",[(0,v.sM)(kd)])])]},changeDetection:0})}return o})(),Dd=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,Ye,E.Z,F.A,$e,Ae,g.Gg]})}return o})(),Xe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["EyeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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","M0.0535499 7.25213C0.208567 7.59162 2.40413 12.4 7 12.4C11.5959 12.4 13.7914 7.59162 13.9465 7.25213C13.9487 7.2471 13.9506 7.24304 13.952 7.24001C13.9837 7.16396 14 7.08239 14 7.00001C14 6.91762 13.9837 6.83605 13.952 6.76001C13.9506 6.75697 13.9487 6.75292 13.9465 6.74788C13.7914 6.4084 11.5959 1.60001 7 1.60001C2.40413 1.60001 0.208567 6.40839 0.0535499 6.74788C0.0512519 6.75292 0.0494023 6.75697 0.048 6.76001C0.0163137 6.83605 0 6.91762 0 7.00001C0 7.08239 0.0163137 7.16396 0.048 7.24001C0.0494023 7.24304 0.0512519 7.2471 0.0535499 7.25213ZM7 11.2C3.664 11.2 1.736 7.92001 1.264 7.00001C1.736 6.08001 3.664 2.80001 7 2.80001C10.336 2.80001 12.264 6.08001 12.736 7.00001C12.264 7.92001 10.336 11.2 7 11.2ZM5.55551 9.16182C5.98308 9.44751 6.48576 9.6 7 9.6C7.68891 9.59789 8.349 9.32328 8.83614 8.83614C9.32328 8.349 9.59789 7.68891 9.59999 7C9.59999 6.48576 9.44751 5.98308 9.16182 5.55551C8.87612 5.12794 8.47006 4.7947 7.99497 4.59791C7.51988 4.40112 6.99711 4.34963 6.49276 4.44995C5.98841 4.55027 5.52513 4.7979 5.16152 5.16152C4.7979 5.52513 4.55027 5.98841 4.44995 6.49276C4.34963 6.99711 4.40112 7.51988 4.59791 7.99497C4.7947 8.47006 5.12794 8.87612 5.55551 9.16182ZM6.2222 5.83594C6.45243 5.6821 6.7231 5.6 7 5.6C7.37065 5.6021 7.72553 5.75027 7.98762 6.01237C8.24972 6.27446 8.39789 6.62934 8.4 7C8.4 7.27689 8.31789 7.54756 8.16405 7.77779C8.01022 8.00802 7.79157 8.18746 7.53575 8.29343C7.27994 8.39939 6.99844 8.42711 6.72687 8.37309C6.4553 8.31908 6.20584 8.18574 6.01005 7.98994C5.81425 7.79415 5.68091 7.54469 5.6269 7.27312C5.57288 7.00155 5.6006 6.72006 5.70656 6.46424C5.81253 6.20842 5.99197 5.98977 6.2222 5.83594Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ke=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["RefreshIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.77051 5.96336C6.84324 5.99355 6.92127 6.00891 7.00002 6.00854C7.07877 6.00891 7.1568 5.99355 7.22953 5.96336C7.30226 5.93317 7.36823 5.88876 7.42357 5.83273L9.82101 3.43529C9.93325 3.32291 9.99629 3.17058 9.99629 3.01175C9.99629 2.85292 9.93325 2.70058 9.82101 2.5882L7.42357 0.190763C7.3687 0.131876 7.30253 0.0846451 7.22901 0.0518865C7.15549 0.019128 7.07612 0.00151319 6.99564 9.32772e-05C6.91517 -0.00132663 6.83523 0.0134773 6.7606 0.0436218C6.68597 0.0737664 6.61817 0.118634 6.56126 0.175548C6.50435 0.232462 6.45948 0.300257 6.42933 0.374888C6.39919 0.449519 6.38439 0.529456 6.38581 0.609933C6.38722 0.690409 6.40484 0.769775 6.4376 0.843296C6.47036 0.916817 6.51759 0.982986 6.57647 1.03786L7.95103 2.41241H6.99998C5.46337 2.41241 3.98969 3.02283 2.90314 4.10938C1.81659 5.19593 1.20618 6.66961 1.20618 8.20622C1.20618 9.74283 1.81659 11.2165 2.90314 12.3031C3.98969 13.3896 5.46337 14 6.99998 14C8.53595 13.9979 10.0084 13.3868 11.0945 12.3007C12.1806 11.2146 12.7917 9.74218 12.7938 8.20622C12.7938 8.04726 12.7306 7.89481 12.6182 7.78241C12.5058 7.67001 12.3534 7.60686 12.1944 7.60686C12.0355 7.60686 11.883 7.67001 11.7706 7.78241C11.6582 7.89481 11.5951 8.04726 11.5951 8.20622C11.5951 9.11504 11.3256 10.0035 10.8207 10.7591C10.3157 11.5148 9.59809 12.1037 8.75845 12.4515C7.9188 12.7993 6.99489 12.8903 6.10353 12.713C5.21217 12.5357 4.3934 12.0981 3.75077 11.4554C3.10813 10.8128 2.67049 9.99404 2.49319 9.10268C2.31589 8.21132 2.40688 7.2874 2.75468 6.44776C3.10247 5.60811 3.69143 4.89046 4.44709 4.38554C5.20275 3.88063 6.09116 3.61113 6.99998 3.61113H7.95098L6.57647 4.98564C6.46423 5.09802 6.40119 5.25035 6.40119 5.40918C6.40119 5.56801 6.46423 5.72035 6.57647 5.83273C6.63181 5.88876 6.69778 5.93317 6.77051 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ue=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchMinusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.0208 12.0411C4.83005 12.0411 3.66604 11.688 2.67596 11.0265C1.68589 10.3649 0.914216 9.42464 0.458534 8.32452C0.00285271 7.22441 -0.116374 6.01388 0.11593 4.84601C0.348235 3.67813 0.921637 2.60537 1.76363 1.76338C2.60562 0.921393 3.67838 0.34799 4.84625 0.115686C6.01412 -0.116618 7.22466 0.00260857 8.32477 0.45829C9.42488 0.913972 10.3652 1.68564 11.0267 2.67572C11.6883 3.66579 12.0414 4.8298 12.0414 6.02056C12.0395 7.41563 11.5542 8.76029 10.6783 9.8305L13.8244 12.9765C13.9367 13.089 13.9997 13.2414 13.9997 13.4003C13.9997 13.5592 13.9367 13.7116 13.8244 13.8241C13.769 13.8801 13.703 13.9245 13.6302 13.9548C13.5575 13.985 13.4794 14.0003 13.4006 14C13.3218 14.0003 13.2437 13.985 13.171 13.9548C13.0982 13.9245 13.0322 13.8801 12.9768 13.8241L9.83082 10.678C8.76059 11.5539 7.4159 12.0393 6.0208 12.0411ZM6.0208 1.20731C5.07199 1.20731 4.14449 1.48867 3.35559 2.0158C2.56669 2.54292 1.95181 3.29215 1.58872 4.16874C1.22562 5.04532 1.13062 6.00989 1.31572 6.94046C1.50083 7.87104 1.95772 8.72583 2.62863 9.39674C3.29954 10.0676 4.15433 10.5245 5.0849 10.7096C6.01548 10.8947 6.98005 10.7997 7.85663 10.4367C8.73322 10.0736 9.48244 9.45868 10.0096 8.66978C10.5367 7.88088 10.8181 6.95337 10.8181 6.00457C10.8181 4.73226 10.3126 3.51206 9.41297 2.6124C8.51331 1.71274 7.29311 1.20731 6.0208 1.20731ZM4.00591 6.60422H8.00362C8.16266 6.60422 8.31518 6.54104 8.42764 6.42859C8.5401 6.31613 8.60328 6.1636 8.60328 6.00456C8.60328 5.84553 8.5401 5.693 8.42764 5.58054C8.31518 5.46809 8.16266 5.40491 8.00362 5.40491H4.00591C3.84687 5.40491 3.69434 5.46809 3.58189 5.58054C3.46943 5.693 3.40625 5.84553 3.40625 6.00456C3.40625 6.1636 3.46943 6.31613 3.58189 6.42859C3.69434 6.54104 3.84687 6.60422 4.00591 6.60422Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchPlusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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.67596 11.0265C3.66604 11.688 4.83005 12.0411 6.0208 12.0411C6.81143 12.0411 7.59432 11.8854 8.32477 11.5828C8.86999 11.357 9.37802 11.0526 9.83311 10.6803L12.9768 13.8241C13.0322 13.8801 13.0982 13.9245 13.171 13.9548C13.2437 13.985 13.3218 14.0003 13.4006 14C13.4794 14.0003 13.5575 13.985 13.6302 13.9548C13.703 13.9245 13.769 13.8801 13.8244 13.8241C13.9367 13.7116 13.9997 13.5592 13.9997 13.4003C13.9997 13.2414 13.9367 13.089 13.8244 12.9765L10.6806 9.8328C11.0529 9.37773 11.3572 8.86972 11.5831 8.32452C11.8856 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0267 2.67572C10.3652 1.68564 9.42488 0.913972 8.32477 0.45829C7.22466 0.00260857 6.01412 -0.116618 4.84625 0.115686C3.67838 0.34799 2.60562 0.921393 1.76363 1.76338C0.921637 2.60537 0.348235 3.67813 0.11593 4.84601C-0.116374 6.01388 0.00285271 7.22441 0.458534 8.32452C0.914216 9.42464 1.68589 10.3649 2.67596 11.0265ZM3.35559 2.0158C4.14449 1.48867 5.07199 1.20731 6.0208 1.20731C7.29311 1.20731 8.51331 1.71274 9.41297 2.6124C10.3126 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5367 7.88088 10.0096 8.66978C9.48244 9.45868 8.73322 10.0736 7.85663 10.4367C6.98005 10.7997 6.01548 10.8947 5.0849 10.7096C4.15433 10.5245 3.29954 10.0676 2.62863 9.39674C1.95772 8.72583 1.50083 7.87104 1.31572 6.94046C1.13062 6.00989 1.22562 5.04532 1.58872 4.16874C1.95181 3.29215 2.56669 2.54292 3.35559 2.0158ZM6.00481 8.60309C5.84641 8.60102 5.69509 8.53718 5.58308 8.42517C5.47107 8.31316 5.40722 8.16183 5.40515 8.00344V6.60422H4.00591C3.84687 6.60422 3.69434 6.54104 3.58189 6.42859C3.46943 6.31613 3.40625 6.1636 3.40625 6.00456C3.40625 5.84553 3.46943 5.693 3.58189 5.58054C3.69434 5.46809 3.84687 5.40491 4.00591 5.40491H5.40515V4.00572C5.40515 3.84668 5.46833 3.69416 5.58079 3.5817C5.69324 3.46924 5.84577 3.40607 6.00481 3.40607C6.16385 3.40607 6.31637 3.46924 6.42883 3.5817C6.54129 3.69416 6.60447 3.84668 6.60447 4.00572V5.40491H8.00362C8.16266 5.40491 8.31518 5.46809 8.42764 5.58054C8.5401 5.693 8.60328 5.84553 8.60328 6.00456C8.60328 6.1636 8.5401 6.31613 8.42764 6.42859C8.31518 6.54104 8.16266 6.60422 8.00362 6.60422H6.60447V8.00344C6.60239 8.16183 6.53855 8.31316 6.42654 8.42517C6.31453 8.53718 6.1632 8.60102 6.00481 8.60309Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["UndoIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.77042 5.96336C6.84315 5.99355 6.92118 6.00891 6.99993 6.00854C7.07868 6.00891 7.15671 5.99355 7.22944 5.96336C7.30217 5.93317 7.36814 5.88876 7.42348 5.83273C7.53572 5.72035 7.59876 5.56801 7.59876 5.40918C7.59876 5.25035 7.53572 5.09802 7.42348 4.98564L6.04897 3.61113H6.99998C7.9088 3.61113 8.79722 3.88063 9.55288 4.38554C10.3085 4.89046 10.8975 5.60811 11.2453 6.44776C11.5931 7.2874 11.6841 8.21132 11.5068 9.10268C11.3295 9.99404 10.8918 10.8128 10.2492 11.4554C9.60657 12.0981 8.7878 12.5357 7.89644 12.713C7.00508 12.8903 6.08116 12.7993 5.24152 12.4515C4.40188 12.1037 3.68422 11.5148 3.17931 10.7591C2.67439 10.0035 2.4049 9.11504 2.4049 8.20622C2.4049 8.04726 2.34175 7.89481 2.22935 7.78241C2.11695 7.67001 1.9645 7.60686 1.80554 7.60686C1.64658 7.60686 1.49413 7.67001 1.38172 7.78241C1.26932 7.89481 1.20618 8.04726 1.20618 8.20622C1.20829 9.74218 1.81939 11.2146 2.90548 12.3007C3.99157 13.3868 5.46402 13.9979 6.99998 14C8.5366 14 10.0103 13.3896 11.0968 12.3031C12.1834 11.2165 12.7938 9.74283 12.7938 8.20622C12.7938 6.66961 12.1834 5.19593 11.0968 4.10938C10.0103 3.02283 8.5366 2.41241 6.99998 2.41241H6.04892L7.42348 1.03786C7.48236 0.982986 7.5296 0.916817 7.56235 0.843296C7.59511 0.769775 7.61273 0.690409 7.61415 0.609933C7.61557 0.529456 7.60076 0.449519 7.57062 0.374888C7.54047 0.300257 7.49561 0.232462 7.43869 0.175548C7.38178 0.118634 7.31398 0.0737664 7.23935 0.0436218C7.16472 0.0134773 7.08478 -0.00132663 7.00431 9.32772e-05C6.92383 0.00151319 6.84447 0.019128 6.77095 0.0518865C6.69742 0.0846451 6.63126 0.131876 6.57638 0.190763L4.17895 2.5882C4.06671 2.70058 4.00366 2.85292 4.00366 3.01175C4.00366 3.17058 4.06671 3.32291 4.17895 3.43529L6.57638 5.83273C6.63172 5.88876 6.69769 5.93317 6.77042 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Ed=["mask"],Rd=["previewButton"],Md=["closeButton"],Fd=(o,a)=>({height:o,width:a}),Gd=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),Vd=o=>({value:"visible",params:o});function Bd(o,a){1&o&&e.eu8(0)}function Od(o,a){if(1&o&&(e.qex(0),e.DNE(1,Bd,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.indicatorTemplate)}}function Ld(o,a){1&o&&e.nrm(0,"EyeIcon",11),2&o&&e.Y8G("styleClass","p-image-preview-icon")}function Nd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",8,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onImageClick())}),e.DNE(2,Od,2,1,"ng-container",9)(3,Ld,1,1,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG();e.Y8G("ngStyle",e.l_i(4,Fd,i.height+"px",i.width+"px")),e.BMQ("aria-label",i.zoomImageAriaLabel),e.R7$(2),e.Y8G("ngIf",i.indicatorTemplate)("ngIfElse",t)}}function jd(o,a){1&o&&e.nrm(0,"RefreshIcon")}function Pd(o,a){}function zd(o,a){1&o&&e.DNE(0,Pd,0,0,"ng-template")}function Hd(o,a){1&o&&e.nrm(0,"UndoIcon")}function Yd(o,a){}function $d(o,a){1&o&&e.DNE(0,Yd,0,0,"ng-template")}function Ad(o,a){1&o&&e.nrm(0,"SearchMinusIcon")}function Xd(o,a){}function Kd(o,a){1&o&&e.DNE(0,Xd,0,0,"ng-template")}function Ud(o,a){1&o&&e.nrm(0,"SearchPlusIcon")}function Qd(o,a){}function qd(o,a){1&o&&e.DNE(0,Qd,0,0,"ng-template")}function Wd(o,a){1&o&&e.nrm(0,"TimesIcon")}function Zd(o,a){}function Jd(o,a){1&o&&e.DNE(0,Zd,0,0,"ng-template")}function ep(o,a){if(1&o){const t=e.RV6();e.j41(0,"div"),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.j41(1,"img",17),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onPreviewImageClick())}),e.k0s()()}if(2&o){const t=e.XpG(2);e.Y8G("@animation",e.eq3(8,Vd,e.l_i(5,Gd,t.showTransitionOptions,t.hideTransitionOptions))),e.R7$(),e.Y8G("ngStyle",t.imagePreviewStyle()),e.BMQ("src",t.previewImageSrc?t.previewImageSrc:t.src,e.B4B)("srcset",t.previewImageSrcSet)("sizes",t.previewImageSizes)}}function tp(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",12,2),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onMaskClick())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onMaskKeydown(n))}),e.j41(2,"div",13),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.handleToolbarClick(n))}),e.j41(3,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateRight())}),e.DNE(4,jd,1,0,"RefreshIcon",15)(5,zd,1,0,null,10),e.k0s(),e.j41(6,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateLeft())}),e.DNE(7,Hd,1,0,"UndoIcon",15)(8,$d,1,0,null,10),e.k0s(),e.j41(9,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomOut())}),e.DNE(10,Ad,1,0,"SearchMinusIcon",15)(11,Kd,1,0,null,10),e.k0s(),e.j41(12,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomIn())}),e.DNE(13,Ud,1,0,"SearchPlusIcon",15)(14,qd,1,0,null,10),e.k0s(),e.j41(15,"button",14,3),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closePreview())}),e.DNE(17,Wd,1,0,"TimesIcon",15)(18,Jd,1,0,null,10),e.k0s()(),e.DNE(19,ep,2,10,"div",15),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-modal",t.maskVisible),e.R7$(3),e.BMQ("aria-label",t.rightAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateRightIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateRightIconTemplate),e.R7$(),e.BMQ("aria-label",t.leftAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateLeftIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateLeftIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomOutDisabled),e.BMQ("aria-label",t.zoomOutAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomOutIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomOutIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomInDisabled),e.BMQ("aria-label",t.zoomInAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomInIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomInIconTemplate),e.R7$(),e.BMQ("aria-label",t.closeAriaLabel()),e.R7$(2),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.previewVisible)}}let We=(()=>{class o{document;config;cd;el;imageClass;imageStyle;styleClass;style;src;srcSet;sizes;previewImageSrc;previewImageSrcSet;previewImageSizes;alt;width;height;loading;appendTo;preview=!1;showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";onShow=new e.bkB;onHide=new e.bkB;onImageError=new e.bkB;mask;previewButton;closeButton;templates;indicatorTemplate;rotateRightIconTemplate;rotateLeftIconTemplate;zoomOutIconTemplate;zoomInIconTemplate;closeIconTemplate;maskVisible=!1;previewVisible=!1;rotate=0;scale=1;previewClick=!1;container;wrapper;get isZoomOutDisabled(){return this.scale-this.zoomSettings.step<=this.zoomSettings.min}get isZoomInDisabled(){return this.scale+this.zoomSettings.step>=this.zoomSettings.max}zoomSettings={default:1,step:.1,max:1.5,min:.5};constructor(t,i,n,s){this.document=t,this.config=i,this.cd=n,this.el=s}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"indicator":default:this.indicatorTemplate=t.template;break;case"rotaterighticon":this.rotateRightIconTemplate=t.template;break;case"rotatelefticon":this.rotateLeftIconTemplate=t.template;break;case"zoomouticon":this.zoomOutIconTemplate=t.template;break;case"zoominicon":this.zoomInIconTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template}})}onImageClick(){this.preview&&(this.maskVisible=!0,this.previewVisible=!0,d.D.blockBodyScroll())}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}onMaskKeydown(t){"Escape"===t.code&&(this.onMaskClick(),setTimeout(()=>{d.D.focus(this.previewButton.nativeElement)},25),t.preventDefault())}onPreviewImageClick(){this.previewClick=!0}rotateRight(){this.rotate+=90,this.previewClick=!0}rotateLeft(){this.rotate-=90,this.previewClick=!0}zoomIn(){this.scale=this.scale+this.zoomSettings.step,this.previewClick=!0}zoomOut(){this.scale=this.scale-this.zoomSettings.step,this.previewClick=!0}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),setTimeout(()=>{d.D.focus(this.closeButton.nativeElement)},25);break;case"void":d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":h.Q$.clear(this.wrapper),this.maskVisible=!1,this.container=null,this.wrapper=null,this.cd.markForCheck(),this.onHide.emit({});break;case"visible":this.onShow.emit({})}}moveOnTop(){h.Q$.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}get zoomImageAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomImage:void 0}containerClass(){return{"p-image p-component":!0,"p-image-preview-container":this.preview}}handleToolbarClick(t){t.stopPropagation()}closePreview(){this.previewVisible=!1,this.rotate=0,this.scale=this.zoomSettings.default,d.D.unblockBodyScroll()}imageError(t){this.onImageError.emit(t)}rightAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateRight:void 0}leftAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateLeft:void 0}zoomInAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomIn:void 0}zoomOutAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomOut:void 0}closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}onKeydownHandler(t){this.previewVisible&&this.closePreview()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(g.r1),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["p-image"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Ed,5),e.GBs(Rd,5),e.GBs(Md,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.mask=s.first),e.mGM(s=e.lsd())&&(n.previewButton=s.first),e.mGM(s=e.lsd())&&(n.closeButton=s.first)}},hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.escape",function(l){return n.onKeydownHandler(l)},!1,e.EBC)},inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",srcSet:"srcSet",sizes:"sizes",previewImageSrc:"previewImageSrc",previewImageSrcSet:"previewImageSrcSet",previewImageSizes:"previewImageSizes",alt:"alt",width:"width",height:"height",loading:"loading",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:16,consts:[["previewButton",""],["defaultTemplate",""],["mask",""],["closeButton",""],[3,"ngClass","ngStyle"],[3,"error","ngStyle"],["type","button","class","p-image-preview-indicator","style","border: 'none';",3,"ngStyle","click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter","role","dialog","pFocusTrap","",3,"click","keydown",4,"ngIf"],["type","button",1,"p-image-preview-indicator",2,"border","'none'",3,"click","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"styleClass"],["role","dialog","pFocusTrap","",1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click","keydown"],[1,"p-image-toolbar",3,"click"],["type","button",1,"p-image-action","p-link",3,"click"],[4,"ngIf"],["type","button",1,"p-image-action","p-link",3,"click","disabled"],[1,"p-image-preview",3,"click","ngStyle"]],template:function(i,n){1&i&&(e.j41(0,"span",4)(1,"img",5),e.bIt("error",function(l){return n.imageError(l)}),e.k0s(),e.DNE(2,Nd,5,7,"button",6)(3,tp,20,19,"div",7),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass())("ngStyle",n.style),e.R7$(),e.HbH(n.imageClass),e.Y8G("ngStyle",n.imageStyle),e.BMQ("src",n.src,e.B4B)("srcset",n.srcSet)("sizes",n.sizes)("alt",n.alt)("width",n.width)("height",n.height)("loading",n.loading),e.R7$(),e.Y8G("ngIf",n.preview),e.R7$(),e.Y8G("ngIf",n.maskVisible))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,Ke,Xe,qe,Ue,Qe,F.A,He],styles:["@layer primeng{.p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block;line-height:0}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;outline:none;border:none;padding:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon.pi{font-size:1.5rem}.p-image-preview-icon.p-icon{scale:1.5}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex;z-index:1}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-action.p-link[disabled]{opacity:.5}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.iF)({transform:"scale(0.7)",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0})}return o})(),Ze=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,Ke,Xe,qe,Ue,Qe,F.A,Ye,g.Gg]})}return o})();var ip=I(4125);const np=["dt"],op=()=>[10,20,50,60,100,200],sp=()=>({width:"50rem"}),ap=()=>({"1250px":"75vw","800px":"90vw"});function lp(o,a){1&o&&(e.j41(0,"tr"),e.nrm(1,"th"),e.j41(2,"th"),e.EFF(3,"Doi"),e.k0s(),e.j41(4,"th",11),e.EFF(5," Title "),e.nrm(6,"p-sortIcon",12),e.k0s(),e.j41(7,"th",13),e.EFF(8," Keywords "),e.nrm(9,"p-sortIcon",14),e.k0s(),e.j41(10,"th"),e.EFF(11,"Cluster"),e.k0s(),e.j41(12,"th",15),e.EFF(13," Cited by Count "),e.nrm(14,"p-sortIcon",16),e.k0s(),e.j41(15,"th",17),e.EFF(16," Publication "),e.nrm(17,"p-sortIcon",18),e.k0s(),e.j41(18,"th",19),e.EFF(19," Referenced Works Count "),e.nrm(20,"p-sortIcon",20),e.k0s(),e.j41(21,"th",21),e.EFF(22," Relevance Score "),e.nrm(23,"p-sortIcon",22),e.k0s()())}function rp(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-button",27),e.bIt("onClick",function(){e.eBV(t);const n=e.XpG().$implicit,s=e.XpG();return e.Njj(s.openDoi(n.doi))}),e.k0s()}}function cp(o,a){if(1&o){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"p-button",23),e.bIt("onClick",function(){const n=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.openDialog(n.id))}),e.k0s()(),e.j41(3,"td"),e.DNE(4,rp,1,0,"p-button",24),e.k0s(),e.nrm(5,"td",25)(6,"td",26),e.j41(7,"td"),e.EFF(8),e.k0s(),e.j41(9,"td"),e.EFF(10),e.k0s(),e.j41(11,"td"),e.EFF(12),e.k0s(),e.j41(13,"td"),e.EFF(14),e.k0s(),e.j41(15,"td"),e.EFF(16),e.k0s()()}if(2&o){const t=a.$implicit;e.R7$(4),e.Y8G("ngIf",t.doi),e.R7$(),e.FS9("pTooltip",t.title),e.Y8G("innerHTML",t.title,e.npT),e.R7$(),e.FS9("pTooltip",t.keywords),e.Y8G("innerHTML",t.keywords,e.npT),e.R7$(2),e.Lme("",t.ismed_first?"Medicine":"Pasture"," ",t.cluster,""),e.R7$(2),e.JRh(t.cited_by_count),e.R7$(2),e.JRh(t.publication_date),e.R7$(2),e.JRh(t.referenced_works_count),e.R7$(2),e.JRh(t.relevance_score)}}function dp(o,a){if(1&o&&(e.j41(0,"a",28),e.nrm(1,"i",29),e.k0s()),2&o){const t=e.XpG();e.Y8G("href",null==t.source?null:t.source.doi,e.B4B)}}let de=(()=>{class o{constructor(t,i){this.sourceService=t,this.tableService=i,this.source=null,this.page=1,this.rows=10,this.limit=1e3,this.full=!0,this.isSorted=!1,this.showDialog=!1,this.dataSource=[],this.handleScroll=n=>{console.log("scroll",n),console.timeEnd("lastScrolled"),console.time("lastScrolled")}}ngOnInit(){this.tableService.table$.subscribe(t=>{this.dataSource=[],this.dataSource=t}),this.tableService.search$.subscribe(t=>{this.search=t})}announceSortChange2(t){let i={active:t.field,direction:1===t.order?"asc":"desc"};null==this.isSorted?(this.isSorted=!0,this.tableService.announceSortChange(i)):this.isSorted?this.isSorted=!1:this.isSorted||(this.isSorted=null,this.dataSource=[]),console.log(t.data=[])}applyFilter(t){this.tableService.applyFilter(t)}ngAfterViewInit(){this.tableService.getSourcesData(1)}hasMore(){return console.log(this.dataSource.length),!this.dataSource||this.dataSource.length{this.showDialog=!1,this.source=i,this.showDialog=!0},i=>{this.showDialog=!1,console.error("Erro ao obter dados da fonte:",i)})}openDoi(t){window.open(t,"_blanck")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ip.F),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-table"]],viewQuery:function(i,n){if(1&i&&e.GBs(np,5),2&i){let s;e.mGM(s=e.lsd())&&(n.dt=s.first)}},standalone:!0,features:[e.aNF],decls:21,vars:24,consts:[["dt",""],[3,"sortFunction","value","rows","customSort","paginator","rowsPerPageOptions"],["pTemplate","header"],["pTemplate","body"],[3,"visibleChange","modal","visible","breakpoints"],[3,"innerHTML"],["class","doiUrl","target","_blank",3,"href",4,"ngIf"],[1,"grid"],[1,"col-3"],["width","100%",3,"src","preview"],[1,"col-9"],["pSortableColumn","title"],["field","title"],["pSortableColumn","keywords"],["field","keywords"],["pSortableColumn","cited_by_count"],["field","cited_by_count"],["pSortableColumn","publication_date"],["field","publication_date"],["pSortableColumn","referenced_works_count"],["field","referenced_works_count"],["pSortableColumn","relevance_score"],["field","relevance_score"],["icon","pi pi-search","pTooltip","Open Abstract","severity","success",3,"onClick"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick",4,"ngIf"],[3,"pTooltip","innerHTML"],[1,"limited-width-text",3,"pTooltip","innerHTML"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick"],["target","_blank",1,"doiUrl",3,"href"],[1,"pi","pi-file"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"p-table",1,0),e.bIt("sortFunction",function(r){return e.eBV(s),e.Njj(n.announceSortChange2(r))}),e.DNE(2,lp,24,0,"ng-template",2)(3,cp,17,11,"ng-template",3),e.k0s(),e.j41(4,"p-dialog",4),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.showDialog,r)||(n.showDialog=r),e.Njj(r)}),e.nrm(5,"p-header",5),e.j41(6,"h3"),e.EFF(7),e.k0s(),e.j41(8,"p"),e.DNE(9,dp,2,1,"a",6),e.EFF(10),e.k0s(),e.j41(11,"h4"),e.EFF(12,"Keywords:"),e.k0s(),e.nrm(13,"p",5),e.j41(14,"div",7)(15,"div",8),e.nrm(16,"p-image",9),e.k0s(),e.j41(17,"div",10)(18,"h3"),e.EFF(19,"Abstract"),e.k0s(),e.nrm(20,"p",5),e.k0s()()()}2&i&&(e.Y8G("value",n.dataSource)("rows",n.rows)("customSort",!0)("paginator",!0)("rowsPerPageOptions",e.lJ4(21,op)),e.R7$(4),e.Aen(e.lJ4(22,sp)),e.Y8G("modal",!0),e.R50("visible",n.showDialog),e.Y8G("breakpoints",e.lJ4(23,ap)),e.R7$(),e.Y8G("innerHTML",null==n.source?null:n.source.title,e.npT),e.R7$(2),e.SpI("ID: ",null==n.source?null:n.source.id,""),e.R7$(2),e.Y8G("ngIf",null==n.source?null:n.source.doi),e.R7$(),e.LHq(" ",null==n.source?null:n.source.language," | ",null==n.source?null:n.source.type_crossref," | ",null!=n.source&&n.source.ismed_first?"Medicine":"Pasture"," Cluster:",null==n.source?null:n.source.cluster," "),e.R7$(3),e.Y8G("innerHTML",null==n.source?null:n.source.keywords,e.npT),e.R7$(3),e.Y8G("src",null==n.source?null:n.source.image)("preview",!0),e.R7$(4),e.Y8G("innerHTML",null==n.source?null:n.source.abstract,e.npT))},dependencies:[Oc,Z,g.Y9,g.Ei,Vc,Bc,m.MD,m.bT,Dd,Sd,Ze,We,M.tm,M.$n,j.S,j.m],styles:['@charset "UTF-8";.limited-width-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:200px}']})}return o})(),pp=(()=>{class o{constructor(t){this.tableService=t}ngOnInit(){this.tableService.setInfo("pasture")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-home"]],decls:1,vars:0,template:function(i,n){1&i&&e.nrm(0,"app-table")},dependencies:[de]})}return o})(),up=(()=>{class o{constructor(t,i){this.route=t,this.tableService=i,this.cluster_id=0}ngOnInit(){this.route.paramMap.subscribe(t=>{this.type_source=t.get("type_source"),this.tableService.setInfo(this.type_source,this.cluster_id)})}setCluster(t){this.cluster_id=t?39===this.cluster_id?0:this.cluster_id+1:0===this.cluster_id?39:this.cluster_id-1,this.tableService.setInfo(this.type_source,this.cluster_id)}getImageUrl(){let t=this.cluster_id.toString().padStart(3,"0"),i=this.type_source;return"medicine"===i&&(i="med"),`https://s3.lapig.iesa.ufg.br/public/bibiografia/${i}/${t}_keywords.png`}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(L.nX),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-cluster"]],standalone:!0,features:[e.aNF],decls:10,vars:7,consts:[[1,"grid"],[1,"col-3"],[1,"flex","justify-content-center","flex-wrap"],[1,"flex","align-items-center","justify-content-center"],["width","100%",3,"src","alt","preview"],[1,"flex","justify-content-evenly","w-full"],["icon","pi pi-step-backward",3,"click","rounded","outlined"],["icon","pi pi-step-forward",3,"click","rounded","outlined"],[1,"col-9"]],template:function(i,n){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.nrm(4,"p-image",4),e.k0s(),e.j41(5,"div",5)(6,"p-button",6),e.bIt("click",function(){return n.setCluster(!1)}),e.k0s(),e.j41(7,"p-button",7),e.bIt("click",function(){return n.setCluster(!0)}),e.k0s()()()(),e.j41(8,"div",8),e.nrm(9,"app-table"),e.k0s()()),2&i&&(e.R7$(4),e.Y8G("src",n.getImageUrl())("alt","Cluster_"+n.cluster_id)("preview",!0),e.R7$(2),e.Y8G("rounded",!0)("outlined",!0),e.R7$(),e.Y8G("rounded",!0)("outlined",!0))},dependencies:[M.tm,M.$n,de,Ze,We]})}return o})(),hp=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[L.iI.forChild([{path:"",data:{breadcrumb:"Grassland Literature Review"},component:pp},{path:"cluster/:type_source",data:{breadcrumb:"Type Source"},component:up}]),L.iI]})}return o})(),bp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();const vp=["*"];let yp=(()=>{class o{style;styleClass;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputGroup"]],hostAttrs:[1,"p-element","p-inputgroup"],inputs:{style:"style",styleClass:"styleClass"},ngContentSelectors:vp,decls:2,vars:3,consts:[[1,"p-inputgroup",3,"ngClass","ngStyle"]],template:function(i,n){1&i&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s()),2&i&&(e.Y8G("ngClass",n.styleClass)("ngStyle",n.style),e.BMQ("data-pc-name","inputgroup"))},dependencies:[m.YU,m.B3],encapsulation:2})}return o})(),Cp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();var Je=I(6150);let et=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["BarsIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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","M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var wp=I(3888),Ip=I(1584),Tp=I(9974),kp=I(5343),tt=I(4360),Sp=I(8750),Ep=I(5964);const Rp=["menubar"],Mp=(o,a)=>({"p-submenu-list":o,"p-menubar-root-list":a}),it=o=>({"p-menuitem-link":!0,"p-disabled":o}),Fp=()=>({exact:!1}),Gp=o=>({$implicit:o});function Vp(o,a){if(1&o&&e.nrm(0,"li",8),2&o){const t=e.XpG().$implicit,i=e.XpG();e.Aen(i.getItemProp(t,"style")),e.Y8G("ngClass",i.getSeparatorItemClass(t)),e.BMQ("id",i.getItemId(t))("data-pc-section","separator")}}function Bp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Op(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.BMQ("data-pc-section","label"),e.R7$(),e.SpI(" ",i.getItemLabel(t)," ")}}function Lp(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Np(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function jp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Pp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,jp,1,3,"AngleDownIcon",24)(2,Pp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Hp(o,a){}function Yp(o,a){1&o&&e.DNE(0,Hp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function $p(o,a){if(1&o&&(e.qex(0),e.DNE(1,zp,3,2,"ng-container",11)(2,Yp,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function Ap(o,a){if(1&o&&(e.j41(0,"a",15),e.DNE(1,Bp,1,5,"span",16)(2,Op,2,2,"span",17)(3,Lp,1,2,"ng-template",null,2,e.C5r)(5,Np,2,2,"span",18)(6,$p,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("target",n.getItemProp(i,"target"))("ngClass",e.eq3(12,it,n.getItemProp(i,"disabled"))),e.BMQ("href",n.getItemProp(i,"url"),e.B4B)("aria-hidden",!0)("data-automationid",n.getItemProp(i,"automationId"))("data-pc-section","action")("tabindex",-1),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function Xp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Kp(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.R7$(),e.JRh(i.getItemLabel(t))}}function Up(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Qp(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function qp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Wp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,qp,1,3,"AngleDownIcon",24)(2,Wp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Jp(o,a){}function eu(o,a){1&o&&e.DNE(0,Jp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function tu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Zp,3,2,"ng-container",11)(2,eu,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function iu(o,a){if(1&o&&(e.j41(0,"a",27),e.DNE(1,Xp,1,5,"span",16)(2,Kp,2,1,"span",17)(3,Up,1,2,"ng-template",null,3,e.C5r)(5,Qp,2,2,"span",18)(6,tu,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("routerLink",n.getItemProp(i,"routerLink"))("queryParams",n.getItemProp(i,"queryParams"))("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",n.getItemProp(i,"routerLinkActiveOptions")||e.lJ4(21,Fp))("target",n.getItemProp(i,"target"))("ngClass",e.eq3(22,it,n.getItemProp(i,"disabled")))("fragment",n.getItemProp(i,"fragment"))("queryParamsHandling",n.getItemProp(i,"queryParamsHandling"))("preserveFragment",n.getItemProp(i,"preserveFragment"))("skipLocationChange",n.getItemProp(i,"skipLocationChange"))("replaceUrl",n.getItemProp(i,"replaceUrl"))("state",n.getItemProp(i,"state")),e.BMQ("data-automationid",n.getItemProp(i,"automationId"))("tabindex",-1)("aria-hidden",!0)("data-pc-section","action"),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function nu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ap,7,14,"a",13)(2,iu,7,24,"a",14),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.getItemProp(t,"routerLink")),e.R7$(),e.Y8G("ngIf",i.getItemProp(t,"routerLink"))}}function ou(o,a){}function su(o,a){1&o&&e.DNE(0,ou,0,0,"ng-template")}function au(o,a){if(1&o&&(e.qex(0),e.DNE(1,su,1,0,null,28),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",i.itemTemplate)("ngTemplateOutletContext",e.eq3(2,Gp,t.item))}}function lu(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-menubarSub",29),e.bIt("itemClick",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.itemClick.emit(n))})("itemMouseEnter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onItemMouseEnter(n))}),e.k0s()}if(2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.Y8G("itemTemplate",i.itemTemplate)("items",t.items)("mobileActive",i.mobileActive)("autoDisplay",i.autoDisplay)("menuId",i.menuId)("activeItemPath",i.activeItemPath)("focusedItemId",i.focusedItemId)("level",i.level+1)}}function ru(o,a){if(1&o){const t=e.RV6();e.j41(0,"li",9,1)(2,"div",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemClick(n,s))})("mouseenter",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemMouseEnter({$event:n,processedItem:s}))}),e.DNE(3,nu,3,2,"ng-container",11)(4,au,2,4,"ng-container",11),e.k0s(),e.DNE(5,lu,1,8,"p-menubarSub",12),e.k0s()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.HbH(s.getItemProp(i,"styleClass")),e.Y8G("ngStyle",s.getItemProp(i,"style"))("ngClass",s.getItemClass(i))("tooltipOptions",s.getItemProp(i,"tooltipOptions")),e.BMQ("id",s.getItemId(i))("data-pc-section","menuitem")("data-p-highlight",s.isItemActive(i))("data-p-focused",s.isItemFocused(i))("data-p-disabled",s.isItemDisabled(i))("aria-label",s.getItemLabel(i))("aria-disabled",s.isItemDisabled(i)||void 0)("aria-haspopup",s.isItemGroup(i)&&!s.getItemProp(i,"to")?"menu":void 0)("aria-expanded",s.isItemGroup(i)?s.isItemActive(i):void 0)("aria-level",s.level+1)("aria-setsize",s.getAriaSetSize())("aria-posinset",s.getAriaPosInset(n)),e.R7$(2),e.BMQ("data-pc-section","content"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.isItemVisible(i)&&s.isItemGroup(i))}}function cu(o,a){if(1&o&&e.DNE(0,Vp,1,5,"li",6)(1,ru,6,21,"li",7),2&o){const t=a.$implicit,i=e.XpG();e.Y8G("ngIf",i.isItemVisible(t)&&i.getItemProp(t,"separator")),e.R7$(),e.Y8G("ngIf",i.isItemVisible(t)&&!i.getItemProp(t,"separator"))}}const du=["menubutton"],pu=["rootmenu"],uu=["*"],hu=o=>({"p-menubar p-component":!0,"p-menubar-mobile-active":o});function mu(o,a){1&o&&e.eu8(0)}function _u(o,a){if(1&o&&(e.j41(0,"div",8),e.DNE(1,mu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.startTemplate)}}function gu(o,a){1&o&&e.nrm(0,"BarsIcon")}function fu(o,a){}function bu(o,a){1&o&&e.DNE(0,fu,0,0,"ng-template")}function vu(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",10,2),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonClick(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonKeydown(n))}),e.DNE(2,gu,1,0,"BarsIcon",11)(3,bu,1,0,null,9),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-haspopup",!!(t.model.length&&t.model.length>0))("aria-expanded",t.mobileActive)("aria-controls",t.id)("aria-label",t.config.translation.aria.navigation)("data-pc-section","button"),e.R7$(2),e.Y8G("ngIf",!t.menuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.menuIconTemplate)}}function yu(o,a){1&o&&e.eu8(0)}function Cu(o,a){if(1&o&&(e.j41(0,"div",12),e.DNE(1,yu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.endTemplate)}}function wu(o,a){1&o&&(e.j41(0,"div",12),e.SdG(1),e.k0s())}let pe=(()=>{class o{autoHide;autoHideDelay;mouseLeaves=new P.B;mouseLeft$=this.mouseLeaves.pipe(function Dp(o){return(0,Tp.N)((a,t)=>{let i=!1,n=null,s=null;const l=()=>{if(s?.unsubscribe(),s=null,i){i=!1;const r=n;n=null,t.next(r)}};a.subscribe((0,tt._)(t,r=>{s?.unsubscribe(),i=!0,n=r,s=(0,tt._)(t,l,kp.l),(0,Sp.Tg)(o(r)).subscribe(s)},()=>{l(),t.complete()},void 0,()=>{n=s=null}))})}(()=>function xp(o=0,a=wp.E){return o<0&&(o=0),(0,Ip.O)(o,o,a)}(this.autoHideDelay)),(0,Ep.p)(t=>this.autoHide&&t));static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Iu=(()=>{class o{el;renderer;cd;menubarService;items;itemTemplate;root=!1;autoZIndex=!0;baseZIndex=0;mobileActive;autoDisplay;menuId;ariaLabel;ariaLabelledBy;level=0;focusedItemId;activeItemPath;itemClick=new e.bkB;itemMouseEnter=new e.bkB;menuFocus=new e.bkB;menuBlur=new e.bkB;menuKeydown=new e.bkB;menubarViewChild;mouseLeaveSubscriber;constructor(t,i,n,s){this.el=t,this.renderer=i,this.cd=n,this.menubarService=s}ngOnInit(){this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>{this.cd.markForCheck()})}onItemClick(t,i){this.getItemProp(i,"command",{originalEvent:t,item:i.item}),this.itemClick.emit({originalEvent:t,processedItem:i,isFocus:!0})}getItemProp(t,i,n=null){return t&&t.item?h.BF.getItemValue(t.item[i],n):void 0}getItemId(t){return t.item&&t.item?.id?t.item.id:`${this.menuId}_${t.key}`}getItemKey(t){return this.getItemId(t)}getItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem":!0,"p-highlight":this.isItemActive(t),"p-menuitem-active":this.isItemActive(t),"p-focus":this.isItemFocused(t),"p-disabled":this.isItemDisabled(t)}}getItemLabel(t){return this.getItemProp(t,"label")}getSeparatorItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem-separator":!0}}isItemVisible(t){return!1!==this.getItemProp(t,"visible")}isItemActive(t){if(this.activeItemPath)return this.activeItemPath.some(i=>i.key===t.key)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemFocused(t){return this.focusedItemId===this.getItemId(t)}isItemGroup(t){return h.BF.isNotEmpty(t.items)}getAriaSetSize(){return this.items.filter(t=>this.isItemVisible(t)&&!this.getItemProp(t,"separator")).length}getAriaPosInset(t){return t-this.items.slice(0,t).filter(i=>this.isItemVisible(i)&&this.getItemProp(i,"separator")).length+1}onItemMouseLeave(){this.menubarService.mouseLeaves.next(!0)}onItemMouseEnter(t){if(this.autoDisplay){this.menubarService.mouseLeaves.next(!1);const{event:i,processedItem:n}=t;this.itemMouseEnter.emit({originalEvent:i,processedItem:n})}}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(pe))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubarSub"]],viewQuery:function(i,n){if(1&i&&e.GBs(Rp,7),2&i){let s;e.mGM(s=e.lsd())&&(n.menubarViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{items:"items",itemTemplate:"itemTemplate",root:"root",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",mobileActive:"mobileActive",autoDisplay:"autoDisplay",menuId:"menuId",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",level:"level",focusedItemId:"focusedItemId",activeItemPath:"activeItemPath"},outputs:{itemClick:"itemClick",itemMouseEnter:"itemMouseEnter",menuFocus:"menuFocus",menuBlur:"menuBlur",menuKeydown:"menuKeydown"},decls:3,vars:11,consts:[["menubar",""],["listItem",""],["htmlLabel",""],["htmlRouteLabel",""],["role","menu",3,"focus","blur","keydown","ngClass","tabindex"],["ngFor","",3,"ngForOf"],["role","separator",3,"style","ngClass",4,"ngIf"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","class","tooltipOptions",4,"ngIf"],["role","separator",3,"ngClass"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","tooltipOptions"],[1,"p-menuitem-content",3,"click","mouseenter"],[4,"ngIf"],[3,"itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level","itemClick","itemMouseEnter",4,"ngIf"],["pRipple","",3,"target","ngClass",4,"ngIf"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["pRipple","",3,"target","ngClass"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[1,"p-menuitem-icon",3,"ngClass","ngStyle"],[1,"p-menuitem-text"],[1,"p-menuitem-text",3,"innerHTML"],[1,"p-menuitem-badge",3,"ngClass"],[4,"ngTemplateOutlet"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[3,"data-pc-section","aria-hidden"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"itemClick","itemMouseEnter","itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"ul",4,0),e.bIt("focus",function(r){return e.eBV(s),e.Njj(n.menuFocus.emit(r))})("blur",function(r){return e.eBV(s),e.Njj(n.menuBlur.emit(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.menuKeydown.emit(r))}),e.DNE(2,cu,2,2,"ng-template",5),e.k0s()}2&i&&(e.Y8G("ngClass",e.l_i(8,Mp,!n.root,n.root))("tabindex",0),e.BMQ("data-pc-section","menu")("aria-label",n.ariaLabel)("aria-labelledBy",n.ariaLabelledBy)("id",n.menuId)("aria-activedescendant",n.focusedItemId),e.R7$(2),e.Y8G("ngForOf",n.items))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,L.Wk,L.wQ,E.n,j.m,U,Q,o],encapsulation:2})}return o})(),xu=(()=>{class o{document;platformId;el;renderer;cd;config;menubarService;set model(t){this._model=t,this._processedItems=this.createProcessedItems(this._model||[])}get model(){return this._model}style;styleClass;autoZIndex=!0;baseZIndex=0;autoDisplay=!0;autoHide;autoHideDelay=100;id;ariaLabel;ariaLabelledBy;onFocus=new e.bkB;onBlur=new e.bkB;templates;menubutton;rootmenu;startTemplate;endTemplate;menuIconTemplate;submenuIconTemplate;itemTemplate;mobileActive;outsideClickListener;resizeListener;mouseLeaveSubscriber;dirty=!1;focused=!1;activeItemPath=(0,e.vPA)([]);number=(0,e.vPA)(0);focusedItemInfo=(0,e.vPA)({index:-1,level:0,parentKey:"",item:null});searchValue="";searchTimeout;_processedItems;_model;get visibleItems(){const t=this.activeItemPath().find(i=>i.key===this.focusedItemInfo().parentKey);return t?t.items:this.processedItems}get processedItems(){return(!this._processedItems||!this._processedItems.length)&&(this._processedItems=this.createProcessedItems(this.model||[])),this._processedItems}get focusedItemId(){const t=this.focusedItemInfo();return t.item&&t.item?.id?t.item.id:-1!==t.index?`${this.id}${h.BF.isNotEmpty(t.parentKey)?"_"+t.parentKey:""}_${t.index}`:null}constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.cd=l,this.config=r,this.menubarService=c,(0,e.QZP)(()=>{const p=this.activeItemPath();h.BF.isNotEmpty(p)?(this.bindOutsideClickListener(),this.bindResizeListener()):(this.unbindOutsideClickListener(),this.unbindResizeListener())})}ngOnInit(){this.menubarService.autoHide=this.autoHide,this.menubarService.autoHideDelay=this.autoHideDelay,this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>this.unbindOutsideClickListener()),this.id=this.id||(0,h._Y)()}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"start":this.startTemplate=t.template;break;case"end":this.endTemplate=t.template;break;case"menuicon":this.menuIconTemplate=t.template;break;case"submenuicon":this.submenuIconTemplate=t.template;break;default:this.itemTemplate=t.template}})}createProcessedItems(t,i=0,n={},s=""){const l=[];return t&&t.forEach((r,c)=>{const p=(""!==s?s+"_":"")+c,u={item:r,index:c,level:i,key:p,parent:n,parentKey:s};u.items=this.createProcessedItems(r.items,i+1,u,p),l.push(u)}),l}getItemProp(t,i){return t?h.BF.getItemValue(t[i]):void 0}menuButtonClick(t){this.toggle(t)}menuButtonKeydown(t){("Enter"===t.code||"Space"===t.code)&&this.menuButtonClick(t)}onItemClick(t){const{originalEvent:i,processedItem:n}=t,s=this.isProcessedItemGroup(n),l=h.BF.isEmpty(n.parent);if(this.isSelected(n)){const{index:c,key:p,level:u,parentKey:_,item:b}=n;this.activeItemPath.set(this.activeItemPath().filter(f=>p!==f.key&&p.startsWith(f.key))),this.focusedItemInfo.set({index:c,level:u,parentKey:_,item:b}),this.dirty=!l,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}else if(s)this.onItemChange(t);else{const c=l?n:this.activeItemPath().find(p=>""===p.parentKey);this.hide(i),this.changeFocusedItemIndex(i,c?c.index:-1),this.mobileActive=!1,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}}onItemMouseEnter(t){d.D.isTouchDevice()||this.mobileActive||this.onItemChange(t)}changeFocusedItemIndex(t,i){const n=this.findVisibleItem(i);if(this.focusedItemInfo().index!==i){const s=this.focusedItemInfo();this.focusedItemInfo.set({...s,item:n.item,index:i}),this.scrollInView()}}scrollInView(t=-1){const n=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedItemId}"]`);n&&n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"})}onItemChange(t){const{processedItem:i,isFocus:n}=t;if(h.BF.isEmpty(i))return;const{index:s,key:l,level:r,parentKey:c,items:p,item:u}=i,_=h.BF.isNotEmpty(p),b=this.activeItemPath().filter(f=>f.parentKey!==c&&f.parentKey!==l);_&&b.push(i),this.focusedItemInfo.set({index:s,level:r,parentKey:c,item:u}),this.activeItemPath.set(b),_&&(this.dirty=!0),n&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}toggle(t){this.mobileActive?(this.mobileActive=!1,h.Q$.clear(this.rootmenu.el.nativeElement),this.hide()):(this.mobileActive=!0,h.Q$.set("menu",this.rootmenu.el.nativeElement,this.config.zIndex.menu),setTimeout(()=>{this.show()},0)),this.cd.markForCheck(),this.bindOutsideClickListener(),t.preventDefault()}hide(t,i){this.mobileActive&&setTimeout(()=>{d.D.focus(this.menubutton.nativeElement)},0),this.activeItemPath.set([]),this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),i&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement),this.dirty=!1}show(){const t=this.findVisibleItem(this.findFirstFocusedItemIndex());this.focusedItemInfo.set({index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:t.item}),d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}onMenuFocus(t){this.focused=!0;const i=this.findVisibleItem(this.findFirstFocusedItemIndex()),n=-1!==this.focusedItemInfo().index?this.focusedItemInfo():{index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:i.item};this.focusedItemInfo.set(n),this.onFocus.emit(t)}onMenuBlur(t){this.focused=!1,this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),this.searchValue="",this.dirty=!1,this.onBlur.emit(t)}onKeyDown(t){const i=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"ArrowLeft":this.onArrowLeftKey(t);break;case"ArrowRight":this.onArrowRightKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Space":this.onSpaceKey(t);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!i&&h.BF.isPrintableCharacter(t.key)&&this.searchItems(t,t.key)}}findVisibleItem(t){return h.BF.isNotEmpty(this.visibleItems)?this.visibleItems[t]:null}findFirstFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findFirstItemIndex():t}findFirstItemIndex(){return this.visibleItems.findIndex(t=>this.isValidItem(t))}findSelectedItemIndex(){return this.visibleItems.findIndex(t=>this.isValidSelectedItem(t))}isProcessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}isSelected(t){return this.activeItemPath().some(i=>i.key===t.key)}isValidSelectedItem(t){return this.isValidItem(t)&&this.isSelected(t)}isValidItem(t){return!!t&&!this.isItemDisabled(t.item)&&!this.isItemSeparator(t.item)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemSeparator(t){return this.getItemProp(t,"separator")}isItemMatched(t){return this.isValidItem(t)&&this.getProccessedItemLabel(t).toLocaleLowerCase().startsWith(this.searchValue.toLocaleLowerCase())}isProccessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}searchItems(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedItemInfo().index?(n=this.visibleItems.slice(this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)),n=-1===n?this.visibleItems.slice(0,this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)):n+this.focusedItemInfo().index):n=this.visibleItems.findIndex(l=>this.isItemMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedItemInfo().index&&(n=this.findFirstFocusedItemIndex()),-1!==n&&this.changeFocusedItemIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}getProccessedItemLabel(t){return t?this.getItemLabel(t.item):void 0}getItemLabel(t){return this.getItemProp(t,"label")}onArrowDownKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&h.BF.isEmpty(i.parent))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowRightKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowRightKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&this.activeItemPath().find(s=>s.key===i.parentKey))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowDownKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowUpKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(h.BF.isEmpty(i.parent)){if(this.isProccessedItemGroup(i)){this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item});const l=this.findLastItemIndex();this.changeFocusedItemIndex(t,l)}}else{const s=this.activeItemPath().find(l=>l.key===i.parentKey);if(0===this.focusedItemInfo().index){this.focusedItemInfo.set({index:-1,parentKey:s?s.parentKey:"",item:i.item}),this.searchValue="",this.onArrowLeftKey(t);const l=this.activeItemPath().filter(r=>r.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(l)}else{const l=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,l)}}t.preventDefault()}onArrowLeftKey(t){const i=this.visibleItems[this.focusedItemInfo().index],n=i?this.activeItemPath().find(s=>s.key===i.parentKey):null;if(n){this.onItemChange({originalEvent:t,processedItem:n});const s=this.activeItemPath().filter(l=>l.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(s),t.preventDefault()}else{const s=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onHomeKey(t){this.changeFocusedItemIndex(t,this.findFirstItemIndex()),t.preventDefault()}onEndKey(t){this.changeFocusedItemIndex(t,this.findLastItemIndex()),t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}onEscapeKey(t){this.hide(t,!0),this.focusedItemInfo().index=this.findFirstFocusedItemIndex(),t.preventDefault()}onTabKey(t){if(-1!==this.focusedItemInfo().index){const i=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(i)&&this.onItemChange({originalEvent:t,processedItem:i})}this.hide()}onEnterKey(t){if(-1!==this.focusedItemInfo().index){const i=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${this.focusedItemId}"]`),n=i&&d.D.findSingle(i,'a[data-pc-section="action"]');n?n.click():i&&i.click();const s=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(s)&&(this.focusedItemInfo().index=this.findFirstFocusedItemIndex())}t.preventDefault()}findLastFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findLastItemIndex():t}findLastItemIndex(){return h.BF.findLastIndex(this.visibleItems,t=>this.isValidItem(t))}findPrevItemIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleItems.slice(0,t),n=>this.isValidItem(n)):-1;return i>-1?i:t}findNextItemIndex(t){const i=tthis.isValidItem(n)):-1;return i>-1?i+t+1:t}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.resizeListener||(this.resizeListener=this.renderer.listen(this.document.defaultView,"resize",t=>{d.D.isTouchDevice()||this.hide(t,!0),this.mobileActive=!1})))}bindOutsideClickListener(){(0,m.UE)(this.platformId)&&(this.outsideClickListener||(this.outsideClickListener=this.renderer.listen(this.document,"click",t=>{const i=this.rootmenu.el.nativeElement!==t.target&&!this.rootmenu.el.nativeElement.contains(t.target),n=this.mobileActive&&this.menubutton.nativeElement!==t.target&&!this.menubutton.nativeElement.contains(t.target);i&&(n?this.mobileActive=!1:this.hide())})))}unbindOutsideClickListener(){this.outsideClickListener&&(this.outsideClickListener(),this.outsideClickListener=null)}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe(),this.unbindOutsideClickListener(),this.unbindResizeListener()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(g.r1),e.rXU(pe))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(du,5),e.GBs(pu,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.menubutton=s.first),e.mGM(s=e.lsd())&&(n.rootmenu=s.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",style:"style",styleClass:"styleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",autoHide:"autoHide",autoHideDelay:"autoHideDelay",id:"id",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onFocus:"onFocus",onBlur:"onBlur"},features:[e.Jv_([pe])],ngContentSelectors:uu,decls:8,vars:24,consts:[["rootmenu",""],["legacy",""],["menubutton",""],[3,"ngClass","ngStyle"],["class","p-menubar-start",4,"ngIf"],["tabindex","0","role","button","class","p-menubar-button",3,"click","keydown",4,"ngIf"],[3,"itemClick","menuFocus","menuBlur","menuKeydown","itemMouseEnter","items","itemTemplate","menuId","root","baseZIndex","autoZIndex","mobileActive","autoDisplay","ariaLabel","ariaLabelledBy","focusedItemId","activeItemPath"],["class","p-menubar-end",4,"ngIf","ngIfElse"],[1,"p-menubar-start"],[4,"ngTemplateOutlet"],["tabindex","0","role","button",1,"p-menubar-button",3,"click","keydown"],[4,"ngIf"],[1,"p-menubar-end"]],template:function(i,n){if(1&i){const s=e.RV6();e.NAR(),e.j41(0,"div",3),e.DNE(1,_u,2,1,"div",4)(2,vu,4,7,"a",5),e.j41(3,"p-menubarSub",6,0),e.bIt("itemClick",function(r){return e.eBV(s),e.Njj(n.onItemClick(r))})("menuFocus",function(r){return e.eBV(s),e.Njj(n.onMenuFocus(r))})("menuBlur",function(r){return e.eBV(s),e.Njj(n.onMenuBlur(r))})("menuKeydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("itemMouseEnter",function(r){return e.eBV(s),e.Njj(n.onItemMouseEnter(r))}),e.k0s(),e.DNE(5,Cu,2,1,"div",7)(6,wu,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&i){const s=e.sdS(7);e.HbH(n.styleClass),e.Y8G("ngClass",e.eq3(22,hu,n.mobileActive))("ngStyle",n.style),e.BMQ("data-pc-section","root")("data-pc-name","menubar"),e.R7$(),e.Y8G("ngIf",n.startTemplate),e.R7$(),e.Y8G("ngIf",n.model&&n.model.length>0),e.R7$(),e.Y8G("items",n.processedItems)("itemTemplate",n.itemTemplate)("menuId",n.id)("root",!0)("baseZIndex",n.baseZIndex)("autoZIndex",n.autoZIndex)("mobileActive",n.mobileActive)("autoDisplay",n.autoDisplay)("ariaLabel",n.ariaLabel)("ariaLabelledBy",n.ariaLabelledBy)("focusedItemId",n.focused?n.focusedItemId:void 0)("activeItemPath",n.activeItemPath()),e.R7$(2),e.Y8G("ngIf",n.endTemplate)("ngIfElse",s)}},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,et,Iu],styles:["@layer primeng{.p-menubar{display:flex;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:2}.p-menubar .p-submenu-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-menubar .p-menubar-root-list .p-icon-wrapper,.p-menubar .p-submenu-list .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;align-self:center}.p-menubar-button{display:none;cursor:pointer;align-items:center;justify-content:center}}\n"],encapsulation:2,changeDetection:0})}return o})(),Tu=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,L.iI,E.Z,j.S,g.Gg,et,U,Q,L.iI,j.S,g.Gg]})}return o})();var ku=I(894);const Su=(o,a)=>({"ml-auto":o,"ml-2":a}),Du=o=>["pi",o];function Eu(o,a){}function Ru(o,a){if(1&o&&e.nrm(0,"p-badge",11),2&o){const t=e.XpG(2),i=t.$implicit,n=t.root;e.Y8G("ngClass",e.l_i(2,Su,!n,n))("value",i.badge)}}function Mu(o,a){if(1&o&&(e.j41(0,"span",12),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.shortcut)}}function Fu(o,a){if(1&o&&e.nrm(0,"i",13),2&o){const t=e.XpG(2).root;e.Y8G("ngClass",e.eq3(1,Du,t?"pi-angle-down ml-2":"pi-angle-right ml-auto"))}}function Gu(o,a){if(1&o&&(e.qex(0),e.j41(1,"a",6),e.nrm(2,"i"),e.j41(3,"span",7),e.EFF(4),e.k0s(),e.DNE(5,Ru,1,5,"p-badge",8)(6,Mu,2,1,"span",9)(7,Fu,1,3,"i",10),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit;e.R7$(),e.Y8G("routerLink",t.route),e.R7$(),e.HbH(t.icon),e.R7$(2),e.JRh(t.label),e.R7$(),e.Y8G("ngIf",t.badge),e.R7$(),e.Y8G("ngIf",t.shortcut),e.R7$(),e.Y8G("ngIf",t.items)}}function Vu(o,a){1&o&&e.DNE(0,Gu,8,7,"ng-container",5),2&o&&e.Y8G("ngIf",a.$implicit.route)}function Bu(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",14),e.EFF(1),e.k0s(),e.j41(2,"div",15)(3,"p-inputGroup"),e.nrm(4,"input",16,0),e.j41(6,"p-button",17),e.bIt("click",function(){e.eBV(t);const n=e.sdS(5),s=e.XpG();return e.Njj(s.applyFilter(n.value))}),e.nrm(7,"span",18),e.k0s()()()}if(2&o){const t=e.XpG();e.R7$(),e.SpI("Total: ",t.statisSource.total," ")}}let Ou=(()=>{class o{constructor(t,i){this.statusSource=t,this.tableService=i}ngOnInit(){this.statusSource.statusSource$.subscribe(t=>{this.statisSource=t}),this.items=[{label:"Full",icon:"pi pi-table",routerLink:["/"]},{label:"Cluster Pasture",icon:"pi pi-table",routerLink:["/pasture"]},{label:"Cluster Medicine",icon:"pi pi-table",routerLink:["/medicine"]}]}applyFilter(t){this.tableService.applyFilter(t)}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ku.d),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-head"]],standalone:!0,features:[e.aNF],decls:4,vars:1,consts:[["search",""],[3,"model"],["pTemplate","start"],["pTemplate","item"],["pTemplate","end"],[4,"ngIf"],[1,"p-menuitem-link",3,"routerLink"],[1,"ml-2"],[3,"ngClass","value",4,"ngIf"],["class","ml-auto border-1 surface-border border-round surface-100 text-xs p-1",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","value"],[1,"ml-auto","border-1","surface-border","border-round","surface-100","text-xs","p-1"],[3,"ngClass"],["p-menuitem-text","",1,"flex","align-items-center","p-menuitem-link"],[1,"flex","align-items-center","gap-2"],["type","text","pInputText","","placeholder","Search",1,"w-8rem","sm:w-auto"],[3,"click"],[1,"pi","pi-search"]],template:function(i,n){1&i&&(e.j41(0,"p-menubar",1),e.DNE(1,Eu,0,0,"ng-template",2)(2,Vu,1,1,"ng-template",3)(3,Bu,8,1,"ng-template",4),e.k0s()),2&i&&e.Y8G("model",n.items)},dependencies:[Cp,yp,g.Ei,Je.EJ,Je.Ex,Tu,xu,L.Wk,H.u,H.S,m.YU,E.Z,m.bT,M.tm,M.$n]})}return o})(),Lu=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[m.MD,hp,de,bp,Ou]})}return o})()}}]); \ No newline at end of file diff --git a/562.ae83378281918014.js b/562.ae83378281918014.js deleted file mode 100644 index 407571e..0000000 --- a/562.ae83378281918014.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[562],{8562:(Uu,me,I)=>{I.r(me),I.d(me,{HomeModule:()=>Ku});var m=I(177),L=I(2365),e=I(4438),A=I(139),R=I(4341),g=I(5779),M=I(1141),v=I(9969),d=I(1455),E=I(563),h=I(4420),x=I(461);let _e=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),fe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),X=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var F=I(1512);let be=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CalendarIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const lt=["container"],rt=["inputfield"],ct=["contentWrapper"],dt=[[["p-header"]],[["p-footer"]]],pt=["p-header","p-footer"],ut=(o,a,t,i,n)=>({"p-calendar":!0,"p-input-icon-right":o,"p-calendar-w-btn":a,"p-calendar-timeonly":t,"p-calendar-disabled":i,"p-focus":n}),ht=o=>({clickCallBack:o}),mt=(o,a,t,i,n,s)=>({"p-datepicker p-component":!0,"p-datepicker-inline":o,"p-disabled":a,"p-datepicker-timeonly":t,"p-datepicker-multiple-month":i,"p-datepicker-monthpicker":n,"p-datepicker-touch-ui":s}),ve=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),_t=o=>({value:"visibleTouchUI",params:o}),gt=o=>({value:"visible",params:o}),ie=o=>({$implicit:o}),ft=(o,a)=>({"p-datepicker-other-month":o,"p-datepicker-today":a}),ne=(o,a)=>({"p-highlight":o,"p-disabled":a}),ye=o=>[o];function bt(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",11),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.k0s()}2&o&&e.Y8G("styleClass","p-calendar-clear-icon")}function vt(o,a){}function yt(o,a){1&o&&e.DNE(0,vt,0,0,"ng-template")}function Ct(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.DNE(1,yt,1,0,null,13),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function wt(o,a){if(1&o&&(e.qex(0),e.DNE(1,bt,1,1,"TimesIcon",9)(2,Ct,2,1,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function It(o,a){if(1&o&&e.nrm(0,"span",16),2&o){const t=e.XpG(3);e.Y8G("ngClass",t.icon)}}function xt(o,a){1&o&&e.nrm(0,"CalendarIcon")}function Tt(o,a){}function kt(o,a){1&o&&e.DNE(0,Tt,0,0,"ng-template")}function St(o,a){if(1&o&&(e.qex(0),e.DNE(1,xt,1,0,"CalendarIcon",7)(2,kt,1,0,null,13),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.triggerIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.triggerIconTemplate)}}function Dt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(n){e.eBV(t),e.XpG();const s=e.sdS(1),l=e.XpG();return e.Njj(l.onButtonClick(n,s))}),e.DNE(1,It,1,1,"span",15)(2,St,3,2,"ng-container",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.disabled),e.BMQ("aria-label",t.iconButtonAriaLabel)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId),e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.Y8G("ngIf",!t.icon)}}function Et(o,a){if(1&o){const t=e.RV6();e.j41(0,"CalendarIcon",19),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onButtonClick(n))}),e.k0s()}}function Rt(o,a){1&o&&e.eu8(0)}function Mt(o,a){if(1&o&&(e.qex(0),e.DNE(1,Et,1,0,"CalendarIcon",17)(2,Rt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.inputIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.inputIconTemplate)("ngTemplateOutletContext",e.eq3(3,ht,t.onButtonClick.bind(t)))}}function Ft(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",6,1),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputKeydown(n))})("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onInputClick())})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUserInput(n))}),e.k0s(),e.DNE(2,wt,3,2,"ng-container",7)(3,Dt,3,6,"button",8)(4,Mt,3,5,"ng-container",7)}if(2&o){const t=e.XpG();e.HbH(t.inputStyleClass),e.Y8G("value",t.inputFieldValue)("readonly",t.readonlyInput)("ngStyle",t.inputStyle)("placeholder",t.placeholder||"")("disabled",t.disabled)("ngClass","p-inputtext p-component"),e.BMQ("id",t.inputId)("name",t.name)("required",t.required)("aria-required",t.required)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId)("aria-labelledby",t.ariaLabelledBy)("aria-label",t.ariaLabel)("tabindex",t.tabindex)("inputmode",t.touchUI?"off":null),e.R7$(2),e.Y8G("ngIf",t.showClear&&!t.disabled&&null!=t.value),e.R7$(),e.Y8G("ngIf",t.showIcon&&"button"===t.iconDisplay),e.R7$(),e.Y8G("ngIf","input"===t.iconDisplay&&t.showIcon)}}function Gt(o,a){1&o&&e.eu8(0)}function Vt(o,a){1&o&&e.nrm(0,"ChevronLeftIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-prev-icon")}function Bt(o,a){}function Ot(o,a){1&o&&e.DNE(0,Bt,0,0,"ng-template")}function Lt(o,a){if(1&o&&(e.j41(0,"span",41),e.DNE(1,Ot,1,0,null,13),e.k0s()),2&o){const t=e.XpG(5);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousIconTemplate)}}function Nt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",38),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onPrevButtonClick(n))}),e.DNE(1,Vt,1,1,"ChevronLeftIcon",35)(2,Lt,2,1,"span",39),e.k0s()}if(2&o){const t=e.XpG(4);e.BMQ("aria-label",t.prevIconAriaLabel),e.R7$(),e.Y8G("ngIf",!t.previousIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousIconTemplate)}}function jt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",42),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToMonthView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseMonth")),e.R7$(),e.SpI(" ",i.getMonthName(t.month)," ")}}function Pt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",43),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToYearView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseYear")),e.R7$(),e.SpI(" ",i.getYear(t)," ")}}function zt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(5);e.R7$(),e.Lme("",t.yearPickerValues()[0]," - ",t.yearPickerValues()[t.yearPickerValues().length-1],"")}}function Ht(o,a){1&o&&e.eu8(0)}function Yt(o,a){if(1&o&&(e.j41(0,"span",44),e.DNE(1,zt,2,2,"ng-container",7)(2,Ht,1,0,"ng-container",18),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",!t.decadeTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decadeTemplate)("ngTemplateOutletContext",e.eq3(3,ie,t.yearPickerValues))}}function $t(o,a){1&o&&e.nrm(0,"ChevronRightIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-next-icon")}function At(o,a){}function Xt(o,a){1&o&&e.DNE(0,At,0,0,"ng-template")}function Kt(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,Xt,1,0,null,13),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextIconTemplate)}}function Ut(o,a){if(1&o&&(e.j41(0,"th",51)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(5);e.R7$(2),e.JRh(t.getTranslation("weekHeader"))}}function Qt(o,a){if(1&o&&(e.j41(0,"th",52)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=a.$implicit;e.R7$(2),e.JRh(t)}}function qt(o,a){if(1&o&&(e.j41(0,"td",55)(1,"span",56),e.EFF(2),e.k0s()()),2&o){const t=e.XpG().index,i=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",i.weekNumbers[t]," ")}}function Wt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.day)}}function Zt(o,a){1&o&&e.eu8(0)}function Jt(o,a){if(1&o&&(e.qex(0),e.DNE(1,Zt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.dateTemplate)("ngTemplateOutletContext",e.eq3(2,ie,t))}}function ei(o,a){1&o&&e.eu8(0)}function ti(o,a){if(1&o&&(e.qex(0),e.DNE(1,ei,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.disabledDateTemplate)("ngTemplateOutletContext",e.eq3(2,ie,t))}}function ii(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.day," ")}}function ni(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"span",57),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(6);return e.Njj(l.onDateSelect(n,s))})("keydown",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3).index,r=e.XpG(3);return e.Njj(r.onDateCellKeydown(n,s,l))}),e.DNE(2,Wt,2,1,"ng-container",7)(3,Jt,2,4,"ng-container",7)(4,ti,2,4,"ng-container",7),e.k0s(),e.DNE(5,ii,2,1,"div",58),e.bVm()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngClass",e.l_i(5,ne,i.isSelected(t)&&t.selectable,!t.selectable)),e.R7$(),e.Y8G("ngIf",!i.dateTemplate&&(t.selectable||!i.disabledDateTemplate)),e.R7$(),e.Y8G("ngIf",t.selectable||!i.disabledDateTemplate),e.R7$(),e.Y8G("ngIf",!t.selectable),e.R7$(),e.Y8G("ngIf",i.isSelected(t))}}function oi(o,a){if(1&o&&(e.j41(0,"td",16),e.DNE(1,ni,6,8,"ng-container",7),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(6);e.Y8G("ngClass",e.l_i(3,ft,t.otherMonth,t.today)),e.BMQ("aria-label",t.day),e.R7$(),e.Y8G("ngIf",!t.otherMonth||i.showOtherMonths)}}function si(o,a){if(1&o&&(e.j41(0,"tr"),e.DNE(1,qt,3,1,"td",53)(2,oi,2,6,"td",54),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(5);e.R7$(),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",t)}}function ai(o,a){if(1&o&&(e.j41(0,"div",46)(1,"table",47)(2,"thead")(3,"tr"),e.DNE(4,Ut,3,1,"th",48)(5,Qt,3,1,"th",49),e.k0s()(),e.j41(6,"tbody"),e.DNE(7,si,3,2,"tr",50),e.k0s()()()),2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(4),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",i.weekDays),e.R7$(2),e.Y8G("ngForOf",t.dates)}}function li(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",27)(1,"div",28),e.DNE(2,Nt,3,3,"button",29),e.j41(3,"div",30),e.DNE(4,jt,2,3,"button",31)(5,Pt,2,3,"button",32)(6,Yt,3,5,"span",33),e.k0s(),e.j41(7,"button",34),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onNextButtonClick(n))}),e.DNE(8,$t,1,1,"ChevronRightIcon",35)(9,Kt,2,1,"span",36),e.k0s()(),e.DNE(10,ai,8,3,"div",37),e.k0s()}if(2&o){const t=a.index,i=e.XpG(3);e.R7$(2),e.Y8G("ngIf",0===t),e.R7$(2),e.Y8G("ngIf","date"===i.currentView),e.R7$(),e.Y8G("ngIf","year"!==i.currentView),e.R7$(),e.Y8G("ngIf","year"===i.currentView),e.R7$(),e.xc7("display",1===i.numberOfMonths||t===i.numberOfMonths-1?"inline-flex":"none"),e.BMQ("aria-label",i.nextIconAriaLabel),e.R7$(),e.Y8G("ngIf",!i.nextIconTemplate),e.R7$(),e.Y8G("ngIf",i.nextIconTemplate),e.R7$(),e.Y8G("ngIf","date"===i.currentView)}}function ri(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function ci(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",62),e.bIt("click",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthSelect(n,s))})("keydown",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthCellKeydown(n,s))}),e.EFF(1),e.DNE(2,ri,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.XpG(4);e.Y8G("ngClass",e.l_i(3,ne,n.isMonthSelected(i),n.isMonthDisabled(i))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",n.isMonthSelected(i))}}function di(o,a){if(1&o&&(e.j41(0,"div",60),e.DNE(1,ci,3,6,"span",61),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.monthPickerValues())}}function pi(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function ui(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",65),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearSelect(n,s))})("keydown",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearCellKeydown(n,s))}),e.EFF(1),e.DNE(2,pi,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngClass",e.l_i(3,ne,i.isYearSelected(t),i.isYearDisabled(t))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",i.isYearSelected(t))}}function hi(o,a){if(1&o&&(e.j41(0,"div",63),e.DNE(1,ui,3,6,"span",64),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.yearPickerValues())}}function mi(o,a){if(1&o&&(e.qex(0),e.j41(1,"div",23),e.DNE(2,li,11,10,"div",24),e.k0s(),e.DNE(3,di,2,1,"div",25)(4,hi,2,1,"div",26),e.bVm()),2&o){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.months),e.R7$(),e.Y8G("ngIf","month"===t.currentView),e.R7$(),e.Y8G("ngIf","year"===t.currentView)}}function _i(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function gi(o,a){}function fi(o,a){1&o&&e.DNE(0,gi,0,0,"ng-template")}function bi(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function vi(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function yi(o,a){}function Ci(o,a){1&o&&e.DNE(0,yi,0,0,"ng-template")}function wi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Ii(o,a){}function xi(o,a){1&o&&e.DNE(0,Ii,0,0,"ng-template")}function Ti(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function ki(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Si(o,a){}function Di(o,a){1&o&&e.DNE(0,Si,0,0,"ng-template")}function Ei(o,a){if(1&o&&(e.j41(0,"div",69)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(3);e.R7$(2),e.JRh(t.timeSeparator)}}function Ri(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Mi(o,a){}function Fi(o,a){1&o&&e.DNE(0,Mi,0,0,"ng-template")}function Gi(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function Vi(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Bi(o,a){}function Oi(o,a){1&o&&e.DNE(0,Bi,0,0,"ng-template")}function Li(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",74)(1,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(2,Ri,1,0,"ChevronUpIcon",7)(3,Fi,1,0,null,13),e.k0s(),e.j41(4,"span"),e.DNE(5,Gi,2,0,"ng-container",7),e.EFF(6),e.k0s(),e.j41(7,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(8,Vi,1,0,"ChevronDownIcon",7)(9,Oi,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("nextSecond")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentSecond<10),e.R7$(),e.JRh(t.currentSecond),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevSecond")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function Ni(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function ji(o,a){}function Pi(o,a){1&o&&e.DNE(0,ji,0,0,"ng-template")}function zi(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Hi(o,a){}function Yi(o,a){1&o&&e.DNE(0,Hi,0,0,"ng-template")}function $i(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",75)(1,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(2,Ni,1,0,"ChevronUpIcon",7)(3,Pi,1,0,null,13),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s(),e.j41(6,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(7,zi,1,0,"ChevronDownIcon",7)(8,Yi,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("am")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.JRh(t.pm?"PM":"AM"),e.R7$(),e.BMQ("aria-label",t.getTranslation("pm")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function Ai(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",66)(1,"div",67)(2,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(3,_i,1,0,"ChevronUpIcon",7)(4,fi,1,0,null,13),e.k0s(),e.j41(5,"span"),e.DNE(6,bi,2,0,"ng-container",7),e.EFF(7),e.k0s(),e.j41(8,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(9,vi,1,0,"ChevronDownIcon",7)(10,Ci,1,0,null,13),e.k0s()(),e.j41(11,"div",69)(12,"span"),e.EFF(13),e.k0s()(),e.j41(14,"div",70)(15,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(16,wi,1,0,"ChevronUpIcon",7)(17,xi,1,0,null,13),e.k0s(),e.j41(18,"span"),e.DNE(19,Ti,2,0,"ng-container",7),e.EFF(20),e.k0s(),e.j41(21,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(22,ki,1,0,"ChevronDownIcon",7)(23,Di,1,0,null,13),e.k0s()(),e.DNE(24,Ei,3,1,"div",71)(25,Li,10,8,"div",72)(26,$i,9,7,"div",73),e.k0s()}if(2&o){const t=e.XpG(2);e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextHour")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentHour<10),e.R7$(),e.JRh(t.currentHour),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevHour")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(3),e.JRh(t.timeSeparator),e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextMinute")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentMinute<10),e.R7$(),e.JRh(t.currentMinute),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevMinute")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf","12"==t.hourFormat)}}function Xi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",77)(1,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTodayButtonClick(n))}),e.k0s(),e.j41(2,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onClearButtonClick(n))}),e.k0s()()}if(2&o){const t=e.XpG(2);e.R7$(),e.Y8G("label",t.getTranslation("today"))("ngClass",e.eq3(4,ye,t.todayButtonStyleClass)),e.R7$(),e.Y8G("label",t.getTranslation("clear"))("ngClass",e.eq3(6,ye,t.clearButtonStyleClass))}}function Ki(o,a){1&o&&e.eu8(0)}function Ui(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",20,2),e.bIt("@overlayAnimation.start",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationStart(n))})("@overlayAnimation.done",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationDone(n))})("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayClick(n))}),e.SdG(2),e.DNE(3,Gt,1,0,"ng-container",13)(4,mi,5,3,"ng-container",7)(5,Ai,27,20,"div",21)(6,Xi,3,8,"div",22),e.SdG(7,1),e.DNE(8,Ki,1,0,"ng-container",13),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngStyle",t.panelStyle)("ngClass",e.l4e(14,mt,t.inline,t.disabled,t.timeOnly,t.numberOfMonths>1,"month"===t.view,t.touchUI))("@overlayAnimation",t.touchUI?e.eq3(24,_t,e.l_i(21,ve,t.showTransitionOptions,t.hideTransitionOptions)):e.eq3(29,gt,e.l_i(26,ve,t.showTransitionOptions,t.hideTransitionOptions)))("@.disabled",!0===t.inline),e.BMQ("aria-label",t.getTranslation("chooseDate"))("role",t.inline?null:"dialog")("aria-modal",t.inline?null:"true"),e.R7$(3),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",!t.timeOnly),e.R7$(),e.Y8G("ngIf",(t.showTime||t.timeOnly)&&"date"===t.currentView),e.R7$(),e.Y8G("ngIf",t.showButtonBar),e.R7$(2),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}const Qi={provide:R.kq,useExisting:(0,e.Rfq)(()=>qi),multi:!0};let qi=(()=>{class o{document;el;renderer;cd;zone;config;overlayService;iconDisplay="button";style;styleClass;inputStyle;inputId;name;inputStyleClass;placeholder;ariaLabelledBy;ariaLabel;iconAriaLabel;disabled;dateFormat;multipleSeparator=",";rangeSeparator="-";inline=!1;showOtherMonths=!0;selectOtherMonths;showIcon;icon;appendTo;readonlyInput;shortYearCutoff="+10";monthNavigator;yearNavigator;hourFormat="24";timeOnly;stepHour=1;stepMinute=1;stepSecond=1;showSeconds=!1;required;showOnFocus=!0;showWeek=!1;showClear=!1;dataType="date";selectionMode="single";maxDateCount;showButtonBar;todayButtonStyleClass="p-button-text";clearButtonStyleClass="p-button-text";autoZIndex=!0;baseZIndex=0;panelStyleClass;panelStyle;keepInvalid=!1;hideOnDateTimeSelect=!0;touchUI;timeSeparator=":";focusTrap=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";tabindex;get minDate(){return this._minDate}set minDate(t){this._minDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(t){this._disabledDates=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(t){this._disabledDays=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(t){if(this._yearRange=t,t){const i=t.split(":"),n=parseInt(i[0]),s=parseInt(i[1]);this.populateYearOptions(n,s)}}get showTime(){return this._showTime}set showTime(t){this._showTime=t,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get responsiveOptions(){return this._responsiveOptions}set responsiveOptions(t){this._responsiveOptions=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get numberOfMonths(){return this._numberOfMonths}set numberOfMonths(t){this._numberOfMonths=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(t){this._firstDayOfWeek=t,this.createWeekDays()}set locale(t){console.warn("Locale property has no effect, use new i18n API instead.")}get view(){return this._view}set view(t){this._view=t,this.currentView=this._view}get defaultDate(){return this._defaultDate}set defaultDate(t){if(this._defaultDate=t,this.initialized){const i=t||new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.initTime(i),this.createMonths(this.currentMonth,this.currentYear)}}onFocus=new e.bkB;onBlur=new e.bkB;onClose=new e.bkB;onSelect=new e.bkB;onClear=new e.bkB;onInput=new e.bkB;onTodayClick=new e.bkB;onClearClick=new e.bkB;onMonthChange=new e.bkB;onYearChange=new e.bkB;onClickOutside=new e.bkB;onShow=new e.bkB;templates;containerViewChild;inputfieldViewChild;set content(t){this.contentViewChild=t,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):!this.focus&&!this.inline&&this.initFocusableCell())}contentViewChild;value;dates;months;weekDays;currentMonth;currentYear;currentHour;currentMinute;currentSecond;pm;mask;maskClickListener;overlay;responsiveStyleElement;overlayVisible;onModelChange=()=>{};onModelTouched=()=>{};calendarElement;timePickerTimer;documentClickListener;animationEndListener;ticksTo1970;yearOptions;focus;isKeydown;filled;inputFieldValue=null;_minDate;_maxDate;_showTime;_yearRange;preventDocumentListener;dateTemplate;headerTemplate;footerTemplate;disabledDateTemplate;decadeTemplate;previousIconTemplate;nextIconTemplate;triggerIconTemplate;clearIconTemplate;decrementIconTemplate;incrementIconTemplate;inputIconTemplate;_disabledDates;_disabledDays;selectElement;todayElement;focusElement;scrollHandler;documentResizeListener;navigationState=null;isMonthNavigate;initialized;translationSubscription;_locale;_responsiveOptions;currentView;attributeSelector;panelId;_numberOfMonths=1;_firstDayOfWeek;_view="date";preventFocus;_defaultDate;window;get locale(){return this._locale}get iconButtonAriaLabel(){return this.iconAriaLabel?this.iconAriaLabel:this.getTranslation("chooseDate")}get prevIconAriaLabel(){return this.getTranslation("year"===this.currentView?"prevDecade":"month"===this.currentView?"prevYear":"prevMonth")}get nextIconAriaLabel(){return this.getTranslation("year"===this.currentView?"nextDecade":"month"===this.currentView?"nextYear":"nextMonth")}constructor(t,i,n,s,l,r,c){this.document=t,this.el=i,this.renderer=n,this.cd=s,this.zone=l,this.config=r,this.overlayService=c,this.window=this.document.defaultView}ngOnInit(){this.attributeSelector=(0,h._Y)(),this.panelId=this.attributeSelector+"_panel";const t=this.defaultDate||new Date;this.createResponsiveStyle(),this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),this.yearOptions=[],this.currentView=this.view,"date"===this.view&&(this.createWeekDays(),this.initTime(t),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays(),this.cd.markForCheck()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"date":default:this.dateTemplate=t.template;break;case"decade":this.decadeTemplate=t.template;break;case"disabledDate":this.disabledDateTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"inputicon":this.inputIconTemplate=t.template;break;case"previousicon":this.previousIconTemplate=t.template;break;case"nexticon":this.nextIconTemplate=t.template;break;case"triggericon":this.triggerIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"decrementicon":this.decrementIconTemplate=t.template;break;case"incrementicon":this.incrementIconTemplate=t.template;break;case"footer":this.footerTemplate=t.template}})}ngAfterViewInit(){this.inline&&(this.contentViewChild&&this.contentViewChild.nativeElement.setAttribute(this.attributeSelector,""),!this.disabled&&!this.inline&&(this.initFocusableCell(),1===this.numberOfMonths&&this.contentViewChild&&this.contentViewChild.nativeElement&&(this.contentViewChild.nativeElement.style.width=d.D.getOuterWidth(this.containerViewChild?.nativeElement)+"px")))}getTranslation(t){return this.config.getTranslation(t)}populateYearOptions(t,i){this.yearOptions=[];for(let n=t;n<=i;n++)this.yearOptions.push(n)}createWeekDays(){this.weekDays=[];let t=this.getFirstDateOfWeek(),i=this.getTranslation(g.Yj.DAY_NAMES_MIN);for(let n=0;n<7;n++)this.weekDays.push(i[t]),t=6==t?0:++t}monthPickerValues(){let t=[];for(let i=0;i<=11;i++)t.push(this.config.getTranslation("monthNamesShort")[i]);return t}yearPickerValues(){let t=[],i=this.currentYear-this.currentYear%10;for(let n=0;n<10;n++)t.push(i+n);return t}createMonths(t,i){this.months=this.months=[];for(let n=0;n11&&(s=s%11-1,l=i+1),this.months.push(this.createMonth(s,l))}}getWeekNumber(t){let i=new Date(t.getTime());i.setDate(i.getDate()+4-(i.getDay()||7));let n=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((n-i.getTime())/864e5)/7)+1}createMonth(t,i){let n=[],s=this.getFirstDayOfMonthIndex(t,i),l=this.getDaysCountInMonth(t,i),r=this.getDaysCountInPrevMonth(t,i),c=1,p=new Date,u=[],_=Math.ceil((l+s)/7);for(let b=0;b<_;b++){let f=[];if(0==b){for(let C=r-s+1;C<=r;C++){let y=this.getPreviousMonthAndYear(t,i);f.push({day:C,month:y.month,year:y.year,otherMonth:!0,today:this.isToday(p,C,y.month,y.year),selectable:this.isSelectable(C,y.month,y.year,!0)})}let w=7-f.length;for(let C=0;Cl){let C=this.getNextMonthAndYear(t,i);f.push({day:c-l,month:C.month,year:C.year,otherMonth:!0,today:this.isToday(p,c-l,C.month,C.year),selectable:this.isSelectable(c-l,C.month,C.year,!0)})}else f.push({day:c,month:t,year:i,today:this.isToday(p,c,t,i),selectable:this.isSelectable(c,t,i,!1)});c++}this.showWeek&&u.push(this.getWeekNumber(new Date(f[0].year,f[0].month,f[0].day))),n.push(f)}return{month:t,year:i,dates:n,weekNumbers:u}}initTime(t){this.pm=t.getHours()>11,this.showTime?(this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds(),this.setCurrentHourPM(t.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.decrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.incrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){this.currentYear--;let t=this.yearOptions;if(this.yearNavigator&&this.currentYeart[t.length-1]){let i=t[t.length-1]-t[0];this.populateYearOptions(t[0]+i,t[t.length-1]+i)}}switchToMonthView(t){this.setCurrentView("month"),t.preventDefault()}switchToYearView(t){this.setCurrentView("year"),t.preventDefault()}onDateSelect(t,i){!this.disabled&&i.selectable?(this.isMultipleSelection()&&this.isSelected(i)?(this.value=this.value.filter((n,s)=>!this.isDateEquals(n,i)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(i)&&this.selectDate(i),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{t.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),t.preventDefault()):t.preventDefault()}shouldSelectDate(t){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(t,i){"month"===this.view?this.onDateSelect(t,{year:this.currentYear,month:i,day:1,selectable:!0}):(this.currentMonth=i,this.createMonths(this.currentMonth,this.currentYear),this.setCurrentView("date"),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}))}onYearSelect(t,i){"year"===this.view?this.onDateSelect(t,{year:i,month:0,day:1,selectable:!0}):(this.currentYear=i,this.setCurrentView("month"),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}))}updateInputfield(){let t="";if(this.value)if(this.isSingleSelection())t=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let i=0;i11,this.currentHour=t>=12?12==t?12:t-12:0==t?12:t):this.currentHour=t}setCurrentView(t){this.currentView=t,this.cd.detectChanges(),this.alignOverlay()}selectDate(t){let i=new Date(t.year,t.month,t.day);if(this.showTime&&(i.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),i.setMinutes(this.currentMinute),i.setSeconds(this.currentSecond)),this.minDate&&this.minDate>i&&(i=this.minDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.maxDate&&this.maxDate=n.getTime()?s=i:(n=i,s=null),this.updateModel([n,s])}else this.updateModel([i,null]);this.onSelect.emit(i)}updateModel(t){if(this.value=t,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let i=null;Array.isArray(this.value)&&(i=this.value.map(n=>this.formatDateTime(n))),this.onModelChange(i)}}getFirstDayOfMonthIndex(t,i){let n=new Date;n.setDate(1),n.setMonth(t),n.setFullYear(i);let s=n.getDay()+this.getSundayIndex();return s>=7?s-7:s}getDaysCountInMonth(t,i){return 32-this.daylightSavingAdjust(new Date(i,t,32)).getDate()}getDaysCountInPrevMonth(t,i){let n=this.getPreviousMonthAndYear(t,i);return this.getDaysCountInMonth(n.month,n.year)}getPreviousMonthAndYear(t,i){let n,s;return 0===t?(n=11,s=i-1):(n=t-1,s=i),{month:n,year:s}}getNextMonthAndYear(t,i){let n,s;return 11===t?(n=0,s=i+1):(n=t+1,s=i),{month:n,year:s}}getSundayIndex(){let t=this.getFirstDateOfWeek();return t>0?7-t:0}isSelected(t){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,t);if(this.isMultipleSelection()){let i=!1;for(let n of this.value)if(i=this.isDateEquals(n,t),i)break;return i}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],t)||this.isDateEquals(this.value[1],t)||this.isDateBetween(this.value[0],this.value[1],t):this.isDateEquals(this.value[0],t):void 0}isComparable(){return null!=this.value&&"string"!=typeof this.value}isMonthSelected(t){if(this.isComparable()&&!this.isMultipleSelection()){const[i,n]=this.isRangeSelection()?this.value:[this.value,this.value],s=new Date(this.currentYear,t,1);return s>=i&&s<=(n??i)}return!1}isMonthDisabled(t){for(let i=1;i=l.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(t,i,n,s){return t.getDate()===i&&t.getMonth()===n&&t.getFullYear()===s}isSelectable(t,i,n,s){let l=!0,r=!0,c=!0,p=!0;return!(s&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>i||this.minDate.getMonth()===i&&this.minDate.getDate()>t))&&(l=!1),this.maxDate&&(this.maxDate.getFullYear()1||this.disabled}onPrevButtonClick(t){this.navigationState={backward:!0,button:!0},this.navBackward(t)}onNextButtonClick(t){this.navigationState={backward:!1,button:!0},this.navForward(t)}onContainerButtonKeydown(t){switch(t.which){case 9:if(this.inline||this.trapFocus(t),this.inline){const i=d.D.findSingle(this.containerViewChild?.nativeElement,".p-datepicker-header");t.target==i.children[i.children.length-1]&&this.initFocusableCell()}break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()}}onInputKeydown(t){this.isKeydown=!0,40===t.keyCode&&this.contentViewChild?this.trapFocus(t):27===t.keyCode?this.overlayVisible&&(this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()):13===t.keyCode?this.overlayVisible&&(this.overlayVisible=!1,t.preventDefault()):9===t.keyCode&&this.contentViewChild&&(d.D.getFocusableElements(this.contentViewChild.nativeElement).forEach(i=>i.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(t,i,n){const s=t.currentTarget,l=s.parentElement;switch(t.which){case 40:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.nextElementSibling;c?d.D.hasClass(c.children[r].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(t)):(c.children[r].children[0].tabIndex="0",c.children[r].children[0].focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 38:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.previousElementSibling;if(c){let p=c.children[r].children[0];d.D.hasClass(p,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(t)):(p.tabIndex="0",p.focus())}else this.navigationState={backward:!0},this.navBackward(t);t.preventDefault();break}case 37:{s.tabIndex="-1";let r=l.previousElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")||d.D.hasClass(c.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!0,n);t.preventDefault();break}case 39:{s.tabIndex="-1";let r=l.nextElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")?this.navigateToMonth(!1,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!1,n);t.preventDefault();break}case 13:case 32:this.onDateSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onMonthCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+3:l-3];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onMonthSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onYearCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+2:l-2];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onYearSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.trapFocus(t)}}navigateToMonth(t,i){if(t)if(1===this.numberOfMonths||0===i)this.navigationState={backward:!0},this.navBackward(event);else{let s=d.D.find(this.contentViewChild.nativeElement.children[i-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),l=s[s.length-1];l.tabIndex="0",l.focus()}else if(1===this.numberOfMonths||i===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let s=d.D.findSingle(this.contentViewChild.nativeElement.children[i+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");s.tabIndex="0",s.focus()}}updateFocus(){let t;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let i;i=d.D.find(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),i&&i.length>0&&(t=i[i.length-1])}else t=d.D.findSingle(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");t&&(t.tabIndex="0",t.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){const t=this.contentViewChild?.nativeElement;let i;if("month"===this.currentView){let n=d.D.find(t,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),s=d.D.findSingle(t,".p-monthpicker .p-monthpicker-month.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if("year"===this.currentView){let n=d.D.find(t,".p-yearpicker .p-yearpicker-year:not(.p-disabled)"),s=d.D.findSingle(t,".p-yearpicker .p-yearpicker-year.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-yearpicker .p-yearpicker-year.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if(i=d.D.findSingle(t,"span.p-highlight"),!i){let n=d.D.findSingle(t,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)");i=n||d.D.findSingle(t,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}i&&(i.tabIndex="0",!this.preventFocus&&(!this.navigationState||!this.navigationState.button)&&setTimeout(()=>{this.disabled||i.focus()},1),this.preventFocus=!1)}trapFocus(t){let i=d.D.getFocusableElements(this.contentViewChild.nativeElement);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);if(t.shiftKey)if(-1==n||0===n)if(this.focusTrap)i[i.length-1].focus();else{if(-1===n)return this.hideOverlay();if(0===n)return}else i[n-1].focus();else if(-1==n)if(this.timeOnly)i[0].focus();else{let s=0;for(let l=0;lr||this.minDate.getHours()===r&&(this.minDate.getMinutes()>i||this.minDate.getMinutes()===i&&this.minDate.getSeconds()>n))||this.maxDate&&c&&this.maxDate.toDateString()===c&&(this.maxDate.getHours()=24?n-24:n:"12"==this.hourFormat&&(this.currentHour<12&&n>11&&(s=!this.pm),n=n>=13?n-12:n),this.validateTime(n,this.currentMinute,this.currentSecond,s)&&(this.currentHour=n,this.pm=s),t.preventDefault()}onTimePickerElementMouseDown(t,i,n){this.disabled||(this.repeat(t,null,i,n),t.preventDefault())}onTimePickerElementMouseUp(t){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(t,i,n,s){let l=i||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(t,100,n,s),this.cd.markForCheck()},l),n){case 0:1===s?this.incrementHour(t):this.decrementHour(t);break;case 1:1===s?this.incrementMinute(t):this.decrementMinute(t);break;case 2:1===s?this.incrementSecond(t):this.decrementSecond(t)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(t){let i=this.currentHour-this.stepHour,n=this.pm;"24"==this.hourFormat?i=i<0?24+i:i:"12"==this.hourFormat&&(12===this.currentHour&&(n=!this.pm),i=i<=0?12+i:i),this.validateTime(i,this.currentMinute,this.currentSecond,n)&&(this.currentHour=i,this.pm=n),t.preventDefault()}incrementMinute(t){let i=this.currentMinute+this.stepMinute;i=i>59?i-60:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}decrementMinute(t){let i=this.currentMinute-this.stepMinute;i=i<0?60+i:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}incrementSecond(t){let i=this.currentSecond+this.stepSecond;i=i>59?i-60:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}decrementSecond(t){let i=this.currentSecond-this.stepSecond;i=i<0?60+i:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}updateTime(){let t=this.value;this.isRangeSelection()&&(t=this.value[1]||this.value[0]),this.isMultipleSelection()&&(t=this.value[this.value.length-1]),t=t?new Date(t.getTime()):new Date,t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond),this.isRangeSelection()&&(t=this.value[1]?[this.value[0],t]:[t,null]),this.isMultipleSelection()&&(t=[...this.value.slice(0,-1),t]),this.updateModel(t),this.onSelect.emit(t),this.updateInputfield()}toggleAMPM(t){const i=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,i)&&(this.pm=i,this.updateTime()),t.preventDefault()}onUserInput(t){if(!this.isKeydown)return;this.isKeydown=!1;let i=t.target.value;try{let n=this.parseValueFromString(i);this.isValidSelection(n)?(this.updateModel(n),this.updateUI()):this.keepInvalid&&this.updateModel(n)}catch{this.updateModel(this.keepInvalid?i:null)}this.filled=null!=i&&i.length,this.onInput.emit(t)}isValidSelection(t){let i=!0;return this.isSingleSelection()?this.isSelectable(t.getDate(),t.getMonth(),t.getFullYear(),!1)||(i=!1):t.every(n=>this.isSelectable(n.getDate(),n.getMonth(),n.getFullYear(),!1))&&this.isRangeSelection()&&(i=t.length>1&&t[1]>t[0]),i}parseValueFromString(t){if(!t||0===t.trim().length)return null;let i;if(this.isSingleSelection())i=this.parseDateTime(t);else if(this.isMultipleSelection()){let n=t.split(this.multipleSeparator);i=[];for(let s of n)i.push(this.parseDateTime(s.trim()))}else if(this.isRangeSelection()){let n=t.split(" "+this.rangeSeparator+" ");i=[];for(let s=0;s{this.disableModality(),this.overlayVisible=!1}),this.renderer.appendChild(this.document.body,this.mask),d.D.blockBodyScroll())}disableModality(){this.mask&&(d.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyMask.bind(this))))}destroyMask(){if(!this.mask)return;this.renderer.removeChild(this.document.body,this.mask);let i,t=this.document.body.children;for(let n=0;n{const _=n+1{let f=""+_;if(s(u))for(;f.lengths(u)?f[_]:b[_];let c="",p=!1;if(t)for(n=0;n11&&12!=n&&(n-=12),i+="12"==this.hourFormat&&0===n?12:n<10?"0"+n:n,i+=":",i+=s<10?"0"+s:s,this.showSeconds&&(i+=":",i+=l<10?"0"+l:l),"12"==this.hourFormat&&(i+=t.getHours()>11?" PM":" AM"),i}parseTime(t){let i=t.split(":");if(i.length!==(this.showSeconds?3:2))throw"Invalid time";let s=parseInt(i[0]),l=parseInt(i[1]),r=this.showSeconds?parseInt(i[2]):null;if(isNaN(s)||isNaN(l)||s>23||l>59||"12"==this.hourFormat&&s>12||this.showSeconds&&(isNaN(r)||r>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==s&&this.pm?s+=12:!this.pm&&12===s&&(s-=12)),{hour:s,minute:l,second:r}}parseDate(t,i){if(null==i||null==t)throw"Invalid arguments";if(""===(t="object"==typeof t?t.toString():t+""))return null;let n,s,l,w,r=0,c="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),p=-1,u=-1,_=-1,b=-1,f=!1,C=S=>{let D=n+1{let D=C(S),G="@"===S?14:"!"===S?20:"y"===S&&D?4:"o"===S?3:2,te=new RegExp("^\\d{"+("y"===S?G:1)+","+G+"}"),O=t.substring(r).match(te);if(!O)throw"Missing number at position "+r;return r+=O[0].length,parseInt(O[0],10)},T=(S,D,G)=>{let B=-1,te=C(S)?G:D,O=[];for(let V=0;V-(V[1].length-$[1].length));for(let V=0;V{if(t.charAt(r)!==i.charAt(n))throw"Unexpected literal at position "+r;r++};for("month"===this.view&&(_=1),n=0;n-1)for(u=1,_=b;s=this.getDaysCountInMonth(p,u-1),!(_<=s);)u++,_-=s;if("year"===this.view&&(u=-1===u?1:u,_=-1===_?1:_),w=this.daylightSavingAdjust(new Date(p,u-1,_)),w.getFullYear()!==p||w.getMonth()+1!==u||w.getDate()!==_)throw"Invalid date";return w}daylightSavingAdjust(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(t){const i=new Date,n={day:i.getDate(),month:i.getMonth(),year:i.getFullYear(),otherMonth:i.getMonth()!==this.currentMonth||i.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.createMonths(i.getMonth(),i.getFullYear()),this.onDateSelect(t,n),this.onTodayClick.emit(t)}onClearButtonClick(t){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(t)}createResponsiveStyle(){if(this.numberOfMonths>1&&this.responsiveOptions){this.responsiveStyleElement||(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.body,this.responsiveStyleElement));let t="";if(this.responsiveOptions){let i=[...this.responsiveOptions].filter(n=>!(!n.breakpoint||!n.numMonths)).sort((n,s)=>-1*n.breakpoint.localeCompare(s.breakpoint,void 0,{numeric:!0}));for(let n=0;n{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"mousedown",i=>{this.isOutsideClicked(i)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(i),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.containerViewChild?.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(t){return!(this.el.nativeElement.isSameNode(t.target)||this.isNavIconClicked(t)||this.el.nativeElement.contains(t.target)||this.overlay&&this.overlay.contains(t.target))}isNavIconClicked(t){return d.D.hasClass(t.target,"p-datepicker-prev")||d.D.hasClass(t.target,"p-datepicker-prev-icon")||d.D.hasClass(t.target,"p-datepicker-next")||d.D.hasClass(t.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!d.D.isTouchDevice()&&this.hideOverlay()}onOverlayHide(){this.currentView=this.view,this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&h.Q$.clear(this.overlay),this.destroyResponsiveStyleElement(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.r1),e.rXU(g.si))};static \u0275cmp=e.VBU({type:o,selectors:[["p-calendar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(lt,5),e.GBs(rt,5),e.GBs(ct,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.inputfieldViewChild=s.first),e.mGM(s=e.lsd())&&(n.content=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focus)("p-calendar-clearable",n.showClear&&!n.disabled)},inputs:{iconDisplay:"iconDisplay",style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",iconAriaLabel:"iconAriaLabel",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",showClear:"showClear",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",responsiveOptions:"responsiveOptions",numberOfMonths:"numberOfMonths",firstDayOfWeek:"firstDayOfWeek",locale:"locale",view:"view",defaultDate:"defaultDate"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[e.Jv_([Qi])],ngContentSelectors:pt,decls:4,vars:12,consts:[["container",""],["inputfield",""],["contentWrapper",""],[3,"ngClass","ngStyle"],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","role","combobox","aria-autocomplete","none","aria-haspopup","dialog","autocomplete","off",3,"focus","keydown","click","blur","input","value","readonly","ngStyle","placeholder","disabled","ngClass"],[4,"ngIf"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","class","p-datepicker-trigger p-button-icon-only","tabindex","0",3,"disabled","click",4,"ngIf"],[3,"styleClass","click",4,"ngIf"],["class","p-calendar-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-calendar-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger","p-button-icon-only",3,"click","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"click",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"click"],[3,"click","ngStyle","ngClass"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],["class","p-yearpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["type","button","class","p-datepicker-month p-link",3,"disabled","click","keydown",4,"ngIf"],["type","button","class","p-datepicker-year p-link",3,"disabled","click","keydown",4,"ngIf"],["class","p-datepicker-decade",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[3,"styleClass",4,"ngIf"],["class","p-datepicker-next-icon",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],["class","p-datepicker-prev-icon",4,"ngIf"],[3,"styleClass"],[1,"p-datepicker-prev-icon"],["type","button",1,"p-datepicker-month","p-link",3,"click","keydown","disabled"],["type","button",1,"p-datepicker-year","p-link",3,"click","keydown","disabled"],[1,"p-datepicker-decade"],[1,"p-datepicker-next-icon"],[1,"p-datepicker-calendar-container"],["role","grid",1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],["draggable","false","pRipple","",3,"click","keydown","ngClass"],["class","p-hidden-accessible","aria-live","polite",4,"ngIf"],["aria-live","polite",1,"p-hidden-accessible"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"click","keydown","ngClass"],[1,"p-yearpicker"],["class","p-yearpicker-year","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-yearpicker-year",3,"click","keydown","ngClass"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","keydown.space","mousedown","mouseup","keyup.enter","keyup.space","mouseleave"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"keydown","click","label","ngClass"]],template:function(i,n){1&i&&(e.NAR(dt),e.j41(0,"span",3,0),e.DNE(2,Ft,5,21,"ng-template",4)(3,Ui,9,31,"div",5),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.s1E(6,ut,n.showIcon&&"input"===n.iconDisplay,n.showIcon&&"button"===n.iconDisplay,n.timeOnly,n.disabled,n.focus||n.overlayVisible))("ngStyle",n.style),e.R7$(2),e.Y8G("ngIf",!n.inline),e.R7$(),e.Y8G("ngIf",n.inline||n.overlayVisible))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,M._f,E.n,_e,ge,fe,X,F.A,be],styles:["@layer primeng{.p-calendar{position:relative;display:inline-flex;max-width:100%}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-block;position:static;overflow-x:auto}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group{flex:1 1 auto}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-yearpicker-year{width:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-calendar-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-calendar-clearable{position:relative}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayAnimation",[(0,v.wk)("visibleTouchUI",(0,v.iF)({transform:"translate(-50%,-50%)",opacity:1})),(0,v.kY)("void => visible",[(0,v.iF)({opacity:0,transform:"scaleY(0.8)"}),(0,v.i0)("{{showTransitionParams}}",(0,v.iF)({opacity:1,transform:"*"}))]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0}))]),(0,v.kY)("void => visibleTouchUI",[(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visibleTouchUI => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0})}return o})(),Wi=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,M.tm,g.Gg,E.Z,_e,ge,fe,X,F.A,be,M.tm,g.Gg]})}return o})(),Zi=(()=>{class o{host;constructor(t){this.host=t}autofocus;focused=!1;ngAfterContentChecked(){if(!this.focused&&this.autofocus){const t=d.D.getFocusableElements(this.host.nativeElement);0===t.length&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}})}return o})(),Ji=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})();const en=["overlay"],tn=["content"],nn=["*"],on=(o,a,t,i,n,s,l,r,c,p,u,_,b,f)=>({"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":o,"p-overlay-center":a,"p-overlay-top":t,"p-overlay-top-start":i,"p-overlay-top-end":n,"p-overlay-bottom":s,"p-overlay-bottom-start":l,"p-overlay-bottom-end":r,"p-overlay-left":c,"p-overlay-left-start":p,"p-overlay-left-end":u,"p-overlay-right":_,"p-overlay-right-start":b,"p-overlay-right-end":f}),sn=(o,a,t)=>({showTransitionParams:o,hideTransitionParams:a,transform:t}),an=o=>({value:"visible",params:o}),ln=o=>({mode:o}),rn=o=>({$implicit:o});function cn(o,a){1&o&&e.eu8(0)}function dn(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,1),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationDone(n))}),e.SdG(2),e.DNE(3,cn,1,0,"ng-container",4),e.k0s()}if(2&o){const t=e.XpG(2);e.HbH(t.contentStyleClass),e.Y8G("ngStyle",t.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",e.eq3(11,an,e.sMw(7,sn,t.showTransitionOptions,t.hideTransitionOptions,t.transformOptions[t.modal?t.overlayResponsiveDirection:"default"]))),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.eq3(15,rn,e.eq3(13,ln,t.overlayMode)))}}function pn(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onOverlayClick())}),e.DNE(2,dn,4,17,"div",2),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass",e.zJS(5,on,[t.modal,t.modal&&"center"===t.overlayResponsiveDirection,t.modal&&"top"===t.overlayResponsiveDirection,t.modal&&"top-start"===t.overlayResponsiveDirection,t.modal&&"top-end"===t.overlayResponsiveDirection,t.modal&&"bottom"===t.overlayResponsiveDirection,t.modal&&"bottom-start"===t.overlayResponsiveDirection,t.modal&&"bottom-end"===t.overlayResponsiveDirection,t.modal&&"left"===t.overlayResponsiveDirection,t.modal&&"left-start"===t.overlayResponsiveDirection,t.modal&&"left-end"===t.overlayResponsiveDirection,t.modal&&"right"===t.overlayResponsiveDirection,t.modal&&"right-start"===t.overlayResponsiveDirection,t.modal&&"right-end"===t.overlayResponsiveDirection])),e.R7$(2),e.Y8G("ngIf",t.visible)}}const un={provide:R.kq,useExisting:(0,e.Rfq)(()=>Ce),multi:!0},hn=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),mn=(0,v.lY)([(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let Ce=(()=>{class o{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(t){this._mode=t}get style(){return h.BF.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(t){this._style=t}get styleClass(){return h.BF.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(t){this._styleClass=t}get contentStyle(){return h.BF.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(t){this._contentStyle=t}get contentStyleClass(){return h.BF.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(t){this._contentStyleClass=t}get target(){const t=this._target||this.overlayOptions?.target;return void 0===t?"@prev":t}set target(t){this._target=t}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(t){this._appendTo=t}get autoZIndex(){const t=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===t||t}set autoZIndex(t){this._autoZIndex=t}get baseZIndex(){const t=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===t?0:t}set baseZIndex(t){this._baseZIndex=t}get showTransitionOptions(){const t=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===t?".12s cubic-bezier(0, 0, 0.2, 1)":t}set showTransitionOptions(t){this._showTransitionOptions=t}get hideTransitionOptions(){const t=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===t?".1s linear":t}set hideTransitionOptions(t){this._hideTransitionOptions=t}get listener(){return this._listener||this.overlayOptions?.listener}set listener(t){this._listener=t}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(t){this._responsive=t}get options(){return this._options}set options(t){this._options=t}visibleChange=new e.bkB;onBeforeShow=new e.bkB;onShow=new e.bkB;onBeforeHide=new e.bkB;onHide=new e.bkB;onAnimationStart=new e.bkB;onAnimationDone=new e.bkB;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,m.UE)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return d.D.getTargetElement(this.target,this.el?.nativeElement)}constructor(t,i,n,s,l,r,c,p){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.config=l,this.overlayService=r,this.cd=c,this.zone=p,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{t.getType(),this.contentTemplate=t.template})}show(t,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.addClass(this.document?.body,"p-overflow-hidden")}hide(t,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&d.D.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(t){this._visible=t,this.visibleChange.emit(t)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(t){this.overlayService.add({originalEvent:t,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(t){switch(t.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&h.Q$.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),d.D.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&d.D.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",t)}onOverlayContentAnimationDone(t){const i=this.overlayEl||t.element.parentElement;switch(t.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(i),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",t)}handleEvents(t,i){this[t].emit(i),this.options&&this.options[t]&&this.options[t](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[t]&&(this.config?.overlayOptions)[t](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.targetEl,t=>{(!this.listener||this.listener(t,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(t,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{const n=!(this.targetEl&&(this.targetEl.isSameNode(t.target)||!this.isOverlayClicked&&this.targetEl.contains(t.target))||this.isOverlayContentClicked);(this.listener?this.listener(t,{type:"outside",mode:this.overlayMode,valid:3!==t.which&&n}):n)&&this.hide(t),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",t=>{(this.listener?this.listener(t,{type:"resize",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.hide(t,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",t=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===t.code&&(this.listener?this.listener(t,{type:"keydown",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.zone.run(()=>{this.hide(t,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(g.r1),e.rXU(g.si),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-overlay"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(en,5),e.GBs(tn,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[e.Jv_([un])],ngContentSelectors:nn,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.NAR(),e.DNE(0,pn,3,20,"div",2)),2&i&&e.Y8G("ngIf",n.modalVisible)},dependencies:[m.YU,m.bT,m.T3,m.B3],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayContentAnimation",[(0,v.kY)(":enter",[(0,v.sM)(hn)]),(0,v.kY)(":leave",[(0,v.sM)(mn)])])]},changeDetection:0})}return o})(),we=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,g.Gg]})}return o})();var K=I(8757);const _n=["element"],gn=["content"],fn=["*"],bn=(o,a,t)=>({"p-scroller":!0,"p-scroller-inline":o,"p-both-scroll":a,"p-horizontal-scroll":t}),oe=(o,a)=>({$implicit:o,options:a}),vn=o=>({"p-scroller-loading":o}),yn=o=>({"p-component-overlay":o}),Cn=o=>({numCols:o}),Ie=o=>({options:o}),wn=()=>({styleClass:"p-scroller-loading-icon"}),In=(o,a)=>({rows:o,columns:a});function xn(o,a){1&o&&e.eu8(0)}function Tn(o,a){if(1&o&&(e.qex(0),e.DNE(1,xn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(2,oe,t.loadedItems,t.getContentOptions()))}}function kn(o,a){1&o&&e.eu8(0)}function Sn(o,a){if(1&o&&(e.qex(0),e.DNE(1,kn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.$implicit,i=a.index,n=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",n.itemTemplate)("ngTemplateOutletContext",e.l_i(2,oe,t,n.getOptions(i)))}}function Dn(o,a){if(1&o&&(e.j41(0,"div",11,3),e.DNE(2,Sn,2,5,"ng-container",12),e.k0s()),2&o){const t=e.XpG(2);e.Y8G("ngClass",e.eq3(5,vn,t.d_loading))("ngStyle",t.contentStyle),e.BMQ("data-pc-section","content"),e.R7$(2),e.Y8G("ngForOf",t.loadedItems)("ngForTrackBy",t._trackBy||t.index)}}function En(o,a){if(1&o&&e.nrm(0,"div",13),2&o){const t=e.XpG(2);e.Y8G("ngStyle",t.spacerStyle),e.BMQ("data-pc-section","spacer")}}function Rn(o,a){1&o&&e.eu8(0)}function Mn(o,a){if(1&o&&(e.qex(0),e.DNE(1,Rn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.index,i=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(4,Ie,i.getLoaderOptions(t,i.both&&e.eq3(2,Cn,i._numItemsInViewport.cols))))}}function Fn(o,a){if(1&o&&(e.qex(0),e.DNE(1,Mn,2,6,"ng-container",15),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.loaderArr)}}function Gn(o,a){1&o&&e.eu8(0)}function Vn(o,a){if(1&o&&(e.qex(0),e.DNE(1,Gn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.loaderIconTemplate)("ngTemplateOutletContext",e.eq3(3,Ie,e.lJ4(2,wn)))}}function Bn(o,a){1&o&&e.nrm(0,"SpinnerIcon",16),2&o&&(e.Y8G("styleClass","p-scroller-loading-icon pi-spin"),e.BMQ("data-pc-section","loadingIcon"))}function On(o,a){if(1&o&&e.DNE(0,Vn,2,5,"ng-container",6)(1,Bn,1,2,"ng-template",null,5,e.C5r),2&o){const t=e.sdS(2),i=e.XpG(3);e.Y8G("ngIf",i.loaderIconTemplate)("ngIfElse",t)}}function Ln(o,a){if(1&o&&(e.j41(0,"div",14),e.DNE(1,Fn,2,1,"ng-container",6)(2,On,3,2,"ng-template",null,4,e.C5r),e.k0s()),2&o){const t=e.sdS(3),i=e.XpG(2);e.Y8G("ngClass",e.eq3(4,yn,!i.loaderTemplate)),e.BMQ("data-pc-section","loader"),e.R7$(),e.Y8G("ngIf",i.loaderTemplate)("ngIfElse",t)}}function Nn(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"div",7,1),e.bIt("scroll",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onContainerScroll(n))}),e.DNE(3,Tn,2,5,"ng-container",6)(4,Dn,3,7,"ng-template",null,2,e.C5r)(6,En,1,2,"div",8)(7,Ln,4,6,"div",9),e.k0s(),e.bVm()}if(2&o){const t=e.sdS(5),i=e.XpG();e.R7$(),e.HbH(i._styleClass),e.Y8G("ngStyle",i._style)("ngClass",e.sMw(12,bn,i.inline,i.both,i.horizontal)),e.BMQ("id",i._id)("tabindex",i.tabindex)("data-pc-name","scroller")("data-pc-section","root"),e.R7$(2),e.Y8G("ngIf",i.contentTemplate)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i._showSpacer),e.R7$(),e.Y8G("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function jn(o,a){1&o&&e.eu8(0)}function Pn(o,a){if(1&o&&(e.qex(0),e.DNE(1,jn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(5,oe,t.items,e.l_i(2,In,t._items,t.loadedColumns)))}}function zn(o,a){if(1&o&&(e.SdG(0),e.DNE(1,Pn,2,8,"ng-container",17)),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.contentTemplate)}}let xe=(()=>{class o{document;platformId;renderer;cd;zone;get id(){return this._id}set id(t){this._id=t}get style(){return this._style}set style(t){this._style=t}get styleClass(){return this._styleClass}set styleClass(t){this._styleClass=t}get tabindex(){return this._tabindex}set tabindex(t){this._tabindex=t}get items(){return this._items}set items(t){this._items=t}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t}get scrollHeight(){return this._scrollHeight}set scrollHeight(t){this._scrollHeight=t}get scrollWidth(){return this._scrollWidth}set scrollWidth(t){this._scrollWidth=t}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get step(){return this._step}set step(t){this._step=t}get delay(){return this._delay}set delay(t){this._delay=t}get resizeDelay(){return this._resizeDelay}set resizeDelay(t){this._resizeDelay=t}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=t}get inline(){return this._inline}set inline(t){this._inline=t}get lazy(){return this._lazy}set lazy(t){this._lazy=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(t){this._loaderDisabled=t}get columns(){return this._columns}set columns(t){this._columns=t}get showSpacer(){return this._showSpacer}set showSpacer(t){this._showSpacer=t}get showLoader(){return this._showLoader}set showLoader(t){this._showLoader=t}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(t){this._numToleratedItems=t}get loading(){return this._loading}set loading(t){this._loading=t}get autoSize(){return this._autoSize}set autoSize(t){this._autoSize=t}get trackBy(){return this._trackBy}set trackBy(t){this._trackBy=t}get options(){return this._options}set options(t){this._options=t,t&&"object"==typeof t&&Object.entries(t).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n))}onLazyLoad=new e.bkB;onScroll=new e.bkB;onScrollIndexChange=new e.bkB;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(t=>this._columns?t:t.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?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):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}constructor(t,i,n,s,l){this.document=t,this.platformId=i,this.renderer=n,this.cd=s,this.zone=l}ngOnInit(){this.setInitialState()}ngOnChanges(t){let i=!1;if(t.loading){const{previousValue:n,currentValue:s}=t.loading;this.lazy&&n!==s&&s!==this.d_loading&&(this.d_loading=s,i=!0)}if(t.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),t.numToleratedItems){const{previousValue:n,currentValue:s}=t.numToleratedItems;n!==s&&s!==this.d_numToleratedItems&&(this.d_numToleratedItems=s)}if(t.options){const{previousValue:n,currentValue:s}=t.options;this.lazy&&n?.loading!==s?.loading&&s?.loading!==this.d_loading&&(this.d_loading=s.loading,i=!0),n?.numToleratedItems!==s?.numToleratedItems&&s?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=s.numToleratedItems)}this.initialized&&!i&&(t.items?.previousValue?.length!==t.items?.currentValue?.length||t.itemSize||t.scrollHeight||t.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"content":this.contentTemplate=t.template;break;case"item":default:this.itemTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"loadericon":this.loaderIconTemplate=t.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,m.UE)(this.platformId)&&d.D.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=d.D.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=d.D.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(t){this.contentEl=t||this.contentViewChild?.nativeElement||d.D.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(t){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(t)}scrollToIndex(t,i="auto"){const{numToleratedItems:n}=this.calculateNumItems(),s=this.getContentPosition(),l=(u=0,_)=>u<=_?0:u,r=(u,_,b)=>u*_+b,c=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:i});let p=0;this.both?(p={rows:l(t[0],n[0]),cols:l(t[1],n[1])},c(r(p.cols,this._itemSize[1],s.left),r(p.rows,this._itemSize[0],s.top))):(p=l(t,n),this.horizontal?c(r(p,this._itemSize,s.left),0):c(0,r(p,this._itemSize,s.top))),this.isRangeChanged=this.first!==p,this.first=p}scrollInView(t,i,n="auto"){if(i){const{first:s,viewport:l}=this.getRenderedRange(),r=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:n}),p="to-end"===i;if("to-start"===i){if(this.both)l.first.rows-s.rows>t[0]?r(l.first.cols*this._itemSize[1],(l.first.rows-1)*this._itemSize[0]):l.first.cols-s.cols>t[1]&&r((l.first.cols-1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.first-s>t){const u=(l.first-1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else if(p)if(this.both)l.last.rows-s.rows<=t[0]+1?r(l.first.cols*this._itemSize[1],(l.first.rows+1)*this._itemSize[0]):l.last.cols-s.cols<=t[1]+1&&r((l.first.cols+1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.last-s<=t+1){const u=(l.first+1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else this.scrollToIndex(t,n)}getRenderedRange(){const t=(s,l)=>Math.floor(s/(l||s));let i=this.first,n=0;if(this.elementViewChild?.nativeElement){const{scrollTop:s,scrollLeft:l}=this.elementViewChild.nativeElement;this.both?(i={rows:t(s,this._itemSize[0]),cols:t(l,this._itemSize[1])},n={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=t(this.horizontal?l:s,this._itemSize),n=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:n}}}calculateNumItems(){const t=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-t.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-t.top:0)||0,s=(p,u)=>Math.ceil(p/(u||p)),l=p=>Math.ceil(p/2),r=this.both?{rows:s(n,this._itemSize[0]),cols:s(i,this._itemSize[1])}:s(this.horizontal?i:n,this._itemSize);return{numItemsInViewport:r,numToleratedItems:this.d_numToleratedItems||(this.both?[l(r.rows),l(r.cols)]:l(r))}}calculateOptions(){const{numItemsInViewport:t,numToleratedItems:i}=this.calculateNumItems(),n=(r,c,p,u=!1)=>this.getLast(r+c+(rArray.from({length:t.cols})):Array.from({length:t})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:s.cols}:0:s,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[t,i]=[d.D.getWidth(this.contentEl),d.D.getHeight(this.contentEl)];t!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[n,s]=[d.D.getWidth(this.elementViewChild.nativeElement),d.D.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=nthis.elementViewChild.nativeElement.style[l]=r;this.both||this.horizontal?(s("height",n),s("width",i)):s("height",n)}}setSpacerSize(){if(this._items){const t=this.getContentPosition(),i=(n,s,l,r=0)=>this.spacerStyle={...this.spacerStyle,[`${n}`]:(s||[]).length*l+r+"px"};this.both?(i("height",this._items,this._itemSize[0],t.y),i("width",this._columns||this._items[1],this._itemSize[1],t.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,t.x):i("height",this._items,this._itemSize,t.y)}}setContentPosition(t){if(this.contentEl&&!this._appendOnly){const i=t?t.first:this.first,n=(l,r)=>l*r,s=(l=0,r=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${l}px, ${r}px, 0)`};if(this.both)s(n(i.cols,this._itemSize[1]),n(i.rows,this._itemSize[0]));else{const l=n(i,this._itemSize);this.horizontal?s(l,0):s(0,l)}}}onScrollPositionChange(t){const i=t.target,n=this.getContentPosition(),s=(y,T)=>y?y>T?y-T:y:0,l=(y,T)=>Math.floor(y/(T||y)),r=(y,T,k,S,D,G)=>y<=D?D:G?k-S-D:T+D-1,c=(y,T,k,S,D,G,B)=>y<=G?0:Math.max(0,B?yT?k:y-2*G),p=(y,T,k,S,D,G=!1)=>{let B=T+S+2*D;return y>=D&&(B+=D+1),this.getLast(B,G)},u=s(i.scrollTop,n.top),_=s(i.scrollLeft,n.left);let b=this.both?{rows:0,cols:0}:0,f=this.last,w=!1,C=this.lastScrollPos;if(this.both){const y=this.lastScrollPos.top<=u,T=this.lastScrollPos.left<=_;if(!this._appendOnly||this._appendOnly&&(y||T)){const k={rows:l(u,this._itemSize[0]),cols:l(_,this._itemSize[1])},S={rows:r(k.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],y),cols:r(k.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],T)};b={rows:c(k.rows,S.rows,this.first.rows,0,0,this.d_numToleratedItems[0],y),cols:c(k.cols,S.cols,this.first.cols,0,0,this.d_numToleratedItems[1],T)},f={rows:p(k.rows,b.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:p(k.cols,b.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},w=b.rows!==this.first.rows||f.rows!==this.last.rows||b.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,C={top:u,left:_}}}else{const y=this.horizontal?_:u,T=this.lastScrollPos<=y;if(!this._appendOnly||this._appendOnly&&T){const k=l(y,this._itemSize);b=c(k,r(k,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,T),this.first,0,0,this.d_numToleratedItems,T),f=p(k,b,0,this.numItemsInViewport,this.d_numToleratedItems),w=b!==this.first||f!==this.last||this.isRangeChanged,C=y}}return{first:b,last:f,isRangeChanged:w,scrollPos:C}}onScrollChange(t){const{first:i,last:n,isRangeChanged:s,scrollPos:l}=this.onScrollPositionChange(t);if(s){const r={first:i,last:n};if(this.setContentPosition(r),this.first=i,this.last=n,this.lastScrollPos=l,this.handleEvents("onScrollIndexChange",r),this._lazy&&this.isPageChanged){const c={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:n,this.items.length)};(this.lazyLoadState.first!==c.first||this.lazyLoadState.last!==c.last)&&this.handleEvents("onLazyLoad",c),this.lazyLoadState=c}}}onContainerScroll(t){if(this.handleEvents("onScroll",{originalEvent:t}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(t);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(t)}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const t=this.document.defaultView,i=d.D.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(t,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(d.D.isVisible(this.elementViewChild?.nativeElement)){const[t,i]=[d.D.getWidth(this.elementViewChild?.nativeElement),d.D.getHeight(this.elementViewChild?.nativeElement)],[n,s]=[t!==this.defaultWidth,i!==this.defaultHeight];(this.both?n||s:this.horizontal?n:this.vertical&&s)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=t,this.defaultHeight=i,this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(t,i){return this.options&&this.options[t]?this.options[t](i):this[t].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:t=>this.getOptions(t),loading:this.d_loading,getLoaderOptions:(t,i)=>this.getLoaderOptions(t,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(t){const i=(this._items||[]).length,n=this.both?this.first.rows+t:this.first+t;return{index:n,count:i,first:0===n,last:n===i-1,even:n%2==0,odd:n%2!=0}}getLoaderOptions(t,i){const n=this.loaderArr.length;return{index:t,count:n,first:0===t,last:t===n-1,even:t%2==0,odd:t%2!=0,...i}}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-scroller"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(_n,5),e.GBs(gn,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.elementViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[e.OA$],ngContentSelectors:fn,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(i,n){if(1&i&&(e.NAR(),e.DNE(0,Nn,8,16,"ng-container",6)(1,zn,2,1,"ng-template",null,0,e.C5r)),2&i){const s=e.sdS(2);e.Y8G("ngIf",!n._disabled)("ngIfElse",s)}},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,K.N],styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return o})(),U=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,K.N,g.Gg]})}return o})();var j=I(8542);let Te=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const z=o=>({height:o}),Hn=(o,a,t)=>({"p-dropdown-item":!0,"p-highlight":o,"p-disabled":a,"p-focus":t}),se=o=>({$implicit:o});function Yn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){let t;const i=e.XpG();e.R7$(),e.JRh(null!==(t=i.label)&&void 0!==t?t:"empty")}}function $n(o,a){1&o&&e.eu8(0)}const An=["container"],Xn=["filter"],Kn=["focusInput"],Un=["editableInput"],Qn=["items"],qn=["scroller"],Wn=["overlay"],Zn=["firstHiddenFocusableEl"],Jn=["lastHiddenFocusableEl"],ke=o=>({options:o}),Se=(o,a)=>({$implicit:o,options:a}),eo=()=>({});function to(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.label())}}function io(o,a){1&o&&e.eu8(0)}function no(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.placeholder)}}function oo(o,a){if(1&o&&e.DNE(0,no,2,1,"span",17),2&o){const t=e.XpG(2);e.Y8G("ngIf",!t.modelValue()&&(t.label()===t.placeholder||t.label()&&!t.placeholder))}}function so(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",22,2),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))}),e.DNE(2,to,2,1,"ng-container",23)(3,io,1,0,"ng-container",24)(4,oo,1,1,"ng-template",null,3,e.C5r),e.k0s()}if(2&o){const t=e.sdS(5),i=e.XpG();e.Y8G("ngClass",i.inputClass)("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("autofocus",i.autofocus),e.BMQ("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel||("p-emptylabel"===i.label()?void 0:i.label()))("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible)("aria-controls",i.id+"_list")("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),e.R7$(2),e.Y8G("ngIf",!i.selectedItemTemplate)("ngIfElse",t),e.R7$(),e.Y8G("ngTemplateOutlet",i.selectedItemTemplate)("ngTemplateOutletContext",e.eq3(19,se,i.selectedOption))}}function ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",25,4),e.bIt("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onEditableInput(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))})("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))}),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",t.inputClass)("disabled",t.disabled),e.BMQ("maxlength",t.maxlength)("placeholder",t.placeholder)("aria-expanded",t.overlayVisible)}}function lo(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.k0s()}2&o&&(e.Y8G("styleClass","p-dropdown-clear-icon"),e.BMQ("data-pc-section","clearicon"))}function ro(o,a){}function co(o,a){1&o&&e.DNE(0,ro,0,0,"ng-template")}function po(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",29),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.DNE(1,co,1,0,null,30),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearicon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function uo(o,a){if(1&o&&(e.qex(0),e.DNE(1,lo,1,2,"TimesIcon",26)(2,po,2,2,"span",27),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ho(o,a){if(1&o&&e.nrm(0,"span",33),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.dropdownIcon)}}function mo(o,a){1&o&&e.nrm(0,"ChevronDownIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-trigger-icon")}function _o(o,a){if(1&o&&(e.qex(0),e.DNE(1,ho,1,1,"span",31)(2,mo,1,1,"ChevronDownIcon",32),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.dropdownIcon),e.R7$(),e.Y8G("ngIf",!t.dropdownIcon)}}function go(o,a){}function fo(o,a){1&o&&e.DNE(0,go,0,0,"ng-template")}function bo(o,a){if(1&o&&(e.j41(0,"span",35),e.DNE(1,fo,1,0,null,30),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dropdownIconTemplate)}}function vo(o,a){1&o&&e.eu8(0)}function yo(o,a){1&o&&e.eu8(0)}function Co(o,a){if(1&o&&(e.qex(0),e.DNE(1,yo,1,0,"ng-container",24),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterTemplate)("ngTemplateOutletContext",e.eq3(2,ke,t.filterOptions))}}function wo(o,a){1&o&&e.nrm(0,"SearchIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-filter-icon")}function Io(o,a){}function xo(o,a){1&o&&e.DNE(0,Io,0,0,"ng-template")}function To(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,xo,1,0,null,30),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterIconTemplate)}}function ko(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",42)(1,"input",43,9),e.bIt("input",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterInputChange(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterKeyDown(n))})("blur",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterBlur(n))}),e.k0s(),e.DNE(3,wo,1,1,"SearchIcon",32)(4,To,2,1,"span",44),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("value",t._filterValue()||""),e.BMQ("placeholder",t.filterPlaceholder)("aria-owns",t.id+"_list")("aria-label",t.ariaFilterLabel)("aria-activedescendant",t.focusedOptionId),e.R7$(2),e.Y8G("ngIf",!t.filterIconTemplate),e.R7$(),e.Y8G("ngIf",t.filterIconTemplate)}}function So(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",41),e.bIt("click",function(n){return e.eBV(t),e.Njj(n.stopPropagation())}),e.DNE(1,Co,2,4,"ng-container",23)(2,ko,5,7,"ng-template",null,8,e.C5r),e.k0s()}if(2&o){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.filterTemplate)("ngIfElse",t)}}function Do(o,a){1&o&&e.eu8(0)}function Eo(o,a){if(1&o&&e.DNE(0,Do,1,0,"ng-container",24),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(9);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,Se,t,i))}}function Ro(o,a){1&o&&e.eu8(0)}function Mo(o,a){if(1&o&&e.DNE(0,Ro,1,0,"ng-container",24),2&o){const t=a.options,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(2,ke,t))}}function Fo(o,a){1&o&&(e.qex(0),e.DNE(1,Mo,1,4,"ng-template",47),e.bVm())}function Go(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",46,10),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onLazyLoad.emit(n))}),e.DNE(2,Eo,1,5,"ng-template",21)(3,Fo,2,0,"ng-container",17),e.k0s()}if(2&o){const t=e.XpG(2);e.Aen(e.eq3(8,z,t.scrollHeight)),e.Y8G("items",t.visibleOptions())("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("lazy",t.lazy)("options",t.virtualScrollOptions),e.R7$(3),e.Y8G("ngIf",t.loaderTemplate)}}function Vo(o,a){1&o&&e.eu8(0)}function Bo(o,a){if(1&o&&(e.qex(0),e.DNE(1,Vo,1,0,"ng-container",24),e.bVm()),2&o){e.XpG();const t=e.sdS(9),i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(3,Se,i.visibleOptions(),e.lJ4(2,eo)))}}function Oo(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.JRh(i.getOptionGroupLabel(t.optionGroup))}}function Lo(o,a){1&o&&e.eu8(0)}function No(o,a){if(1&o&&(e.qex(0),e.j41(1,"li",51),e.DNE(2,Oo,2,1,"span",17)(3,Lo,1,0,"ng-container",24),e.k0s(),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("ngStyle",e.eq3(5,z,s.itemSize+"px")),e.BMQ("id",l.id+"_"+l.getOptionIndex(n,s)),e.R7$(),e.Y8G("ngIf",!l.groupTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",e.eq3(7,se,i.optionGroup))}}function jo(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"p-dropdownItem",52),e.bIt("onClick",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.onOptionSelect(n,s))})("onMouseEnter",function(n){e.eBV(t);const s=e.XpG().index,l=e.XpG().options,r=e.XpG(2);return e.Njj(r.onOptionMouseEnter(n,r.getOptionIndex(s,l)))}),e.k0s(),e.bVm()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("id",l.id+"_"+l.getOptionIndex(n,s))("option",i)("selected",l.isSelected(i))("label",l.getOptionLabel(i))("disabled",l.isOptionDisabled(i))("template",l.itemTemplate)("focused",l.focusedOptionIndex()===l.getOptionIndex(n,s))("ariaPosInset",l.getAriaPosInset(l.getOptionIndex(n,s)))("ariaSetSize",l.ariaSetSize)}}function Po(o,a){if(1&o&&e.DNE(0,No,4,9,"ng-container",17)(1,jo,2,9,"ng-container",17),2&o){const t=a.$implicit;e.Y8G("ngIf",t.group),e.R7$(),e.Y8G("ngIf",!t.group)}}function zo(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyFilterMessageLabel," ")}}function Ho(o,a){1&o&&e.eu8(0,null,12)}function Yo(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,zo,2,1,"ng-container",23)(2,Ho,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function $o(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyMessageLabel," ")}}function Ao(o,a){1&o&&e.eu8(0,null,13)}function Xo(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,$o,2,1,"ng-container",23)(2,Ao,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyTemplate)}}function Ko(o,a){if(1&o&&(e.j41(0,"ul",48,11),e.DNE(2,Po,2,2,"ng-template",49)(3,Yo,3,6,"li",50)(4,Xo,3,6,"li",50),e.k0s()),2&o){const t=a.$implicit,i=a.options,n=e.XpG(2);e.Aen(i.contentStyle),e.Y8G("ngClass",i.contentStyleClass),e.BMQ("id",n.id+"_list"),e.R7$(2),e.Y8G("ngForOf",t),e.R7$(),e.Y8G("ngIf",n.filterValue&&n.isEmpty()),e.R7$(),e.Y8G("ngIf",!n.filterValue&&n.isEmpty())}}function Uo(o,a){1&o&&e.eu8(0)}function Qo(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",36)(1,"span",37,5),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onFirstHiddenFocus(n))}),e.k0s(),e.DNE(3,vo,1,0,"ng-container",30)(4,So,4,2,"div",38),e.j41(5,"div",39),e.DNE(6,Go,4,10,"p-scroller",40)(7,Bo,2,6,"ng-container",17)(8,Ko,5,7,"ng-template",null,6,e.C5r),e.k0s(),e.DNE(10,Uo,1,0,"ng-container",30),e.j41(11,"span",37,7),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLastHiddenFocus(n))}),e.k0s()()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngClass","p-dropdown-panel p-component")("ngStyle",t.panelStyle),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),e.R7$(2),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.filter),e.R7$(),e.xc7("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),e.R7$(),e.Y8G("ngIf",t.virtualScroll),e.R7$(),e.Y8G("ngIf",!t.virtualScroll),e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const qo={provide:R.kq,useExisting:(0,e.Rfq)(()=>De),multi:!0};let Wo=(()=>{class o{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;onClick=new e.bkB;onMouseEnter=new e.bkB;ngOnInit(){}onOptionClick(t){this.onClick.emit(t)}onOptionMouseEnter(t){this.onMouseEnter.emit(t)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",focused:"focused",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:3,vars:21,consts:[["role","option","pRipple","",3,"click","mouseenter","id","ngStyle","ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"li",0),e.bIt("click",function(l){return n.onOptionClick(l)})("mouseenter",function(l){return n.onOptionMouseEnter(l)}),e.DNE(1,Yn,2,1,"span",1)(2,$n,1,0,"ng-container",2),e.k0s()),2&i&&(e.Y8G("id",n.id)("ngStyle",e.eq3(13,z,n.itemSize+"px"))("ngClass",e.sMw(15,Hn,n.selected,n.disabled,n.focused)),e.BMQ("aria-label",n.label)("aria-setsize",n.ariaSetSize)("aria-posinset",n.ariaPosInset)("aria-selected",n.selected)("data-p-focused",n.focused)("data-p-highlight",n.selected)("data-p-disabled",n.disabled),e.R7$(),e.Y8G("ngIf",!n.template),e.R7$(),e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.eq3(19,se,n.option)))},dependencies:[m.YU,m.bT,m.T3,m.B3,E.n],encapsulation:2})}return o})(),De=(()=>{class o{el;renderer;cd;zone;filterService;config;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;placeholder;filterPlaceholder;filterLocale;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!1;selectOnFocus=!1;autoOptionFocus=!0;autofocusFilter=!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()}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(t){this._showTransitionOptions=t,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(t){this._hideTransitionOptions=t,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(t){this._filterValue.set(t)}get options(){return this._options()}set options(t){this._options.set(t)}onChange=new e.bkB;onFilter=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onClick=new e.bkB;onShow=new e.bkB;onHide=new e.bkB;onClear=new e.bkB;onLazyLoad=new e.bkB;containerViewChild;filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;templates;_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;clearIconTemplate;filterIconTemplate;filterOptions;_options=(0,e.vPA)(null);modelValue=(0,e.vPA)(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=(0,e.vPA)(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=(0,e.vPA)(-1);labelId;listId;get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(g.Yj.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(g.Yj.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.modelValue()?!!this.modelValue():this.modelValue()||null!=this.modelValue()||null!=this.modelValue()}get isVisibleClearIcon(){return null!=this.modelValue()&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get containerClass(){return{"p-dropdown p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-dropdown-clearable":this.showClear&&!this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue(),"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){const t=this.label();return{"p-dropdown-label p-inputtext":!0,"p-placeholder":this.placeholder&&t===this.placeholder,"p-dropdown-label-empty":!(this.editable||this.selectedItemTemplate||t&&"p-emptylabel"!==t&&0!==t.length)}}get panelClass(){return{"p-dropdown-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}visibleOptions=(0,e.EWP)(()=>{const t=this.group?this.flatOptions(this.options):this.options||[];if(this._filterValue()){const i=this.filterBy||this.filterFields||this.optionValue?this.filterService.filter(t,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale):this.options.filter(n=>-1!==n.toLowerCase().indexOf(this._filterValue().toLowerCase()));if(this.group){const s=[];return(this.options||[]).forEach(l=>{const c=this.getOptionGroupChildren(l).filter(p=>i.includes(p));c.length>0&&s.push({...l,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...c]})}),this.flatOptions(s)}return i}return t});label=(0,e.EWP)(()=>{const t=this.findSelectedOptionIndex();return-1!==t?this.getOptionLabel(this.visibleOptions()[t]):this.placeholder||"p-emptylabel"});selectedOption;constructor(t,i,n,s,l,r){this.el=t,this.renderer=i,this.cd=n,this.zone=s,this.filterService=l,this.config=r,(0,e.QZP)(()=>{const c=this.modelValue(),p=this.visibleOptions();c&&this.editable&&this.updateEditableLabel(),p&&h.BF.isNotEmpty(p)&&(this.selectedOption=p[this.findSelectedOptionIndex()],this.cd.markForCheck())})}ngOnInit(){this.id=this.id||(0,h._Y)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:t=>this.onFilterInputChange(t),reset:()=>this.resetFilter()})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let t=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-highlight");t&&d.D.scrollInView(this.itemsWrapper,t),this.selectedOptionUpdated=!1}}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"selectedItem":this.selectedItemTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"filter":this.filterTemplate=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;case"loader":this.loaderTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"filtericon":this.filterIconTemplate=t.template}})}flatOptions(t){return(t||[]).reduce((i,n,s)=>{i.push({optionGroup:n,group:!0,index:s});const l=this.getOptionGroupChildren(n);return l&&l.forEach(r=>i.push(r)),i},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&!this.modelValue()){const t=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[t],!1,!0)}}onOptionSelect(t,i,n=!0,s=!1){const l=this.getOptionValue(i);this.updateModel(l,t),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),n&&this.hide(!0),!1===s&&this.onChange.emit({originalEvent:t,value:l})}onOptionMouseEnter(t,i){this.focusOnHover&&this.changeFocusedOptionIndex(t,i)}updateModel(t,i){this.value=t,this.onModelChange(t),this.modelValue.set(t),this.selectedOptionUpdated=!0}writeValue(t){this.filter&&this.resetFilter(),this.value=t,this.allowModelChange()&&this.onModelChange(t),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return this.autoDisplayFirst&&!this.placeholder&&!this.modelValue()&&!this.editable&&this.options&&this.options.length}isSelected(t){return this.isValidOption(t)&&h.BF.equals(this.modelValue(),this.getOptionValue(t),this.equalityKey())}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=void 0===this.getOptionLabel(this.modelValue())?this.editableInputViewChild.nativeElement.value:this.getOptionLabel(this.modelValue()))}getOptionIndex(t,i){return this.virtualScrollerDisabled?t:i&&i.getItemOptions(t).index}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):t&&void 0!==t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):!this.optionLabel&&t&&void 0!==t.value?t.value:t}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled}getOptionGroupLabel(t){return this.optionGroupLabel?h.BF.resolveFieldData(t,this.optionGroupLabel):t&&void 0!==t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?h.BF.resolveFieldData(t,this.optionGroupChildren):t.items}getAriaPosInset(t){return(this.optionGroupLabel?t-this.visibleOptions().slice(0,t).filter(i=>this.isOptionGroup(i)).length:t)+1}get ariaSetSize(){return this.visibleOptions().filter(t=>!this.isOptionGroup(t)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onContainerClick(t){this.disabled||this.readonly||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),"INPUT"!==t.target.tagName&&"clearicon"!==t.target.getAttribute("data-pc-section")&&!t.target.closest('[data-pc-section="clearicon"]')&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(t),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}onEditableInput(t){const i=t.target.value;this.searchValue="",!this.searchOptions(t,i)&&this.focusedOptionIndex.set(-1),this.onModelChange(i),this.updateModel(i,t),this.onChange.emit({originalEvent:t,value:i})}show(t){this.overlayVisible=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(t){if("visible"===t.toState){if(this.itemsWrapper=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.modelValue()?this.focusedOptionIndex():-1;-1!==i&&this.scroller?.scrollToIndex(i)}else{let i=d.D.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(t)}"void"===t.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(t))}hide(t){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onInputFocus(t){if(this.disabled)return;this.focused=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(t)}onInputBlur(t){this.focused=!1,!1===this.overlayVisible&&this.onBlur.emit(t),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(t,i){if(!this.disabled&&!this.readonly)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Delete":this.onDeleteKey(t);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,i);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!t.metaKey&&h.BF.isPrintableCharacter(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key))}}onFilterKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0)}}onFilterBlur(t){this.focusedOptionIndex.set(-1)}onArrowDownKey(t){const i=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,i),!this.overlayVisible&&this.show(),t.preventDefault()}changeFocusedOptionIndex(t,i){if(this.focusedOptionIndex()!==i&&(this.focusedOptionIndex.set(i),this.scrollInView(),this.selectOnFocus)){const n=this.visibleOptions()[i];this.onOptionSelect(t,n,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(t=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const n=d.D.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedOptionId}"]`);n?n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==t?t:this.focusedOptionIndex())},0)}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}hasSelectedOption(){return void 0!==this.modelValue()}isValidSelectedOption(t){return this.isValidOption(t)&&this.isSelected(t)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t}findFirstOptionIndex(){return this.visibleOptions().findIndex(t=>this.isValidOption(t))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}findNextOptionIndex(t){const i=tthis.isValidOption(n)):-1;return i>-1?i+t+1:t}findPrevOptionIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleOptions().slice(0,t),n=>this.isValidOption(n)):-1;return i>-1?i:t}findLastOptionIndex(){return h.BF.findLastIndex(this.visibleOptions(),t=>this.isValidOption(t))}findLastFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t}isValidOption(t){return t&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))}isOptionGroup(t){return this.optionGroupLabel&&t.optionGroup&&t.group}onArrowUpKey(t,i=!1){if(t.altKey&&!i){if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(),t.preventDefault()}else{const n=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()}}onArrowLeftKey(t,i=!1){i&&this.focusedOptionIndex.set(-1)}onDeleteKey(t){this.showClear&&(this.clear(t),t.preventDefault())}onHomeKey(t,i=!1){i?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex.set(-1)):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()}onEndKey(t,i=!1){if(i){const n=t.currentTarget,s=n.value.length;n.setSelectionRange(s,s),this.focusedOptionIndex.set(-1)}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()}onPageDownKey(t){this.scrollInView(this.visibleOptions().length-1),t.preventDefault()}onPageUpKey(t){this.scrollInView(0),t.preventDefault()}onSpaceKey(t,i=!1){!this.editable&&!i&&this.onEnterKey(t)}onEnterKey(t){if(this.overlayVisible){if(-1!==this.focusedOptionIndex()){const i=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,i)}this.hide()}else this.onArrowDownKey(t);t.preventDefault()}onEscapeKey(t){this.overlayVisible&&this.hide(!0),t.preventDefault()}onTabKey(t,i=!1){if(!i)if(this.overlayVisible&&this.hasFocusableElements())d.D.focus(t.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),t.preventDefault();else{if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(this.filter)}}onFirstHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getFirstFocusableElement(this.overlayViewChild.el.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild.nativeElement;d.D.focus(i)}onLastHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;d.D.focus(i)}hasFocusableElements(){return d.D.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(t,i=!1){i&&!this.overlayVisible&&this.show()}searchFields(){return this.filterFields||[this.optionLabel]}searchOptions(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedOptionIndex()?(n=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)),n=-1===n?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)):n+this.focusedOptionIndex()):n=this.visibleOptions().findIndex(l=>this.isOptionMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedOptionIndex()&&(n=this.findFirstFocusedOptionIndex()),-1!==n&&this.changeFocusedOptionIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}isOptionMatched(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(t){let i=t.target.value?.trim();this._filterValue.set(i),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:t,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),this.cd.markForCheck()}applyFocus(){this.editable?d.D.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():d.D.focus(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(t){this.updateModel(null,t),this.updateEditableLabel(),this.onChange.emit({originalEvent:t,value:this.value}),this.onClear.emit(t)}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.E),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdown"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(An,5),e.GBs(Xn,5),e.GBs(Kn,5),e.GBs(Un,5),e.GBs(Qn,5),e.GBs(qn,5),e.GBs(Wn,5),e.GBs(Zn,5),e.GBs(Jn,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.filterViewChild=s.first),e.mGM(s=e.lsd())&&(n.focusInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.editableInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.itemsViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first),e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.firstHiddenFocusableElementOnOverlay=s.first),e.mGM(s=e.lsd())&&(n.lastHiddenFocusableElementOnOverlay=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused||n.overlayVisible)},inputs:{id:"id",scrollHeight:"scrollHeight",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",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:"focusOnHover",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus",autofocusFilter:"autofocusFilter",disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[e.Jv_([qo])],decls:11,vars:20,consts:[["container",""],["overlay",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["items",""],["emptyFilter",""],["empty",""],[3,"click","ngClass","ngStyle"],["role","combobox","pAutoFocus","",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-dropdown-trigger"],["class","p-dropdown-trigger-icon",4,"ngIf"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["pTemplate","content"],["role","combobox","pAutoFocus","",3,"focus","blur","keydown","ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"input","keydown","focus","blur","ngClass","disabled"],[3,"styleClass","click",4,"ngIf"],["class","p-dropdown-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-dropdown-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-dropdown-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-dropdown-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-dropdown-header",3,"click",4,"ngIf"],[1,"p-dropdown-items-wrapper"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],[1,"p-dropdown-header",3,"click"],[1,"p-dropdown-filter-container"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"input","keydown","blur","value"],["class","p-dropdown-filter-icon",4,"ngIf"],[1,"p-dropdown-filter-icon"],[3,"onLazyLoad","items","itemSize","autoSize","lazy","options"],["pTemplate","loader"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","p-dropdown-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-dropdown-item-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize"],[1,"p-dropdown-empty-message",3,"ngStyle"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",14,0),e.bIt("click",function(r){return e.eBV(s),e.Njj(n.onContainerClick(r))}),e.DNE(2,so,6,21,"span",15)(3,ao,2,5,"input",16)(4,uo,3,2,"ng-container",17),e.j41(5,"div",18),e.DNE(6,_o,3,2,"ng-container",17)(7,bo,2,1,"span",19),e.k0s(),e.j41(8,"p-overlay",20,1),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.overlayVisible,r)||(n.overlayVisible=r),e.Njj(r)}),e.bIt("onAnimationStart",function(r){return e.eBV(s),e.Njj(n.onOverlayAnimationStart(r))})("onHide",function(){return e.eBV(s),e.Njj(n.hide())}),e.DNE(10,Qo,13,19,"ng-template",21),e.k0s()()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass)("ngStyle",n.style),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",!n.editable),e.R7$(),e.Y8G("ngIf",n.editable),e.R7$(),e.Y8G("ngIf",n.isVisibleClearIcon),e.R7$(),e.BMQ("aria-expanded",n.overlayVisible)("data-pc-section","trigger"),e.R7$(),e.Y8G("ngIf",!n.dropdownIconTemplate),e.R7$(),e.Y8G("ngIf",n.dropdownIconTemplate),e.R7$(),e.R50("visible",n.overlayVisible),e.Y8G("options",n.overlayOptions)("target","@parent")("appendTo",n.appendTo)("autoZIndex",n.autoZIndex)("baseZIndex",n.baseZIndex)("showTransitionOptions",n.showTransitionOptions)("hideTransitionOptions",n.hideTransitionOptions))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,Ce,g.Ei,j.m,xe,Zi,F.A,X,Te,Wo],styles:["@layer primeng{.p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;opacity:0}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-item-group{cursor:auto}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}}\n"],encapsulation:2,changeDetection:0})}return o})(),ae=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,we,g.Gg,j.S,E.Z,U,Ji,F.A,X,Te,we,g.Gg,U]})}return o})(),Q=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ee=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var H=I(2242);const Zo=["input"],Jo=(o,a,t)=>({"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":o,"p-inputnumber-buttons-horizontal":a,"p-inputnumber-buttons-vertical":t}),Re=()=>({"p-inputnumber-button p-inputnumber-button-up":!0}),Me=()=>({"p-inputnumber-button p-inputnumber-button-down":!0});function es(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",8),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.k0s()}2&o&&(e.Y8G("ngClass","p-inputnumber-clear-icon"),e.BMQ("data-pc-section","clearIcon"))}function ts(o,a){}function is(o,a){1&o&&e.DNE(0,ts,0,0,"ng-template")}function ns(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",9),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.DNE(1,is,1,0,null,10),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function os(o,a){if(1&o&&(e.qex(0),e.DNE(1,es,1,2,"TimesIcon",6)(2,ns,2,2,"span",7),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ss(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function as(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ls(o,a){}function rs(o,a){1&o&&e.DNE(0,ls,0,0,"ng-template")}function cs(o,a){if(1&o&&(e.qex(0),e.DNE(1,as,1,1,"AngleUpIcon",3)(2,rs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function ds(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function ps(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function us(o,a){}function hs(o,a){1&o&&e.DNE(0,us,0,0,"ng-template")}function ms(o,a){if(1&o&&(e.qex(0),e.DNE(1,ps,1,1,"AngleDownIcon",3)(2,hs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function _s(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",11)(1,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(2,ss,1,2,"span",13)(3,cs,3,2,"ng-container",3),e.k0s(),e.j41(4,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(5,ds,1,2,"span",13)(6,ms,3,2,"ng-container",3),e.k0s()()}if(2&o){const t=e.XpG();e.BMQ("data-pc-section","buttonGroup"),e.R7$(),e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(17,Re))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon),e.R7$(),e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(18,Me))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section",t.decrementbutton),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}function gs(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function fs(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function bs(o,a){}function vs(o,a){1&o&&e.DNE(0,bs,0,0,"ng-template")}function ys(o,a){if(1&o&&(e.qex(0),e.DNE(1,fs,1,1,"AngleUpIcon",3)(2,vs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function Cs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(1,gs,1,2,"span",13)(2,ys,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(8,Re))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon)}}function ws(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function Is(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function xs(o,a){}function Ts(o,a){1&o&&e.DNE(0,xs,0,0,"ng-template")}function ks(o,a){if(1&o&&(e.qex(0),e.DNE(1,Is,1,1,"AngleDownIcon",3)(2,Ts,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function Ss(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(1,ws,1,2,"span",13)(2,ks,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(8,Me))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","decrementbutton"),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}const Ds={provide:R.kq,useExisting:(0,e.Rfq)(()=>Fe),multi:!0};let Fe=(()=>{class o{document;el;cd;injector;showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;style;placeholder;size;maxlength;tabindex;title;ariaLabelledBy;ariaLabel;ariaRequired;name;required;autocomplete;min;max;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly=!1;step=1;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1),this._disabled=t,this.timer&&this.clearTimer()}onInput=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onKeyDown=new e.bkB;onClear=new e.bkB;input;templates;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;value;onModelChange=()=>{};onModelTouched=()=>{};focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_group;_minusSign;_currency;_prefix;_suffix;_index;_disabled;ngControl=null;constructor(t,i,n,s){this.document=t,this.el=i,this.cd=n,this.injector=s}ngOnChanges(t){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(n=>!!t[n])&&this.updateConstructParser()}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"clearicon":this.clearIconTemplate=t.template;break;case"incrementbuttonicon":this.incrementButtonIconTemplate=t.template;break;case"decrementbuttonicon":this.decrementButtonIconTemplate=t.template}})}ngOnInit(){this.ngControl=this.injector.get(R.vO,null,{optional:!0}),this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const t=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(t.map((n,s)=>[n,s]));this._numeral=new RegExp(`[${t.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=n=>i.get(n)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const t=new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1});return new RegExp(`[${t.format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=t.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${t.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const t=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${t.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=t.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=t.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(t){if(null!=t){if("-"===t)return t;if(this.format){let n=new Intl.NumberFormat(this.locale,this.getOptions()).format(t);return this.prefix&&(n=this.prefix+n),this.suffix&&(n+=this.suffix),n}return t.toString()}return""}parseValue(t){let i=t.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(i){if("-"===i)return i;let n=+i;return isNaN(n)?null:n}return null}repeat(t,i,n){if(this.readonly)return;let s=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(t,40,n)},s),this.spin(t,n)}spin(t,i){let n=this.step*i,s=this.parseValue(this.input?.nativeElement.value)||0,l=this.validateValue(s+n);this.maxlength&&this.maxlength0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i-1)+s.slice(i)}else"currency"===this.mode&&-1!=r.search(this._currency)&&(l=s.slice(1));this.updateValue(t,l,null,"delete-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Delete":if(t.preventDefault(),i===n){const r=s.charAt(i),{decimalCharIndex:c,decimalCharIndexWithoutPrefix:p}=this.getDecimalCharIndexes(s);if(this.isNumeralChar(r)){const u=this.getDecimalLength(s);if(this._group.test(r))this._group.lastIndex=0,l=s.slice(0,i)+s.slice(i+2);else if(this._decimal.test(r))this._decimal.lastIndex=0,u?this.input?.nativeElement.setSelectionRange(i+1,i+1):l=s.slice(0,i)+s.slice(i+1);else if(c>0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i)+s.slice(i+1)}this.updateValue(t,l,null,"delete-back-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Home":this.min&&(this.updateModel(t,this.min),t.preventDefault());break;case"End":this.max&&(this.updateModel(t,this.max),t.preventDefault())}this.onKeyDown.emit(t)}onInputKeyPress(t){if(this.readonly)return;let i=t.which||t.keyCode,n=String.fromCharCode(i);const s=this.isDecimalSign(n),l=this.isMinusSign(n);13!=i&&t.preventDefault();const r=this.parseValue(this.input.nativeElement.value+n),c=null!=r?r.toString():"";this.maxlength&&c.length>this.maxlength||(48<=i&&i<=57||l||s)&&this.insert(t,n,{isDecimalSign:s,isMinusSign:l})}onPaste(t){if(!this.disabled&&!this.readonly){t.preventDefault();let i=(t.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(i){this.maxlength&&(i=i.toString().substring(0,this.maxlength));let n=this.parseValue(i);null!=n&&this.insert(t,n.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(t){return!(!this._minusSign.test(t)&&"-"!==t||(this._minusSign.lastIndex=0,0))}isDecimalSign(t){return!!this._decimal.test(t)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(t){let i=t.search(this._decimal);this._decimal.lastIndex=0;const s=t.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:s}}getCharIndexes(t){const i=t.search(this._decimal);this._decimal.lastIndex=0;const n=t.search(this._minusSign);this._minusSign.lastIndex=0;const s=t.search(this._suffix);this._suffix.lastIndex=0;const l=t.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:n,suffixCharIndex:s,currencyCharIndex:l}}insert(t,i,n={isDecimalSign:!1,isMinusSign:!1}){const s=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==s)return;let l=this.input?.nativeElement.selectionStart,r=this.input?.nativeElement.selectionEnd,c=this.input?.nativeElement.value.trim();const{decimalCharIndex:p,minusCharIndex:u,suffixCharIndex:_,currencyCharIndex:b}=this.getCharIndexes(c);let f;if(n.isMinusSign)0===l&&(f=c,(-1===u||0!==r)&&(f=this.insertText(c,i,0,r)),this.updateValue(t,f,i,"insert"));else if(n.isDecimalSign)p>0&&l===p?this.updateValue(t,c,i,"insert"):(p>l&&p0&&l>p){if(l+i.length-(p+1)<=w){const y=b>=l?b-1:_>=l?_:c.length;f=c.slice(0,l)+i+c.slice(l+i.length,y)+c.slice(y),this.updateValue(t,f,i,C)}}else f=this.insertText(c,i,l,r),this.updateValue(t,f,i,C)}}insertText(t,i,n,s){if(2===("."===i?i:i.split(".")).length){const r=t.slice(n,s).search(this._decimal);return this._decimal.lastIndex=0,r>0?t.slice(0,n)+this.formatValue(i)+t.slice(s):t||this.formatValue(i)}return s-n===t.length?this.formatValue(i):0===n?i+t.slice(s):s===t.length?t.slice(0,n)+i:t.slice(0,n)+i+t.slice(s)}deleteRange(t,i,n){let s;return s=n-i===t.length?"":0===i?t.slice(n):n===t.length?t.slice(0,i):t.slice(0,i)+t.slice(n),s}initCursor(){let t=this.input?.nativeElement.selectionStart,i=this.input?.nativeElement.value,n=i.length,s=null,l=(this.prefixChar||"").length;i=i.replace(this._prefix,""),t-=l;let r=i.charAt(t);if(this.isNumeralChar(r))return t+l;let c=t-1;for(;c>=0;){if(r=i.charAt(c),this.isNumeralChar(r)){s=c+l;break}c--}if(null!==s)this.input?.nativeElement.setSelectionRange(s+1,s+1);else{for(c=t;cthis.max?this.max:t}updateInput(t,i,n,s){i=i||"";let l=this.input?.nativeElement.value,r=this.formatValue(t),c=l.length;if(r!==s&&(r=this.concatValues(r,s)),0===c){this.input.nativeElement.value=r,this.input.nativeElement.setSelectionRange(0,0);const u=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(u,u)}else{let p=this.input.nativeElement.selectionStart,u=this.input.nativeElement.selectionEnd;if(this.maxlength&&r.length>this.maxlength&&(r=r.slice(0,this.maxlength),p=Math.min(p,this.maxlength),u=Math.min(u,this.maxlength)),this.maxlength&&this.maxlength0}clearTimer(){this.timer&&clearInterval(this.timer)}getFormatter(){return this.numberFormat}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.zZn))};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputNumber"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&e.GBs(Zo,5),2&i){let s;e.mGM(s=e.lsd())&&(n.input=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused)("p-inputnumber-clearable",n.showClear&&"vertical"!=n.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[e.Jv_([Ds]),e.OA$],decls:7,vars:39,consts:[["input",""],[3,"ngClass","ngStyle"],["pInputText","","role","spinbutton","inputmode","decimal",3,"input","keydown","keypress","paste","click","focus","blur","ngClass","ngStyle","value","disabled","readonly"],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","class","p-button-icon-only","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","pButton","","tabindex","-1",1,"p-button-icon-only",3,"mousedown","mouseup","mouseleave","keydown","keyup","ngClass","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"span",1)(1,"input",2,0),e.bIt("input",function(r){return e.eBV(s),e.Njj(n.onUserInput(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.onInputKeyDown(r))})("keypress",function(r){return e.eBV(s),e.Njj(n.onInputKeyPress(r))})("paste",function(r){return e.eBV(s),e.Njj(n.onPaste(r))})("click",function(){return e.eBV(s),e.Njj(n.onInputClick())})("focus",function(r){return e.eBV(s),e.Njj(n.onInputFocus(r))})("blur",function(r){return e.eBV(s),e.Njj(n.onInputBlur(r))}),e.k0s(),e.DNE(3,os,3,2,"ng-container",3)(4,_s,7,19,"span",4)(5,Cs,3,9,"button",5)(6,Ss,3,9,"button",5),e.k0s()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.sMw(35,Jo,n.showButtons&&"stacked"===n.buttonLayout,n.showButtons&&"horizontal"===n.buttonLayout,n.showButtons&&"vertical"===n.buttonLayout))("ngStyle",n.style),e.BMQ("data-pc-name","inputnumber")("data-pc-section","root"),e.R7$(),e.HbH(n.inputStyleClass),e.Y8G("ngClass","p-inputnumber-input")("ngStyle",n.inputStyle)("value",n.formattedValue())("disabled",n.disabled)("readonly",n.readonly),e.BMQ("id",n.inputId)("aria-valuemin",n.min)("aria-valuemax",n.max)("aria-valuenow",n.value)("placeholder",n.placeholder)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledBy)("title",n.title)("size",n.size)("name",n.name)("autocomplete",n.autocomplete)("maxlength",n.maxlength)("tabindex",n.tabindex)("aria-required",n.ariaRequired)("required",n.required)("min",n.min)("max",n.max)("data-pc-section","input"),e.R7$(2),e.Y8G("ngIf","vertical"!=n.buttonLayout&&n.showClear&&n.value),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"===n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,H.S,M._f,F.A,Ee,Q],styles:["@layer primeng{p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),le=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,H.u,M.tm,F.A,Ee,Q,g.Gg]})}return o})(),Ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ve=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Be=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),q=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const W=o=>({"p-disabled":o}),re=o=>({$implicit:o}),Es=o=>({"p-highlight":o});function Rs(o,a){1&o&&e.eu8(0)}function Ms(o,a){if(1&o&&(e.j41(0,"div",15),e.DNE(1,Rs,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","start"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateLeft)("ngTemplateOutletContext",e.eq3(3,re,t.paginatorState))}}function Fs(o,a){if(1&o&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.JRh(t.currentPageReport)}}function Gs(o,a){1&o&&e.nrm(0,"AngleDoubleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Vs(o,a){}function Bs(o,a){1&o&&e.DNE(0,Vs,0,0,"ng-template")}function Os(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Bs,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.firstPageLinkIconTemplate)}}function Ls(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",18),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToFirst(n))}),e.DNE(1,Gs,1,1,"AngleDoubleLeftIcon",6)(2,Os,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(5,W,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("firstPageLabel")),e.R7$(),e.Y8G("ngIf",!t.firstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.firstPageLinkIconTemplate)}}function Ns(o,a){1&o&&e.nrm(0,"AngleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function js(o,a){}function Ps(o,a){1&o&&e.DNE(0,js,0,0,"ng-template")}function zs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Ps,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousPageLinkIconTemplate)}}function Hs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.onPageLinkClick(n,s-1))}),e.EFF(1),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(3);e.Y8G("ngClass",e.eq3(3,Es,t-1==i.getPage())),e.BMQ("aria-label",i.getAriaLabel("pageLabel")),e.R7$(),e.SpI(" ",i.getLocalization(t)," ")}}function Ys(o,a){if(1&o&&(e.j41(0,"span",22),e.DNE(1,Hs,2,5,"button",23),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.pageLinks)}}function $s(o,a){if(1&o&&e.EFF(0),2&o){const t=e.XpG(3);e.JRh(t.currentPageReport)}}function As(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",25),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onPageDropdownChange(n))}),e.DNE(1,$s,1,1,"ng-template",26),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.pageItems)("ngModel",t.getPage())("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight),e.BMQ("aria-label",t.getAriaLabel("jumpToPageDropdownLabel"))}}function Xs(o,a){1&o&&e.nrm(0,"AngleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ks(o,a){}function Us(o,a){1&o&&e.DNE(0,Ks,0,0,"ng-template")}function Qs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Us,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextPageLinkIconTemplate)}}function qs(o,a){1&o&&e.nrm(0,"AngleDoubleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ws(o,a){}function Zs(o,a){1&o&&e.DNE(0,Ws,0,0,"ng-template")}function Js(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Zs,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.lastPageLinkIconTemplate)}}function ea(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",27),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToLast(n))}),e.DNE(1,qs,1,1,"AngleDoubleRightIcon",6)(2,Js,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(5,W,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("lastPageLabel")),e.R7$(),e.Y8G("ngIf",!t.lastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.lastPageLinkIconTemplate)}}function ta(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-inputNumber",28),e.bIt("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePage(n-1))}),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("ngModel",t.currentPage())("disabled",t.empty())}}function ia(o,a){1&o&&e.eu8(0)}function na(o,a){if(1&o&&e.DNE(0,ia,1,0,"ng-container",16),2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",e.eq3(2,re,t))}}function oa(o,a){1&o&&(e.qex(0),e.DNE(1,na,1,4,"ng-template",31),e.bVm())}function sa(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",29),e.mxI("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.DH7(s.rows,n)||(s.rows=n),e.Njj(n)}),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onRppChange(n))}),e.DNE(1,oa,2,0,"ng-container",30),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.rowsPerPageItems),e.R50("ngModel",t.rows),e.Y8G("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight)("ariaLabel",t.getAriaLabel("rowsPerPageLabel")),e.R7$(),e.Y8G("ngIf",t.dropdownItemTemplate)}}function aa(o,a){1&o&&e.eu8(0)}function la(o,a){if(1&o&&(e.j41(0,"div",32),e.DNE(1,aa,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","end"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateRight)("ngTemplateOutletContext",e.eq3(3,re,t.paginatorState))}}function ra(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",1),e.DNE(1,Ms,2,5,"div",2)(2,Fs,2,1,"span",3)(3,Ls,3,7,"button",4),e.j41(4,"button",5),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToPrev(n))}),e.DNE(5,Ns,1,1,"AngleLeftIcon",6)(6,zs,2,1,"span",7),e.k0s(),e.DNE(7,Ys,2,1,"span",8)(8,As,2,6,"p-dropdown",9),e.j41(9,"button",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToNext(n))}),e.DNE(10,Xs,1,1,"AngleRightIcon",6)(11,Qs,2,1,"span",7),e.k0s(),e.DNE(12,ea,3,7,"button",11)(13,ta,1,2,"p-inputNumber",12)(14,sa,2,7,"p-dropdown",13)(15,la,2,5,"div",14),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass","p-paginator p-component"),e.BMQ("data-pc-section","paginator")("data-pc-section","root"),e.R7$(),e.Y8G("ngIf",t.templateLeft),e.R7$(),e.Y8G("ngIf",t.showCurrentPageReport),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(25,W,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("prevPageLabel")),e.R7$(),e.Y8G("ngIf",!t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showPageLinks),e.R7$(),e.Y8G("ngIf",t.showJumpToPageDropdown),e.R7$(),e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(27,W,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("nextPageLabel")),e.R7$(),e.Y8G("ngIf",!t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("ngIf",t.showJumpToPageInput),e.R7$(),e.Y8G("ngIf",t.rowsPerPageOptions),e.R7$(),e.Y8G("ngIf",t.templateRight)}}let ca=(()=>{class o{cd;config;pageLinkSize=5;style;styleClass;alwaysShow=!0;dropdownAppendTo;templateLeft;templateRight;appendTo;dropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showFirstLastIcon=!0;totalRecords=0;rows=0;rowsPerPageOptions;showJumpToPageDropdown;showJumpToPageInput;showPageLinks=!0;locale;dropdownItemTemplate;get first(){return this._first}set first(t){this._first=t}onPageChange=new e.bkB;templates;firstPageLinkIconTemplate;previousPageLinkIconTemplate;lastPageLinkIconTemplate;nextPageLinkIconTemplate;pageLinks;pageItems;rowsPerPageItems;paginatorState;_first=0;_page=0;constructor(t,i){this.cd=t,this.config=i}ngOnInit(){this.updatePaginatorState()}getAriaLabel(t){return this.config.translation.aria?this.config.translation.aria[t]:void 0}getLocalization(t){const i=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),n=new Map(i.map((s,l)=>[l,s]));return t>9?String(t).split("").map(l=>n.get(Number(l))).join(""):n.get(t)}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"firstpagelinkicon":this.firstPageLinkIconTemplate=t.template;break;case"previouspagelinkicon":this.previousPageLinkIconTemplate=t.template;break;case"lastpagelinkicon":this.lastPageLinkIconTemplate=t.template;break;case"nextpagelinkicon":this.nextPageLinkIconTemplate=t.template}})}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()}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(this.getLocalization(t)),value:t})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let t=this.getPageCount(),i=Math.min(this.pageLinkSize,t),n=Math.max(0,Math.ceil(this.getPage()-i/2)),s=Math.min(t-1,n+i-1);return n=Math.max(0,n-(this.pageLinkSize-(s-n+1))),[n,s]}updatePageLinks(){this.pageLinks=[];let t=this.calculatePageLinkBoundaries(),n=t[1];for(let s=t[0];s<=n;s++)this.pageLinks.push(s+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let s=0;s=0&&t0&&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,i){this.changePage(i),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}}empty(){return 0===this.getPageCount()}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){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))}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-paginator"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",dropdownAppendTo:"dropdownAppendTo",templateLeft:"templateLeft",templateRight:"templateRight",appendTo:"appendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showPageLinks:"showPageLinks",locale:"locale",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[e.OA$],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,"click","disabled","ngClass"],[3,"styleClass",4,"ngIf"],["class","p-paginator-icon",4,"ngIf"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"click","disabled","ngClass"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-page-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ariaLabel","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-paginator-element","p-link",3,"click","disabled","ngClass"],[3,"styleClass"],[1,"p-paginator-icon"],[4,"ngTemplateOutlet"],[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,"click","ngClass"],["styleClass","p-paginator-page-options",3,"onChange","options","ngModel","disabled","appendTo","scrollHeight"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"click","disabled","ngClass"],[1,"p-paginator-page-input",3,"ngModelChange","ngModel","disabled"],["styleClass","p-paginator-rpp-options",3,"ngModelChange","onChange","options","ngModel","disabled","appendTo","scrollHeight","ariaLabel"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(i,n){1&i&&e.DNE(0,ra,16,29,"div",0),2&i&&e.Y8G("ngIf",!!n.alwaysShow||n.pageLinks&&n.pageLinks.length>1)},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,De,g.Ei,Fe,R.BC,R.vS,E.n,Ge,Ve,Be,q],styles:["@layer primeng{.p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),da=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,ae,le,R.YN,g.Gg,E.Z,Ge,Ve,Be,q,ae,le,R.YN,g.Gg]})}return o})();const pa=["container"],ua=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-button-icon-only":t}),ha=(o,a)=>({$implicit:o,index:a});function ma(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2).$implicit;e.HbH(t.icon),e.Y8G("ngClass","p-button-icon p-button-icon-left"),e.BMQ("data-pc-section","icon")}}function _a(o,a){if(1&o&&(e.qex(0),e.DNE(1,ma,1,4,"span",6),e.j41(2,"span",7),e.EFF(3),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.BMQ("data-pc-section","label"),e.R7$(),e.JRh(i.getOptionLabel(t))}}function ga(o,a){1&o&&e.eu8(0)}function fa(o,a){if(1&o&&e.DNE(0,ga,1,0,"ng-container",9),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.Y8G("ngTemplateOutlet",s.selectButtonTemplate)("ngTemplateOutletContext",e.l_i(2,ha,i,n))}}function ba(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",4),e.bIt("click",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onOptionSelect(n,l,r))})("keydown",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onKeyDown(n,l,r))})("focus",function(n){const s=e.eBV(t).index,l=e.XpG();return e.Njj(l.onFocus(n,s))})("blur",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onBlur())}),e.DNE(1,_a,4,3,"ng-container",5)(2,fa,1,5,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.sdS(3),s=e.XpG();e.HbH(t.styleClass),e.Y8G("role",s.multiple?"checkbox":"radio")("ngClass",e.sMw(14,ua,s.isSelected(t),s.disabled||s.isOptionDisabled(t),t.icon&&!s.getOptionLabel(t))),e.BMQ("tabindex",i===s.focusedIndex?"0":"-1")("aria-label",t.label)("aria-checked",s.isSelected(t))("aria-disabled",s.optionDisabled)("aria-pressed",s.isSelected(t))("title",t.title)("aria-labelledby",s.getOptionLabel(t))("data-pc-section","button"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate)("ngIfElse",n)}}const va={provide:R.kq,useExisting:(0,e.Rfq)(()=>ya),multi:!0};let ya=(()=>{class o{cd;options;optionLabel;optionValue;optionDisabled;unselectable=!1;tabindex=0;multiple;allowEmpty=!0;style;styleClass;ariaLabelledBy;disabled;dataKey;onOptionClick=new e.bkB;onChange=new e.bkB;container;itemTemplate;get selectButtonTemplate(){return this.itemTemplate?.template}get equalityKey(){return this.optionValue?null:this.dataKey}value;onModelChange=()=>{};onModelTouched=()=>{};focusedIndex=0;constructor(t){this.cd=t}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):this.optionLabel||void 0===t.value?t:t.value}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):void 0!==t.disabled&&t.disabled}writeValue(t){this.value=t,this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onOptionSelect(t,i,n){if(this.disabled||this.isOptionDisabled(i))return;let s=this.isSelected(i);if(s&&this.unselectable)return;let r,l=this.getOptionValue(i);if(this.multiple)r=s?this.value.filter(c=>!h.BF.equals(c,l,this.equalityKey)):this.value?[...this.value,l]:[l];else{if(s&&!this.allowEmpty)return;r=s?null:l}this.focusedIndex=n,this.value=r,this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value}),this.onOptionClick.emit({originalEvent:t,option:i,index:n})}onKeyDown(t,i,n){switch(t.code){case"Space":this.onOptionSelect(t,i,n),t.preventDefault();break;case"ArrowDown":case"ArrowRight":this.changeTabIndexes(t,"next"),t.preventDefault();break;case"ArrowUp":case"ArrowLeft":this.changeTabIndexes(t,"prev"),t.preventDefault()}}changeTabIndexes(t,i){let n,s;for(let l=0;l<=this.container.nativeElement.children.length-1;l++)"0"===this.container.nativeElement.children[l].getAttribute("tabindex")&&(n={elem:this.container.nativeElement.children[l],index:l});s="prev"===i?0===n.index?this.container.nativeElement.children.length-1:n.index-1:n.index===this.container.nativeElement.children.length-1?0:n.index+1,this.focusedIndex=s,this.container.nativeElement.children[s].focus()}onFocus(t,i){this.focusedIndex=i}onBlur(){this.onModelTouched()}removeOption(t){this.value=this.value.filter(i=>!h.BF.equals(i,this.getOptionValue(t),this.dataKey))}isSelected(t){let i=!1;const n=this.getOptionValue(t);if(this.multiple){if(this.value&&Array.isArray(this.value))for(let s of this.value)if(h.BF.equals(s,n,this.dataKey)){i=!0;break}}else i=h.BF.equals(this.getOptionValue(t),this.value,this.equalityKey);return i}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-selectButton"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,5),2&i){let l;e.mGM(l=e.lsd())&&(n.itemTemplate=l.first)}},viewQuery:function(i,n){if(1&i&&e.GBs(pa,5),2&i){let s;e.mGM(s=e.lsd())&&(n.container=s.first)}},hostAttrs:[1,"p-element"],inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",unselectable:"unselectable",tabindex:"tabindex",multiple:"multiple",allowEmpty:"allowEmpty",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[e.Jv_([va])],decls:3,vars:8,consts:[["container",""],["customcontent",""],["role","group",3,"ngClass","ngStyle"],["pRipple","","class","p-button p-component",3,"role","class","ngClass","click","keydown","focus","blur",4,"ngFor","ngForOf"],["pRipple","",1,"p-button","p-component",3,"click","keydown","focus","blur","role","ngClass"],[4,"ngIf","ngIfElse"],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"div",2,0),e.DNE(2,ba,4,18,"div",3),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",n.style),e.BMQ("aria-labelledby",n.ariaLabelledBy)("data-pc-name","selectbutton")("data-pc-section","root"),e.R7$(2),e.Y8G("ngForOf",n.options))},dependencies:[m.YU,m.Sq,m.bT,m.T3,m.B3,E.n],styles:['@layer primeng{.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}p-button[iconpos=right] spinnericon{order:1}}\n'],encapsulation:2,changeDetection:0})}return o})(),Ca=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,E.Z,g.Gg,g.Gg]})}return o})(),ce=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CheckIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const wa=(o,a)=>({"p-checkbox p-component":!0,"p-checkbox-disabled":o,"p-checkbox-focused":a}),Ia=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-focus":t}),xa=(o,a,t)=>({"p-checkbox-label-active":o,"p-disabled":a,"p-checkbox-label-focus":t});function Ta(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxTrueIcon),e.BMQ("data-pc-section","checkIcon")}}function ka(o,a){1&o&&e.nrm(0,"CheckIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","checkIcon"))}function Sa(o,a){}function Da(o,a){1&o&&e.DNE(0,Sa,0,0,"ng-template")}function Ea(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,Da,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","checkIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.checkIconTemplate)}}function Ra(o,a){if(1&o&&(e.qex(0),e.DNE(1,ka,1,2,"CheckIcon",9)(2,Ea,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.checkIconTemplate),e.R7$(),e.Y8G("ngIf",t.checkIconTemplate)}}function Ma(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ta,1,2,"span",7)(2,Ra,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxTrueIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxTrueIcon)}}function Fa(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxFalseIcon),e.BMQ("data-pc-section","uncheckIcon")}}function Ga(o,a){1&o&&e.nrm(0,"TimesIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","uncheckIcon"))}function Va(o,a){}function Ba(o,a){1&o&&e.DNE(0,Va,0,0,"ng-template")}function Oa(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,Ba,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","uncheckIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.uncheckIconTemplate)}}function La(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ga,1,2,"TimesIcon",9)(2,Oa,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.uncheckIconTemplate),e.R7$(),e.Y8G("ngIf",t.uncheckIconTemplate)}}function Na(o,a){if(1&o&&(e.qex(0),e.DNE(1,Fa,1,2,"span",7)(2,La,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxFalseIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxFalseIcon)}}function ja(o,a){if(1&o){const t=e.RV6();e.j41(0,"label",14),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(),l=e.sdS(3);return e.Njj(s.onClick(n,l))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",e.sMw(3,xa,null!=t.value,t.disabled,t.focused)),e.BMQ("for",t.inputId),e.R7$(),e.JRh(t.label)}}const Pa={provide:R.kq,useExisting:(0,e.Rfq)(()=>za),multi:!0};let za=(()=>{class o{cd;constructor(t){this.cd=t}disabled;name;ariaLabel;ariaLabelledBy;tabindex;inputId;style;styleClass;label;readonly;checkboxTrueIcon;checkboxFalseIcon;onChange=new e.bkB;templates;checkIconTemplate;uncheckIconTemplate;focused;value;onModelChange=()=>{};onModelTouched=()=>{};onClick(t,i){!this.disabled&&!this.readonly&&(this.toggle(t),this.focused=!0,i.focus())}onKeyDown(t){"Enter"===t.key&&(this.toggle(t),t.preventDefault())}toggle(t){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value})}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"checkicon":this.checkIconTemplate=t.template;break;case"uncheckicon":this.uncheckIconTemplate=t.template}})}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}writeValue(t){this.value=t,this.cd.markForCheck()}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-triStateCheckbox"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{disabled:"disabled",name:"name",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[e.Jv_([Pa])],decls:8,vars:26,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox","inputmode","none",3,"keydown","focus","blur","name","readonly","disabled"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"],[1,"p-checkbox-label",3,"click","ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",1),e.bIt("click",function(r){e.eBV(s);const c=e.sdS(3);return e.Njj(n.onClick(r,c))}),e.j41(1,"div",2)(2,"input",3,0),e.bIt("keydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("focus",function(){return e.eBV(s),e.Njj(n.onFocus())})("blur",function(){return e.eBV(s),e.Njj(n.onBlur())}),e.k0s()(),e.j41(4,"div",4),e.DNE(5,Ma,3,2,"ng-container",5)(6,Na,3,2,"ng-container",5),e.k0s()(),e.DNE(7,ja,2,7,"label",6)}2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.l_i(19,wa,n.disabled,n.focused)),e.BMQ("data-pc-name","tristatecheckbox")("data-pc-section","root"),e.R7$(2),e.Y8G("name",n.name)("readonly",n.readonly)("disabled",n.disabled),e.BMQ("id",n.inputId)("tabindex",n.tabindex)("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel)("data-pc-section","hiddenInput"),e.R7$(2),e.Y8G("ngClass",e.sMw(22,Ia,null!=n.value,n.disabled,n.focused)),e.BMQ("aria-checked",!0===n.value),e.R7$(),e.Y8G("ngIf",!0===n.value),e.R7$(),e.Y8G("ngIf",!1===n.value),e.R7$(),e.Y8G("ngIf",n.label))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,ce,F.A],encapsulation:2,changeDetection:0})}return o})(),Ha=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,ce,F.A,g.Gg]})}return o})();var P=I(1413);let Oe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Le=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ya=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ne=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:9,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z","fill","currentColor"],["d","M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z","fill","currentColor"],["d","M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z","fill","currentColor"],["d","M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1)(3,"path",2)(4,"path",3)(5,"path",4),e.k0s(),e.j41(6,"defs")(7,"clipPath",5),e.nrm(8,"rect",6),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(6),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),je=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Pe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountUpAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),$a=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterSlashIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Aa=["container"],Xa=["resizeHelper"],Ka=["reorderIndicatorUp"],Ua=["reorderIndicatorDown"],Qa=["wrapper"],qa=["table"],Wa=["thead"],Za=["tfoot"],Ja=["scroller"],el=(o,a,t)=>({"p-datatable p-component":!0,"p-datatable-hoverable-rows":o,"p-datatable-scrollable":a,"p-datatable-flex-scrollable":t}),tl=o=>({maxHeight:o}),il=o=>({height:o}),ze=(o,a)=>({$implicit:o,options:a}),nl=o=>({columns:o}),ol=(o,a,t)=>({"p-datatable-table":!0,"p-datatable-scrollable-table":o,"p-datatable-resizable-table":a,"p-datatable-resizable-table-fit":t}),N=o=>({$implicit:o});function sl(o,a){if(1&o&&e.nrm(0,"i"),2&o){const t=e.XpG(2);e.HbH("p-datatable-loading-icon "+t.loadingIcon)}}function al(o,a){1&o&&e.nrm(0,"SpinnerIcon",26),2&o&&e.Y8G("spin",!0)("styleClass","p-datatable-loading-icon")}function ll(o,a){}function rl(o,a){1&o&&e.DNE(0,ll,0,0,"ng-template")}function cl(o,a){if(1&o&&(e.j41(0,"span",27),e.DNE(1,rl,1,0,null,28),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.loadingIconTemplate)}}function dl(o,a){if(1&o&&(e.qex(0),e.DNE(1,al,1,2,"SpinnerIcon",24)(2,cl,2,1,"span",25),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.loadingIconTemplate),e.R7$(),e.Y8G("ngIf",t.loadingIconTemplate)}}function pl(o,a){if(1&o&&(e.j41(0,"div",22),e.DNE(1,sl,1,2,"i",23)(2,dl,3,2,"ng-container",16),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.loadingIcon),e.R7$(),e.Y8G("ngIf",!t.loadingIcon)}}function ul(o,a){1&o&&e.eu8(0)}function hl(o,a){if(1&o&&(e.j41(0,"div",29),e.DNE(1,ul,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.captionTemplate)}}function ml(o,a){1&o&&e.eu8(0)}function _l(o,a){if(1&o&&e.DNE(0,ml,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function gl(o,a){1&o&&e.DNE(0,_l,1,1,"ng-template",31)}function fl(o,a){1&o&&e.eu8(0)}function bl(o,a){if(1&o&&e.DNE(0,fl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function vl(o,a){1&o&&e.DNE(0,bl,1,1,"ng-template",32)}function yl(o,a){1&o&&e.eu8(0)}function Cl(o,a){if(1&o&&e.DNE(0,yl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function wl(o,a){1&o&&e.DNE(0,Cl,1,1,"ng-template",33)}function Il(o,a){1&o&&e.eu8(0)}function xl(o,a){if(1&o&&e.DNE(0,Il,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Tl(o,a){1&o&&e.DNE(0,xl,1,1,"ng-template",34)}function kl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",30),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,gl,1,0,null,16)(2,vl,1,0,null,16)(3,wl,1,0,null,16)(4,Tl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Sl(o,a){1&o&&e.eu8(0)}function Dl(o,a){if(1&o&&e.DNE(0,Sl,1,0,"ng-container",37),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(10);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,ze,t,i))}}function El(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",35,3),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLazyItemLoad(n))}),e.DNE(2,Dl,1,5,"ng-template",36),e.k0s()}if(2&o){const t=e.XpG();e.Aen(e.eq3(15,il,"flex"!==t.scrollHeight?t.scrollHeight:void 0)),e.Y8G("items",t.processedData)("columns",t.columns)("scrollHeight","flex"!==t.scrollHeight?void 0:"100%")("itemSize",t.virtualScrollItemSize||t._virtualRowHeight)("step",t.rows)("delay",t.lazy?t.virtualScrollDelay:0)("inline",!0)("lazy",t.lazy)("loaderDisabled",!0)("showSpacer",!1)("showLoader",t.loadingBodyTemplate)("options",t.virtualScrollOptions)("autoSize",!0)}}function Rl(o,a){1&o&&e.eu8(0)}function Ml(o,a){if(1&o&&(e.qex(0),e.DNE(1,Rl,1,0,"ng-container",37),e.bVm()),2&o){const t=e.XpG(),i=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(4,ze,t.processedData,e.eq3(2,nl,t.columns)))}}function Fl(o,a){1&o&&e.eu8(0)}function Gl(o,a){1&o&&e.eu8(0)}function Vl(o,a){if(1&o&&e.nrm(0,"tbody",44),2&o){const t=e.XpG().options,i=e.XpG();e.Y8G("value",i.frozenValue)("frozenRows",!0)("pTableBody",t.columns)("pTableBodyTemplate",i.frozenBodyTemplate)("frozen",!0)}}function Bl(o,a){if(1&o&&e.nrm(0,"tbody",45),2&o){const t=e.XpG().options;e.Aen("height: calc("+t.spacerStyle.height+" - "+t.rows.length*t.itemSize+"px);")}}function Ol(o,a){1&o&&e.eu8(0)}function Ll(o,a){if(1&o&&(e.j41(0,"tfoot",46,6),e.DNE(2,Ol,1,0,"ng-container",37),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",i.footerGroupedTemplate||i.footerTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.columns))}}function Nl(o,a){if(1&o&&(e.j41(0,"table",38,4),e.DNE(2,Fl,1,0,"ng-container",37),e.j41(3,"thead",39,5),e.DNE(5,Gl,1,0,"ng-container",37),e.k0s(),e.DNE(6,Vl,1,5,"tbody",40),e.nrm(7,"tbody",41),e.DNE(8,Bl,1,2,"tbody",42)(9,Ll,3,4,"tfoot",43),e.k0s()),2&o){const t=a.options,i=e.XpG();e.Aen(i.tableStyle),e.HbH(i.tableStyleClass),e.Y8G("ngClass",e.sMw(20,ol,i.scrollable,i.resizableColumns,i.resizableColumns&&"fit"===i.columnResizeMode)),e.BMQ("id",i.id+"-table"),e.R7$(2),e.Y8G("ngTemplateOutlet",i.colGroupTemplate)("ngTemplateOutletContext",e.eq3(24,N,t.columns)),e.R7$(3),e.Y8G("ngTemplateOutlet",i.headerGroupedTemplate||i.headerTemplate)("ngTemplateOutletContext",e.eq3(26,N,t.columns)),e.R7$(),e.Y8G("ngIf",i.frozenValue||i.frozenBodyTemplate),e.R7$(),e.Aen(t.contentStyle),e.Y8G("ngClass",t.contentStyleClass)("value",i.dataToRender(t.rows))("pTableBody",t.columns)("pTableBodyTemplate",i.bodyTemplate)("scrollerOptions",t),e.R7$(),e.Y8G("ngIf",t.spacerStyle),e.R7$(),e.Y8G("ngIf",i.footerGroupedTemplate||i.footerTemplate)}}function jl(o,a){1&o&&e.eu8(0)}function Pl(o,a){if(1&o&&e.DNE(0,jl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function zl(o,a){1&o&&e.DNE(0,Pl,1,1,"ng-template",31)}function Hl(o,a){1&o&&e.eu8(0)}function Yl(o,a){if(1&o&&e.DNE(0,Hl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function $l(o,a){1&o&&e.DNE(0,Yl,1,1,"ng-template",32)}function Al(o,a){1&o&&e.eu8(0)}function Xl(o,a){if(1&o&&e.DNE(0,Al,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function Kl(o,a){1&o&&e.DNE(0,Xl,1,1,"ng-template",33)}function Ul(o,a){1&o&&e.eu8(0)}function Ql(o,a){if(1&o&&e.DNE(0,Ul,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function ql(o,a){1&o&&e.DNE(0,Ql,1,1,"ng-template",34)}function Wl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",47),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,zl,1,0,null,16)(2,$l,1,0,null,16)(3,Kl,1,0,null,16)(4,ql,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Zl(o,a){1&o&&e.eu8(0)}function Jl(o,a){if(1&o&&(e.j41(0,"div",48),e.DNE(1,Zl,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.summaryTemplate)}}function er(o,a){1&o&&e.nrm(0,"div",49,7)}function tr(o,a){1&o&&e.nrm(0,"ArrowDownIcon")}function ir(o,a){}function nr(o,a){1&o&&e.DNE(0,ir,0,0,"ng-template")}function or(o,a){if(1&o&&(e.j41(0,"span",50,8),e.DNE(2,tr,1,0,"ArrowDownIcon",16)(3,nr,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorUpIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorUpIconTemplate)}}function sr(o,a){1&o&&e.nrm(0,"ArrowUpIcon")}function ar(o,a){}function lr(o,a){1&o&&e.DNE(0,ar,0,0,"ng-template")}function rr(o,a){if(1&o&&(e.j41(0,"span",51,9),e.DNE(2,sr,1,0,"ArrowUpIcon",16)(3,lr,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorDownIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorDownIconTemplate)}}const cr=["pTableBody",""],de=(o,a,t,i,n)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n}),dr=(o,a,t,i,n,s,l)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n,rowgroup:s,rowspan:l}),Z=(o,a,t,i,n,s)=>({$implicit:o,rowIndex:a,columns:t,expanded:i,editing:n,frozen:s}),He=(o,a,t,i)=>({$implicit:o,rowIndex:a,columns:t,frozen:i}),Ye=(o,a)=>({$implicit:o,frozen:a});function pr(o,a){1&o&&e.eu8(0)}function ur(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,pr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.s1E(2,de,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function hr(o,a){1&o&&e.eu8(0)}function mr(o,a){if(1&o&&(e.qex(0),e.DNE(1,hr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.s1E(2,de,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function _r(o,a){1&o&&e.eu8(0)}function gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,_r,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.sGs(2,dr,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen,s.shouldRenderRowspan(s.value,i,n),s.calculateRowGroupSize(s.value,i,n)))}}function fr(o,a){1&o&&e.eu8(0)}function br(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.s1E(2,de,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function vr(o,a){if(1&o&&e.DNE(0,ur,2,8,"ng-container",2)(1,mr,2,8,"ng-container",0)(2,gr,2,10,"ng-container",0)(3,br,2,8,"ng-container",2),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",n.dt.groupHeaderTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,i)),e.R7$(),e.Y8G("ngIf","rowspan"!==n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf","rowspan"===n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf",n.dt.groupFooterTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupFooter(n.value,t,i))}}function yr(o,a){if(1&o&&(e.qex(0),e.DNE(1,vr,4,4,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Cr(o,a){1&o&&e.eu8(0)}function wr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Cr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.l4e(2,Z,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function Ir(o,a){1&o&&e.eu8(0)}function xr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,Ir,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.l4e(2,Z,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function Tr(o,a){1&o&&e.eu8(0)}function kr(o,a){1&o&&e.eu8(0)}function Sr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,kr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(2),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.l4e(2,Z,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function Dr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tr,1,0,"ng-container",4)(2,Sr,2,9,"ng-container",2),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.expandedRowTemplate)("ngTemplateOutletContext",e.ziG(3,He,i,s.getRowIndex(n),s.columns,s.frozen)),e.R7$(),e.Y8G("ngIf",s.dt.groupFooterTemplate&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupFooter(s.value,i,s.getRowIndex(n)))}}function Er(o,a){if(1&o&&e.DNE(0,wr,2,9,"ng-container",0)(1,xr,2,9,"ng-container",2)(2,Dr,3,8,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",!n.dt.groupHeaderTemplate),e.R7$(),e.Y8G("ngIf",n.dt.groupHeaderTemplate&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,n.getRowIndex(i))),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function Rr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Er,3,3,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Mr(o,a){1&o&&e.eu8(0)}function Fr(o,a){1&o&&e.eu8(0)}function Gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",e.ziG(2,He,i,s.getRowIndex(n),s.columns,s.frozen))}}function Vr(o,a){if(1&o&&e.DNE(0,Mr,1,0,"ng-container",4)(1,Gr,2,7,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.l4e(3,Z,t,n.getRowIndex(i),n.columns,n.dt.isRowExpanded(t),"row"===n.dt.editMode&&n.dt.isRowEditing(t),n.frozen)),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function Br(o,a){if(1&o&&(e.qex(0),e.DNE(1,Vr,2,10,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Or(o,a){1&o&&e.eu8(0)}function Lr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Or,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.l_i(2,Ye,t.columns,t.frozen))}}function Nr(o,a){1&o&&e.eu8(0)}function jr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Nr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.emptyMessageTemplate)("ngTemplateOutletContext",e.l_i(2,Ye,t.columns,t.frozen))}}function Pr(o,a){1&o&&e.nrm(0,"SortAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function zr(o,a){1&o&&e.nrm(0,"SortAmountUpAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Hr(o,a){1&o&&e.nrm(0,"SortAmountDownIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Yr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Pr,1,1,"SortAltIcon",3)(2,zr,1,1,"SortAmountUpAltIcon",3)(3,Hr,1,1,"SortAmountDownIcon",3),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0===t.sortOrder),e.R7$(),e.Y8G("ngIf",1===t.sortOrder),e.R7$(),e.Y8G("ngIf",-1===t.sortOrder)}}function $r(o,a){}function Ar(o,a){1&o&&e.DNE(0,$r,0,0,"ng-template")}function Xr(o,a){if(1&o&&(e.j41(0,"span",5),e.DNE(1,Ar,1,0,null,6),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.sortIconTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.sortOrder))}}function Kr(o,a){if(1&o&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.JRh(t.getBadgeValue())}}let pe=(()=>{class o{sortSource=new P.B;selectionSource=new P.B;contextMenuSource=new P.B;valueSource=new P.B;totalRecordsSource=new P.B;columnsSource=new P.B;sortSource$=this.sortSource.asObservable();selectionSource$=this.selectionSource.asObservable();contextMenuSource$=this.contextMenuSource.asObservable();valueSource$=this.valueSource.asObservable();totalRecordsSource$=this.totalRecordsSource.asObservable();columnsSource$=this.columnsSource.asObservable();onSort(t){this.sortSource.next(t)}onSelectionChange(){this.selectionSource.next(null)}onContextMenu(t){this.contextMenuSource.next(t)}onValueChange(t){this.valueSource.next(t)}onTotalRecordsChange(t){this.totalRecordsSource.next(t)}onColumnsChange(t){this.columnsSource.next(t)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),J=(()=>{class o{document;platformId;renderer;el;zone;tableService;cd;filterService;overlayService;config;frozenColumns;frozenValue;style;styleClass;tableStyle;tableStyleClass;paginator;pageLinks=5;rowsPerPageOptions;alwaysShowPaginator=!0;paginatorPosition="bottom";paginatorStyleClass;paginatorDropdownAppendTo;paginatorDropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showJumpToPageDropdown;showJumpToPageInput;showFirstLastIcon=!0;showPageLinks=!0;defaultSortOrder=1;sortMode="single";resetPageOnSort=!0;selectionMode;selectionPageOnly;contextMenuSelection;contextMenuSelectionChange=new e.bkB;contextMenuSelectionMode="separate";dataKey;metaKeySelection=!0;rowSelectable;rowTrackBy=(t,i)=>i;lazy=!1;lazyLoadOnInit=!0;compareSelectionBy="deepEquals";csvSeparator=",";exportFilename="download";filters={};globalFilterFields;filterDelay=300;filterLocale;expandedRowKeys={};editingRowKeys={};rowExpandMode="multiple";scrollable;scrollDirection="vertical";rowGroupMode;scrollHeight;virtualScroll;virtualScrollItemSize;virtualScrollOptions;virtualScrollDelay=250;frozenWidth;get responsive(){return this._responsive}set responsive(t){this._responsive=t,console.warn("responsive property is deprecated as table is always responsive with scrollable behavior.")}_responsive;contextMenu;resizableColumns;columnResizeMode="fit";reorderableColumns;loading;loadingIcon;showLoader=!0;rowHover;customSort;showInitialSortBadge=!0;autoLayout;exportFunction;exportHeader;stateKey;stateStorage="session";editMode="cell";groupRowsBy;groupRowsByOrder=1;responsiveLayout="scroll";breakpoint="960px";paginatorLocale;get value(){return this._value}set value(t){this._value=t}get columns(){return this._columns}set columns(t){this._columns=t}get first(){return this._first}set first(t){this._first=t}get rows(){return this._rows}set rows(t){this._rows=t}get totalRecords(){return this._totalRecords}set totalRecords(t){this._totalRecords=t,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField(t){this._sortField=t}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder=t}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(t){this._multiSortMeta=t}get selection(){return this._selection}set selection(t){this._selection=t}get selectAll(){return this._selection}set selectAll(t){this._selection=t}selectAllChange=new e.bkB;selectionChange=new e.bkB;onRowSelect=new e.bkB;onRowUnselect=new e.bkB;onPage=new e.bkB;onSort=new e.bkB;onFilter=new e.bkB;onLazyLoad=new e.bkB;onRowExpand=new e.bkB;onRowCollapse=new e.bkB;onContextMenuSelect=new e.bkB;onColResize=new e.bkB;onColReorder=new e.bkB;onRowReorder=new e.bkB;onEditInit=new e.bkB;onEditComplete=new e.bkB;onEditCancel=new e.bkB;onHeaderCheckboxToggle=new e.bkB;sortFunction=new e.bkB;firstChange=new e.bkB;rowsChange=new e.bkB;onStateSave=new e.bkB;onStateRestore=new e.bkB;containerViewChild;resizeHelperViewChild;reorderIndicatorUpViewChild;reorderIndicatorDownViewChild;wrapperViewChild;tableViewChild;tableHeaderViewChild;tableFooterViewChild;scroller;templates;get virtualRowHeight(){return this._virtualRowHeight}set virtualRowHeight(t){this._virtualRowHeight=t,console.warn("The virtualRowHeight property is deprecated.")}_virtualRowHeight=28;_value=[];_columns;_totalRecords=0;_first=0;_rows;filteredValue;headerTemplate;headerGroupedTemplate;bodyTemplate;loadingBodyTemplate;captionTemplate;footerTemplate;footerGroupedTemplate;summaryTemplate;colGroupTemplate;expandedRowTemplate;groupHeaderTemplate;groupFooterTemplate;frozenExpandedRowTemplate;frozenHeaderTemplate;frozenBodyTemplate;frozenFooterTemplate;frozenColGroupTemplate;emptyMessageTemplate;paginatorLeftTemplate;paginatorRightTemplate;paginatorDropdownItemTemplate;loadingIconTemplate;reorderIndicatorUpIconTemplate;reorderIndicatorDownIconTemplate;sortIconTemplate;checkboxIconTemplate;headerCheckboxIconTemplate;paginatorFirstPageLinkIconTemplate;paginatorLastPageLinkIconTemplate;paginatorPreviousPageLinkIconTemplate;paginatorNextPageLinkIconTemplate;selectionKeys={};lastResizerHelperX;reorderIconWidth;reorderIconHeight;draggedColumn;draggedRowIndex;droppedRowIndex;rowDragging;dropPosition;editingCell;editingCellData;editingCellField;editingCellRowIndex;selfClick;documentEditListener;_multiSortMeta;_sortField;_sortOrder=1;preventSelectionSetterPropagation;_selection;_selectAll=null;anchorRowIndex;rangeRowIndex;filterTimeout;initialized;rowTouched;restoringSort;restoringFilter;stateRestored;columnOrderStateRestored;columnWidthsState;tableWidthState;overlaySubscription;resizeColumnElement;columnResizing=!1;rowGroupHeaderStyleObject={};id=(0,h._Y)();styleElement;responsiveStyleElement;window;constructor(t,i,n,s,l,r,c,p,u,_){this.document=t,this.platformId=i,this.renderer=n,this.el=s,this.zone=l,this.tableService=r,this.cd=c,this.filterService=p,this.overlayService=u,this.config=_,this.window=this.document.defaultView}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),"stack"===this.responsiveLayout&&!this.scrollable&&this.createResponsiveStyle(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"caption":this.captionTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"headergrouped":this.headerGroupedTemplate=t.template;break;case"body":this.bodyTemplate=t.template;break;case"loadingbody":this.loadingBodyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"footergrouped":this.footerGroupedTemplate=t.template;break;case"summary":this.summaryTemplate=t.template;break;case"colgroup":this.colGroupTemplate=t.template;break;case"rowexpansion":this.expandedRowTemplate=t.template;break;case"groupheader":this.groupHeaderTemplate=t.template;break;case"groupfooter":this.groupFooterTemplate=t.template;break;case"frozenheader":this.frozenHeaderTemplate=t.template;break;case"frozenbody":this.frozenBodyTemplate=t.template;break;case"frozenfooter":this.frozenFooterTemplate=t.template;break;case"frozencolgroup":this.frozenColGroupTemplate=t.template;break;case"frozenrowexpansion":this.frozenExpandedRowTemplate=t.template;break;case"emptymessage":this.emptyMessageTemplate=t.template;break;case"paginatorleft":this.paginatorLeftTemplate=t.template;break;case"paginatorright":this.paginatorRightTemplate=t.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=t.template;break;case"paginatorfirstpagelinkicon":this.paginatorFirstPageLinkIconTemplate=t.template;break;case"paginatorlastpagelinkicon":this.paginatorLastPageLinkIconTemplate=t.template;break;case"paginatorpreviouspagelinkicon":this.paginatorPreviousPageLinkIconTemplate=t.template;break;case"paginatornextpagelinkicon":this.paginatorNextPageLinkIconTemplate=t.template;break;case"loadingicon":this.loadingIconTemplate=t.template;break;case"reorderindicatorupicon":this.reorderIndicatorUpIconTemplate=t.template;break;case"reorderindicatordownicon":this.reorderIndicatorDownIconTemplate=t.template;break;case"sorticon":this.sortIconTemplate=t.template;break;case"checkboxicon":this.checkboxIconTemplate=t.template;break;case"headercheckboxicon":this.headerCheckboxIconTemplate=t.template}})}ngAfterViewInit(){(0,m.UE)(this.platformId)&&this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()}ngOnChanges(t){t.value&&(this.isStateful()&&!this.stateRestored&&(0,m.UE)(this.platformId)&&this.restoreState(),this._value=t.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&(this.sortField||this.groupRowsBy)?this.sortSingle():"multiple"==this.sortMode&&(this.multiSortMeta||this.groupRowsBy)?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(t.value.currentValue)),t.columns&&(this._columns=t.columns.currentValue,this.tableService.onColumnsChange(t.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()),t.sortField&&(this._sortField=t.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsBy&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.sortOrder&&(this._sortOrder=t.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsByOrder&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.multiSortMeta&&(this._multiSortMeta=t.multiSortMeta.currentValue,"multiple"===this.sortMode&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),t.selection&&(this._selection=t.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1),t.selectAll&&(this._selectAll=t.selectAll.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()),this.preventSelectionSetterPropagation=!1)}get processedData(){return this.filteredValue||this.value||[]}_initialColWidths;dataToRender(t){const i=t||this.processedData;if(i&&this.paginator){const n=this.lazy?0:this.first;return i.slice(n,n+this.rows)}return i}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let t of this._selection)this.selectionKeys[String(h.BF.resolveFieldData(t,this.dataKey))]=1;else this.selectionKeys[String(h.BF.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(t){this.first=t.first,this.rows=t.rows,this.onPage.emit({first:this.first,rows:this.rows}),this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(t){let i=t.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===t.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=t.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){let n=i.metaKey||i.ctrlKey,s=this.getSortMeta(t.field);s?n?s.order=-1*s.order:(this._multiSortMeta=[{field:t.field,order:-1*s.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!n||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:t.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){let t=this.sortField||this.groupRowsBy,i=this.sortField?this.sortOrder:this.groupRowsByOrder;if(this.groupRowsBy&&this.sortField&&this.groupRowsBy!==this.sortField)return this._multiSortMeta=[this.getGroupRowsMeta(),{field:this.sortField,order:this.sortOrder}],void this.sortMultiple();if(t&&i){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:t,order:i}):(this.value.sort((s,l)=>{let r=h.BF.resolveFieldData(s,t),c=h.BF.resolveFieldData(l,t),p=null;return p=null==r&&null!=c?-1:null!=r&&null==c?1:null==r&&null==c?0:"string"==typeof r&&"string"==typeof c?r.localeCompare(c):rc?1:0,i*p}),this._value=[...this.value]),this.hasFilter()&&this._filter());let n={field:t,order:i};this.onSort.emit(n),this.tableService.onSort(n)}}sortMultiple(){this.groupRowsBy&&(this._multiSortMeta?this.multiSortMeta[0].field!==this.groupRowsBy&&(this._multiSortMeta=[this.getGroupRowsMeta(),...this._multiSortMeta]):this._multiSortMeta=[this.getGroupRowsMeta()]),this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((t,i)=>this.multisortField(t,i,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(t,i,n,s){const l=h.BF.resolveFieldData(t,n[s].field),r=h.BF.resolveFieldData(i,n[s].field);return 0===h.BF.compare(l,r,this.filterLocale)?n.length-1>s?this.multisortField(t,i,n,s+1):0:this.compareValuesOnSort(l,r,n[s].order)}compareValuesOnSort(t,i,n){return h.BF.sort(t,i,n,this.filterLocale,this.sortOrder)}getSortMeta(t){if(this.multiSortMeta&&this.multiSortMeta.length)for(let i=0;iw!=b),this.selectionChange.emit(this.selection),u&&delete this.selectionKeys[u]}this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row"})}else this.isSingleSelectionMode()?(this._selection=l,this.selectionChange.emit(l),u&&(this.selectionKeys={},this.selectionKeys[u]=1)):this.isMultipleSelectionMode()&&(_?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,l],this.selectionChange.emit(this.selection),u&&(this.selectionKeys[u]=1)),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})}else if("single"===this.selectionMode)c?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})):(this._selection=l,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys={},this.selectionKeys[u]=1));else if("multiple"===this.selectionMode)if(c){let _=this.findIndexInSelection(l);this._selection=this.selection.filter((b,f)=>f!=_),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&delete this.selectionKeys[u]}else this._selection=this.selection?[...this.selection,l]:[l],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys[u]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(t){this.rowTouched=!0}handleRowRightClick(t){if(this.contextMenu){const i=t.rowData,n=t.rowIndex;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=i,this.contextMenuSelectionChange.emit(i),this.onContextMenuSelect.emit({originalEvent:t.originalEvent,data:i,index:t.rowIndex}),this.contextMenu.show(t.originalEvent),this.tableService.onContextMenu(i);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let s=this.isSelected(i),l=this.dataKey?String(h.BF.resolveFieldData(i,this.dataKey)):null;if(!s){if(!this.isRowSelectable(i,n))return;this.isSingleSelectionMode()?(this.selection=i,this.selectionChange.emit(i),l&&(this.selectionKeys={},this.selectionKeys[l]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),l&&(this.selectionKeys[l]=1))}this.tableService.onSelectionChange(),this.contextMenu.show(t.originalEvent),this.onContextMenuSelect.emit({originalEvent:t,data:i,index:t.rowIndex})}}}selectRange(t,i){let n,s;this.anchorRowIndex>i?(n=i,s=this.anchorRowIndex):this.anchorRowIndexl?(i=this.anchorRowIndex,n=this.rangeRowIndex):sb!=p);let u=this.dataKey?String(h.BF.resolveFieldData(c,this.dataKey)):null;u&&delete this.selectionKeys[u],this.onRowUnselect.emit({originalEvent:t,data:c,type:"row"})}}isSelected(t){return!(!t||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[h.BF.resolveFieldData(t,this.dataKey)]:Array.isArray(this.selection)?this.findIndexInSelection(t)>-1:this.equals(t,this.selection))}findIndexInSelection(t){let i=-1;if(this.selection&&this.selection.length)for(let n=0;nc!=l),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&delete this.selectionKeys[s]}else{if(!this.isRowSelectable(i,t.rowIndex))return;this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&(this.selectionKeys[s]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox(t,i){if(null!==this._selectAll)this.selectAllChange.emit({originalEvent:t,checked:i});else{const n=this.selectionPageOnly?this.dataToRender(this.processedData):this.processedData;let s=this.selectionPageOnly&&this._selection?this._selection.filter(l=>!n.some(r=>this.equals(l,r))):[];i&&(s=this.frozenValue?[...s,...this.frozenValue,...n]:[...s,...n],s=this.rowSelectable?s.filter((l,r)=>this.rowSelectable({data:l,index:r})):s),this._selection=s,this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:t,checked:i}),this.isStateful()&&this.saveState()}}equals(t,i){return"equals"===this.compareSelectionBy?t===i:h.BF.equals(t,i,this.dataKey)}filter(t,i,n){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(t)?this.filters[i]&&delete this.filters[i]:this.filters[i]={value:t,matchMode:n},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(t,i){this.filter(t,"global",i)}isFilterBlank(t){return null==t||!!("string"==typeof t&&0==t.trim().length||Array.isArray(t)&&0==t.length)}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let t;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");t=this.globalFilterFields||this.columns}this.filteredValue=[];for(let i=0;ithis.cd.detectChanges()}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.clearFilterValues(),this.filteredValue=null,this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}clearFilterValues(){for(const[,t]of Object.entries(this.filters))if(Array.isArray(t))for(let i of t)i.value=null;else t&&(t.value=null)}reset(){this.clear()}getExportHeader(t){return t[this.exportHeader]||t.header||t.field}exportCSV(t){let i,n="",s=this.columns;t&&t.selectionOnly?i=this.selection||[]:t&&t.allValues?i=this.value||[]:(i=this.filteredValue||this.value,this.frozenValue&&(i=i?[...this.frozenValue,...i]:this.frozenValue));for(let c=0;c{n+="\n";for(let u=0;u{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(d.D.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:t,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1}))}unbindDocumentEditListener(){this.documentEditListener&&(this.documentEditListener(),this.documentEditListener=null)}initRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));this.editingRowKeys[i]=!0}saveRowEdit(t,i){if(0===d.D.find(i,".ng-invalid.ng-dirty").length){let n=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[n]}}cancelRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[i]}toggleRow(t,i){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");let n=String(h.BF.resolveFieldData(t,this.dataKey));null!=this.expandedRowKeys[n]?(delete this.expandedRowKeys[n],this.onRowCollapse.emit({originalEvent:i,data:t})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[n]=!0,this.onRowExpand.emit({originalEvent:i,data:t})),i&&i.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(t){return!0===this.expandedRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isRowEditing(t){return!0===this.editingRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}onColumnResizeBegin(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;this.resizeColumnElement=t.target.parentElement,this.columnResizing=!0,this.lastResizerHelperX=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft,this.onColumnResize(t),t.preventDefault()}onColumnResize(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;d.D.addClass(this.containerViewChild?.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild?.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let t=this.resizeHelperViewChild?.nativeElement.offsetLeft-this.lastResizerHelperX,n=this.resizeColumnElement.offsetWidth+t;if(n>=(this.resizeColumnElement.style.minWidth.replace(/[^\d.]/g,"")||15)){if("fit"===this.columnResizeMode){let r=this.resizeColumnElement.nextElementSibling.offsetWidth-t;n>15&&r>15&&this.resizeTableCells(n,r)}else"expand"===this.columnResizeMode&&(this._initialColWidths=this._totalTableWidth(),this.setResizeTableWidth(this.tableViewChild?.nativeElement.offsetWidth+t+"px"),this.resizeTableCells(n,null));this.onColResize.emit({element:this.resizeColumnElement,delta:t}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",d.D.removeClass(this.containerViewChild?.nativeElement,"p-unselectable-text")}_totalTableWidth(){let t=[];const i=d.D.findSingle(this.containerViewChild.nativeElement,".p-datatable-thead");return d.D.find(i,"tr > th").forEach(s=>t.push(d.D.getOuterWidth(s))),t}onColumnDragStart(t,i){this.reorderIconWidth=d.D.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild?.nativeElement),this.reorderIconHeight=d.D.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild?.nativeElement),this.draggedColumn=i,t.dataTransfer.setData("text","b")}onColumnDragEnter(t,i){if(this.reorderableColumns&&this.draggedColumn&&i){t.preventDefault();let n=d.D.getOffset(this.containerViewChild?.nativeElement),s=d.D.getOffset(i);if(this.draggedColumn!=i){d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),d.D.indexWithinGroup(i,"preorderablecolumn");let c=s.left-n.left,u=s.left+i.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=s.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=s.top-n.top+i.offsetHeight+"px",t.pageX>u?(this.reorderIndicatorUpViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else t.dataTransfer.dropEffect="none"}}onColumnDragLeave(t){this.reorderableColumns&&this.draggedColumn&&t.preventDefault()}onColumnDrop(t,i){if(t.preventDefault(),this.draggedColumn){let n=d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),s=d.D.indexWithinGroup(i,"preorderablecolumn"),l=n!=s;if(l&&(s-n==1&&-1===this.dropPosition||n-s==1&&1===this.dropPosition)&&(l=!1),l&&sn&&-1===this.dropPosition&&(s-=1),l&&(h.BF.reorderArray(this.columns,n,s),this.onColReorder.emit({dragIndex:n,dropIndex:s,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.resizableColumns&&this.resizeColumnElement){let r="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();h.BF.reorderArray(r,n+1,s+1),this.updateStyleElement(r,n,null,null)}this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}resizeTableCells(t,i){let n=d.D.index(this.resizeColumnElement),s="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();this.updateStyleElement(s,n,t,i)}updateStyleElement(t,i,n,s){this.destroyStyleElement(),this.createStyleElement();let l="";t.forEach((r,c)=>{let p=c===i?n:s&&c===i+1?s:r;l+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${c+1}) {\n width: ${p}px !important; max-width: ${p}px !important;\n }\n `}),this.renderer.setProperty(this.styleElement,"innerHTML",l)}onRowDragStart(t,i){this.rowDragging=!0,this.draggedRowIndex=i,t.dataTransfer.setData("text","b")}onRowDragOver(t,i,n){if(this.rowDragging&&this.draggedRowIndex!==i){let s=d.D.getOffset(n).top,l=t.pageY,r=s+d.D.getOuterHeight(n)/2,c=n.previousElementSibling;lthis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;h.BF.reorderArray(this.value,this.draggedRowIndex,n),this.virtualScroll&&(this._value=[...this._value]),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:n})}this.onRowDragLeave(t,i),this.onRowDragEnd(t)}isEmpty(){let t=this.filteredValue||this.value;return null==t||0==t.length}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){if(!(0,m.UE)(this.platformId))throw new Error("Browser storage is not available in the server side.");switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}isStateful(){return null!=this.stateKey}saveState(){const t=this.getStorage();let i={};this.paginator&&(i.first=this.first,i.rows=this.rows),this.sortField&&(i.sortField=this.sortField,i.sortOrder=this.sortOrder),this.multiSortMeta&&(i.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(i.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(i),this.reorderableColumns&&this.saveColumnOrder(i),this.selection&&(i.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(i.expandedRowKeys=this.expandedRowKeys),t.setItem(this.stateKey,JSON.stringify(i)),this.onStateSave.emit(i)}clearState(){const t=this.getStorage();this.stateKey&&t.removeItem(this.stateKey)}restoreState(){const i=this.getStorage().getItem(this.stateKey),n=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(i){let l=JSON.parse(i,function(l,r){return"string"==typeof r&&n.test(r)?new Date(r):r});this.paginator&&(void 0!==this.first&&(this.first=l.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=l.rows,this.rowsChange.emit(this.rows))),l.sortField&&(this.restoringSort=!0,this._sortField=l.sortField,this._sortOrder=l.sortOrder),l.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=l.multiSortMeta),l.filters&&(this.restoringFilter=!0,this.filters=l.filters),this.resizableColumns&&(this.columnWidthsState=l.columnWidths,this.tableWidthState=l.tableWidth),l.expandedRowKeys&&(this.expandedRowKeys=l.expandedRowKeys),l.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(l.selection)),this.stateRestored=!0,this.onStateRestore.emit(l)}}saveColumnWidths(t){let i=[];d.D.find(this.containerViewChild?.nativeElement,".p-datatable-thead > tr > th").forEach(s=>i.push(d.D.getOuterWidth(s))),t.columnWidths=i.join(","),"expand"===this.columnResizeMode&&(t.tableWidth=d.D.getOuterWidth(this.tableViewChild?.nativeElement))}setResizeTableWidth(t){this.tableViewChild.nativeElement.style.width=t,this.tableViewChild.nativeElement.style.minWidth=t}restoreColumnWidths(){if(this.columnWidthsState){let t=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState&&this.setResizeTableWidth(this.tableWidthState+"px"),h.BF.isNotEmpty(t)){this.createStyleElement();let i="";t.forEach((n,s)=>{i+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${s+1}) {\n width: ${n}px !important; max-width: ${n}px !important\n }\n `}),this.styleElement.innerHTML=i}}}saveColumnOrder(t){if(this.columns){let i=[];this.columns.map(n=>{i.push(n.field||n.key)}),t.columnOrder=i}}restoreColumnOrder(){const i=this.getStorage().getItem(this.stateKey);if(i){let s=JSON.parse(i).columnOrder;if(s){let l=[];s.map(r=>{let c=this.findColumnByKey(r);c&&l.push(c)}),this.columnOrderStateRestored=!0,this.columns=l}}}findColumnByKey(t){if(!this.columns)return null;for(let i of this.columns)if(i.key===t||i.field===t)return i}createStyleElement(){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement)}getGroupRowsMeta(){return{field:this.groupRowsBy,order:this.groupRowsByOrder}}createResponsiveStyle(){(0,m.UE)(this.platformId)&&!this.responsiveStyleElement&&(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.head,this.responsiveStyleElement),this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",`\n @media screen and (max-width: ${this.breakpoint}) {\n #${this.id}-table > .p-datatable-thead > tr > th,\n #${this.id}-table > .p-datatable-tfoot > tr > td {\n display: none !important;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td {\n display: flex;\n width: 100% !important;\n align-items: center;\n justify-content: space-between;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td:not(:last-child) {\n border: 0 none;\n }\n\n #${this.id}.p-datatable-gridlines > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tbody > tr > td:last-child {\n border-top: 0;\n border-right: 0;\n border-left: 0;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td > .p-column-title {\n display: block;\n }\n }\n `))}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(pe),e.rXU(e.gRc),e.rXU(g.E),e.rXU(g.si),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-table"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Aa,5),e.GBs(Xa,5),e.GBs(Ka,5),e.GBs(Ua,5),e.GBs(Qa,5),e.GBs(qa,5),e.GBs(Wa,5),e.GBs(Za,5),e.GBs(Ja,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.resizeHelperViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorUpViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorDownViewChild=s.first),e.mGM(s=e.lsd())&&(n.wrapperViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableHeaderViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableFooterViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first)}},hostAttrs:[1,"p-element"],inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",selectionPageOnly:"selectionPageOnly",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:"virtualScrollDelay",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",groupRowsByOrder:"groupRowsByOrder",responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",paginatorLocale:"paginatorLocale",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll",virtualRowHeight:"virtualRowHeight"},outputs:{contextMenuSelectionChange:"contextMenuSelectionChange",selectAllChange:"selectAllChange",selectionChange:"selectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[e.Jv_([pe]),e.OA$],decls:16,vars:22,consts:[["container",""],["wrapper",""],["buildInTable",""],["scroller",""],["table",""],["thead",""],["tfoot",""],["resizeHelper",""],["reorderIndicatorUp",""],["reorderIndicatorDown",""],[3,"ngStyle","ngClass"],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize","onLazyLoad",4,"ngIf"],[4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","p-datatable-reorder-indicator-up","style","display: none;",4,"ngIf"],["class","p-datatable-reorder-indicator-down","style","display: none;",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-datatable-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-datatable-loading-icon"],[4,"ngTemplateOutlet"],[1,"p-datatable-header"],["styleClass","p-paginator-top",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"onLazyLoad","items","columns","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize"],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"ngClass"],["role","rowgroup",1,"p-datatable-thead"],["role","rowgroup","class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody",3,"ngClass","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["role","rowgroup","class","p-datatable-scroller-spacer",3,"style",4,"ngIf"],["role","rowgroup","class","p-datatable-tfoot",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],["role","rowgroup",1,"p-datatable-scroller-spacer"],["role","rowgroup",1,"p-datatable-tfoot"],["styleClass","p-paginator-bottom",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],[1,"p-datatable-reorder-indicator-up",2,"display","none"],[1,"p-datatable-reorder-indicator-down",2,"display","none"]],template:function(i,n){1&i&&(e.j41(0,"div",10,0),e.DNE(2,pl,3,2,"div",11)(3,hl,2,1,"div",12)(4,kl,5,23,"p-paginator",13),e.j41(5,"div",14,1),e.DNE(7,El,3,17,"p-scroller",15)(8,Ml,2,7,"ng-container",16)(9,Nl,10,28,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(11,Wl,5,23,"p-paginator",17)(12,Jl,2,1,"div",18)(13,er,2,0,"div",19)(14,or,4,2,"span",20)(15,rr,4,2,"span",21),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.sMw(16,el,n.rowHover||n.selectionMode,n.scrollable,n.scrollable&&"flex"===n.scrollHeight)),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",n.loading&&n.showLoader),e.R7$(),e.Y8G("ngIf",n.captionTemplate),e.R7$(),e.Y8G("ngIf",n.paginator&&("top"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngStyle",e.eq3(20,tl,n.virtualScroll?"":n.scrollHeight)),e.R7$(2),e.Y8G("ngIf",n.virtualScroll),e.R7$(),e.Y8G("ngIf",!n.virtualScroll),e.R7$(3),e.Y8G("ngIf",n.paginator&&("bottom"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngIf",n.summaryTemplate),e.R7$(),e.Y8G("ngIf",n.resizableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,ca,g.Ei,xe,Oe,Le,K.N,Lc],styles:["@layer primeng{.p-datatable{position:relative}.p-datatable>.p-datatable-wrapper{overflow:auto}.p-datatable-table{border-spacing:0px;width:100%}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-icon-wrapper{display:inline}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable>.p-datatable-wrapper{position:relative}.p-datatable-scrollable-table>.p-datatable-thead{position:sticky;top:0;z-index:2}.p-datatable-scrollable-table>.p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable-table>.p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit;z-index:1}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-flex-scrollable{display:flex;flex-direction:column;height:100%}.p-datatable-flex-scrollable>.p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header{position:sticky;z-index:2}.p-datatable-resizable-table>.p-datatable-thead>tr>th,.p-datatable-resizable-table>.p-datatable-tfoot>tr>td,.p-datatable-resizable-table>.p-datatable-tbody>tr>td{overflow:hidden;white-space:nowrap}.p-datatable-resizable-table>.p-datatable-thead>tr>th.p-resizable-column:not(.p-frozen-column){background-clip:padding-box;position:relative}.p-datatable-resizable-table-fit>.p-datatable-thead>tr>th.p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-menu-button,.p-column-filter-clear-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable-tbody>tr>td>.p-column-title{display:none}.p-datatable-scroller-spacer{display:flex}.p-datatable .p-scroller .p-scroller-loading{transform:none!important;min-height:0;position:sticky;top:0;left:0}}\n"],encapsulation:2})}return o})(),Lc=(()=>{class o{dt;tableService;cd;el;columns;template;get value(){return this._value}set value(t){this._value=t,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(t,i,n,s){this.dt=t,this.tableService=i,this.cd=n,this.el=s,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowGroupFooter(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n+1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowspan(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}calculateRowGroupSize(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=s,r=0;for(;s===l;){r++;let c=t[++n];if(!c)break;l=h.BF.resolveFieldData(c,this.dt.groupRowsBy)}return 1===r?null:r}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let t=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=t+"px"}}getScrollerOption(t,i){return this.dt.virtualScroll&&(i=i||this.scrollerOptions)?i[t]:null}getRowIndex(t){const i=this.dt.paginator?this.dt.first+t:t,n=this.getScrollerOption("getItemOptions");return n?n(i).index:i}static \u0275fac=function(i){return new(i||o)(e.rXU(J),e.rXU(pe),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:[e.Mj6.None,"pTableBody","columns"],template:[e.Mj6.None,"pTableBodyTemplate","template"],value:"value",frozen:"frozen",frozenRows:"frozenRows",scrollerOptions:"scrollerOptions"},attrs:cr,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&e.DNE(0,yr,2,2,"ng-container",0)(1,Rr,2,2,"ng-container",0)(2,Br,2,2,"ng-container",0)(3,Lr,2,5,"ng-container",0)(4,jr,2,5,"ng-container",0),2&i&&(e.Y8G("ngIf",!n.dt.expandedRowTemplate),e.R7$(),e.Y8G("ngIf",n.dt.expandedRowTemplate&&!(n.frozen&&n.dt.frozenExpandedRowTemplate)),e.R7$(),e.Y8G("ngIf",n.dt.frozenExpandedRowTemplate&&n.frozen),e.R7$(),e.Y8G("ngIf",n.dt.loading),e.R7$(),e.Y8G("ngIf",n.dt.isEmpty()&&!n.dt.loading))},dependencies:[m.Sq,m.bT,m.T3],encapsulation:2})}return o})(),Nc=(()=>{class o{dt;field;pSortableColumnDisabled;sorted;sortOrder;subscription;constructor(t){this.dt=t,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(i=>{this.updateSortState()}))}ngOnInit(){this.isEnabled()&&this.updateSortState()}updateSortState(){this.sorted=this.dt.isSorted(this.field),this.sortOrder=this.sorted?1===this.dt.sortOrder?"ascending":"descending":"none"}onClick(t){this.isEnabled()&&!this.isFilterElement(t.target)&&(this.updateSortState(),this.dt.sort({originalEvent:t,field:this.field}),d.D.clearSelection())}onEnterKey(t){this.onClick(t),t.preventDefault()}isEnabled(){return!0!==this.pSortableColumnDisabled}isFilterElement(t){return this.isFilterElementIconOrButton(t)||this.isFilterElementIconOrButton(t?.parentElement?.parentElement)}isFilterElementIconOrButton(t){return d.D.hasClass(t,"pi-filter-icon")||d.D.hasClass(t,"p-column-filter-menu-button")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(J))};static \u0275dir=e.FsC({type:o,selectors:[["","pSortableColumn",""]],hostAttrs:[1,"p-element"],hostVars:7,hostBindings:function(i,n){1&i&&e.bIt("click",function(l){return n.onClick(l)})("keydown.space",function(l){return n.onEnterKey(l)})("keydown.enter",function(l){return n.onEnterKey(l)}),2&i&&(e.BMQ("tabindex",n.isEnabled()?"0":null)("role","columnheader")("aria-sort",n.sortOrder),e.AVh("p-sortable-column",n.isEnabled())("p-highlight",n.sorted))},inputs:{field:[e.Mj6.None,"pSortableColumn","field"],pSortableColumnDisabled:"pSortableColumnDisabled"}})}return o})(),jc=(()=>{class o{dt;cd;field;subscription;sortOrder;constructor(t,i){this.dt=t,this.cd=i,this.subscription=this.dt.tableService.sortSource$.subscribe(n=>{this.updateSortState()})}ngOnInit(){this.updateSortState()}onClick(t){t.preventDefault()}updateSortState(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){let t=this.dt.getSortMeta(this.field);this.sortOrder=t?t.order:0}this.cd.markForCheck()}getMultiSortMetaIndex(){let t=this.dt._multiSortMeta,i=-1;if(t&&"multiple"===this.dt.sortMode&&this.dt.showInitialSortBadge&&t.length>1)for(let n=0;n-1?t:t+1}isMultiSorted(){return"multiple"===this.dt.sortMode&&this.getMultiSortMetaIndex()>-1}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(J),e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-sortIcon"]],hostAttrs:[1,"p-element"],inputs:{field:"field"},decls:3,vars:3,consts:[[4,"ngIf"],["class","p-sortable-column-icon",4,"ngIf"],["class","p-sortable-column-badge",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-sortable-column-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-sortable-column-badge"]],template:function(i,n){1&i&&e.DNE(0,Yr,4,3,"ng-container",0)(1,Xr,2,4,"span",1)(2,Kr,2,1,"span",2),2&i&&(e.Y8G("ngIf",!n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.isMultiSorted()))},dependencies:()=>[m.bT,m.T3,Ne,Pe,je],encapsulation:2,changeDetection:0})}return o})(),Pc=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,da,H.u,ae,R.YN,M.tm,Ca,Wi,le,Ha,U,Oe,Le,K.N,Ne,Pe,je,ce,Ya,$a,g.Gg,U]})}return o})(),$e=(()=>{class o{el;pFocusTrapDisabled=!1;constructor(t){this.el=t}onkeydown(t){if(!0!==this.pFocusTrapDisabled){t.preventDefault();const i=d.D.getNextFocusableElement(this.el.nativeElement,t.shiftKey);i&&(i.focus(),i.select?.())}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.tab",function(l){return n.onkeydown(l)})("keydown.shift.tab",function(l){return n.onkeydown(l)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}})}return o})(),Ae=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})(),Xe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ke=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const zc=["titlebar"],Hc=["content"],Yc=["footer"],$c=["*",[["p-header"]],[["p-footer"]]],Ac=["*","p-header","p-footer"],Xc=(o,a,t,i,n,s,l,r,c,p)=>({"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":o,"p-dialog-mask-scrollblocker":a,"p-dialog-left":t,"p-dialog-right":i,"p-dialog-top":n,"p-dialog-top-left":s,"p-dialog-top-right":l,"p-dialog-bottom":r,"p-dialog-bottom-left":c,"p-dialog-bottom-right":p}),Kc=(o,a,t,i)=>({"p-dialog p-component":!0,"p-dialog-rtl":o,"p-dialog-draggable":a,"p-dialog-resizable":t,"p-dialog-maximized":i}),Uc=(o,a)=>({transform:o,transition:a}),Qc=o=>({value:"visible",params:o}),qc=()=>({"p-dialog-header-icon p-dialog-header-maximize p-link":!0}),Wc=()=>({"p-dialog-header-icon p-dialog-header-close p-link":!0});function Zc(o,a){1&o&&e.eu8(0)}function Jc(o,a){if(1&o&&(e.qex(0),e.DNE(1,Zc,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.headlessTemplate)}}function ed(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",15),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initResize(n))}),e.k0s()}}function td(o,a){if(1&o&&(e.j41(0,"span",21),e.EFF(1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy()),e.R7$(),e.JRh(t.header)}}function id(o,a){if(1&o&&(e.j41(0,"span",21),e.SdG(1,1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy())}}function nd(o,a){1&o&&e.eu8(0)}function od(o,a){if(1&o&&e.nrm(0,"span",25),2&o){const t=e.XpG(6);e.Y8G("ngClass",t.maximized?t.minimizeIcon:t.maximizeIcon)}}function sd(o,a){1&o&&e.nrm(0,"WindowMaximizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function ad(o,a){1&o&&e.nrm(0,"WindowMinimizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function ld(o,a){if(1&o&&(e.qex(0),e.DNE(1,sd,1,1,"WindowMaximizeIcon",26)(2,ad,1,1,"WindowMinimizeIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",!t.maximized&&!t.maximizeIconTemplate),e.R7$(),e.Y8G("ngIf",t.maximized&&!t.minimizeIconTemplate)}}function rd(o,a){}function cd(o,a){1&o&&e.DNE(0,rd,0,0,"ng-template")}function dd(o,a){if(1&o&&(e.qex(0),e.DNE(1,cd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.maximizeIconTemplate)}}function pd(o,a){}function ud(o,a){1&o&&e.DNE(0,pd,0,0,"ng-template")}function hd(o,a){if(1&o&&(e.qex(0),e.DNE(1,ud,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.minimizeIconTemplate)}}function md(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",22),e.bIt("click",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())})("keydown.enter",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())}),e.DNE(1,od,1,1,"span",23)(2,ld,3,2,"ng-container",24)(3,dd,2,1,"ng-container",24)(4,hd,2,1,"ng-container",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,qc)),e.R7$(),e.Y8G("ngIf",t.maximizeIcon&&!t.maximizeIconTemplate&&!t.minimizeIconTemplate),e.R7$(),e.Y8G("ngIf",!t.maximizeIcon),e.R7$(),e.Y8G("ngIf",!t.maximized),e.R7$(),e.Y8G("ngIf",t.maximized)}}function _d(o,a){if(1&o&&e.nrm(0,"span",30),2&o){const t=e.XpG(7);e.Y8G("ngClass",t.closeIcon)}}function gd(o,a){1&o&&e.nrm(0,"TimesIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-close-icon")}function fd(o,a){if(1&o&&(e.qex(0),e.DNE(1,_d,1,1,"span",29)(2,gd,1,1,"TimesIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.closeIcon),e.R7$(),e.Y8G("ngIf",!t.closeIcon)}}function bd(o,a){}function vd(o,a){1&o&&e.DNE(0,bd,0,0,"ng-template")}function yd(o,a){if(1&o&&(e.j41(0,"span"),e.DNE(1,vd,1,0,null,10),e.k0s()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate)}}function Cd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))}),e.DNE(1,fd,3,2,"ng-container",24)(2,yd,2,1,"span",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Wc)),e.BMQ("aria-label",t.closeAriaLabel)("tabindex",t.closeTabindex),e.R7$(),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.closeIconTemplate)}}function wd(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",16,3),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initDrag(n))}),e.DNE(2,td,2,2,"span",17)(3,id,2,1,"span",17)(4,nd,1,0,"ng-container",10),e.j41(5,"div",18),e.DNE(6,md,5,6,"button",19)(7,Cd,3,6,"button",20),e.k0s()()}if(2&o){const t=e.XpG(4);e.R7$(2),e.Y8G("ngIf",!t.headerFacet&&!t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.headerFacet),e.R7$(),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(2),e.Y8G("ngIf",t.maximizable),e.R7$(),e.Y8G("ngIf",t.closable)}}function Id(o,a){1&o&&e.eu8(0)}function xd(o,a){1&o&&e.eu8(0)}function Td(o,a){if(1&o&&(e.j41(0,"div",31,4),e.SdG(2,2),e.DNE(3,xd,1,0,"ng-container",10),e.k0s()),2&o){const t=e.XpG(4);e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}function kd(o,a){if(1&o&&(e.DNE(0,ed,1,0,"div",11)(1,wd,8,5,"div",12),e.j41(2,"div",13,2),e.SdG(4),e.DNE(5,Id,1,0,"ng-container",10),e.k0s(),e.DNE(6,Td,4,1,"div",14)),2&o){const t=e.XpG(3);e.Y8G("ngIf",t.resizable),e.R7$(),e.Y8G("ngIf",t.showHeader),e.R7$(),e.HbH(t.contentStyleClass),e.Y8G("ngClass","p-dialog-content")("ngStyle",t.contentStyle),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate),e.R7$(),e.Y8G("ngIf",t.footerFacet||t.footerTemplate)}}function Sd(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",8,0),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.DNE(2,Jc,2,1,"ng-container",9)(3,kd,7,8,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG(2);e.HbH(i.styleClass),e.Y8G("ngClass",e.ziG(10,Kc,i.rtl,i.draggable,i.resizable,i.maximized))("ngStyle",i.style)("pFocusTrapDisabled",!1===i.focusTrap)("@animation",e.eq3(18,Qc,e.l_i(15,Uc,i.transformOptions,i.transitionOptions))),e.BMQ("aria-labelledby",i.ariaLabelledBy)("aria-modal",!0),e.R7$(2),e.Y8G("ngIf",i.headlessTemplate)("ngIfElse",t)}}function Dd(o,a){if(1&o&&(e.j41(0,"div",6),e.DNE(1,Sd,5,20,"div",7),e.k0s()),2&o){const t=e.XpG();e.Aen(t.maskStyle),e.HbH(t.maskStyleClass),e.Y8G("ngClass",e.zJS(6,Xc,[t.modal,t.modal||t.blockScroll,"left"===t.position,"right"===t.position,"top"===t.position,"topleft"===t.position||"top-left"===t.position,"topright"===t.position||"top-right"===t.position,"bottom"===t.position,"bottomleft"===t.position||"bottom-left"===t.position,"bottomright"===t.position||"bottom-right"===t.position])),e.R7$(),e.Y8G("ngIf",t.visible)}}const Ed=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{transition}}")]),Rd=(0,v.lY)([(0,v.i0)("{{transition}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let Md=(()=>{class o{document;platformId;el;renderer;zone;cd;config;header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(t){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(t){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(t){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(t){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="-1";minimizeIcon;maximizeIcon;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(t){t&&(this._style={...t},this.originalStyle=t)}get position(){return this._position}set position(t){switch(this._position=t,t){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}onShow=new e.bkB;onHide=new e.bkB;visibleChange=new e.bkB;onResizeInit=new e.bkB;onResizeEnd=new e.bkB;onDragEnd=new e.bkB;onMaximize=new e.bkB;headerFacet;footerFacet;templates;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;maximizeIconTemplate;closeIconTemplate;minimizeIconTemplate;headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy;documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=(0,h._Y)();_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.zone=l,this.cd=r,this.config=c,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this.headerTemplate=t.template;break;case"content":default:this.contentTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template;break;case"maximizeicon":this.maximizeIconTemplate=t.template;break;case"minimizeicon":this.minimizeIconTemplate=t.template;break;case"headless":this.headlessTemplate=t.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}getAriaLabelledBy(){return null!==this.header?(0,h._Y)()+"_header":null}focus(){let t=d.D.findSingle(this.container,"[autofocus]");t&&this.zone.runOutsideAngular(()=>{setTimeout(()=>t.focus(),5)})}close(t){this.visibleChange.emit(!1),t.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.close(t)})),this.modal&&d.D.blockBodyScroll()}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&d.D.unblockBodyScroll(),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?d.D.blockBodyScroll():d.D.unblockBodyScroll()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(h.Q$.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if((0,m.UE)(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let i in this.breakpoints)t+=`\n @media screen and (max-width: ${i}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[i]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t)}}initDrag(t){d.D.hasClass(t.target,"p-dialog-header-icon")||d.D.hasClass(t.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",d.D.addClass(this.document.body,"p-unselectable-text"))}onKeydown(t){if(this.focusTrap&&9===t.which){t.preventDefault();let i=d.D.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);t.shiftKey?-1==n||0===n?i[i.length-1].focus():i[n-1].focus():-1==n||n===i.length-1?i[0].focus():i[n+1].focus()}else i[0].focus()}}onDrag(t){if(this.dragging){const i=d.D.getOuterWidth(this.container),n=d.D.getOuterHeight(this.container),s=t.pageX-this.lastPageX,l=t.pageY-this.lastPageY,r=this.container.getBoundingClientRect(),c=getComputedStyle(this.container),p=parseFloat(c.marginLeft),u=parseFloat(c.marginTop),_=r.left+s-p,b=r.top+l-u,f=d.D.getViewport();this.container.style.position="fixed",this.keepInViewport?(_>=this.minX&&_+i=this.minY&&b+nparseInt(u))&&b.left+cparseInt(_))&&b.top+p{this.documentDragListener=this.renderer.listen(this.window,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.window,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.window,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.window,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&d.D.addClass(this.document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(d.D.removeClass(this.document.body,"p-overflow-hidden"),this.document.body.style.removeProperty("--scrollbar-width"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&d.D.removeClass(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&h.Q$.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dialog"]],contentQueries:function(i,n,s){if(1&i&&(e.wni(s,g.Y9,5),e.wni(s,g.wi,5),e.wni(s,g.Ei,4)),2&i){let l;e.mGM(l=e.lsd())&&(n.headerFacet=l.first),e.mGM(l=e.lsd())&&(n.footerFacet=l.first),e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(zc,5),e.GBs(Hc,5),e.GBs(Yc,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.headerViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first),e.mGM(s=e.lsd())&&(n.footerViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:Ac,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["footer",""],[3,"class","style","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["class","p-dialog-title",3,"id",4,"ngIf"],[1,"p-dialog-header-icons"],["role","button","type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title",3,"id"],["role","button","type","button","tabindex","-1","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-maximize-icon",3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],["type","button","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-close-icon",3,"ngClass",4,"ngIf"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"]],template:function(i,n){1&i&&(e.NAR($c),e.DNE(0,Dd,2,17,"div",5)),2&i&&e.Y8G("ngIf",n.maskVisible)},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,$e,E.n,F.A,Xe,Ke],styles:["@layer primeng{.p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.sM)(Ed)]),(0,v.kY)("visible => void",[(0,v.sM)(Rd)])])]},changeDetection:0})}return o})(),Fd=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,Ae,E.Z,F.A,Xe,Ke,g.Gg]})}return o})(),Ue=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["EyeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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","M0.0535499 7.25213C0.208567 7.59162 2.40413 12.4 7 12.4C11.5959 12.4 13.7914 7.59162 13.9465 7.25213C13.9487 7.2471 13.9506 7.24304 13.952 7.24001C13.9837 7.16396 14 7.08239 14 7.00001C14 6.91762 13.9837 6.83605 13.952 6.76001C13.9506 6.75697 13.9487 6.75292 13.9465 6.74788C13.7914 6.4084 11.5959 1.60001 7 1.60001C2.40413 1.60001 0.208567 6.40839 0.0535499 6.74788C0.0512519 6.75292 0.0494023 6.75697 0.048 6.76001C0.0163137 6.83605 0 6.91762 0 7.00001C0 7.08239 0.0163137 7.16396 0.048 7.24001C0.0494023 7.24304 0.0512519 7.2471 0.0535499 7.25213ZM7 11.2C3.664 11.2 1.736 7.92001 1.264 7.00001C1.736 6.08001 3.664 2.80001 7 2.80001C10.336 2.80001 12.264 6.08001 12.736 7.00001C12.264 7.92001 10.336 11.2 7 11.2ZM5.55551 9.16182C5.98308 9.44751 6.48576 9.6 7 9.6C7.68891 9.59789 8.349 9.32328 8.83614 8.83614C9.32328 8.349 9.59789 7.68891 9.59999 7C9.59999 6.48576 9.44751 5.98308 9.16182 5.55551C8.87612 5.12794 8.47006 4.7947 7.99497 4.59791C7.51988 4.40112 6.99711 4.34963 6.49276 4.44995C5.98841 4.55027 5.52513 4.7979 5.16152 5.16152C4.7979 5.52513 4.55027 5.98841 4.44995 6.49276C4.34963 6.99711 4.40112 7.51988 4.59791 7.99497C4.7947 8.47006 5.12794 8.87612 5.55551 9.16182ZM6.2222 5.83594C6.45243 5.6821 6.7231 5.6 7 5.6C7.37065 5.6021 7.72553 5.75027 7.98762 6.01237C8.24972 6.27446 8.39789 6.62934 8.4 7C8.4 7.27689 8.31789 7.54756 8.16405 7.77779C8.01022 8.00802 7.79157 8.18746 7.53575 8.29343C7.27994 8.39939 6.99844 8.42711 6.72687 8.37309C6.4553 8.31908 6.20584 8.18574 6.01005 7.98994C5.81425 7.79415 5.68091 7.54469 5.6269 7.27312C5.57288 7.00155 5.6006 6.72006 5.70656 6.46424C5.81253 6.20842 5.99197 5.98977 6.2222 5.83594Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["RefreshIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.77051 5.96336C6.84324 5.99355 6.92127 6.00891 7.00002 6.00854C7.07877 6.00891 7.1568 5.99355 7.22953 5.96336C7.30226 5.93317 7.36823 5.88876 7.42357 5.83273L9.82101 3.43529C9.93325 3.32291 9.99629 3.17058 9.99629 3.01175C9.99629 2.85292 9.93325 2.70058 9.82101 2.5882L7.42357 0.190763C7.3687 0.131876 7.30253 0.0846451 7.22901 0.0518865C7.15549 0.019128 7.07612 0.00151319 6.99564 9.32772e-05C6.91517 -0.00132663 6.83523 0.0134773 6.7606 0.0436218C6.68597 0.0737664 6.61817 0.118634 6.56126 0.175548C6.50435 0.232462 6.45948 0.300257 6.42933 0.374888C6.39919 0.449519 6.38439 0.529456 6.38581 0.609933C6.38722 0.690409 6.40484 0.769775 6.4376 0.843296C6.47036 0.916817 6.51759 0.982986 6.57647 1.03786L7.95103 2.41241H6.99998C5.46337 2.41241 3.98969 3.02283 2.90314 4.10938C1.81659 5.19593 1.20618 6.66961 1.20618 8.20622C1.20618 9.74283 1.81659 11.2165 2.90314 12.3031C3.98969 13.3896 5.46337 14 6.99998 14C8.53595 13.9979 10.0084 13.3868 11.0945 12.3007C12.1806 11.2146 12.7917 9.74218 12.7938 8.20622C12.7938 8.04726 12.7306 7.89481 12.6182 7.78241C12.5058 7.67001 12.3534 7.60686 12.1944 7.60686C12.0355 7.60686 11.883 7.67001 11.7706 7.78241C11.6582 7.89481 11.5951 8.04726 11.5951 8.20622C11.5951 9.11504 11.3256 10.0035 10.8207 10.7591C10.3157 11.5148 9.59809 12.1037 8.75845 12.4515C7.9188 12.7993 6.99489 12.8903 6.10353 12.713C5.21217 12.5357 4.3934 12.0981 3.75077 11.4554C3.10813 10.8128 2.67049 9.99404 2.49319 9.10268C2.31589 8.21132 2.40688 7.2874 2.75468 6.44776C3.10247 5.60811 3.69143 4.89046 4.44709 4.38554C5.20275 3.88063 6.09116 3.61113 6.99998 3.61113H7.95098L6.57647 4.98564C6.46423 5.09802 6.40119 5.25035 6.40119 5.40918C6.40119 5.56801 6.46423 5.72035 6.57647 5.83273C6.63181 5.88876 6.69778 5.93317 6.77051 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchMinusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.0208 12.0411C4.83005 12.0411 3.66604 11.688 2.67596 11.0265C1.68589 10.3649 0.914216 9.42464 0.458534 8.32452C0.00285271 7.22441 -0.116374 6.01388 0.11593 4.84601C0.348235 3.67813 0.921637 2.60537 1.76363 1.76338C2.60562 0.921393 3.67838 0.34799 4.84625 0.115686C6.01412 -0.116618 7.22466 0.00260857 8.32477 0.45829C9.42488 0.913972 10.3652 1.68564 11.0267 2.67572C11.6883 3.66579 12.0414 4.8298 12.0414 6.02056C12.0395 7.41563 11.5542 8.76029 10.6783 9.8305L13.8244 12.9765C13.9367 13.089 13.9997 13.2414 13.9997 13.4003C13.9997 13.5592 13.9367 13.7116 13.8244 13.8241C13.769 13.8801 13.703 13.9245 13.6302 13.9548C13.5575 13.985 13.4794 14.0003 13.4006 14C13.3218 14.0003 13.2437 13.985 13.171 13.9548C13.0982 13.9245 13.0322 13.8801 12.9768 13.8241L9.83082 10.678C8.76059 11.5539 7.4159 12.0393 6.0208 12.0411ZM6.0208 1.20731C5.07199 1.20731 4.14449 1.48867 3.35559 2.0158C2.56669 2.54292 1.95181 3.29215 1.58872 4.16874C1.22562 5.04532 1.13062 6.00989 1.31572 6.94046C1.50083 7.87104 1.95772 8.72583 2.62863 9.39674C3.29954 10.0676 4.15433 10.5245 5.0849 10.7096C6.01548 10.8947 6.98005 10.7997 7.85663 10.4367C8.73322 10.0736 9.48244 9.45868 10.0096 8.66978C10.5367 7.88088 10.8181 6.95337 10.8181 6.00457C10.8181 4.73226 10.3126 3.51206 9.41297 2.6124C8.51331 1.71274 7.29311 1.20731 6.0208 1.20731ZM4.00591 6.60422H8.00362C8.16266 6.60422 8.31518 6.54104 8.42764 6.42859C8.5401 6.31613 8.60328 6.1636 8.60328 6.00456C8.60328 5.84553 8.5401 5.693 8.42764 5.58054C8.31518 5.46809 8.16266 5.40491 8.00362 5.40491H4.00591C3.84687 5.40491 3.69434 5.46809 3.58189 5.58054C3.46943 5.693 3.40625 5.84553 3.40625 6.00456C3.40625 6.1636 3.46943 6.31613 3.58189 6.42859C3.69434 6.54104 3.84687 6.60422 4.00591 6.60422Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),We=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchPlusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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.67596 11.0265C3.66604 11.688 4.83005 12.0411 6.0208 12.0411C6.81143 12.0411 7.59432 11.8854 8.32477 11.5828C8.86999 11.357 9.37802 11.0526 9.83311 10.6803L12.9768 13.8241C13.0322 13.8801 13.0982 13.9245 13.171 13.9548C13.2437 13.985 13.3218 14.0003 13.4006 14C13.4794 14.0003 13.5575 13.985 13.6302 13.9548C13.703 13.9245 13.769 13.8801 13.8244 13.8241C13.9367 13.7116 13.9997 13.5592 13.9997 13.4003C13.9997 13.2414 13.9367 13.089 13.8244 12.9765L10.6806 9.8328C11.0529 9.37773 11.3572 8.86972 11.5831 8.32452C11.8856 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0267 2.67572C10.3652 1.68564 9.42488 0.913972 8.32477 0.45829C7.22466 0.00260857 6.01412 -0.116618 4.84625 0.115686C3.67838 0.34799 2.60562 0.921393 1.76363 1.76338C0.921637 2.60537 0.348235 3.67813 0.11593 4.84601C-0.116374 6.01388 0.00285271 7.22441 0.458534 8.32452C0.914216 9.42464 1.68589 10.3649 2.67596 11.0265ZM3.35559 2.0158C4.14449 1.48867 5.07199 1.20731 6.0208 1.20731C7.29311 1.20731 8.51331 1.71274 9.41297 2.6124C10.3126 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5367 7.88088 10.0096 8.66978C9.48244 9.45868 8.73322 10.0736 7.85663 10.4367C6.98005 10.7997 6.01548 10.8947 5.0849 10.7096C4.15433 10.5245 3.29954 10.0676 2.62863 9.39674C1.95772 8.72583 1.50083 7.87104 1.31572 6.94046C1.13062 6.00989 1.22562 5.04532 1.58872 4.16874C1.95181 3.29215 2.56669 2.54292 3.35559 2.0158ZM6.00481 8.60309C5.84641 8.60102 5.69509 8.53718 5.58308 8.42517C5.47107 8.31316 5.40722 8.16183 5.40515 8.00344V6.60422H4.00591C3.84687 6.60422 3.69434 6.54104 3.58189 6.42859C3.46943 6.31613 3.40625 6.1636 3.40625 6.00456C3.40625 5.84553 3.46943 5.693 3.58189 5.58054C3.69434 5.46809 3.84687 5.40491 4.00591 5.40491H5.40515V4.00572C5.40515 3.84668 5.46833 3.69416 5.58079 3.5817C5.69324 3.46924 5.84577 3.40607 6.00481 3.40607C6.16385 3.40607 6.31637 3.46924 6.42883 3.5817C6.54129 3.69416 6.60447 3.84668 6.60447 4.00572V5.40491H8.00362C8.16266 5.40491 8.31518 5.46809 8.42764 5.58054C8.5401 5.693 8.60328 5.84553 8.60328 6.00456C8.60328 6.1636 8.5401 6.31613 8.42764 6.42859C8.31518 6.54104 8.16266 6.60422 8.00362 6.60422H6.60447V8.00344C6.60239 8.16183 6.53855 8.31316 6.42654 8.42517C6.31453 8.53718 6.1632 8.60102 6.00481 8.60309Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ze=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["UndoIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,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","M6.77042 5.96336C6.84315 5.99355 6.92118 6.00891 6.99993 6.00854C7.07868 6.00891 7.15671 5.99355 7.22944 5.96336C7.30217 5.93317 7.36814 5.88876 7.42348 5.83273C7.53572 5.72035 7.59876 5.56801 7.59876 5.40918C7.59876 5.25035 7.53572 5.09802 7.42348 4.98564L6.04897 3.61113H6.99998C7.9088 3.61113 8.79722 3.88063 9.55288 4.38554C10.3085 4.89046 10.8975 5.60811 11.2453 6.44776C11.5931 7.2874 11.6841 8.21132 11.5068 9.10268C11.3295 9.99404 10.8918 10.8128 10.2492 11.4554C9.60657 12.0981 8.7878 12.5357 7.89644 12.713C7.00508 12.8903 6.08116 12.7993 5.24152 12.4515C4.40188 12.1037 3.68422 11.5148 3.17931 10.7591C2.67439 10.0035 2.4049 9.11504 2.4049 8.20622C2.4049 8.04726 2.34175 7.89481 2.22935 7.78241C2.11695 7.67001 1.9645 7.60686 1.80554 7.60686C1.64658 7.60686 1.49413 7.67001 1.38172 7.78241C1.26932 7.89481 1.20618 8.04726 1.20618 8.20622C1.20829 9.74218 1.81939 11.2146 2.90548 12.3007C3.99157 13.3868 5.46402 13.9979 6.99998 14C8.5366 14 10.0103 13.3896 11.0968 12.3031C12.1834 11.2165 12.7938 9.74283 12.7938 8.20622C12.7938 6.66961 12.1834 5.19593 11.0968 4.10938C10.0103 3.02283 8.5366 2.41241 6.99998 2.41241H6.04892L7.42348 1.03786C7.48236 0.982986 7.5296 0.916817 7.56235 0.843296C7.59511 0.769775 7.61273 0.690409 7.61415 0.609933C7.61557 0.529456 7.60076 0.449519 7.57062 0.374888C7.54047 0.300257 7.49561 0.232462 7.43869 0.175548C7.38178 0.118634 7.31398 0.0737664 7.23935 0.0436218C7.16472 0.0134773 7.08478 -0.00132663 7.00431 9.32772e-05C6.92383 0.00151319 6.84447 0.019128 6.77095 0.0518865C6.69742 0.0846451 6.63126 0.131876 6.57638 0.190763L4.17895 2.5882C4.06671 2.70058 4.00366 2.85292 4.00366 3.01175C4.00366 3.17058 4.06671 3.32291 4.17895 3.43529L6.57638 5.83273C6.63172 5.88876 6.69769 5.93317 6.77042 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Gd=["mask"],Vd=["previewButton"],Bd=["closeButton"],Od=(o,a)=>({height:o,width:a}),Ld=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),Nd=o=>({value:"visible",params:o});function jd(o,a){1&o&&e.eu8(0)}function Pd(o,a){if(1&o&&(e.qex(0),e.DNE(1,jd,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.indicatorTemplate)}}function zd(o,a){1&o&&e.nrm(0,"EyeIcon",11),2&o&&e.Y8G("styleClass","p-image-preview-icon")}function Hd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",8,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onImageClick())}),e.DNE(2,Pd,2,1,"ng-container",9)(3,zd,1,1,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG();e.Y8G("ngStyle",e.l_i(4,Od,i.height+"px",i.width+"px")),e.BMQ("aria-label",i.zoomImageAriaLabel),e.R7$(2),e.Y8G("ngIf",i.indicatorTemplate)("ngIfElse",t)}}function Yd(o,a){1&o&&e.nrm(0,"RefreshIcon")}function $d(o,a){}function Ad(o,a){1&o&&e.DNE(0,$d,0,0,"ng-template")}function Xd(o,a){1&o&&e.nrm(0,"UndoIcon")}function Kd(o,a){}function Ud(o,a){1&o&&e.DNE(0,Kd,0,0,"ng-template")}function Qd(o,a){1&o&&e.nrm(0,"SearchMinusIcon")}function qd(o,a){}function Wd(o,a){1&o&&e.DNE(0,qd,0,0,"ng-template")}function Zd(o,a){1&o&&e.nrm(0,"SearchPlusIcon")}function Jd(o,a){}function ep(o,a){1&o&&e.DNE(0,Jd,0,0,"ng-template")}function tp(o,a){1&o&&e.nrm(0,"TimesIcon")}function ip(o,a){}function np(o,a){1&o&&e.DNE(0,ip,0,0,"ng-template")}function op(o,a){if(1&o){const t=e.RV6();e.j41(0,"div"),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.j41(1,"img",17),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onPreviewImageClick())}),e.k0s()()}if(2&o){const t=e.XpG(2);e.Y8G("@animation",e.eq3(8,Nd,e.l_i(5,Ld,t.showTransitionOptions,t.hideTransitionOptions))),e.R7$(),e.Y8G("ngStyle",t.imagePreviewStyle()),e.BMQ("src",t.previewImageSrc?t.previewImageSrc:t.src,e.B4B)("srcset",t.previewImageSrcSet)("sizes",t.previewImageSizes)}}function sp(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",12,2),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onMaskClick())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onMaskKeydown(n))}),e.j41(2,"div",13),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.handleToolbarClick(n))}),e.j41(3,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateRight())}),e.DNE(4,Yd,1,0,"RefreshIcon",15)(5,Ad,1,0,null,10),e.k0s(),e.j41(6,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateLeft())}),e.DNE(7,Xd,1,0,"UndoIcon",15)(8,Ud,1,0,null,10),e.k0s(),e.j41(9,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomOut())}),e.DNE(10,Qd,1,0,"SearchMinusIcon",15)(11,Wd,1,0,null,10),e.k0s(),e.j41(12,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomIn())}),e.DNE(13,Zd,1,0,"SearchPlusIcon",15)(14,ep,1,0,null,10),e.k0s(),e.j41(15,"button",14,3),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closePreview())}),e.DNE(17,tp,1,0,"TimesIcon",15)(18,np,1,0,null,10),e.k0s()(),e.DNE(19,op,2,10,"div",15),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-modal",t.maskVisible),e.R7$(3),e.BMQ("aria-label",t.rightAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateRightIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateRightIconTemplate),e.R7$(),e.BMQ("aria-label",t.leftAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateLeftIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateLeftIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomOutDisabled),e.BMQ("aria-label",t.zoomOutAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomOutIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomOutIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomInDisabled),e.BMQ("aria-label",t.zoomInAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomInIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomInIconTemplate),e.R7$(),e.BMQ("aria-label",t.closeAriaLabel()),e.R7$(2),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.previewVisible)}}let Je=(()=>{class o{document;config;cd;el;imageClass;imageStyle;styleClass;style;src;srcSet;sizes;previewImageSrc;previewImageSrcSet;previewImageSizes;alt;width;height;loading;appendTo;preview=!1;showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";onShow=new e.bkB;onHide=new e.bkB;onImageError=new e.bkB;mask;previewButton;closeButton;templates;indicatorTemplate;rotateRightIconTemplate;rotateLeftIconTemplate;zoomOutIconTemplate;zoomInIconTemplate;closeIconTemplate;maskVisible=!1;previewVisible=!1;rotate=0;scale=1;previewClick=!1;container;wrapper;get isZoomOutDisabled(){return this.scale-this.zoomSettings.step<=this.zoomSettings.min}get isZoomInDisabled(){return this.scale+this.zoomSettings.step>=this.zoomSettings.max}zoomSettings={default:1,step:.1,max:1.5,min:.5};constructor(t,i,n,s){this.document=t,this.config=i,this.cd=n,this.el=s}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"indicator":default:this.indicatorTemplate=t.template;break;case"rotaterighticon":this.rotateRightIconTemplate=t.template;break;case"rotatelefticon":this.rotateLeftIconTemplate=t.template;break;case"zoomouticon":this.zoomOutIconTemplate=t.template;break;case"zoominicon":this.zoomInIconTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template}})}onImageClick(){this.preview&&(this.maskVisible=!0,this.previewVisible=!0,d.D.blockBodyScroll())}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}onMaskKeydown(t){"Escape"===t.code&&(this.onMaskClick(),setTimeout(()=>{d.D.focus(this.previewButton.nativeElement)},25),t.preventDefault())}onPreviewImageClick(){this.previewClick=!0}rotateRight(){this.rotate+=90,this.previewClick=!0}rotateLeft(){this.rotate-=90,this.previewClick=!0}zoomIn(){this.scale=this.scale+this.zoomSettings.step,this.previewClick=!0}zoomOut(){this.scale=this.scale-this.zoomSettings.step,this.previewClick=!0}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),setTimeout(()=>{d.D.focus(this.closeButton.nativeElement)},25);break;case"void":d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":h.Q$.clear(this.wrapper),this.maskVisible=!1,this.container=null,this.wrapper=null,this.cd.markForCheck(),this.onHide.emit({});break;case"visible":this.onShow.emit({})}}moveOnTop(){h.Q$.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}get zoomImageAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomImage:void 0}containerClass(){return{"p-image p-component":!0,"p-image-preview-container":this.preview}}handleToolbarClick(t){t.stopPropagation()}closePreview(){this.previewVisible=!1,this.rotate=0,this.scale=this.zoomSettings.default,d.D.unblockBodyScroll()}imageError(t){this.onImageError.emit(t)}rightAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateRight:void 0}leftAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateLeft:void 0}zoomInAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomIn:void 0}zoomOutAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomOut:void 0}closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}onKeydownHandler(t){this.previewVisible&&this.closePreview()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(g.r1),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["p-image"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Gd,5),e.GBs(Vd,5),e.GBs(Bd,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.mask=s.first),e.mGM(s=e.lsd())&&(n.previewButton=s.first),e.mGM(s=e.lsd())&&(n.closeButton=s.first)}},hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.escape",function(l){return n.onKeydownHandler(l)},!1,e.EBC)},inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",srcSet:"srcSet",sizes:"sizes",previewImageSrc:"previewImageSrc",previewImageSrcSet:"previewImageSrcSet",previewImageSizes:"previewImageSizes",alt:"alt",width:"width",height:"height",loading:"loading",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:16,consts:[["previewButton",""],["defaultTemplate",""],["mask",""],["closeButton",""],[3,"ngClass","ngStyle"],[3,"error","ngStyle"],["type","button","class","p-image-preview-indicator","style","border: 'none';",3,"ngStyle","click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter","role","dialog","pFocusTrap","",3,"click","keydown",4,"ngIf"],["type","button",1,"p-image-preview-indicator",2,"border","'none'",3,"click","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"styleClass"],["role","dialog","pFocusTrap","",1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click","keydown"],[1,"p-image-toolbar",3,"click"],["type","button",1,"p-image-action","p-link",3,"click"],[4,"ngIf"],["type","button",1,"p-image-action","p-link",3,"click","disabled"],[1,"p-image-preview",3,"click","ngStyle"]],template:function(i,n){1&i&&(e.j41(0,"span",4)(1,"img",5),e.bIt("error",function(l){return n.imageError(l)}),e.k0s(),e.DNE(2,Hd,5,7,"button",6)(3,sp,20,19,"div",7),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass())("ngStyle",n.style),e.R7$(),e.HbH(n.imageClass),e.Y8G("ngStyle",n.imageStyle),e.BMQ("src",n.src,e.B4B)("srcset",n.srcSet)("sizes",n.sizes)("alt",n.alt)("width",n.width)("height",n.height)("loading",n.loading),e.R7$(),e.Y8G("ngIf",n.preview),e.R7$(),e.Y8G("ngIf",n.maskVisible))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,Qe,Ue,Ze,qe,We,F.A,$e],styles:["@layer primeng{.p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block;line-height:0}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;outline:none;border:none;padding:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon.pi{font-size:1.5rem}.p-image-preview-icon.p-icon{scale:1.5}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex;z-index:1}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-action.p-link[disabled]{opacity:.5}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.iF)({transform:"scale(0.7)",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0})}return o})(),et=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,Qe,Ue,Ze,qe,We,F.A,Ae,g.Gg]})}return o})();var ap=I(4125);const lp=["dt"],rp=()=>({width:"50rem"}),cp=()=>({"1250px":"75vw","800px":"90vw"});function dp(o,a){1&o&&(e.j41(0,"tr"),e.nrm(1,"th"),e.j41(2,"th"),e.EFF(3,"Doi"),e.k0s(),e.j41(4,"th",11),e.EFF(5," Title "),e.nrm(6,"p-sortIcon",12),e.k0s(),e.j41(7,"th",13),e.EFF(8," Keywords "),e.nrm(9,"p-sortIcon",14),e.k0s(),e.j41(10,"th"),e.EFF(11,"Cluster"),e.k0s(),e.j41(12,"th",15),e.EFF(13," Cited by Count "),e.nrm(14,"p-sortIcon",16),e.k0s(),e.j41(15,"th",17),e.EFF(16," Publication "),e.nrm(17,"p-sortIcon",18),e.k0s(),e.j41(18,"th",19),e.EFF(19," Referenced Works Count "),e.nrm(20,"p-sortIcon",20),e.k0s(),e.j41(21,"th",21),e.EFF(22," Relevance Score "),e.nrm(23,"p-sortIcon",22),e.k0s()())}function pp(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-button",25),e.bIt("onClick",function(){e.eBV(t);const n=e.XpG().$implicit,s=e.XpG();return e.Njj(s.openDoi(n.doi))}),e.k0s()}}function up(o,a){if(1&o){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"p-button",23),e.bIt("onClick",function(){const n=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.openDialog(n.id))}),e.k0s()(),e.j41(3,"td"),e.DNE(4,pp,1,0,"p-button",24),e.k0s(),e.nrm(5,"td",5)(6,"td",5),e.j41(7,"td"),e.EFF(8),e.k0s(),e.j41(9,"td"),e.EFF(10),e.k0s(),e.j41(11,"td"),e.EFF(12),e.k0s(),e.j41(13,"td"),e.EFF(14),e.k0s(),e.j41(15,"td"),e.EFF(16),e.k0s()()}if(2&o){const t=a.$implicit;e.R7$(4),e.Y8G("ngIf",t.doi),e.R7$(),e.Y8G("innerHTML",t.title,e.npT),e.R7$(),e.Y8G("innerHTML",t.keywords,e.npT),e.R7$(2),e.Lme("",t.ismed_first?"Medicine":"Pasture"," ",t.cluster,""),e.R7$(2),e.JRh(t.cited_by_count),e.R7$(2),e.JRh(t.publication_date),e.R7$(2),e.JRh(t.referenced_works_count),e.R7$(2),e.JRh(t.relevance_score)}}function hp(o,a){if(1&o&&(e.j41(0,"a",26),e.nrm(1,"i",27),e.k0s()),2&o){const t=e.XpG();e.Y8G("href",null==t.source?null:t.source.doi,e.B4B)}}let ue=(()=>{class o{constructor(t,i){this.sourceService=t,this.tableService=i,this.source=null,this.page=1,this.limit=1e3,this.full=!0,this.isSorted=!1,this.showDialog=!1,this.dataSource=[],this.handleScroll=n=>{console.log("scroll",n),console.timeEnd("lastScrolled"),console.time("lastScrolled")}}ngOnInit(){this.tableService.table$.subscribe(t=>{this.dataSource=[],this.dataSource=t}),this.tableService.search$.subscribe(t=>{this.search=t})}announceSortChange2(t){let i={active:t.field,direction:1===t.order?"asc":"desc"};null==this.isSorted?(this.isSorted=!0,this.tableService.announceSortChange(i)):this.isSorted?this.isSorted=!1:this.isSorted||(this.isSorted=null,this.dataSource=[]),console.log(t.data=[])}applyFilter(t){this.tableService.applyFilter(t)}ngAfterViewInit(){this.tableService.getSourcesData(1)}hasMore(){return console.log(this.dataSource.length),!this.dataSource||this.dataSource.length{this.showDialog=!1,this.source=i,this.showDialog=!0},i=>{this.showDialog=!1,console.error("Erro ao obter dados da fonte:",i)})}openDoi(t){window.open(t,"_blanck")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ap.F),e.rXU(A.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-table"]],viewQuery:function(i,n){if(1&i&&e.GBs(lp,5),2&i){let s;e.mGM(s=e.lsd())&&(n.dt=s.first)}},standalone:!0,features:[e.aNF],decls:21,vars:21,consts:[["dt",""],["scrollHeight","800px",3,"sortFunction","value","customSort","scrollable"],["pTemplate","header"],["pTemplate","body"],[3,"visibleChange","modal","visible","breakpoints"],[3,"innerHTML"],["class","doiUrl","target","_blank",3,"href",4,"ngIf"],[1,"grid"],[1,"col-3"],["width","100%",3,"src","preview"],[1,"col-9"],["pSortableColumn","title"],["field","title"],["pSortableColumn","keywords"],["field","keywords"],["pSortableColumn","cited_by_count"],["field","cited_by_count"],["pSortableColumn","publication_date"],["field","publication_date"],["pSortableColumn","referenced_works_count"],["field","referenced_works_count"],["pSortableColumn","relevance_score"],["field","relevance_score"],["icon","pi pi-search","pTooltip","Open Abstract","severity","success",3,"onClick"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick",4,"ngIf"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick"],["target","_blank",1,"doiUrl",3,"href"],[1,"pi","pi-file"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"p-table",1,0),e.bIt("sortFunction",function(r){return e.eBV(s),e.Njj(n.announceSortChange2(r))}),e.DNE(2,dp,24,0,"ng-template",2)(3,up,17,9,"ng-template",3),e.k0s(),e.j41(4,"p-dialog",4),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.showDialog,r)||(n.showDialog=r),e.Njj(r)}),e.nrm(5,"p-header",5),e.j41(6,"h3"),e.EFF(7),e.k0s(),e.j41(8,"p"),e.DNE(9,hp,2,1,"a",6),e.EFF(10),e.k0s(),e.j41(11,"h4"),e.EFF(12,"Keywords:"),e.k0s(),e.nrm(13,"p",5),e.j41(14,"div",7)(15,"div",8),e.nrm(16,"p-image",9),e.k0s(),e.j41(17,"div",10)(18,"h3"),e.EFF(19,"Abstract"),e.k0s(),e.nrm(20,"p",5),e.k0s()()()}2&i&&(e.Y8G("value",n.dataSource)("customSort",!0)("scrollable",!0),e.R7$(4),e.Aen(e.lJ4(19,rp)),e.Y8G("modal",!0),e.R50("visible",n.showDialog),e.Y8G("breakpoints",e.lJ4(20,cp)),e.R7$(),e.Y8G("innerHTML",null==n.source?null:n.source.title,e.npT),e.R7$(2),e.SpI("ID: ",null==n.source?null:n.source.id,""),e.R7$(2),e.Y8G("ngIf",null==n.source?null:n.source.doi),e.R7$(),e.LHq(" ",null==n.source?null:n.source.language," | ",null==n.source?null:n.source.type_crossref," | ",null!=n.source&&n.source.ismed_first?"Medicine":"Pasture"," Cluster:",null==n.source?null:n.source.cluster," "),e.R7$(3),e.Y8G("innerHTML",null==n.source?null:n.source.keywords,e.npT),e.R7$(3),e.Y8G("src",null==n.source?null:n.source.image)("preview",!0),e.R7$(4),e.Y8G("innerHTML",null==n.source?null:n.source.abstract,e.npT))},dependencies:[Pc,J,g.Y9,g.Ei,Nc,jc,m.MD,m.bT,Fd,Md,et,Je,M.tm,M.$n,j.S,j.m]})}return o})(),mp=(()=>{class o{constructor(t){this.tableService=t}ngOnInit(){this.tableService.setInfo("pasture")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(A.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-home"]],decls:1,vars:0,template:function(i,n){1&i&&e.nrm(0,"app-table")},dependencies:[ue]})}return o})(),_p=(()=>{class o{constructor(t,i){this.route=t,this.tableService=i,this.cluster_id=0}ngOnInit(){this.route.paramMap.subscribe(t=>{this.type_source=t.get("type_source"),this.tableService.setInfo(this.type_source,this.cluster_id)})}setCluster(t){this.cluster_id=t?39===this.cluster_id?0:this.cluster_id+1:0===this.cluster_id?39:this.cluster_id-1,this.tableService.setInfo(this.type_source,this.cluster_id)}getImageUrl(){let t=this.cluster_id.toString().padStart(3,"0"),i=this.type_source;return"medicine"===i&&(i="med"),`https://s3.lapig.iesa.ufg.br/public/bibiografia/${i}/${t}_keywords.png`}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(L.nX),e.rXU(A.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-cluster"]],standalone:!0,features:[e.aNF],decls:11,vars:3,consts:[[1,"grid"],[1,"col-2"],[1,"col-12"],["icon","pi pi-step-backward",1,"",3,"click"],["icon","pi pi-step-forward",3,"click"],[1,"flex","justify-content-center","flex-wrap"],[1,"flex","align-items-center","justify-content-center"],["width","256px",3,"src","alt","preview"],[1,"col-10"]],template:function(i,n){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",0)(3,"div",2)(4,"p-button",3),e.bIt("click",function(){return n.setCluster(!1)}),e.k0s(),e.j41(5,"p-button",4),e.bIt("click",function(){return n.setCluster(!0)}),e.k0s()()(),e.j41(6,"div",5)(7,"div",6),e.nrm(8,"p-image",7),e.k0s()()(),e.j41(9,"div",8),e.nrm(10,"app-table"),e.k0s()()),2&i&&(e.R7$(8),e.Y8G("src",n.getImageUrl())("alt","Cluster_"+n.cluster_id)("preview",!0))},dependencies:[M.tm,M.$n,ue,et,Je]})}return o})(),gp=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[L.iI.forChild([{path:"",data:{breadcrumb:"GPW Literature Review"},component:mp},{path:":type_source",data:{breadcrumb:"Type Source"},component:_p}]),L.iI]})}return o})(),Cp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();const wp=["*"];let Ip=(()=>{class o{style;styleClass;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputGroup"]],hostAttrs:[1,"p-element","p-inputgroup"],inputs:{style:"style",styleClass:"styleClass"},ngContentSelectors:wp,decls:2,vars:3,consts:[[1,"p-inputgroup",3,"ngClass","ngStyle"]],template:function(i,n){1&i&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s()),2&i&&(e.Y8G("ngClass",n.styleClass)("ngStyle",n.style),e.BMQ("data-pc-name","inputgroup"))},dependencies:[m.YU,m.B3],encapsulation:2})}return o})(),xp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();var tt=I(6150);let it=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["BarsIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,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","M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var Tp=I(8359);class kp extends Tp.yU{constructor(a,t){super()}schedule(a,t=0){return this}}const ee={setInterval(o,a,...t){const{delegate:i}=ee;return i?.setInterval?i.setInterval(o,a,...t):setInterval(o,a,...t)},clearInterval(o){const{delegate:a}=ee;return(a?.clearInterval||clearInterval)(o)},delegate:void 0};var Sp=I(7908);const nt={now:()=>(nt.delegate||Date).now(),delegate:void 0};class Y{constructor(a,t=Y.now){this.schedulerActionCtor=a,this.now=t}schedule(a,t=0,i){return new this.schedulerActionCtor(this,a).schedule(i,t)}}Y.now=nt.now;const ot=new class Ep extends Y{constructor(a,t=Y.now){super(a,t),this.actions=[],this._active=!1}flush(a){const{actions:t}=this;if(this._active)return void t.push(a);let i;this._active=!0;do{if(i=a.execute(a.state,a.delay))break}while(a=t.shift());if(this._active=!1,i){for(;a=t.shift();)a.unsubscribe();throw i}}}(class Dp extends kp{constructor(a,t){super(a,t),this.scheduler=a,this.work=t,this.pending=!1}schedule(a,t=0){var i;if(this.closed)return this;this.state=a;const n=this.id,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(s,this.id,t),this}requestAsyncId(a,t,i=0){return ee.setInterval(a.flush.bind(a,this),i)}recycleAsyncId(a,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&ee.clearInterval(t)}execute(a,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(a,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,t){let n,i=!1;try{this.work(a)}catch(s){i=!0,n=s||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:a,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Sp.o)(i,this),null!=a&&(this.id=this.recycleAsyncId(t,a,null)),this.delay=null,super.unsubscribe()}}}),Rp=ot;var Mp=I(1985),Fp=I(9470);var Op=I(9974),Lp=I(5343),st=I(4360),Np=I(8750),Pp=I(5964);const zp=["menubar"],Hp=(o,a)=>({"p-submenu-list":o,"p-menubar-root-list":a}),at=o=>({"p-menuitem-link":!0,"p-disabled":o}),Yp=()=>({exact:!1}),$p=o=>({$implicit:o});function Ap(o,a){if(1&o&&e.nrm(0,"li",8),2&o){const t=e.XpG().$implicit,i=e.XpG();e.Aen(i.getItemProp(t,"style")),e.Y8G("ngClass",i.getSeparatorItemClass(t)),e.BMQ("id",i.getItemId(t))("data-pc-section","separator")}}function Xp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Kp(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.BMQ("data-pc-section","label"),e.R7$(),e.SpI(" ",i.getItemLabel(t)," ")}}function Up(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Qp(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function qp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Wp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,qp,1,3,"AngleDownIcon",24)(2,Wp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Jp(o,a){}function eu(o,a){1&o&&e.DNE(0,Jp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function tu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Zp,3,2,"ng-container",11)(2,eu,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function iu(o,a){if(1&o&&(e.j41(0,"a",15),e.DNE(1,Xp,1,5,"span",16)(2,Kp,2,2,"span",17)(3,Up,1,2,"ng-template",null,2,e.C5r)(5,Qp,2,2,"span",18)(6,tu,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("target",n.getItemProp(i,"target"))("ngClass",e.eq3(12,at,n.getItemProp(i,"disabled"))),e.BMQ("href",n.getItemProp(i,"url"),e.B4B)("aria-hidden",!0)("data-automationid",n.getItemProp(i,"automationId"))("data-pc-section","action")("tabindex",-1),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function nu(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function ou(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.R7$(),e.JRh(i.getItemLabel(t))}}function su(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function au(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function lu(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function ru(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function cu(o,a){if(1&o&&(e.qex(0),e.DNE(1,lu,1,3,"AngleDownIcon",24)(2,ru,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function du(o,a){}function pu(o,a){1&o&&e.DNE(0,du,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function uu(o,a){if(1&o&&(e.qex(0),e.DNE(1,cu,3,2,"ng-container",11)(2,pu,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function hu(o,a){if(1&o&&(e.j41(0,"a",27),e.DNE(1,nu,1,5,"span",16)(2,ou,2,1,"span",17)(3,su,1,2,"ng-template",null,3,e.C5r)(5,au,2,2,"span",18)(6,uu,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("routerLink",n.getItemProp(i,"routerLink"))("queryParams",n.getItemProp(i,"queryParams"))("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",n.getItemProp(i,"routerLinkActiveOptions")||e.lJ4(21,Yp))("target",n.getItemProp(i,"target"))("ngClass",e.eq3(22,at,n.getItemProp(i,"disabled")))("fragment",n.getItemProp(i,"fragment"))("queryParamsHandling",n.getItemProp(i,"queryParamsHandling"))("preserveFragment",n.getItemProp(i,"preserveFragment"))("skipLocationChange",n.getItemProp(i,"skipLocationChange"))("replaceUrl",n.getItemProp(i,"replaceUrl"))("state",n.getItemProp(i,"state")),e.BMQ("data-automationid",n.getItemProp(i,"automationId"))("tabindex",-1)("aria-hidden",!0)("data-pc-section","action"),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function mu(o,a){if(1&o&&(e.qex(0),e.DNE(1,iu,7,14,"a",13)(2,hu,7,24,"a",14),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.getItemProp(t,"routerLink")),e.R7$(),e.Y8G("ngIf",i.getItemProp(t,"routerLink"))}}function _u(o,a){}function gu(o,a){1&o&&e.DNE(0,_u,0,0,"ng-template")}function fu(o,a){if(1&o&&(e.qex(0),e.DNE(1,gu,1,0,null,28),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",i.itemTemplate)("ngTemplateOutletContext",e.eq3(2,$p,t.item))}}function bu(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-menubarSub",29),e.bIt("itemClick",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.itemClick.emit(n))})("itemMouseEnter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onItemMouseEnter(n))}),e.k0s()}if(2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.Y8G("itemTemplate",i.itemTemplate)("items",t.items)("mobileActive",i.mobileActive)("autoDisplay",i.autoDisplay)("menuId",i.menuId)("activeItemPath",i.activeItemPath)("focusedItemId",i.focusedItemId)("level",i.level+1)}}function vu(o,a){if(1&o){const t=e.RV6();e.j41(0,"li",9,1)(2,"div",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemClick(n,s))})("mouseenter",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemMouseEnter({$event:n,processedItem:s}))}),e.DNE(3,mu,3,2,"ng-container",11)(4,fu,2,4,"ng-container",11),e.k0s(),e.DNE(5,bu,1,8,"p-menubarSub",12),e.k0s()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.HbH(s.getItemProp(i,"styleClass")),e.Y8G("ngStyle",s.getItemProp(i,"style"))("ngClass",s.getItemClass(i))("tooltipOptions",s.getItemProp(i,"tooltipOptions")),e.BMQ("id",s.getItemId(i))("data-pc-section","menuitem")("data-p-highlight",s.isItemActive(i))("data-p-focused",s.isItemFocused(i))("data-p-disabled",s.isItemDisabled(i))("aria-label",s.getItemLabel(i))("aria-disabled",s.isItemDisabled(i)||void 0)("aria-haspopup",s.isItemGroup(i)&&!s.getItemProp(i,"to")?"menu":void 0)("aria-expanded",s.isItemGroup(i)?s.isItemActive(i):void 0)("aria-level",s.level+1)("aria-setsize",s.getAriaSetSize())("aria-posinset",s.getAriaPosInset(n)),e.R7$(2),e.BMQ("data-pc-section","content"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.isItemVisible(i)&&s.isItemGroup(i))}}function yu(o,a){if(1&o&&e.DNE(0,Ap,1,5,"li",6)(1,vu,6,21,"li",7),2&o){const t=a.$implicit,i=e.XpG();e.Y8G("ngIf",i.isItemVisible(t)&&i.getItemProp(t,"separator")),e.R7$(),e.Y8G("ngIf",i.isItemVisible(t)&&!i.getItemProp(t,"separator"))}}const Cu=["menubutton"],wu=["rootmenu"],Iu=["*"],xu=o=>({"p-menubar p-component":!0,"p-menubar-mobile-active":o});function Tu(o,a){1&o&&e.eu8(0)}function ku(o,a){if(1&o&&(e.j41(0,"div",8),e.DNE(1,Tu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.startTemplate)}}function Su(o,a){1&o&&e.nrm(0,"BarsIcon")}function Du(o,a){}function Eu(o,a){1&o&&e.DNE(0,Du,0,0,"ng-template")}function Ru(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",10,2),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonClick(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonKeydown(n))}),e.DNE(2,Su,1,0,"BarsIcon",11)(3,Eu,1,0,null,9),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-haspopup",!!(t.model.length&&t.model.length>0))("aria-expanded",t.mobileActive)("aria-controls",t.id)("aria-label",t.config.translation.aria.navigation)("data-pc-section","button"),e.R7$(2),e.Y8G("ngIf",!t.menuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.menuIconTemplate)}}function Mu(o,a){1&o&&e.eu8(0)}function Fu(o,a){if(1&o&&(e.j41(0,"div",12),e.DNE(1,Mu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.endTemplate)}}function Gu(o,a){1&o&&(e.j41(0,"div",12),e.SdG(1),e.k0s())}let he=(()=>{class o{autoHide;autoHideDelay;mouseLeaves=new P.B;mouseLeft$=this.mouseLeaves.pipe(function jp(o){return(0,Op.N)((a,t)=>{let i=!1,n=null,s=null;const l=()=>{if(s?.unsubscribe(),s=null,i){i=!1;const r=n;n=null,t.next(r)}};a.subscribe((0,st._)(t,r=>{s?.unsubscribe(),i=!0,n=r,s=(0,st._)(t,l,Lp.l),(0,Np.Tg)(o(r)).subscribe(s)},()=>{l(),t.complete()},void 0,()=>{n=s=null}))})}(()=>function Bp(o=0,a=ot){return o<0&&(o=0),function Vp(o=0,a,t=Rp){let i=-1;return null!=a&&((0,Fp.m)(a)?t=a:i=a),new Mp.c(n=>{let s=function Gp(o){return o instanceof Date&&!isNaN(o)}(o)?+o-t.now():o;s<0&&(s=0);let l=0;return t.schedule(function(){n.closed||(n.next(l++),0<=i?this.schedule(void 0,i):n.complete())},s)})}(o,o,a)}(this.autoHideDelay)),(0,Pp.p)(t=>this.autoHide&&t));static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Vu=(()=>{class o{el;renderer;cd;menubarService;items;itemTemplate;root=!1;autoZIndex=!0;baseZIndex=0;mobileActive;autoDisplay;menuId;ariaLabel;ariaLabelledBy;level=0;focusedItemId;activeItemPath;itemClick=new e.bkB;itemMouseEnter=new e.bkB;menuFocus=new e.bkB;menuBlur=new e.bkB;menuKeydown=new e.bkB;menubarViewChild;mouseLeaveSubscriber;constructor(t,i,n,s){this.el=t,this.renderer=i,this.cd=n,this.menubarService=s}ngOnInit(){this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>{this.cd.markForCheck()})}onItemClick(t,i){this.getItemProp(i,"command",{originalEvent:t,item:i.item}),this.itemClick.emit({originalEvent:t,processedItem:i,isFocus:!0})}getItemProp(t,i,n=null){return t&&t.item?h.BF.getItemValue(t.item[i],n):void 0}getItemId(t){return t.item&&t.item?.id?t.item.id:`${this.menuId}_${t.key}`}getItemKey(t){return this.getItemId(t)}getItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem":!0,"p-highlight":this.isItemActive(t),"p-menuitem-active":this.isItemActive(t),"p-focus":this.isItemFocused(t),"p-disabled":this.isItemDisabled(t)}}getItemLabel(t){return this.getItemProp(t,"label")}getSeparatorItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem-separator":!0}}isItemVisible(t){return!1!==this.getItemProp(t,"visible")}isItemActive(t){if(this.activeItemPath)return this.activeItemPath.some(i=>i.key===t.key)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemFocused(t){return this.focusedItemId===this.getItemId(t)}isItemGroup(t){return h.BF.isNotEmpty(t.items)}getAriaSetSize(){return this.items.filter(t=>this.isItemVisible(t)&&!this.getItemProp(t,"separator")).length}getAriaPosInset(t){return t-this.items.slice(0,t).filter(i=>this.isItemVisible(i)&&this.getItemProp(i,"separator")).length+1}onItemMouseLeave(){this.menubarService.mouseLeaves.next(!0)}onItemMouseEnter(t){if(this.autoDisplay){this.menubarService.mouseLeaves.next(!1);const{event:i,processedItem:n}=t;this.itemMouseEnter.emit({originalEvent:i,processedItem:n})}}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(he))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubarSub"]],viewQuery:function(i,n){if(1&i&&e.GBs(zp,7),2&i){let s;e.mGM(s=e.lsd())&&(n.menubarViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{items:"items",itemTemplate:"itemTemplate",root:"root",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",mobileActive:"mobileActive",autoDisplay:"autoDisplay",menuId:"menuId",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",level:"level",focusedItemId:"focusedItemId",activeItemPath:"activeItemPath"},outputs:{itemClick:"itemClick",itemMouseEnter:"itemMouseEnter",menuFocus:"menuFocus",menuBlur:"menuBlur",menuKeydown:"menuKeydown"},decls:3,vars:11,consts:[["menubar",""],["listItem",""],["htmlLabel",""],["htmlRouteLabel",""],["role","menu",3,"focus","blur","keydown","ngClass","tabindex"],["ngFor","",3,"ngForOf"],["role","separator",3,"style","ngClass",4,"ngIf"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","class","tooltipOptions",4,"ngIf"],["role","separator",3,"ngClass"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","tooltipOptions"],[1,"p-menuitem-content",3,"click","mouseenter"],[4,"ngIf"],[3,"itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level","itemClick","itemMouseEnter",4,"ngIf"],["pRipple","",3,"target","ngClass",4,"ngIf"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["pRipple","",3,"target","ngClass"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[1,"p-menuitem-icon",3,"ngClass","ngStyle"],[1,"p-menuitem-text"],[1,"p-menuitem-text",3,"innerHTML"],[1,"p-menuitem-badge",3,"ngClass"],[4,"ngTemplateOutlet"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[3,"data-pc-section","aria-hidden"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"itemClick","itemMouseEnter","itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"ul",4,0),e.bIt("focus",function(r){return e.eBV(s),e.Njj(n.menuFocus.emit(r))})("blur",function(r){return e.eBV(s),e.Njj(n.menuBlur.emit(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.menuKeydown.emit(r))}),e.DNE(2,yu,2,2,"ng-template",5),e.k0s()}2&i&&(e.Y8G("ngClass",e.l_i(8,Hp,!n.root,n.root))("tabindex",0),e.BMQ("data-pc-section","menu")("aria-label",n.ariaLabel)("aria-labelledBy",n.ariaLabelledBy)("id",n.menuId)("aria-activedescendant",n.focusedItemId),e.R7$(2),e.Y8G("ngForOf",n.items))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,L.Wk,L.wQ,E.n,j.m,Q,q,o],encapsulation:2})}return o})(),Bu=(()=>{class o{document;platformId;el;renderer;cd;config;menubarService;set model(t){this._model=t,this._processedItems=this.createProcessedItems(this._model||[])}get model(){return this._model}style;styleClass;autoZIndex=!0;baseZIndex=0;autoDisplay=!0;autoHide;autoHideDelay=100;id;ariaLabel;ariaLabelledBy;onFocus=new e.bkB;onBlur=new e.bkB;templates;menubutton;rootmenu;startTemplate;endTemplate;menuIconTemplate;submenuIconTemplate;itemTemplate;mobileActive;outsideClickListener;resizeListener;mouseLeaveSubscriber;dirty=!1;focused=!1;activeItemPath=(0,e.vPA)([]);number=(0,e.vPA)(0);focusedItemInfo=(0,e.vPA)({index:-1,level:0,parentKey:"",item:null});searchValue="";searchTimeout;_processedItems;_model;get visibleItems(){const t=this.activeItemPath().find(i=>i.key===this.focusedItemInfo().parentKey);return t?t.items:this.processedItems}get processedItems(){return(!this._processedItems||!this._processedItems.length)&&(this._processedItems=this.createProcessedItems(this.model||[])),this._processedItems}get focusedItemId(){const t=this.focusedItemInfo();return t.item&&t.item?.id?t.item.id:-1!==t.index?`${this.id}${h.BF.isNotEmpty(t.parentKey)?"_"+t.parentKey:""}_${t.index}`:null}constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.cd=l,this.config=r,this.menubarService=c,(0,e.QZP)(()=>{const p=this.activeItemPath();h.BF.isNotEmpty(p)?(this.bindOutsideClickListener(),this.bindResizeListener()):(this.unbindOutsideClickListener(),this.unbindResizeListener())})}ngOnInit(){this.menubarService.autoHide=this.autoHide,this.menubarService.autoHideDelay=this.autoHideDelay,this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>this.unbindOutsideClickListener()),this.id=this.id||(0,h._Y)()}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"start":this.startTemplate=t.template;break;case"end":this.endTemplate=t.template;break;case"menuicon":this.menuIconTemplate=t.template;break;case"submenuicon":this.submenuIconTemplate=t.template;break;default:this.itemTemplate=t.template}})}createProcessedItems(t,i=0,n={},s=""){const l=[];return t&&t.forEach((r,c)=>{const p=(""!==s?s+"_":"")+c,u={item:r,index:c,level:i,key:p,parent:n,parentKey:s};u.items=this.createProcessedItems(r.items,i+1,u,p),l.push(u)}),l}getItemProp(t,i){return t?h.BF.getItemValue(t[i]):void 0}menuButtonClick(t){this.toggle(t)}menuButtonKeydown(t){("Enter"===t.code||"Space"===t.code)&&this.menuButtonClick(t)}onItemClick(t){const{originalEvent:i,processedItem:n}=t,s=this.isProcessedItemGroup(n),l=h.BF.isEmpty(n.parent);if(this.isSelected(n)){const{index:c,key:p,level:u,parentKey:_,item:b}=n;this.activeItemPath.set(this.activeItemPath().filter(f=>p!==f.key&&p.startsWith(f.key))),this.focusedItemInfo.set({index:c,level:u,parentKey:_,item:b}),this.dirty=!l,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}else if(s)this.onItemChange(t);else{const c=l?n:this.activeItemPath().find(p=>""===p.parentKey);this.hide(i),this.changeFocusedItemIndex(i,c?c.index:-1),this.mobileActive=!1,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}}onItemMouseEnter(t){d.D.isTouchDevice()||this.mobileActive||this.onItemChange(t)}changeFocusedItemIndex(t,i){const n=this.findVisibleItem(i);if(this.focusedItemInfo().index!==i){const s=this.focusedItemInfo();this.focusedItemInfo.set({...s,item:n.item,index:i}),this.scrollInView()}}scrollInView(t=-1){const n=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedItemId}"]`);n&&n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"})}onItemChange(t){const{processedItem:i,isFocus:n}=t;if(h.BF.isEmpty(i))return;const{index:s,key:l,level:r,parentKey:c,items:p,item:u}=i,_=h.BF.isNotEmpty(p),b=this.activeItemPath().filter(f=>f.parentKey!==c&&f.parentKey!==l);_&&b.push(i),this.focusedItemInfo.set({index:s,level:r,parentKey:c,item:u}),this.activeItemPath.set(b),_&&(this.dirty=!0),n&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}toggle(t){this.mobileActive?(this.mobileActive=!1,h.Q$.clear(this.rootmenu.el.nativeElement),this.hide()):(this.mobileActive=!0,h.Q$.set("menu",this.rootmenu.el.nativeElement,this.config.zIndex.menu),setTimeout(()=>{this.show()},0)),this.cd.markForCheck(),this.bindOutsideClickListener(),t.preventDefault()}hide(t,i){this.mobileActive&&setTimeout(()=>{d.D.focus(this.menubutton.nativeElement)},0),this.activeItemPath.set([]),this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),i&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement),this.dirty=!1}show(){const t=this.findVisibleItem(this.findFirstFocusedItemIndex());this.focusedItemInfo.set({index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:t.item}),d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}onMenuFocus(t){this.focused=!0;const i=this.findVisibleItem(this.findFirstFocusedItemIndex()),n=-1!==this.focusedItemInfo().index?this.focusedItemInfo():{index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:i.item};this.focusedItemInfo.set(n),this.onFocus.emit(t)}onMenuBlur(t){this.focused=!1,this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),this.searchValue="",this.dirty=!1,this.onBlur.emit(t)}onKeyDown(t){const i=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"ArrowLeft":this.onArrowLeftKey(t);break;case"ArrowRight":this.onArrowRightKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Space":this.onSpaceKey(t);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!i&&h.BF.isPrintableCharacter(t.key)&&this.searchItems(t,t.key)}}findVisibleItem(t){return h.BF.isNotEmpty(this.visibleItems)?this.visibleItems[t]:null}findFirstFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findFirstItemIndex():t}findFirstItemIndex(){return this.visibleItems.findIndex(t=>this.isValidItem(t))}findSelectedItemIndex(){return this.visibleItems.findIndex(t=>this.isValidSelectedItem(t))}isProcessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}isSelected(t){return this.activeItemPath().some(i=>i.key===t.key)}isValidSelectedItem(t){return this.isValidItem(t)&&this.isSelected(t)}isValidItem(t){return!!t&&!this.isItemDisabled(t.item)&&!this.isItemSeparator(t.item)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemSeparator(t){return this.getItemProp(t,"separator")}isItemMatched(t){return this.isValidItem(t)&&this.getProccessedItemLabel(t).toLocaleLowerCase().startsWith(this.searchValue.toLocaleLowerCase())}isProccessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}searchItems(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedItemInfo().index?(n=this.visibleItems.slice(this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)),n=-1===n?this.visibleItems.slice(0,this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)):n+this.focusedItemInfo().index):n=this.visibleItems.findIndex(l=>this.isItemMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedItemInfo().index&&(n=this.findFirstFocusedItemIndex()),-1!==n&&this.changeFocusedItemIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}getProccessedItemLabel(t){return t?this.getItemLabel(t.item):void 0}getItemLabel(t){return this.getItemProp(t,"label")}onArrowDownKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&h.BF.isEmpty(i.parent))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowRightKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowRightKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&this.activeItemPath().find(s=>s.key===i.parentKey))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowDownKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowUpKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(h.BF.isEmpty(i.parent)){if(this.isProccessedItemGroup(i)){this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item});const l=this.findLastItemIndex();this.changeFocusedItemIndex(t,l)}}else{const s=this.activeItemPath().find(l=>l.key===i.parentKey);if(0===this.focusedItemInfo().index){this.focusedItemInfo.set({index:-1,parentKey:s?s.parentKey:"",item:i.item}),this.searchValue="",this.onArrowLeftKey(t);const l=this.activeItemPath().filter(r=>r.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(l)}else{const l=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,l)}}t.preventDefault()}onArrowLeftKey(t){const i=this.visibleItems[this.focusedItemInfo().index],n=i?this.activeItemPath().find(s=>s.key===i.parentKey):null;if(n){this.onItemChange({originalEvent:t,processedItem:n});const s=this.activeItemPath().filter(l=>l.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(s),t.preventDefault()}else{const s=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onHomeKey(t){this.changeFocusedItemIndex(t,this.findFirstItemIndex()),t.preventDefault()}onEndKey(t){this.changeFocusedItemIndex(t,this.findLastItemIndex()),t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}onEscapeKey(t){this.hide(t,!0),this.focusedItemInfo().index=this.findFirstFocusedItemIndex(),t.preventDefault()}onTabKey(t){if(-1!==this.focusedItemInfo().index){const i=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(i)&&this.onItemChange({originalEvent:t,processedItem:i})}this.hide()}onEnterKey(t){if(-1!==this.focusedItemInfo().index){const i=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${this.focusedItemId}"]`),n=i&&d.D.findSingle(i,'a[data-pc-section="action"]');n?n.click():i&&i.click();const s=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(s)&&(this.focusedItemInfo().index=this.findFirstFocusedItemIndex())}t.preventDefault()}findLastFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findLastItemIndex():t}findLastItemIndex(){return h.BF.findLastIndex(this.visibleItems,t=>this.isValidItem(t))}findPrevItemIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleItems.slice(0,t),n=>this.isValidItem(n)):-1;return i>-1?i:t}findNextItemIndex(t){const i=tthis.isValidItem(n)):-1;return i>-1?i+t+1:t}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.resizeListener||(this.resizeListener=this.renderer.listen(this.document.defaultView,"resize",t=>{d.D.isTouchDevice()||this.hide(t,!0),this.mobileActive=!1})))}bindOutsideClickListener(){(0,m.UE)(this.platformId)&&(this.outsideClickListener||(this.outsideClickListener=this.renderer.listen(this.document,"click",t=>{const i=this.rootmenu.el.nativeElement!==t.target&&!this.rootmenu.el.nativeElement.contains(t.target),n=this.mobileActive&&this.menubutton.nativeElement!==t.target&&!this.menubutton.nativeElement.contains(t.target);i&&(n?this.mobileActive=!1:this.hide())})))}unbindOutsideClickListener(){this.outsideClickListener&&(this.outsideClickListener(),this.outsideClickListener=null)}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe(),this.unbindOutsideClickListener(),this.unbindResizeListener()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(g.r1),e.rXU(he))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Cu,5),e.GBs(wu,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.menubutton=s.first),e.mGM(s=e.lsd())&&(n.rootmenu=s.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",style:"style",styleClass:"styleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",autoHide:"autoHide",autoHideDelay:"autoHideDelay",id:"id",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onFocus:"onFocus",onBlur:"onBlur"},features:[e.Jv_([he])],ngContentSelectors:Iu,decls:8,vars:24,consts:[["rootmenu",""],["legacy",""],["menubutton",""],[3,"ngClass","ngStyle"],["class","p-menubar-start",4,"ngIf"],["tabindex","0","role","button","class","p-menubar-button",3,"click","keydown",4,"ngIf"],[3,"itemClick","menuFocus","menuBlur","menuKeydown","itemMouseEnter","items","itemTemplate","menuId","root","baseZIndex","autoZIndex","mobileActive","autoDisplay","ariaLabel","ariaLabelledBy","focusedItemId","activeItemPath"],["class","p-menubar-end",4,"ngIf","ngIfElse"],[1,"p-menubar-start"],[4,"ngTemplateOutlet"],["tabindex","0","role","button",1,"p-menubar-button",3,"click","keydown"],[4,"ngIf"],[1,"p-menubar-end"]],template:function(i,n){if(1&i){const s=e.RV6();e.NAR(),e.j41(0,"div",3),e.DNE(1,ku,2,1,"div",4)(2,Ru,4,7,"a",5),e.j41(3,"p-menubarSub",6,0),e.bIt("itemClick",function(r){return e.eBV(s),e.Njj(n.onItemClick(r))})("menuFocus",function(r){return e.eBV(s),e.Njj(n.onMenuFocus(r))})("menuBlur",function(r){return e.eBV(s),e.Njj(n.onMenuBlur(r))})("menuKeydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("itemMouseEnter",function(r){return e.eBV(s),e.Njj(n.onItemMouseEnter(r))}),e.k0s(),e.DNE(5,Fu,2,1,"div",7)(6,Gu,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&i){const s=e.sdS(7);e.HbH(n.styleClass),e.Y8G("ngClass",e.eq3(22,xu,n.mobileActive))("ngStyle",n.style),e.BMQ("data-pc-section","root")("data-pc-name","menubar"),e.R7$(),e.Y8G("ngIf",n.startTemplate),e.R7$(),e.Y8G("ngIf",n.model&&n.model.length>0),e.R7$(),e.Y8G("items",n.processedItems)("itemTemplate",n.itemTemplate)("menuId",n.id)("root",!0)("baseZIndex",n.baseZIndex)("autoZIndex",n.autoZIndex)("mobileActive",n.mobileActive)("autoDisplay",n.autoDisplay)("ariaLabel",n.ariaLabel)("ariaLabelledBy",n.ariaLabelledBy)("focusedItemId",n.focused?n.focusedItemId:void 0)("activeItemPath",n.activeItemPath()),e.R7$(2),e.Y8G("ngIf",n.endTemplate)("ngIfElse",s)}},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,it,Vu],styles:["@layer primeng{.p-menubar{display:flex;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:2}.p-menubar .p-submenu-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-menubar .p-menubar-root-list .p-icon-wrapper,.p-menubar .p-submenu-list .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;align-self:center}.p-menubar-button{display:none;cursor:pointer;align-items:center;justify-content:center}}\n"],encapsulation:2,changeDetection:0})}return o})(),Ou=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,L.iI,E.Z,j.S,g.Gg,it,Q,q,L.iI,j.S,g.Gg]})}return o})();var Lu=I(894);const Nu=(o,a)=>({"ml-auto":o,"ml-2":a}),ju=o=>["pi",o];function Pu(o,a){}function zu(o,a){if(1&o&&e.nrm(0,"p-badge",10),2&o){const t=e.XpG(),i=t.$implicit,n=t.root;e.Y8G("ngClass",e.l_i(2,Nu,!n,n))("value",i.badge)}}function Hu(o,a){if(1&o&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.shortcut)}}function Yu(o,a){if(1&o&&e.nrm(0,"i",12),2&o){const t=e.XpG().root;e.Y8G("ngClass",e.eq3(1,ju,t?"pi-angle-down ml-2":"pi-angle-right ml-auto"))}}function $u(o,a){if(1&o&&(e.j41(0,"a",5),e.nrm(1,"span"),e.j41(2,"span",6),e.EFF(3),e.k0s(),e.DNE(4,zu,1,5,"p-badge",7)(5,Hu,2,1,"span",8)(6,Yu,1,3,"i",9),e.k0s()),2&o){const t=a.$implicit;e.Y8G("routerLink",t.href),e.R7$(),e.HbH(t.icon),e.R7$(2),e.JRh(t.label),e.R7$(),e.Y8G("ngIf",t.badge),e.R7$(),e.Y8G("ngIf",t.shortcut),e.R7$(),e.Y8G("ngIf",t.items)}}function Au(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",13),e.EFF(1),e.k0s(),e.j41(2,"div",14)(3,"p-inputGroup"),e.nrm(4,"input",15,0),e.j41(6,"p-button",16),e.bIt("click",function(){e.eBV(t);const n=e.sdS(5),s=e.XpG();return e.Njj(s.applyFilter(n.value))}),e.nrm(7,"span",17),e.k0s()()()}if(2&o){const t=e.XpG();e.R7$(),e.SpI("Total: ",t.statisSource.total," ")}}let Xu=(()=>{class o{constructor(t,i){this.statusSource=t,this.tableService=i}ngOnInit(){this.statusSource.statusSource$.subscribe(t=>{this.statisSource=t}),this.items=[{label:"Full",icon:"pi pi-table",routerLink:["/"]},{label:"Cluster Pasture",icon:"pi pi-table",routerLink:["/pasture"]},{label:"Cluster Medicine",icon:"pi pi-table",routerLink:["/medicine"]}]}applyFilter(t){this.tableService.applyFilter(t)}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(Lu.d),e.rXU(A.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-head"]],standalone:!0,features:[e.aNF],decls:4,vars:1,consts:[["search",""],[3,"model"],["pTemplate","start"],["pTemplate","item"],["pTemplate","end"],["pRipple","",1,"flex","align-items-center","p-menuitem-link",3,"routerLink"],[1,"ml-2"],[3,"ngClass","value",4,"ngIf"],["class","ml-auto border-1 surface-border border-round surface-100 text-xs p-1",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","value"],[1,"ml-auto","border-1","surface-border","border-round","surface-100","text-xs","p-1"],[3,"ngClass"],["p-menuitem-text","",1,"flex","align-items-center","p-menuitem-link"],[1,"flex","align-items-center","gap-2"],["type","text","pInputText","","placeholder","Search",1,"w-8rem","sm:w-auto"],[3,"click"],[1,"pi","pi-search"]],template:function(i,n){1&i&&(e.j41(0,"p-menubar",1),e.DNE(1,Pu,0,0,"ng-template",2)(2,$u,7,7,"ng-template",3)(3,Au,8,1,"ng-template",4),e.k0s()),2&i&&e.Y8G("model",n.items)},dependencies:[xp,Ip,g.Ei,tt.EJ,tt.Ex,Ou,Bu,L.Wk,H.u,H.S,m.YU,E.Z,E.n,m.bT,M.tm,M.$n]})}return o})(),Ku=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[m.MD,gp,ue,Cp,Xu]})}return o})()}}]); \ No newline at end of file diff --git a/726.5cc06c9e00a442b0.js b/726.5cc06c9e00a442b0.js new file mode 100644 index 0000000..a564648 --- /dev/null +++ b/726.5cc06c9e00a442b0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[726],{2726:(k,c,r)=>{r.r(c),r.d(c,{LandingModule:()=>b});var h=r(177),d=r(7488),e=r(4438),u=r(7693),n=r(1455);let g=(()=>{class s{el;renderer;zone;constructor(t,i,a){this.el=t,this.renderer=i,this.zone=a}selector;set enterClass(t){this._enterClass=t,console.warn("enterClass is deprecated, use enterFromClass instead")}get enterClass(){return this._enterClass}enterFromClass;enterActiveClass;enterToClass;set leaveClass(t){this._leaveClass=t,console.warn("leaveClass is deprecated, use leaveFromClass instead")}get leaveClass(){return this._leaveClass}leaveFromClass;leaveActiveClass;leaveToClass;hideOnOutsideClick;toggleClass;hideOnEscape;eventListener;documentClickListener;documentKeydownListener;target;enterListener;leaveListener;animating;_enterClass;_leaveClass;clickListener(){this.target=this.resolveTarget(),this.toggleClass?this.toggle():null===this.target.offsetParent?this.enter():this.leave()}toggle(){n.D.hasClass(this.target,this.toggleClass)?n.D.removeClass(this.target,this.toggleClass):n.D.addClass(this.target,this.toggleClass)}enter(){this.enterActiveClass?this.animating||(this.animating=!0,"slidedown"===this.enterActiveClass&&(this.target.style.height="0px",n.D.removeClass(this.target,"hidden"),this.target.style.maxHeight=this.target.scrollHeight+"px",n.D.addClass(this.target,"hidden"),this.target.style.height=""),n.D.addClass(this.target,this.enterActiveClass),(this.enterClass||this.enterFromClass)&&n.D.removeClass(this.target,this.enterClass||this.enterFromClass),this.enterListener=this.renderer.listen(this.target,"animationend",()=>{n.D.removeClass(this.target,this.enterActiveClass),this.enterToClass&&n.D.addClass(this.target,this.enterToClass),this.enterListener&&this.enterListener(),"slidedown"===this.enterActiveClass&&(this.target.style.maxHeight=""),this.animating=!1})):((this.enterClass||this.enterFromClass)&&n.D.removeClass(this.target,this.enterClass||this.enterFromClass),this.enterToClass&&n.D.addClass(this.target,this.enterToClass)),this.hideOnOutsideClick&&this.bindDocumentClickListener(),this.hideOnEscape&&this.bindDocumentKeydownListener()}leave(){this.leaveActiveClass?this.animating||(this.animating=!0,n.D.addClass(this.target,this.leaveActiveClass),(this.leaveClass||this.leaveFromClass)&&n.D.removeClass(this.target,this.leaveClass||this.leaveFromClass),this.leaveListener=this.renderer.listen(this.target,"animationend",()=>{n.D.removeClass(this.target,this.leaveActiveClass),this.leaveToClass&&n.D.addClass(this.target,this.leaveToClass),this.leaveListener&&this.leaveListener(),this.animating=!1})):((this.leaveClass||this.leaveFromClass)&&n.D.removeClass(this.target,this.leaveClass||this.leaveFromClass),this.leaveToClass&&n.D.addClass(this.target,this.leaveToClass)),this.hideOnOutsideClick&&this.unbindDocumentClickListener(),this.hideOnEscape&&this.unbindDocumentKeydownListener()}resolveTarget(){if(this.target)return this.target;switch(this.selector){case"@next":return this.el.nativeElement.nextElementSibling;case"@prev":return this.el.nativeElement.previousElementSibling;case"@parent":return this.el.nativeElement.parentElement;case"@grandparent":return this.el.nativeElement.parentElement.parentElement;default:return document.querySelector(this.selector)}}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el.nativeElement.ownerDocument,"click",t=>{this.isVisible()&&"static"!==getComputedStyle(this.target).getPropertyValue("position")?this.isOutsideClick(t)&&this.leave():this.unbindDocumentClickListener()}))}bindDocumentKeydownListener(){this.documentKeydownListener||this.zone.runOutsideAngular(()=>{this.documentKeydownListener=this.renderer.listen(this.el.nativeElement.ownerDocument,"keydown",t=>{const{key:i,keyCode:a,which:l}=t;(!this.isVisible()||"static"===getComputedStyle(this.target).getPropertyValue("position"))&&this.unbindDocumentKeydownListener(),this.isVisible()&&"Escape"===i&&27===a&&27===l&&this.leave()})})}isVisible(){return null!==this.target.offsetParent}isOutsideClick(t){return!this.el.nativeElement.isSameNode(t.target)&&!this.el.nativeElement.contains(t.target)&&!this.target.contains(t.target)}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}unbindDocumentKeydownListener(){this.documentKeydownListener&&(this.documentKeydownListener(),this.documentKeydownListener=null)}ngOnDestroy(){this.target=null,this.eventListener&&this.eventListener(),this.unbindDocumentClickListener(),this.unbindDocumentKeydownListener()}static \u0275fac=function(i){return new(i||s)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.SKi))};static \u0275dir=e.FsC({type:s,selectors:[["","pStyleClass",""]],hostAttrs:[1,"p-element"],hostBindings:function(i,a){1&i&&e.bIt("click",function(o){return a.clickListener(o)})},inputs:{selector:[e.Mj6.None,"pStyleClass","selector"],enterClass:"enterClass",enterFromClass:"enterFromClass",enterActiveClass:"enterActiveClass",enterToClass:"enterToClass",leaveClass:"leaveClass",leaveFromClass:"leaveFromClass",leaveActiveClass:"leaveActiveClass",leaveToClass:"leaveToClass",hideOnOutsideClick:"hideOnOutsideClick",toggleClass:"toggleClass",hideOnEscape:"hideOnEscape"}})}return s})(),p=(()=>{class s{static \u0275fac=function(i){return new(i||s)};static \u0275mod=e.$C({type:s});static \u0275inj=e.G2t({imports:[h.MD]})}return s})();var m=r(563);let v=(()=>{class s{constructor(t,i){this.el=t,this.renderer=i,this.documentScrollListener=null,this.loadListener=()=>{},this.entered=!1,this.visibilityHidden=!0}ngOnInit(){this.isImage()&&(this.loadListener=this.renderer.listen(this.el.nativeElement,"load",()=>{this.bind()}))}ngAfterViewInit(){this.isImage()||this.bind()}bind(){this.isInViewPort()&&this.enter(),this.entered||(this.documentScrollListener=this.renderer.listen("window","scroll",()=>{this.isInViewPort()&&this.documentScrollListener&&(this.enter(),this.documentScrollListener(),this.documentScrollListener=null)}))}shouldEnter(){return!this.entered&&this.isInViewPort()}isInViewPort(){let t=this.el.nativeElement.parentElement.parentElement.parentElement.getBoundingClientRect(),a=document.documentElement.clientHeight;return!(t.top>0)||t.top>=0&&a>=t.top}enter(){this.el.nativeElement.classList.add("hidden",this.animation),this.el.nativeElement.classList.remove("visibility-hidden","hidden"),this.entered=!0}isImage(){return"IMG"===this.el.nativeElement.tagName}ngOnDestroy(){this.documentScrollListener&&this.documentScrollListener(),this.loadListener&&this.loadListener()}static#e=this.\u0275fac=function(i){return new(i||s)(e.rXU(e.aKT),e.rXU(e.sFG))};static#t=this.\u0275dir=e.FsC({type:s,selectors:[["","animateEnter",""]],hostVars:2,hostBindings:function(i,a){2&i&&e.AVh("visibility-hidden",a.visibilityHidden)},inputs:{animation:[e.Mj6.None,"animateEnter","animation"]}})}return s})(),f=(()=>{class s{constructor(t,i){this.router=t,this.layoutService=i,this.darkMode=!1,this.subscription=this.layoutService.configUpdate$.subscribe(a=>{this.darkMode="dark"===a.colorScheme||"dim"===a.colorScheme})}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||s)(e.rXU(d.Ix),e.rXU(u.Y))};static#t=this.\u0275cmp=e.VBU({type:s,selectors:[["ng-component"]],decls:86,vars:1,consts:[["menu",""],[1,"relative","overflow-hidden","flex","flex-column","justify-content-center"],[1,"bg-circle","opacity-50",2,"top","-200px","left","-700px"],[1,"bg-circle","hidden","lg:flex",2,"top","50px","right","-800px","transform","rotate(60deg)"],[1,"landing-wrapper"],[1,"flex","align-items-center","justify-content-between","relative","lg:static","py-6","px-4","mx-0","md:px-7","lg:px-8","lg:py-6","lg:mx-8"],[1,"cursor-pointer",3,"click"],["src","assets/layout/images/logo.png","alt","Logo",1,"logo-landing"],["pRipple","","pStyleClass","@next","enterFromClass","ng-hidden","enterActiveClass","px-fadein","leaveToClass","ng-hidden","leaveActiveClass","px-fadeout",1,"cursor-pointer","block","md:hidden","text-700","text-primary",3,"hideOnOutsideClick"],[1,"pi","pi-bars","text-4xl"],[1,"list-none","p-3","md:p-0","justify-content-end","ng-hidden","md:flex","absolute","md:static","w-full","md:w-6","md:px-0","z-3","shadow-2","md:shadow-none","surface-card","md:surface-ground",2,"top","80px","right","0%"],["pRipple","","pStyleClass","@parent","enterFromClass","ng-hidden","enterActiveClass","px-fadein","leaveToClass","ng-hidden","leaveActiveClass","px-fadeout",1,"cursor-pointer","block","md:hidden","text-700","text-primary","absolute","z-5",2,"top","1.5rem","right","1.5rem"],[1,"pi","pi-times","text-3xl"],[1,"md:mt-0"],["pRipple","","pStyleClass","@grandparent","enterFromClass","ng-hidden","enterActiveClass","px-fadein","leaveToClass","ng-hidden",1,"flex","m-0","md:ml-5","px-0","py-3","text-900","font-medium","line-height-3","cursor-pointer",3,"click"],["pRipple","","pStyleClass","@grandparent","enterFromClass","ng-hidden","enterActiveClass","px-fadein","leaveToClass","ng-hidden",1,"flex","m-0","md:ml-5","px-0","py-3","text-900","font-medium","line-height-3","cursor-pointer"],[1,"py-4","px-4","mx-0","md:mx-6","lg:mx-8","lg:px-8","z-2"],["id","home",1,"grid","grid-nogutter","justify-content-between","align-items-center","mb-6","py-6","md:mb-8","md:py-8"],[1,"col-12","md:col-4","flex","flex-column","gap-4","flex-order-1","md:flex-order-0","align-items-center","md:align-items-start","text-center","md:text-left"],[1,"block","text-900","font-bold","text-4xl"],[1,"block","text-700","text-lg"],[1,"flex","flex-wrap","gap-5","list-none","p-0"],[1,"flex","align-items-center"],[1,"p-1","border-circle","bg-green-400","inline-block","mr-2"],[1,"text-900","font-semibold"],[1,"col-12","md:col-7","flex-order-0","md:flex-order-1","mb-6","md:mb-0","border-round"],["animateEnter","moveinright","src","assets/layout/images/banner.webp","alt","",1,"w-10","border-round","shadow-2","animation-duration-1000","animation-ease-out"],["id","modules",1,"my-6","md:my-8"],[1,"text-900","block","font-bold","text-5xl","mb-4","text-center"],[1,"text-700","block","text-xl","mb-8","text-center","line-height-3"],[1,"flex","flex-column","lg:flex-row","align-items-center","justify-content-between","mt-8","gap-8"],[1,"flex","flex-column","align-items-center"],["animateEnter","scalein","src","assets/layout/images/database.webp","alt","chat",1,"w-10","border-round","surface-border","shadow-2","animation-duration-500","origin-top"],[1,"block","text-900","text-lg","font-semibold","mt-4","text-center"],["animateEnter","scalein","src","assets/layout/images/cluster.webp","alt","chat",1,"w-10","border-round","surface-border","shadow-2","animation-duration-500","origin-top"],["animateEnter","scalein","src","assets/layout/images/results.webp","alt","chat",1,"w-10","border-round","surface-border","shadow-2","animation-duration-500","origin-top"],["id","data-source",1,"my-12","py-12","md:my-6","md:py-6","w-full"],[1,"text-900","font-bold","text-5xl","mb-4","text-center"],[1,""],[1,"text-600","text-xl","text-justify","mb-2","line-height-3"],["href","https://openalex.org/","target","_blank"],[1,"text-600","text-xl","text-justify","mb-8","line-height-3"],[1,"flex","flex-column","justify-content-center","w-full","align-items-center"],["href","#",1,"cursor-pointer"],[1,"text-600","text-xl","text-justify","line-height-3"]],template:function(i,a){if(1&i){const l=e.RV6();e.j41(0,"div",1),e.nrm(1,"div",2)(2,"div",3),e.j41(3,"div",4)(4,"div",5)(5,"a",6),e.bIt("click",function(){return e.eBV(l),e.Njj(a.router.navigate(["/"]))}),e.nrm(6,"img",7),e.k0s(),e.j41(7,"a",8),e.nrm(8,"i",9),e.k0s(),e.j41(9,"ul",10,0)(11,"a",11),e.nrm(12,"i",12),e.k0s(),e.j41(13,"li",13)(14,"a",14),e.bIt("click",function(){return e.eBV(l),e.Njj(a.router.navigate(["/"],{fragment:"home"}))}),e.j41(15,"span"),e.EFF(16,"Home"),e.k0s()()(),e.j41(17,"li")(18,"a",14),e.bIt("click",function(){return e.eBV(l),e.Njj(a.router.navigate(["/literature"]))}),e.j41(19,"span"),e.EFF(20,"Database"),e.k0s()()(),e.j41(21,"li")(22,"a",14),e.bIt("click",function(){return e.eBV(l),e.Njj(a.router.navigate(["/literature/cluster/pasture"]))}),e.j41(23,"span"),e.EFF(24,"Clusters"),e.k0s()()(),e.j41(25,"li")(26,"a",15)(27,"span"),e.EFF(28,"Analysis (coming)"),e.k0s()()()()(),e.j41(29,"div",16)(30,"div",17)(31,"div",18)(32,"span",19),e.EFF(33,"Understanding the world\u2019s knowledge production on Grassland"),e.k0s(),e.j41(34,"span",20),e.EFF(35,"This project showcases the results of a comprehensive scientometric analysis of global scientific publications focused on grasslands. The analysis aimed to:"),e.k0s(),e.j41(36,"ul",21)(37,"li",22),e.nrm(38,"div",23),e.j41(39,"span",24),e.EFF(40,"Identify key research groups and institutions specializing in various themes related to grasslands"),e.k0s()(),e.j41(41,"li",22),e.nrm(42,"div",23),e.j41(43,"span",24),e.EFF(44,"Highlight potential data gaps in the existing research"),e.k0s()()()(),e.j41(45,"div",25),e.nrm(46,"img",26),e.k0s()(),e.j41(47,"div",27)(48,"span",28),e.EFF(49,"Explore Further"),e.k0s(),e.j41(50,"span",29),e.EFF(51,"This website offers several ways to explore the analysis results."),e.k0s(),e.j41(52,"div",30)(53,"div",31),e.nrm(54,"img",32),e.j41(55,"span",33),e.EFF(56,"Database Access: View the complete dataset of analyzed publications."),e.k0s()(),e.j41(57,"div",31),e.nrm(58,"img",34),e.j41(59,"span",33),e.EFF(60,"Publication Clusters: Investigate the identified clusters of related publications."),e.k0s()(),e.j41(61,"div",31),e.nrm(62,"img",35),e.j41(63,"span",33),e.EFF(64,"Results & Analysis: See graphs, charts, and statistical analyses summarizing the findings."),e.k0s()()()(),e.j41(65,"div",36)(66,"div",37),e.EFF(67,"Data Source"),e.k0s(),e.j41(68,"div",38)(69,"div",39),e.EFF(70,"The literature used for this analysis was obtained from the "),e.j41(71,"a",40),e.EFF(72,"OpenAlex database"),e.k0s(),e.EFF(73,", a comprehensive open-access repository of scientific publications."),e.k0s(),e.j41(74,"div",41),e.EFF(75,"Priem, J., Piwowar, H., & Orr, R. (2022). OpenAlex: A fully-open index of scholarly works, authors, venues, institutions, and concepts. ArXiv. https://arxiv.org/abs/2205.01833"),e.k0s()()(),e.j41(76,"div",42)(77,"a",43),e.nrm(78,"img",7),e.k0s(),e.j41(79,"div",44),e.EFF(80,"UFG \u2013 Federal University of Goi\xe1s"),e.k0s(),e.j41(81,"div",44),e.EFF(82,"Lapig \u2013 Remote Sensing and GIS Lab"),e.k0s(),e.j41(83,"div",44)(84,"strong"),e.EFF(85,"Pasture Research Program"),e.k0s()()()()()()}2&i&&(e.R7$(7),e.Y8G("hideOnOutsideClick",!0))},dependencies:[g,m.n,v],styles:[".bg-circle[_ngcontent-%COMP%]{width:1000px;height:1000px;border-radius:50%;background-image:linear-gradient(140deg,var(--primary-color),var(--surface-ground) 80%);position:absolute;opacity:.25;z-index:-1}.visibility-hidden[_ngcontent-%COMP%]{visibility:hidden}.moveinright[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_moveinright .15s linear}@keyframes _ngcontent-%COMP%_moveinright{0%{opacity:0;transform:translate(50px);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translate(0)}}.logo-landing[_ngcontent-%COMP%]{width:80px;height:80px}"]})}return s})(),C=(()=>{class s{static#e=this.\u0275fac=function(i){return new(i||s)};static#t=this.\u0275mod=e.$C({type:s});static#s=this.\u0275inj=e.G2t({imports:[d.iI.forChild([{path:"",component:f}]),d.iI]})}return s})();var y=r(1141),x=r(6497);let b=(()=>{class s{static#e=this.\u0275fac=function(i){return new(i||s)};static#t=this.\u0275mod=e.$C({type:s});static#s=this.\u0275inj=e.G2t({imports:[h.MD,C,y.tm,d.iI,p,x.G,m.Z]})}return s})()}}]); \ No newline at end of file diff --git a/811.5320d0f98b60de9d.js b/811.5320d0f98b60de9d.js deleted file mode 100644 index 5d5d39b..0000000 --- a/811.5320d0f98b60de9d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[811],{6811:(h,r,o)=>{o.r(r),o.d(r,{NotfoundModule:()=>d});var l=o(177),i=o(2365),t=o(4438),c=o(1141);const a=()=>["/"];let u=(()=>{class n{static#t=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=t.VBU({type:n,selectors:[["ng-component"]],decls:11,vars:2,consts:[["viewBox","0 0 960 540","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","version","1.1","preserveAspectRatio","none",1,"min-h-screen","min-w-screen","fixed","left-0",2,"bottom","-10rem"],["x","0","y","0","width","960","height","540","fill","var(--surface-ground)"],["d","M0 331L26.7 321C53.3 311 106.7 291 160 291C213.3 291 266.7 311 320 329.5C373.3 348 426.7 365 480 373.2C533.3 381.3 586.7 380.7 640 373.8C693.3 367 746.7 354 800 341.2C853.3 328.3 906.7 315.7 933.3 309.3L960 303L960 541L933.3 541C906.7 541 853.3 541 800 541C746.7 541 693.3 541 640 541C586.7 541 533.3 541 480 541C426.7 541 373.3 541 320 541C266.7 541 213.3 541 160 541C106.7 541 53.3 541 26.7 541L0 541Z","fill","var(--orange-500)","stroke-linecap","round","stroke-linejoin","miter"],[1,"px-5","min-h-screen","flex","justify-content-center","align-items-center"],[1,"z-1","text-center"],[1,"text-900","font-bold","text-8xl","mb-4"],[1,"line-height-3","mt-0","mb-5","text-700","text-xl","font-medium"],["styleClass","p-button-warning font-medium p-button-raised",3,"routerLink"]],template:function(e,p){1&e&&(t.qSk(),t.j41(0,"svg",0),t.nrm(1,"rect",1)(2,"path",2),t.k0s(),t.joV(),t.j41(3,"div",3)(4,"div",4)(5,"div",5),t.EFF(6,"Oops!"),t.k0s(),t.j41(7,"p",6),t.EFF(8,"There is nothing here"),t.k0s(),t.j41(9,"p-button",7),t.EFF(10,"Go to Dashboard"),t.k0s()()()),2&e&&(t.R7$(9),t.Y8G("routerLink",t.lJ4(1,a)))},dependencies:[i.Wk,c.$n],encapsulation:2})}return n})(),m=(()=>{class n{static#t=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275mod=t.$C({type:n});static#e=this.\u0275inj=t.G2t({imports:[i.iI.forChild([{path:"",component:u}]),i.iI]})}return n})(),d=(()=>{class n{static#t=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275mod=t.$C({type:n});static#e=this.\u0275inj=t.G2t({imports:[l.MD,m,c.tm]})}return n})()}}]); \ No newline at end of file diff --git a/811.a412848c3bf809f6.js b/811.a412848c3bf809f6.js new file mode 100644 index 0000000..e663034 --- /dev/null +++ b/811.a412848c3bf809f6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[811],{6811:(h,r,o)=>{o.r(r),o.d(r,{NotfoundModule:()=>d});var l=o(177),s=o(7488),t=o(4438),c=o(1141);const u=()=>["/"];let a=(()=>{class e{static#t=this.\u0275fac=function(n){return new(n||e)};static#e=this.\u0275cmp=t.VBU({type:e,selectors:[["ng-component"]],decls:11,vars:2,consts:[["viewBox","0 0 960 540","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","version","1.1","preserveAspectRatio","none",1,"min-h-screen","min-w-screen","fixed","left-0",2,"bottom","-10rem"],["x","0","y","0","width","960","height","540","fill","var(--surface-ground)"],["d","M0 331L26.7 321C53.3 311 106.7 291 160 291C213.3 291 266.7 311 320 329.5C373.3 348 426.7 365 480 373.2C533.3 381.3 586.7 380.7 640 373.8C693.3 367 746.7 354 800 341.2C853.3 328.3 906.7 315.7 933.3 309.3L960 303L960 541L933.3 541C906.7 541 853.3 541 800 541C746.7 541 693.3 541 640 541C586.7 541 533.3 541 480 541C426.7 541 373.3 541 320 541C266.7 541 213.3 541 160 541C106.7 541 53.3 541 26.7 541L0 541Z","fill","var(--green-300)","stroke-linecap","round","stroke-linejoin","miter"],[1,"px-5","min-h-screen","flex","justify-content-center","align-items-center"],[1,"z-1","text-center"],[1,"text-900","font-bold","text-8xl","mb-4"],[1,"line-height-3","mt-0","mb-5","text-700","text-xl","font-medium"],["styleClass","p-button-success font-medium p-button-raised",3,"routerLink"]],template:function(n,p){1&n&&(t.qSk(),t.j41(0,"svg",0),t.nrm(1,"rect",1)(2,"path",2),t.k0s(),t.joV(),t.j41(3,"div",3)(4,"div",4)(5,"div",5),t.EFF(6,"Oops!"),t.k0s(),t.j41(7,"p",6),t.EFF(8,"There is nothing here"),t.k0s(),t.j41(9,"p-button",7),t.EFF(10,"Go to Dashboard"),t.k0s()()()),2&n&&(t.R7$(9),t.Y8G("routerLink",t.lJ4(1,u)))},dependencies:[s.Wk,c.$n],encapsulation:2})}return e})(),m=(()=>{class e{static#t=this.\u0275fac=function(n){return new(n||e)};static#e=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[s.iI.forChild([{path:"",component:a}]),s.iI]})}return e})(),d=(()=>{class e{static#t=this.\u0275fac=function(n){return new(n||e)};static#e=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[l.MD,m,c.tm]})}return e})()}}]); \ No newline at end of file diff --git a/assets/demo/styles/badges.css b/assets/demo/styles/badges.css new file mode 100644 index 0000000..0486b2b --- /dev/null +++ b/assets/demo/styles/badges.css @@ -0,0 +1,93 @@ +.product-badge { + border-radius: var(--border-radius); + padding: 0.25em 0.5rem; + text-transform: uppercase; + font-weight: 700; + font-size: 12px; + letter-spacing: 0.3px; +} +.product-badge.status-instock { + background: var(--green-200); + color: var(--green-800); +} +.product-badge.status-outofstock { + background: var(--pink-200); + color: var(--pink-800); +} +.product-badge.status-lowstock { + background: var(--yellow-200); + color: var(--yellow-800); +} + +.product-badge-text { + font-weight: 700; + font-size: 12px; + letter-spacing: 0.3px; +} +.product-badge-text.status-instock { + color: var(--green-500); +} +.product-badge-text.status-outofstock { + color: var(--pink-500); +} +.product-badge-text.status-lowstock { + color: var(--yellow-500); +} + +.customer-badge { + border-radius: var(--border-radius); + padding: 0.25em 0.5rem; + text-transform: uppercase; + font-weight: 700; + font-size: 12px; + letter-spacing: 0.3px; +} +.customer-badge.status-qualified { + background: var(--green-200); + color: var(--green-800); +} +.customer-badge.status-unqualified { + background: var(--pink-200); + color: var(--pink-800); +} +.customer-badge.status-negotiation { + background: var(--yellow-200); + color: var(--yellow-800); +} +.customer-badge.status-new { + background: var(--blue-200); + color: var(--blue-800); +} +.customer-badge.status-renewal { + background: var(--purple-200); + color: var(--purple-800); +} +.customer-badge.status-proposal { + background: var(--orange-200); + color: var(--orange-800); +} + +.order-badge { + border-radius: var(--border-radius); + padding: 0.25em 0.5rem; + text-transform: uppercase; + font-weight: 700; + font-size: 12px; + letter-spacing: 0.3px; +} +.order-badge.order-delivered { + background: #C8E6C9; + color: #256029; +} +.order-badge.order-cancelled { + background: #FFCDD2; + color: #C63737; +} +.order-badge.order-pending { + background: #FEEDAF; + color: #8A5340; +} +.order-badge.order-returned { + background: #ECCFFF; + color: #694382; +} diff --git a/assets/demo/styles/code.css b/assets/demo/styles/code.css new file mode 100644 index 0000000..93161a2 --- /dev/null +++ b/assets/demo/styles/code.css @@ -0,0 +1,14 @@ +pre.app-code { + background-color: var(--surface-ground); + margin: 0 0 1rem 0; + padding: 0; + border-radius: var(--border-radius); + overflow: auto; +} +pre.app-code code { + color: var(--surface-900); + padding: 1rem; + line-height: 1.5; + display: block; + font-family: monaco, Consolas, monospace; +} diff --git a/assets/layout/images/banner.webp b/assets/layout/images/banner.webp new file mode 100644 index 0000000..f5e9c4f Binary files /dev/null and b/assets/layout/images/banner.webp differ diff --git a/assets/layout/images/cluster.webp b/assets/layout/images/cluster.webp new file mode 100644 index 0000000..f3a008f Binary files /dev/null and b/assets/layout/images/cluster.webp differ diff --git a/assets/layout/images/database.webp b/assets/layout/images/database.webp new file mode 100644 index 0000000..9497489 Binary files /dev/null and b/assets/layout/images/database.webp differ diff --git a/assets/layout/images/logo.png b/assets/layout/images/logo.png index 53d1a71..c739a71 100644 Binary files a/assets/layout/images/logo.png and b/assets/layout/images/logo.png differ diff --git a/assets/layout/images/logo2.png b/assets/layout/images/logo2.png deleted file mode 100644 index 48a4a58..0000000 Binary files a/assets/layout/images/logo2.png and /dev/null differ diff --git a/assets/layout/images/logo3.png b/assets/layout/images/logo3.png deleted file mode 100644 index c739a71..0000000 Binary files a/assets/layout/images/logo3.png and /dev/null differ diff --git a/assets/layout/images/logo4.png b/assets/layout/images/logo4.png deleted file mode 100644 index 768f78d..0000000 Binary files a/assets/layout/images/logo4.png and /dev/null differ diff --git a/assets/layout/images/results.webp b/assets/layout/images/results.webp new file mode 100644 index 0000000..c672180 Binary files /dev/null and b/assets/layout/images/results.webp differ diff --git a/assets/layout/styles/layout/layout.css b/assets/layout/styles/layout/layout.css new file mode 100644 index 0000000..ed69d74 --- /dev/null +++ b/assets/layout/styles/layout/layout.css @@ -0,0 +1,1189 @@ +/* poppins-regular - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 400; + src: local(""), url("../../fonts/poppins-v20-latin-regular.woff2") format("woff2"), url("../../fonts/poppins-v20-latin-regular.woff") format("woff"); + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* poppins-500 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 500; + src: local(""), url("../../fonts/poppins-v20-latin-500.woff2") format("woff2"), url("../../fonts/poppins-v20-latin-500.woff") format("woff"); + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* poppins-600 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 600; + src: local(""), url("../../fonts/poppins-v20-latin-600.woff2") format("woff2"), url("../../fonts/poppins-v20-latin-600.woff") format("woff"); + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* poppins-700 - latin */ +@font-face { + font-family: "Poppins"; + font-style: normal; + font-weight: 700; + src: local(""), url("../../fonts/poppins-v20-latin-700.woff2") format("woff2"), url("../../fonts/poppins-v20-latin-700.woff") format("woff"); + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +@keyframes px-mask-in { + from { + background-color: transparent; + } + to { + background-color: var(--maskbg); + } +} +@keyframes px-scalein { + 0% { + opacity: 0; + transform: scaleY(0.8); + } + 100% { + opacity: 1; + transform: scaleY(1); + } +} +@keyframes px-fadein { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes px-fadeout { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +.px-scalein { + animation: px-scalein 0.12s cubic-bezier(0, 0, 0.2, 1); +} + +.px-fadein { + animation: px-fadein 0.15s linear; +} + +.px-fadeout { + animation: px-fadeout 0.15s linear; +} + +.layout-light { + --sidebar-shadow: 0px 4px 50px #D9DDFC; + --sidebar-border: 1px solid transparent; + --card-shadow: 0px 4px 30px rgba(221, 224, 255, 0.54); +} + +.layout-dim { + --sidebar-shadow: none; + --sidebar-border: 1px solid var(--surface-border); + --card-shadow: none; +} + +.layout-dark { + --sidebar-shadow: none; + --sidebar-border: 1px solid var(--surface-border); + --card-shadow: none; +} + +* { + box-sizing: border-box; +} + +html { + height: 100%; + font-size: 14px; +} + +body { + font-weight: 400; + padding: 0; + margin: 0; + min-height: 100%; + background: var(--surface-ground); + color: var(--text-color); + font-family: var(--font-family); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +a { + text-decoration: none; +} + +.layout-container { + min-height: 100vh; +} + +.layout-sidebar { + position: fixed; + height: 100%; + top: 0; + left: 0; + width: 18rem; + background: var(--menu-bg); + border-right: var(--sidebar-border); + box-shadow: var(--sidebar-shadow); + display: flex; + flex-direction: column; +} +.layout-sidebar .sidebar-header { + padding: 2.5rem 0 2rem 0; + display: flex; + justify-content: center; + align-items: center; +} +.layout-sidebar .sidebar-header .app-logo .app-logo-normal { + display: inline; + width: 124px; + height: 22px; +} +.layout-sidebar .sidebar-header .app-logo .app-logo-small { + display: none; +} +.layout-sidebar .layout-menu-container { + overflow: auto; + flex: 1; + padding-bottom: 2rem; +} +.layout-sidebar .layout-menu { + margin: 0; + padding: 0; + list-style-type: none; +} +.layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text { + font-size: 0.857rem; + text-transform: uppercase; + font-weight: 700; + color: var(--root-menuitem-text-color); + padding: 1rem 2rem; +} +.layout-sidebar .layout-menu .layout-root-menuitem > a { + display: none; +} +.layout-sidebar .layout-menu a { + user-select: none; +} +.layout-sidebar .layout-menu a.active-menuitem > .layout-submenu-toggler { + transform: rotate(-180deg); +} +.layout-sidebar .layout-menu li.active-menuitem > a .layout-submenu-toggler { + transform: rotate(-180deg); +} +.layout-sidebar .layout-menu ul { + margin: 0; + padding: 0; + list-style-type: none; +} +.layout-sidebar .layout-menu ul a { + display: flex; + align-items: center; + position: relative; + outline: 0 none; + color: var(--menuitem-text-color); + cursor: pointer; + padding: 0.75rem 2rem; + transition: background-color var(--transition-duration), box-shadow var(--transition-duration); +} +.layout-sidebar .layout-menu ul a .layout-menuitem-icon { + margin-right: 0.5rem; + color: var(--menuitem-icon-color); +} +.layout-sidebar .layout-menu ul a .layout-submenu-toggler { + font-size: 75%; + margin-left: auto; + transition: transform var(--transition-duration); +} +.layout-sidebar .layout-menu ul a.active-route { + font-weight: 700; +} +.layout-sidebar .layout-menu ul a:hover { + background-color: var(--menuitem-hover-bg-color); +} +.layout-sidebar .layout-menu ul ul { + overflow: hidden; + border-radius: var(--border-radius); +} +.layout-sidebar .layout-menu ul ul li a { + padding-left: 2.5rem; +} +.layout-sidebar .layout-menu ul ul li li a { + padding-left: 3rem; +} +.layout-sidebar .layout-menu ul ul li li li a { + padding-left: 3.5rem; +} +.layout-sidebar .layout-menu ul ul li li li li a { + padding-left: 4rem; +} +.layout-sidebar .layout-menu ul ul li li li li li a { + padding-left: 5.5rem; +} +.layout-sidebar .layout-menu ul ul li li li li li li a { + padding-left: 5rem; +} + +@media screen and (min-width: 992px) { + .layout-container.layout-slim .layout-topbar .topbar-menubutton { + display: none; + } + .layout-container.layout-slim .sidebar-header .app-logo .app-logo-normal { + display: none; + } + .layout-container.layout-slim .sidebar-header .app-logo .app-logo-small { + display: inline; + } + .layout-container.layout-slim .layout-sidebar { + width: 5rem; + overflow: visible; + z-index: 999; + } + .layout-container.layout-slim .layout-sidebar .layout-menu-container { + overflow: auto; + } + .layout-container.layout-slim .layout-sidebar .layout-menu-container::-webkit-scrollbar { + display: none; + } + .layout-container.layout-slim .layout-content-wrapper { + margin-left: 5rem; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > .layout-menuitem-root-text { + display: none; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > a { + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + cursor: pointer; + outline: none; + transition: background-color var(--transition-duration); + width: 3rem; + height: 3rem; + margin: 0 auto 1rem auto; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > a .layout-submenu-toggler { + display: none; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > a .layout-menuitem-icon { + font-size: 1.5rem; + color: var(--menuitem-icon-color); + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > a .layout-menuitem-text { + display: none; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > a:hover { + background-color: var(--menuitem-hover-bg-color); + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul { + position: absolute; + left: 5rem; + top: 0; + min-width: 15rem; + background-color: var(--surface-overlay); + border-radius: var(--border-radius); + box-shadow: var(--sidebar-shadow); + border: var(--sidebar-border); + padding: 1rem; + max-height: 20rem; + overflow: auto; + z-index: 999; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul a { + padding-right: 0.5rem; + color: var(--popup-submenu-item-text-color); + border-radius: var(--border-radius); + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul a .layout-menuitem-icon { + color: var(--popup-submenu-item-icon-color); + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul a:hover { + background-color: var(--popup-submenu-item-hover-bg-color); + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul li a { + padding-left: 0.5rem; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul li li a { + padding-left: 1rem; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul li li li a { + padding-left: 1.5rem; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul li li li li a { + padding-left: 2rem; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul li li li li li a { + padding-left: 2.5rem; + } + .layout-container.layout-slim .layout-menu .layout-root-menuitem > ul li li li li li li a { + padding-left: 3rem; + } +} +@media screen and (min-width: 992px) { + .layout-container.layout-slim-plus .layout-topbar .topbar-menubutton { + display: none; + } + .layout-container.layout-slim-plus .sidebar-header { + justify-content: center; + } + .layout-container.layout-slim-plus .sidebar-header .app-logo .app-logo-normal { + display: none; + } + .layout-container.layout-slim-plus .sidebar-header .app-logo .app-logo-small { + display: inline; + align-items: center; + } + .layout-container.layout-slim-plus .layout-sidebar { + width: 7rem; + overflow: visible; + z-index: 999; + } + .layout-container.layout-slim-plus .layout-sidebar .layout-menu-container { + overflow: auto; + } + .layout-container.layout-slim-plus .layout-sidebar .layout-menu-container::-webkit-scrollbar { + display: none; + } + .layout-container.layout-slim-plus .layout-content-wrapper { + margin-left: 7rem; + } + .layout-container.layout-slim-plus .layout-menu ul { + display: none; + } + .layout-container.layout-slim-plus .layout-menu li.active-menuitem > ul { + display: block; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > .layout-menuitem-root-text { + display: none; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > a { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border-radius: var(--border-radius); + text-align: center; + cursor: pointer; + outline: none; + transition: background-color var(--transition-duration); + width: auto; + height: auto; + margin: 0 auto 1rem auto; + padding: 0.75rem 0; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > a .layout-submenu-toggler { + display: none; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > a .layout-menuitem-icon { + font-size: 1.5rem; + color: var(--menuitem-icon-color); + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > a .layout-menuitem-text { + font-size: 0.875rem; + display: block; + margin-top: 0.25rem; + color: var(--menuitem-text-color); + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > a:hover { + background-color: var(--menuitem-hover-bg-color); + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul { + position: absolute; + left: 7rem; + top: 0; + min-width: 15rem; + background-color: var(--surface-overlay); + border-radius: var(--border-radius); + box-shadow: var(--sidebar-shadow); + border: var(--sidebar-border); + padding: 1rem; + max-height: 20rem; + overflow: auto; + z-index: 999; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul a { + padding-right: 0.5rem; + color: var(--popup-submenu-item-text-color); + border-radius: var(--border-radius); + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul a .layout-menuitem-icon { + color: var(--popup-submenu-item-icon-color); + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul a:hover { + background-color: var(--popup-submenu-item-hover-bg-color); + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul li a { + padding-left: 0.5rem; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul li li a { + padding-left: 1rem; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul li li li a { + padding-left: 1.5rem; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul li li li li a { + padding-left: 2rem; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul li li li li li a { + padding-left: 2.5rem; + } + .layout-container.layout-slim-plus .layout-menu .layout-root-menuitem > ul li li li li li li a { + padding-left: 3rem; + } +} +@media screen and (min-width: 992px) { + .layout-container.layout-horizontal .layout-topbar .topbar-menubutton { + display: none; + } + .layout-container.layout-horizontal .sidebar-header .app-logo .app-logo-normal { + display: none; + } + .layout-container.layout-horizontal .sidebar-header .app-logo .app-logo-small { + display: inline; + } + .layout-container.layout-horizontal .layout-sidebar { + width: auto; + height: auto; + top: 0; + z-index: 999; + overflow: visible; + flex-direction: row; + position: static; + } + .layout-container.layout-horizontal .layout-sidebar .layout-menu-container { + overflow: auto; + padding-bottom: 0; + } + .layout-container.layout-horizontal .layout-sidebar .layout-menu-container::-webkit-scrollbar { + display: none; + } + .layout-container.layout-horizontal .layout-sidebar .sidebar-header { + padding: 0 2rem; + } + .layout-container.layout-horizontal .layout-menu { + display: flex; + flex-wrap: nowrap; + flex-direction: row; + align-items: center; + height: 100%; + } + .layout-container.layout-horizontal .layout-menu ul { + display: none; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem { + border-radius: var(--border-radius); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > .layout-menuitem-root-text { + display: none; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > a { + display: flex; + align-items: center; + padding: 0.75rem; + border-radius: 0; + cursor: pointer; + outline: none; + color: var(--menuitem-text-color); + transition: background-color var(--transition-duration); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > a .layout-submenu-toggler { + display: block; + margin-left: auto; + transition: transform 0.2s; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > a .layout-menuitem-icon { + font-size: 1.25rem; + color: var(--menuitem-icon-color); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > a .layout-menuitem-text { + font-size: 0.875rem; + display: block; + margin-left: 0.75rem; + margin-right: 0.75rem; + white-space: nowrap; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > a:hover { + background-color: var(--menuitem-hover-bg-color); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul { + position: absolute; + left: auto; + top: 3rem; + min-width: 15rem; + background-color: var(--surface-overlay); + box-shadow: var(--sidebar-shadow); + padding: 1rem; + border-radius: var(--border-radius); + max-height: 20rem; + overflow: auto; + z-index: 999; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul a { + padding-right: 0.5rem; + color: var(--popup-submenu-item-text-color); + border-radius: var(--border-radius); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul a .layout-menuitem-icon { + color: var(--popup-submenu-item-icon-color); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul a:hover { + background-color: var(--popup-submenu-item-hover-bg-color); + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul li a { + padding-left: 0.5rem; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul li li a { + padding-left: 1rem; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul li li li a { + padding-left: 1.5rem; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul li li li li a { + padding-left: 2rem; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul li li li li li a { + padding-left: 2.5rem; + } + .layout-container.layout-horizontal .layout-menu .layout-root-menuitem > ul li li li li li li a { + padding-left: 3rem; + } +} +@media screen and (min-width: 992px) { + .layout-container.layout-reveal .layout-topbar .topbar-menubutton { + display: none; + } + .layout-container.layout-reveal .layout-sidebar { + height: 100%; + top: 0; + transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1); + transform: translateX(-14.75rem); + z-index: 999; + } + .layout-container.layout-reveal .layout-sidebar .sidebar-header { + display: flex; + justify-content: flex-end; + align-items: center; + gap: 1rem; + padding: 1.5rem 1rem; + } + .layout-container.layout-reveal .layout-sidebar .sidebar-header .app-logo .app-logo-small { + display: inline; + order: 1; + } + .layout-container.layout-reveal .layout-sidebar .sidebar-header .app-logo .app-logo-normal { + display: none; + } + .layout-container.layout-reveal .layout-sidebar .sidebar-header .layout-sidebar-anchor { + display: none; + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + border: 2px solid var(--logo-color); + background-color: transparent; + transition: background-color var(--transition-duration), transform 0.3s; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu-container { + overflow: hidden; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text > span { + margin-right: auto; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text > .layout-menuitem-root-icon { + display: block; + margin-right: 0.125rem; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu ul { + margin: 0; + padding: 0; + list-style-type: none; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu ul a { + padding: 0.75rem 1rem; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu ul a .layout-menuitem-text { + order: 1; + margin-right: auto; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu ul a .layout-submenu-toggler { + order: 2; + display: none; + margin-right: 0.5rem; + } + .layout-container.layout-reveal .layout-sidebar .layout-menu ul a .layout-menuitem-icon { + order: 3; + margin-right: 0; + font-size: 1.25rem; + width: auto; + } + .layout-container.layout-reveal.layout-reveal .layout-content-wrapper { + margin-left: 4.25rem; + transition: margin-left 0.3s cubic-bezier(0, 0, 0.2, 1); + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar { + transform: translateX(0); + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu-container { + overflow: auto; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .sidebar-header { + padding: 1.5rem 2rem; + justify-content: space-between; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .sidebar-header .app-logo .app-logo-normal { + display: inline; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .sidebar-header .app-logo .app-logo-small { + display: none; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .sidebar-header .layout-sidebar-anchor { + display: block; + animation: px-fadein 0.15s linear; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text > .layout-menuitem-root-icon { + display: none; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul a { + padding: 0.75rem 2rem; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul a .layout-submenu-toggler { + display: block; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul { + overflow: hidden; + border-radius: var(--border-radius); + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul li a { + padding-left: 2.5rem; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li a { + padding-left: 3rem; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li a { + padding-left: 3.5rem; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li li a { + padding-left: 4rem; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li li li a { + padding-left: 5.5rem; + } + .layout-container.layout-reveal.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li li li li a { + padding-left: 5rem; + } + .layout-container.layout-reveal.layout-sidebar-anchored .sidebar-header .layout-sidebar-anchor { + background-color: var(--logo-color); + } + .layout-container.layout-reveal.layout-sidebar-anchored .layout-content-wrapper { + margin-left: 18rem; + } +} +@media screen and (min-width: 992px) { + .layout-container.layout-drawer .layout-topbar .topbar-menubutton { + display: none; + } + .layout-container.layout-drawer .layout-sidebar { + height: 100%; + top: 0; + transition: width 0.3s cubic-bezier(0, 0, 0.2, 1); + width: 5.25rem; + z-index: 999; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu-container { + overflow: hidden; + } + .layout-container.layout-drawer .layout-sidebar .sidebar-header { + display: flex; + justify-content: center; + gap: 1rem; + padding: 1.5rem 0rem; + } + .layout-container.layout-drawer .layout-sidebar .sidebar-header .app-logo .app-logo-small { + display: inline; + order: 1; + } + .layout-container.layout-drawer .layout-sidebar .sidebar-header .app-logo .app-logo-normal { + display: none; + width: 0; + transition: width 0.3s cubic-bezier(0, 0, 0.2, 1); + transition-delay: 300ms; + } + .layout-container.layout-drawer .layout-sidebar .sidebar-header .layout-sidebar-anchor { + display: none; + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + border: 2px solid var(--logo-color); + background-color: transparent; + transition: background-color var(--transition-duration), transform 0.3s; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu-container { + overflow: hidden; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu { + transition: all 0.4s; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text { + opacity: 0; + white-space: nowrap; + transition: all 0.1s; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text > span { + margin-right: auto; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text .layout-menuitem-icon { + font-size: 1.25rem; + width: 1.25rem; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text > .layout-menuitem-root-icon { + display: block; + margin-right: 0.125rem; + font-size: 1.25rem; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu ul { + margin: 0; + padding: 0; + list-style-type: none; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu ul a { + padding: 0.75rem 2rem; + width: 1.25rem; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu ul a span { + opacity: 0; + white-space: nowrap; + transition: all 0.1s; + } + .layout-container.layout-drawer .layout-sidebar .layout-menu ul a .layout-menuitem-icon { + font-size: 1.25rem; + width: 1.25rem; + } + .layout-container.layout-drawer.layout-drawer .layout-content-wrapper { + margin-left: 5.25rem; + transition: margin-left 0.3s cubic-bezier(0, 0, 0.2, 1); + overflow-x: hidden; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar { + width: 18rem; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu-container { + overflow: auto; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .sidebar-header { + padding: 1.5rem 2rem; + justify-content: space-between; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .sidebar-header .app-logo .app-logo-normal { + display: inline; + width: 100%; + transition: width 0.3s cubic-bezier(0, 0, 0.2, 1); + transition-delay: 300ms; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .sidebar-header .app-logo .app-logo-small { + display: none; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .sidebar-header .layout-sidebar-anchor { + display: block; + animation: px-fadein 0.15s linear; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text { + padding: 1rem 2rem; + padding-right: 1.25rem; + opacity: 1; + white-space: nowrap; + transition: all 0.3s; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu .layout-root-menuitem > .layout-menuitem-root-text > .layout-menuitem-root-icon { + display: none; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul a { + padding: 0.75rem 2rem; + padding-right: 1.25rem; + width: auto; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul a .layout-submenu-toggler { + display: block; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul a span { + opacity: 1; + white-space: nowrap; + transition: all 0.3s; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul { + overflow: hidden; + border-radius: var(--border-radius); + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul li a { + padding-left: 2.5rem; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li a { + padding-left: 3rem; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li a { + padding-left: 3.5rem; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li li a { + padding-left: 4rem; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li li li a { + padding-left: 5.5rem; + } + .layout-container.layout-drawer.layout-sidebar-active .layout-sidebar .layout-menu ul ul li li li li li li a { + padding-left: 5rem; + } + .layout-container.layout-drawer.layout-sidebar-anchored .sidebar-header .layout-sidebar-anchor { + background-color: var(--logo-color); + } + .layout-container.layout-drawer.layout-sidebar-anchored .layout-content-wrapper { + margin-left: 18rem; + } +} +.layout-colorscheme-menu { + --logo-color: var(--primary-color); + --menu-bg: var(--surface-overlay); + --root-menuitem-text-color: var(--primary-color); + --menuitem-text-color: var(--text-color); + --menuitem-icon-color: var(--primary-color); + --menuitem-hover-bg-color: var(--surface-hover); + --popup-submenu-item-text-color: var(--text-color); + --popup-submenu-item-icon-color: var(--primary-color); + --popup-submenu-item-hover-bg-color: var(--surface-hover); +} + +.layout-primarycolor-menu { + --logo-color: var(--primary-color-text); + --menu-bg: linear-gradient(to left top, var(--primary-400), var(--primary-500), var(--primary-600)); + --root-menuitem-text-color: var(--primary-color-text); + --menuitem-text-color: var(--primary-color-text); + --menuitem-icon-color: var(--primary-color-text); + --menuitem-hover-bg-color: rgba(255,255,255,.1); + --popup-submenu-item-text-color: var(--text-color); + --popup-submenu-item-icon-color: var(--primary-color); + --popup-submenu-item-hover-bg-color: var(--surface-hover); +} + +.layout-dark.layout-primarycolor-menu, +.layout-dim.layout-primarycolor-menu { + --menu-bg: linear-gradient(to left top, var(--primary-300), var(--primary-400), var(--primary-500)); +} + +.layout-transparent-menu { + --logo-color: var(--primary-color); + --menu-bg: var(--surface-overlay); + --root-menuitem-text-color: var(--primary-color); + --menuitem-text-color: var(--text-color); + --menuitem-icon-color: var(--primary-color); + --menuitem-hover-bg-color: var(--surface-hover); + --popup-submenu-item-text-color: var(--text-color); + --popup-submenu-item-icon-color: var(--primary-color); + --popup-submenu-item-hover-bg-color: var(--surface-hover); +} + +@media screen and (min-width: 992px) { + .layout-container.layout-transparent-menu.layout-static .layout-sidebar, .layout-container.layout-transparent-menu.layout-slim .layout-sidebar, .layout-container.layout-transparent-menu.layout-slim-plus .layout-sidebar, .layout-container.layout-transparent-menu.layout-horizontal .layout-sidebar { + background-color: transparent; + border-right: 1px solid transparent; + box-shadow: none; + } +} +@media screen and (min-width: 992px) { + .layout-container.layout-static .layout-sidebar { + transition: transform var(--transition-duration); + } + .layout-container.layout-static .layout-content-wrapper { + margin-left: 18rem; + transition: margin-left var(--transition-duration); + } + .layout-container.layout-static-inactive .layout-sidebar { + transform: translateX(-100%); + } + .layout-container.layout-static-inactive .layout-content-wrapper { + margin-left: 0; + } + .layout-container.layout-overlay .layout-content-wrapper { + margin-left: 0; + } + .layout-container.layout-overlay .layout-sidebar { + z-index: 999; + transform: translateX(-100%); + transition: transform var(--transition-duration); + } + .layout-container.layout-overlay.layout-overlay-active .layout-sidebar { + transform: translateX(0); + } + .layout-container .content-breadcrumb { + display: none; + } +} +@media screen and (max-width: 991px) { + .blocked-scroll { + overflow: hidden; + } + + .layout-container .layout-content-wrapper { + margin-left: 0; + padding: 1rem; + } + .layout-container .layout-sidebar { + z-index: 999; + transform: translateX(-100%); + transition: transform var(--transition-duration); + box-shadow: none; + } + .layout-container.layout-mobile-active .layout-sidebar { + transform: translateX(0); + } + .layout-container.layout-mobile-active .layout-mask { + display: block; + animation: fadein var(--transition-duration); + } + .layout-container .layout-mask { + display: none; + position: fixed; + top: 0; + left: 0; + z-index: 998; + width: 100%; + height: 100%; + background-color: var(--maskbg); + } + .layout-container .topbar-breadcrumb { + display: none; + } + .layout-container .content-breadcrumb { + display: block; + } +} +@media screen and (min-width: 1960px) { + .layout-content, .landing-wrapper { + width: 1504px; + margin-left: auto !important; + margin-right: auto !important; + } + + .layout-topbar { + width: 1504px; + margin-left: auto !important; + margin-right: auto !important; + } +} +.layout-topbar { + margin-bottom: 2rem; + display: flex; + justify-content: space-between; + align-items: center; +} +.layout-topbar .topbar-start { + display: flex; + align-items: center; +} +.layout-topbar .topbar-start .topbar-menubutton { + display: inline-flex; + align-items: center; + justify-content: center; + margin-right: 2rem; + border-radius: 50%; + width: 2.5rem; + height: 2.5rem; + flex-shrink: 0; + transition: background-color var(--transition-duration); +} +.layout-topbar .topbar-start .topbar-menubutton i { + font-size: 1.25rem; + color: var(--text-color); + transition: color var(--transition-duration); +} +.layout-topbar .topbar-start .topbar-menubutton:hover { + background-color: var(--primary-color); +} +.layout-topbar .topbar-start .topbar-menubutton:hover i { + color: var(--primary-color-text); +} +.layout-topbar .topbar-menu { + display: flex; + align-items: center; + margin: 0; + padding: 0; + list-style: none; +} +.layout-topbar .topbar-menu li.topbar-profile { + margin-left: 1.5rem; + display: inline-flex; + align-items: center; + justify-content: center; +} +.layout-topbar .topbar-menu li.topbar-profile img { + width: 2rem; + height: 2rem; +} +.layout-topbar .topbar-menu li.topbar-profile button { + border-radius: 50%; + width: 2rem; + height: 2rem; + transition: box-shadow var(--transition-duration); +} +.layout-topbar .topbar-menu li.topbar-profile button:focus { + box-shadow: var(--focus-ring); +} +.layout-topbar .topbar-menu li.topbar-search .p-inputtext { + padding-top: 0.5rem; + padding-bottom: 0.5rem; + border-radius: 2rem; +} + +.layout-breadcrumb ol { + display: flex; + align-items: center; + margin: 0; + padding: 0; + list-style: none; + gap: 1rem; + flex-wrap: wrap; + color: var(--text-color-secondary); +} +.layout-breadcrumb ol li { + font-weight: 600; +} + +.content-breadcrumb { + margin-bottom: 2rem; + padding: 0 0.5rem; +} + +.layout-profile-sidebar.p-sidebar { + width: 25rem; +} +.layout-profile-sidebar.p-sidebar .p-sidebar-content { + padding-left: 2rem; + padding-right: 2rem; +} + +.layout-config-button { + display: block; + position: fixed; + width: 3rem; + height: 3rem; + line-height: 3rem; + background: var(--primary-color); + color: var(--primary-color-text); + text-align: center; + top: 50%; + right: 0; + margin-top: -1.5rem; + border-top-left-radius: var(--border-radius); + border-bottom-left-radius: var(--border-radius); + border-top-right-radius: 0; + border-bottom-right-radius: 0; + transition: background-color var(--transition-duration); + overflow: hidden; + cursor: pointer; + z-index: 999; + box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15); +} +.layout-config-button i { + font-size: 2rem; + line-height: inherit; + transform: rotate(0deg); + transition: transform 1s; +} +.layout-config-button:hover { + background: var(--primary-400); +} + +.layout-config-sidebar.p-sidebar .p-sidebar-content { + padding-left: 2rem; + padding-right: 2rem; +} + +.layout-content-wrapper { + padding: 2rem; +} + +h1, h2, h3, h4, h5, h6 { + margin: 1.5rem 0 1rem 0; + font-family: inherit; + font-weight: 600; + line-height: 1.2; + color: var(--surface-900); +} +h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { + margin-top: 0; +} + +h1 { + font-size: 2.5rem; +} + +h2 { + font-size: 2rem; +} + +h3 { + font-size: 1.75rem; +} + +h4 { + font-size: 1.5rem; +} + +h5 { + font-size: 1.25rem; +} + +h6 { + font-size: 1rem; +} + +mark { + background: #FFF8E1; + padding: 0.25rem 0.4rem; + border-radius: var(--border-radius); + font-family: monospace; +} + +blockquote { + margin: 1rem 0; + padding: 0 2rem; + border-left: 4px solid #90A4AE; +} + +hr { + border-top: solid var(--surface-border); + border-width: 1px 0 0 0; + margin: 1rem 0; +} + +p { + margin: 0 0 1rem 0; + line-height: 1.5; +} +p:last-child { + margin-bottom: 0; +} + +.card { + background: var(--surface-card); + border: 1px solid var(--surface-border); + padding: 2rem; + margin-bottom: 2rem; + box-shadow: var(--card-shadow); + border-radius: 12px; +} +.card:last-child { + margin-bottom: 0; +} + +.p-toast.p-toast-top-right, .p-toast.p-toast-top-left, .p-toast.p-toast-top-center { + top: 70px; +} + +.ng-hidden { + display: none !important; +} diff --git a/assets/layout/styles/layout/preloading.css b/assets/layout/styles/layout/preloading.css new file mode 100644 index 0000000..1f51479 --- /dev/null +++ b/assets/layout/styles/layout/preloading.css @@ -0,0 +1,77 @@ +.layout-preloader-container { + display: flex; + align-items: center; + justify-content: center; + height: 100vh; + width: 100vw; + background-color: #111417; +} +.layout-preloader-container .layout-preloader { + position: relative; + width: 75px; + height: 75px; + background: transparent; + border: 3px solid #161a1f; + border-radius: 50%; + text-align: center; + line-height: 150px; + font-family: sans-serif; + font-size: 20px; + color: #6366F1; + letter-spacing: 4px; + text-transform: uppercase; + text-shadow: 0 0 10px #6366F1; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); +} +.layout-preloader-container .layout-preloader:before { + content: ""; + position: absolute; + top: -3px; + left: -3px; + width: 100%; + height: 100%; + border: 3px solid transparent; + border-top: 3px solid #6366F1; + border-right: 3px solid #6366F1; + border-radius: 50%; + animation: preloader-rotate-c 1s linear infinite; +} +.layout-preloader-container .layout-preloader span { + display: block; + position: absolute; + top: calc(50% - 2px); + left: 50%; + width: 50%; + height: 4px; + background: transparent; + transform-origin: left; + animation: preloader-rotate 1s linear infinite; +} +.layout-preloader-container .layout-preloader span:before { + content: ""; + position: absolute; + width: 16px; + height: 16px; + border-radius: 50%; + background: #6366F1; + top: -6px; + right: -8px; + box-shadow: 0 0 20px #6366F1; +} + +@keyframes preloader-rotate-c { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +@keyframes preloader-rotate { + 0% { + transform: rotate(45deg); + } + 100% { + transform: rotate(405deg); + } +} diff --git a/index.html b/index.html index 2a19d02..cea3101 100644 --- a/index.html +++ b/index.html @@ -2,8 +2,8 @@ - GPW Literature Review - + Grassland Literature Review + @@ -14,7 +14,7 @@ - + @@ -22,20 +22,20 @@ - + - + - -
-
- + +
+
+ +
-
- - + + diff --git a/main.091ae7d6c2ff8e1b.js b/main.091ae7d6c2ff8e1b.js new file mode 100644 index 0000000..d2f62d7 --- /dev/null +++ b/main.091ae7d6c2ff8e1b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[792],{6497:(Ze,De,N)=>{N.d(De,{G:()=>$});var g=N(177),v=N(4341),F=N(5875),re=N(494),f=N(1141),L=N(1631),A=N(4438);let $=(()=>{class H{static#e=this.\u0275fac=function(J){return new(J||H)};static#t=this.\u0275mod=A.$C({type:H});static#n=this.\u0275inj=A.G2t({imports:[g.MD,v.YN,F.n,re.Ko,f.tm,L.H_]})}return H})()},7693:(Ze,De,N)=>{N.d(De,{Y:()=>F});var g=N(4438),v=N(1413);let F=(()=>{class re{constructor(){this._config={ripple:!1,inputStyle:"outlined",menuMode:"static",colorScheme:"light",theme:"green",scale:14,menuTheme:"primaryColor"},this.config=(0,g.vPA)(this._config),this.state={staticMenuDesktopInactive:!1,overlayMenuActive:!1,profileSidebarVisible:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,sidebarActive:!1,anchored:!1},this.configUpdate=new v.B,this.overlayOpen=new v.B,this.configUpdate$=this.configUpdate.asObservable(),this.overlayOpen$=this.overlayOpen.asObservable(),(0,g.QZP)(()=>{const L=this.config();this.updateStyle(L)&&this.changeTheme(),this.changeScale(L.scale),this.onConfigUpdate()})}updateStyle(L){return L.theme!==this._config.theme||L.colorScheme!==this._config.colorScheme}onMenuToggle(){this.isOverlay()&&(this.state.overlayMenuActive=!this.state.overlayMenuActive,this.state.overlayMenuActive&&this.overlayOpen.next(null)),this.isDesktop()?this.state.staticMenuDesktopInactive=!this.state.staticMenuDesktopInactive:(this.state.staticMenuMobileActive=!this.state.staticMenuMobileActive,this.state.staticMenuMobileActive&&this.overlayOpen.next(null))}onOverlaySubmenuOpen(){this.overlayOpen.next(null)}showProfileSidebar(){this.state.profileSidebarVisible=!0}showConfigSidebar(){this.state.configSidebarVisible=!0}isOverlay(){return"overlay"===this.config().menuMode}isDesktop(){return window.innerWidth>991}isSlim(){return"slim"===this.config().menuMode}isSlimPlus(){return"slim-plus"===this.config().menuMode}isHorizontal(){return"horizontal"===this.config().menuMode}isMobile(){return!this.isDesktop()}onConfigUpdate(){this._config={...this.config()},this.configUpdate.next(this.config())}changeTheme(){const L=this.config(),H=document.getElementById("theme-link").getAttribute("href").split("/").map(k=>k==this._config.theme?k=L.theme:k==`theme-${this._config.colorScheme}`?k=`theme-${L.colorScheme}`:k).join("/");this.replaceThemeLink(H)}replaceThemeLink(L){const A="theme-link";let $=document.getElementById(A);const H=$.cloneNode(!0);H.setAttribute("href",L),H.setAttribute("id",A+"-clone"),$.parentNode.insertBefore(H,$.nextSibling),H.addEventListener("load",()=>{$.remove(),H.setAttribute("id",A)})}changeScale(L){document.documentElement.style.fontSize=`${L}px`}static#e=this.\u0275fac=function(A){return new(A||re)};static#t=this.\u0275prov=g.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},4125:(Ze,De,N)=>{N.d(De,{F:()=>F});var g=N(4438),v=N(1626);let F=(()=>{class re{constructor(L){this.http=L}getSources(L,A,$,H,k){let W={type_source:L,page:A};return $&&(W.search=$),void 0!==H&&(W.cluster=H),void 0!==k&&(W.sort_active=k.active,W.sort_direction=k.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${L}`,{params:W})}getTotal(L,A,$,H){let k={type_source:L,page:0};return A&&(k.search=A),void 0!==$&&(k.cluster=$),void 0!==H&&(k.sort_active=H.active,k.sort_direction=H.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${L}`,{params:k})}getSource(L){return this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/id/${L}`)}static#e=this.\u0275fac=function(A){return new(A||re)(g.KVO(v.Qq))};static#t=this.\u0275prov=g.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},894:(Ze,De,N)=>{N.d(De,{d:()=>F});var g=N(4412),v=N(4438);let F=(()=>{class re{constructor(){this.statusSource=new g.t({total:0,pages:0}),this.statusSource$=this.statusSource.asObservable()}setStatus(L){this.statusSource.next(L)}static#e=this.\u0275fac=function(A){return new(A||re)};static#t=this.\u0275prov=v.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},139:(Ze,De,N)=>{N.d(De,{F:()=>L});var g=N(4412),v=N(4438),F=N(4125),re=N(894);let L=(()=>{class A{constructor(H,k){this.sourceService=H,this.statusSourceService=k,this.table=new g.t([]),this._search=new g.t(void 0),this.search$=this._search.asObservable(),this.table$=this.table.asObservable(),this.type_source="all",this.page=1,this.limit=1e3,this.full=!0}setInfo(H,k){this.type_source=H,this.cluster=k,this.getSourcesData(1)}applyFilter(H){this.search=H,this._search.next(H),this.getSourcesData(1)}getSourcesData(H){this.pageIndex=H,1===H&&this.getTotal(),this.sourceService.getSources(this.type_source,H,this.search,this.cluster,this.sortState).subscribe(k=>{this.setData(k)},k=>{console.error("Erro ao obter dados da fonte:",k)})}getTotal(){this.sourceService.getTotal(this.type_source,this.search,this.cluster,this.sortState).subscribe(H=>{this.statusSourceService.setStatus(H),this.limit=H.total},H=>{console.error("Erro ao obter dados da fonte:",H)})}setData(H){this.table.next(H)}announceSortChange(H){this.sortState=H,this.getSourcesData(1)}static#e=this.\u0275fac=function(k){return new(k||A)(v.KVO(F.F),v.KVO(re.d))};static#t=this.\u0275prov=v.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},1480:(Ze,De,N)=>{var g=N(345),v=N(177),F=N(7488),re=N(5964),f=N(4438),L=N(7693);function A(S,u){if(1&S&&f.nrm(0,"li",4),2&S){const l=f.XpG(),w=l.index;f.Y8G("item",l.$implicit)("index",w)("root",!0)}}function $(S,u){1&S&&f.nrm(0,"li",5)}function H(S,u){if(1&S&&(f.qex(0),f.DNE(1,A,1,3,"li",2)(2,$,1,0,"li",3),f.bVm()),2&S){const l=u.$implicit;f.R7$(),f.Y8G("ngIf",!l.separator),f.R7$(),f.Y8G("ngIf",l.separator)}}let k=(()=>{class S{constructor(){this.model=[]}ngOnInit(){this.model=[{label:"HOME",icon:"pi pi-home",items:[{label:"Literature",icon:"pi pi-fw pi-book",routerLink:["/literature"]}]},{label:"Cluster",icon:"pi pi-home",items:[{label:"Pasture Cluster",icon:"pi pi-fw pi-book",routerLink:["/literature/cluster/pasture"]}]}]}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-menu"]],decls:2,vars:1,consts:[[1,"layout-menu"],[4,"ngFor","ngForOf"],["app-menuitem","",3,"item","index","root",4,"ngIf"],["class","menu-separator",4,"ngIf"],["app-menuitem","",3,"item","index","root"],[1,"menu-separator"]],template:function(_,w){1&_&&(f.j41(0,"ul",0),f.DNE(1,H,3,2,"ng-container",1),f.k0s()),2&_&&(f.R7$(),f.Y8G("ngForOf",w.model))},encapsulation:2})}return S})();const W=["menuContainer"],J=()=>["/"];let le=(()=>{class S{constructor(l,_){this.layoutService=l,this.el=_,this.timeout=null}onMouseEnter(){this.layoutService.state.anchored||(this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.layoutService.state.sidebarActive=!0)}onMouseLeave(){this.layoutService.state.anchored||this.timeout||(this.timeout=setTimeout(()=>this.layoutService.state.sidebarActive=!1,300))}anchor(){this.layoutService.state.anchored=!this.layoutService.state.anchored}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y),f.rXU(f.aKT))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-sidebar"]],viewQuery:function(_,w){if(1&_&&f.GBs(W,5),2&_){let x;f.mGM(x=f.lsd())&&(w.menuContainer=x.first)}},decls:9,vars:2,consts:[["menuContainer",""],[1,"layout-sidebar",3,"mouseenter","mouseleave"],[1,"sidebar-header"],[1,"app-logo",3,"routerLink"],["src","assets/layout/images/logo.png",1,"app-logo-small"],["src","assets/layout/images/logo.png",1,"app-logo-normal"],["type","button",1,"layout-sidebar-anchor","p-link","z-2","mb-2",3,"click"],[1,"layout-menu-container"]],template:function(_,w){if(1&_){const x=f.RV6();f.j41(0,"div",1),f.bIt("mouseenter",function(){return f.eBV(x),f.Njj(w.onMouseEnter())})("mouseleave",function(){return f.eBV(x),f.Njj(w.onMouseLeave())}),f.j41(1,"div",2)(2,"a",3),f.nrm(3,"img",4)(4,"img",5),f.k0s(),f.j41(5,"button",6),f.bIt("click",function(){return f.eBV(x),f.Njj(w.anchor())}),f.k0s()(),f.j41(6,"div",7,0),f.nrm(8,"app-menu"),f.k0s()()}2&_&&(f.R7$(2),f.Y8G("routerLink",f.lJ4(1,J)))},dependencies:[F.Wk,k],encapsulation:2})}return S})();var fe=N(894),be=N(139),Le=N(2242),He=N(1141),at=N(4412);function Bt(S,u){1&S&&(f.j41(0,"li",3),f.EFF(1," / "),f.k0s())}function St(S,u){if(1&S&&(f.j41(0,"li"),f.EFF(1),f.k0s(),f.DNE(2,Bt,2,0,"li",2)),2&S){const l=u.$implicit,_=u.last;f.R7$(),f.JRh(l.label),f.R7$(),f.Y8G("ngIf",!_)}}let $e=(()=>{class S{constructor(l){this.router=l,this._breadcrumbs$=new at.t([]),this.breadcrumbs$=this._breadcrumbs$.asObservable(),this.router.events.pipe((0,re.p)(_=>_ instanceof F.wF)).subscribe(_=>{const x=[];this.addBreadcrumb(this.router.routerState.snapshot.root,[],x),this._breadcrumbs$.next(x)})}addBreadcrumb(l,_,w){const x=_.concat(l.url.map(te=>te.path)),G=l.data.breadcrumb;G&&G!==(l.parent&&l.parent.data?l.parent.data.breadcrumb:null)&&w.push({label:l.data.breadcrumb,url:"/"+x.join("/")}),l.firstChild&&this.addBreadcrumb(l.firstChild,x,w)}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(F.Ix))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-breadcrumb"]],decls:4,vars:3,consts:[[1,"layout-breadcrumb"],["ngFor","",3,"ngForOf"],["class","layout-breadcrumb-chevron",4,"ngIf"],[1,"layout-breadcrumb-chevron"]],template:function(_,w){1&_&&(f.j41(0,"nav",0)(1,"ol"),f.DNE(2,St,3,2,"ng-template",1),f.nI1(3,"async"),f.k0s()()),2&_&&(f.R7$(2),f.Y8G("ngForOf",f.bMT(3,1,w.breadcrumbs$)))},dependencies:[v.Sq,v.bT,v.Jj],encapsulation:2})}return S})();const pe=["menubutton"];function et(S,u){if(1&S&&(f.j41(0,"div",16)(1,"h4"),f.EFF(2),f.nI1(3,"number"),f.k0s()()),2&S){const l=f.XpG();f.R7$(2),f.SpI("Total records: ",f.bMT(3,1,l.statisSource.total),"")}}let se=(()=>{class S{constructor(l,_,w){this.layoutService=l,this.statusSource=_,this.tableService=w}ngOnInit(){this.statusSource.statusSource$.subscribe(l=>{this.statisSource=l})}onMenuButtonClick(){this.layoutService.onMenuToggle()}onProfileButtonClick(){this.layoutService.showProfileSidebar()}onConfigButtonClick(){this.layoutService.showConfigSidebar()}applyFilter(l){console.log("CLiquei no bot\xe3o"),this.tableService.applyFilter(l)}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y),f.rXU(fe.d),f.rXU(be.F))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-topbar"]],viewQuery:function(_,w){if(1&_&&f.GBs(pe,5),2&_){let x;f.mGM(x=f.lsd())&&(w.menuButton=x.first)}},decls:16,vars:1,consts:[["menubutton",""],["serach",""],[1,"layout-topbar"],[1,"topbar-start"],["type","button",1,"topbar-menubutton","p-link","p-trigger",3,"click"],[1,"pi","pi-bars"],[1,"topbar-breadcrumb"],["class","flex align-items-center justify-content-center",4,"ngIf"],[1,"topbar-end"],[1,"topbar-menu"],[1,"topbar-search"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search",1,"w-12rem","sm:w-full"],[1,"ml-3"],["pButton","","type","button","icon","pi pi-search",1,"p-button-text","p-button-secondary","p-button-rounded","flex-shrinkcog-0",3,"click"],[1,"flex","align-items-center","justify-content-center"]],template:function(_,w){if(1&_){const x=f.RV6();f.j41(0,"div",2)(1,"div",3)(2,"button",4,0),f.bIt("click",function(){return f.eBV(x),f.Njj(w.onMenuButtonClick())}),f.nrm(4,"i",5),f.k0s(),f.nrm(5,"app-breadcrumb",6),f.k0s(),f.DNE(6,et,4,3,"div",7),f.j41(7,"div",8)(8,"ul",9)(9,"li",10)(10,"span",11),f.nrm(11,"i",12)(12,"input",13,1),f.k0s()(),f.j41(14,"li",14)(15,"button",15),f.bIt("click",function(){f.eBV(x);const U=f.sdS(13);return f.Njj(w.applyFilter(U.value))}),f.k0s()()()()()}2&_&&(f.R7$(6),f.Y8G("ngIf",w.statisSource.total))},dependencies:[v.bT,Le.S,He._f,$e,v.QX],encapsulation:2})}return S})();var ne=N(1413);let Ie=(()=>{class S{constructor(){this.menuSource=new ne.B,this.resetSource=new ne.B,this.menuSource$=this.menuSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onMenuStateChange(l){this.menuSource.next(l)}reset(){this.resetSource.next(!0)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();var Ee=N(5875),Y=N(6150);let xe=(()=>{class S{constructor(l){this.layoutService=l}get visible(){return this.layoutService.state.profileSidebarVisible}set visible(l){this.layoutService.state.profileSidebarVisible=l}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-profilemenu"]],decls:112,vars:2,consts:[["position","right","styleClass","layout-profile-sidebar w-full sm:w-25rem",3,"visibleChange","visible","transitionOptions"],[1,"flex","flex-column","mx-auto","md:mx-0"],[1,"mb-2","font-semibold"],[1,"text-color-secondary","font-medium","mb-5"],[1,"list-none","m-0","p-0"],[1,"cursor-pointer","flex","surface-border","mb-3","p-3","align-items-center","border-1","surface-border","border-round","hover:surface-hover","transition-colors","transition-duration-150"],[1,"pi","pi-user","text-xl","text-primary"],[1,"ml-3"],[1,"text-color-secondary","m-0"],[1,"pi","pi-cog","text-xl","text-primary"],[1,"pi","pi-power-off","text-xl","text-primary"],[1,"flex","flex-column","mt-5","mx-auto","md:mx-0"],[1,"pi","pi-comment","text-xl","text-primary"],[1,"pi","pi-trash","text-xl","text-primary"],[1,"pi","pi-folder","text-xl","text-primary"],["src","assets/demo/images/avatar/circle/avatar-m-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","3",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","1",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-4.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","2",1,"ml-auto"]],template:function(_,w){1&_&&(f.j41(0,"p-sidebar",0),f.mxI("visibleChange",function(G){return f.DH7(w.visible,G)||(w.visible=G),G}),f.j41(1,"div",1)(2,"span",2),f.EFF(3,"Welcome"),f.k0s(),f.j41(4,"span",3),f.EFF(5,"Isabella Andolini"),f.k0s(),f.j41(6,"ul",4)(7,"li")(8,"a",5)(9,"span"),f.nrm(10,"i",6),f.k0s(),f.j41(11,"div",7)(12,"span",2),f.EFF(13,"Profile"),f.k0s(),f.j41(14,"p",8),f.EFF(15,"Lorem ipsum date visale"),f.k0s()()()(),f.j41(16,"li")(17,"a",5)(18,"span"),f.nrm(19,"i",6),f.k0s(),f.j41(20,"div",7)(21,"span",2),f.EFF(22,"Billing"),f.k0s(),f.j41(23,"p",8),f.EFF(24,"Amet mimin m\u0131ollit"),f.k0s()()()(),f.j41(25,"li")(26,"a",5)(27,"span"),f.nrm(28,"i",9),f.k0s(),f.j41(29,"div",7)(30,"span",2),f.EFF(31,"Settings"),f.k0s(),f.j41(32,"p",8),f.EFF(33,"Exercitation veniam"),f.k0s()()()(),f.j41(34,"li")(35,"a",5)(36,"span"),f.nrm(37,"i",10),f.k0s(),f.j41(38,"div",7)(39,"span",2),f.EFF(40,"Sign Out"),f.k0s(),f.j41(41,"p",8),f.EFF(42,"Sed ut perspiciatis"),f.k0s()()()()()(),f.j41(43,"div",11)(44,"span",2),f.EFF(45,"Notifications"),f.k0s(),f.j41(46,"span",3),f.EFF(47,"You have 3 notifications"),f.k0s(),f.j41(48,"ul",4)(49,"li")(50,"a",5)(51,"span"),f.nrm(52,"i",12),f.k0s(),f.j41(53,"div",7)(54,"span",2),f.EFF(55,"Your post has new comments"),f.k0s(),f.j41(56,"p",8),f.EFF(57,"5 min ago"),f.k0s()()()(),f.j41(58,"li")(59,"a",5)(60,"span"),f.nrm(61,"i",13),f.k0s(),f.j41(62,"div",7)(63,"span",2),f.EFF(64,"Your post has been deleted"),f.k0s(),f.j41(65,"p",8),f.EFF(66,"15min ago"),f.k0s()()()(),f.j41(67,"li")(68,"a",5)(69,"span"),f.nrm(70,"i",14),f.k0s(),f.j41(71,"div",7)(72,"span",2),f.EFF(73,"Post has been updated"),f.k0s(),f.j41(74,"p",8),f.EFF(75,"3h ago"),f.k0s()()()()()(),f.j41(76,"div",11)(77,"span",2),f.EFF(78,"Messages"),f.k0s(),f.j41(79,"span",3),f.EFF(80,"You have new messages"),f.k0s(),f.j41(81,"ul",4)(82,"li")(83,"a",5)(84,"span"),f.nrm(85,"img",15),f.k0s(),f.j41(86,"div",7)(87,"span",2),f.EFF(88,"James Robinson"),f.k0s(),f.j41(89,"p",8),f.EFF(90,"10 min ago"),f.k0s()(),f.nrm(91,"p-badge",16),f.k0s()(),f.j41(92,"li")(93,"a",5)(94,"span"),f.nrm(95,"img",17),f.k0s(),f.j41(96,"div",7)(97,"span",2),f.EFF(98,"Mary Watson"),f.k0s(),f.j41(99,"p",8),f.EFF(100,"15min ago"),f.k0s()(),f.nrm(101,"p-badge",18),f.k0s()(),f.j41(102,"li")(103,"a",5)(104,"span"),f.nrm(105,"img",19),f.k0s(),f.j41(106,"div",7)(107,"span",2),f.EFF(108,"Aisha Webb"),f.k0s(),f.j41(109,"p",8),f.EFF(110,"3h ago"),f.k0s()(),f.nrm(111,"p-badge",20),f.k0s()()()()()),2&_&&(f.R50("visible",w.visible),f.Y8G("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)"))},dependencies:[Ee.B,Y.Ex],encapsulation:2})}return S})();const qe={anchorScrolling:"enabled"},Oe=[{path:"",loadChildren:()=>N.e(726).then(N.bind(N,2726)).then(S=>S.LandingModule)},{path:"literature",component:(()=>{class S{constructor(l,_,w,x){this.menuService=l,this.layoutService=_,this.renderer=w,this.router=x,this.overlayMenuOpenSubscription=this.layoutService.overlayOpen$.subscribe(()=>{this.menuOutsideClickListener||(this.menuOutsideClickListener=this.renderer.listen("document","click",G=>{!(this.appSidebar.el.nativeElement.isSameNode(G.target)||this.appSidebar.el.nativeElement.contains(G.target)||this.appTopbar.menuButton.nativeElement.isSameNode(G.target)||this.appTopbar.menuButton.nativeElement.contains(G.target))&&this.hideMenu()})),(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&!this.menuScrollListener&&(this.menuScrollListener=this.renderer.listen(this.appSidebar.menuContainer.nativeElement,"scroll",G=>{this.layoutService.isDesktop()&&this.hideMenu()})),this.layoutService.state.staticMenuMobileActive&&this.blockBodyScroll()}),this.router.events.pipe((0,re.p)(G=>G instanceof F.wF)).subscribe(()=>{this.hideMenu()})}blockBodyScroll(){document.body.classList?document.body.classList.add("blocked-scroll"):document.body.className+=" blocked-scroll"}unblockBodyScroll(){document.body.classList?document.body.classList.remove("blocked-scroll"):document.body.className=document.body.className.replace(new RegExp("(^|\\b)"+"blocked-scroll".split(" ").join("|")+"(\\b|$)","gi")," ")}hideMenu(){this.layoutService.state.overlayMenuActive=!1,this.layoutService.state.staticMenuMobileActive=!1,this.layoutService.state.menuHoverActive=!1,this.menuService.reset(),this.menuOutsideClickListener&&(this.menuOutsideClickListener(),this.menuOutsideClickListener=null),this.menuScrollListener&&(this.menuScrollListener(),this.menuScrollListener=null),this.unblockBodyScroll()}get containerClass(){return{"layout-light":"light"===this.layoutService.config().colorScheme,"layout-dim":"dim"===this.layoutService.config().colorScheme,"layout-dark":"dark"===this.layoutService.config().colorScheme,"layout-colorscheme-menu":"colorScheme"===this.layoutService.config().menuTheme,"layout-primarycolor-menu":"primaryColor"===this.layoutService.config().menuTheme,"layout-transparent-menu":"transparent"===this.layoutService.config().menuTheme,"layout-overlay":"overlay"===this.layoutService.config().menuMode,"layout-static":"static"===this.layoutService.config().menuMode,"layout-slim":"slim"===this.layoutService.config().menuMode,"layout-slim-plus":"slim-plus"===this.layoutService.config().menuMode,"layout-horizontal":"horizontal"===this.layoutService.config().menuMode,"layout-reveal":"reveal"===this.layoutService.config().menuMode,"layout-drawer":"drawer"===this.layoutService.config().menuMode,"layout-static-inactive":this.layoutService.state.staticMenuDesktopInactive&&"static"===this.layoutService.config().menuMode,"layout-overlay-active":this.layoutService.state.overlayMenuActive,"layout-mobile-active":this.layoutService.state.staticMenuMobileActive,"p-input-filled":"filled"===this.layoutService.config().inputStyle,"p-ripple-disabled":!this.layoutService.config().ripple,"layout-sidebar-active":this.layoutService.state.sidebarActive,"layout-sidebar-anchored":this.layoutService.state.anchored}}ngOnDestroy(){this.overlayMenuOpenSubscription&&this.overlayMenuOpenSubscription.unsubscribe(),this.menuOutsideClickListener&&this.menuOutsideClickListener()}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(Ie),f.rXU(L.Y),f.rXU(f.sFG),f.rXU(F.Ix))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-layout"]],viewQuery:function(_,w){if(1&_&&(f.GBs(le,5),f.GBs(se,5)),2&_){let x;f.mGM(x=f.lsd())&&(w.appSidebar=x.first),f.mGM(x=f.lsd())&&(w.appTopbar=x.first)}},decls:9,vars:1,consts:[[1,"layout-container",3,"ngClass"],[1,"layout-content-wrapper"],[1,"content-breadcrumb"],[1,"layout-content"],[1,"layout-mask"]],template:function(_,w){1&_&&(f.j41(0,"div",0),f.nrm(1,"app-sidebar"),f.j41(2,"div",1),f.nrm(3,"app-topbar")(4,"app-breadcrumb",2),f.j41(5,"div",3),f.nrm(6,"router-outlet"),f.k0s()(),f.nrm(7,"app-profilemenu")(8,"div",4),f.k0s()),2&_&&f.Y8G("ngClass",w.containerClass)},dependencies:[v.YU,F.n3,$e,le,se,xe],encapsulation:2})}return S})(),loadChildren:()=>N.e(503).then(N.bind(N,503)).then(S=>S.HomeModule)},{path:"notfound",loadChildren:()=>N.e(811).then(N.bind(N,6811)).then(S=>S.NotfoundModule)},{path:"**",redirectTo:"/notfound"}];let ze=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[F.iI.forRoot(Oe,qe),F.iI]})}return S})();var pt=N(3888),$t=N(8793),me=N(6697),Ce=N(9974),Se=N(4360),Me=N(5343),Fe=N(3703),st=N(1397),Lt=N(8750);function Ut(S,u){return u?l=>(0,$t.x)(u.pipe((0,me.s)(1),function je(){return(0,Ce.N)((S,u)=>{S.subscribe((0,Se._)(u,Me.l))})}()),l.pipe(Ut(S))):(0,st.Z)((l,_)=>(0,Lt.Tg)(S(l,_)).pipe((0,me.s)(1),(0,Fe.u)(l)))}var dt=N(1584),_n=N(5779);let Gt=(()=>{class S{constructor(){this.loadingSub=new at.t(!1),this.loadingMap=new Map}setLoading(l,_){if(!_)throw new Error("The request URL must be provided to the LoadingService.setLoading function");l?(this.loadingMap.set(_,l),this.loadingSub.next(!0)):!l&&this.loadingMap.has(_)&&this.loadingMap.delete(_),0===this.loadingMap.size&&this.loadingSub.next(!1)}show(){this.loadingSub.next(!0)}hide(){this.loadingSub.next(!1)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();var Ve=N(9969);let In=(()=>{class S{set show(l){this.state=l?"visible":"hidden"}constructor(){this.state="hidden"}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-loading"]],inputs:{show:"show"},decls:2,vars:1,consts:[[1,"loading","overlay"],["src","assets/layout/images/logo.png","alt","",1,"img-loading"]],template:function(_,w){1&_&&(f.j41(0,"div",0),f.nrm(1,"img",1),f.k0s()),2&_&&f.Y8G("@fade",w.state)},styles:[".loading[_ngcontent-%COMP%]{margin:auto}.overlay[_ngcontent-%COMP%]{position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;top:0;left:0;background-color:#4a4a4a66;z-index:99999}svg[_ngcontent-%COMP%]{z-index:1000000!important;margin:0 auto}.img-loading[_ngcontent-%COMP%]{width:72px;height:70px;animation:_ngcontent-%COMP%_pulse 1s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}"],data:{animation:[(0,Ve.hZ)("fade",[(0,Ve.wk)("visible",(0,Ve.iF)({opacity:1,visibility:"visible"})),(0,Ve.wk)("hidden",(0,Ve.iF)({opacity:0,visibility:"hidden"})),(0,Ve.kY)("visible <=> hidden",(0,Ve.i0)("400ms ease-in-out"))])]}})}return S})(),Pn=(()=>{class S{constructor(l,_){this.primengConfig=l,this.loadingService=_,this.loading=!1}ngOnInit(){this.primengConfig.ripple=!0,this.loadingService.loadingSub.pipe(function en(S,u=pt.E){const l=(0,dt.O)(S,u);return Ut(()=>l)}(0)).subscribe(l=>{this.loading=l})}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(_n.r1),f.rXU(Gt))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-root"]],decls:2,vars:1,consts:[[3,"show"]],template:function(_,w){1&_&&f.nrm(0,"app-loading",0)(1,"router-outlet"),2&_&&f.Y8G("show",w.loading)},dependencies:[F.n3,In],encapsulation:2})}return S})();var fn=N(4341),Gn=N(1626);function un(S){return new f.wOt(3e3,!1)}function Tr(S){switch(S.length){case 0:return new Ve.sf;case 1:return S[0];default:return new Ve.ui(S)}}function Es(S,u,l=new Map,_=new Map){const w=[],x=[];let G=-1,U=null;if(u.forEach(te=>{const ge=te.get("offset"),Ge=ge==G,ke=Ge&&U||new Map;te.forEach((yt,vt)=>{let Ye=vt,ot=yt;if("offset"!==vt)switch(Ye=S.normalizePropertyName(Ye,w),ot){case Ve.FX:ot=l.get(vt);break;case Ve.kp:ot=_.get(vt);break;default:ot=S.normalizeStyleValue(vt,Ye,ot,w)}ke.set(Ye,ot)}),Ge||x.push(ke),U=ke,G=ge}),w.length)throw function ce(S){return new f.wOt(3502,!1)}();return x}function On(S,u,l,_){switch(u){case"start":S.onStart(()=>_(l&&ft(l,"start",S)));break;case"done":S.onDone(()=>_(l&&ft(l,"done",S)));break;case"destroy":S.onDestroy(()=>_(l&&ft(l,"destroy",S)))}}function ft(S,u,l){const x=Ui(S.element,S.triggerName,S.fromState,S.toState,u||S.phaseName,l.totalTime??S.totalTime,!!l.disabled),G=S._data;return null!=G&&(x._data=G),x}function Ui(S,u,l,_,w="",x=0,G){return{element:S,triggerName:u,fromState:l,toState:_,phaseName:w,totalTime:x,disabled:!!G}}function hn(S,u,l){let _=S.get(u);return _||S.set(u,_=l),_}function Xr(S){const u=S.indexOf(":");return[S.substring(1,u),S.slice(u+1)]}const oi=typeof document>"u"?null:document.documentElement;function yr(S){const u=S.parentNode||S.host||null;return u===oi?null:u}let vr=null,qr=!1;function ji(S,u){for(;u;){if(u===S)return!0;u=yr(u)}return!1}function fr(S,u,l){if(l)return Array.from(S.querySelectorAll(u));const _=S.querySelector(u);return _?[_]:[]}let X=(()=>{class S{validateStyleProperty(l){return function Or(S){vr||(vr=function Yr(){return typeof document<"u"?document.body:null}()||{},qr=!!vr.style&&"WebkitAppearance"in vr.style);let u=!0;return vr.style&&!function Wt(S){return"ebkit"==S.substring(1,6)}(S)&&(u=S in vr.style,!u&&qr&&(u="Webkit"+S.charAt(0).toUpperCase()+S.slice(1)in vr.style)),u}(l)}matchesElement(l,_){return!1}containsElement(l,_){return ji(l,_)}getParentElement(l){return yr(l)}query(l,_,w){return fr(l,_,w)}computeStyle(l,_,w){return w||""}animate(l,_,w,x,G,U=[],te){return new Ve.sf(w,x)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})();class q{static#e=this.NOOP=new X}class we{}const Ue=1e3,lt="ng-enter",Jt="ng-leave",Dn="ng-trigger",Ht=".ng-trigger",xn="ng-animating",Qn=".ng-animating";function sn(S){if("number"==typeof S)return S;const u=S.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Pt(parseFloat(u[1]),u[2])}function Pt(S,u){return"s"===u?S*Ue:S}function xt(S,u,l){return S.hasOwnProperty("duration")?S:function Nn(S,u,l){let w,x=0,G="";if("string"==typeof S){const U=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===U)return u.push(un()),{duration:0,delay:0,easing:""};w=Pt(parseFloat(U[1]),U[2]);const te=U[3];null!=te&&(x=Pt(parseFloat(te),U[4]));const ge=U[5];ge&&(G=ge)}else w=S;if(!l){let U=!1,te=u.length;w<0&&(u.push(function ut(){return new f.wOt(3100,!1)}()),U=!0),x<0&&(u.push(function mr(){return new f.wOt(3101,!1)}()),U=!0),U&&u.splice(te,0,un())}return{duration:w,delay:x,easing:G}}(S,u,l)}function on(S,u,l){u.forEach((_,w)=>{const x=Ur(w);l&&!l.has(w)&&l.set(w,S.style[x]),S.style[x]=_})}function _t(S,u){u.forEach((l,_)=>{const w=Ur(_);S.style[w]=""})}function pn(S){return Array.isArray(S)?1==S.length?S[0]:(0,Ve.K2)(S):S}const wt=new RegExp("{{\\s*(.+?)\\s*}}","g");function _r(S){let u=[];if("string"==typeof S){let l;for(;l=wt.exec(S);)u.push(l[1]);wt.lastIndex=0}return u}function jn(S,u,l){const _=`${S}`,w=_.replace(wt,(x,G)=>{let U=u[G];return null==U&&(l.push(function si(S){return new f.wOt(3003,!1)}()),U=""),U.toString()});return w==_?S:w}const ai=/-+([a-z0-9])/g;function Ur(S){return S.replace(ai,(...u)=>u[1].toUpperCase())}function Xn(S,u,l){switch(u.type){case Ve.If.Trigger:return S.visitTrigger(u,l);case Ve.If.State:return S.visitState(u,l);case Ve.If.Transition:return S.visitTransition(u,l);case Ve.If.Sequence:return S.visitSequence(u,l);case Ve.If.Group:return S.visitGroup(u,l);case Ve.If.Animate:return S.visitAnimate(u,l);case Ve.If.Keyframes:return S.visitKeyframes(u,l);case Ve.If.Style:return S.visitStyle(u,l);case Ve.If.Reference:return S.visitReference(u,l);case Ve.If.AnimateChild:return S.visitAnimateChild(u,l);case Ve.If.AnimateRef:return S.visitAnimateRef(u,l);case Ve.If.Query:return S.visitQuery(u,l);case Ve.If.Stagger:return S.visitStagger(u,l);default:throw function sr(S){return new f.wOt(3004,!1)}()}}function Hi(S,u){return window.getComputedStyle(S)[u]}const qn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class ns extends we{normalizePropertyName(u,l){return Ur(u)}normalizeStyleValue(u,l,_,w){let x="";const G=_.toString().trim();if(qn.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)x="px";else{const U=_.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&0==U[1].length&&w.push(function Mt(S,u){return new f.wOt(3005,!1)}())}return G+x}}const li="*";const Nr=new Set(["true","1"]),Yn=new Set(["false","0"]);function Wi(S,u){const l=Nr.has(S)||Yn.has(S),_=Nr.has(u)||Yn.has(u);return(w,x)=>{let G=S==li||S==w,U=u==li||u==x;return!G&&l&&"boolean"==typeof w&&(G=w?Nr.has(S):Yn.has(S)),!U&&_&&"boolean"==typeof x&&(U=x?Nr.has(u):Yn.has(u)),G&&U}}const Zn=new RegExp("s*:selfs*,?","g");function gt(S,u,l,_){return new rs(S).build(u,l,_)}class rs{constructor(u){this._driver=u}build(u,l,_){const w=new Mi(l);return this._resetContextStyleTimingState(w),Xn(this,pn(u),w)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,l){let _=l.queryCount=0,w=l.depCount=0;const x=[],G=[];return"@"==u.name.charAt(0)&&l.errors.push(function Dt(){return new f.wOt(3006,!1)}()),u.definitions.forEach(U=>{if(this._resetContextStyleTimingState(l),U.type==Ve.If.State){const te=U,ge=te.name;ge.toString().split(/\s*,\s*/).forEach(Ge=>{te.name=Ge,x.push(this.visitState(te,l))}),te.name=ge}else if(U.type==Ve.If.Transition){const te=this.visitTransition(U,l);_+=te.queryCount,w+=te.depCount,G.push(te)}else l.errors.push(function tr(){return new f.wOt(3007,!1)}())}),{type:Ve.If.Trigger,name:u.name,states:x,transitions:G,queryCount:_,depCount:w,options:null}}visitState(u,l){const _=this.visitStyle(u.styles,l),w=u.options&&u.options.params||null;if(_.containsDynamicStyles){const x=new Set,G=w||{};_.styles.forEach(U=>{U instanceof Map&&U.forEach(te=>{_r(te).forEach(ge=>{G.hasOwnProperty(ge)||x.add(ge)})})}),x.size&&l.errors.push(function or(S,u){return new f.wOt(3008,!1)}(0,x.values()))}return{type:Ve.If.State,name:u.name,style:_,options:w?{params:w}:null}}visitTransition(u,l){l.queryCount=0,l.depCount=0;const _=Xn(this,pn(u.animation),l),w=function Gi(S,u){const l=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach(_=>function Ws(S,u,l){if(":"==S[0]){const te=function jr(S,u){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_) *"}}(S,l);if("function"==typeof te)return void u.push(te);S=te}const _=S.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function mn(S){return new f.wOt(3015,!1)}()),u;const w=_[1],x=_[2],G=_[3];u.push(Wi(w,G)),"<"==x[0]&&(w!=li||G!=li)&&u.push(Wi(G,w))}(_,l,u)):l.push(S),l}(u.expr,l.errors);return{type:Ve.If.Transition,matchers:w,animation:_,queryCount:l.queryCount,depCount:l.depCount,options:rr(u.options)}}visitSequence(u,l){return{type:Ve.If.Sequence,steps:u.steps.map(_=>Xn(this,_,l)),options:rr(u.options)}}visitGroup(u,l){const _=l.currentTime;let w=0;const x=u.steps.map(G=>{l.currentTime=_;const U=Xn(this,G,l);return w=Math.max(w,l.currentTime),U});return l.currentTime=w,{type:Ve.If.Group,steps:x,options:rr(u.options)}}visitAnimate(u,l){const _=function ws(S,u){if(S.hasOwnProperty("duration"))return S;if("number"==typeof S)return zi(xt(S,u).duration,0,"");const l=S;if(l.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=zi(0,0,"");return x.dynamic=!0,x.strValue=l,x}const w=xt(l,u);return zi(w.duration,w.delay,w.easing)}(u.timings,l.errors);l.currentAnimateTimings=_;let w,x=u.styles?u.styles:(0,Ve.iF)({});if(x.type==Ve.If.Keyframes)w=this.visitKeyframes(x,l);else{let G=u.styles,U=!1;if(!G){U=!0;const ge={};_.easing&&(ge.easing=_.easing),G=(0,Ve.iF)(ge)}l.currentTime+=_.duration+_.delay;const te=this.visitStyle(G,l);te.isEmptyStep=U,w=te}return l.currentAnimateTimings=null,{type:Ve.If.Animate,timings:_,style:w,options:null}}visitStyle(u,l){const _=this._makeStyleAst(u,l);return this._validateStyleAst(_,l),_}_makeStyleAst(u,l){const _=[],w=Array.isArray(u.styles)?u.styles:[u.styles];for(let U of w)"string"==typeof U?U===Ve.kp?_.push(U):l.errors.push(new f.wOt(3002,!1)):_.push(new Map(Object.entries(U)));let x=!1,G=null;return _.forEach(U=>{if(U instanceof Map&&(U.has("easing")&&(G=U.get("easing"),U.delete("easing")),!x))for(let te of U.values())if(te.toString().indexOf("{{")>=0){x=!0;break}}),{type:Ve.If.Style,styles:_,easing:G,offset:u.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(u,l){const _=l.currentAnimateTimings;let w=l.currentTime,x=l.currentTime;_&&x>0&&(x-=_.duration+_.delay),u.styles.forEach(G=>{"string"!=typeof G&&G.forEach((U,te)=>{const ge=l.collectedStyles.get(l.currentQuerySelector),Ge=ge.get(te);let ke=!0;Ge&&(x!=w&&x>=Ge.startTime&&w<=Ge.endTime&&(l.errors.push(function Bn(S,u,l,_,w){return new f.wOt(3010,!1)}()),ke=!1),x=Ge.startTime),ke&&ge.set(te,{startTime:x,endTime:w}),l.options&&function mt(S,u,l){const _=u.params||{},w=_r(S);w.length&&w.forEach(x=>{_.hasOwnProperty(x)||l.push(function Bi(S){return new f.wOt(3001,!1)}())})}(U,l.options,l.errors)})})}visitKeyframes(u,l){const _={type:Ve.If.Keyframes,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function es(){return new f.wOt(3011,!1)}()),_;let x=0;const G=[];let U=!1,te=!1,ge=0;const Ge=u.steps.map(it=>{const nn=this._makeStyleAst(it,l);let pr=null!=nn.offset?nn.offset:function is(S){if("string"==typeof S)return null;let u=null;if(Array.isArray(S))S.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;u=parseFloat(_.get("offset")),_.delete("offset")}});else if(S instanceof Map&&S.has("offset")){const l=S;u=parseFloat(l.get("offset")),l.delete("offset")}return u}(nn.styles),Ln=0;return null!=pr&&(x++,Ln=nn.offset=pr),te=te||Ln<0||Ln>1,U=U||Ln0&&x{const pr=yt>0?nn==vt?1:yt*nn:G[nn],Ln=pr*tn;l.currentTime=Ye+ot.delay+Ln,ot.duration=Ln,this._validateStyleAst(it,l),it.offset=pr,_.styles.push(it)}),_}visitReference(u,l){return{type:Ve.If.Reference,animation:Xn(this,pn(u.animation),l),options:rr(u.options)}}visitAnimateChild(u,l){return l.depCount++,{type:Ve.If.AnimateChild,options:rr(u.options)}}visitAnimateRef(u,l){return{type:Ve.If.AnimateRef,animation:this.visitReference(u.animation,l),options:rr(u.options)}}visitQuery(u,l){const _=l.currentQuerySelector,w=u.options||{};l.queryCount++,l.currentQuery=u;const[x,G]=function ui(S){const u=!!S.split(/\s*,\s*/).find(l=>":self"==l);return u&&(S=S.replace(Zn,"")),S=S.replace(/@\*/g,Ht).replace(/@\w+/g,l=>Ht+"-"+l.slice(1)).replace(/:animating/g,Qn),[S,u]}(u.selector);l.currentQuerySelector=_.length?_+" "+x:x,hn(l.collectedStyles,l.currentQuerySelector,new Map);const U=Xn(this,pn(u.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:Ve.If.Query,selector:x,limit:w.limit||0,optional:!!w.optional,includeSelf:G,animation:U,originalSelector:u.selector,options:rr(u.options)}}visitStagger(u,l){l.currentQuery||l.errors.push(function Yt(){return new f.wOt(3013,!1)}());const _="full"===u.timings?{duration:0,delay:0,easing:"full"}:xt(u.timings,l.errors,!0);return{type:Ve.If.Stagger,animation:Xn(this,pn(u.animation),l),timings:_,options:null}}}class Mi{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(S){return S?(S={...S}).params&&(S.params=function Hr(S){return S?{...S}:null}(S.params)):S={},S}function zi(S,u,l){return{duration:S,delay:u,easing:l}}function di(S,u,l,_,w,x,G=null,U=!1){return{type:1,element:S,keyframes:u,preStyleProps:l,postStyleProps:_,duration:w,delay:x,totalTime:w+x,easing:G,subTimeline:U}}class Zr{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,l){let _=this._map.get(u);_||this._map.set(u,_=[]),_.push(...l)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Hn=new RegExp(":enter","g"),ss=new RegExp(":leave","g");function ei(S,u,l,_,w,x=new Map,G=new Map,U,te,ge=[]){return(new Dr).buildKeyframes(S,u,l,_,w,x,G,U,te,ge)}class Dr{buildKeyframes(u,l,_,w,x,G,U,te,ge,Ge=[]){ge=ge||new Zr;const ke=new Ti(u,l,ge,w,x,Ge,[]);ke.options=te;const yt=te.delay?sn(te.delay):0;ke.currentTimeline.delayNextStep(yt),ke.currentTimeline.setStyles([G],null,ke.errors,te),Xn(this,_,ke);const vt=ke.timelines.filter(Ye=>Ye.containsAnimation());if(vt.length&&U.size){let Ye;for(let ot=vt.length-1;ot>=0;ot--){const tn=vt[ot];if(tn.element===l){Ye=tn;break}}Ye&&!Ye.allowOnlyTimelineStyles()&&Ye.setStyles([U],null,ke.errors,te)}return vt.length?vt.map(Ye=>Ye.buildKeyframes()):[di(l,[],[],[],0,yt,"",!1)]}visitTrigger(u,l){}visitState(u,l){}visitTransition(u,l){}visitAnimateChild(u,l){const _=l.subInstructions.get(l.element);if(_){const w=l.createSubContext(u.options),x=l.currentTimeline.currentTime,G=this._visitSubInstructions(_,w,w.options);x!=G&&l.transformIntoNewTimeline(G)}l.previousNode=u}visitAnimateRef(u,l){const _=l.createSubContext(u.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],l,_),this.visitReference(u.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=u}_applyAnimationRefDelays(u,l,_){for(const w of u){const x=w?.delay;if(x){const G="number"==typeof x?x:sn(jn(x,w?.params??{},l.errors));_.delayNextStep(G)}}}_visitSubInstructions(u,l,_){let x=l.currentTimeline.currentTime;const G=null!=_.duration?sn(_.duration):null,U=null!=_.delay?sn(_.delay):null;return 0!==G&&u.forEach(te=>{const ge=l.appendInstructionToTimeline(te,G,U);x=Math.max(x,ge.duration+ge.delay)}),x}visitReference(u,l){l.updateOptions(u.options,!0),Xn(this,u.animation,l),l.previousNode=u}visitSequence(u,l){const _=l.subContextCount;let w=l;const x=u.options;if(x&&(x.params||x.delay)&&(w=l.createSubContext(x),w.transformIntoNewTimeline(),null!=x.delay)){w.previousNode.type==Ve.If.Style&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=fi);const G=sn(x.delay);w.delayNextStep(G)}u.steps.length&&(u.steps.forEach(G=>Xn(this,G,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>_&&w.transformIntoNewTimeline()),l.previousNode=u}visitGroup(u,l){const _=[];let w=l.currentTimeline.currentTime;const x=u.options&&u.options.delay?sn(u.options.delay):0;u.steps.forEach(G=>{const U=l.createSubContext(u.options);x&&U.delayNextStep(x),Xn(this,G,U),w=Math.max(w,U.currentTimeline.currentTime),_.push(U.currentTimeline)}),_.forEach(G=>l.currentTimeline.mergeTimelineCollectedStyles(G)),l.transformIntoNewTimeline(w),l.previousNode=u}_visitTiming(u,l){if(u.dynamic){const _=u.strValue;return xt(l.params?jn(_,l.params,l.errors):_,l.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,l){const _=l.currentAnimateTimings=this._visitTiming(u.timings,l),w=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),w.snapshotCurrentStyles());const x=u.style;x.type==Ve.If.Keyframes?this.visitKeyframes(x,l):(l.incrementTime(_.duration),this.visitStyle(x,l),w.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=u}visitStyle(u,l){const _=l.currentTimeline,w=l.currentAnimateTimings;!w&&_.hasCurrentStyleProperties()&&_.forwardFrame();const x=w&&w.easing||u.easing;u.isEmptyStep?_.applyEmptyStep(x):_.setStyles(u.styles,x,l.errors,l.options),l.previousNode=u}visitKeyframes(u,l){const _=l.currentAnimateTimings,w=l.currentTimeline.duration,x=_.duration,U=l.createSubContext().currentTimeline;U.easing=_.easing,u.styles.forEach(te=>{U.forwardTime((te.offset||0)*x),U.setStyles(te.styles,te.easing,l.errors,l.options),U.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(U),l.transformIntoNewTimeline(w+x),l.previousNode=u}visitQuery(u,l){const _=l.currentTimeline.currentTime,w=u.options||{},x=w.delay?sn(w.delay):0;x&&(l.previousNode.type===Ve.If.Style||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=fi);let G=_;const U=l.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!w.optional,l.errors);l.currentQueryTotal=U.length;let te=null;U.forEach((ge,Ge)=>{l.currentQueryIndex=Ge;const ke=l.createSubContext(u.options,ge);x&&ke.delayNextStep(x),ge===l.element&&(te=ke.currentTimeline),Xn(this,u.animation,ke),ke.currentTimeline.applyStylesToKeyframe(),G=Math.max(G,ke.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(G),te&&(l.currentTimeline.mergeTimelineCollectedStyles(te),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=u}visitStagger(u,l){const _=l.parentContext,w=l.currentTimeline,x=u.timings,G=Math.abs(x.duration),U=G*(l.currentQueryTotal-1);let te=G*l.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":te=U-te;break;case"full":te=_.currentStaggerTime}const Ge=l.currentTimeline;te&&Ge.delayNextStep(te);const ke=Ge.currentTime;Xn(this,u.animation,l),l.previousNode=u,_.currentStaggerTime=w.currentTime-ke+(w.startTime-_.currentTimeline.startTime)}}const fi={};class Ti{constructor(u,l,_,w,x,G,U,te){this._driver=u,this.element=l,this.subInstructions=_,this._enterClassName=w,this._leaveClassName=x,this.errors=G,this.timelines=U,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=te||new Ai(this._driver,l,0),U.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,l){if(!u)return;const _=u;let w=this.options;null!=_.duration&&(w.duration=sn(_.duration)),null!=_.delay&&(w.delay=sn(_.delay));const x=_.params;if(x){let G=w.params;G||(G=this.options.params={}),Object.keys(x).forEach(U=>{(!l||!G.hasOwnProperty(U))&&(G[U]=jn(x[U],G,this.errors))})}}_copyOptions(){const u={};if(this.options){const l=this.options.params;if(l){const _=u.params={};Object.keys(l).forEach(w=>{_[w]=l[w]})}}return u}createSubContext(u=null,l,_){const w=l||this.element,x=new Ti(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,_||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(u),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(u){return this.previousNode=fi,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,l,_){const w={duration:l??u.duration,delay:this.currentTimeline.currentTime+(_??0)+u.delay,easing:""},x=new Qi(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,w,u.stretchStartingKeyframe);return this.timelines.push(x),w}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,l,_,w,x,G){let U=[];if(w&&U.push(this.element),u.length>0){u=(u=u.replace(Hn,"."+this._enterClassName)).replace(ss,"."+this._leaveClassName);let ge=this._driver.query(this.element,u,1!=_);0!==_&&(ge=_<0?ge.slice(ge.length+_,ge.length):ge.slice(0,_)),U.push(...ge)}return!x&&0==U.length&&G.push(function kr(S){return new f.wOt(3014,!1)}()),U}}class Ai{constructor(u,l,_,w){this._driver=u,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=w,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(u){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+u),l&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,l){return this.applyStylesToKeyframe(),new Ai(this._driver,u,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,l){this._localTimelineStyles.set(u,l),this._globalTimelineStyles.set(u,l),this._styleSummary.set(u,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||Ve.kp),this._currentKeyframe.set(l,Ve.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,l,_,w){l&&this._previousKeyframe.set("easing",l);const x=w&&w.params||{},G=function os(S,u){const l=new Map;let _;return S.forEach(w=>{if("*"===w){_??=u.keys();for(let x of _)l.set(x,Ve.kp)}else for(let[x,G]of w)l.set(x,G)}),l}(u,this._globalTimelineStyles);for(let[U,te]of G){const ge=jn(te,x,_);this._pendingStyles.set(U,ge),this._localTimelineStyles.has(U)||this._backFill.set(U,this._globalTimelineStyles.get(U)??Ve.kp),this._updateStyle(U,ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,l)=>{this._currentKeyframe.set(l,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,u)}))}snapshotCurrentStyles(){for(let[u,l]of this._localTimelineStyles)this._pendingStyles.set(u,l),this._updateStyle(u,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let l in this._currentKeyframe)u.push(l);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((l,_)=>{const w=this._styleSummary.get(_);(!w||l.time>w.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((U,te)=>{const ge=new Map([...this._backFill,...U]);ge.forEach((Ge,ke)=>{Ge===Ve.FX?u.add(ke):Ge===Ve.kp&&l.add(ke)}),_||ge.set("offset",te/this.duration),w.push(ge)});const x=[...u.values()],G=[...l.values()];if(_){const U=w[0],te=new Map(U);U.set("offset",0),te.set("offset",1),w=[U,te]}return di(this.element,w,x,G,this.duration,this.startTime,this.easing,!1)}}class Qi extends Ai{constructor(u,l,_,w,x,G,U=!1){super(u,l,G.delay),this.keyframes=_,this.preStyleProps=w,this.postStyleProps=x,this._stretchStartingKeyframe=U,this.timings={duration:G.duration,delay:G.delay,easing:G.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:l,duration:_,easing:w}=this.timings;if(this._stretchStartingKeyframe&&l){const x=[],G=_+l,U=l/G,te=new Map(u[0]);te.set("offset",0),x.push(te);const ge=new Map(u[0]);ge.set("offset",Wn(U)),x.push(ge);const Ge=u.length-1;for(let ke=1;ke<=Ge;ke++){let yt=new Map(u[ke]);const vt=yt.get("offset");yt.set("offset",Wn((l+vt*_)/G)),x.push(yt)}_=G,l=0,w="",u=x}return di(this.element,u,this.preStyleProps,this.postStyleProps,_,l,w,!0)}}function Wn(S,u=3){const l=Math.pow(10,u-1);return Math.round(S*l)/l}function ar(S,u,l,_,w,x,G,U,te,ge,Ge,ke,yt){return{type:0,element:S,triggerName:u,isRemovalTransition:w,fromState:l,fromStyles:x,toState:_,toStyles:G,timelines:U,queriedElements:te,preStyleProps:ge,postStyleProps:Ge,totalTime:ke,errors:yt}}const Xi={};class as{constructor(u,l,_){this._triggerName=u,this.ast=l,this._stateStyles=_}match(u,l,_,w){return function zt(S,u,l,_,w){return S.some(x=>x(u,l,_,w))}(this.ast.matchers,u,l,_,w)}buildStyles(u,l,_){let w=this._stateStyles.get("*");return void 0!==u&&(w=this._stateStyles.get(u?.toString())||w),w?w.buildStyles(l,_):new Map}build(u,l,_,w,x,G,U,te,ge,Ge){const ke=[],yt=this.ast.options&&this.ast.options.params||Xi,Ye=this.buildStyles(_,U&&U.params||Xi,ke),ot=te&&te.params||Xi,tn=this.buildStyles(w,ot,ke),it=new Set,nn=new Map,pr=new Map,Ln="void"===w,an={params:hi(ot,yt),delay:this.ast.options?.delay},Er=Ge?[]:ei(u,l,this.ast.animation,x,G,Ye,tn,an,ge,ke);let zn=0;return Er.forEach(Rn=>{zn=Math.max(Rn.duration+Rn.delay,zn)}),ke.length?ar(l,this._triggerName,_,w,Ln,Ye,tn,[],[],nn,pr,zn,ke):(Er.forEach(Rn=>{const _i=Rn.element,Fs=hn(nn,_i,new Set);Rn.preStyleProps.forEach(Wr=>Fs.add(Wr));const Pi=hn(pr,_i,new Set);Rn.postStyleProps.forEach(Wr=>Pi.add(Wr)),_i!==l&&it.add(_i)}),ar(l,this._triggerName,_,w,Ln,Ye,tn,Er,[...it.values()],nn,pr,zn))}}function hi(S,u){const l={...u};return Object.entries(S).forEach(([_,w])=>{null!=w&&(l[_]=w)}),l}class zs{constructor(u,l,_){this.styles=u,this.defaultParams=l,this.normalizer=_}buildStyles(u,l){const _=new Map,w=hi(u,this.defaultParams);return this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((G,U)=>{G&&(G=jn(G,w,l));const te=this.normalizer.normalizePropertyName(U,l);G=this.normalizer.normalizeStyleValue(U,te,G,l),_.set(U,G)})}),_}}class Is{constructor(u,l,_){this.name=u,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(w=>{this.states.set(w.name,new zs(w.style,w.options&&w.options.params||{},_))}),Gr(this.states,"true","1"),Gr(this.states,"false","0"),l.transitions.forEach(w=>{this.transitionFactories.push(new as(u,w,this.states))}),this.fallbackTransition=function ls(S,u,l){return new as(S,{type:Ve.If.Transition,animation:{type:Ve.If.Sequence,steps:[],options:null},matchers:[(G,U)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,l,_,w){return this.transitionFactories.find(G=>G.match(u,l,_,w))||null}matchStyles(u,l,_){return this.fallbackTransition.buildStyles(u,l,_)}}function Gr(S,u,l){S.has(u)?S.has(l)||S.set(l,S.get(u)):S.has(l)&&S.set(u,S.get(l))}const Rr=new Zr;class Pr{constructor(u,l,_){this.bodyNode=u,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,l){const _=[],x=gt(this._driver,l,_,[]);if(_.length)throw function de(S){return new f.wOt(3503,!1)}();this._animations.set(u,x)}_buildPlayer(u,l,_){const w=u.element,x=Es(this._normalizer,u.keyframes,l,_);return this._driver.animate(w,x,u.duration,u.delay,u.easing,[],!0)}create(u,l,_={}){const w=[],x=this._animations.get(u);let G;const U=new Map;if(x?(G=ei(this._driver,l,x,lt,Jt,new Map,new Map,_,Rr,w),G.forEach(Ge=>{const ke=hn(U,Ge.element,new Map);Ge.postStyleProps.forEach(yt=>ke.set(yt,null))})):(w.push(function Q(){return new f.wOt(3300,!1)}()),G=[]),w.length)throw function oe(S){return new f.wOt(3504,!1)}();U.forEach((Ge,ke)=>{Ge.forEach((yt,vt)=>{Ge.set(vt,this._driver.computeStyle(ke,vt,Ve.kp))})});const ge=Tr(G.map(Ge=>{const ke=U.get(Ge.element);return this._buildPlayer(Ge,new Map,ke)}));return this._playersById.set(u,ge),ge.onDestroy(()=>this.destroy(u)),this.players.push(ge),ge}destroy(u){const l=this._getPlayer(u);l.destroy(),this._playersById.delete(u);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(u){const l=this._playersById.get(u);if(!l)throw function Re(S){return new f.wOt(3301,!1)}();return l}listen(u,l,_,w){const x=Ui(l,"","","");return On(this._getPlayer(u),_,x,w),()=>{}}command(u,l,_,w){if("register"==_)return void this.register(u,w[0]);if("create"==_)return void this.create(u,l,w[0]||{});const x=this._getPlayer(u);switch(_){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(u)}}}const cs="ng-animate-queued",Ks="ng-animate-disabled",qi=[],Ts={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},M={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},T="__ng_removed";class D{get params(){return this.options.params}constructor(u,l=""){this.namespaceId=l;const _=u&&u.hasOwnProperty("value");if(this.value=function gi(S){return S??null}(_?u.value:u),_){const{value:x,...G}=u;this.options=G}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const l=u.params;if(l){const _=this.options.params;Object.keys(l).forEach(w=>{null==_[w]&&(_[w]=l[w])})}}}const V="void",ee=new D(V);class rt{constructor(u,l,_){this.id=u,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,er(l,this._hostClassName)}listen(u,l,_,w){if(!this._triggers.has(l))throw function tt(S,u){return new f.wOt(3302,!1)}();if(null==_||0==_.length)throw function ht(S){return new f.wOt(3303,!1)}();if(!function As(S){return"start"==S||"done"==S}(_))throw function qt(S,u){return new f.wOt(3400,!1)}();const x=hn(this._elementListeners,u,[]),G={name:l,phase:_,callback:w};x.push(G);const U=hn(this._engine.statesByElement,u,new Map);return U.has(l)||(er(u,Dn),er(u,Dn+"-"+l),U.set(l,ee)),()=>{this._engine.afterFlush(()=>{const te=x.indexOf(G);te>=0&&x.splice(te,1),this._triggers.has(l)||U.delete(l)})}}register(u,l){return!this._triggers.has(u)&&(this._triggers.set(u,l),!0)}_getTrigger(u){const l=this._triggers.get(u);if(!l)throw function ln(S){return new f.wOt(3401,!1)}();return l}trigger(u,l,_,w=!0){const x=this._getTrigger(l),G=new Ot(this.id,l,u);let U=this._engine.statesByElement.get(u);U||(er(u,Dn),er(u,Dn+"-"+l),this._engine.statesByElement.set(u,U=new Map));let te=U.get(l);const ge=new D(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&te&&ge.absorbOptions(te.options),U.set(l,ge),te||(te=ee),ge.value!==V&&te.value===ge.value){if(!function Vt(S,u){const l=Object.keys(S),_=Object.keys(u);if(l.length!=_.length)return!1;for(let w=0;w{_t(u,tn),on(u,it)})}return}const yt=hn(this._engine.playersByElement,u,[]);yt.forEach(ot=>{ot.namespaceId==this.id&&ot.triggerName==l&&ot.queued&&ot.destroy()});let vt=x.matchTransition(te.value,ge.value,u,ge.params),Ye=!1;if(!vt){if(!w)return;vt=x.fallbackTransition,Ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:l,transition:vt,fromState:te,toState:ge,player:G,isFallbackTransition:Ye}),Ye||(er(u,cs),G.onStart(()=>{Ni(u,cs)})),G.onDone(()=>{let ot=this.players.indexOf(G);ot>=0&&this.players.splice(ot,1);const tn=this._engine.playersByElement.get(u);if(tn){let it=tn.indexOf(G);it>=0&&tn.splice(it,1)}}),this.players.push(G),yt.push(G),G}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(l=>l.delete(u)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(w=>w.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const l=this._engine.playersByElement.get(u);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,l){const _=this._engine.driver.query(u,Ht,!0);_.forEach(w=>{if(w[T])return;const x=this._engine.fetchNamespacesByElement(w);x.size?x.forEach(G=>G.triggerLeaveAnimation(w,l,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(u,l,_,w){const x=this._engine.statesByElement.get(u),G=new Map;if(x){const U=[];if(x.forEach((te,ge)=>{if(G.set(ge,te.value),this._triggers.has(ge)){const Ge=this.trigger(u,ge,V,w);Ge&&U.push(Ge)}}),U.length)return this._engine.markElementAsRemoved(this.id,u,!0,l,G),_&&Tr(U).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const l=this._elementListeners.get(u),_=this._engine.statesByElement.get(u);if(l&&_){const w=new Set;l.forEach(x=>{const G=x.name;if(w.has(G))return;w.add(G);const te=this._triggers.get(G).fallbackTransition,ge=_.get(G)||ee,Ge=new D(V),ke=new Ot(this.id,G,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:G,transition:te,fromState:ge,toState:Ge,player:ke,isFallbackTransition:!0})})}}removeNode(u,l){const _=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,l),this.triggerLeaveAnimation(u,l,!0))return;let w=!1;if(_.totalAnimations){const x=_.players.length?_.playersByQueriedElement.get(u):[];if(x&&x.length)w=!0;else{let G=u;for(;G=G.parentNode;)if(_.statesByElement.get(G)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(u),w)_.markElementAsRemoved(this.id,u,!1,l);else{const x=u[T];(!x||x===Ts)&&(_.afterFlush(()=>this.clearElementCache(u)),_.destroyInnerAnimations(u),_._onRemovalComplete(u,l))}}insertNode(u,l){er(u,this._hostClassName)}drainQueuedTransitions(u){const l=[];return this._queue.forEach(_=>{const w=_.player;if(w.destroyed)return;const x=_.element,G=this._elementListeners.get(x);G&&G.forEach(U=>{if(U.name==_.triggerName){const te=Ui(x,_.triggerName,_.fromState.value,_.toState.value);te._data=u,On(_.player,U.phase,te,U.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):l.push(_)}),this._queue=[],l.sort((_,w)=>{const x=_.transition.ast.depCount,G=w.transition.ast.depCount;return 0==x||0==G?x-G:this._engine.driver.containsElement(_.element,w.element)?1:-1})}destroy(u){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class Et{_onRemovalComplete(u,l){this.onRemovalComplete(u,l)}constructor(u,l,_,w){this.bodyNode=u,this.driver=l,this._normalizer=_,this.scheduler=w,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(x,G)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&u.push(_)})}),u}createNamespace(u,l){const _=new rt(u,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[u]=_}_balanceNamespaceList(u,l){const _=this._namespaceList,w=this.namespacesByHostElement;if(_.length-1>=0){let G=!1,U=this.driver.getParentElement(l);for(;U;){const te=w.get(U);if(te){const ge=_.indexOf(te);_.splice(ge+1,0,u),G=!0;break}U=this.driver.getParentElement(U)}G||_.unshift(u)}else _.push(u);return w.set(l,u),u}register(u,l){let _=this._namespaceLookup[u];return _||(_=this.createNamespace(u,l)),_}registerTrigger(u,l,_){let w=this._namespaceLookup[u];w&&w.register(l,_)&&this.totalAnimations++}destroy(u,l){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const _=this._fetchNamespace(u);this.namespacesByHostElement.delete(_.hostElement);const w=this._namespaceList.indexOf(_);w>=0&&this._namespaceList.splice(w,1),_.destroy(l),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const l=new Set,_=this.statesByElement.get(u);if(_)for(let w of _.values())if(w.namespaceId){const x=this._fetchNamespace(w.namespaceId);x&&l.add(x)}return l}trigger(u,l,_,w){if(mi(l)){const x=this._fetchNamespace(u);if(x)return x.trigger(l,_,w),!0}return!1}insertNode(u,l,_,w){if(!mi(l))return;const x=l[T];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const G=this.collectedLeaveElements.indexOf(l);G>=0&&this.collectedLeaveElements.splice(G,1)}if(u){const G=this._fetchNamespace(u);G&&G.insertNode(l,_)}w&&this.collectEnterElement(l)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,l){l?this.disabledNodes.has(u)||(this.disabledNodes.add(u),er(u,Ks)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),Ni(u,Ks))}removeNode(u,l,_){if(mi(l)){this.scheduler?.notify();const w=u?this._fetchNamespace(u):null;w?w.removeNode(l,_):this.markElementAsRemoved(u,l,!1,_);const x=this.namespacesByHostElement.get(l);x&&x.id!==u&&x.removeNode(l,_)}else this._onRemovalComplete(l,_)}markElementAsRemoved(u,l,_,w,x){this.collectedLeaveElements.push(l),l[T]={namespaceId:u,setForRemoval:w,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:x}}listen(u,l,_,w,x){return mi(l)?this._fetchNamespace(u).listen(l,_,w,x):()=>{}}_buildInstruction(u,l,_,w,x){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,_,w,u.fromState.options,u.toState.options,l,x)}destroyInnerAnimations(u){let l=this.driver.query(u,Ht,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(u,Qn,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(u){const l=this.playersByElement.get(u);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(u){const l=this.playersByQueriedElement.get(u);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Tr(this.players).onDone(()=>u());u()})}processLeaveNode(u){const l=u[T];if(l&&l.setForRemoval){if(u[T]=Ts,l.namespaceId){this.destroyInnerAnimations(u);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(u)}this._onRemovalComplete(u,l.setForRemoval)}u.classList?.contains(Ks)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(u=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,w)=>this._balanceNamespaceList(_,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Tr(l).onDone(()=>{_.forEach(w=>w())}):_.forEach(w=>w())}}reportError(u){throw function Mn(S){return new f.wOt(3402,!1)}()}_flushAnimations(u,l){const _=new Zr,w=[],x=new Map,G=[],U=new Map,te=new Map,ge=new Map,Ge=new Set;this.disabledNodes.forEach(Je=>{Ge.add(Je);const ct=this.driver.query(Je,".ng-animate-queued",!0);for(let Ct=0;Ct{const Ct=lt+ot++;Ye.set(ct,Ct),Je.forEach(Kt=>er(Kt,Ct))});const tn=[],it=new Set,nn=new Set;for(let Je=0;Jeit.add(Kt)):nn.add(ct))}const pr=new Map,Ln=Os(yt,Array.from(it));Ln.forEach((Je,ct)=>{const Ct=Jt+ot++;pr.set(ct,Ct),Je.forEach(Kt=>er(Kt,Ct))}),u.push(()=>{vt.forEach((Je,ct)=>{const Ct=Ye.get(ct);Je.forEach(Kt=>Ni(Kt,Ct))}),Ln.forEach((Je,ct)=>{const Ct=pr.get(ct);Je.forEach(Kt=>Ni(Kt,Ct))}),tn.forEach(Je=>{this.processLeaveNode(Je)})});const an=[],Er=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(l).forEach(Ct=>{const Kt=Ct.player,Qt=Ct.element;if(an.push(Kt),this.collectedEnterElements.length){const vn=Qt[T];if(vn&&vn.setForMove){if(vn.previousTriggersValues&&vn.previousTriggersValues.has(Ct.triggerName)){const xi=vn.previousTriggersValues.get(Ct.triggerName),ti=this.statesByElement.get(Ct.element);if(ti&&ti.has(Ct.triggerName)){const ko=ti.get(Ct.triggerName);ko.value=xi,ti.set(Ct.triggerName,ko)}}return void Kt.destroy()}}const Fr=!ke||!this.driver.containsElement(ke,Qt),dn=pr.get(Qt),bn=Ye.get(Qt),wn=this._buildInstruction(Ct,_,bn,dn,Fr);if(wn.errors&&wn.errors.length)return void Er.push(wn);if(Fr)return Kt.onStart(()=>_t(Qt,wn.fromStyles)),Kt.onDestroy(()=>on(Qt,wn.toStyles)),void w.push(Kt);if(Ct.isFallbackTransition)return Kt.onStart(()=>_t(Qt,wn.fromStyles)),Kt.onDestroy(()=>on(Qt,wn.toStyles)),void w.push(Kt);const Zi=[];wn.timelines.forEach(vn=>{vn.stretchStartingKeyframe=!0,this.disabledNodes.has(vn.element)||Zi.push(vn)}),wn.timelines=Zi,_.append(Qt,wn.timelines),G.push({instruction:wn,player:Kt,element:Qt}),wn.queriedElements.forEach(vn=>hn(U,vn,[]).push(Kt)),wn.preStyleProps.forEach((vn,xi)=>{if(vn.size){let ti=te.get(xi);ti||te.set(xi,ti=new Set),vn.forEach((ko,mo)=>ti.add(mo))}}),wn.postStyleProps.forEach((vn,xi)=>{let ti=ge.get(xi);ti||ge.set(xi,ti=new Set),vn.forEach((ko,mo)=>ti.add(mo))})});if(Er.length){const Je=[];Er.forEach(ct=>{Je.push(function Un(S,u){return new f.wOt(3505,!1)}())}),an.forEach(ct=>ct.destroy()),this.reportError(Je)}const zn=new Map,Rn=new Map;G.forEach(Je=>{const ct=Je.element;_.has(ct)&&(Rn.set(ct,ct),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,zn))}),w.forEach(Je=>{const ct=Je.element;this._getPreviousPlayers(ct,!1,Je.namespaceId,Je.triggerName,null).forEach(Kt=>{hn(zn,ct,[]).push(Kt),Kt.destroy()})});const _i=tn.filter(Je=>Fn(Je,te,ge)),Fs=new Map;qs(Fs,this.driver,nn,ge,Ve.kp).forEach(Je=>{Fn(Je,te,ge)&&_i.push(Je)});const Wr=new Map;vt.forEach((Je,ct)=>{qs(Wr,this.driver,new Set(Je),te,Ve.FX)}),_i.forEach(Je=>{const ct=Fs.get(Je),Ct=Wr.get(Je);Fs.set(Je,new Map([...ct?.entries()??[],...Ct?.entries()??[]]))});const Di=[],At=[],ao={};G.forEach(Je=>{const{element:ct,player:Ct,instruction:Kt}=Je;if(_.has(ct)){if(Ge.has(ct))return Ct.onDestroy(()=>on(ct,Kt.toStyles)),Ct.disabled=!0,Ct.overrideTotalTime(Kt.totalTime),void w.push(Ct);let Qt=ao;if(Rn.size>1){let dn=ct;const bn=[];for(;dn=dn.parentNode;){const wn=Rn.get(dn);if(wn){Qt=wn;break}bn.push(dn)}bn.forEach(wn=>Rn.set(wn,Qt))}const Fr=this._buildAnimation(Ct.namespaceId,Kt,zn,x,Wr,Fs);if(Ct.setRealPlayer(Fr),Qt===ao)Di.push(Ct);else{const dn=this.playersByElement.get(Qt);dn&&dn.length&&(Ct.parentPlayer=Tr(dn)),w.push(Ct)}}else _t(ct,Kt.fromStyles),Ct.onDestroy(()=>on(ct,Kt.toStyles)),At.push(Ct),Ge.has(ct)&&w.push(Ct)}),At.forEach(Je=>{const ct=x.get(Je.element);if(ct&&ct.length){const Ct=Tr(ct);Je.setRealPlayer(Ct)}}),w.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!Fr.destroyed);Qt.length?To(this,ct,Qt):this.processLeaveNode(ct)}return tn.length=0,Di.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const ct=this.players.indexOf(Je);this.players.splice(ct,1)}),Je.play()}),Di}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,l,_,w,x){let G=[];if(l){const U=this.playersByQueriedElement.get(u);U&&(G=U)}else{const U=this.playersByElement.get(u);if(U){const te=!x||x==V;U.forEach(ge=>{ge.queued||!te&&ge.triggerName!=w||G.push(ge)})}}return(_||w)&&(G=G.filter(U=>!(_&&_!=U.namespaceId||w&&w!=U.triggerName))),G}_beforeAnimationBuild(u,l,_){const x=l.element,G=l.isRemovalTransition?void 0:u,U=l.isRemovalTransition?void 0:l.triggerName;for(const te of l.timelines){const ge=te.element,Ge=ge!==x,ke=hn(_,ge,[]);this._getPreviousPlayers(ge,Ge,G,U,l.toState).forEach(vt=>{const Ye=vt.getRealPlayer();Ye.beforeDestroy&&Ye.beforeDestroy(),vt.destroy(),ke.push(vt)})}_t(x,l.fromStyles)}_buildAnimation(u,l,_,w,x,G){const U=l.triggerName,te=l.element,ge=[],Ge=new Set,ke=new Set,yt=l.timelines.map(Ye=>{const ot=Ye.element;Ge.add(ot);const tn=ot[T];if(tn&&tn.removedBeforeQueried)return new Ve.sf(Ye.duration,Ye.delay);const it=ot!==te,nn=function Ao(S){const u=[];return Ns(S,u),u}((_.get(ot)||qi).map(zn=>zn.getRealPlayer())).filter(zn=>!!zn.element&&zn.element===ot),pr=x.get(ot),Ln=G.get(ot),an=Es(this._normalizer,Ye.keyframes,pr,Ln),Er=this._buildPlayer(Ye,an,nn);if(Ye.subTimeline&&w&&ke.add(ot),it){const zn=new Ot(u,U,ot);zn.setRealPlayer(Er),ge.push(zn)}return Er});ge.forEach(Ye=>{hn(this.playersByQueriedElement,Ye.element,[]).push(Ye),Ye.onDone(()=>function pi(S,u,l){let _=S.get(u);if(_){if(_.length){const w=_.indexOf(l);_.splice(w,1)}0==_.length&&S.delete(u)}return _}(this.playersByQueriedElement,Ye.element,Ye))}),Ge.forEach(Ye=>er(Ye,xn));const vt=Tr(yt);return vt.onDestroy(()=>{Ge.forEach(Ye=>Ni(Ye,xn)),on(te,l.toStyles)}),ke.forEach(Ye=>{hn(w,Ye,[]).push(vt)}),vt}_buildPlayer(u,l,_){return l.length>0?this.driver.animate(u.element,l,u.duration,u.delay,u.easing,_):new Ve.sf(u.duration,u.delay)}}class Ot{constructor(u,l,_){this.namespaceId=u,this.triggerName=l,this.element=_,this._player=new Ve.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((l,_)=>{l.forEach(w=>On(u,_,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const l=this._player;l.triggerCallback&&u.onStart(()=>l.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,l){hn(this._queuedCallbacks,u,[]).push(l)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const l=this._player;l.triggerCallback&&l.triggerCallback(u)}}function mi(S){return S&&1===S.nodeType}function Xs(S,u){const l=S.style.display;return S.style.display=u??"none",l}function qs(S,u,l,_,w){const x=[];l.forEach(te=>x.push(Xs(te)));const G=[];_.forEach((te,ge)=>{const Ge=new Map;te.forEach(ke=>{const yt=u.computeStyle(ge,ke,w);Ge.set(ke,yt),(!yt||0==yt.length)&&(ge[T]=M,G.push(ge))}),S.set(ge,Ge)});let U=0;return l.forEach(te=>Xs(te,x[U++])),G}function Os(S,u){const l=new Map;if(S.forEach(U=>l.set(U,[])),0==u.length)return l;const w=new Set(u),x=new Map;function G(U){if(!U)return 1;let te=x.get(U);if(te)return te;const ge=U.parentNode;return te=l.has(ge)?ge:w.has(ge)?1:G(ge),x.set(U,te),te}return u.forEach(U=>{const te=G(U);1!==te&&l.get(te).push(U)}),l}function er(S,u){S.classList?.add(u)}function Ni(S,u){S.classList?.remove(u)}function To(S,u,l){Tr(l).onDone(()=>S.processLeaveNode(u))}function Ns(S,u){for(let l=0;lw.add(x)):u.set(S,_),l.delete(S),!0}class Cn{constructor(u,l,_,w){this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(x,G)=>{},this._transitionEngine=new Et(u.body,l,_,w),this._timelineEngine=new Pr(u.body,l,_),this._transitionEngine.onRemovalComplete=(x,G)=>this.onRemovalComplete(x,G)}registerTrigger(u,l,_,w,x){const G=u+"-"+w;let U=this._triggerCache[G];if(!U){const te=[],Ge=gt(this._driver,x,te,[]);if(te.length)throw function dr(S,u){return new f.wOt(3404,!1)}();U=function Ss(S,u,l){return new Is(S,u,l)}(w,Ge,this._normalizer),this._triggerCache[G]=U}this._transitionEngine.registerTrigger(l,w,U)}register(u,l){this._transitionEngine.register(u,l)}destroy(u,l){this._transitionEngine.destroy(u,l)}onInsert(u,l,_,w){this._transitionEngine.insertNode(u,l,_,w)}onRemove(u,l,_){this._transitionEngine.removeNode(u,l,_)}disableAnimations(u,l){this._transitionEngine.markElementAsDisabled(u,l)}process(u,l,_,w){if("@"==_.charAt(0)){const[x,G]=Xr(_);this._timelineEngine.command(x,l,G,w)}else this._transitionEngine.trigger(u,l,_,w)}listen(u,l,_,w,x){if("@"==_.charAt(0)){const[G,U]=Xr(_);return this._timelineEngine.listen(G,l,U,x)}return this._transitionEngine.listen(u,l,_,w,x)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}}class $n{static#e=this.initialStylesByElement=new WeakMap;constructor(u,l,_){this._element=u,this._startStyles=l,this._endStyles=_,this._state=0;let w=$n.initialStylesByElement.get(u);w||$n.initialStylesByElement.set(u,w=new Map),this._initialStyles=w}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&($n.initialStylesByElement.delete(this._element),this._startStyles&&(_t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_t(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}function Rs(S){let u=null;return S.forEach((l,_)=>{(function Ys(S){return"display"===S||"position"===S})(_)&&(u=u||new Map,u.set(_,l))}),u}class yi{constructor(u,l,_,w){this.element=u,this.keyframes=l,this.options=_,this._specialStyles=w,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;const l=()=>this._onFinish();this.domPlayer.addEventListener("finish",l),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",l)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const l=[];return u.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(u,l,_){return u.animate(this._convertKeyframesToObject(l),_)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,w)=>{"offset"!==w&&u.set(w,this._finished?_:Hi(this.element,w))}),this.currentSnapshot=u}triggerCallback(u){const l="start"===u?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class Zs{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,l){return!1}containsElement(u,l){return ji(u,l)}getParentElement(u){return yr(u)}query(u,l,_){return fr(u,l,_)}computeStyle(u,l,_){return Hi(u,l)}animate(u,l,_,w,x,G=[]){const te={duration:_,delay:w,fill:0==w?"both":"forwards"};x&&(te.easing=x);const ge=new Map,Ge=G.filter(vt=>vt instanceof yi);(function Si(S,u){return 0===S||0===u})(_,w)&&Ge.forEach(vt=>{vt.currentSnapshot.forEach((Ye,ot)=>ge.set(ot,Ye))});let ke=function hr(S){return S.length?S[0]instanceof Map?S:S.map(u=>new Map(Object.entries(u))):[]}(l).map(vt=>new Map(vt));ke=function Ft(S,u,l){if(l.size&&u.length){let _=u[0],w=[];if(l.forEach((x,G)=>{_.has(G)||w.push(G),_.set(G,x)}),w.length)for(let x=1;xG.set(U,Hi(S,U)))}}return u}(u,ke,ge);const yt=function Ar(S,u){let l=null,_=null;return Array.isArray(u)&&u.length?(l=Rs(u[0]),u.length>1&&(_=Rs(u[u.length-1]))):u instanceof Map&&(l=Rs(u)),l||_?new $n(S,l,_):null}(u,ke);return new yi(u,ke,te,yt)}}const fs="@.disabled";class Js{constructor(u,l,_,w){this.namespaceId=u,this.delegate=l,this.engine=_,this._onDestroy=w,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(u){this.delegate.destroyNode?.(u)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(u,l){return this.delegate.createElement(u,l)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,l){this.delegate.appendChild(u,l),this.engine.onInsert(this.namespaceId,l,u,!1)}insertBefore(u,l,_,w=!0){this.delegate.insertBefore(u,l,_),this.engine.onInsert(this.namespaceId,l,u,w)}removeChild(u,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(u,l){return this.delegate.selectRootElement(u,l)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,l,_,w){this.delegate.setAttribute(u,l,_,w)}removeAttribute(u,l,_){this.delegate.removeAttribute(u,l,_)}addClass(u,l){this.delegate.addClass(u,l)}removeClass(u,l){this.delegate.removeClass(u,l)}setStyle(u,l,_,w){this.delegate.setStyle(u,l,_,w)}removeStyle(u,l,_){this.delegate.removeStyle(u,l,_)}setProperty(u,l,_){"@"==l.charAt(0)&&l==fs?this.disableAnimations(u,!!_):this.delegate.setProperty(u,l,_)}setValue(u,l){this.delegate.setValue(u,l)}listen(u,l,_){return this.delegate.listen(u,l,_)}disableAnimations(u,l){this.engine.disableAnimations(u,l)}}class hs extends Js{constructor(u,l,_,w,x){super(l,_,w,x),this.factory=u,this.namespaceId=l}setProperty(u,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==fs?this.disableAnimations(u,_=void 0===_||!!_):this.engine.process(this.namespaceId,u,l.slice(1),_):this.delegate.setProperty(u,l,_)}listen(u,l,_){if("@"==l.charAt(0)){const w=function za(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(u);let x=l.slice(1),G="";return"@"!=x.charAt(0)&&([x,G]=function xs(S){const u=S.indexOf(".");return[S.substring(0,u),S.slice(u+1)]}(x)),this.engine.listen(this.namespaceId,w,x,G,U=>{this.factory.scheduleListenerCallback(U._data||-1,_,U)})}return this.delegate.listen(u,l,_)}}class qo{constructor(u,l,_){this.delegate=u,this.engine=l,this._zone=_,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,l.onRemovalComplete=(w,x)=>{const G=x?.parentNode(w);G&&x.removeChild(G,w)}}createRenderer(u,l){const w=this.delegate.createRenderer(u,l);if(!u||!l?.data?.animation){const ge=this._rendererCache;let Ge=ge.get(w);return Ge||(Ge=new Js("",w,this.engine,()=>ge.delete(w)),ge.set(w,Ge)),Ge}const x=l.id,G=l.id+"-"+this._currentId;this._currentId++,this.engine.register(G,u);const U=ge=>{Array.isArray(ge)?ge.forEach(U):this.engine.registerTrigger(x,G,u,ge.name,ge)};return l.data.animation.forEach(U),new hs(this,G,w,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,l,_){if(u>=0&&ul(_));const w=this._animationCallbacksBuffer;0==w.length&&queueMicrotask(()=>{this._zone.run(()=>{w.forEach(x=>{const[G,U]=x;G(U)}),this._animationCallbacksBuffer=[]})}),w.push([l,_])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const vi=[{provide:we,useFactory:function Oo(){return new ns}},{provide:Cn,useClass:(()=>{class S extends Cn{constructor(l,_,w){super(l,_,w,(0,f.WQX)(f.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(_){return new(_||S)(f.KVO(v.qQ),f.KVO(q),f.KVO(we))};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})()},{provide:f._9s,useFactory:function No(S,u,l){return new qo(S,u,l)},deps:[g.B7,Cn,f.SKi]}],to=[{provide:q,useFactory:()=>new Zs},{provide:f.bc$,useValue:"BrowserAnimations"},...vi],Ri=[{provide:q,useClass:X},{provide:f.bc$,useValue:"NoopAnimations"},...vi];let no=(()=>{class S{static withConfig(l){return{ngModule:S,providers:l.disableAnimations?Ri:to}}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({providers:to,imports:[g.Bb]})}return S})();var xr=N(494),ps=N(1631),io=N(8542),Po=N(563),xo=N(6497),Zo=N(1455);const gs=["submenu"],Jo=["app-menuitem",""],ea=()=>({paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"});function ta(S,u){if(1&S&&(f.j41(0,"div",5),f.EFF(1),f.k0s()),2&S){const l=f.XpG();f.R7$(),f.JRh(l.item.label)}}function so(S,u){1&S&&f.nrm(0,"i",10)}function Yi(S,u){if(1&S){const l=f.RV6();f.j41(0,"a",6),f.bIt("click",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.itemClick(w))})("mouseenter",function(){f.eBV(l);const w=f.XpG();return f.Njj(w.onMouseEnter())}),f.nrm(1,"i",7),f.j41(2,"span",8),f.EFF(3),f.k0s(),f.DNE(4,so,1,0,"i",9),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("ngClass",l.item.class)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root&&!l.active)),f.BMQ("href",l.item.url,f.B4B)("target",l.item.target),f.R7$(),f.Y8G("ngClass",l.item.icon),f.R7$(2),f.JRh(l.item.label),f.R7$(),f.Y8G("ngIf",l.item.items)}}function Fo(S,u){1&S&&f.nrm(0,"i",10)}function oo(S,u){if(1&S){const l=f.RV6();f.j41(0,"a",11),f.bIt("click",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.itemClick(w))})("mouseenter",function(){f.eBV(l);const w=f.XpG();return f.Njj(w.onMouseEnter())}),f.nrm(1,"i",7),f.j41(2,"span",8),f.EFF(3),f.k0s(),f.DNE(4,Fo,1,0,"i",9),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("ngClass",l.item.class)("routerLink",l.item.routerLink)("routerLinkActiveOptions",l.item.routerLinkActiveOptions||f.lJ4(16,ea))("fragment",l.item.fragment)("queryParamsHandling",l.item.queryParamsHandling)("preserveFragment",l.item.preserveFragment)("skipLocationChange",l.item.skipLocationChange)("replaceUrl",l.item.replaceUrl)("state",l.item.state)("queryParams",l.item.queryParams)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root)),f.BMQ("target",l.item.target),f.R7$(),f.Y8G("ngClass",l.item.icon),f.R7$(2),f.JRh(l.item.label),f.R7$(),f.Y8G("ngIf",l.item.items)}}function p(S,u){if(1&S&&f.nrm(0,"li",13),2&S){const l=u.$implicit,_=u.index,w=f.XpG(2);f.HbH(l.badgeClass),f.Y8G("item",l)("index",_)("parentKey",w.key)}}function R(S,u){if(1&S){const l=f.RV6();f.j41(0,"ul",null,0),f.bIt("@children.done",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.onSubmenuAnimated(w))}),f.DNE(2,p,1,5,"ng-template",12),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("@children",l.submenuAnimation),f.R7$(2),f.Y8G("ngForOf",l.item.items)}}let E=(()=>{class S{constructor(l,_,w,x,G){this.layoutService=l,this.cd=_,this.router=w,this.appSidebar=x,this.menuService=G,this.active=!1,this.key="",this.menuSourceSubscription=this.menuService.menuSource$.subscribe(U=>{Promise.resolve(null).then(()=>{U.routeEvent?this.active=!(U.key!==this.key&&!U.key.startsWith(this.key+"-")):U.key!==this.key&&!U.key.startsWith(this.key+"-")&&(this.active=!1)})}),this.menuResetSubscription=this.menuService.resetSource$.subscribe(()=>{this.active=!1}),this.router.events.pipe((0,re.p)(U=>U instanceof F.wF)).subscribe(U=>{this.isSlimPlus||this.isSlim||this.isHorizontal?this.active=!1:this.item.routerLink&&this.updateActiveStateFromRoute()})}ngOnInit(){this.key=this.parentKey?this.parentKey+"-"+this.index:String(this.index),!(this.isSlimPlus||this.isSlim||this.isHorizontal)&&this.item.routerLink&&this.updateActiveStateFromRoute()}ngAfterViewChecked(){this.root&&this.active&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&this.calculatePosition(this.submenu?.nativeElement,this.submenu?.nativeElement.parentElement)}updateActiveStateFromRoute(){this.router.isActive(this.item.routerLink[0],{paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"})&&this.menuService.onMenuStateChange({key:this.key,routeEvent:!0})}onSubmenuAnimated(l){if("visible"===l.toState&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())){const _=l.element;this.calculatePosition(_,_.parentElement)}}calculatePosition(l,_){if(l){const{left:w,top:x}=_.getBoundingClientRect(),[G,U]=[window.innerWidth,window.innerHeight],[te,ge]=[l.offsetWidth,l.offsetHeight],Ge=Zo.D.calculateScrollbarWidth();if(l.style.top="",l.style.left="",this.layoutService.isHorizontal()){const ke=w+te+Ge;l.style.left=G expanded",(0,Ve.i0)("400ms cubic-bezier(0.86, 0, 0.07, 1)"))])]}})}return S})(),I=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[g.Bb,fn.YN,Gn.q1,no,Le.u,Ee.n,Y.EJ,xr.Ko,ps.H_,He.tm,io.S,Po.Z,F.iI,xo.G]})}return S})();f.wjB(k,[v.Sq,v.bT,E],[]);let z=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[v.MD]})}return S})();const ve=[];var Ne=N(980);let nt=(()=>{class S{constructor(l){this.loadingService=l}intercept(l,_){return ve.some(x=>l.url.toLowerCase().includes(x.toLowerCase()))?_.handle(l):(this.loadingService.setLoading(!0,l.url),_.handle(l).pipe((0,Ne.j)(()=>{this.loadingService.setLoading(!1,l.url)})))}static#e=this.\u0275fac=function(_){return new(_||S)(f.KVO(Gt))};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})(),gn=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S,bootstrap:[Pn]});static#n=this.\u0275inj=f.G2t({providers:[{provide:v.hb,useClass:v.fw},{provide:Gn.a7,useClass:nt,multi:!0}],imports:[ze,I,z]})}return S})();g.sG().bootstrapModule(gn).catch(S=>console.error(S))},4412:(Ze,De,N)=>{N.d(De,{t:()=>v});var g=N(1413);class v extends g.B{constructor(re){super(),this._value=re}get value(){return this.getValue()}_subscribe(re){const f=super._subscribe(re);return!f.closed&&re.next(this._value),f}getValue(){const{hasError:re,thrownError:f,_value:L}=this;if(re)throw f;return this._throwIfClosed(),L}next(re){super.next(this._value=re)}}},1985:(Ze,De,N)=>{N.d(De,{c:()=>$});var g=N(7707),v=N(8359),F=N(3494),re=N(1203),f=N(1026),L=N(8071),A=N(9786);let $=(()=>{class J{constructor(fe){fe&&(this._subscribe=fe)}lift(fe){const be=new J;return be.source=this,be.operator=fe,be}subscribe(fe,be,Le){const He=function W(J){return J&&J instanceof g.vU||function k(J){return J&&(0,L.T)(J.next)&&(0,L.T)(J.error)&&(0,L.T)(J.complete)}(J)&&(0,v.Uv)(J)}(fe)?fe:new g.Ms(fe,be,Le);return(0,A.Y)(()=>{const{operator:at,source:Bt}=this;He.add(at?at.call(He,Bt):Bt?this._subscribe(He):this._trySubscribe(He))}),He}_trySubscribe(fe){try{return this._subscribe(fe)}catch(be){fe.error(be)}}forEach(fe,be){return new(be=H(be))((Le,He)=>{const at=new g.Ms({next:Bt=>{try{fe(Bt)}catch(St){He(St),at.unsubscribe()}},error:He,complete:Le});this.subscribe(at)})}_subscribe(fe){var be;return null===(be=this.source)||void 0===be?void 0:be.subscribe(fe)}[F.s](){return this}pipe(...fe){return(0,re.m)(fe)(this)}toPromise(fe){return new(fe=H(fe))((be,Le)=>{let He;this.subscribe(at=>He=at,at=>Le(at),()=>be(He))})}}return J.create=le=>new J(le),J})();function H(J){var le;return null!==(le=J??f.$.Promise)&&void 0!==le?le:Promise}},1413:(Ze,De,N)=>{N.d(De,{B:()=>A});var g=N(1985),v=N(8359);const re=(0,N(1853).L)(H=>function(){H(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var f=N(7908),L=N(9786);let A=(()=>{class H extends g.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(W){const J=new $(this,this);return J.operator=W,J}_throwIfClosed(){if(this.closed)throw new re}next(W){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(W)}})}error(W){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=W;const{observers:J}=this;for(;J.length;)J.shift().error(W)}})}complete(){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:W}=this;for(;W.length;)W.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var W;return(null===(W=this.observers)||void 0===W?void 0:W.length)>0}_trySubscribe(W){return this._throwIfClosed(),super._trySubscribe(W)}_subscribe(W){return this._throwIfClosed(),this._checkFinalizedStatuses(W),this._innerSubscribe(W)}_innerSubscribe(W){const{hasError:J,isStopped:le,observers:fe}=this;return J||le?v.Kn:(this.currentObservers=null,fe.push(W),new v.yU(()=>{this.currentObservers=null,(0,f.o)(fe,W)}))}_checkFinalizedStatuses(W){const{hasError:J,thrownError:le,isStopped:fe}=this;J?W.error(le):fe&&W.complete()}asObservable(){const W=new g.c;return W.source=this,W}}return H.create=(k,W)=>new $(k,W),H})();class $ extends A{constructor(k,W){super(),this.destination=k,this.source=W}next(k){var W,J;null===(J=null===(W=this.destination)||void 0===W?void 0:W.next)||void 0===J||J.call(W,k)}error(k){var W,J;null===(J=null===(W=this.destination)||void 0===W?void 0:W.error)||void 0===J||J.call(W,k)}complete(){var k,W;null===(W=null===(k=this.destination)||void 0===k?void 0:k.complete)||void 0===W||W.call(k)}_subscribe(k){var W,J;return null!==(J=null===(W=this.source)||void 0===W?void 0:W.subscribe(k))&&void 0!==J?J:v.Kn}}},7707:(Ze,De,N)=>{N.d(De,{Ms:()=>Le,vU:()=>J});var g=N(8071),v=N(8359),F=N(1026),re=N(5334),f=N(5343);const L=H("C",void 0,void 0);function H($e,pe,et){return{kind:$e,value:pe,error:et}}var k=N(9270),W=N(9786);class J extends v.yU{constructor(pe){super(),this.isStopped=!1,pe?(this.destination=pe,(0,v.Uv)(pe)&&pe.add(this)):this.destination=St}static create(pe,et,se){return new Le(pe,et,se)}next(pe){this.isStopped?Bt(function $($e){return H("N",$e,void 0)}(pe),this):this._next(pe)}error(pe){this.isStopped?Bt(function A($e){return H("E",void 0,$e)}(pe),this):(this.isStopped=!0,this._error(pe))}complete(){this.isStopped?Bt(L,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(pe){this.destination.next(pe)}_error(pe){try{this.destination.error(pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const le=Function.prototype.bind;function fe($e,pe){return le.call($e,pe)}class be{constructor(pe){this.partialObserver=pe}next(pe){const{partialObserver:et}=this;if(et.next)try{et.next(pe)}catch(se){He(se)}}error(pe){const{partialObserver:et}=this;if(et.error)try{et.error(pe)}catch(se){He(se)}else He(pe)}complete(){const{partialObserver:pe}=this;if(pe.complete)try{pe.complete()}catch(et){He(et)}}}class Le extends J{constructor(pe,et,se){let ne;if(super(),(0,g.T)(pe)||!pe)ne={next:pe??void 0,error:et??void 0,complete:se??void 0};else{let Ie;this&&F.$.useDeprecatedNextContext?(Ie=Object.create(pe),Ie.unsubscribe=()=>this.unsubscribe(),ne={next:pe.next&&fe(pe.next,Ie),error:pe.error&&fe(pe.error,Ie),complete:pe.complete&&fe(pe.complete,Ie)}):ne=pe}this.destination=new be(ne)}}function He($e){F.$.useDeprecatedSynchronousErrorHandling?(0,W.l)($e):(0,re.m)($e)}function Bt($e,pe){const{onStoppedNotification:et}=F.$;et&&k.f.setTimeout(()=>et($e,pe))}const St={closed:!0,next:f.l,error:function at($e){throw $e},complete:f.l}},8359:(Ze,De,N)=>{N.d(De,{Kn:()=>L,yU:()=>f,Uv:()=>A});var g=N(8071);const F=(0,N(1853).L)(H=>function(W){H(this),this.message=W?`${W.length} errors occurred during unsubscription:\n${W.map((J,le)=>`${le+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=W});var re=N(7908);class f{constructor(k){this.initialTeardown=k,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let k;if(!this.closed){this.closed=!0;const{_parentage:W}=this;if(W)if(this._parentage=null,Array.isArray(W))for(const fe of W)fe.remove(this);else W.remove(this);const{initialTeardown:J}=this;if((0,g.T)(J))try{J()}catch(fe){k=fe instanceof F?fe.errors:[fe]}const{_finalizers:le}=this;if(le){this._finalizers=null;for(const fe of le)try{$(fe)}catch(be){k=k??[],be instanceof F?k=[...k,...be.errors]:k.push(be)}}if(k)throw new F(k)}}add(k){var W;if(k&&k!==this)if(this.closed)$(k);else{if(k instanceof f){if(k.closed||k._hasParent(this))return;k._addParent(this)}(this._finalizers=null!==(W=this._finalizers)&&void 0!==W?W:[]).push(k)}}_hasParent(k){const{_parentage:W}=this;return W===k||Array.isArray(W)&&W.includes(k)}_addParent(k){const{_parentage:W}=this;this._parentage=Array.isArray(W)?(W.push(k),W):W?[W,k]:k}_removeParent(k){const{_parentage:W}=this;W===k?this._parentage=null:Array.isArray(W)&&(0,re.o)(W,k)}remove(k){const{_finalizers:W}=this;W&&(0,re.o)(W,k),k instanceof f&&k._removeParent(this)}}f.EMPTY=(()=>{const H=new f;return H.closed=!0,H})();const L=f.EMPTY;function A(H){return H instanceof f||H&&"closed"in H&&(0,g.T)(H.remove)&&(0,g.T)(H.add)&&(0,g.T)(H.unsubscribe)}function $(H){(0,g.T)(H)?H():H.unsubscribe()}},1026:(Ze,De,N)=>{N.d(De,{$:()=>g});const g={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8793:(Ze,De,N)=>{N.d(De,{x:()=>f});var g=N(6365),F=N(9326),re=N(6648);function f(...L){return function v(){return(0,g.U)(1)}()((0,re.H)(L,(0,F.lI)(L)))}},983:(Ze,De,N)=>{N.d(De,{w:()=>v});const v=new(N(1985).c)(f=>f.complete())},6648:(Ze,De,N)=>{N.d(De,{H:()=>se});var g=N(8750),v=N(5225),F=N(9974),re=N(4360);function f(ne,Ie=0){return(0,F.N)((Ee,Y)=>{Ee.subscribe((0,re._)(Y,xe=>(0,v.N)(Y,ne,()=>Y.next(xe),Ie),()=>(0,v.N)(Y,ne,()=>Y.complete(),Ie),xe=>(0,v.N)(Y,ne,()=>Y.error(xe),Ie)))})}function L(ne,Ie=0){return(0,F.N)((Ee,Y)=>{Y.add(ne.schedule(()=>Ee.subscribe(Y),Ie))})}var H=N(1985),W=N(4761),J=N(8071);function fe(ne,Ie){if(!ne)throw new Error("Iterable cannot be null");return new H.c(Ee=>{(0,v.N)(Ee,Ie,()=>{const Y=ne[Symbol.asyncIterator]();(0,v.N)(Ee,Ie,()=>{Y.next().then(xe=>{xe.done?Ee.complete():Ee.next(xe.value)})},0,!0)})})}var be=N(5055),Le=N(9858),He=N(7441),at=N(5397),Bt=N(7953),St=N(591),$e=N(5196);function se(ne,Ie){return Ie?function et(ne,Ie){if(null!=ne){if((0,be.l)(ne))return function A(ne,Ie){return(0,g.Tg)(ne).pipe(L(Ie),f(Ie))}(ne,Ie);if((0,He.X)(ne))return function k(ne,Ie){return new H.c(Ee=>{let Y=0;return Ie.schedule(function(){Y===ne.length?Ee.complete():(Ee.next(ne[Y++]),Ee.closed||this.schedule())})})}(ne,Ie);if((0,Le.y)(ne))return function $(ne,Ie){return(0,g.Tg)(ne).pipe(L(Ie),f(Ie))}(ne,Ie);if((0,Bt.T)(ne))return fe(ne,Ie);if((0,at.x)(ne))return function le(ne,Ie){return new H.c(Ee=>{let Y;return(0,v.N)(Ee,Ie,()=>{Y=ne[W.l](),(0,v.N)(Ee,Ie,()=>{let xe,ae;try{({value:xe,done:ae}=Y.next())}catch(qe){return void Ee.error(qe)}ae?Ee.complete():Ee.next(xe)},0,!0)}),()=>(0,J.T)(Y?.return)&&Y.return()})}(ne,Ie);if((0,$e.U)(ne))return function pe(ne,Ie){return fe((0,$e.C)(ne),Ie)}(ne,Ie)}throw(0,St.L)(ne)}(ne,Ie):(0,g.Tg)(ne)}},8750:(Ze,De,N)=>{N.d(De,{Tg:()=>le});var g=N(1635),v=N(7441),F=N(9858),re=N(1985),f=N(5055),L=N(7953),A=N(591),$=N(5397),H=N(5196),k=N(8071),W=N(5334),J=N(3494);function le($e){if($e instanceof re.c)return $e;if(null!=$e){if((0,f.l)($e))return function fe($e){return new re.c(pe=>{const et=$e[J.s]();if((0,k.T)(et.subscribe))return et.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($e);if((0,v.X)($e))return function be($e){return new re.c(pe=>{for(let et=0;et<$e.length&&!pe.closed;et++)pe.next($e[et]);pe.complete()})}($e);if((0,F.y)($e))return function Le($e){return new re.c(pe=>{$e.then(et=>{pe.closed||(pe.next(et),pe.complete())},et=>pe.error(et)).then(null,W.m)})}($e);if((0,L.T)($e))return at($e);if((0,$.x)($e))return function He($e){return new re.c(pe=>{for(const et of $e)if(pe.next(et),pe.closed)return;pe.complete()})}($e);if((0,H.U)($e))return function Bt($e){return at((0,H.C)($e))}($e)}throw(0,A.L)($e)}function at($e){return new re.c(pe=>{(function St($e,pe){var et,se,ne,Ie;return(0,g.sH)(this,void 0,void 0,function*(){try{for(et=(0,g.xN)($e);!(se=yield et.next()).done;)if(pe.next(se.value),pe.closed)return}catch(Ee){ne={error:Ee}}finally{try{se&&!se.done&&(Ie=et.return)&&(yield Ie.call(et))}finally{if(ne)throw ne.error}}pe.complete()})})($e,pe).catch(et=>pe.error(et))})}},7673:(Ze,De,N)=>{N.d(De,{of:()=>F});var g=N(9326),v=N(6648);function F(...re){const f=(0,g.lI)(re);return(0,v.H)(re,f)}},1584:(Ze,De,N)=>{N.d(De,{O:()=>f});var g=N(1985),v=N(3888),F=N(9470);function f(L=0,A,$=v.b){let H=-1;return null!=A&&((0,F.m)(A)?$=A:H=A),new g.c(k=>{let W=function re(L){return L instanceof Date&&!isNaN(L)}(L)?+L-$.now():L;W<0&&(W=0);let J=0;return $.schedule(function(){k.closed||(k.next(J++),0<=H?this.schedule(void 0,H):k.complete())},W)})}},4360:(Ze,De,N)=>{N.d(De,{_:()=>v});var g=N(7707);function v(re,f,L,A,$){return new F(re,f,L,A,$)}class F extends g.vU{constructor(f,L,A,$,H,k){super(f),this.onFinalize=H,this.shouldUnsubscribe=k,this._next=L?function(W){try{L(W)}catch(J){f.error(J)}}:super._next,this._error=$?function(W){try{$(W)}catch(J){f.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(W){f.error(W)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:L}=this;super.unsubscribe(),!L&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}}}},274:(Ze,De,N)=>{N.d(De,{H:()=>F});var g=N(1397),v=N(8071);function F(re,f){return(0,v.T)(f)?(0,g.Z)(re,f,1):(0,g.Z)(re,1)}},5964:(Ze,De,N)=>{N.d(De,{p:()=>F});var g=N(9974),v=N(4360);function F(re,f){return(0,g.N)((L,A)=>{let $=0;L.subscribe((0,v._)(A,H=>re.call(f,H,$++)&&A.next(H)))})}},980:(Ze,De,N)=>{N.d(De,{j:()=>v});var g=N(9974);function v(F){return(0,g.N)((re,f)=>{try{re.subscribe(f)}finally{f.add(F)}})}},6354:(Ze,De,N)=>{N.d(De,{T:()=>F});var g=N(9974),v=N(4360);function F(re,f){return(0,g.N)((L,A)=>{let $=0;L.subscribe((0,v._)(A,H=>{A.next(re.call(f,H,$++))}))})}},3703:(Ze,De,N)=>{N.d(De,{u:()=>v});var g=N(6354);function v(F){return(0,g.T)(()=>F)}},6365:(Ze,De,N)=>{N.d(De,{U:()=>F});var g=N(1397),v=N(3669);function F(re=1/0){return(0,g.Z)(v.D,re)}},1397:(Ze,De,N)=>{N.d(De,{Z:()=>$});var g=N(6354),v=N(8750),F=N(9974),re=N(5225),f=N(4360),A=N(8071);function $(H,k,W=1/0){return(0,A.T)(k)?$((J,le)=>(0,g.T)((fe,be)=>k(J,fe,le,be))((0,v.Tg)(H(J,le))),W):("number"==typeof k&&(W=k),(0,F.N)((J,le)=>function L(H,k,W,J,le,fe,be,Le){const He=[];let at=0,Bt=0,St=!1;const $e=()=>{St&&!He.length&&!at&&k.complete()},pe=se=>at{fe&&k.next(se),at++;let ne=!1;(0,v.Tg)(W(se,Bt++)).subscribe((0,f._)(k,Ie=>{le?.(Ie),fe?pe(Ie):k.next(Ie)},()=>{ne=!0},void 0,()=>{if(ne)try{for(at--;He.length&&atet(Ie)):et(Ie)}$e()}catch(Ie){k.error(Ie)}}))};return H.subscribe((0,f._)(k,pe,()=>{St=!0,$e()})),()=>{Le?.()}}(J,le,H,W)))}},5558:(Ze,De,N)=>{N.d(De,{n:()=>re});var g=N(8750),v=N(9974),F=N(4360);function re(f,L){return(0,v.N)((A,$)=>{let H=null,k=0,W=!1;const J=()=>W&&!H&&$.complete();A.subscribe((0,F._)($,le=>{H?.unsubscribe();let fe=0;const be=k++;(0,g.Tg)(f(le,be)).subscribe(H=(0,F._)($,Le=>$.next(L?L(le,Le,be,fe++):Le),()=>{H=null,J()}))},()=>{W=!0,J()}))})}},6697:(Ze,De,N)=>{N.d(De,{s:()=>re});var g=N(983),v=N(9974),F=N(4360);function re(f){return f<=0?()=>g.w:(0,v.N)((L,A)=>{let $=0;L.subscribe((0,F._)(A,H=>{++$<=f&&(A.next(H),f<=$&&A.complete())}))})}},3888:(Ze,De,N)=>{N.d(De,{b:()=>k,E:()=>H});var g=N(8359);class v extends g.yU{constructor(J,le){super()}schedule(J,le=0){return this}}const F={setInterval(W,J,...le){const{delegate:fe}=F;return fe?.setInterval?fe.setInterval(W,J,...le):setInterval(W,J,...le)},clearInterval(W){const{delegate:J}=F;return(J?.clearInterval||clearInterval)(W)},delegate:void 0};var re=N(7908);const L={now:()=>(L.delegate||Date).now(),delegate:void 0};class A{constructor(J,le=A.now){this.schedulerActionCtor=J,this.now=le}schedule(J,le=0,fe){return new this.schedulerActionCtor(this,J).schedule(fe,le)}}A.now=L.now;const H=new class $ extends A{constructor(J,le=A.now){super(J,le),this.actions=[],this._active=!1}flush(J){const{actions:le}=this;if(this._active)return void le.push(J);let fe;this._active=!0;do{if(fe=J.execute(J.state,J.delay))break}while(J=le.shift());if(this._active=!1,fe){for(;J=le.shift();)J.unsubscribe();throw fe}}}(class f extends v{constructor(J,le){super(J,le),this.scheduler=J,this.work=le,this.pending=!1}schedule(J,le=0){var fe;if(this.closed)return this;this.state=J;const be=this.id,Le=this.scheduler;return null!=be&&(this.id=this.recycleAsyncId(Le,be,le)),this.pending=!0,this.delay=le,this.id=null!==(fe=this.id)&&void 0!==fe?fe:this.requestAsyncId(Le,this.id,le),this}requestAsyncId(J,le,fe=0){return F.setInterval(J.flush.bind(J,this),fe)}recycleAsyncId(J,le,fe=0){if(null!=fe&&this.delay===fe&&!1===this.pending)return le;null!=le&&F.clearInterval(le)}execute(J,le){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const fe=this._execute(J,le);if(fe)return fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,le){let be,fe=!1;try{this.work(J)}catch(Le){fe=!0,be=Le||new Error("Scheduled action threw falsy error")}if(fe)return this.unsubscribe(),be}unsubscribe(){if(!this.closed){const{id:J,scheduler:le}=this,{actions:fe}=le;this.work=this.state=this.scheduler=null,this.pending=!1,(0,re.o)(fe,this),null!=J&&(this.id=this.recycleAsyncId(le,J,null)),this.delay=null,super.unsubscribe()}}}),k=H},9270:(Ze,De,N)=>{N.d(De,{f:()=>g});const g={setTimeout(v,F,...re){const{delegate:f}=g;return f?.setTimeout?f.setTimeout(v,F,...re):setTimeout(v,F,...re)},clearTimeout(v){const{delegate:F}=g;return(F?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4761:(Ze,De,N)=>{N.d(De,{l:()=>v});const v=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ze,De,N)=>{N.d(De,{s:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Ze,De,N)=>{N.d(De,{lI:()=>f,ms:()=>re});var g=N(8071),v=N(9470);function F(A){return A[A.length-1]}function re(A){return(0,g.T)(F(A))?A.pop():void 0}function f(A){return(0,v.m)(F(A))?A.pop():void 0}},3073:(Ze,De,N)=>{N.d(De,{D:()=>f});const{isArray:g}=Array,{getPrototypeOf:v,prototype:F,keys:re}=Object;function f(A){if(1===A.length){const $=A[0];if(g($))return{args:$,keys:null};if(function L(A){return A&&"object"==typeof A&&v(A)===F}($)){const H=re($);return{args:H.map(k=>$[k]),keys:H}}}return{args:A,keys:null}}},7908:(Ze,De,N)=>{function g(v,F){if(v){const re=v.indexOf(F);0<=re&&v.splice(re,1)}}N.d(De,{o:()=>g})},1853:(Ze,De,N)=>{function g(v){const re=v(f=>{Error.call(f),f.stack=(new Error).stack});return re.prototype=Object.create(Error.prototype),re.prototype.constructor=re,re}N.d(De,{L:()=>g})},8496:(Ze,De,N)=>{function g(v,F){return v.reduce((re,f,L)=>(re[f]=F[L],re),{})}N.d(De,{e:()=>g})},9786:(Ze,De,N)=>{N.d(De,{Y:()=>F,l:()=>re});var g=N(1026);let v=null;function F(f){if(g.$.useDeprecatedSynchronousErrorHandling){const L=!v;if(L&&(v={errorThrown:!1,error:null}),f(),L){const{errorThrown:A,error:$}=v;if(v=null,A)throw $}}else f()}function re(f){g.$.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=f)}},5225:(Ze,De,N)=>{function g(v,F,re,f=0,L=!1){const A=F.schedule(function(){re(),L?v.add(this.schedule(null,f)):this.unsubscribe()},f);if(v.add(A),!L)return A}N.d(De,{N:()=>g})},3669:(Ze,De,N)=>{function g(v){return v}N.d(De,{D:()=>g})},7441:(Ze,De,N)=>{N.d(De,{X:()=>g});const g=v=>v&&"number"==typeof v.length&&"function"!=typeof v},7953:(Ze,De,N)=>{N.d(De,{T:()=>v});var g=N(8071);function v(F){return Symbol.asyncIterator&&(0,g.T)(F?.[Symbol.asyncIterator])}},8071:(Ze,De,N)=>{function g(v){return"function"==typeof v}N.d(De,{T:()=>g})},5055:(Ze,De,N)=>{N.d(De,{l:()=>F});var g=N(3494),v=N(8071);function F(re){return(0,v.T)(re[g.s])}},5397:(Ze,De,N)=>{N.d(De,{x:()=>F});var g=N(4761),v=N(8071);function F(re){return(0,v.T)(re?.[g.l])}},9858:(Ze,De,N)=>{N.d(De,{y:()=>v});var g=N(8071);function v(F){return(0,g.T)(F?.then)}},5196:(Ze,De,N)=>{N.d(De,{C:()=>F,U:()=>re});var g=N(1635),v=N(8071);function F(f){return(0,g.AQ)(this,arguments,function*(){const A=f.getReader();try{for(;;){const{value:$,done:H}=yield(0,g.N3)(A.read());if(H)return yield(0,g.N3)(void 0);yield yield(0,g.N3)($)}}finally{A.releaseLock()}})}function re(f){return(0,v.T)(f?.getReader)}},9470:(Ze,De,N)=>{N.d(De,{m:()=>v});var g=N(8071);function v(F){return F&&(0,g.T)(F.schedule)}},9974:(Ze,De,N)=>{N.d(De,{N:()=>F,S:()=>v});var g=N(8071);function v(re){return(0,g.T)(re?.lift)}function F(re){return f=>{if(v(f))return f.lift(function(L){try{return re(L,this)}catch(A){this.error(A)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ze,De,N)=>{N.d(De,{I:()=>re});var g=N(6354);const{isArray:v}=Array;function re(f){return(0,g.T)(L=>function F(f,L){return v(L)?f(...L):f(L)}(f,L))}},5343:(Ze,De,N)=>{function g(){}N.d(De,{l:()=>g})},1203:(Ze,De,N)=>{N.d(De,{F:()=>v,m:()=>F});var g=N(3669);function v(...re){return F(re)}function F(re){return 0===re.length?g.D:1===re.length?re[0]:function(L){return re.reduce((A,$)=>$(A),L)}}},5334:(Ze,De,N)=>{N.d(De,{m:()=>F});var g=N(1026),v=N(9270);function F(re){v.f.setTimeout(()=>{const{onUnhandledError:f}=g.$;if(!f)throw re;f(re)})}},591:(Ze,De,N)=>{function g(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}N.d(De,{L:()=>g})},9969:(Ze,De,N)=>{N.d(De,{FX:()=>Ie,If:()=>g,K2:()=>L,hZ:()=>F,i0:()=>re,iF:()=>A,kY:()=>k,kp:()=>v,lY:()=>W,sM:()=>le,sf:()=>se,ui:()=>ne,wk:()=>$});var g=function(Ee){return Ee[Ee.State=0]="State",Ee[Ee.Transition=1]="Transition",Ee[Ee.Sequence=2]="Sequence",Ee[Ee.Group=3]="Group",Ee[Ee.Animate=4]="Animate",Ee[Ee.Keyframes=5]="Keyframes",Ee[Ee.Style=6]="Style",Ee[Ee.Trigger=7]="Trigger",Ee[Ee.Reference=8]="Reference",Ee[Ee.AnimateChild=9]="AnimateChild",Ee[Ee.AnimateRef=10]="AnimateRef",Ee[Ee.Query=11]="Query",Ee[Ee.Stagger=12]="Stagger",Ee}(g||{});const v="*";function F(Ee,Y){return{type:g.Trigger,name:Ee,definitions:Y,options:{}}}function re(Ee,Y=null){return{type:g.Animate,styles:Y,timings:Ee}}function L(Ee,Y=null){return{type:g.Sequence,steps:Ee,options:Y}}function A(Ee){return{type:g.Style,styles:Ee,offset:null}}function $(Ee,Y,xe){return{type:g.State,name:Ee,styles:Y,options:xe}}function k(Ee,Y,xe=null){return{type:g.Transition,expr:Ee,animation:Y,options:xe}}function W(Ee,Y=null){return{type:g.Reference,animation:Ee,options:Y}}function le(Ee,Y=null){return{type:g.AnimateRef,animation:Ee,options:Y}}class se{constructor(Y=0,xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const xe="start"==Y?this._onStartFns:this._onDoneFns;xe.forEach(ae=>ae()),xe.length=0}}class ne{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let xe=0,ae=0,qe=0;const Oe=this.players.length;0==Oe?queueMicrotask(()=>this._onFinish()):this.players.forEach(ze=>{ze.onDone(()=>{++xe==Oe&&this._onFinish()}),ze.onDestroy(()=>{++ae==Oe&&this._onDestroy()}),ze.onStart(()=>{++qe==Oe&&this._onStart()})}),this.totalTime=this.players.reduce((ze,pt)=>Math.max(ze,pt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const xe=Y*this.totalTime;this.players.forEach(ae=>{const qe=ae.totalTime?Math.min(1,xe/ae.totalTime):1;ae.setPosition(qe)})}getPosition(){const Y=this.players.reduce((xe,ae)=>null===xe||ae.totalTime>xe.totalTime?ae:xe,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const xe="start"==Y?this._onStartFns:this._onDoneFns;xe.forEach(ae=>ae()),xe.length=0}}const Ie="!"},177:(Ze,De,N)=>{N.d(De,{AJ:()=>Hr,B3:()=>mt,Jj:()=>Ft,MD:()=>ui,N0:()=>ei,QT:()=>F,QX:()=>Yn,Sm:()=>Le,Sq:()=>lt,T3:()=>wt,UE:()=>rr,VF:()=>f,Vy:()=>zi,Xr:()=>Ki,YU:()=>_e,ZD:()=>re,_b:()=>X,aZ:()=>at,bT:()=>Ht,fw:()=>He,hb:()=>fe,hj:()=>H,qQ:()=>A});var g=N(4438);let v=null;function F(){return v}function re(p){v??=p}class f{}const A=new g.nKC("");let $=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>(0,g.WQX)(k),providedIn:"platform"})}return p})();const H=new g.nKC("");let k=(()=>{class p extends ${constructor(){super(),this._doc=(0,g.WQX)(A),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return F().getBaseHref(this._doc)}onPopState(E){const I=F().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=F().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,I,z){this._history.pushState(E,I,z)}replaceState(E,I,z){this._history.replaceState(E,I,z)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function W(p,R){if(0==p.length)return R;if(0==R.length)return p;let E=0;return p.endsWith("/")&&E++,R.startsWith("/")&&E++,2==E?p+R.substring(1):1==E?p+R:p+"/"+R}function J(p){const R=p.match(/#|\?|$/),E=R&&R.index||p.length;return p.slice(0,E-("/"===p[E-1]?1:0))+p.slice(E)}function le(p){return p&&"?"!==p[0]?"?"+p:p}let fe=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>(0,g.WQX)(Le),providedIn:"root"})}return p})();const be=new g.nKC("");let Le=(()=>{class p extends fe{constructor(E,I){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,g.WQX)(A).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return W(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+le(this._platformLocation.search),z=this._platformLocation.hash;return z&&E?`${I}${z}`:I}pushState(E,I,z,ve){const Ne=this.prepareExternalUrl(z+le(ve));this._platformLocation.pushState(E,I,Ne)}replaceState(E,I,z,ve){const Ne=this.prepareExternalUrl(z+le(ve));this._platformLocation.replaceState(E,I,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(g.KVO($),g.KVO(be,8))};static#t=this.\u0275prov=g.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),He=(()=>{class p extends fe{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=W(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,z,ve){let Ne=this.prepareExternalUrl(z+le(ve));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.pushState(E,I,Ne)}replaceState(E,I,z,ve){let Ne=this.prepareExternalUrl(z+le(ve));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(g.KVO($),g.KVO(be,8))};static#t=this.\u0275prov=g.jDH({token:p,factory:p.\u0275fac})}return p})(),at=(()=>{class p{constructor(E){this._subject=new g.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const I=this._locationStrategy.getBaseHref();this._basePath=function pe(p){if(new RegExp("^(https?:)?//").test(p)){const[,E]=p.split(/\/\/[^\/]+/);return E}return p}(J($e(I))),this._locationStrategy.onPopState(z=>{this._subject.emit({url:this.path(!0),pop:!0,state:z.state,type:z.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+le(I))}normalize(E){return p.stripTrailingSlash(function St(p,R){if(!p||!R.startsWith(p))return R;const E=R.substring(p.length);return""===E||["/",";","?","#"].includes(E[0])?E:R}(this._basePath,$e(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,I="",z=null){this._locationStrategy.pushState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+le(I)),z)}replaceState(E,I="",z=null){this._locationStrategy.replaceState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+le(I)),z)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(z=>z(E,I))}subscribe(E,I,z){return this._subject.subscribe({next:E,error:I,complete:z})}static#e=this.normalizeQueryParams=le;static#t=this.joinWithSlash=W;static#n=this.stripTrailingSlash=J;static#r=this.\u0275fac=function(I){return new(I||p)(g.KVO(fe))};static#i=this.\u0275prov=g.jDH({token:p,factory:()=>function Bt(){return new at((0,g.KVO)(fe))}(),providedIn:"root"})}return p})();function $e(p){return p.replace(/\/index.html$/,"")}var se=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(se||{});const xe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Fe(p,R){const E=(0,g.H5H)(p),I=E[g.KH2.NumberSymbols][R];if(typeof I>"u"){if(R===xe.CurrencyDecimal)return E[g.KH2.NumberSymbols][xe.Decimal];if(R===xe.CurrencyGroup)return E[g.KH2.NumberSymbols][xe.Group]}return I}const Mn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Br(p){const R=parseInt(p);if(isNaN(R))throw new Error("Invalid integer literal when parsing "+p);return R}function X(p,R){R=encodeURIComponent(R);for(const E of p.split(";")){const I=E.indexOf("="),[z,ve]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(z.trim()===R)return decodeURIComponent(ve)}return null}const q=/\s+/,we=[];let _e=(()=>{class p{constructor(E,I){this._ngEl=E,this._renderer=I,this.initialClasses=we,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(q):we}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(q):E}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const I of E)this._updateState(I,!0);else if(null!=E)for(const I of Object.keys(E))this._updateState(I,!!E[I]);this._applyStateDiff()}_updateState(E,I){const z=this.stateMap.get(E);void 0!==z?(z.enabled!==I&&(z.changed=!0,z.enabled=I),z.touched=!0):this.stateMap.set(E,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const I=E[0],z=E[1];z.changed?(this._toggleClass(I,z.enabled),z.changed=!1):z.touched||(z.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),z.touched=!1}}_toggleClass(E,I){(E=E.trim()).length>0&&E.split(q).forEach(z=>{I?this._renderer.addClass(this._ngEl.nativeElement,z):this._renderer.removeClass(this._ngEl.nativeElement,z)})}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.aKT),g.rXU(g.sFG))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[g.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class Tt{constructor(R,E,I,z){this.$implicit=R,this.ngForOf=E,this.index=I,this.count=z}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let lt=(()=>{class p{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,I,z){this._viewContainer=E,this._template=I,this._differs=z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((z,ve,Ne)=>{if(null==z.previousIndex)I.createEmbeddedView(this._template,new Tt(z.item,this._ngForOf,-1,-1),null===Ne?void 0:Ne);else if(null==Ne)I.remove(null===ve?void 0:ve);else if(null!==ve){const nt=I.get(ve);I.move(nt,Ne),Jt(nt,z)}});for(let z=0,ve=I.length;z{Jt(I.get(z.currentIndex),z)})}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b),g.rXU(g.C4Q),g.rXU(g._q3))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function Jt(p,R){p.context.$implicit=R.item}let Ht=(()=>{class p{constructor(E,I){this._viewContainer=E,this._context=new xn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Qn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Qn("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b),g.rXU(g.C4Q))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class xn{constructor(){this.$implicit=null,this.ngIf=null}}function Qn(p,R){if(R&&!R.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,g.Tbb)(R)}'.`)}let mt=(()=>{class p{constructor(E,I,z){this._ngEl=E,this._differs=I,this._renderer=z,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[z,ve]=E.split("."),Ne=-1===z.indexOf("-")?void 0:g.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,z,ve?`${I}${ve}`:I,Ne):this._renderer.removeStyle(this._ngEl.nativeElement,z,Ne)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.aKT),g.rXU(g.MKu),g.rXU(g.sFG))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),wt=(()=>{class p{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const z=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,z,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,I,z)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,z),get:(E,I,z)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,z)}})}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.OA$]})}return p})();function jn(p,R){return new g.wOt(2100,!1)}class ai{createSubscription(R,E){return(0,g.O8t)(()=>R.subscribe({next:E,error:I=>{throw I}}))}dispose(R){(0,g.O8t)(()=>R.unsubscribe())}}class Ur{createSubscription(R,E){return R.then(E,I=>{throw I})}dispose(R){}}const ts=new Ur,Si=new ai;let Ft=(()=>{class p{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,g.jNT)(E))return ts;if((0,g.zjR)(E))return Si;throw jn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.gRc,16))};static#t=this.\u0275pipe=g.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})(),Yn=(()=>{class p{constructor(E){this._locale=E}transform(E,I,z){if(!function Zn(p){return!(null==p||""===p||p!=p)}(E))return null;z||=this._locale;try{return function yr(p,R,E){return function hn(p,R,E,I,z,ve,Ne=!1){let nt="",gn=!1;if(isFinite(p)){let S=function qr(p){let I,z,ve,Ne,nt,R=Math.abs(p)+"",E=0;for((z=R.indexOf("."))>-1&&(R=R.replace(".","")),(ve=R.search(/e/i))>0?(z<0&&(z=ve),z+=+R.slice(ve+1),R=R.substring(0,ve)):z<0&&(z=R.length),ve=0;"0"===R.charAt(ve);ve++);if(ve===(nt=R.length))I=[0],z=1;else{for(nt--;"0"===R.charAt(nt);)nt--;for(z-=ve,I=[],Ne=0;ve<=nt;ve++,Ne++)I[Ne]=Number(R.charAt(ve))}return z>22&&(I=I.splice(0,21),E=z-1,z=1),{digits:I,exponent:E,integerLen:z}}(p);Ne&&(S=function vr(p){if(0===p.digits[0])return p;const R=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===R?p.digits.push(0,0):1===R&&p.digits.push(0),p.integerLen+=2),p}(S));let u=R.minInt,l=R.minFrac,_=R.maxFrac;if(ve){const ge=ve.match(Mn);if(null===ge)throw new Error(`${ve} is not a valid digit info`);const Ge=ge[1],ke=ge[3],yt=ge[5];null!=Ge&&(u=Br(Ge)),null!=ke&&(l=Br(ke)),null!=yt?_=Br(yt):null!=ke&&l>_&&(_=l)}!function Or(p,R,E){if(R>E)throw new Error(`The minimum number of digits after fraction (${R}) is higher than the maximum (${E}).`);let I=p.digits,z=I.length-p.integerLen;const ve=Math.min(Math.max(R,z),E);let Ne=ve+p.integerLen,nt=I[Ne];if(Ne>0){I.splice(Math.max(p.integerLen,Ne));for(let l=Ne;l=5)if(Ne-1<0){for(let l=0;l>Ne;l--)I.unshift(0),p.integerLen++;I.unshift(1),p.integerLen++}else I[Ne-1]++;for(;z=S?x.pop():gn=!1),_>=10?1:0},0);u&&(I.unshift(u),p.integerLen++)}(S,l,_);let w=S.digits,x=S.integerLen;const G=S.exponent;let U=[];for(gn=w.every(ge=>!ge);x0?U=w.splice(x,w.length):(U=w,w=[0]);const te=[];for(w.length>=R.lgSize&&te.unshift(w.splice(-R.lgSize,w.length).join(""));w.length>R.gSize;)te.unshift(w.splice(-R.gSize,w.length).join(""));w.length&&te.unshift(w.join("")),nt=te.join(Fe(E,I)),U.length&&(nt+=Fe(E,z)+U.join("")),G&&(nt+=Fe(E,xe.Exponential)+"+"+G)}else nt=Fe(E,xe.Infinity);return nt=p<0&&!gn?R.negPre+nt+R.negSuf:R.posPre+nt+R.posSuf,nt}(p,function Wt(p,R="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=p.split(";"),z=I[0],ve=I[1],Ne=-1!==z.indexOf(".")?z.split("."):[z.substring(0,z.lastIndexOf("0")+1),z.substring(z.lastIndexOf("0")+1)],nt=Ne[0],gn=Ne[1]||"";E.posPre=nt.substring(0,nt.indexOf("#"));for(let u=0;u{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=g.$C({type:p});static#n=this.\u0275inj=g.G2t({})}return p})();const Hr="browser",Mi="server";function rr(p){return p===Hr}function zi(p){return p===Mi}let Ki=(()=>{class p{static#e=this.\u0275prov=(0,g.jDH)({token:p,providedIn:"root",factory:()=>rr((0,g.WQX)(g.Agw))?new Hn((0,g.WQX)(A),window):new ss})}return p})();class Hn{constructor(R,E){this.document=R,this.window=E,this.offset=()=>[0,0]}setOffset(R){this.offset=Array.isArray(R)?()=>R:R}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(R){this.window.scrollTo(R[0],R[1])}scrollToAnchor(R){const E=function Jn(p,R){const E=p.getElementById(R)||p.getElementsByName(R)[0];if(E)return E;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let z=I.currentNode;for(;z;){const ve=z.shadowRoot;if(ve){const Ne=ve.getElementById(R)||ve.querySelector(`[name="${R}"]`);if(Ne)return Ne}z=I.nextNode()}}return null}(this.document,R);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(R){this.window.history.scrollRestoration=R}scrollToElement(R){const E=R.getBoundingClientRect(),I=E.left+this.window.pageXOffset,z=E.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(I-ve[0],z-ve[1])}}class ss{setOffset(R){}getScrollPosition(){return[0,0]}scrollToPosition(R){}scrollToAnchor(R){}setHistoryScrollRestoration(R){}}class ei{}},1626:(Ze,De,N)=>{N.d(De,{Qq:()=>Se,a7:()=>Ve,q1:()=>Tr}),N(467);var v=N(4438),F=N(7673),re=N(1985),f=N(6648),L=N(274),A=N(5964),$=N(6354),H=N(980),k=N(5558),W=N(177);class J{}class le{}class fe{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?"string"==typeof X?this.lazyInit=()=>{this.headers=new Map,X.split("\n").forEach(q=>{const we=q.indexOf(":");if(we>0){const _e=q.slice(0,we),Ue=_e.toLowerCase(),Ke=q.slice(we+1).trim();this.maybeSetNormalizedName(_e,Ue),this.headers.has(Ue)?this.headers.get(Ue).push(Ke):this.headers.set(Ue,[Ke])}})}:typeof Headers<"u"&&X instanceof Headers?(this.headers=new Map,X.forEach((q,we)=>{this.setHeaderEntries(we,q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(X).forEach(([q,we])=>{this.setHeaderEntries(q,we)})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const q=this.headers.get(X.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,q){return this.clone({name:X,value:q,op:"a"})}set(X,q){return this.clone({name:X,value:q,op:"s"})}delete(X,q){return this.clone({name:X,value:q,op:"d"})}maybeSetNormalizedName(X,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,X)}init(){this.lazyInit&&(this.lazyInit instanceof fe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(q=>{this.headers.set(q,X.headers.get(q)),this.normalizedNames.set(q,X.normalizedNames.get(q))})}clone(X){const q=new fe;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof fe?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([X]),q}applyUpdate(X){const q=X.name.toLowerCase();switch(X.op){case"a":case"s":let we=X.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(X.name,q);const _e=("a"===X.op?this.headers.get(q):void 0)||[];_e.push(...we),this.headers.set(q,_e);break;case"d":const Ue=X.value;if(Ue){let Ke=this.headers.get(q);if(!Ke)return;Ke=Ke.filter(Tt=>-1===Ue.indexOf(Tt)),0===Ke.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,Ke)}else this.headers.delete(q),this.normalizedNames.delete(q)}}setHeaderEntries(X,q){const we=(Array.isArray(q)?q:[q]).map(Ue=>Ue.toString()),_e=X.toLowerCase();this.headers.set(_e,we),this.maybeSetNormalizedName(X,_e)}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>X(this.normalizedNames.get(q),this.headers.get(q)))}}class Le{encodeKey(X){return St(X)}encodeValue(X){return St(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const at=/%(\d[a-f0-9])/gi,Bt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function St(j){return encodeURIComponent(j).replace(at,(X,q)=>Bt[q]??X)}function $e(j){return`${j}`}class pe{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new Le,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function He(j,X){const q=new Map;return j.length>0&&j.replace(/^\?/,"").split("&").forEach(_e=>{const Ue=_e.indexOf("="),[Ke,Tt]=-1==Ue?[X.decodeKey(_e),""]:[X.decodeKey(_e.slice(0,Ue)),X.decodeValue(_e.slice(Ue+1))],lt=q.get(Ke)||[];lt.push(Tt),q.set(Ke,lt)}),q}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(q=>{const we=X.fromObject[q],_e=Array.isArray(we)?we.map($e):[$e(we)];this.map.set(q,_e)})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const q=this.map.get(X);return q?q[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,q){return this.clone({param:X,value:q,op:"a"})}appendAll(X){const q=[];return Object.keys(X).forEach(we=>{const _e=X[we];Array.isArray(_e)?_e.forEach(Ue=>{q.push({param:we,value:Ue,op:"a"})}):q.push({param:we,value:_e,op:"a"})}),this.clone(q)}set(X,q){return this.clone({param:X,value:q,op:"s"})}delete(X,q){return this.clone({param:X,value:q,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const q=this.encoder.encodeKey(X);return this.map.get(X).map(we=>q+"="+this.encoder.encodeValue(we)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const q=new pe({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(X),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const q=("a"===X.op?this.map.get(X.param):void 0)||[];q.push($e(X.value)),this.map.set(X.param,q);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let we=this.map.get(X.param)||[];const _e=we.indexOf($e(X.value));-1!==_e&&we.splice(_e,1),we.length>0?this.map.set(X.param,we):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class se{constructor(){this.map=new Map}set(X,q){return this.map.set(X,q),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ie(j){return typeof ArrayBuffer<"u"&&j instanceof ArrayBuffer}function Ee(j){return typeof Blob<"u"&&j instanceof Blob}function Y(j){return typeof FormData<"u"&&j instanceof FormData}class ae{constructor(X,q,we,_e){let Ue;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function ne(j){switch(j){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_e?(this.body=void 0!==we?we:null,Ue=_e):Ue=we,Ue&&(this.reportProgress=!!Ue.reportProgress,this.withCredentials=!!Ue.withCredentials,Ue.responseType&&(this.responseType=Ue.responseType),Ue.headers&&(this.headers=Ue.headers),Ue.context&&(this.context=Ue.context),Ue.params&&(this.params=Ue.params),this.transferCache=Ue.transferCache),this.headers??=new fe,this.context??=new se,this.params){const Ke=this.params.toString();if(0===Ke.length)this.urlWithParams=q;else{const Tt=q.indexOf("?");this.urlWithParams=q+(-1===Tt?"?":Ttxn.set(Qn,X.setHeaders[Qn]),Jt)),X.setParams&&(Dn=Object.keys(X.setParams).reduce((xn,Qn)=>xn.set(Qn,X.setParams[Qn]),Dn)),new ae(q,we,Ke,{params:Dn,headers:Jt,context:Ht,reportProgress:lt,responseType:_e,withCredentials:Tt,transferCache:Ue})}}var qe=function(j){return j[j.Sent=0]="Sent",j[j.UploadProgress=1]="UploadProgress",j[j.ResponseHeader=2]="ResponseHeader",j[j.DownloadProgress=3]="DownloadProgress",j[j.Response=4]="Response",j[j.User=5]="User",j}(qe||{});class Oe{constructor(X,q=me.Ok,we="OK"){this.headers=X.headers||new fe,this.status=void 0!==X.status?X.status:q,this.statusText=X.statusText||we,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ze extends Oe{constructor(X={}){super(X),this.type=qe.ResponseHeader}clone(X={}){return new ze({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class pt extends Oe{constructor(X={}){super(X),this.type=qe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new pt({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class $t extends Oe{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}var me=function(j){return j[j.Continue=100]="Continue",j[j.SwitchingProtocols=101]="SwitchingProtocols",j[j.Processing=102]="Processing",j[j.EarlyHints=103]="EarlyHints",j[j.Ok=200]="Ok",j[j.Created=201]="Created",j[j.Accepted=202]="Accepted",j[j.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",j[j.NoContent=204]="NoContent",j[j.ResetContent=205]="ResetContent",j[j.PartialContent=206]="PartialContent",j[j.MultiStatus=207]="MultiStatus",j[j.AlreadyReported=208]="AlreadyReported",j[j.ImUsed=226]="ImUsed",j[j.MultipleChoices=300]="MultipleChoices",j[j.MovedPermanently=301]="MovedPermanently",j[j.Found=302]="Found",j[j.SeeOther=303]="SeeOther",j[j.NotModified=304]="NotModified",j[j.UseProxy=305]="UseProxy",j[j.Unused=306]="Unused",j[j.TemporaryRedirect=307]="TemporaryRedirect",j[j.PermanentRedirect=308]="PermanentRedirect",j[j.BadRequest=400]="BadRequest",j[j.Unauthorized=401]="Unauthorized",j[j.PaymentRequired=402]="PaymentRequired",j[j.Forbidden=403]="Forbidden",j[j.NotFound=404]="NotFound",j[j.MethodNotAllowed=405]="MethodNotAllowed",j[j.NotAcceptable=406]="NotAcceptable",j[j.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",j[j.RequestTimeout=408]="RequestTimeout",j[j.Conflict=409]="Conflict",j[j.Gone=410]="Gone",j[j.LengthRequired=411]="LengthRequired",j[j.PreconditionFailed=412]="PreconditionFailed",j[j.PayloadTooLarge=413]="PayloadTooLarge",j[j.UriTooLong=414]="UriTooLong",j[j.UnsupportedMediaType=415]="UnsupportedMediaType",j[j.RangeNotSatisfiable=416]="RangeNotSatisfiable",j[j.ExpectationFailed=417]="ExpectationFailed",j[j.ImATeapot=418]="ImATeapot",j[j.MisdirectedRequest=421]="MisdirectedRequest",j[j.UnprocessableEntity=422]="UnprocessableEntity",j[j.Locked=423]="Locked",j[j.FailedDependency=424]="FailedDependency",j[j.TooEarly=425]="TooEarly",j[j.UpgradeRequired=426]="UpgradeRequired",j[j.PreconditionRequired=428]="PreconditionRequired",j[j.TooManyRequests=429]="TooManyRequests",j[j.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",j[j.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",j[j.InternalServerError=500]="InternalServerError",j[j.NotImplemented=501]="NotImplemented",j[j.BadGateway=502]="BadGateway",j[j.ServiceUnavailable=503]="ServiceUnavailable",j[j.GatewayTimeout=504]="GatewayTimeout",j[j.HttpVersionNotSupported=505]="HttpVersionNotSupported",j[j.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",j[j.InsufficientStorage=507]="InsufficientStorage",j[j.LoopDetected=508]="LoopDetected",j[j.NotExtended=510]="NotExtended",j[j.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",j}(me||{});function Ce(j,X){return{body:X,headers:j.headers,context:j.context,observe:j.observe,params:j.params,reportProgress:j.reportProgress,responseType:j.responseType,withCredentials:j.withCredentials,transferCache:j.transferCache}}let Se=(()=>{class j{constructor(q){this.handler=q}request(q,we,_e={}){let Ue;if(q instanceof ae)Ue=q;else{let lt,Jt;lt=_e.headers instanceof fe?_e.headers:new fe(_e.headers),_e.params&&(Jt=_e.params instanceof pe?_e.params:new pe({fromObject:_e.params})),Ue=new ae(q,we,void 0!==_e.body?_e.body:null,{headers:lt,context:_e.context,params:Jt,reportProgress:_e.reportProgress,responseType:_e.responseType||"json",withCredentials:_e.withCredentials,transferCache:_e.transferCache})}const Ke=(0,F.of)(Ue).pipe((0,L.H)(lt=>this.handler.handle(lt)));if(q instanceof ae||"events"===_e.observe)return Ke;const Tt=Ke.pipe((0,A.p)(lt=>lt instanceof pt));switch(_e.observe||"body"){case"body":switch(Ue.responseType){case"arraybuffer":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&!(lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return lt.body}));case"blob":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&!(lt.body instanceof Blob))throw new Error("Response is not a Blob.");return lt.body}));case"text":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&"string"!=typeof lt.body)throw new Error("Response is not a string.");return lt.body}));default:return Tt.pipe((0,$.T)(lt=>lt.body))}case"response":return Tt;default:throw new Error(`Unreachable: unhandled observe type ${_e.observe}}`)}}delete(q,we={}){return this.request("DELETE",q,we)}get(q,we={}){return this.request("GET",q,we)}head(q,we={}){return this.request("HEAD",q,we)}jsonp(q,we){return this.request("JSONP",q,{params:(new pe).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,we={}){return this.request("OPTIONS",q,we)}patch(q,we,_e={}){return this.request("PATCH",q,Ce(_e,we))}post(q,we,_e={}){return this.request("POST",q,Ce(_e,we))}put(q,we,_e={}){return this.request("PUT",q,Ce(_e,we))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(J))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();function en(j,X){return X(j)}function _n(j,X){return(q,we)=>X.intercept(q,{handle:_e=>j(_e,we)})}const Ve=new v.nKC(""),In=new v.nKC(""),Pn=new v.nKC(""),fn=new v.nKC("");function Gn(){let j=null;return(X,q)=>{null===j&&(j=((0,v.WQX)(Ve,{optional:!0})??[]).reduceRight(_n,en));const we=(0,v.WQX)(v.TgB),_e=we.add();return j(X,q).pipe((0,H.j)(()=>we.remove(_e)))}}let ut=(()=>{class j extends J{constructor(q,we){super(),this.backend=q,this.injector=we,this.chain=null,this.pendingTasks=(0,v.WQX)(v.TgB);const _e=(0,v.WQX)(fn,{optional:!0});this.backend=_e??q}handle(q){if(null===this.chain){const _e=Array.from(new Set([...this.injector.get(In),...this.injector.get(Pn,[])]));this.chain=_e.reduceRight((Ue,Ke)=>function Gt(j,X,q){return(we,_e)=>(0,v.N4e)(q,()=>X(we,Ue=>j(Ue,_e)))}(Ue,Ke,this.injector),en)}const we=this.pendingTasks.add();return this.chain(q,_e=>this.backend.handle(_e)).pipe((0,H.j)(()=>this.pendingTasks.remove(we)))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(le),v.KVO(v.uvJ))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();const es=/^\)\]\}',?\n/;let Lr=(()=>{class j{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new v.wOt(-2800,!1);const we=this.xhrFactory;return(we.\u0275loadImpl?(0,f.H)(we.\u0275loadImpl()):(0,F.of)(null)).pipe((0,k.n)(()=>new re.c(Ue=>{const Ke=we.build();if(Ke.open(q.method,q.urlWithParams),q.withCredentials&&(Ke.withCredentials=!0),q.headers.forEach((Pt,xt)=>Ke.setRequestHeader(Pt,xt.join(","))),q.headers.has("Accept")||Ke.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Pt=q.detectContentTypeHeader();null!==Pt&&Ke.setRequestHeader("Content-Type",Pt)}if(q.responseType){const Pt=q.responseType.toLowerCase();Ke.responseType="json"!==Pt?Pt:"text"}const Tt=q.serializeBody();let lt=null;const Jt=()=>{if(null!==lt)return lt;const Pt=Ke.statusText||"OK",xt=new fe(Ke.getAllResponseHeaders()),Nn=function bt(j){return"responseURL"in j&&j.responseURL?j.responseURL:/^X-Request-URL:/m.test(j.getAllResponseHeaders())?j.getResponseHeader("X-Request-URL"):null}(Ke)||q.url;return lt=new ze({headers:xt,status:Ke.status,statusText:Pt,url:Nn}),lt},Dn=()=>{let{headers:Pt,status:xt,statusText:Nn,url:hr}=Jt(),yn=null;xt!==me.NoContent&&(yn=typeof Ke.response>"u"?Ke.responseText:Ke.response),0===xt&&(xt=yn?me.Ok:0);let on=xt>=200&&xt<300;if("json"===q.responseType&&"string"==typeof yn){const _t=yn;yn=yn.replace(es,"");try{yn=""!==yn?JSON.parse(yn):null}catch(pn){yn=_t,on&&(on=!1,yn={error:pn,text:yn})}}on?(Ue.next(new pt({body:yn,headers:Pt,status:xt,statusText:Nn,url:hr||void 0})),Ue.complete()):Ue.error(new $t({error:yn,headers:Pt,status:xt,statusText:Nn,url:hr||void 0}))},Ht=Pt=>{const{url:xt}=Jt(),Nn=new $t({error:Pt,status:Ke.status||0,statusText:Ke.statusText||"Unknown Error",url:xt||void 0});Ue.error(Nn)};let xn=!1;const Qn=Pt=>{xn||(Ue.next(Jt()),xn=!0);let xt={type:qe.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),"text"===q.responseType&&Ke.responseText&&(xt.partialText=Ke.responseText),Ue.next(xt)},sn=Pt=>{let xt={type:qe.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),Ue.next(xt)};return Ke.addEventListener("load",Dn),Ke.addEventListener("error",Ht),Ke.addEventListener("timeout",Ht),Ke.addEventListener("abort",Ht),q.reportProgress&&(Ke.addEventListener("progress",Qn),null!==Tt&&Ke.upload&&Ke.upload.addEventListener("progress",sn)),Ke.send(Tt),Ue.next({type:qe.Sent}),()=>{Ke.removeEventListener("error",Ht),Ke.removeEventListener("abort",Ht),Ke.removeEventListener("load",Dn),Ke.removeEventListener("timeout",Ht),q.reportProgress&&(Ke.removeEventListener("progress",Qn),null!==Tt&&Ke.upload&&Ke.upload.removeEventListener("progress",sn)),Ke.readyState!==Ke.DONE&&Ke.abort()}})))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(W.N0))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();const Xt=new v.nKC(""),kr=new v.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),nr=new v.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vr{}let Zt=(()=>{class j{constructor(q,we,_e){this.doc=q,this.platform=we,this.cookieName=_e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W._b)(q,this.cookieName),this.lastCookieString=q),this.lastToken}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(W.qQ),v.KVO(v.Agw),v.KVO(kr))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();function dr(j,X){const q=j.url.toLowerCase();if(!(0,v.WQX)(Xt)||"GET"===j.method||"HEAD"===j.method||q.startsWith("http://")||q.startsWith("https://"))return X(j);const we=(0,v.WQX)(Vr).getToken(),_e=(0,v.WQX)(nr);return null!=we&&!j.headers.has(_e)&&(j=j.clone({headers:j.headers.set(_e,we)})),X(j)}var de=function(j){return j[j.Interceptors=0]="Interceptors",j[j.LegacyInterceptors=1]="LegacyInterceptors",j[j.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",j[j.NoXsrfProtection=3]="NoXsrfProtection",j[j.JsonpSupport=4]="JsonpSupport",j[j.RequestsMadeViaParent=5]="RequestsMadeViaParent",j[j.Fetch=6]="Fetch",j}(de||{});function oe(...j){const X=[Se,Lr,ut,{provide:J,useExisting:ut},{provide:le,useExisting:Lr},{provide:In,useValue:dr,multi:!0},{provide:Xt,useValue:!0},{provide:Vr,useClass:Zt}];for(const q of j)X.push(...q.\u0275providers);return(0,v.EmA)(X)}const tt=new v.nKC("");function ht(){return function Q(j,X){return{\u0275kind:j,\u0275providers:X}}(de.LegacyInterceptors,[{provide:tt,useFactory:Gn},{provide:In,useExisting:tt,multi:!0}])}let Tr=(()=>{class j{static#e=this.\u0275fac=function(we){return new(we||j)};static#t=this.\u0275mod=v.$C({type:j});static#n=this.\u0275inj=v.G2t({providers:[oe(ht())]})}return j})()},4438:(Ze,De,N)=>{function v(e,t){return Object.is(e,t)}N.d(De,{bc$:()=>yC,iLQ:()=>fh,sZ2:()=>Bp,hnV:()=>aD,Hbi:()=>DA,o8S:()=>So,BIS:()=>vC,gRc:()=>DD,Ql9:()=>KT,Ocv:()=>tA,Z63:()=>hi,aKT:()=>tl,uvJ:()=>xr,zcH:()=>fo,bkB:()=>Us,$GK:()=>Ft,nKC:()=>_e,zZn:()=>Li,_q3:()=>Dh,MKu:()=>Eh,xe9:()=>pu,Co$:()=>ty,Vns:()=>$o,SKi:()=>gr,Xx1:()=>rr,Agw:()=>ed,PLl:()=>Up,sFG:()=>Bw,_9s:()=>cm,czy:()=>Ec,kdw:()=>di,C4Q:()=>Dl,NYb:()=>UT,giA:()=>sD,RxE:()=>Y_,c1b:()=>jc,gXe:()=>Gr,mal:()=>mm,L39:()=>XA,EWP:()=>YA,Ol2:()=>mf,w6W:()=>V0,oH4:()=>mD,QZP:()=>YD,Rfq:()=>dr,WQX:()=>gt,QuC:()=>Ar,EmA:()=>go,fpN:()=>_A,HJs:()=>rO,N4e:()=>Yi,vPA:()=>km,O8t:()=>ZA,An2:()=>Lc,H3F:()=>Z_,H8p:()=>Ri,KH2:()=>Ua,TgB:()=>Ea,wOt:()=>Qe,WHO:()=>rD,e01:()=>iD,H5H:()=>Hf,Zy3:()=>un,mq5:()=>rv,JZv:()=>bt,LfX:()=>Br,plB:()=>Eo,jNT:()=>uh,zjR:()=>oD,TL$:()=>gC,Tbb:()=>mn,Vt3:()=>hf,Mj6:()=>Rr,GFd:()=>ey,OA$:()=>b,Jv_:()=>g_,aNF:()=>m_,R7$:()=>Rg,BMQ:()=>Mf,HbH:()=>Hy,AVh:()=>xf,wni:()=>Wv,VBU:()=>qs,FsC:()=>Ao,jDH:()=>Wt,G2t:()=>qr,$C:()=>Ni,EJ8:()=>Ns,rXU:()=>ma,nrm:()=>Uf,eu8:()=>jf,bVm:()=>ru,qex:()=>nu,k0s:()=>tu,j41:()=>eu,RV6:()=>ev,xGo:()=>lp,KVO:()=>En,kS0:()=>sc,QTQ:()=>xg,bIt:()=>Wf,lsd:()=>Qv,joV:()=>Qh,qSk:()=>Kh,XpG:()=>xv,nI1:()=>P_,bMT:()=>x_,SdG:()=>Lv,NAR:()=>Fv,Y8G:()=>Nf,FS9:()=>Kf,lJ4:()=>__,eq3:()=>D_,l_i:()=>E_,sMw:()=>C_,ziG:()=>b_,s1E:()=>w_,l4e:()=>S_,sGs:()=>I_,zJS:()=>M_,mGM:()=>Kv,sdS:()=>Xv,Njj:()=>kh,EBC:()=>fg,eBV:()=>Lh,npT:()=>og,B4B:()=>vd,n$t:()=>lg,wjB:()=>y_,Aen:()=>vs,xc7:()=>Pf,DNE:()=>Ca,C5r:()=>F_,EFF:()=>s_,JRh:()=>Xf,SpI:()=>lu,Lme:()=>qf,LHq:()=>Yf,DH7:()=>h_,mxI:()=>Jf,R50:()=>Zf,GBs:()=>zv}),N(467);let F=null,re=!1,f=1;const L=Symbol("SIGNAL");function A(e){const t=F;return F=e,t}const W={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function J(e){if(re)throw new Error("");if(null===F)return;F.consumerOnSignalRead(e);const t=F.nextProducerIndex++;ne(F),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function St(e){ne(e);for(let t=0;t0}function ne(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ie(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Y=Symbol("UNSET"),xe=Symbol("COMPUTING"),ae=Symbol("ERRORED"),qe={...W,value:Y,dirty:!0,error:null,equal:v,producerMustRecompute:e=>e.value===Y||e.value===xe,producerRecomputeValue(e){if(e.value===xe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=xe;const n=at(e);let r;try{r=e.computation()}catch(i){r=ae,e.error=i}finally{Bt(e,n)}t!==Y&&t!==ae&&r!==ae&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let ze=function Oe(){throw new Error};function pt(){ze()}let me=null;function je(e,t){Le()||pt(),e.equal(e.value,t)||(e.value=t,function Lt(e){e.version++,function le(){f++}(),be(e),me?.()}(e))}const st={...W,equal:v,value:void 0};const dt=()=>{},en={...W,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:dt};var Gt=N(1413),Ve=N(8359),In=N(4412),Pn=N(6354);const Gn="https://g.co/ng/security#xss";class Qe extends Error{constructor(t,n){super(un(t,n)),this.code=t}}function un(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Mt(e){return{toString:e}.toString()}const tr="__parameters__";function Bn(e,t,n){return Mt(()=>{const r=function Kn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(h,C,O){const B=h.hasOwnProperty(tr)?h[tr]:Object.defineProperty(h,tr,{value:[]})[tr];for(;B.length<=O;)B.push(null);return(B[O]=B[O]||[]).push(o),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const bt=globalThis;function Yt(e){for(let t in e)if(e[t]===Yt)return t;throw Error("Could not find renamed property on target object.")}function kr(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(mn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function nr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Zt=Yt({__forward_ref__:Yt});function dr(e){return e.__forward_ref__=dr,e.toString=function(){return mn(this())},e}function ce(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(Zt)&&e.__forward_ref__===dr}function Wt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Or(e){return Yr(e,j)||Yr(e,q)}function Br(e){return null!==Or(e)}function Yr(e,t){return e.hasOwnProperty(t)?e[t]:null}function fr(e){return e&&(e.hasOwnProperty(X)||e.hasOwnProperty(we))?e[X]:null}const j=Yt({\u0275prov:Yt}),X=Yt({\u0275inj:Yt}),q=Yt({ngInjectableDef:Yt}),we=Yt({ngInjectorDef:Yt});class _e{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Wt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pt(e){return e&&!!e.\u0275providers}const xt=Yt({\u0275cmp:Yt}),Nn=Yt({\u0275dir:Yt}),hr=Yt({\u0275pipe:Yt}),yn=Yt({\u0275mod:Yt}),on=Yt({\u0275fac:Yt}),_t=Yt({__NG_ELEMENT_ID__:Yt}),pn=Yt({__NG_ENV_ID__:Yt});function mt(e){return"string"==typeof e?e:null==e?"":String(e)}function Si(e,t){throw new Qe(-201,!1)}var Ft=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ft||{});let Xn;function Hi(){return Xn}function qn(e){const t=Xn;return Xn=e,t}function ns(e,t,n){const r=Or(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ft.Optional?null:void 0!==t?t:void Si()}const Ii={},Cs="__NG_DI_FLAG__",$i="ngTempTokenPath",li=/\n/gm,Ws="__source";let jr;function Yn(e){const t=jr;return jr=e,t}function Wi(e,t=Ft.Default){if(void 0===jr)throw new Qe(-203,!1);return null===jr?ns(e,void 0,t):jr.get(e,t&Ft.Optional?null:void 0,t)}function En(e,t=Ft.Default){return(Hi()||Wi)(ce(e),t)}function gt(e,t=Ft.Default){return En(e,ci(t))}function ci(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rs(e){const t=[];for(let n=0;nArray.isArray(n)?Jn(n,t):t(n))}function ss(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ei(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Wn(e,t,n){let r=ar(e,t);return r>=0?e[1|r]=n:(r=~r,function Ai(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function os(e,t){const n=ar(e,t);if(n>=0)return e[1|n]}function ar(e,t){return function as(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<t?i=s:r=s+1}return~(i<t){o=s-1;break}}}for(;s-1){let s;for(;++is?"":i[O+1].toLowerCase(),2&r&&C!==B){if(D(r))return!1;o=!0}}}}else{if(!o&&!D(r)&&!D(h))return!1;if(o&&D(h))continue;o=!1,r=h|1&r}}return D(r)||o}function D(e){return!(1&e)}function V(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!D(o)&&(t+=gi(s,i),i=""),r=o,s=s||!D(r);n++}return""!==i&&(t+=gi(s,i)),t}function qs(e){return Mt(()=>{const t=Rs(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gr.Emulated,styles:e.styles||zt,_:null,schemas:e.schemas||null,tView:null,id:""};Ys(n);const r=e.dependencies;return n.directiveDefs=yi(r,!1),n.pipeDefs=yi(r,!0),n.id=function Ps(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Os(e){return Vt(e)||Fn(e)}function er(e){return null!==e}function Ni(e){return Mt(()=>({type:e.type,bootstrap:e.bootstrap||zt,declarations:e.declarations||zt,imports:e.imports||zt,exports:e.exports||zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function To(e,t){if(null==e)return $r;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,o,a=Rr.None;Array.isArray(i)?(a=i[0],s=i[1],o=i[2]??s):(s=i,o=i),t?(n[s]=a!==Rr.None?[r,a]:r,t[s]=o):n[s]=r}return n}function Ao(e){return Mt(()=>{const t=Rs(e);return Ys(t),t})}function Ns(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Vt(e){return e[xt]||null}function Fn(e){return e[Nn]||null}function Cn(e){return e[hr]||null}function Ar(e){const t=Vt(e)||Fn(e)||Cn(e);return null!==t&&t.standalone}function $n(e,t){const n=e[yn]||null;if(!n&&!0===t)throw new Error(`Type ${mn(e)} does not have '\u0275mod' property.`);return n}function Rs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||$r,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:To(e.inputs,t),outputs:To(e.outputs),debugInfo:null}}function Ys(e){e.features?.forEach(t=>t(e))}function yi(e,t){if(!e)return null;const n=t?Cn:Os;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(er)}function go(e){return{\u0275providers:e}}function ds(...e){return{\u0275providers:fs(0,e),\u0275fromNgModule:!0}}function fs(e,...t){const n=[],r=new Set;let i;const s=o=>{n.push(o)};return Jn(t,o=>{const a=o;hs(a,s,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Js(i,s),n}function Js(e,t){for(let n=0;n{t(s,r)})}}function hs(e,t,n,r){if(!(e=ce(e)))return!1;let i=null,s=fr(e);const o=!s&&Vt(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const h=e.ngModule;if(s=fr(h),!s)return!1;i=h}const a=r.has(i);if(o){if(a)return!1;if(r.add(i),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const C of h)hs(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let C;r.add(i);try{Jn(s.imports,O=>{hs(O,t,n,r)&&(C||=[],C.push(O))})}finally{}void 0!==C&&Js(C,t)}if(!a){const C=Jr(i)||(()=>new i);t({provide:i,useFactory:C,deps:zt},i),t({provide:Ss,useValue:i,multi:!0},i),t({provide:hi,useValue:()=>En(i),multi:!0},i)}const h=s.providers;if(null!=h&&!a){const C=e;xs(h,O=>{t(O,C)})}}}return i!==e&&void 0!==e.providers}function xs(e,t){for(let n of e)Pt(n)&&(n=n.\u0275providers),Array.isArray(n)?xs(n,t):t(n)}const qo=Yt({provide:String,useValue:Yt});function eo(e){return null!==e&&"object"==typeof e&&qo in e}function vi(e){return"function"==typeof e}const Ri=new _e(""),no={},Yo={};let Ro;function ro(){return void 0===Ro&&(Ro=new Is),Ro}class xr{}class ps extends xr{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,so(t,o=>this.processProvider(o)),this.records.set(zs,gs(void 0,this)),i.has("environment")&&this.records.set(xr,gs(void 0,this));const s=this.records.get(Ri);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Ss,zt,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=A(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Yn(this),r=qn(void 0);try{return t()}finally{Yn(n),qn(r)}}get(t,n=Ii,r=Ft.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pn))return t[pn](this);r=ci(r);const s=Yn(this),o=qn(void 0);try{if(!(r&Ft.SkipSelf)){let h=this.records.get(t);if(void 0===h){const C=function ta(e){return"function"==typeof e||"object"==typeof e&&e instanceof _e}(t)&&Or(t);h=C&&this.injectableDefInScope(C)?gs(io(t),no):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Ft.Self?ro():this.parent).get(t,n=r&Ft.Optional&&n===Ii?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[$i]=a[$i]||[]).unshift(mn(t)),s)throw a;return function Mi(e,t,n,r){const i=e[$i];throw t[Ws]&&i.unshift(t[Ws]),e.message=function is(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=mn(t);if(Array.isArray(t))i=t.map(mn).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):mn(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(li,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[$i]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{qn(o),Yn(s)}}resolveInjectorInitializers(){const t=A(null),n=Yn(this),r=qn(void 0);try{const s=this.get(hi,zt,Ft.Self);for(const o of s)o()}finally{Yn(n),qn(r),A(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(mn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processProvider(t){let n=vi(t=ce(t))?t:ce(t&&t.provide);const r=function xo(e){return eo(e)?gs(void 0,e.useValue):gs(Zo(e),no)}(t);if(!vi(t)&&!0===t.multi){let i=this.records.get(n);i||(i=gs(void 0,no,!0),i.factory=()=>rs(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=A(null);try{return n.value===no&&(n.value=Yo,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ea(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ce(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function io(e){const t=Or(e),n=null!==t?t.factory:Jr(e);if(null!==n)return n;if(e instanceof _e)throw new Qe(204,!1);if(e instanceof Function)return function Po(e){if(e.length>0)throw new Qe(204,!1);const n=function ji(e){return e&&(e[j]||e[q])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Qe(204,!1)}function Zo(e,t,n){let r;if(vi(e)){const i=ce(e);return Jr(i)||io(i)}if(eo(e))r=()=>ce(e.useValue);else if(function No(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...rs(e.deps||[]));else if(function Oo(e){return!(!e||!e.useExisting)}(e))r=()=>En(ce(e.useExisting));else{const i=ce(e&&(e.useClass||e.provide));if(!function Jo(e){return!!e.deps}(e))return Jr(i)||io(i);r=()=>new i(...rs(e.deps))}return r}function gs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function so(e,t){for(const n of e)Array.isArray(n)?so(n,t):n&&Pt(n)?so(n.\u0275providers,t):t(n)}function Yi(e,t){e instanceof ps&&e.assertNotDestroyed();const r=Yn(e),i=qn(void 0);try{return t()}finally{Yn(r),qn(i)}}function Fo(){return void 0!==Hi()||null!=function Nr(){return jr}()}function oo(e){if(!Fo())throw new Qe(-203,!1)}const G=0,U=1,te=2,ge=3,Ge=4,ke=5,yt=6,vt=7,Ye=8,ot=9,tn=10,it=11,nn=12,pr=13,Ln=14,an=15,Er=16,zn=17,Rn=18,_i=19,Fs=20,Pi=21,Wr=22,Di=23,At=25,ao=1,ct=7,Kt=9,Qt=10;var Fr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fr||{});function dn(e){return Array.isArray(e)&&"object"==typeof e[ao]}function bn(e){return Array.isArray(e)&&!0===e[ao]}function wn(e){return!!(4&e.flags)}function Zi(e){return e.componentOffset>-1}function Lo(e){return!(1&~e.flags)}function vn(e){return!!e.template}function xi(e){return!!(512&e[te])}class d{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function y(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function b(){return P}function P(e){return e.type.prototype.ngOnChanges&&(e.setInput=ye),K}function K(){const e=We(this),t=e?.current;if(t){const n=e.previous;if(n===$r)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ye(e,t,n,r,i){const s=this.declaredInputs[r],o=We(e)||function Nt(e,t){return e[ue]=t}(e,{previous:$r,current:null}),a=o.current||(o.current={}),h=o.previous,C=h[s];a[s]=new d(C&&C.currentValue,n,h===$r),y(e,t,i,n)}b.ngInherit=!0;const ue="__ngSimpleChanges__";function We(e){return e[ue]||null}const zr=function(e,t,n){},yo="svg";let na=!1;function Tn(e){for(;Array.isArray(e);)e=e[G];return e}function Ka(e,t){return Tn(t[e])}function ni(e,t){return Tn(t[e.index])}function Qa(e,t){return e.data[t]}function ra(e,t){return e[t]}function Fi(e,t){const n=t[e];return dn(n)?n:n[G]}function Tu(e){return!(128&~e[te])}function Ls(e,t){return null==t?null:e[t]}function Rh(e){e[zn]=0}function oE(e){1024&e[te]||(e[te]|=1024,Tu(e)&&Xa(e))}function Au(e){return!!(9216&e[te]||e[Di]?.dirty)}function Ou(e){e[tn].changeDetectionScheduler?.notify(1),Au(e)?Xa(e):64&e[te]&&(function lo(){return na}()?(e[te]|=1024,Xa(e)):e[tn].changeDetectionScheduler?.notify())}function Xa(e){e[tn].changeDetectionScheduler?.notify();let t=Vo(e);for(;null!==t&&!(8192&t[te])&&(t[te]|=8192,Tu(t));)t=Vo(t)}function ql(e,t){if(!(256&~e[te]))throw new Qe(911,!1);null===e[Pi]&&(e[Pi]=[]),e[Pi].push(t)}function Vo(e){const t=e[ge];return bn(t)?t[ge]:t}const Rt={lFrame:Gh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fh(){return Rt.bindingsEnabled}function ia(){return null!==Rt.skipHydrationRootTNode}function Ae(){return Rt.lFrame.lView}function rn(){return Rt.lFrame.tView}function Lh(e){return Rt.lFrame.contextLView=e,e[Ye]}function kh(e){return Rt.lFrame.contextLView=null,e}function Sn(){let e=Vh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vh(){return Rt.lFrame.currentTNode}function ks(e,t){const n=Rt.lFrame;n.currentTNode=e,n.isParent=t}function Ru(){return Rt.lFrame.isParent}function Pu(){Rt.lFrame.isParent=!1}function ri(){const e=Rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function co(){return Rt.lFrame.bindingIndex}function ms(){return Rt.lFrame.bindingIndex++}function uo(e){const t=Rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function yE(e,t){const n=Rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,xu(t)}function xu(e){Rt.lFrame.currentDirectiveIndex=e}function Lu(){return Rt.lFrame.currentQueryIndex}function Yl(e){Rt.lFrame.currentQueryIndex=e}function _E(e){const t=e[U];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Hh(e,t,n){if(n&Ft.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Ft.Host||(i=_E(s),null===i||(s=s[Ln],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Rt.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function ku(e){const t=$h(),n=e[U];Rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $h(){const e=Rt.lFrame,t=null===e?null:e.child;return null===t?Gh(e):t}function Gh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wh(){const e=Rt.lFrame;return Rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zh=Wh;function Vu(){const e=Wh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Kr(){return Rt.lFrame.selectedIndex}function Bo(e){Rt.lFrame.selectedIndex=e}function kn(){const e=Rt.lFrame;return Qa(e.tView,e.selectedIndex)}function Kh(){Rt.lFrame.currentNamespace=yo}function Qh(){!function CE(){Rt.lFrame.currentNamespace=null}()}let qh=!0;function Ya(){return qh}function Vs(e){qh=e}function Zl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[zn]+=65536),(a>14>16&&(3&e[te])===t&&(e[te]+=16384,Zh(a,s)):Zh(a,s)}const sa=-1;class Za{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ju(e){return e!==sa}function Ja(e){return 32767&e}function el(e,t){let n=function AE(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ln],n--;return r}let Hu=!0;function tc(e){const t=Hu;return Hu=e,t}const Jh=255,ep=5;let OE=0;const Bs={};function nc(e,t){const n=tp(e,t);if(-1!==n)return n;const r=t[U];r.firstCreatePass&&(e.injectorIndex=t.length,$u(r.data,e),$u(t,null),$u(r.blueprint,null));const i=rc(e,t),s=e.injectorIndex;if(ju(i)){const o=Ja(i),a=el(i,t),h=a[U].data;for(let C=0;C<8;C++)t[s+C]=a[o+C]|h[o+C]}return t[s+8]=i,s}function $u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function rc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=cp(i),null===r)return sa;if(n++,i=i[Ln],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return sa}function Gu(e,t,n){!function NE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_t)&&(r=n[_t]),null==r&&(r=n[_t]=OE++);const i=r&Jh;t.data[e+(i>>ep)]|=1<=0?t&Jh:FE:t}(n);if("function"==typeof s){if(!Hh(t,e,r))return r&Ft.Host?np(i,0,r):rp(t,n,r,i);try{let o;if(o=s(r),null!=o||r&Ft.Optional)return o;Si()}finally{zh()}}else if("number"==typeof s){let o=null,a=tp(e,t),h=sa,C=r&Ft.Host?t[an][ke]:null;for((-1===a||r&Ft.SkipSelf)&&(h=-1===a?rc(e,t):t[a+8],h!==sa&&ap(r,!1)?(o=t[U],a=Ja(h),t=el(h,t)):a=-1);-1!==a;){const O=t[U];if(op(s,a,O.data)){const B=PE(a,t,n,o,r,C);if(B!==Bs)return B}h=t[a+8],h!==sa&&ap(r,t[U].data[a+8]===C)&&op(s,a,t)?(o=O,a=Ja(h),t=el(h,t)):a=-1}}return i}function PE(e,t,n,r,i,s){const o=t[U],a=o.data[e+8],O=ic(a,o,n,null==r?Zi(a)&&Hu:r!=o&&!!(3&a.type),i&Ft.Host&&s===a);return null!==O?Uo(t,o,O,a):Bs}function ic(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,h=e.directiveStart,O=s>>20,Z=i?a+O:e.directiveEnd;for(let ie=r?a:a+O;ie=h&&he.type===n)return ie}if(i){const ie=o[h];if(ie&&vn(ie)&&ie.type===n)return h}return null}function Uo(e,t,n,r){let i=e[n];const s=t.data;if(function SE(e){return e instanceof Za}(i)){const o=i;o.resolving&&function ai(e,t){throw t&&t.join(" > "),new Qe(-200,e)}(function wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():mt(e)}(s[n]));const a=tc(o.canSeeViewProviders);o.resolving=!0;const C=o.injectImpl?qn(o.injectImpl):null;Hh(e,r,Ft.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bE(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=P(t);(n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==C&&qn(C),tc(a),o.resolving=!1,zh()}}return i}function op(e,t,n){return!!(n[t+(e>>ep)]&1<{const t=e.prototype.constructor,n=t[on]||Wu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[on]||Wu(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Wu(e){return de(e)?()=>{const t=Wu(ce(e));return t&&t()}:Jr(e)}function cp(e){const t=e[U],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}function sc(e){return function RE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{static#e=this.THROW_IF_NOT_FOUND=Ii;static#t=this.NULL=new Is;static create(n,r){if(Array.isArray(n))return pp({name:""},r,n,"");{const i=n.name??"";return pp({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=Wt({token:e,providedIn:"any",factory:()=>En(zs)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Ku(e){return e.ngOriginalError}class fo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ku(t);for(;n&&Ku(n);)n=Ku(n);return n||null}}const yp=new _e("",{providedIn:"root",factory:()=>gt(fo).handleError.bind(void 0)});let la=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=WE;static#t=this.__NG_ENV_ID__=n=>n}return e})();class GE extends la{constructor(t){super(),this._lView=t}onDestroy(t){return ql(this._lView,t),()=>function Nu(e,t){if(null===e[Pi])return;const n=e[Pi].indexOf(t);-1!==n&&e[Pi].splice(n,1)}(this._lView,t)}}function WE(){return new GE(Ae())}function zE(){return ca(Sn(),Ae())}function ca(e,t){return new tl(ni(e,t))}let tl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=zE}return e})();function _p(e){return e instanceof tl?e.nativeElement:e}function Qu(e){return t=>{setTimeout(e,void 0,t)}}const Us=class KE extends Gt.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Fo()&&(this.destroyRef=gt(la,{optional:!0})??void 0)}emit(t){const n=A(null);try{super.next(t)}finally{A(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(s=Qu(s),i&&(i=Qu(i)),o&&(o=Qu(o)));const a=super.subscribe({next:i,error:s,complete:o});return t instanceof Ve.yU&&t.add(a),a}};function QE(){return this._results[Symbol.iterator]()}class Xu{static#e=Symbol.iterator;get changes(){return this._changes??=new Us}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Xu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=QE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Hn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ki(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rmC}),mC="ng",Up=new _e(""),ed=new _e("",{providedIn:"platform",factory:()=>"unknown"}),yC=new _e(""),vC=new _e("",{providedIn:"root",factory:()=>_o().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let jp=()=>null;function ld(e,t,n=!1){return jp(e,t,n)}const zp=new _e("",{providedIn:"root",factory:()=>!1});let mc,yc;function fa(e){return function fd(){if(void 0===mc&&(mc=null,bt.trustedTypes))try{mc=bt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return mc}()?.createHTML(e)||e}function hd(){if(void 0===yc&&(yc=null,bt.trustedTypes))try{yc=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return yc}function Qp(e){return hd()?.createHTML(e)||e}function qp(e){return hd()?.createScriptURL(e)||e}class Yp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gn})`}}function Do(e){return e instanceof Yp?e.changingThisBreaksApplicationSecurity:e}function ll(e,t){const n=function kC(e){return e instanceof Yp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gn})`)}return n===t}class VC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(fa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class BC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=fa(t),n}}const jC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pd(e){return(e=String(e)).match(jC)?e:"unsafe:"+e}function ho(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function cl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Jp=ho("area,br,col,hr,img,wbr"),eg=ho("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tg=ho("rp,rt"),gd=cl(Jp,cl(eg,ho("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cl(tg,ho("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),cl(tg,eg)),md=ho("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ng=cl(md,ho("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ho("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),HC=ho("script,style,template");class $C{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=zC(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=WC(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=rg(t).toLowerCase();if(!gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!HC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=rg(t).toLowerCase();gd.hasOwnProperty(n)&&!Jp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(sg(t))}}function WC(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ig(t);return t}function zC(e){const t=e.firstChild;if(t&&function GC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ig(t);return t}function rg(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ig(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const KC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function sg(e){return e.replace(/&/g,"&").replace(KC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(QC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let vc;function yd(e){return"content"in e&&function qC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ha=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ha||{});function og(e){const t=ul();return t?Qp(t.sanitize(ha.HTML,e)||""):ll(e,"HTML")?Qp(Do(e)):function XC(e,t){let n=null;try{vc=vc||function Zp(e){const t=new BC(e);return function UC(){try{return!!(new window.DOMParser).parseFromString(fa(""),"text/html")}catch{return!1}}()?new VC(t):t}(e);let r=t?String(t):"";n=vc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=vc.getInertBodyElement(r)}while(r!==s);return fa((new $C).sanitizeChildren(yd(n)||n))}finally{if(n){const r=yd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(_o(),mt(e))}function vd(e){const t=ul();return t?t.sanitize(ha.URL,e)||"":ll(e,"URL")?Do(e):pd(mt(e))}function ag(e){const t=ul();if(t)return qp(t.sanitize(ha.RESOURCE_URL,e)||"");if(ll(e,"ResourceURL"))return qp(Do(e));throw new Qe(904,!1)}function lg(e,t,n){return function tb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ag:vd}(t,n)(e)}function ul(){const e=Ae();return e&&e[tn].sanitizer}const nb=/^>|^->||--!>|)/g,ib="\u200b$1\u200b";function fg(e){return e.ownerDocument}function ki(e){return e instanceof Function?e():e}var Ec=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ec||{});let Cd;function bd(e,t){return Cd(e,t)}function ga(e,t,n,r,i){if(null!=r){let s,o=!1;bn(r)?s=r:dn(r)&&(o=!0,r=r[G]);const a=Tn(r);0===e&&null!==n?null==i?Eg(t,n,a):jo(t,n,a,i||null,!0):1===e&&null!==n?jo(t,n,a,i||null,!0):2===e?function hl(e,t,n){const r=wc(e,t);r&&function Cb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=s&&function Sb(e,t,n,r,i){const s=n[ct];s!==Tn(n)&&ga(t,e,r,s,i);for(let a=Qt;at.replace(rb,ib))}(t))}function Cc(e,t,n){return e.createElement(t,n)}function vg(e,t){t[tn].changeDetectionScheduler?.notify(1),Ic(e,t,t[it],2,null,null)}function _g(e,t){const n=e[Kt],r=n.indexOf(t);n.splice(r,1)}function dl(e,t){if(e.length<=Qt)return;const n=Qt+t,r=e[n];if(r){const i=r[Er];null!==i&&i!==e&&_g(i,r),t>0&&(e[n-1][Ge]=r[Ge]);const s=ei(e,Qt+t);!function gb(e,t){vg(e,t),t[G]=null,t[ke]=null}(r[U],r);const o=s[Rn];null!==o&&o.detachView(s[U]),r[ge]=null,r[Ge]=null,r[te]&=-129}return r}function bc(e,t){if(!(256&t[te])){const n=t[it];n.destroyNode&&Ic(e,t,n,3,null,null),function yb(e){let t=e[nn];if(!t)return Id(e[U],e);for(;t;){let n=null;if(dn(t))n=t[nn];else{const r=t[Qt];r&&(n=r)}if(!n){for(;t&&!t[Ge]&&t!==e;)dn(t)&&Id(t[U],t),t=t[ge];null===t&&(t=e),dn(t)&&Id(t[U],t),n=t&&t[Ge]}t=n}}(t)}}function Id(e,t){if(256&t[te])return;const n=A(null);try{t[te]&=-129,t[te]|=256,t[Di]&&$e(t[Di]),function Eb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o]():r[-o].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[vt]=null);const i=t[Pi];if(null!==i){t[Pi]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===Gr.None||s===Gr.Emulated)return null}return ni(r,n)}}(e,t.parent,n)}function jo(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eg(e,t,n){e.appendChild(t,n)}function Cg(e,t,n,r,i){null!==r?jo(e,t,n,r,i):Eg(e,t,n)}function wc(e,t){return e.parentNode(t)}function bg(e,t,n){return Sg(e,t,n)}let Td,Sg=function wg(e,t,n){return 40&e.type?ni(e,n):null};function Sc(e,t,n,r){const i=Md(e,r,t),s=t[it],a=bg(r.parent||t[ke],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;hAt&&Pg(e,t,At,!1),zr(o?2:0,i),n(r,i)}finally{Bo(s),zr(o?3:1,i)}}function Rd(e,t,n){if(wn(t)){const r=A(null);try{const s=t.directiveEnd;for(let o=t.directiveStart;onull;function Bg(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const o=t[s];if(void 0===o)continue;r??={};let a,h=Rr.None;Array.isArray(o)?(a=o[0],h=o[1]):a=o;let C=s;if(null!==i){if(!i.hasOwnProperty(s))continue;C=i[s]}0===e?Ug(r,n,C,a,h):Ug(r,n,C,a)}return r}function Ug(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function Ci(e,t,n,r,i,s,o,a){const h=ni(t,n);let O,C=t.inputs;!a&&null!=C&&(O=C[r])?(Ud(e,n,O,r,i),Zi(t)&&function Vb(e,t){const n=Fi(t,e);16&n[te]||(n[te]|=64)}(n,t.index)):3&t.type&&(r=function kb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(h,r,i))}function Ld(e,t,n,r){if(Fh()){const i=null===r?null:{"":-1},s=function Gb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(o)!=a&&o.push(a),o.push(n,r,s)}}(e,t,r,pl(e,n,i.hostVars,jt),i)}function js(e,t,n,r,i,s){const o=ni(e,t);!function Vd(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const a=null==o?mt(s):o(s,r||"",i);e.setAttribute(t,i,a,n)}}(t[it],o,s,e.value,n,r,i)}function qb(e,t,n,r,i,s){const o=s[t];if(null!==o)for(let a=0;a0&&(n[i-1][Ge]=t),r{Xa(e.lView)},consumerOnSignalRead(){this.lView[Di]=this}},Yg=100;function Oc(e,t=!0,n=0){const r=e[tn],i=r.rendererFactory;i.begin?.();try{!function sw(e,t){$d(e,t);let n=0;for(;Au(e);){if(n===Yg)throw new Qe(103,!1);n++,$d(e,1)}}(e,n)}catch(o){throw t&&Ac(e,o),o}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function ow(e,t,n,r){const i=t[te];if(!(256&~i))return;t[tn].inlineEffectRunner?.flush(),ku(t);let o=null,a=null;(function aw(e){return 2!==e.type})(e)&&(a=function tw(e){return e[Di]??function nw(e){const t=qg.pop()??Object.create(iw);return t.lView=e,t}(e)}(t),o=at(a));try{Rh(t),function Uh(e){return Rt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Lg(e,t,n,2,r);const h=!(3&~i);if(h){const B=e.preOrderCheckHooks;null!==B&&Jl(t,B,null)}else{const B=e.preOrderHooks;null!==B&&ec(t,B,0,null),Bu(t,0)}if(function lw(e){for(let t=Ap(e);null!==t;t=Op(t)){if(!(t[te]&Fr.HasTransplantedViews))continue;const n=t[Kt];for(let r=0;r-1&&(dl(t,r),ei(n,r))}this._attachedToViewContainer=!1}bc(this._lView[U],this._lView)}onDestroy(t){ql(this._lView,t)}markForCheck(){vl(this._cdRefInjectingView||this._lView)}detach(){this._lView[te]&=-129}reattach(){Ou(this._lView),this._lView[te]|=128}detectChanges(){this._lView[te]|=1024,Oc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vg(this._lView[U],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Qe(902,!1);this._appRef=t,Ou(this._lView)}}let Dl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fw}return e})();const uw=Dl,dw=class extends uw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function gl(e,t,n,r){const i=A(null);try{const s=t.tView,h=Mc(e,s,n,4096&e[te]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);h[Er]=e[t.index];const O=e[Rn];return null!==O&&(h[Rn]=O.createEmbeddedView(s)),jd(s,h,n),h}finally{A(i)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _l(i)}};function fw(){return Nc(Sn(),Ae())}function Nc(e,t){return 4&e.type?new dw(t,e,ca(e,t)):null}class Lc{}class Lw{}class am{}class Vw{resolveComponentFactory(t){throw function kw(e){const t=Error(`No component factory found for ${mn(e)}.`);return t.ngComponent=e,t}(t)}}let kc=(()=>{class e{static#e=this.NULL=new Vw}return e})();class cm{}let Bw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Uw(){const e=Ae(),n=Fi(Sn().index,e);return(dn(n)?n:e)[it]}()}return e})(),jw=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>null})}return e})();const Xd={},um=new Set;function Hs(e){um.has(e)||(um.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function dm(...e){}class gr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Us(!1),this.onMicrotaskEmpty=new Us(!1),this.onStable=new Us(!1),this.onError=new Us(!1),typeof Zone>"u")throw new Qe(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Hw(){const e="function"==typeof bt.requestAnimationFrame;let t=bt[e?"requestAnimationFrame":"setTimeout"],n=bt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Ww(e){const t=()=>{!function Gw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(bt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{if(function zw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(i,s,o,a);try{return fm(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),hm(e)}},onInvoke:(n,r,i,s,o,a,h)=>{try{return fm(e),n.invoke(i,s,o,a,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),hm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Yd(e),qd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gr.isInAngularZone())throw new Qe(909,!1)}static assertNotInAngularZone(){if(gr.isInAngularZone())throw new Qe(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,$w,dm,dm);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $w={};function qd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hm(e){e._nesting--,qd(e)}class pm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Us,this.onMicrotaskEmpty=new Us,this.onStable=new Us,this.onError=new Us}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}var Ho=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ho||{});const gm={destroy(){}};function mm(e,t){!t&&oo();const n=t?.injector??gt(Li);if(!function ys(e){return"browser"===(e??gt(Li)).get(ed)}(n))return gm;Hs("NgAfterNextRender");const r=n.get(Sl),i=r.handler??=new vm,s=t?.phase??Ho.MixedReadWrite,o=()=>{i.unregister(h),a()},a=n.get(la).onDestroy(o),h=Yi(n,()=>new ym(s,()=>{o(),e()}));return i.register(h),{destroy:o}}class ym{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=gt(gr),this.errorHandler=gt(fo,{optional:!0}),gt(Lc,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class vm{constructor(){this.executingCallbacks=!1,this.buckets={[Ho.EarlyRead]:new Set,[Ho.Write]:new Set,[Ho.MixedReadWrite]:new Set,[Ho.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Sl=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Eo(e){return!!$n(e)}function Bc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o0&&Og(e,n,s.join(" "))}}(ie,Sr,Te,r),void 0!==n&&function s0(e,t,n){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=a0}return e})();function a0(){return Sm(Sn(),Ae())}const l0=jc,bm=class extends l0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){const t=rc(this._hostTNode,this._hostLView);if(ju(t)){const n=el(t,this._hostLView),r=Ja(t);return new Cr(n[U].data[r+8],n)}return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Qt}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,i,va(this._hostTNode,null)),a}createComponent(t,n,r,i,s){const o=t&&!function Ne(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const he=n||{};a=he.index,r=he.injector,i=he.projectableNodes,s=he.environmentInjector||he.ngModuleRef}const h=o?t:new Tl(Vt(t)),C=r||this.parentInjector;if(!s&&null==h.ngModule){const Te=(o?C:this.parentInjector).get(xr,null);Te&&(s=Te)}Vt(h.componentType??{});const ie=h.create(C,i,null,s);return this.insertImpl(ie.hostView,a,va(this._hostTNode,null)),ie}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function sE(e){return bn(e[ge])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const h=i[ge],C=new bm(h,h[ke],h[ge]);C.detach(C.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;return ml(o,i,s,r),t.attachToViewContainerRef(),ss(tf(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=wm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);r&&(ei(tf(this._lContainer),n),bc(r[U],r))}detach(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);return r&&null!=ei(tf(this._lContainer),n)?new _l(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function wm(e){return e[8]}function tf(e){return e[8]||(e[8]=[])}function Sm(e,t){let n;const r=t[e.index];return bn(r)?n=r:(n=$g(r,t,null,e),t[e.index]=n,Tc(t,n)),Im(n,t,e,r),new bm(n,e,t)}let Im=function Tm(e,t,n,r){if(e[ct])return;let i;i=8&n.type?Tn(r):function c0(e,t){const n=e[it],r=n.createComment(""),i=ni(t,e);return jo(n,wc(n,i),r,function bb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ct]=i},nf=()=>!1;class rf{constructor(t){this.queryList=t,this.matches=null}clone(){return new rf(this.queryList)}setDirty(){this.queryList.setDirty()}}class sf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;st.trim())}(t):t}}class af{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(o[a/2]);else{const C=s[a+1],O=t[-h];for(let B=Qt;B(J(t),t.value);return n[L]=t,n}(e),r=n[L];return t?.equal&&(r.equal=t.equal),n.set=i=>je(r,i),n.update=i=>function Fe(e,t){Le()||pt(),je(e,t(e.value))}(r,i),n.asReadonly=Vm.bind(n),n}function Vm(){const e=this[L];if(void 0===e.readonlyFn){const t=()=>this();t[L]=e,e.readonlyFn=t}return e.readonlyFn}function Bm(e){return function Lm(e){return"function"==typeof e&&void 0!==e[L]}(e)&&"function"==typeof e.set}function hf(e){let t=function qm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(vn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Qe(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=$c(e.inputs),o.inputTransforms=$c(e.inputTransforms),o.declaredInputs=$c(e.declaredInputs),o.outputs=$c(e.outputs);const a=i.hostBindings;a&&R0(e,a);const h=i.viewQuery,C=i.contentQueries;if(h&&O0(e,h),C&&N0(e,C),T0(e,i),kr(e.outputs,i.outputs),vn(i)&&i.data.animation){const O=e.data;O.animation=(O.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=us(i.hostAttrs,n=us(n,i.hostAttrs))}}(r)}function T0(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function $c(e){return e===$r?{}:e===zt?[]:e}function O0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function N0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function R0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function ey(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class $o{}class ty{}function V0(e,t){return new pf(e,t??null,[])}class pf extends $o{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Em(this);const i=$n(t);this._bootstrapComponents=ki(i.bootstrap),this._r3Injector=gp(t,n,[{provide:$o,useValue:this},{provide:kc,useValue:this.componentFactoryResolver},...r],mn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gf extends ty{constructor(t){super(),this.moduleType=t}create(t){return new pf(this.moduleType,t,[])}}class ny extends $o{constructor(t){super(),this.componentFactoryResolver=new Em(this),this.instance=null;const n=new ps([...t.providers,{provide:$o,useValue:this},{provide:kc,useValue:this.componentFactoryResolver}],t.parent||ro(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mf(e,t,n=null){return new ny({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Ea=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new In.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wc(e){return!!yf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function yf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $s(e,t,n){return e[t]=n}function Ol(e,t){return e[t]}function lr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Go(e,t,n,r){const i=lr(e,t,n);return lr(e,t+1,r)||i}function zc(e,t,n,r,i){const s=Go(e,t,n,r);return lr(e,t+2,i)||s}function Ji(e,t,n,r,i,s){const o=Go(e,t,n,r);return Go(e,t+2,i,s)||o}function Ca(e,t,n,r,i,s,o,a){const h=Ae(),C=rn(),O=e+At,B=C.firstCreatePass?function W0(e,t,n,r,i,s,o,a,h){const C=t.consts,O=ya(t,e,4,o||null,Ls(C,a));Ld(t,n,O,Ls(C,h)),Zl(t,O);const B=O.tView=Fd(2,O,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,O),B.queries=t.queries.embeddedTView(O)),O}(O,C,h,t,n,r,i,s,o):C.data[O];ks(B,!1);const Z=ry(C,h,B,e);Ya()&&Sc(C,h,Z,B),Qr(Z,h);const ie=$g(Z,h,Z,B);return h[O]=ie,Tc(h,ie),function Mm(e,t,n){return nf(e,t,n)}(ie,B,h),Lo(B)&&Pd(C,h,B),null!=o&&xd(h,B,a),Ca}let ry=function iy(e,t,n,r){return Vs(!0),t[it].createComment("")};function Mf(e,t,n,r){const i=Ae();return lr(i,ms(),t)&&(rn(),js(kn(),i,e,t,n,r)),Mf}function Oa(e,t,n,r){return lr(e,ms(),n)?t+mt(n)+r:jt}function Zc(e,t){return e<<17|t<<2}function wo(e){return e>>17&32767}function Tf(e){return 2|e}function zo(e){return(131068&e)>>2}function Af(e,t){return-131069&e|t<<2}function Of(e){return 1|e}function Fy(e,t,n,r){const i=e[n+1],s=null===t;let o=r?wo(i):zo(i),a=!1;for(;0!==o&&(!1===a||s);){const C=e[o+1];NS(e[o],t)&&(a=!0,e[o+1]=r?Of(C):Tf(C)),o=r?wo(C):zo(C)}a&&(e[n+1]=r?Tf(i):Of(i))}function NS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ar(e,t)>=0}const br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ly(e){return e.substring(br.key,br.keyEnd)}function RS(e){return e.substring(br.value,br.valueEnd)}function ky(e,t){const n=br.textEnd;return n===t?-1:(t=br.keyEnd=function FS(e,t,n){for(;t32;)t++;return t}(e,br.key=t,n),Va(e,t,n))}function Vy(e,t){const n=br.textEnd;let r=br.key=Va(e,t,n);return n===r?-1:(r=br.keyEnd=function LS(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Uy(e,r,n),r=br.value=Va(e,r,n),r=br.valueEnd=function kS(e,t,n){let r=-1,i=-1,s=-1,o=t,a=o;for(;o32&&(a=o),s=i,i=r,r=-33&h}return a}(e,r,n),Uy(e,r,n))}function By(e){br.key=0,br.keyEnd=0,br.value=0,br.valueEnd=0,br.textEnd=e.length}function Va(e,t,n){for(;t=0;n=Vy(t,n))Wy(e,Ly(t),RS(t))}function Hy(e){Ds(GS,Gs,e,!0)}function Gs(e,t){for(let n=function PS(e){return By(e),ky(e,Va(e,0,br.textEnd))}(t);n>=0;n=ky(t,n))Wn(e,Ly(t),!0)}function _s(e,t,n,r){const i=Ae(),s=rn(),o=uo(2);s.firstUpdatePass&&Gy(s,e,o,r),t!==jt&&lr(i,o,t)&&zy(s,s.data[Kr()],i,i[it],e,i[o+1]=function zS(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=mn(Do(e)))),e}(t,n),r,o)}function Ds(e,t,n,r){const i=rn(),s=uo(2);i.firstUpdatePass&&Gy(i,null,s,r);const o=Ae();if(n!==jt&&lr(o,s,n)){const a=i.data[Kr()];if(Qy(a,r)&&!$y(i,s)){let h=r?a.classesWithoutHost:a.stylesWithoutHost;null!==h&&(n=nr(h,n||"")),Rf(i,a,o,n,r)}else!function WS(e,t,n,r,i,s,o,a){i===jt&&(i=zt);let h=0,C=0,O=0=e.expandoStartIndex}function Gy(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Kr()],o=$y(e,n);Qy(s,r)&&null===t&&!o&&(t=!1),t=function BS(e,t,n,r){const i=function Fu(e){const t=Rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Fl(n=Ff(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Ff(i,e,t,n,r),null===s){let h=function US(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==zo(r))return e[wo(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Ff(null,e,t,h[1],r),h=Fl(h,t.attrs,r),function jS(e,t,n,r){e[wo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function HS(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(C=!0)):O=n,i)if(0!==h){const Z=wo(e[a+1]);e[r+1]=Zc(Z,a),0!==Z&&(e[Z+1]=Af(e[Z+1],r)),e[a+1]=function MS(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Zc(a,0),0!==a&&(e[a+1]=Af(e[a+1],r)),a=r;else e[r+1]=Zc(h,0),0===a?a=r:e[h+1]=Af(e[h+1],r),h=r;C&&(e[r+1]=Tf(e[r+1])),Fy(e,O,r,!0),Fy(e,O,r,!1),function OS(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ar(s,t)>=0&&(n[r+1]=Of(n[r+1]))}(t,O,e,r,s),o=Zc(a,h),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Ff(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const h=e[i],C=Array.isArray(h),O=C?h[1]:h,B=null===O;let Z=n[i+1];Z===jt&&(Z=B?zt:void 0);let ie=B?os(Z,r):O===r?Z:void 0;if(C&&!Jc(ie)&&(ie=os(h,r)),Jc(ie)&&(a=ie,o))return a;const he=e[i+1];i=o?wo(he):zo(he)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(a=os(h,r))}return a}function Jc(e){return void 0!==e}function Qy(e,t){return!!(e.flags&(t?8:16))}function eu(e,t,n,r){const i=Ae(),s=rn(),o=At+e,a=i[it],h=s.firstCreatePass?function gI(e,t,n,r,i,s){const o=t.consts,h=ya(t,e,2,r,Ls(o,i));return Ld(t,n,h,Ls(o,s)),null!==h.attrs&&Bc(h,h.attrs,!1),null!==h.mergedAttrs&&Bc(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(o,s,i,t,n,r):s.data[o],C=Zy(s,i,h,a,t,e);i[o]=C;const O=Lo(h);return ks(h,!0),Ng(a,C,h),!function Nl(e){return!(32&~e.flags)}(h)&&Ya()&&Sc(s,i,C,h),0===function aE(){return Rt.lFrame.elementDepthCount}()&&Qr(C,i),function lE(){Rt.lFrame.elementDepthCount++}(),O&&(Pd(s,i,h),Rd(s,h,i)),null!==r&&xd(i,h),eu}function tu(){let e=Sn();Ru()?Pu():(e=e.parent,ks(e,!1));const t=e;(function uE(e){return Rt.skipHydrationRootTNode===e})(t)&&function pE(){Rt.skipHydrationRootTNode=null}(),function cE(){Rt.lFrame.elementDepthCount--}();const n=rn();return n.firstCreatePass&&(Zl(n,e),wn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ME(e){return!!(8&e.flags)}(t)&&Rf(n,t,Ae(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function TE(e){return!!(16&e.flags)}(t)&&Rf(n,t,Ae(),t.stylesWithoutHost,!1),tu}function Uf(e,t,n,r){return eu(e,t,n,r),tu(),Uf}let Zy=(e,t,n,r,i,s)=>(Vs(!0),Cc(r,i,function Xh(){return Rt.lFrame.currentNamespace}()));function nu(e,t,n){const r=Ae(),i=rn(),s=e+At,o=i.firstCreatePass?function vI(e,t,n,r,i){const s=t.consts,o=Ls(s,r),a=ya(t,e,8,"ng-container",o);return null!==o&&Bc(a,o,!0),Ld(t,n,a,Ls(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,n):i.data[s];ks(o,!0);const a=Jy(i,r,o,e);return r[s]=a,Ya()&&Sc(i,r,a,o),Qr(a,r),Lo(o)&&(Pd(i,r,o),Rd(i,o,r)),null!=n&&xd(r,o),nu}function ru(){let e=Sn();const t=rn();return Ru()?Pu():(e=e.parent,ks(e,!1)),t.firstCreatePass&&(Zl(t,e),wn(e)&&t.queries.elementEnd(e)),ru}function jf(e,t,n){return nu(e,t,n),ru(),jf}let Jy=(e,t,n,r)=>(Vs(!0),Sd(t[it],""));function ev(){return Ae()}const Ko=void 0;var CI=["en",[["a","p"],["AM","PM"],Ko],[["AM","PM"],Ko,Ko],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ko,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ko,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ko,"{1} 'at' {0}",Ko],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function EI(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ba={};function Hf(e){const t=function bI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iv(t);if(n)return n;const r=t.split("-")[0];if(n=iv(r),n)return n;if("en"===r)return CI;throw new Qe(701,!1)}function rv(e){return Hf(e)[Ua.PluralCase]}function iv(e){return e in Ba||(Ba[e]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[e]),Ba[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ua||{});const ja="en-US";let sv=ja;function Wf(e,t,n,r){const i=Ae(),s=rn(),o=Sn();return zf(s,i,i[it],o,e,t,r),Wf}function zf(e,t,n,r,i,s,o){const a=Lo(r),C=e.firstCreatePass&&zg(e),O=t[Ye],B=Wg(t);let Z=!0;if(3&r.type||o){const Te=ni(r,t),Be=o?o(Te):Te,Xe=B.length,Pe=o?cn=>o(Tn(cn[r.index])):r.index;let It=null;if(!o&&a&&(It=function _M(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sh?a[h]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==It)(It.__ngLastListenerFn__||It).__ngNextListenerFn__=s,It.__ngLastListenerFn__=s,Z=!1;else{s=Pv(r,t,O,s,!1);const cn=n.listen(Be,i,s);B.push(s,cn),C&&C.push(i,Pe,Xe,Xe+1)}}else s=Pv(r,t,O,s,!1);const ie=r.outputs;let he;if(Z&&null!==ie&&(he=ie[i])){const Te=he.length;if(Te)for(let Be=0;Be-1?Fi(e.index,t):t);let h=Rv(t,n,r,o),C=s.__ngNextListenerFn__;for(;C;)h=Rv(t,n,C,o)&&h,C=C.__ngNextListenerFn__;return i&&!1===h&&o.preventDefault(),h}}function xv(e=1){return function DE(e){return(Rt.lFrame.contextLView=function Ph(e,t){for(;e>0;)t=t[Ln],e--;return t}(e,Rt.lFrame.contextLView))[Ye]}(e)}function DM(e,t){let n=null;const r=function rt(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i(Vs(!0),function wd(e,t){return e.createText(t)}(t[it],r));function Xf(e){return lu("",e,""),Xf}function lu(e,t,n){const r=Ae(),i=Oa(r,e,t,n);return i!==jt&&po(r,Kr(),i),lu}function qf(e,t,n,r,i){const s=Ae(),o=function Na(e,t,n,r,i,s){const a=Go(e,co(),n,i);return uo(2),a?t+mt(n)+r+mt(i)+s:jt}(s,e,t,n,r,i);return o!==jt&&po(s,Kr(),o),qf}function Yf(e,t,n,r,i,s,o,a,h){const C=Ae(),O=function Pa(e,t,n,r,i,s,o,a,h,C){const B=Ji(e,co(),n,i,o,h);return uo(4),B?t+mt(n)+r+mt(i)+s+mt(o)+a+mt(h)+C:jt}(C,e,t,n,r,i,s,o,a,h);return O!==jt&&po(C,Kr(),O),Yf}function Zf(e,t,n){Bm(t)&&(t=t());const r=Ae();return lr(r,ms(),t)&&Ci(rn(),kn(),r,e,t,r[it],n,!1),Zf}function h_(e,t){const n=Bm(e);return n&&e.set(t),n}function Jf(e,t){const n=Ae(),r=rn(),i=Sn();return zf(r,n,n[it],i,e,t),Jf}function eh(e,t,n,r,i){if(e=ce(e),Array.isArray(e))for(let s=0;s>20;if(vi(e)||!e.multi){const ie=new Za(C,i,ma),he=nh(h,t,i?O:O+Z,B);-1===he?(Gu(nc(a,o),s,h),th(s,e,t.length),t.push(h),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(ie),o.push(ie)):(n[he]=ie,o[he]=ie)}else{const ie=nh(h,t,O+Z,B),he=nh(h,t,O,O+Z),Be=he>=0&&n[he];if(i&&!Be||!i&&!(ie>=0&&n[ie])){Gu(nc(a,o),s,h);const Xe=function BM(e,t,n,r,i){const s=new Za(e,n,ma);return s.multi=[],s.index=t,s.componentProviders=0,p_(s,i,r&&!n),s}(i?VM:kM,n.length,i,r,C);!i&&Be&&(n[he].providerFactory=Xe),th(s,e,t.length,0),t.push(h),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(Xe),o.push(Xe)}else th(s,e,ie>-1?ie:he,p_(n[i?he:ie],C,!i&&r));!i&&r&&Be&&n[he].componentProviders++}}}function th(e,t,n,r){const i=vi(t),s=function to(e){return!!e.useClass}(t);if(i||s){const h=(s?ce(t.useClass):t).prototype.ngOnDestroy;if(h){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const O=C.indexOf(n);-1===O?C.push(n,[r,h]):C[O+1].push(r,h)}else C.push(n,h)}}}function p_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nh(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function LM(e,t,n){const r=rn();if(r.firstCreatePass){const i=vn(e);eh(n,r.data,r.blueprint,i,!0),eh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let UM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=fs(0,n.type),i=r.length>0?mf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Wt({token:e,providedIn:"environment",factory:()=>new e(En(xr))})}return e})();function m_(e){Hs("NgStandalone"),e.getStandaloneInjector=t=>t.get(UM).getOrCreateStandaloneInjector(e)}function y_(e,t,n){const r=e.\u0275cmp;r.directiveDefs=yi(t,!1),r.pipeDefs=yi(n,!0)}function __(e,t,n){const r=ri()+e,i=Ae();return i[r]===jt?$s(i,r,n?t.call(n):t()):Ol(i,r)}function D_(e,t,n,r){return T_(Ae(),ri(),e,t,n,r)}function E_(e,t,n,r,i){return function A_(e,t,n,r,i,s,o){const a=t+n;return Go(e,a,i,s)?$s(e,a+2,o?r.call(o,i,s):r(i,s)):Hl(e,a+2)}(Ae(),ri(),e,t,n,r,i)}function C_(e,t,n,r,i,s){return function O_(e,t,n,r,i,s,o,a){const h=t+n;return zc(e,h,i,s,o)?$s(e,h+3,a?r.call(a,i,s,o):r(i,s,o)):Hl(e,h+3)}(Ae(),ri(),e,t,n,r,i,s)}function b_(e,t,n,r,i,s,o){return function N_(e,t,n,r,i,s,o,a,h){const C=t+n;return Ji(e,C,i,s,o,a)?$s(e,C+4,h?r.call(h,i,s,o,a):r(i,s,o,a)):Hl(e,C+4)}(Ae(),ri(),e,t,n,r,i,s,o)}function w_(e,t,n,r,i,s,o,a){const h=ri()+e,C=Ae(),O=Ji(C,h,n,r,i,s);return lr(C,h+4,o)||O?$s(C,h+5,a?t.call(a,n,r,i,s,o):t(n,r,i,s,o)):Ol(C,h+5)}function S_(e,t,n,r,i,s,o,a,h){const C=ri()+e,O=Ae(),B=Ji(O,C,n,r,i,s);return Go(O,C+4,o,a)||B?$s(O,C+6,h?t.call(h,n,r,i,s,o,a):t(n,r,i,s,o,a)):Ol(O,C+6)}function I_(e,t,n,r,i,s,o,a,h,C){const O=ri()+e,B=Ae();let Z=Ji(B,O,n,r,i,s);return zc(B,O+4,o,a,h)||Z?$s(B,O+7,C?t.call(C,n,r,i,s,o,a,h):t(n,r,i,s,o,a,h)):Ol(B,O+7)}function M_(e,t,n,r){return function R_(e,t,n,r,i,s){let o=t+n,a=!1;for(let h=0;h=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Jr(r.type)),a=qn(ma);try{const h=tc(!1),C=s();return tc(h),function wM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ae(),i,C),C}finally{qn(a)}}function x_(e,t,n){const r=e+At,i=Ae(),s=ra(i,r);return function $l(e,t){return e[U].data[t].pure}(i,r)?T_(i,ri(),t,s.transform,n,s):s.transform(n)}function F_(e,t){return Nc(e,t)}class Y_{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Z_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rD=new _e(""),iD=new _e("");let ch,UT=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ch||(function jT(e){ch=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(En(gr),En(sD),En(iD))};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}return e})(),sD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ch?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function uh(e){return!!e&&"function"==typeof e.then}function oD(e){return!!e&&"function"==typeof e.subscribe}const aD=new _e("");let dh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=gt(aD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(uh(s))n.push(s);else if(oD(s)){const o=new Promise((a,h)=>{s.subscribe({complete:a,error:h})});n.push(o)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fh=new _e("");function uD(e,t){return Array.isArray(t)?t.reduce(uD,e):{...e,...t}}let So=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gt(yp),this.afterRenderEffectManager=gt(Sl),this.externalTestViews=new Set,this.beforeRender=new Gt.B,this.afterTick=new Gt.B,this.componentTypes=[],this.components=[],this.isStable=gt(Ea).hasPendingTasks.pipe((0,Pn.T)(n=>!n)),this._injector=gt(xr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof am;if(!this._injector.get(dh).done)throw!i&&Ar(n),new Qe(405,!1);let o;o=i?n:this._injector.get(kc).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function HT(e){return e.isBoundToModule}(o)?void 0:this._injector.get($o),C=o.create(Li.NULL,[],r||o.selector,a),O=C.location.nativeElement,B=C.injector.get(rD,null);return B?.registerApplication(O),C.onDestroy(()=>{this.detachView(C.hostView),fu(this.components,C),B?.unregisterApplication(O)}),this._loadComponent(C),C}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Qe(101,!1);const r=A(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,A(r)}}detectChangesInAttachedViews(n){let r=0;const i=this.afterRenderEffectManager;for(;;){if(r===Yg)throw new Qe(103,!1);if(n){const s=0===r;this.beforeRender.next(s);for(let{_lView:o,notifyErrorHandler:a}of this._views)GT(o,s,a)}if(r++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hh(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hh(s))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(fh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Qe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function GT(e,t,n){!t&&!hh(e)||function WT(e,t,n){let r;n?(r=0,e[te]|=1024):r=64&e[te]?0:1,Oc(e,t,r)}(e,n,t)}function hh(e){return Au(e)}class zT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let KT=(()=>{class e{compileModuleSync(n){return new gf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ki($n(n).declarations).reduce((o,a)=>{const h=Vt(a);return h&&o.push(new Tl(h)),o},[]);return new zT(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qT=(()=>{class e{constructor(){this.zone=gt(gr),this.applicationRef=gt(So)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YT(){const e=gt(gr),t=gt(fo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let JT=(()=>{class e{constructor(){this.subscription=new Ve.yU,this.initialized=!1,this.zone=gt(gr),this.pendingTasks=gt(Ea)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{gr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const pu=new _e("",{providedIn:"root",factory:()=>gt(pu,Ft.Optional|Ft.SkipSelf)||function eA(){return typeof $localize<"u"&&$localize.locale||ja}()}),tA=new _e("",{providedIn:"root",factory:()=>"USD"}),ph=new _e("");let pD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Kw(e="zone.js",t){return"noop"===e?new pm:"zone.js"===e?new gr(t):e}(r?.ngZone,function hD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function B0(e,t,n){return new pf(e,t,n)}(n.moduleType,this.injector,function fD(e){return[{provide:gr,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const t=gt(qT,{optional:!0});return()=>t.initialize()}},{provide:hi,multi:!0,useFactory:()=>{const t=gt(JT);return()=>{t.initialize()}}},{provide:yp,useFactory:YT}]}(()=>i)),o=s.injector.get(fo,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:h=>{o.handleError(h)}});s.onDestroy(()=>{fu(this._modules,s),a.unsubscribe()})}),function cD(e,t,n){try{const r=n();return uh(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,i,()=>{const a=s.injector.get(dh);return a.runInitializers(),a.donePromise.then(()=>(function ov(e){"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(pu,ja)||ja),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=uD({},r);return function XT(e,t,n){const r=new gf(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(So);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Qe(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ph,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(En(Li))};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Io=null;const gD=new _e("");function mD(e,t,n=[]){const r=`Platform: ${t}`,i=new _e(r);return(s=[])=>{let o=gh();if(!o||o.injector.get(gD,!1)){const a=[...n,...s,{provide:i,useValue:!0}];e?e(a):function rA(e){if(Io&&!Io.get(gD,!1))throw new Qe(400,!1);(function lD(){!function $t(e){ze=e}(()=>{throw new Qe(600,!1)})})(),Io=e;const t=e.get(pD);(function vD(e){e.get(Up,null)?.forEach(n=>n())})(e)}(function yD(e=[],t){return Li.create({name:t,providers:[{provide:Ri,useValue:"platform"},{provide:ph,useValue:new Set([()=>Io=null])},...e]})}(a,r))}return function iA(e){const t=gh();if(!t)throw new Qe(401,!1);return t}()}}function gh(){return Io?.get(pD)??null}let DD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oA}return e})();function oA(e){return function aA(e,t,n){if(Zi(e)&&!n){const r=Fi(e.index,t);return new _l(r,r)}return 47&e.type?new _l(t[an],t):null}(Sn(),Ae(),!(16&~e))}class wD{constructor(){}supports(t){return Wc(t)}create(t){return new fA(t)}}const dA=(e,t)=>t;class fA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||dA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new hA(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new SD),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new SD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class hA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class SD{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new pA,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ID(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new mA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class mA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function TD(){return new Dh([new wD])}let Dh=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:TD});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||TD()),deps:[[e,new di,new rr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Qe(901,!1)}}return e})();function AD(){return new Eh([new MD])}let Eh=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:AD});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||AD()),deps:[[e,new di,new rr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Qe(901,!1)}}return e})();const _A=mD(null,"core",[]);let DA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(En(So))};static#t=this.\u0275mod=Ni({type:e});static#n=this.\u0275inj=qr({})}return e})();function XA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function YA(e,t){Hs("NgSignals");const n=function Ee(e){const t=Object.create(qe);t.computation=e;const n=()=>{if(fe(t),J(t),t.value===ae)throw t.error;return t.value};return n[L]=t,n}(e);return t?.equal&&(n[L].equal=t.equal),n}function ZA(e){const t=A(null);try{return e()}finally{A(t)}}const JA=new _e("",{providedIn:"root",factory:()=>gt(eO)});let eO=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>new tO})}return e})();class tO{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=gt(Ea),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class nO{constructor(t,n,r,i,s,o){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=s,this.watcher=function Ut(e,t,n){const r=Object.create(en);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=h=>{r.cleanupFn=h};return r.ref={notify:()=>He(r),run:()=>{if(null===r.fn)return;if(function H(){return re}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!St(r))return;r.hasRun=!0;const h=at(r);try{r.cleanupFn(),r.cleanupFn=dt,r.fn(i)}finally{Bt(r,h)}},cleanup:()=>r.cleanupFn(),destroy:()=>function o(h){(function s(h){return null===h.fn&&null===h.schedule})(h)||($e(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=dt)}(r),[L]:r},r.ref}(a=>this.runEffect(a),()=>this.schedule(),o),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(fo,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function YD(e,t){Hs("NgSignals"),!t?.injector&&oo();const n=t?.injector??gt(Li),r=!0!==t?.manualCleanup?n.get(la):null,i=new nO(n.get(JA),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),s=n.get(DD,null,{optional:!0});return s&&8&s._lView[te]?(s._lView[Wr]??=[]).push(i.watcher.notify):i.watcher.notify(),i}function rO(e){const t=Vt(e);if(!t)return null;const n=new Tl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},4341:(Ze,De,N)=>{N.d(De,{YN:()=>qi,kq:()=>be,vO:()=>ut,BC:()=>sr,vS:()=>Ft});var g=N(4438),v=N(177),F=N(6648),re=N(1985),f=N(3073),L=N(8750),A=N(9326),$=N(4360),H=N(6450),k=N(8496),J=N(6354);let le=(()=>{class M{constructor(D,V){this._renderer=D,this._elementRef=V,this.onChange=ee=>{},this.onTouched=()=>{}}setProperty(D,V){this._renderer.setProperty(this._elementRef.nativeElement,D,V)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(g.sFG),g.rXU(g.aKT))};static#t=this.\u0275dir=g.FsC({type:M})}return M})(),fe=(()=>{class M extends le{static#e=this.\u0275fac=(()=>{let D;return function(ee){return(D||(D=g.xGo(M)))(ee||M)}})();static#t=this.\u0275dir=g.FsC({type:M,features:[g.Vt3]})}return M})();const be=new g.nKC(""),at={provide:be,useExisting:(0,g.Rfq)(()=>$e),multi:!0},St=new g.nKC("");let $e=(()=>{class M extends le{constructor(D,V,ee){super(D,V),this._compositionMode=ee,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Bt(){const M=(0,v.QT)()?(0,v.QT)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(g.sFG),g.rXU(g.aKT),g.rXU(St,8))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(V,ee){1&V&&g.bIt("input",function(Et){return ee._handleInput(Et.target.value)})("blur",function(){return ee.onTouched()})("compositionstart",function(){return ee._compositionStart()})("compositionend",function(Et){return ee._compositionEnd(Et.target.value)})},features:[g.Jv_([at]),g.Vt3]})}return M})();const se=new g.nKC(""),ne=new g.nKC("");function Ce(M){return null!=M}function Se(M){return(0,g.jNT)(M)?(0,F.H)(M):M}function Me(M){let T={};return M.forEach(D=>{T=null!=D?{...T,...D}:T}),0===Object.keys(T).length?null:T}function je(M,T){return T.map(D=>D(M))}function st(M){return M.map(T=>function Fe(M){return!M.validate}(T)?T:D=>T.validate(D))}function Ut(M){return null!=M?function Lt(M){if(!M)return null;const T=M.filter(Ce);return 0==T.length?null:function(D){return Me(je(D,T))}}(st(M)):null}function en(M){return null!=M?function dt(M){if(!M)return null;const T=M.filter(Ce);return 0==T.length?null:function(D){return function W(...M){const T=(0,A.ms)(M),{args:D,keys:V}=(0,f.D)(M),ee=new re.c(rt=>{const{length:Et}=D;if(!Et)return void rt.complete();const Ot=new Array(Et);let pi=Et,gi=Et;for(let mi=0;mi{As||(As=!0,gi--),Ot[mi]=Xs},()=>pi--,void 0,()=>{(!pi||!As)&&(gi||rt.next(V?(0,k.e)(V,Ot):Ot),rt.complete())}))}});return T?ee.pipe((0,H.I)(T)):ee}(je(D,T).map(Se)).pipe((0,J.T)(Me))}}(st(M)):null}function _n(M,T){return null===M?[T]:Array.isArray(M)?[...M,T]:[M,T]}function In(M){return M?Array.isArray(M)?M:[M]:[]}function Pn(M,T){return Array.isArray(M)?M.includes(T):M===T}function fn(M,T){const D=In(T);return In(M).forEach(ee=>{Pn(D,ee)||D.push(ee)}),D}function Gn(M,T){return In(T).filter(D=>!Pn(M,D))}class Qe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Ut(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=en(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,D){return!!this.control&&this.control.hasError(T,D)}getError(T,D){return this.control?this.control.getError(T,D):null}}class un extends Qe{get formDirective(){return null}get path(){return null}}class ut extends Qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mr{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let sr=(()=>{class M extends mr{constructor(D){super(D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(ut,2))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,ee){2&V&&g.AVh("ng-untouched",ee.isUntouched)("ng-touched",ee.isTouched)("ng-pristine",ee.isPristine)("ng-dirty",ee.isDirty)("ng-valid",ee.isValid)("ng-invalid",ee.isInvalid)("ng-pending",ee.isPending)},features:[g.Vt3]})}return M})();const ce="VALID",de="INVALID",Q="PENDING",oe="DISABLED";function ln(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class Un{constructor(T,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(D)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===ce}get invalid(){return this.status===de}get pending(){return this.status==Q}get disabled(){return this.status===oe}get enabled(){return this.status!==oe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(fn(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(fn(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(Gn(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(Gn(T,this._rawAsyncValidators))}hasValidator(T){return Pn(this._rawValidators,T)}hasAsyncValidator(T){return Pn(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=Q,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const D=this._parentMarkedDirty(T.onlySelf);this.status=oe,this.errors=null,this._forEachChild(V=>{V.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:D}),this._onDisabledChange.forEach(V=>V(!0))}enable(T={}){const D=this._parentMarkedDirty(T.onlySelf);this.status=ce,this._forEachChild(V=>{V.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:D}),this._onDisabledChange.forEach(V=>V(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ce||this.status===Q)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?oe:ce}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=Q,this._hasOwnPendingAsyncValidator=!0;const D=Se(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(V=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(V,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,D={}){this.errors=T,this._updateControlsErrors(!1!==D.emitEvent)}get(T){let D=T;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((V,ee)=>V&&V._find(ee),this)}getError(T,D){const V=D?this.get(D):this;return V&&V.errors?V.errors[T]:null}hasError(T,D){return!!this.getError(T,D)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new g.bkB,this.statusChanges=new g.bkB}_calculateStatus(){return this._allControlsDisabled()?oe:this.errors?de:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Q)?Q:this._anyControlsHaveStatus(de)?de:ce}_anyControlsHaveStatus(T){return this._anyControls(D=>D.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){ln(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function tt(M){return Array.isArray(M)?Ut(M):M||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function qt(M){return Array.isArray(M)?en(M):M||null}(this._rawAsyncValidators)}}const hn=new g.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Xr}),Xr="always";function yr(M,T,D=Xr){(function Or(M,T){const D=function Gt(M){return M._rawValidators}(M);null!==T.validator?M.setValidators(_n(D,T.validator)):"function"==typeof D&&M.setValidators([D]);const V=function Ve(M){return M._rawAsyncValidators}(M);null!==T.asyncValidator?M.setAsyncValidators(_n(V,T.asyncValidator)):"function"==typeof V&&M.setAsyncValidators([V]);const ee=()=>M.updateValueAndValidity();vr(T._rawValidators,ee),vr(T._rawAsyncValidators,ee)})(M,T),T.valueAccessor.writeValue(M.value),(M.disabled||"always"===D)&&T.valueAccessor.setDisabledState?.(M.disabled),function Yr(M,T){T.valueAccessor.registerOnChange(D=>{M._pendingValue=D,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&fr(M,T)})}(M,T),function j(M,T){const D=(V,ee)=>{T.valueAccessor.writeValue(V),ee&&T.viewToModelUpdate(V)};M.registerOnChange(D),T._registerOnDestroy(()=>{M._unregisterOnChange(D)})}(M,T),function ji(M,T){T.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&fr(M,T),"submit"!==M.updateOn&&M.markAsTouched()})}(M,T),function qr(M,T){if(T.valueAccessor.setDisabledState){const D=V=>{T.valueAccessor.setDisabledState(V)};M.registerOnDisabledChange(D),T._registerOnDestroy(()=>{M._unregisterOnDisabledChange(D)})}}(M,T)}function vr(M,T){M.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(T)})}function fr(M,T){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Nn(M,T){const D=M.indexOf(T);D>-1&&M.splice(D,1)}function hr(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}Promise.resolve();const yn=class extends Un{constructor(T=null,D,V){super(function Re(M){return(ln(M)?M.validators:M)||null}(D),function ht(M,T){return(ln(T)?T.asyncValidators:M)||null}(V,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ln(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=hr(T)?T.value:T)}setValue(T,D={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(V=>V(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(T,D={}){this.setValue(T,D)}reset(T=this.defaultValue,D={}){this._applyFormState(T),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){Nn(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){Nn(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){hr(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},ts={provide:ut,useExisting:(0,g.Rfq)(()=>Ft)},Si=Promise.resolve();let Ft=(()=>{class M extends ut{constructor(D,V,ee,rt,Et,Ot){super(),this._changeDetectorRef=Et,this.callSetDisabledState=Ot,this.control=new yn,this._registered=!1,this.name="",this.update=new g.bkB,this._parent=D,this._setValidators(V),this._setAsyncValidators(ee),this.valueAccessor=function Ht(M,T){if(!T)return null;let D,V,ee;return Array.isArray(T),T.forEach(rt=>{rt.constructor===$e?D=rt:function Jt(M){return Object.getPrototypeOf(M.constructor)===fe}(rt)?V=rt:ee=rt}),ee||V||D||null}(0,rt)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const V=D.name.previousValue;this.formDirective.removeControl({name:V,path:this._getPath(V)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),function lt(M,T){if(!M.hasOwnProperty("model"))return!1;const D=M.model;return!!D.isFirstChange()||!Object.is(T,D.currentValue)}(D,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){yr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){Si.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const V=D.isDisabled.currentValue,ee=0!==V&&(0,g.L39)(V);Si.then(()=>{ee&&!this.control.disabled?this.control.disable():!ee&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?function oi(M,T){return[...T.path,M]}(D,this._parent):[D]}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(un,9),g.rXU(se,10),g.rXU(ne,10),g.rXU(be,10),g.rXU(g.gRc,8),g.rXU(hn,8))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[g.Mj6.None,"disabled","isDisabled"],model:[g.Mj6.None,"ngModel","model"],options:[g.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[g.Jv_([ts]),g.Vt3,g.OA$]})}return M})(),Gr=(()=>{class M{static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=g.$C({type:M});static#n=this.\u0275inj=g.G2t({})}return M})(),qi=(()=>{class M{static withConfig(D){return{ngModule:M,providers:[{provide:hn,useValue:D.callSetDisabledState??Xr}]}}static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=g.$C({type:M});static#n=this.\u0275inj=g.G2t({imports:[Gr]})}return M})()},345:(Ze,De,N)=>{N.d(De,{B7:()=>ne,Bb:()=>In,hE:()=>Gn,sG:()=>en});var g=N(4438),v=N(177);class F extends v.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends F{static makeCurrent(){(0,v.ZD)(new re)}onAndCancel(de,Q,oe){return de.addEventListener(Q,oe),()=>{de.removeEventListener(Q,oe)}}dispatchEvent(de,Q){de.dispatchEvent(Q)}remove(de){de.parentNode&&de.parentNode.removeChild(de)}createElement(de,Q){return(Q=Q||this.getDefaultDocument()).createElement(de)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(de){return de.nodeType===Node.ELEMENT_NODE}isShadowRoot(de){return de instanceof DocumentFragment}getGlobalEventTarget(de,Q){return"window"===Q?window:"document"===Q?de:"body"===Q?de.body:null}getBaseHref(de){const Q=function L(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Q?null:function A(ce){return new URL(ce,document.baseURI).pathname}(Q)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(de){return(0,v._b)(document.cookie,de)}}let f=null,H=(()=>{class ce{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||ce)};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const k=new g.nKC("");let W=(()=>{class ce{constructor(Q,oe){this._zone=oe,this._eventNameToPlugin=new Map,Q.forEach(Re=>{Re.manager=this}),this._plugins=Q.slice().reverse()}addEventListener(Q,oe,Re){return this._findPluginFor(oe).addEventListener(Q,oe,Re)}getZone(){return this._zone}_findPluginFor(Q){let oe=this._eventNameToPlugin.get(Q);if(oe)return oe;if(oe=this._plugins.find(tt=>tt.supports(Q)),!oe)throw new g.wOt(5101,!1);return this._eventNameToPlugin.set(Q,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(k),g.KVO(g.SKi))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();class J{constructor(de){this._doc=de}}const le="ng-app-id";let fe=(()=>{class ce{constructor(Q,oe,Re,tt={}){this.doc=Q,this.appId=oe,this.nonce=Re,this.platformId=tt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.Vy)(tt),this.resetHostNodes()}addStyles(Q){for(const oe of Q)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(Q){for(const oe of Q)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const Q=this.styleNodesInDOM;Q&&(Q.forEach(oe=>oe.remove()),Q.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(Q){this.hostNodes.add(Q);for(const oe of this.getAllStyles())this.addStyleToHost(Q,oe)}removeHost(Q){this.hostNodes.delete(Q)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Q){for(const oe of this.hostNodes)this.addStyleToHost(oe,Q)}onStyleRemoved(Q){const oe=this.styleRef;oe.get(Q)?.elements?.forEach(Re=>Re.remove()),oe.delete(Q)}collectServerRenderedStyles(){const Q=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(Q?.length){const oe=new Map;return Q.forEach(Re=>{null!=Re.textContent&&oe.set(Re.textContent,Re)}),oe}return null}changeUsageCount(Q,oe){const Re=this.styleRef;if(Re.has(Q)){const tt=Re.get(Q);return tt.usage+=oe,tt.usage}return Re.set(Q,{usage:oe,elements:[]}),oe}getStyleElement(Q,oe){const Re=this.styleNodesInDOM,tt=Re?.get(oe);if(tt?.parentNode===Q)return Re.delete(oe),tt.removeAttribute(le),tt;{const ht=this.doc.createElement("style");return this.nonce&&ht.setAttribute("nonce",this.nonce),ht.textContent=oe,this.platformIsServer&&ht.setAttribute(le,this.appId),Q.appendChild(ht),ht}}addStyleToHost(Q,oe){const Re=this.getStyleElement(Q,oe),tt=this.styleRef,ht=tt.get(oe)?.elements;ht?ht.push(Re):tt.set(oe,{elements:[Re],usage:1})}resetHostNodes(){const Q=this.hostNodes;Q.clear(),Q.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ),g.KVO(g.sZ2),g.KVO(g.BIS,8),g.KVO(g.Agw))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const be={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Le=/%COMP%/g,$e=new g.nKC("",{providedIn:"root",factory:()=>!0});function se(ce,de){return de.map(Q=>Q.replace(Le,ce))}let ne=(()=>{class ce{constructor(Q,oe,Re,tt,ht,qt,ln,Mn=null){this.eventManager=Q,this.sharedStylesHost=oe,this.appId=Re,this.removeStylesOnCompDestroy=tt,this.doc=ht,this.platformId=qt,this.ngZone=ln,this.nonce=Mn,this.rendererByCompId=new Map,this.platformIsServer=(0,v.Vy)(qt),this.defaultRenderer=new Ie(Q,ht,ln,this.platformIsServer)}createRenderer(Q,oe){if(!Q||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===g.gXe.ShadowDom&&(oe={...oe,encapsulation:g.gXe.Emulated});const Re=this.getOrCreateRenderer(Q,oe);return Re instanceof Oe?Re.applyToHost(Q):Re instanceof qe&&Re.applyStyles(),Re}getOrCreateRenderer(Q,oe){const Re=this.rendererByCompId;let tt=Re.get(oe.id);if(!tt){const ht=this.doc,qt=this.ngZone,ln=this.eventManager,Mn=this.sharedStylesHost,Ir=this.removeStylesOnCompDestroy,Un=this.platformIsServer;switch(oe.encapsulation){case g.gXe.Emulated:tt=new Oe(ln,Mn,oe,this.appId,Ir,ht,qt,Un);break;case g.gXe.ShadowDom:return new ae(ln,Mn,Q,oe,ht,qt,this.nonce,Un);default:tt=new qe(ln,Mn,oe,Ir,ht,qt,Un)}Re.set(oe.id,tt)}return tt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(W),g.KVO(fe),g.KVO(g.sZ2),g.KVO($e),g.KVO(v.qQ),g.KVO(g.Agw),g.KVO(g.SKi),g.KVO(g.BIS))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();class Ie{constructor(de,Q,oe,Re){this.eventManager=de,this.doc=Q,this.ngZone=oe,this.platformIsServer=Re,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(de,Q){return Q?this.doc.createElementNS(be[Q]||Q,de):this.doc.createElement(de)}createComment(de){return this.doc.createComment(de)}createText(de){return this.doc.createTextNode(de)}appendChild(de,Q){(xe(de)?de.content:de).appendChild(Q)}insertBefore(de,Q,oe){de&&(xe(de)?de.content:de).insertBefore(Q,oe)}removeChild(de,Q){de&&de.removeChild(Q)}selectRootElement(de,Q){let oe="string"==typeof de?this.doc.querySelector(de):de;if(!oe)throw new g.wOt(-5104,!1);return Q||(oe.textContent=""),oe}parentNode(de){return de.parentNode}nextSibling(de){return de.nextSibling}setAttribute(de,Q,oe,Re){if(Re){Q=Re+":"+Q;const tt=be[Re];tt?de.setAttributeNS(tt,Q,oe):de.setAttribute(Q,oe)}else de.setAttribute(Q,oe)}removeAttribute(de,Q,oe){if(oe){const Re=be[oe];Re?de.removeAttributeNS(Re,Q):de.removeAttribute(`${oe}:${Q}`)}else de.removeAttribute(Q)}addClass(de,Q){de.classList.add(Q)}removeClass(de,Q){de.classList.remove(Q)}setStyle(de,Q,oe,Re){Re&(g.czy.DashCase|g.czy.Important)?de.style.setProperty(Q,oe,Re&g.czy.Important?"important":""):de.style[Q]=oe}removeStyle(de,Q,oe){oe&g.czy.DashCase?de.style.removeProperty(Q):de.style[Q]=""}setProperty(de,Q,oe){null!=de&&(de[Q]=oe)}setValue(de,Q){de.nodeValue=Q}listen(de,Q,oe){if("string"==typeof de&&!(de=(0,v.QT)().getGlobalEventTarget(this.doc,de)))throw new Error(`Unsupported event target ${de} for event ${Q}`);return this.eventManager.addEventListener(de,Q,this.decoratePreventDefault(oe))}decoratePreventDefault(de){return Q=>{if("__ngUnwrap__"===Q)return de;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>de(Q)):de(Q))&&Q.preventDefault()}}}function xe(ce){return"TEMPLATE"===ce.tagName&&void 0!==ce.content}class ae extends Ie{constructor(de,Q,oe,Re,tt,ht,qt,ln){super(de,tt,ht,ln),this.sharedStylesHost=Q,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=se(Re.id,Re.styles);for(const Ir of Mn){const Un=document.createElement("style");qt&&Un.setAttribute("nonce",qt),Un.textContent=Ir,this.shadowRoot.appendChild(Un)}}nodeOrShadowRoot(de){return de===this.hostEl?this.shadowRoot:de}appendChild(de,Q){return super.appendChild(this.nodeOrShadowRoot(de),Q)}insertBefore(de,Q,oe){return super.insertBefore(this.nodeOrShadowRoot(de),Q,oe)}removeChild(de,Q){return super.removeChild(this.nodeOrShadowRoot(de),Q)}parentNode(de){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(de)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class qe extends Ie{constructor(de,Q,oe,Re,tt,ht,qt,ln){super(de,tt,ht,qt),this.sharedStylesHost=Q,this.removeStylesOnCompDestroy=Re,this.styles=ln?se(ln,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Oe extends qe{constructor(de,Q,oe,Re,tt,ht,qt,ln){const Mn=Re+"-"+oe.id;super(de,Q,oe,tt,ht,qt,ln,Mn),this.contentAttr=function pe(ce){return"_ngcontent-%COMP%".replace(Le,ce)}(Mn),this.hostAttr=function et(ce){return"_nghost-%COMP%".replace(Le,ce)}(Mn)}applyToHost(de){this.applyStyles(),this.setAttribute(de,this.hostAttr,"")}createElement(de,Q){const oe=super.createElement(de,Q);return super.setAttribute(oe,this.contentAttr,""),oe}}let ze=(()=>{class ce extends J{constructor(Q){super(Q)}supports(Q){return!0}addEventListener(Q,oe,Re){return Q.addEventListener(oe,Re,!1),()=>this.removeEventListener(Q,oe,Re)}removeEventListener(Q,oe,Re){return Q.removeEventListener(oe,Re)}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const pt=["alt","control","meta","shift"],$t={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},me={alt:ce=>ce.altKey,control:ce=>ce.ctrlKey,meta:ce=>ce.metaKey,shift:ce=>ce.shiftKey};let Ce=(()=>{class ce extends J{constructor(Q){super(Q)}supports(Q){return null!=ce.parseEventName(Q)}addEventListener(Q,oe,Re){const tt=ce.parseEventName(oe),ht=ce.eventCallback(tt.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.QT)().onAndCancel(Q,tt.domEventName,ht))}static parseEventName(Q){const oe=Q.toLowerCase().split("."),Re=oe.shift();if(0===oe.length||"keydown"!==Re&&"keyup"!==Re)return null;const tt=ce._normalizeKey(oe.pop());let ht="",qt=oe.indexOf("code");if(qt>-1&&(oe.splice(qt,1),ht="code."),pt.forEach(Mn=>{const Ir=oe.indexOf(Mn);Ir>-1&&(oe.splice(Ir,1),ht+=Mn+".")}),ht+=tt,0!=oe.length||0===tt.length)return null;const ln={};return ln.domEventName=Re,ln.fullKey=ht,ln}static matchEventFullKeyCode(Q,oe){let Re=$t[Q.key]||Q.key,tt="";return oe.indexOf("code.")>-1&&(Re=Q.code,tt="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),pt.forEach(ht=>{ht!==Re&&(0,me[ht])(Q)&&(tt+=ht+".")}),tt+=Re,tt===oe)}static eventCallback(Q,oe,Re){return tt=>{ce.matchEventFullKeyCode(tt,Q)&&Re.runGuarded(()=>oe(tt))}}static _normalizeKey(Q){return"esc"===Q?"escape":Q}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const en=(0,g.oH4)(g.fpN,"browser",[{provide:g.Agw,useValue:v.AJ},{provide:g.PLl,useValue:function st(){re.makeCurrent()},multi:!0},{provide:v.qQ,useFactory:function Ut(){return(0,g.TL$)(document),document},deps:[]}]),_n=new g.nKC(""),Gt=[{provide:g.e01,useClass:class ${addToWindow(de){g.JZv.getAngularTestability=(oe,Re=!0)=>{const tt=de.findTestabilityInTree(oe,Re);if(null==tt)throw new g.wOt(5103,!1);return tt},g.JZv.getAllAngularTestabilities=()=>de.getAllTestabilities(),g.JZv.getAllAngularRootElements=()=>de.getAllRootElements(),g.JZv.frameworkStabilizers||(g.JZv.frameworkStabilizers=[]),g.JZv.frameworkStabilizers.push(oe=>{const Re=g.JZv.getAllAngularTestabilities();let tt=Re.length;const ht=function(){tt--,0==tt&&oe()};Re.forEach(qt=>{qt.whenStable(ht)})})}findTestabilityInTree(de,Q,oe){return null==Q?null:de.getTestability(Q)??(oe?(0,v.QT)().isShadowRoot(Q)?this.findTestabilityInTree(de,Q.host,!0):this.findTestabilityInTree(de,Q.parentElement,!0):null)}},deps:[]},{provide:g.WHO,useClass:g.NYb,deps:[g.SKi,g.giA,g.e01]},{provide:g.NYb,useClass:g.NYb,deps:[g.SKi,g.giA,g.e01]}],Ve=[{provide:g.H8p,useValue:"root"},{provide:g.zcH,useFactory:function Lt(){return new g.zcH},deps:[]},{provide:k,useClass:ze,multi:!0,deps:[v.qQ,g.SKi,g.Agw]},{provide:k,useClass:Ce,multi:!0,deps:[v.qQ]},ne,fe,W,{provide:g._9s,useExisting:ne},{provide:v.N0,useClass:H,deps:[]},[]];let In=(()=>{class ce{constructor(Q){}static withServerTransition(Q){return{ngModule:ce,providers:[{provide:g.sZ2,useValue:Q.appId}]}}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(_n,12))};static#t=this.\u0275mod=g.$C({type:ce});static#n=this.\u0275inj=g.G2t({providers:[...Ve,...Gt],imports:[v.MD,g.Hbi]})}return ce})(),Gn=(()=>{class ce{constructor(Q){this._doc=Q}getTitle(){return this._doc.title}setTitle(Q){this._doc.title=Q||""}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})()},7488:(Ze,De,N)=>{N.d(De,{nX:()=>Hr,wF:()=>wt,Ix:()=>nn,Wk:()=>an,wQ:()=>Er,iI:()=>Sh,n3:()=>Ki});var g=N(467),v=N(4438),F=N(1985),re=N(8071),L=N(6648),A=N(7673),$=N(4412),H=N(3073),k=N(3669),W=N(6450),J=N(9326),le=N(8496),fe=N(4360),be=N(5225);function Le(...c){const m=(0,J.lI)(c),d=(0,J.ms)(c),{args:y,keys:b}=(0,H.D)(c);if(0===y.length)return(0,L.H)([],m);const P=new F.c(function He(c,m,d=k.D){return y=>{at(m,()=>{const{length:b}=c,P=new Array(b);let K=b,ye=b;for(let ue=0;ue{const We=(0,L.H)(c[ue],m);let Nt=!1;We.subscribe((0,fe._)(y,kt=>{P[ue]=kt,Nt||(Nt=!0,ye--),ye||y.next(d(P.slice()))},()=>{--K||y.complete()}))},y)},y)}}(y,m,b?K=>(0,le.e)(b,K):k.D));return d?P.pipe((0,W.I)(d)):P}function at(c,m,d){c?(0,be.N)(d,c,m):m()}const St=(0,N(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var $e=N(8793),pe=N(8750);function et(c){return new F.c(m=>{(0,pe.Tg)(c()).subscribe(m)})}var se=N(1203);function ne(c,m){const d=(0,re.T)(c)?c:()=>c,y=b=>b.error(d());return new F.c(m?b=>m.schedule(y,0,b):y)}var Ie=N(983),Ee=N(8359),Y=N(9974);function xe(){return(0,Y.N)((c,m)=>{let d=null;c._refCount++;const y=(0,fe._)(m,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(d=null);const b=c._connection,P=d;d=null,b&&(!P||b===P)&&b.unsubscribe(),m.unsubscribe()});c.subscribe(y),y.closed||(d=c.connect())})}class ae extends F.c{constructor(m,d){super(),this.source=m,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,Y.S)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new Ee.yU;const d=this.getSubject();m.add(this.source.subscribe((0,fe._)(d,void 0,()=>{this._teardown(),d.complete()},y=>{this._teardown(),d.error(y)},()=>this._teardown()))),m.closed&&(this._connection=null,m=Ee.yU.EMPTY)}return m}refCount(){return xe()(this)}}var qe=N(1413),Oe=N(177),ze=N(6354),pt=N(5558),$t=N(6697),Ce=N(5964),Se=N(1397);function Me(c){return(0,Y.N)((m,d)=>{let y=!1;m.subscribe((0,fe._)(d,b=>{y=!0,d.next(b)},()=>{y||d.next(c),d.complete()}))})}function je(c=Fe){return(0,Y.N)((m,d)=>{let y=!1;m.subscribe((0,fe._)(d,b=>{y=!0,d.next(b)},()=>y?d.complete():d.error(c())))})}function Fe(){return new St}function st(c,m){const d=arguments.length>=2;return y=>y.pipe(c?(0,Ce.p)((b,P)=>c(b,P,y)):k.D,(0,$t.s)(1),d?Me(m):je(()=>new St))}var Lt=N(274);function Ut(c,m,d){const y=(0,re.T)(c)||m||d?{next:c,error:m,complete:d}:c;return y?(0,Y.N)((b,P)=>{var K;null===(K=y.subscribe)||void 0===K||K.call(y);let ye=!0;b.subscribe((0,fe._)(P,ue=>{var We;null===(We=y.next)||void 0===We||We.call(y,ue),P.next(ue)},()=>{var ue;ye=!1,null===(ue=y.complete)||void 0===ue||ue.call(y),P.complete()},ue=>{var We;ye=!1,null===(We=y.error)||void 0===We||We.call(y,ue),P.error(ue)},()=>{var ue,We;ye&&(null===(ue=y.unsubscribe)||void 0===ue||ue.call(y)),null===(We=y.finalize)||void 0===We||We.call(y)}))}):k.D}function dt(c){return(0,Y.N)((m,d)=>{let P,y=null,b=!1;y=m.subscribe((0,fe._)(d,void 0,void 0,K=>{P=(0,pe.Tg)(c(K,dt(c)(m))),y?(y.unsubscribe(),y=null,P.subscribe(d)):b=!0})),b&&(y.unsubscribe(),y=null,P.subscribe(d))})}function Gt(c){return c<=0?()=>Ie.w:(0,Y.N)((m,d)=>{let y=[];m.subscribe((0,fe._)(d,b=>{y.push(b),c{for(const b of y)d.next(b);d.complete()},void 0,()=>{y=null}))})}var In=N(3703),Pn=N(980),fn=N(5343),Qe=N(6365),un=N(345);const ut="primary",mr=Symbol("RouteTitle");class Bi{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function si(c){return new Bi(c)}function sr(c,m,d){const y=d.path.split("/");if(y.length>c.length||"full"===d.pathMatch&&(m.hasChildren()||y.lengthy[P]===b)}return c===m}function Vn(c){return c.length>0?c[c.length-1]:null}function Kn(c){return function f(c){return!!c&&(c instanceof F.c||(0,re.T)(c.lift)&&(0,re.T)(c.subscribe))}(c)?c:(0,v.jNT)(c)?(0,L.H)(Promise.resolve(c)):(0,A.of)(c)}const Bn={exact:function Xt(c,m,d){if(!de(c.segments,m.segments)||!nr(c.segments,m.segments,d)||c.numberOfChildren!==m.numberOfChildren)return!1;for(const y in m.children)if(!c.children[y]||!Xt(c.children[y],m.children[y],d))return!1;return!0},subset:kr},es={exact:function Lr(c,m){return Dt(c,m)},subset:function Yt(c,m){return Object.keys(m).length<=Object.keys(c).length&&Object.keys(m).every(d=>or(c[d],m[d]))},ignored:()=>!0};function bt(c,m,d){return Bn[d.paths](c.root,m.root,d.matrixParams)&&es[d.queryParams](c.queryParams,m.queryParams)&&!("exact"===d.fragment&&c.fragment!==m.fragment)}function kr(c,m,d){return mn(c,m,m.segments,d)}function mn(c,m,d,y){if(c.segments.length>d.length){const b=c.segments.slice(0,d.length);return!(!de(b,d)||m.hasChildren()||!nr(b,d,y))}if(c.segments.length===d.length){if(!de(c.segments,d)||!nr(c.segments,d,y))return!1;for(const b in m.children)if(!c.children[b]||!kr(c.children[b],m.children[b],y))return!1;return!0}{const b=d.slice(0,c.segments.length),P=d.slice(c.segments.length);return!!(de(c.segments,b)&&nr(c.segments,b,y)&&c.children[ut])&&mn(c.children[ut],m,P,y)}}function nr(c,m,d){return m.every((y,b)=>es[d](c[b].parameters,y.parameters))}class Vr{constructor(m=new Zt([],{}),d={},y=null){this.root=m,this.queryParams=d,this.fragment=y}get queryParamMap(){return this._queryParamMap??=si(this.queryParams),this._queryParamMap}toString(){return tt.serialize(this)}}class Zt{constructor(m,d){this.segments=m,this.children=d,this.parent=null,Object.values(d).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ht(this)}}class dr{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap??=si(this.parameters),this._parameterMap}toString(){return Es(this)}}function de(c,m){return c.length===m.length&&c.every((d,y)=>d.path===m[y].path)}let oe=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>new Re,providedIn:"root"})}return c})();class Re{parse(m){const d=new Or(m);return new Vr(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${qt(m.root,!0)}`,y=function ft(c){const m=Object.entries(c).map(([d,y])=>Array.isArray(y)?y.map(b=>`${Mn(d)}=${Mn(b)}`).join("&"):`${Mn(d)}=${Mn(y)}`).filter(d=>d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${y}${"string"==typeof m.fragment?`#${function Ir(c){return encodeURI(c)}(m.fragment)}`:""}`}}const tt=new Re;function ht(c){return c.segments.map(m=>Es(m)).join("/")}function qt(c,m){if(!c.hasChildren())return ht(c);if(m){const d=c.children[ut]?qt(c.children[ut],!1):"",y=[];return Object.entries(c.children).forEach(([b,P])=>{b!==ut&&y.push(`${b}:${qt(P,!1)}`)}),y.length>0?`${d}(${y.join("//")})`:d}{const d=function Q(c,m){let d=[];return Object.entries(c.children).forEach(([y,b])=>{y===ut&&(d=d.concat(m(b,y)))}),Object.entries(c.children).forEach(([y,b])=>{y!==ut&&(d=d.concat(m(b,y)))}),d}(c,(y,b)=>b===ut?[qt(c.children[ut],!1)]:[`${b}:${qt(y,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[ut]?`${ht(c)}/${d[0]}`:`${ht(c)}/(${d.join("//")})`}}function ln(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mn(c){return ln(c).replace(/%3B/gi,";")}function Un(c){return ln(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mr(c){return decodeURIComponent(c)}function Tr(c){return Mr(c.replace(/\+/g,"%20"))}function Es(c){return`${Un(c.path)}${function On(c){return Object.entries(c).map(([m,d])=>`;${Un(m)}=${Un(d)}`).join("")}(c.parameters)}`}const Ui=/^[^\/()?;#]+/;function hn(c){const m=c.match(Ui);return m?m[0]:""}const Xr=/^[^\/()?;=#]+/,yr=/^[^=?&#]+/,vr=/^[^&#]+/;class Or{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(y[ut]=new Zt(m,d)),y}parseSegment(){const m=hn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new v.wOt(4009,!1);return this.capture(m),new dr(Mr(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=function oi(c){const m=c.match(Xr);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let y="";if(this.consumeOptional("=")){const b=hn(this.remaining);b&&(y=b,this.capture(y))}m[Mr(d)]=Mr(y)}parseQueryParam(m){const d=function Wt(c){const m=c.match(yr);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let y="";if(this.consumeOptional("=")){const K=function qr(c){const m=c.match(vr);return m?m[0]:""}(this.remaining);K&&(y=K,this.capture(y))}const b=Tr(d),P=Tr(y);if(m.hasOwnProperty(b)){let K=m[b];Array.isArray(K)||(K=[K],m[b]=K),K.push(P)}else m[b]=P}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=hn(this.remaining),b=this.remaining[y.length];if("/"!==b&&")"!==b&&";"!==b)throw new v.wOt(4010,!1);let P;y.indexOf(":")>-1?(P=y.slice(0,y.indexOf(":")),this.capture(P),this.capture(":")):m&&(P=ut);const K=this.parseChildren();d[P]=1===Object.keys(K).length?K[ut]:new Zt([],K),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new v.wOt(4011,!1)}}function Br(c){return c.segments.length>0?new Zt([],{[ut]:c}):c}function Yr(c){const m={};for(const[y,b]of Object.entries(c.children)){const P=Yr(b);if(y===ut&&0===P.segments.length&&P.hasChildren())for(const[K,ye]of Object.entries(P.children))m[K]=ye;else(P.segments.length>0||P.hasChildren())&&(m[y]=P)}return function ji(c){if(1===c.numberOfChildren&&c.children[ut]){const m=c.children[ut];return new Zt(c.segments.concat(m.segments),m.children)}return c}(new Zt(c.segments,m))}function fr(c){return c instanceof Vr}function X(c){let m;const b=Br(function d(P){const K={};for(const ue of P.children){const We=d(ue);K[ue.outlet]=We}const ye=new Zt(P.url,K);return P===c&&(m=ye),ye}(c.root));return m??b}function q(c,m,d,y){let b=c;for(;b.parent;)b=b.parent;if(0===m.length)return Ue(b,b,b,d,y);const P=function lt(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Tt(!0,0,c);let m=0,d=!1;const y=c.reduce((b,P,K)=>{if("object"==typeof P&&null!=P){if(P.outlets){const ye={};return Object.entries(P.outlets).forEach(([ue,We])=>{ye[ue]="string"==typeof We?We.split("/"):We}),[...b,{outlets:ye}]}if(P.segmentPath)return[...b,P.segmentPath]}return"string"!=typeof P?[...b,P]:0===K?(P.split("/").forEach((ye,ue)=>{0==ue&&"."===ye||(0==ue&&""===ye?d=!0:".."===ye?m++:""!=ye&&b.push(ye))}),b):[...b,P]},[]);return new Tt(d,m,y)}(m);if(P.toRoot())return Ue(b,b,new Zt([],{}),d,y);const K=function Dn(c,m,d){if(c.isAbsolute)return new Jt(m,!0,0);if(!d)return new Jt(m,!1,NaN);if(null===d.parent)return new Jt(d,!0,0);const y=we(c.commands[0])?0:1;return function Ht(c,m,d){let y=c,b=m,P=d;for(;P>b;){if(P-=b,y=y.parent,!y)throw new v.wOt(4005,!1);b=y.segments.length}return new Jt(y,!1,b-P)}(d,d.segments.length-1+y,c.numberOfDoubleDots)}(P,b,c),ye=K.processChildren?sn(K.segmentGroup,K.index,P.commands):Qn(K.segmentGroup,K.index,P.commands);return Ue(b,K.segmentGroup,ye,d,y)}function we(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function _e(c){return"object"==typeof c&&null!=c&&c.outlets}function Ue(c,m,d,y,b){let K,P={};y&&Object.entries(y).forEach(([ue,We])=>{P[ue]=Array.isArray(We)?We.map(Nt=>`${Nt}`):`${We}`}),K=c===m?d:Ke(c,m,d);const ye=Br(Yr(K));return new Vr(ye,P,b)}function Ke(c,m,d){const y={};return Object.entries(c.children).forEach(([b,P])=>{y[b]=P===m?d:Ke(P,m,d)}),new Zt(c.segments,y)}class Tt{constructor(m,d,y){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=y,m&&y.length>0&&we(y[0]))throw new v.wOt(4003,!1);const b=y.find(_e);if(b&&b!==Vn(y))throw new v.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jt{constructor(m,d,y){this.segmentGroup=m,this.processChildren=d,this.index=y}}function Qn(c,m,d){if(c??=new Zt([],{}),0===c.segments.length&&c.hasChildren())return sn(c,m,d);const y=function Pt(c,m,d){let y=0,b=m;const P={match:!1,pathIndex:0,commandIndex:0};for(;b=d.length)return P;const K=c.segments[b],ye=d[y];if(_e(ye))break;const ue=`${ye}`,We=y0&&void 0===ue)break;if(ue&&We&&"object"==typeof We&&void 0===We.outlets){if(!yn(ue,We,K))return P;y+=2}else{if(!yn(ue,{},K))return P;y++}b++}return{match:!0,pathIndex:b,commandIndex:y}}(c,m,d),b=d.slice(y.commandIndex);if(y.match&&y.pathIndexP!==ut)&&c.children[ut]&&1===c.numberOfChildren&&0===c.children[ut].segments.length){const P=sn(c.children[ut],m,d);return new Zt(c.segments,P.children)}return Object.entries(y).forEach(([P,K])=>{"string"==typeof K&&(K=[K]),null!==K&&(b[P]=Qn(c.children[P],m,K))}),Object.entries(c.children).forEach(([P,K])=>{void 0===y[P]&&(b[P]=K)}),new Zt(c.segments,b)}}function xt(c,m,d){const y=c.segments.slice(0,m);let b=0;for(;b{"string"==typeof y&&(y=[y]),null!==y&&(m[d]=xt(new Zt([],{}),0,y))}),m}function hr(c){const m={};return Object.entries(c).forEach(([d,y])=>m[d]=`${y}`),m}function yn(c,m,d){return c==d.path&&Dt(m,d.parameters)}const on="imperative";var _t=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(_t||{});class pn{constructor(m,d){this.id=m,this.url=d}}class mt extends pn{constructor(m,d,y="imperative",b=null){super(m,d),this.type=_t.NavigationStart,this.navigationTrigger=y,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wt extends pn{constructor(m,d,y){super(m,d),this.urlAfterRedirects=y,this.type=_t.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var _r=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(_r||{}),jn=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(jn||{});class ai extends pn{constructor(m,d,y,b){super(m,d),this.reason=y,this.code=b,this.type=_t.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ur extends pn{constructor(m,d,y,b){super(m,d),this.reason=y,this.code=b,this.type=_t.NavigationSkipped}}class ts extends pn{constructor(m,d,y,b){super(m,d),this.error=y,this.target=b,this.type=_t.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Si extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn extends pn{constructor(m,d,y,b,P){super(m,d),this.urlAfterRedirects=y,this.state=b,this.shouldActivate=P,this.type=_t.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Hi extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ns{constructor(m){this.route=m,this.type=_t.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Xo{constructor(m){this.route=m,this.type=_t.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mo{constructor(m){this.snapshot=m,this.type=_t.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ii{constructor(m){this.snapshot=m,this.type=_t.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cs{constructor(m){this.snapshot=m,this.type=_t.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(m){this.snapshot=m,this.type=_t.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bs{constructor(m,d,y){this.routerEvent=m,this.position=d,this.anchor=y,this.type=_t.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class li{}class Gi{constructor(m){this.url=m}}class jr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Nr,this.attachRef=null}}let Nr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(d,y){const b=this.getOrCreateContext(d);b.outlet=y,this.contexts.set(d,b)}onChildOutletDestroyed(d){const y=this.getContext(d);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let y=this.getContext(d);return y||(y=new jr,this.contexts.set(d,y)),y}getContext(d){return this.contexts.get(d)||null}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class Yn{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Wi(m,this._root);return d?d.children.map(y=>y.value):[]}firstChild(m){const d=Wi(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=En(m,this._root);return d.length<2?[]:d[d.length-2].children.map(b=>b.value).filter(b=>b!==m)}pathFromRoot(m){return En(m,this._root).map(d=>d.value)}}function Wi(c,m){if(c===m.value)return m;for(const d of m.children){const y=Wi(c,d);if(y)return y}return null}function En(c,m){if(c===m.value)return[m];for(const d of m.children){const y=En(c,d);if(y.length)return y.unshift(m),y}return[]}class Zn{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function gt(c){const m={};return c&&c.children.forEach(d=>m[d.value.outlet]=d),m}class ci extends Yn{constructor(m,d){super(m),this.snapshot=d,rr(this,m)}toString(){return this.snapshot.toString()}}function rs(c){const m=function ui(c){const P=new is([],{},{},"",{},ut,c,null,{});return new ws("",new Zn(P,[]))}(c),d=new $.t([new dr("",{})]),y=new $.t({}),b=new $.t({}),P=new $.t({}),K=new $.t(""),ye=new Hr(d,y,P,K,b,ut,c,m.root);return ye.snapshot=m.root,new ci(new Zn(ye,[]),m)}class Hr{constructor(m,d,y,b,P,K,ye,ue){this.urlSubject=m,this.paramsSubject=d,this.queryParamsSubject=y,this.fragmentSubject=b,this.dataSubject=P,this.outlet=K,this.component=ye,this._futureSnapshot=ue,this.title=this.dataSubject?.pipe((0,ze.T)(We=>We[mr]))??(0,A.of)(void 0),this.url=m,this.params=d,this.queryParams=y,this.fragment=b,this.data=P}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ze.T)(m=>si(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ze.T)(m=>si(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mi(c,m,d="emptyOnly"){let y;const{routeConfig:b}=c;return y=null===m||"always"!==d&&""!==b?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.data,...b?.data,...c._resolvedData}},b&&Jr(b)&&(y.resolve[mr]=b.title),y}class is{get title(){return this.data?.[mr]}constructor(m,d,y,b,P,K,ye,ue,We){this.url=m,this.params=d,this.queryParams=y,this.fragment=b,this.data=P,this.outlet=K,this.component=ye,this.routeConfig=ue,this._resolve=We}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=si(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=si(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ws extends Yn{constructor(m,d){super(d),this.url=m,rr(this,d)}toString(){return zi(this._root)}}function rr(c,m){m.value._routerState=c,m.children.forEach(d=>rr(c,d))}function zi(c){const m=c.children.length>0?` { ${c.children.map(zi).join(", ")} } `:"";return`${c.value}${m}`}function di(c){if(c.snapshot){const m=c.snapshot,d=c._futureSnapshot;c.snapshot=d,Dt(m.queryParams,d.queryParams)||c.queryParamsSubject.next(d.queryParams),m.fragment!==d.fragment&&c.fragmentSubject.next(d.fragment),Dt(m.params,d.params)||c.paramsSubject.next(d.params),function Mt(c,m){if(c.length!==m.length)return!1;for(let d=0;dDt(d.parameters,m[y].parameters))}(c.url,m.url);return d&&!(!c.parent!=!m.parent)&&(!c.parent||Zr(c.parent,m.parent))}function Jr(c){return"string"==typeof c.title||null===c.title}let Ki=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=ut,this.activateEvents=new v.bkB,this.deactivateEvents=new v.bkB,this.attachEvents=new v.bkB,this.detachEvents=new v.bkB,this.parentContexts=(0,v.WQX)(Nr),this.location=(0,v.WQX)(v.c1b),this.changeDetector=(0,v.WQX)(v.gRc),this.environmentInjector=(0,v.WQX)(v.uvJ),this.inputBinder=(0,v.WQX)(Jn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(d){if(d.name){const{firstChange:y,previousValue:b}=d.name;if(y)return;this.isTrackedInParentContexts(b)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(b)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v.wOt(4012,!1);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,y){this.activated=d,this._activatedRoute=y,this.location.insert(d.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,y){if(this.isActivated)throw new v.wOt(4013,!1);this._activatedRoute=d;const b=this.location,K=d.snapshot.component,ye=this.parentContexts.getOrCreateContext(this.name).children,ue=new Hn(d,ye,b.injector);this.activated=b.createComponent(K,{index:b.length,injector:ue,environmentInjector:y??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[v.OA$]})}return c})();class Hn{__ngOutletInjector(m){return new Hn(this.route,this.childContexts,m)}constructor(m,d,y){this.route=m,this.childContexts=d,this.parent=y}get(m,d){return m===Hr?this.route:m===Nr?this.childContexts:this.parent.get(m,d)}}const Jn=new v.nKC("");let ss=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(d){this.unsubscribeFromRouteData(d),this.subscribeToRouteData(d)}unsubscribeFromRouteData(d){this.outletDataSubscriptions.get(d)?.unsubscribe(),this.outletDataSubscriptions.delete(d)}subscribeToRouteData(d){const{activatedRoute:y}=d,b=Le([y.queryParams,y.params,y.data]).pipe((0,pt.n)(([P,K,ye],ue)=>(ye={...P,...K,...ye},0===ue?(0,A.of)(ye):Promise.resolve(ye)))).subscribe(P=>{if(!d.isActivated||!d.activatedComponentRef||d.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(d);const K=(0,v.HJs)(y.component);if(K)for(const{templateName:ye}of K.inputs)d.activatedComponentRef.setInput(ye,P[ye]);else this.unsubscribeFromRouteData(d)});this.outletDataSubscriptions.set(d,b)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac})}return c})();function Dr(c,m,d){if(d&&c.shouldReuseRoute(m.value,d.value.snapshot)){const y=d.value;y._futureSnapshot=m.value;const b=function fi(c,m,d){return m.children.map(y=>{for(const b of d.children)if(c.shouldReuseRoute(y.value,b.value.snapshot))return Dr(c,y,b);return Dr(c,y)})}(c,m,d);return new Zn(y,b)}{if(c.shouldAttach(m.value)){const P=c.retrieve(m.value);if(null!==P){const K=P.route;return K.value._futureSnapshot=m.value,K.children=m.children.map(ye=>Dr(c,ye)),K}}const y=function Ti(c){return new Hr(new $.t(c.url),new $.t(c.params),new $.t(c.queryParams),new $.t(c.fragment),new $.t(c.data),c.outlet,c.component,c)}(m.value),b=m.children.map(P=>Dr(c,P));return new Zn(y,b)}}const Ai="ngNavigationCancelingError";function Qi(c,m){const{redirectTo:d,navigationBehaviorOptions:y}=fr(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,b=Wn(!1,_r.Redirect);return b.url=d,b.navigationBehaviorOptions=y,b}function Wn(c,m){const d=new Error(`NavigationCancelingError: ${c||""}`);return d[Ai]=!0,d.cancellationCode=m,d}function ar(c){return!!c&&c[Ai]}let Xi=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275cmp=v.VBU({type:c,selectors:[["ng-component"]],standalone:!0,features:[v.aNF],decls:1,vars:0,template:function(y,b){1&y&&v.nrm(0,"router-outlet")},dependencies:[Ki],encapsulation:2})}return c})();function Rr(c){const m=c.children&&c.children.map(Rr),d=m?{...c,children:m}:{...c};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==ut&&(d.component=Xi),d}function Pr(c){return c.outlet||ut}function Oi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let m=c.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class Qs{constructor(m,d,y,b,P){this.routeReuseStrategy=m,this.futureState=d,this.currState=y,this.forwardEvent=b,this.inputBindingEnabled=P}activate(m){const d=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,y,m),di(this.futureState.root),this.activateChildRoutes(d,y,m)}deactivateChildRoutes(m,d,y){const b=gt(d);m.children.forEach(P=>{const K=P.value.outlet;this.deactivateRoutes(P,b[K],y),delete b[K]}),Object.values(b).forEach(P=>{this.deactivateRouteAndItsChildren(P,y)})}deactivateRoutes(m,d,y){const b=m.value,P=d?d.value:null;if(b===P)if(b.component){const K=y.getContext(b.outlet);K&&this.deactivateChildRoutes(m,d,K.children)}else this.deactivateChildRoutes(m,d,y);else P&&this.deactivateRouteAndItsChildren(d,y)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const y=d.getContext(m.value.outlet),b=y&&m.value.component?y.children:d,P=gt(m);for(const K of Object.values(P))this.deactivateRouteAndItsChildren(K,b);if(y&&y.outlet){const K=y.outlet.detach(),ye=y.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:K,route:m,contexts:ye})}}deactivateRouteAndOutlet(m,d){const y=d.getContext(m.value.outlet),b=y&&m.value.component?y.children:d,P=gt(m);for(const K of Object.values(P))this.deactivateRouteAndItsChildren(K,b);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(m,d,y){const b=gt(d);m.children.forEach(P=>{this.activateRoutes(P,b[P.value.outlet],y),this.forwardEvent(new $i(P.value.snapshot))}),m.children.length&&this.forwardEvent(new Ii(m.value.snapshot))}activateRoutes(m,d,y){const b=m.value,P=d?d.value:null;if(di(b),b===P)if(b.component){const K=y.getOrCreateContext(b.outlet);this.activateChildRoutes(m,d,K.children)}else this.activateChildRoutes(m,d,y);else if(b.component){const K=y.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const ye=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),K.children.onOutletReAttached(ye.contexts),K.attachRef=ye.componentRef,K.route=ye.route.value,K.outlet&&K.outlet.attach(ye.componentRef,ye.route.value),di(ye.route.value),this.activateChildRoutes(m,null,K.children)}else{const ye=Oi(b.snapshot);K.attachRef=null,K.route=b,K.injector=ye,K.outlet&&K.outlet.activateWith(b,K.injector),this.activateChildRoutes(m,null,K.children)}}else this.activateChildRoutes(m,null,y)}}class Ms{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class qi{constructor(m,d){this.component=m,this.route=d}}function Ts(c,m,d){const y=c._root;return D(y,m?m._root:null,d,[y.value])}function T(c,m){const d=Symbol(),y=m.get(c,d);return y===d?"function"!=typeof c||(0,v.LfX)(c)?m.get(c):c:y}function D(c,m,d,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const P=gt(m);return c.children.forEach(K=>{(function V(c,m,d,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const P=c.value,K=m?m.value:null,ye=d?d.getContext(c.value.outlet):null;if(K&&P.routeConfig===K.routeConfig){const ue=function ee(c,m,d){if("function"==typeof d)return d(c,m);switch(d){case"pathParamsChange":return!de(c.url,m.url);case"pathParamsOrQueryParamsChange":return!de(c.url,m.url)||!Dt(c.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zr(c,m)||!Dt(c.queryParams,m.queryParams);default:return!Zr(c,m)}}(K,P,P.routeConfig.runGuardsAndResolvers);ue?b.canActivateChecks.push(new Ms(y)):(P.data=K.data,P._resolvedData=K._resolvedData),D(c,m,P.component?ye?ye.children:null:d,y,b),ue&&ye&&ye.outlet&&ye.outlet.isActivated&&b.canDeactivateChecks.push(new qi(ye.outlet.component,K))}else K&&rt(m,ye,b),b.canActivateChecks.push(new Ms(y)),D(c,null,P.component?ye?ye.children:null:d,y,b)})(K,P[K.value.outlet],d,y.concat([K.value]),b),delete P[K.value.outlet]}),Object.entries(P).forEach(([K,ye])=>rt(ye,d.getContext(K),b)),b}function rt(c,m,d){const y=gt(c),b=c.value;Object.entries(y).forEach(([P,K])=>{rt(K,b.component?m?m.children.getContext(P):null:m,d)}),d.canDeactivateChecks.push(new qi(b.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,b))}function Et(c){return"function"==typeof c}function qs(c){return c instanceof St||"EmptyError"===c?.name}const Os=Symbol("INITIAL_VALUE");function er(){return(0,pt.n)(c=>Le(c.map(m=>m.pipe((0,$t.s)(1),function me(...c){const m=(0,J.lI)(c);return(0,Y.N)((d,y)=>{(m?(0,$e.x)(c,d,m):(0,$e.x)(c,d)).subscribe(y)})}(Os)))).pipe((0,ze.T)(m=>{for(const d of m)if(!0!==d){if(d===Os)return Os;if(!1===d||d instanceof Vr)return d}return!0}),(0,Ce.p)(m=>m!==Os),(0,$t.s)(1)))}function Rs(c){return(0,se.F)(Ut(m=>{if(fr(m))throw Qi(0,m)}),(0,ze.T)(m=>!0===m))}class yi{constructor(m){this.segmentGroup=m||null}}class Zs extends Error{constructor(m){super(),this.urlTree=m}}function Ps(c){return ne(new yi(c))}class Js{constructor(m,d){this.urlSerializer=m,this.urlTree=d}lineralizeSegments(m,d){let y=[],b=d.root;for(;;){if(y=y.concat(b.segments),0===b.numberOfChildren)return(0,A.of)(y);if(b.numberOfChildren>1||!b.children[ut])return ne(new v.wOt(4e3,!1));b=b.children[ut]}}applyRedirectCommands(m,d,y){const b=this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,y);if(d.startsWith("/"))throw new Zs(b);return b}applyRedirectCreateUrlTree(m,d,y,b){const P=this.createSegmentGroup(m,d.root,y,b);return new Vr(P,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const y={};return Object.entries(m).forEach(([b,P])=>{if("string"==typeof P&&P.startsWith(":")){const ye=P.substring(1);y[b]=d[ye]}else y[b]=P}),y}createSegmentGroup(m,d,y,b){const P=this.createSegments(m,d.segments,y,b);let K={};return Object.entries(d.children).forEach(([ye,ue])=>{K[ye]=this.createSegmentGroup(m,ue,y,b)}),new Zt(P,K)}createSegments(m,d,y,b){return d.map(P=>P.path.startsWith(":")?this.findPosParam(m,P,b):this.findOrReturn(P,y))}findPosParam(m,d,y){const b=y[d.path.substring(1)];if(!b)throw new v.wOt(4001,!1);return b}findOrReturn(m,d){let y=0;for(const b of d){if(b.path===m.path)return d.splice(y),b;y++}return m}}const hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function za(c,m,d,y,b){const P=xs(c,m,d);return P.matched?(y=function as(c,m){return c.providers&&!c._injector&&(c._injector=(0,v.Ol2)(c.providers,m,`Route: ${c.path}`)),c._injector??m}(m,y),function Ys(c,m,d,y){const b=m.canMatch;if(!b||0===b.length)return(0,A.of)(!0);const P=b.map(K=>{const ye=T(K,c);return Kn(function Xs(c){return c&&Et(c.canMatch)}(ye)?ye.canMatch(m,d):(0,v.N4e)(c,()=>ye(m,d)))});return(0,A.of)(P).pipe(er(),Rs())}(y,m,d).pipe((0,ze.T)(K=>!0===K?P:{...hs}))):(0,A.of)(P)}function xs(c,m,d){if("**"===m.path)return function qo(c){return{matched:!0,parameters:c.length>0?Vn(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(d);if(""===m.path)return"full"===m.pathMatch&&(c.hasChildren()||d.length>0)?{...hs}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const b=(m.matcher||sr)(d,c,m);if(!b)return{...hs};const P={};Object.entries(b.posParams??{}).forEach(([ye,ue])=>{P[ye]=ue.path});const K=b.consumed.length>0?{...P,...b.consumed[b.consumed.length-1].parameters}:P;return{matched:!0,consumedSegments:b.consumed,remainingSegments:d.slice(b.consumed.length),parameters:K,positionalParamSegments:b.posParams??{}}}function eo(c,m,d,y){return d.length>0&&function vi(c,m,d){return d.some(y=>Ri(c,m,y)&&Pr(y)!==ut)}(c,d,y)?{segmentGroup:new Zt(m,No(y,new Zt(d,c.children))),slicedSegments:[]}:0===d.length&&function to(c,m,d){return d.some(y=>Ri(c,m,y))}(c,d,y)?{segmentGroup:new Zt(c.segments,Oo(c,d,y,c.children)),slicedSegments:d}:{segmentGroup:new Zt(c.segments,c.children),slicedSegments:d}}function Oo(c,m,d,y){const b={};for(const P of d)if(Ri(c,m,P)&&!y[Pr(P)]){const K=new Zt([],{});b[Pr(P)]=K}return{...y,...b}}function No(c,m){const d={};d[ut]=m;for(const y of c)if(""===y.path&&Pr(y)!==ut){const b=new Zt([],{});d[Pr(y)]=b}return d}function Ri(c,m,d){return(!(c.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}class Ro{}class ps{constructor(m,d,y,b,P,K,ye){this.injector=m,this.configLoader=d,this.rootComponentType=y,this.config=b,this.urlTree=P,this.paramsInheritanceStrategy=K,this.urlSerializer=ye,this.applyRedirects=new Js(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new v.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=eo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,ze.T)(d=>{const y=new is([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,{}),b=new Zn(y,d),P=new ws("",b),K=function j(c,m,d=null,y=null){return q(X(c),m,d,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return K.queryParams=this.urlTree.queryParams,P.url=this.urlSerializer.serialize(K),this.inheritParamsAndData(P._root,null),{state:P,tree:K}}))}match(m){return this.processSegmentGroup(this.injector,this.config,m,ut).pipe(dt(y=>{if(y instanceof Zs)return this.urlTree=y.urlTree,this.match(y.urlTree.root);throw y instanceof yi?this.noMatchError(y):y}))}inheritParamsAndData(m,d){const y=m.value,b=Mi(y,d,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data),m.children.forEach(P=>this.inheritParamsAndData(P,y))}processSegmentGroup(m,d,y,b){return 0===y.segments.length&&y.hasChildren()?this.processChildren(m,d,y):this.processSegment(m,d,y,y.segments,b,!0).pipe((0,ze.T)(P=>P instanceof Zn?[P]:[]))}processChildren(m,d,y){const b=[];for(const P of Object.keys(y.children))"primary"===P?b.unshift(P):b.push(P);return(0,L.H)(b).pipe((0,Lt.H)(P=>{const K=y.children[P],ye=function cs(c,m){const d=c.filter(y=>Pr(y)===m);return d.push(...c.filter(y=>Pr(y)!==m)),d}(d,P);return this.processSegmentGroup(m,ye,K,P)}),function _n(c,m){return(0,Y.N)(function en(c,m,d,y,b){return(P,K)=>{let ye=d,ue=m,We=0;P.subscribe((0,fe._)(K,Nt=>{const kt=We++;ue=ye?c(ue,Nt,kt):(ye=!0,Nt),y&&K.next(ue)},b&&(()=>{ye&&K.next(ue),K.complete()})))}}(c,m,arguments.length>=2,!0))}((P,K)=>(P.push(...K),P)),Me(null),function Ve(c,m){const d=arguments.length>=2;return y=>y.pipe(c?(0,Ce.p)((b,P)=>c(b,P,y)):k.D,Gt(1),d?Me(m):je(()=>new St))}(),(0,Se.Z)(P=>{if(null===P)return Ps(y);const K=xo(P);return function io(c){c.sort((m,d)=>m.value.outlet===ut?-1:d.value.outlet===ut?1:m.value.outlet.localeCompare(d.value.outlet))}(K),(0,A.of)(K)}))}processSegment(m,d,y,b,P,K){return(0,L.H)(d).pipe((0,Lt.H)(ye=>this.processSegmentAgainstRoute(ye._injector??m,d,ye,y,b,P,K).pipe(dt(ue=>{if(ue instanceof yi)return(0,A.of)(null);throw ue}))),st(ye=>!!ye),dt(ye=>{if(qs(ye))return function Yo(c,m,d){return 0===m.length&&!c.children[d]}(y,b,P)?(0,A.of)(new Ro):Ps(y);throw ye}))}processSegmentAgainstRoute(m,d,y,b,P,K,ye){return function no(c,m,d,y){return!!(Pr(c)===y||y!==ut&&Ri(m,d,c))&&xs(m,c,d).matched}(y,b,P,K)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(m,b,y,P,K):this.allowRedirects&&ye?this.expandSegmentAgainstRouteUsingRedirect(m,b,d,y,P,K):Ps(b):Ps(b)}expandSegmentAgainstRouteUsingRedirect(m,d,y,b,P,K){const{matched:ye,consumedSegments:ue,positionalParamSegments:We,remainingSegments:Nt}=xs(d,b,P);if(!ye)return Ps(d);b.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const kt=this.applyRedirects.applyRedirectCommands(ue,b.redirectTo,We);return this.applyRedirects.lineralizeSegments(b,kt).pipe((0,Se.Z)(ir=>this.processSegment(m,y,d,ir.concat(Nt),K,!1)))}matchSegmentAgainstRoute(m,d,y,b,P){const K=za(d,y,b,m);return"**"===y.path&&(d.children={}),K.pipe((0,pt.n)(ye=>ye.matched?this.getChildConfig(m=y._injector??m,y,b).pipe((0,pt.n)(({routes:ue})=>{const We=y._loadedInjector??m,{consumedSegments:Nt,remainingSegments:kt,parameters:ir}=ye,zr=new is(Nt,ir,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function gs(c){return c.data||{}}(y),Pr(y),y.component??y._loadedComponent??null,y,function Jo(c){return c.resolve||{}}(y)),{segmentGroup:yo,slicedSegments:vo}=eo(d,Nt,kt,ue);if(0===vo.length&&yo.hasChildren())return this.processChildren(We,ue,yo).pipe((0,ze.T)(lo=>null===lo?null:new Zn(zr,lo)));if(0===ue.length&&0===vo.length)return(0,A.of)(new Zn(zr,[]));const na=Pr(y)===P;return this.processSegment(We,ue,yo,vo,na?ut:P,!0).pipe((0,ze.T)(lo=>new Zn(zr,lo instanceof Zn?[lo]:[])))})):Ps(d)))}getChildConfig(m,d,y){return d.children?(0,A.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,A.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function $n(c,m,d,y){const b=m.canLoad;if(void 0===b||0===b.length)return(0,A.of)(!0);const P=b.map(K=>{const ye=T(K,c);return Kn(function pi(c){return c&&Et(c.canLoad)}(ye)?ye.canLoad(m,d):(0,v.N4e)(c,()=>ye(m,d)))});return(0,A.of)(P).pipe(er(),Rs())}(m,d,y).pipe((0,Se.Z)(b=>b?this.configLoader.loadChildren(m,d).pipe(Ut(P=>{d._loadedRoutes=P.routes,d._loadedInjector=P.injector})):function fs(c){return ne(Wn(!1,_r.GuardRejected))}())):(0,A.of)({routes:[],injector:m})}}function Po(c){const m=c.value.routeConfig;return m&&""===m.path}function xo(c){const m=[],d=new Set;for(const y of c){if(!Po(y)){m.push(y);continue}const b=m.find(P=>y.value.routeConfig===P.value.routeConfig);void 0!==b?(b.children.push(...y.children),d.add(b)):m.push(y)}for(const y of d){const b=xo(y.children);m.push(new Zn(y.value,b))}return m.filter(y=>!d.has(y))}function so(c){const m=c.children.map(d=>so(d)).flat();return[c,...m]}function p(c){return(0,pt.n)(m=>{const d=c(m);return d?(0,L.H)(d).pipe((0,ze.T)(()=>m)):(0,A.of)(m)})}let R=(()=>{class c{buildTitle(d){let y,b=d.root;for(;void 0!==b;)y=this.getResolvedTitleForRoute(b)??y,b=b.children.find(P=>P.outlet===ut);return y}getResolvedTitleForRoute(d){return d.data[mr]}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(E),providedIn:"root"})}return c})(),E=(()=>{class c extends R{constructor(d){super(),this.title=d}updateTitle(d){const y=this.buildTitle(d);void 0!==y&&this.title.setTitle(y)}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(un.hE))};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const I=new v.nKC("",{providedIn:"root",factory:()=>({})}),z=new v.nKC("");let ve=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,v.WQX)(v.Ql9)}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,A.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const y=Kn(d.loadComponent()).pipe((0,ze.T)(gn),Ut(P=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=P}),(0,Pn.j)(()=>{this.componentLoaders.delete(d)})),b=new ae(y,()=>new qe.B).pipe(xe());return this.componentLoaders.set(d,b),b}loadChildren(d,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,A.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const P=function Ne(c,m,d,y){return Kn(c.loadChildren()).pipe((0,ze.T)(gn),(0,Se.Z)(b=>b instanceof v.Co$||Array.isArray(b)?(0,A.of)(b):(0,L.H)(m.compileModuleAsync(b))),(0,ze.T)(b=>{y&&y(c);let P,K,ye=!1;return Array.isArray(b)?(K=b,!0):(P=b.create(d).injector,K=P.get(z,[],{optional:!0,self:!0}).flat()),{routes:K.map(Rr),injector:P}}))}(y,this.compiler,d,this.onLoadEndListener).pipe((0,Pn.j)(()=>{this.childrenLoaders.delete(y)})),K=new ae(P,()=>new qe.B).pipe(xe());return this.childrenLoaders.set(y,K),K}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function gn(c){return function nt(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let S=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(u),providedIn:"root"})}return c})(),u=(()=>{class c{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,y){return d}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const l=new v.nKC(""),_=new v.nKC("");function w(c,m,d){const y=c.get(_),b=c.get(Oe.qQ);return c.get(v.SKi).runOutsideAngular(()=>{if(!b.startViewTransition||y.skipNextTransition)return y.skipNextTransition=!1,new Promise(We=>setTimeout(We));let P;const K=new Promise(We=>{P=We}),ye=b.startViewTransition(()=>(P(),function x(c){return new Promise(m=>{(0,v.mal)(m,{injector:c})})}(c))),{onViewTransitionCreated:ue}=y;return ue&&(0,v.N4e)(c,()=>ue({transition:ye,from:m,to:d})),K})}let G=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new qe.B,this.transitionAbortSubject=new qe.B,this.configLoader=(0,v.WQX)(ve),this.environmentInjector=(0,v.WQX)(v.uvJ),this.urlSerializer=(0,v.WQX)(oe),this.rootContexts=(0,v.WQX)(Nr),this.location=(0,v.WQX)(Oe.aZ),this.inputBindingEnabled=null!==(0,v.WQX)(Jn,{optional:!0}),this.titleStrategy=(0,v.WQX)(R),this.options=(0,v.WQX)(I,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,v.WQX)(S),this.createViewTransition=(0,v.WQX)(l,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,A.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new Xo(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new ns(b))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:y})}setupNavigations(d,y,b){return this.transitions=new $.t({id:0,currentUrlTree:y,currentRawUrl:y,extractedUrl:this.urlHandlingStrategy.extract(y),urlAfterRedirects:this.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:on,restoredState:null,currentSnapshot:b.snapshot,targetSnapshot:null,currentRouterState:b,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ce.p)(P=>0!==P.id),(0,ze.T)(P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)})),(0,pt.n)(P=>{let K=!1,ye=!1;return(0,A.of)(P).pipe((0,pt.n)(ue=>{if(this.navigationId>P.id)return this.cancelNavigationTransition(P,"",_r.SupersededByNewNavigation),Ie.w;this.currentTransition=P,this.currentNavigation={id:ue.id,initialUrl:ue.rawUrl,extractedUrl:ue.extractedUrl,trigger:ue.source,extras:ue.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const We=!d.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!We&&"reload"!==(ue.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const kt="";return this.events.next(new Ur(ue.id,this.urlSerializer.serialize(ue.rawUrl),kt,jn.IgnoredSameUrlNavigation)),ue.resolve(null),Ie.w}if(this.urlHandlingStrategy.shouldProcessUrl(ue.rawUrl))return(0,A.of)(ue).pipe((0,pt.n)(kt=>{const ir=this.transitions?.getValue();return this.events.next(new mt(kt.id,this.urlSerializer.serialize(kt.extractedUrl),kt.source,kt.restoredState)),ir!==this.transitions?.getValue()?Ie.w:Promise.resolve(kt)}),function ea(c,m,d,y,b,P){return(0,Se.Z)(K=>function ro(c,m,d,y,b,P,K="emptyOnly"){return new ps(c,m,d,y,b,K,P).recognize()}(c,m,d,y,K.extractedUrl,b,P).pipe((0,ze.T)(({state:ye,tree:ue})=>({...K,targetSnapshot:ye,urlAfterRedirects:ue}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,d.config,this.urlSerializer,this.paramsInheritanceStrategy),Ut(kt=>{P.targetSnapshot=kt.targetSnapshot,P.urlAfterRedirects=kt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects};const ir=new Si(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(ir)}));if(We&&this.urlHandlingStrategy.shouldProcessUrl(ue.currentRawUrl)){const{id:kt,extractedUrl:ir,source:zr,restoredState:yo,extras:vo}=ue,na=new mt(kt,this.urlSerializer.serialize(ir),zr,yo);this.events.next(na);const lo=rs(this.rootComponentType).snapshot;return this.currentTransition=P={...ue,targetSnapshot:lo,urlAfterRedirects:ir,extras:{...vo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ir,(0,A.of)(P)}{const kt="";return this.events.next(new Ur(ue.id,this.urlSerializer.serialize(ue.extractedUrl),kt,jn.IgnoredByUrlHandlingStrategy)),ue.resolve(null),Ie.w}}),Ut(ue=>{const We=new Ft(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot);this.events.next(We)}),(0,ze.T)(ue=>(this.currentTransition=P={...ue,guards:Ts(ue.targetSnapshot,ue.currentSnapshot,this.rootContexts)},P)),function Ni(c,m){return(0,Se.Z)(d=>{const{targetSnapshot:y,currentSnapshot:b,guards:{canActivateChecks:P,canDeactivateChecks:K}}=d;return 0===K.length&&0===P.length?(0,A.of)({...d,guardsResult:!0}):function To(c,m,d,y){return(0,L.H)(c).pipe((0,Se.Z)(b=>function Ar(c,m,d,y,b){const P=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,A.of)(!0);const K=P.map(ye=>{const ue=Oi(m)??b,We=T(ye,ue);return Kn(function As(c){return c&&Et(c.canDeactivate)}(We)?We.canDeactivate(c,m,d,y):(0,v.N4e)(ue,()=>We(c,m,d,y))).pipe(st())});return(0,A.of)(K).pipe(er())}(b.component,b.route,d,m,y)),st(b=>!0!==b,!0))}(K,y,b,c).pipe((0,Se.Z)(ye=>ye&&function Ot(c){return"boolean"==typeof c}(ye)?function Ao(c,m,d,y){return(0,L.H)(m).pipe((0,Lt.H)(b=>(0,$e.x)(function Vt(c,m){return null!==c&&m&&m(new Mo(c)),(0,A.of)(!0)}(b.route.parent,y),function Ns(c,m){return null!==c&&m&&m(new Cs(c)),(0,A.of)(!0)}(b.route,y),function Cn(c,m,d){const y=m[m.length-1],P=m.slice(0,m.length-1).reverse().map(K=>function M(c){const m=c.routeConfig?c.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:c,guards:m}:null}(K)).filter(K=>null!==K).map(K=>et(()=>{const ye=K.guards.map(ue=>{const We=Oi(K.node)??d,Nt=T(ue,We);return Kn(function mi(c){return c&&Et(c.canActivateChild)}(Nt)?Nt.canActivateChild(y,c):(0,v.N4e)(We,()=>Nt(y,c))).pipe(st())});return(0,A.of)(ye).pipe(er())}));return(0,A.of)(P).pipe(er())}(c,b.path,d),function Fn(c,m,d){const y=m.routeConfig?m.routeConfig.canActivate:null;if(!y||0===y.length)return(0,A.of)(!0);const b=y.map(P=>et(()=>{const K=Oi(m)??d,ye=T(P,K);return Kn(function gi(c){return c&&Et(c.canActivate)}(ye)?ye.canActivate(m,c):(0,v.N4e)(K,()=>ye(m,c))).pipe(st())}));return(0,A.of)(b).pipe(er())}(c,b.route,d))),st(b=>!0!==b,!0))}(y,P,c,m):(0,A.of)(ye)),(0,ze.T)(ye=>({...d,guardsResult:ye})))})}(this.environmentInjector,ue=>this.events.next(ue)),Ut(ue=>{if(P.guardsResult=ue.guardsResult,fr(ue.guardsResult))throw Qi(0,ue.guardsResult);const We=new Xn(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot,!!ue.guardsResult);this.events.next(We)}),(0,Ce.p)(ue=>!!ue.guardsResult||(this.cancelNavigationTransition(ue,"",_r.GuardRejected),!1)),p(ue=>{if(ue.guards.canActivateChecks.length)return(0,A.of)(ue).pipe(Ut(We=>{const Nt=new Hi(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Nt)}),(0,pt.n)(We=>{let Nt=!1;return(0,A.of)(We).pipe(function ta(c,m){return(0,Se.Z)(d=>{const{targetSnapshot:y,guards:{canActivateChecks:b}}=d;if(!b.length)return(0,A.of)(d);const P=new Set(b.map(ue=>ue.route)),K=new Set;for(const ue of P)if(!K.has(ue))for(const We of so(ue))K.add(We);let ye=0;return(0,L.H)(K).pipe((0,Lt.H)(ue=>P.has(ue)?function Yi(c,m,d,y){const b=c.routeConfig,P=c._resolve;return void 0!==b?.title&&!Jr(b)&&(P[mr]=b.title),function Fo(c,m,d,y){const b=tr(c);if(0===b.length)return(0,A.of)({});const P={};return(0,L.H)(b).pipe((0,Se.Z)(K=>function oo(c,m,d,y){const b=Oi(m)??y,P=T(c,b);return Kn(P.resolve?P.resolve(m,d):(0,v.N4e)(b,()=>P(m,d)))}(c[K],m,d,y).pipe(st(),Ut(ye=>{P[K]=ye}))),Gt(1),(0,In.u)(P),dt(K=>qs(K)?Ie.w:ne(K)))}(P,c,m,y).pipe((0,ze.T)(K=>(c._resolvedData=K,c.data=Mi(c,c.parent,d).resolve,null)))}(ue,y,c,m):(ue.data=Mi(ue,ue.parent,c).resolve,(0,A.of)(void 0))),Ut(()=>ye++),Gt(1),(0,Se.Z)(ue=>ye===K.size?(0,A.of)(d):Ie.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ut({next:()=>Nt=!0,complete:()=>{Nt||this.cancelNavigationTransition(We,"",_r.NoDataFromResolver)}}))}),Ut(We=>{const Nt=new qn(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Nt)}))}),p(ue=>{const We=Nt=>{const kt=[];Nt.routeConfig?.loadComponent&&!Nt.routeConfig._loadedComponent&&kt.push(this.configLoader.loadComponent(Nt.routeConfig).pipe(Ut(ir=>{Nt.component=ir}),(0,ze.T)(()=>{})));for(const ir of Nt.children)kt.push(...We(ir));return kt};return Le(We(ue.targetSnapshot.root)).pipe(Me(null),(0,$t.s)(1))}),p(()=>this.afterPreactivation()),(0,pt.n)(()=>{const{currentSnapshot:ue,targetSnapshot:We}=P,Nt=this.createViewTransition?.(this.environmentInjector,ue.root,We.root);return Nt?(0,L.H)(Nt).pipe((0,ze.T)(()=>P)):(0,A.of)(P)}),(0,ze.T)(ue=>{const We=function ei(c,m,d){const y=Dr(c,m._root,d?d._root:void 0);return new ci(y,m)}(d.routeReuseStrategy,ue.targetSnapshot,ue.currentRouterState);return this.currentTransition=P={...ue,targetRouterState:We},this.currentNavigation.targetRouterState=We,P}),Ut(()=>{this.events.next(new li)}),((c,m,d,y)=>(0,ze.T)(b=>(new Qs(m,b.targetRouterState,b.currentRouterState,d,y).activate(c),b)))(this.rootContexts,d.routeReuseStrategy,ue=>this.events.next(ue),this.inputBindingEnabled),(0,$t.s)(1),Ut({next:ue=>{K=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wt(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects))),this.titleStrategy?.updateTitle(ue.targetRouterState.snapshot),ue.resolve(!0)},complete:()=>{K=!0}}),function Gn(c){return(0,Y.N)((m,d)=>{(0,pe.Tg)(c).subscribe((0,fe._)(d,()=>d.complete(),fn.l)),!d.closed&&m.subscribe(d)})}(this.transitionAbortSubject.pipe(Ut(ue=>{throw ue}))),(0,Pn.j)(()=>{!K&&!ye&&this.cancelNavigationTransition(P,"",_r.SupersededByNewNavigation),this.currentTransition?.id===P.id&&(this.currentNavigation=null,this.currentTransition=null)}),dt(ue=>{if(ye=!0,ar(ue))this.events.next(new ai(P.id,this.urlSerializer.serialize(P.extractedUrl),ue.message,ue.cancellationCode)),function os(c){return ar(c)&&fr(c.url)}(ue)?this.events.next(new Gi(ue.url)):P.resolve(!1);else{this.events.next(new ts(P.id,this.urlSerializer.serialize(P.extractedUrl),ue,P.targetSnapshot??void 0));try{P.resolve(d.errorHandler(ue))}catch(We){this.options.resolveNavigationPromiseOnError?P.resolve(!1):P.reject(We)}}return Ie.w}))}))}cancelNavigationTransition(d,y,b){const P=new ai(d.id,this.urlSerializer.serialize(d.extractedUrl),y,b);this.events.next(P),d.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function U(c){return c!==on}let te=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(Ge),providedIn:"root"})}return c})();class ge{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let Ge=(()=>{class c extends ge{static#e=this.\u0275fac=(()=>{let d;return function(b){return(d||(d=v.xGo(c)))(b||c)}})();static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),ke=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(yt),providedIn:"root"})}return c})(),yt=(()=>{class c extends ke{constructor(){super(...arguments),this.location=(0,v.WQX)(Oe.aZ),this.urlSerializer=(0,v.WQX)(oe),this.options=(0,v.WQX)(I,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,v.WQX)(S),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Vr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=rs(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(d){return this.location.subscribe(y=>{"popstate"===y.type&&d(y.url,y.state)})}handleRouterEvent(d,y){if(d instanceof mt)this.stateMemento=this.createStateMemento();else if(d instanceof Ur)this.rawUrlTree=y.initialUrl;else if(d instanceof Si){if("eager"===this.urlUpdateStrategy&&!y.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl);this.setBrowserUrl(b,y)}}else d instanceof li?(this.currentUrlTree=y.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y))):d instanceof ai&&(d.code===_r.GuardRejected||d.code===_r.NoDataFromResolver)?this.restoreHistory(y):d instanceof ts?this.restoreHistory(y,!0):d instanceof wt&&(this.lastSuccessfulId=d.id,this.currentPageId=this.browserPageId)}setBrowserUrl(d,y){const b=this.urlSerializer.serialize(d);if(this.location.isCurrentPathEqualTo(b)||y.extras.replaceUrl){const K={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(b,"",K)}else{const P={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(b,"",P)}}restoreHistory(d,y=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-this.browserPageId;0!==P?this.location.historyGo(P):this.currentUrlTree===d.finalUrl&&0===P&&(this.resetState(d),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,y){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:y}:{navigationId:d}}static#e=this.\u0275fac=(()=>{let d;return function(b){return(d||(d=v.xGo(c)))(b||c)}})();static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var vt=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(vt||{});function Ye(c,m){c.events.pipe((0,Ce.p)(d=>d instanceof wt||d instanceof ai||d instanceof ts||d instanceof Ur),(0,ze.T)(d=>d instanceof wt||d instanceof Ur?vt.COMPLETE:d instanceof ai&&(d.code===_r.Redirect||d.code===_r.SupersededByNewNavigation)?vt.REDIRECTING:vt.FAILED),(0,Ce.p)(d=>d!==vt.REDIRECTING),(0,$t.s)(1)).subscribe(()=>{m()})}function ot(c){throw c}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},it={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let nn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,v.WQX)(v.H3F),this.stateManager=(0,v.WQX)(ke),this.options=(0,v.WQX)(I,{optional:!0})||{},this.pendingTasks=(0,v.WQX)(v.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,v.WQX)(G),this.urlSerializer=(0,v.WQX)(oe),this.location=(0,v.WQX)(Oe.aZ),this.urlHandlingStrategy=(0,v.WQX)(S),this._events=new qe.B,this.errorHandler=this.options.errorHandler||ot,this.navigated=!1,this.routeReuseStrategy=(0,v.WQX)(te),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,v.WQX)(z,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,v.WQX)(Jn,{optional:!0}),this.eventsSubscription=new Ee.yU,this.isNgZoneEnabled=(0,v.WQX)(v.SKi)instanceof v.SKi&&v.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:d=>{this.console.warn(d)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const d=this.navigationTransitions.events.subscribe(y=>{try{const b=this.navigationTransitions.currentTransition,P=this.navigationTransitions.currentNavigation;if(null!==b&&null!==P)if(this.stateManager.handleRouterEvent(y,P),y instanceof ai&&y.code!==_r.Redirect&&y.code!==_r.SupersededByNewNavigation)this.navigated=!0;else if(y instanceof wt)this.navigated=!0;else if(y instanceof Gi){const K=this.urlHandlingStrategy.merge(y.url,b.currentRawUrl),ye={info:b.extras.info,skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||U(b.source)};this.scheduleNavigation(K,on,null,ye,{resolve:b.resolve,reject:b.reject,promise:b.promise})}(function Ln(c){return!(c instanceof li||c instanceof Gi)})(y)&&this._events.next(y)}catch(b){this.navigationTransitions.transitionAbortSubject.next(b)}});this.eventsSubscription.add(d)}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),on,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((d,y)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(d,"popstate",y)},0)})}navigateToSyncWithBrowser(d,y,b){const P={replaceUrl:!0},K=b?.navigationId?b:null;if(b){const ue={...b};delete ue.navigationId,delete ue.\u0275routerPageId,0!==Object.keys(ue).length&&(P.state=ue)}const ye=this.parseUrl(d);this.scheduleNavigation(ye,y,K,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(d){this.config=d.map(Rr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(d,y={}){const{relativeTo:b,queryParams:P,fragment:K,queryParamsHandling:ye,preserveFragment:ue}=y,We=ue?this.currentUrlTree.fragment:K;let kt,Nt=null;switch(ye){case"merge":Nt={...this.currentUrlTree.queryParams,...P};break;case"preserve":Nt=this.currentUrlTree.queryParams;break;default:Nt=P||null}null!==Nt&&(Nt=this.removeEmptyProps(Nt));try{kt=X(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof d[0]||!d[0].startsWith("/"))&&(d=[]),kt=this.currentUrlTree.root}return q(kt,d,Nt,We??null)}navigateByUrl(d,y={skipLocationChange:!1}){const b=fr(d)?d:this.parseUrl(d),P=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(P,on,null,y)}navigate(d,y={skipLocationChange:!1}){return function pr(c){for(let m=0;m(null!=P&&(y[b]=P),y),{})}scheduleNavigation(d,y,b,P,K){if(this.disposed)return Promise.resolve(!1);let ye,ue,We;K?(ye=K.resolve,ue=K.reject,We=K.promise):We=new Promise((kt,ir)=>{ye=kt,ue=ir});const Nt=this.pendingTasks.add();return Ye(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Nt))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:P,resolve:ye,reject:ue,promise:We,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),We.catch(kt=>Promise.reject(kt))}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),an=(()=>{class c{constructor(d,y,b,P,K,ye){this.router=d,this.route=y,this.tabIndexAttribute=b,this.renderer=P,this.el=K,this.locationStrategy=ye,this.href=null,this.commands=null,this.onChanges=new qe.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ue=K.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ue||"area"===ue,this.isAnchorElement?this.subscription=d.events.subscribe(We=>{We instanceof wt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,y,b,P,K){const ye=this.urlTree;return!!(null===ye||this.isAnchorElement&&(0!==d||y||b||P||K||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(ye,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const d=this.urlTree;this.href=null!==d&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(d)):null;const y=null===this.href?null:(0,v.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",y)}applyAttributeValue(d,y){const b=this.renderer,P=this.el.nativeElement;null!==y?b.setAttribute(P,d,y):b.removeAttribute(P,d)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(y){return new(y||c)(v.rXU(nn),v.rXU(Hr),v.kS0("tabindex"),v.rXU(v.sFG),v.rXU(v.aKT),v.rXU(Oe.hb))};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,b){1&y&&v.bIt("click",function(K){return b.onClick(K.button,K.ctrlKey,K.shiftKey,K.altKey,K.metaKey)}),2&y&&v.BMQ("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[v.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",v.L39],skipLocationChange:[v.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",v.L39],replaceUrl:[v.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",v.L39],routerLink:"routerLink"},standalone:!0,features:[v.GFd,v.OA$]})}return c})(),Er=(()=>{class c{get isActive(){return this._isActive}constructor(d,y,b,P,K){this.router=d,this.element=y,this.renderer=b,this.cdr=P,this.link=K,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new v.bkB,this.routerEventsSubscription=d.events.subscribe(ye=>{ye instanceof wt&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,(0,A.of)(null)).pipe((0,Qe.U)()).subscribe(d=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const d=[...this.links.toArray(),this.link].filter(y=>!!y).map(y=>y.onChanges);this.linkInputChangesSubscription=(0,L.H)(d).pipe((0,Qe.U)()).subscribe(y=>{this._isActive!==this.isLinkActive(this.router)(y)&&this.update()})}set routerLinkActive(d){const y=Array.isArray(d)?d:d.split(" ");this.classes=y.filter(b=>!!b)}ngOnChanges(d){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const d=this.hasActiveLinks();this.classes.forEach(y=>{d?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),d&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==d&&(this._isActive=d,this.cdr.markForCheck(),this.isActiveChange.emit(d))})}isLinkActive(d){const y=function zn(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>{const P=b.urlTree;return!!P&&d.isActive(P,y)}}hasActiveLinks(){const d=this.isLinkActive(this.router);return this.link&&d(this.link)||this.links.some(d)}static#e=this.\u0275fac=function(y){return new(y||c)(v.rXU(nn),v.rXU(v.aKT),v.rXU(v.sFG),v.rXU(v.gRc),v.rXU(an,8))};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(y,b,P){if(1&y&&v.wni(P,an,5),2&y){let K;v.mGM(K=v.lsd())&&(b.links=K)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[v.OA$]})}return c})();class Rn{}let Pi=(()=>{class c{constructor(d,y,b,P,K){this.router=d,this.injector=b,this.preloadingStrategy=P,this.loader=K}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ce.p)(d=>d instanceof wt),(0,Lt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,y){const b=[];for(const P of y){P.providers&&!P._injector&&(P._injector=(0,v.Ol2)(P.providers,d,`Route: ${P.path}`));const K=P._injector??d,ye=P._loadedInjector??K;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&b.push(this.preloadConfig(K,P)),(P.children||P._loadedRoutes)&&b.push(this.processRoutes(ye,P.children??P._loadedRoutes))}return(0,L.H)(b).pipe((0,Qe.U)())}preloadConfig(d,y){return this.preloadingStrategy.preload(y,()=>{let b;b=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(d,y):(0,A.of)(null);const P=b.pipe((0,Se.Z)(K=>null===K?(0,A.of)(void 0):(y._loadedRoutes=K.routes,y._loadedInjector=K.injector,this.processRoutes(K.injector??d,K.routes))));if(y.loadComponent&&!y._loadedComponent){const K=this.loader.loadComponent(y);return(0,L.H)([P,K]).pipe((0,Qe.U)())}return P})}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(nn),v.KVO(v.Ql9),v.KVO(v.uvJ),v.KVO(Rn),v.KVO(ve))};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Wr=new v.nKC("");let Di=(()=>{class c{constructor(d,y,b,P,K={}){this.urlSerializer=d,this.transitions=y,this.viewportScroller=b,this.zone=P,this.options=K,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,v.WQX)(v.uvJ),K.scrollPositionRestoration||="disabled",K.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof mt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof wt?(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment)):d instanceof Ur&&d.code===jn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof bs&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,y){var b=this;this.zone.runOutsideAngular((0,g.A)(function*(){yield new Promise(P=>{setTimeout(()=>{P()}),(0,v.mal)(()=>{P()},{injector:b.environmentInjector})}),b.zone.run(()=>{b.transitions.events.next(new bs(d,"popstate"===b.lastSource?b.store[b.restoredId]:null,y))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(y){v.QTQ()};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac})}return c})();function Je(c,m){return{\u0275kind:c,\u0275providers:m}}function Fr(){const c=(0,v.WQX)(v.zZn);return m=>{const d=c.get(v.o8S);if(m!==d.components[0])return;const y=c.get(nn),b=c.get(dn);1===c.get(bn)&&y.initialNavigation(),c.get(vn,null,v.$GK.Optional)?.setUpPreloading(),c.get(Wr,null,v.$GK.Optional)?.init(),y.resetRootComponentType(d.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}const dn=new v.nKC("",{factory:()=>new qe.B}),bn=new v.nKC("",{providedIn:"root",factory:()=>1}),vn=new v.nKC("");function xi(c){return Je(0,[{provide:vn,useExisting:Pi},{provide:Rn,useExisting:c}])}function Cu(c){return Je(9,[{provide:l,useValue:w},{provide:_,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const bu=new v.nKC("ROUTER_FORROOT_GUARD"),wh=[Oe.aZ,{provide:oe,useClass:Re},nn,Nr,{provide:Hr,useFactory:function ao(c){return c.routerState.root},deps:[nn]},ve,[]];let Sh=(()=>{class c{constructor(d){}static forRoot(d,y){return{ngModule:c,providers:[wh,[],{provide:z,multi:!0,useValue:d},{provide:bu,useFactory:Ah,deps:[[nn,new v.Xx1,new v.kdw]]},{provide:I,useValue:y||{}},y?.useHash?{provide:Oe.hb,useClass:Oe.fw}:{provide:Oe.hb,useClass:Oe.Sm},{provide:Wr,useFactory:()=>{const c=(0,v.WQX)(Oe.Xr),m=(0,v.WQX)(v.SKi),d=(0,v.WQX)(I),y=(0,v.WQX)(G),b=(0,v.WQX)(oe);return d.scrollOffset&&c.setOffset(d.scrollOffset),new Di(b,y,c,m,d)}},y?.preloadingStrategy?xi(y.preloadingStrategy).\u0275providers:[],y?.initialNavigation?Oh(y):[],y?.bindToComponentInputs?Je(8,[ss,{provide:Jn,useExisting:ss}]).\u0275providers:[],y?.enableViewTransitions?Cu().\u0275providers:[],[{provide:wu,useFactory:Fr},{provide:v.iLQ,multi:!0,useExisting:wu}]]}}static forChild(d){return{ngModule:c,providers:[{provide:z,multi:!0,useValue:d}]}}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(bu,8))};static#t=this.\u0275mod=v.$C({type:c});static#n=this.\u0275inj=v.G2t({})}return c})();function Ah(c){return"guarded"}function Oh(c){return["disabled"===c.initialNavigation?Je(3,[{provide:v.hnV,multi:!0,useFactory:()=>{const m=(0,v.WQX)(nn);return()=>{m.setUpLocationChangeListener()}}},{provide:bn,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?Je(2,[{provide:bn,useValue:0},{provide:v.hnV,multi:!0,deps:[v.zZn],useFactory:m=>{const d=m.get(Oe.hj,Promise.resolve());return()=>d.then(()=>new Promise(y=>{const b=m.get(nn),P=m.get(dn);Ye(b,()=>{y(!0)}),m.get(G).afterPreactivation=()=>(y(!0),P.closed?(0,A.of)(void 0):P),b.initialNavigation()}))}}]).\u0275providers:[]]}const wu=new v.nKC("")},5779:(Ze,De,N)=>{N.d(De,{E:()=>W,Ei:()=>at,Gg:()=>Bt,Rn:()=>H,Y9:()=>Le,Yj:()=>St,r1:()=>be,si:()=>le,tl:()=>k,wi:()=>He});var g=N(4438),v=N(1413),F=N(4420),re=N(177);const f=["*"];let H=(()=>class pe{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),k=(()=>class pe{static AND="and";static OR="or"})(),W=(()=>{class pe{filter(se,ne,Ie,Ee,Y){let xe=[];if(se)for(let ae of se)for(let qe of ne){let Oe=F.BF.resolveFieldData(ae,qe);if(this.filters[Ee](Oe,Ie,Y)){xe.push(ae);break}}return xe}filters={startsWith:(se,ne,Ie)=>{if(null==ne||""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).slice(0,Ee.length)===Ee},contains:(se,ne,Ie)=>{if(null==ne||"string"==typeof ne&&""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return-1!==F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).indexOf(Ee)},notContains:(se,ne,Ie)=>{if(null==ne||"string"==typeof ne&&""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return-1===F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).indexOf(Ee)},endsWith:(se,ne,Ie)=>{if(null==ne||""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie),Y=F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie);return-1!==Y.indexOf(Ee,Y.length-Ee.length)},equals:(se,ne,Ie)=>null==ne||"string"==typeof ne&&""===ne.trim()||null!=se&&(se.getTime&&ne.getTime?se.getTime()===ne.getTime():F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie)==F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie)),notEquals:(se,ne,Ie)=>!(null==ne||"string"==typeof ne&&""===ne.trim()||null!=se&&(se.getTime&&ne.getTime?se.getTime()===ne.getTime():F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie)==F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie))),in:(se,ne)=>{if(null==ne||0===ne.length)return!0;for(let Ie=0;Ienull==ne||null==ne[0]||null==ne[1]||null!=se&&(se.getTime?ne[0].getTime()<=se.getTime()&&se.getTime()<=ne[1].getTime():ne[0]<=se&&se<=ne[1]),lt:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()<=ne.getTime():se<=ne),gt:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()>ne.getTime():se>ne),gte:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()>=ne.getTime():se>=ne),is:(se,ne,Ie)=>this.filters.equals(se,ne,Ie),isNot:(se,ne,Ie)=>this.filters.notEquals(se,ne,Ie),before:(se,ne,Ie)=>this.filters.lt(se,ne,Ie),after:(se,ne,Ie)=>this.filters.gt(se,ne,Ie),dateIs:(se,ne)=>null==ne||null!=se&&se.toDateString()===ne.toDateString(),dateIsNot:(se,ne)=>null==ne||null!=se&&se.toDateString()!==ne.toDateString(),dateBefore:(se,ne)=>null==ne||null!=se&&se.getTime()null==ne||null!=se&&se.getTime()>ne.getTime()};register(se,ne){this.filters[se]=ne}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),le=(()=>{class pe{clickSource=new v.B;clickObservable=this.clickSource.asObservable();add(se){se&&this.clickSource.next(se)}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),be=(()=>{class pe{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[H.STARTS_WITH,H.CONTAINS,H.NOT_CONTAINS,H.ENDS_WITH,H.EQUALS,H.NOT_EQUALS],numeric:[H.EQUALS,H.NOT_EQUALS,H.LESS_THAN,H.LESS_THAN_OR_EQUAL_TO,H.GREATER_THAN,H.GREATER_THAN_OR_EQUAL_TO],date:[H.DATE_IS,H.DATE_IS_NOT,H.DATE_BEFORE,H.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new v.B;translationObserver=this.translationSource.asObservable();getTranslation(se){return this.translation[se]}setTranslation(se){this.translation={...this.translation,...se},this.translationSource.next(this.translation)}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),Le=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275cmp=g.VBU({type:pe,selectors:[["p-header"]],ngContentSelectors:f,decls:1,vars:0,template:function(ne,Ie){1&ne&&(g.NAR(),g.SdG(0))},encapsulation:2})}return pe})(),He=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275cmp=g.VBU({type:pe,selectors:[["p-footer"]],ngContentSelectors:f,decls:1,vars:0,template:function(ne,Ie){1&ne&&(g.NAR(),g.SdG(0))},encapsulation:2})}return pe})(),at=(()=>{class pe{template;type;name;constructor(se){this.template=se}getType(){return this.name}static \u0275fac=function(ne){return new(ne||pe)(g.rXU(g.C4Q))};static \u0275dir=g.FsC({type:pe,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[g.Mj6.None,"pTemplate","name"]}})}return pe})(),Bt=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275mod=g.$C({type:pe});static \u0275inj=g.G2t({imports:[re.MD]})}return pe})(),St=(()=>class pe{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage"})()},6150:(Ze,De,N)=>{N.d(De,{EJ:()=>A,Ex:()=>L});var g=N(177),v=N(4438),F=N(5779);function re($,H){if(1&$&&(v.j41(0,"span",1),v.EFF(1),v.k0s()),2&$){const k=v.XpG();v.HbH(k.styleClass),v.Y8G("ngClass",k.containerClass())("ngStyle",k.style),v.R7$(),v.JRh(k.value)}}let L=(()=>{class ${styleClass;style;size;severity;value;badgeDisabled=!1;containerClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":null!=this.value&&1===String(this.value).length,"p-badge-lg":"large"===this.size,"p-badge-xl":"xlarge"===this.size,"p-badge-info":"info"===this.severity,"p-badge-success":"success"===this.severity,"p-badge-warning":"warning"===this.severity,"p-badge-danger":"danger"===this.severity}}static \u0275fac=function(W){return new(W||$)};static \u0275cmp=v.VBU({type:$,selectors:[["p-badge"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",size:"size",severity:"severity",value:"value",badgeDisabled:"badgeDisabled"},decls:1,vars:1,consts:[[3,"ngClass","class","ngStyle",4,"ngIf"],[3,"ngClass","ngStyle"]],template:function(W,J){1&W&&v.DNE(0,re,2,5,"span",0),2&W&&v.Y8G("ngIf",!J.badgeDisabled)},dependencies:[g.YU,g.bT,g.B3],styles:["@layer primeng{.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}}\n"],encapsulation:2,changeDetection:0})}return $})(),A=(()=>{class ${static \u0275fac=function(W){return new(W||$)};static \u0275mod=v.$C({type:$});static \u0275inj=v.G2t({imports:[g.MD,F.Gg]})}return $})()},461:(Ze,De,N)=>{N.d(De,{h:()=>re});var g=N(4438),v=N(4420);const F=["*"];let re=(()=>{class f{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const A=v.BF.isEmpty(this.label);this.role=A?void 0:"img",this.ariaLabel=A?void 0:this.label,this.ariaHidden=A}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function($){return new($||f)};static \u0275cmp=g.VBU({type:f,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[g.aNF],ngContentSelectors:F,decls:1,vars:0,template:function($,H){1&$&&(g.NAR(),g.SdG(0))},encapsulation:2,changeDetection:0})}return f})()},1141:(Ze,De,N)=>{N.d(De,{$n:()=>Ie,_f:()=>ne,tm:()=>Ee});var g=N(177),v=N(4438),F=N(5779),re=N(1455),f=N(8757),L=N(563),A=N(4420);const $=["*"];function H(Y,xe){1&Y&&v.eu8(0)}function k(Y,xe){if(1&Y&&v.nrm(0,"span",8),2&Y){const ae=v.XpG(3);v.HbH("p-button-loading-icon pi-spin "+ae.loadingIcon),v.Y8G("ngClass",ae.iconClass()),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function W(Y,xe){if(1&Y&&v.nrm(0,"SpinnerIcon",9),2&Y){const ae=v.XpG(3);v.Y8G("styleClass",ae.spinnerIconClass())("spin",!0),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function J(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,k,1,5,"span",6)(2,W,1,4,"SpinnerIcon",7),v.bVm()),2&Y){const ae=v.XpG(2);v.R7$(),v.Y8G("ngIf",ae.loadingIcon),v.R7$(),v.Y8G("ngIf",!ae.loadingIcon)}}function le(Y,xe){}function fe(Y,xe){1&Y&&v.DNE(0,le,0,0,"ng-template")}function be(Y,xe){if(1&Y&&(v.j41(0,"span",10),v.DNE(1,fe,1,0,null,1),v.k0s()),2&Y){const ae=v.XpG(2);v.Y8G("ngClass",ae.iconClass()),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon"),v.R7$(),v.Y8G("ngTemplateOutlet",ae.loadingIconTemplate)}}function Le(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,J,3,2,"ng-container",2)(2,be,2,4,"span",5),v.bVm()),2&Y){const ae=v.XpG();v.R7$(),v.Y8G("ngIf",!ae.loadingIconTemplate),v.R7$(),v.Y8G("ngIf",ae.loadingIconTemplate)}}function He(Y,xe){if(1&Y&&v.nrm(0,"span",8),2&Y){const ae=v.XpG(2);v.HbH(ae.icon),v.Y8G("ngClass",ae.iconClass()),v.BMQ("data-pc-section","icon")}}function at(Y,xe){}function Bt(Y,xe){if(1&Y&&v.DNE(0,at,0,0,"ng-template",12),2&Y){const ae=v.XpG(3);v.Y8G("ngIf",!ae.icon)}}function St(Y,xe){if(1&Y&&(v.j41(0,"span",8),v.DNE(1,Bt,1,1,null,1),v.k0s()),2&Y){const ae=v.XpG(2);v.Y8G("ngClass",ae.iconClass()),v.BMQ("data-pc-section","icon"),v.R7$(),v.Y8G("ngTemplateOutlet",ae.iconTemplate)}}function $e(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,He,1,4,"span",6)(2,St,2,3,"span",11),v.bVm()),2&Y){const ae=v.XpG();v.R7$(),v.Y8G("ngIf",ae.icon&&!ae.iconTemplate),v.R7$(),v.Y8G("ngIf",!ae.icon&&ae.iconTemplate)}}function pe(Y,xe){if(1&Y&&(v.j41(0,"span",13),v.EFF(1),v.k0s()),2&Y){const ae=v.XpG();v.BMQ("aria-hidden",ae.icon&&!ae.label)("data-pc-section","label"),v.R7$(),v.JRh(ae.label)}}function et(Y,xe){if(1&Y&&(v.j41(0,"span",8),v.EFF(1),v.k0s()),2&Y){const ae=v.XpG();v.HbH(ae.badgeClass),v.Y8G("ngClass",ae.badgeStyleClass()),v.BMQ("data-pc-section","badge"),v.R7$(),v.JRh(ae.badge)}}const se={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let ne=(()=>{class Y{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(ae){this._label=ae,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(ae){this._icon=ae,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(ae){this._loading=ae,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(se);spinnerIcon='\n \n \n \n \n \n \n \n \n ';constructor(ae,qe){this.el=ae,this.document=qe}ngAfterViewInit(){re.D.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const ae=[se.button,se.component];return this.icon&&!this.label&&A.BF.isEmpty(this.htmlElement.textContent)&&ae.push(se.iconOnly),this.loading&&(ae.push(se.disabled,se.loading),!this.icon&&this.label&&ae.push(se.labelOnly),this.icon&&!this.label&&!A.BF.isEmpty(this.htmlElement.textContent)&&ae.push(se.iconOnly)),ae}setStyleClass(){const ae=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...ae)}createLabel(){if(this.label){let ae=this.document.createElement("span");this.icon&&!this.label&&ae.setAttribute("aria-hidden","true"),ae.className="p-button-label",ae.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(ae)}}createIcon(){if(this.icon||this.loading){let ae=this.document.createElement("span");ae.className="p-button-icon",ae.setAttribute("aria-hidden","true");let qe=this.label?"p-button-icon-"+this.iconPos:null;qe&&re.D.addClass(ae,qe);let Oe=this.getIconClass();Oe&&re.D.addMultipleClasses(ae,Oe),!this.loadingIcon&&this.loading&&(ae.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(ae,this.htmlElement.firstChild)}}updateLabel(){let ae=re.D.findSingle(this.htmlElement,".p-button-label");this.label?ae?ae.textContent=this.label:this.createLabel():ae&&this.htmlElement.removeChild(ae)}updateIcon(){let ae=re.D.findSingle(this.htmlElement,".p-button-icon"),qe=re.D.findSingle(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&ae?ae.innerHTML=this.spinnerIcon:ae?.innerHTML&&(ae.innerHTML=""),ae?ae.className=this.iconPos?"p-button-icon "+(qe?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(qe){return new(qe||Y)(v.rXU(v.aKT),v.rXU(g.qQ))};static \u0275dir=v.FsC({type:Y,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return Y})(),Ie=(()=>{class Y{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;size;style;styleClass;badgeClass;ariaLabel;onClick=new v.bkB;onFocus=new v.bkB;onBlur=new v.bkB;contentTemplate;loadingIconTemplate;iconTemplate;templates;spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,ae])=>!!ae).reduce((ae,[qe])=>ae+` ${qe}`,"p-button-loading-icon")}iconClass(){return{"p-button-icon":!0,"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}}buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this.loadingIcon||this.loadingIconTemplate)&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label&&!this.loadingIcon&&"left"===this.iconPos,"p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":"small"===this.size,"p-button-lg":"large"===this.size,"p-button-plain":this.plain,[`${this.styleClass}`]:this.styleClass}}ngAfterContentInit(){this.templates?.forEach(ae=>{switch(ae.getType()){case"content":default:this.contentTemplate=ae.template;break;case"icon":this.iconTemplate=ae.template;break;case"loadingicon":this.loadingIconTemplate=ae.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}static \u0275fac=function(qe){return new(qe||Y)};static \u0275cmp=v.VBU({type:Y,selectors:[["p-button"]],contentQueries:function(qe,Oe,ze){if(1&qe&&v.wni(ze,F.Ei,4),2&qe){let pt;v.mGM(pt=v.lsd())&&(Oe.templates=pt)}},hostAttrs:[1,"p-element"],hostVars:2,hostBindings:function(qe,Oe){2&qe&&v.AVh("p-disabled",Oe.disabled)},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",raised:"raised",rounded:"rounded",text:"text",plain:"plain",severity:"severity",outlined:"outlined",link:"link",size:"size",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:$,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","ngClass"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon",3,"ngClass"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(qe,Oe){1&qe&&(v.NAR(),v.j41(0,"button",0),v.bIt("click",function(pt){return Oe.onClick.emit(pt)})("focus",function(pt){return Oe.onFocus.emit(pt)})("blur",function(pt){return Oe.onBlur.emit(pt)}),v.SdG(1),v.DNE(2,H,1,0,"ng-container",1)(3,Le,3,2,"ng-container",2)(4,$e,3,2,"ng-container",2)(5,pe,2,3,"span",3)(6,et,2,5,"span",4),v.k0s()),2&qe&&(v.HbH(Oe.styleClass),v.Y8G("ngStyle",Oe.style)("disabled",Oe.disabled||Oe.loading)("ngClass",Oe.buttonClass()),v.BMQ("type",Oe.type)("aria-label",Oe.ariaLabel)("data-pc-name","button")("data-pc-section","root"),v.R7$(2),v.Y8G("ngTemplateOutlet",Oe.contentTemplate),v.R7$(),v.Y8G("ngIf",Oe.loading),v.R7$(),v.Y8G("ngIf",!Oe.loading),v.R7$(),v.Y8G("ngIf",!Oe.contentTemplate&&Oe.label),v.R7$(),v.Y8G("ngIf",!Oe.contentTemplate&&Oe.badge))},dependencies:()=>[g.YU,g.bT,g.T3,g.B3,L.n,f.N],encapsulation:2,changeDetection:0})}return Y})(),Ee=(()=>{class Y{static \u0275fac=function(qe){return new(qe||Y)};static \u0275mod=v.$C({type:Y});static \u0275inj=v.G2t({imports:[g.MD,L.Z,F.Gg,f.N,F.Gg]})}return Y})()},1455:(Ze,De,N)=>{N.d(De,{D:()=>g,b:()=>v});let g=(()=>{class F{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(f,L){f&&L&&(f.classList?f.classList.add(L):f.className+=" "+L)}static addMultipleClasses(f,L){if(f&&L)if(f.classList){let A=L.trim().split(" ");for(let $=0;$A.split(" ").forEach($=>this.removeClass(f,$)))}static hasClass(f,L){return!(!f||!L)&&(f.classList?f.classList.contains(L):new RegExp("(^| )"+L+"( |$)","gi").test(f.className))}static siblings(f){return Array.prototype.filter.call(f.parentNode.children,function(L){return L!==f})}static find(f,L){return Array.from(f.querySelectorAll(L))}static findSingle(f,L){return this.isElement(f)?f.querySelector(L):null}static index(f){let L=f.parentNode.childNodes,A=0;for(var $=0;${if(St)return"relative"===getComputedStyle(St).getPropertyValue("position")?St:A(St.parentElement)},$=f.offsetParent?{width:f.offsetWidth,height:f.offsetHeight}:this.getHiddenElementDimensions(f),H=L.offsetHeight,k=L.getBoundingClientRect(),W=this.getWindowScrollTop(),J=this.getWindowScrollLeft(),le=this.getViewport(),be=A(f)?.getBoundingClientRect()||{top:-1*W,left:-1*J};let Le,He;k.top+H+$.height>le.height?(Le=k.top-be.top-$.height,f.style.transformOrigin="bottom",k.top+Le<0&&(Le=-1*k.top)):(Le=H+k.top-be.top,f.style.transformOrigin="top");const at=k.left+$.width-le.width;He=$.width>le.width?-1*(k.left-be.left):at>0?k.left-be.left-at:k.left-be.left,f.style.top=Le+"px",f.style.left=He+"px"}static absolutePosition(f,L){const A=f.offsetParent?{width:f.offsetWidth,height:f.offsetHeight}:this.getHiddenElementDimensions(f),$=A.height,H=A.width,k=L.offsetHeight,W=L.offsetWidth,J=L.getBoundingClientRect(),le=this.getWindowScrollTop(),fe=this.getWindowScrollLeft(),be=this.getViewport();let Le,He;J.top+k+$>be.height?(Le=J.top+le-$,f.style.transformOrigin="bottom",Le<0&&(Le=le)):(Le=k+J.top+le,f.style.transformOrigin="top"),He=J.left+H>be.width?Math.max(0,J.left+fe+W-H):J.left+fe,f.style.top=Le+"px",f.style.left=He+"px"}static getParents(f,L=[]){return null===f.parentNode?L:this.getParents(f.parentNode,L.concat([f.parentNode]))}static getScrollableParents(f){let L=[];if(f){let A=this.getParents(f);const $=/(auto|scroll)/,H=k=>{let W=window.getComputedStyle(k,null);return $.test(W.getPropertyValue("overflow"))||$.test(W.getPropertyValue("overflowX"))||$.test(W.getPropertyValue("overflowY"))};for(let k of A){let W=1===k.nodeType&&k.dataset.scrollselectors;if(W){let J=W.split(",");for(let le of J){let fe=this.findSingle(k,le);fe&&H(fe)&&L.push(fe)}}9!==k.nodeType&&H(k)&&L.push(k)}}return L}static getHiddenElementOuterHeight(f){f.style.visibility="hidden",f.style.display="block";let L=f.offsetHeight;return f.style.display="none",f.style.visibility="visible",L}static getHiddenElementOuterWidth(f){f.style.visibility="hidden",f.style.display="block";let L=f.offsetWidth;return f.style.display="none",f.style.visibility="visible",L}static getHiddenElementDimensions(f){let L={};return f.style.visibility="hidden",f.style.display="block",L.width=f.offsetWidth,L.height=f.offsetHeight,f.style.display="none",f.style.visibility="visible",L}static scrollInView(f,L){let A=getComputedStyle(f).getPropertyValue("borderTopWidth"),$=A?parseFloat(A):0,H=getComputedStyle(f).getPropertyValue("paddingTop"),k=H?parseFloat(H):0,W=f.getBoundingClientRect(),le=L.getBoundingClientRect().top+document.body.scrollTop-(W.top+document.body.scrollTop)-$-k,fe=f.scrollTop,be=f.clientHeight,Le=this.getOuterHeight(L);le<0?f.scrollTop=fe+le:le+Le>be&&(f.scrollTop=fe+le-be+Le)}static fadeIn(f,L){f.style.opacity=0;let A=+new Date,$=0,H=function(){$=+f.style.opacity.replace(",",".")+((new Date).getTime()-A)/L,f.style.opacity=$,A=+new Date,+$<1&&(window.requestAnimationFrame&&requestAnimationFrame(H)||setTimeout(H,16))};H()}static fadeOut(f,L){var A=1,k=50/L;let W=setInterval(()=>{(A-=k)<=0&&(A=0,clearInterval(W)),f.style.opacity=A},50)}static getWindowScrollTop(){let f=document.documentElement;return(window.pageYOffset||f.scrollTop)-(f.clientTop||0)}static getWindowScrollLeft(){let f=document.documentElement;return(window.pageXOffset||f.scrollLeft)-(f.clientLeft||0)}static matches(f,L){var A=Element.prototype;return(A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.msMatchesSelector||function(H){return-1!==[].indexOf.call(document.querySelectorAll(H),this)}).call(f,L)}static getOuterWidth(f,L){let A=f.offsetWidth;if(L){let $=getComputedStyle(f);A+=parseFloat($.marginLeft)+parseFloat($.marginRight)}return A}static getHorizontalPadding(f){let L=getComputedStyle(f);return parseFloat(L.paddingLeft)+parseFloat(L.paddingRight)}static getHorizontalMargin(f){let L=getComputedStyle(f);return parseFloat(L.marginLeft)+parseFloat(L.marginRight)}static innerWidth(f){let L=f.offsetWidth,A=getComputedStyle(f);return L+=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight),L}static width(f){let L=f.offsetWidth,A=getComputedStyle(f);return L-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight),L}static getInnerHeight(f){let L=f.offsetHeight,A=getComputedStyle(f);return L+=parseFloat(A.paddingTop)+parseFloat(A.paddingBottom),L}static getOuterHeight(f,L){let A=f.offsetHeight;if(L){let $=getComputedStyle(f);A+=parseFloat($.marginTop)+parseFloat($.marginBottom)}return A}static getHeight(f){let L=f.offsetHeight,A=getComputedStyle(f);return L-=parseFloat(A.paddingTop)+parseFloat(A.paddingBottom)+parseFloat(A.borderTopWidth)+parseFloat(A.borderBottomWidth),L}static getWidth(f){let L=f.offsetWidth,A=getComputedStyle(f);return L-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight)+parseFloat(A.borderLeftWidth)+parseFloat(A.borderRightWidth),L}static getViewport(){let f=window,L=document,A=L.documentElement,$=L.getElementsByTagName("body")[0];return{width:f.innerWidth||A.clientWidth||$.clientWidth,height:f.innerHeight||A.clientHeight||$.clientHeight}}static getOffset(f){var L=f.getBoundingClientRect();return{top:L.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:L.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(f,L){let A=f.parentNode;if(!A)throw"Can't replace element";return A.replaceChild(L,f)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var f=window.navigator.userAgent;return f.indexOf("MSIE ")>0||(f.indexOf("Trident/")>0?(f.indexOf("rv:"),!0):f.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(f,L){if(this.isElement(L))L.appendChild(f);else{if(!(L&&L.el&&L.el.nativeElement))throw"Cannot append "+L+" to "+f;L.el.nativeElement.appendChild(f)}}static removeChild(f,L){if(this.isElement(L))L.removeChild(f);else{if(!L.el||!L.el.nativeElement)throw"Cannot remove "+f+" from "+L;L.el.nativeElement.removeChild(f)}}static removeElement(f){"remove"in Element.prototype?f.remove():f.parentNode.removeChild(f)}static isElement(f){return"object"==typeof HTMLElement?f instanceof HTMLElement:f&&"object"==typeof f&&null!==f&&1===f.nodeType&&"string"==typeof f.nodeName}static calculateScrollbarWidth(f){if(f){let L=getComputedStyle(f);return f.offsetWidth-f.clientWidth-parseFloat(L.borderLeftWidth)-parseFloat(L.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let L=document.createElement("div");L.className="p-scrollbar-measure",document.body.appendChild(L);let A=L.offsetWidth-L.clientWidth;return document.body.removeChild(L),this.calculatedScrollbarWidth=A,A}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let f=document.createElement("div");f.className="p-scrollbar-measure",document.body.appendChild(f);let L=f.offsetHeight-f.clientHeight;return document.body.removeChild(f),this.calculatedScrollbarWidth=L,L}static invokeElementMethod(f,L,A){f[L].apply(f,A)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let f=this.resolveUserAgent();this.browser={},f.browser&&(this.browser[f.browser]=!0,this.browser.version=f.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let f=navigator.userAgent.toLowerCase(),L=/(chrome)[ \/]([\w.]+)/.exec(f)||/(webkit)[ \/]([\w.]+)/.exec(f)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(f)||/(msie) ([\w.]+)/.exec(f)||f.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(f)||[];return{browser:L[1]||"",version:L[2]||"0"}}static isInteger(f){return Number.isInteger?Number.isInteger(f):"number"==typeof f&&isFinite(f)&&Math.floor(f)===f}static isHidden(f){return!f||null===f.offsetParent}static isVisible(f){return f&&null!=f.offsetParent}static isExist(f){return null!==f&&typeof f<"u"&&f.nodeName&&f.parentNode}static focus(f,L){f&&document.activeElement!==f&&f.focus(L)}static getFocusableElements(f,L=""){let A=this.find(f,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L}`),$=[];for(let H of A)"none"!=getComputedStyle(H).display&&"hidden"!=getComputedStyle(H).visibility&&$.push(H);return $}static getFirstFocusableElement(f,L){const A=this.getFocusableElements(f,L);return A.length>0?A[0]:null}static getLastFocusableElement(f,L){const A=this.getFocusableElements(f,L);return A.length>0?A[A.length-1]:null}static getNextFocusableElement(f,L=!1){const A=F.getFocusableElements(f);let $=0;if(A&&A.length>0){const H=A.indexOf(A[0].ownerDocument.activeElement);L?$=-1==H||0===H?A.length-1:H-1:-1!=H&&H!==A.length-1&&($=H+1)}return A[$]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(f,L){if(!f)return null;switch(f){case"document":return document;case"window":return window;case"@next":return L?.nextElementSibling;case"@prev":return L?.previousElementSibling;case"@parent":return L?.parentElement;case"@grandparent":return L?.parentElement.parentElement;default:const A=typeof f;if("string"===A)return document.querySelector(f);if("object"===A&&f.hasOwnProperty("nativeElement"))return this.isExist(f.nativeElement)?f.nativeElement:void 0;const H=(k=f)&&k.constructor&&k.call&&k.apply?f():f;return H&&9===H.nodeType||this.isExist(H)?H:null}var k}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(f,L){if(f){const A=f.getAttribute(L);return isNaN(A)?"true"===A||"false"===A?"true"===A:A:+A}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(f="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,f)}static unblockBodyScroll(f="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,f)}}return F})();class v{element;listener;scrollableParents;constructor(re,f=(()=>{})){this.element=re,this.listener=f}bindScrollListener(){this.scrollableParents=g.getScrollableParents(this.element);for(let re=0;re{N.d(De,{N:()=>re});var g=N(4438),v=N(461),F=N(4420);let re=(()=>{class f extends v.h{pathId;ngOnInit(){this.pathId="url(#"+(0,F._Y)()+")"}static \u0275fac=(()=>{let A;return function(H){return(A||(A=g.xGo(f)))(H||f)}})();static \u0275cmp=g.VBU({type:f,selectors:[["SpinnerIcon"]],standalone:!0,features:[g.Vt3,g.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function($,H){1&$&&(g.qSk(),g.j41(0,"svg",0)(1,"g"),g.nrm(2,"path",1),g.k0s(),g.j41(3,"defs")(4,"clipPath",2),g.nrm(5,"rect",3),g.k0s()()()),2&$&&(g.HbH(H.getClassNames()),g.BMQ("aria-label",H.ariaLabel)("aria-hidden",H.ariaHidden)("role",H.role),g.R7$(),g.BMQ("clip-path",H.pathId),g.R7$(3),g.Y8G("id",H.pathId))},encapsulation:2})}return f})()},1512:(Ze,De,N)=>{N.d(De,{A:()=>F});var g=N(4438),v=N(461);let F=(()=>{class re extends v.h{static \u0275fac=(()=>{let L;return function($){return(L||(L=g.xGo(re)))($||re)}})();static \u0275cmp=g.VBU({type:re,selectors:[["TimesIcon"]],standalone:!0,features:[g.Vt3,g.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(A,$){1&A&&(g.qSk(),g.j41(0,"svg",0),g.nrm(1,"path",1),g.k0s()),2&A&&(g.HbH($.getClassNames()),g.BMQ("aria-label",$.ariaLabel)("aria-hidden",$.ariaHidden)("role",$.role))},encapsulation:2})}return re})()},1631:(Ze,De,N)=>{N.d(De,{H_:()=>$});var g=N(177),v=N(4438),F=N(4341);const re=["input"],f=(H,k,W)=>({"p-inputswitch p-component":!0,"p-inputswitch-checked":H,"p-disabled":k,"p-focus":W}),L={provide:F.kq,useExisting:(0,v.Rfq)(()=>A),multi:!0};let A=(()=>{class H{cd;style;styleClass;tabindex;inputId;name;disabled;readonly;trueValue=!0;falseValue=!1;ariaLabel;ariaLabelledBy;onChange=new v.bkB;input;modelValue=!1;focused=!1;onModelChange=()=>{};onModelTouched=()=>{};constructor(W){this.cd=W}onClick(W){!this.disabled&&!this.readonly&&(this.modelValue=this.checked()?this.falseValue:this.trueValue,this.onModelChange(this.modelValue),this.onChange.emit({originalEvent:W,checked:this.modelValue}),W.preventDefault(),this.input.nativeElement.focus())}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}writeValue(W){this.modelValue=W,this.cd.markForCheck()}registerOnChange(W){this.onModelChange=W}registerOnTouched(W){this.onModelTouched=W}setDisabledState(W){this.disabled=W,this.cd.markForCheck()}checked(){return this.modelValue===this.trueValue}static \u0275fac=function(J){return new(J||H)(v.rXU(v.gRc))};static \u0275cmp=v.VBU({type:H,selectors:[["p-inputSwitch"]],viewQuery:function(J,le){if(1&J&&v.GBs(re,5),2&J){let fe;v.mGM(fe=v.lsd())&&(le.input=fe.first)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",tabindex:"tabindex",inputId:"inputId",name:"name",disabled:"disabled",readonly:"readonly",trueValue:"trueValue",falseValue:"falseValue",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onChange:"onChange"},features:[v.Jv_([L])],decls:5,vars:22,consts:[["input",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"focus","blur","checked","disabled"],[1,"p-inputswitch-slider"]],template:function(J,le){if(1&J){const fe=v.RV6();v.j41(0,"div",1),v.bIt("click",function(Le){return v.eBV(fe),v.Njj(le.onClick(Le))}),v.j41(1,"div",2)(2,"input",3,0),v.bIt("focus",function(){return v.eBV(fe),v.Njj(le.onFocus())})("blur",function(){return v.eBV(fe),v.Njj(le.onBlur())}),v.k0s()(),v.nrm(4,"span",4),v.k0s()}2&J&&(v.HbH(le.styleClass),v.Y8G("ngClass",v.sMw(18,f,le.checked(),le.disabled,le.focused))("ngStyle",le.style),v.BMQ("data-pc-name","inputswitch")("data-pc-section","root"),v.R7$(),v.BMQ("data-pc-section","hiddenInputWrapper")("data-p-hidden-accessible",!0),v.R7$(),v.Y8G("checked",le.checked())("disabled",le.disabled),v.BMQ("id",le.inputId)("aria-checked",le.checked())("aria-labelledby",le.ariaLabelledBy)("aria-label",le.ariaLabel)("name",le.name)("tabindex",le.tabindex)("data-pc-section","hiddenInput"),v.R7$(2),v.BMQ("data-pc-section","slider"))},dependencies:[g.YU,g.B3],styles:['@layer primeng{.p-inputswitch{position:relative;display:inline-block;-webkit-user-select:none;user-select:none}.p-inputswitch-slider{position:absolute;cursor:pointer;inset:0;border:1px solid transparent}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}}\n'],encapsulation:2,changeDetection:0})}return H})(),$=(()=>{class H{static \u0275fac=function(J){return new(J||H)};static \u0275mod=v.$C({type:H});static \u0275inj=v.G2t({imports:[g.MD]})}return H})()},2242:(Ze,De,N)=>{N.d(De,{S:()=>re,u:()=>f});var g=N(4438),v=N(177),F=N(4341);let re=(()=>{class L{el;ngModel;cd;filled;constructor($,H,k){this.el=$,this.ngModel=H,this.cd=k}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}static \u0275fac=function(H){return new(H||L)(g.rXU(g.aKT),g.rXU(F.vS,8),g.rXU(g.gRc))};static \u0275dir=g.FsC({type:L,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(H,k){1&H&&g.bIt("input",function(J){return k.onInput(J)}),2&H&&g.AVh("p-filled",k.filled)}})}return L})(),f=(()=>{class L{static \u0275fac=function(H){return new(H||L)};static \u0275mod=g.$C({type:L});static \u0275inj=g.G2t({imports:[v.MD]})}return L})()},494:(Ze,De,N)=>{N.d(De,{Ko:()=>J});var g=N(177),v=N(4438),F=N(4341);const re=["input"],f=(le,fe,be)=>({"p-radiobutton p-component":!0,"p-radiobutton-checked":le,"p-radiobutton-disabled":fe,"p-radiobutton-focused":be}),L=(le,fe,be)=>({"p-radiobutton-box":!0,"p-highlight":le,"p-disabled":fe,"p-focus":be}),A=(le,fe,be)=>({"p-radiobutton-label":!0,"p-radiobutton-label-active":le,"p-disabled":fe,"p-radiobutton-label-focus":be});function $(le,fe){if(1&le){const be=v.RV6();v.j41(0,"label",7),v.bIt("click",function(He){v.eBV(be);const at=v.XpG();return v.Njj(at.select(He))}),v.EFF(1),v.k0s()}if(2&le){const be=v.XpG(),Le=v.sdS(3);v.HbH(be.labelStyleClass),v.Y8G("ngClass",v.sMw(6,A,Le.checked,be.disabled,be.focused)),v.BMQ("for",be.inputId)("data-pc-section","label"),v.R7$(),v.JRh(be.label)}}const H={provide:F.kq,useExisting:(0,v.Rfq)(()=>W),multi:!0};let k=(()=>{class le{accessors=[];add(be,Le){this.accessors.push([be,Le])}remove(be){this.accessors=this.accessors.filter(Le=>Le[1]!==be)}select(be){this.accessors.forEach(Le=>{this.isSameGroup(Le,be)&&Le[1]!==be&&Le[1].writeValue(be.value)})}isSameGroup(be,Le){return!!be[0].control&&be[0].control.root===Le.control.control.root&&be[1].name===Le.name}static \u0275fac=function(Le){return new(Le||le)};static \u0275prov=v.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),W=(()=>{class le{cd;injector;registry;value;formControlName;name;disabled;label;tabindex;inputId;ariaLabelledBy;ariaLabel;style;styleClass;labelStyleClass;onClick=new v.bkB;onFocus=new v.bkB;onBlur=new v.bkB;inputViewChild;onModelChange=()=>{};onModelTouched=()=>{};checked;focused;control;constructor(be,Le,He){this.cd=be,this.injector=Le,this.registry=He}ngOnInit(){this.control=this.injector.get(F.vO),this.checkName(),this.registry.add(this.control,this)}handleClick(be,Le,He){be.preventDefault(),!this.disabled&&(this.select(be),He&&Le.focus())}select(be){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:be,value:this.value}))}writeValue(be){this.checked=be==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(be){this.onModelChange=be}registerOnTouched(be){this.onModelTouched=be}setDisabledState(be){this.disabled=be,this.cd.markForCheck()}onInputFocus(be){this.focused=!0,this.onFocus.emit(be)}onInputBlur(be){this.focused=!1,this.onModelTouched(),this.onBlur.emit(be)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}static \u0275fac=function(Le){return new(Le||le)(v.rXU(v.gRc),v.rXU(v.zZn),v.rXU(k))};static \u0275cmp=v.VBU({type:le,selectors:[["p-radioButton"]],viewQuery:function(Le,He){if(1&Le&&v.GBs(re,5),2&Le){let at;v.mGM(at=v.lsd())&&(He.inputViewChild=at.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",formControlName:"formControlName",name:"name",disabled:"disabled",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[v.Jv_([H])],decls:7,vars:29,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"focus","blur","checked","disabled","value"],[3,"ngClass"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"],[3,"click","ngClass"]],template:function(Le,He){if(1&Le){const at=v.RV6();v.j41(0,"div",1),v.bIt("click",function(St){v.eBV(at);const $e=v.sdS(3);return v.Njj(He.handleClick(St,$e,!0))}),v.j41(1,"div",2)(2,"input",3,0),v.bIt("focus",function(St){return v.eBV(at),v.Njj(He.onInputFocus(St))})("blur",function(St){return v.eBV(at),v.Njj(He.onInputBlur(St))}),v.k0s()(),v.j41(4,"div",4),v.nrm(5,"span",5),v.k0s()(),v.DNE(6,$,2,10,"label",6)}2&Le&&(v.HbH(He.styleClass),v.Y8G("ngStyle",He.style)("ngClass",v.sMw(21,f,He.checked,He.disabled,He.focused)),v.BMQ("data-pc-name","radiobutton")("data-pc-section","root"),v.R7$(),v.BMQ("data-pc-section","hiddenInputWrapper"),v.R7$(),v.Y8G("checked",He.checked)("disabled",He.disabled)("value",He.value),v.BMQ("id",He.inputId)("name",He.name)("aria-labelledby",He.ariaLabelledBy)("aria-label",He.ariaLabel)("tabindex",He.tabindex)("aria-checked",He.checked)("data-pc-section","hiddenInput"),v.R7$(2),v.Y8G("ngClass",v.sMw(25,L,He.checked,He.disabled,He.focused)),v.BMQ("data-pc-section","input"),v.R7$(),v.BMQ("data-pc-section","icon"),v.R7$(),v.Y8G("ngIf",He.label))},dependencies:[g.YU,g.bT,g.B3],encapsulation:2,changeDetection:0})}return le})(),J=(()=>{class le{static \u0275fac=function(Le){return new(Le||le)};static \u0275mod=v.$C({type:le});static \u0275inj=v.G2t({imports:[g.MD]})}return le})()},563:(Ze,De,N)=>{N.d(De,{Z:()=>L,n:()=>f});var g=N(177),v=N(4438),F=N(1455),re=N(5779);let f=(()=>{class A{document;platformId;renderer;el;zone;config;constructor(H,k,W,J,le,fe){this.document=H,this.platformId=k,this.renderer=W,this.el=J,this.zone=le,this.config=fe}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,g.UE)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(H){let k=this.getInk();if(!k||"none"===this.document.defaultView?.getComputedStyle(k,null).display)return;if(F.D.removeClass(k,"p-ink-active"),!F.D.getHeight(k)&&!F.D.getWidth(k)){let fe=Math.max(F.D.getOuterWidth(this.el.nativeElement),F.D.getOuterHeight(this.el.nativeElement));k.style.height=fe+"px",k.style.width=fe+"px"}let W=F.D.getOffset(this.el.nativeElement),J=H.pageX-W.left+this.document.body.scrollTop-F.D.getWidth(k)/2,le=H.pageY-W.top+this.document.body.scrollLeft-F.D.getHeight(k)/2;this.renderer.setStyle(k,"top",le+"px"),this.renderer.setStyle(k,"left",J+"px"),F.D.addClass(k,"p-ink-active"),this.timeout=setTimeout(()=>{let fe=this.getInk();fe&&F.D.removeClass(fe,"p-ink-active")},401)}getInk(){const H=this.el.nativeElement.children;for(let k=0;k{class A{static \u0275fac=function(k){return new(k||A)};static \u0275mod=v.$C({type:A});static \u0275inj=v.G2t({imports:[g.MD]})}return A})()},5875:(Ze,De,N)=>{N.d(De,{B:()=>Y,n:()=>xe});var g=N(9969),v=N(177),F=N(4438),re=N(5779),f=N(1455),L=N(1512),A=N(563),$=N(4420);const H=["*"],k=(ae,qe,Oe,ze,pt,$t)=>({"p-sidebar":!0,"p-sidebar-active":ae,"p-sidebar-left":qe,"p-sidebar-right":Oe,"p-sidebar-top":ze,"p-sidebar-bottom":pt,"p-sidebar-full":$t}),W=(ae,qe)=>({transform:ae,transition:qe}),J=ae=>({value:"visible",params:ae});function le(ae,qe){1&ae&&F.eu8(0)}function fe(ae,qe){if(1&ae&&(F.qex(0),F.DNE(1,le,1,0,"ng-container",5),F.bVm()),2&ae){const Oe=F.XpG(2);F.R7$(),F.Y8G("ngTemplateOutlet",Oe.headlessTemplate)}}function be(ae,qe){1&ae&&F.eu8(0)}function Le(ae,qe){1&ae&&F.nrm(0,"TimesIcon",13),2&ae&&(F.Y8G("styleClass","p-sidebar-close-icon"),F.BMQ("data-pc-section","closeicon"))}function He(ae,qe){}function at(ae,qe){1&ae&&F.DNE(0,He,0,0,"ng-template")}function Bt(ae,qe){if(1&ae&&(F.j41(0,"span",14),F.DNE(1,at,1,0,null,5),F.k0s()),2&ae){const Oe=F.XpG(4);F.BMQ("data-pc-section","closeicon"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.closeIconTemplate)}}function St(ae,qe){if(1&ae){const Oe=F.RV6();F.j41(0,"button",10),F.bIt("click",function(pt){F.eBV(Oe);const $t=F.XpG(3);return F.Njj($t.close(pt))})("keydown.enter",function(pt){F.eBV(Oe);const $t=F.XpG(3);return F.Njj($t.close(pt))}),F.DNE(1,Le,1,2,"TimesIcon",11)(2,Bt,2,2,"span",12),F.k0s()}if(2&ae){const Oe=F.XpG(3);F.BMQ("aria-label",Oe.ariaCloseLabel)("data-pc-section","closebutton")("data-pc-group-section","iconcontainer"),F.R7$(),F.Y8G("ngIf",!Oe.closeIconTemplate),F.R7$(),F.Y8G("ngIf",Oe.closeIconTemplate)}}function $e(ae,qe){1&ae&&F.eu8(0)}function pe(ae,qe){1&ae&&F.eu8(0)}function et(ae,qe){if(1&ae&&(F.qex(0),F.j41(1,"div",15),F.DNE(2,pe,1,0,"ng-container",5),F.k0s(),F.bVm()),2&ae){const Oe=F.XpG(3);F.R7$(),F.BMQ("data-pc-section","footer"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.footerTemplate)}}function se(ae,qe){if(1&ae&&(F.j41(0,"div",6),F.DNE(1,be,1,0,"ng-container",5)(2,St,3,5,"button",7),F.k0s(),F.j41(3,"div",8),F.SdG(4),F.DNE(5,$e,1,0,"ng-container",5),F.k0s(),F.DNE(6,et,3,2,"ng-container",9)),2&ae){const Oe=F.XpG(2);F.BMQ("data-pc-section","header"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.headerTemplate),F.R7$(),F.Y8G("ngIf",Oe.showCloseIcon),F.R7$(),F.BMQ("data-pc-section","content"),F.R7$(2),F.Y8G("ngTemplateOutlet",Oe.contentTemplate),F.R7$(),F.Y8G("ngIf",Oe.footerTemplate)}}function ne(ae,qe){if(1&ae){const Oe=F.RV6();F.j41(0,"div",3,0),F.bIt("@panelState.start",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onAnimationStart(pt))})("@panelState.done",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onAnimationEnd(pt))})("keydown",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onKeyDown(pt))}),F.DNE(2,fe,2,1,"ng-container",4)(3,se,7,6,"ng-template",null,1,F.C5r),F.k0s()}if(2&ae){const Oe=F.sdS(4),ze=F.XpG();F.HbH(ze.styleClass),F.Y8G("ngClass",F.l4e(10,k,ze.visible,"left"===ze.position&&!ze.fullScreen,"right"===ze.position&&!ze.fullScreen,"top"===ze.position&&!ze.fullScreen,"bottom"===ze.position&&!ze.fullScreen,ze.fullScreen))("@panelState",F.eq3(20,J,F.l_i(17,W,ze.transformOptions,ze.transitionOptions)))("ngStyle",ze.style),F.BMQ("data-pc-name","sidebar")("data-pc-section","root")("aria-modal",ze.modal),F.R7$(2),F.Y8G("ngIf",ze.headlessTemplate)("ngIfElse",Oe)}}const Ie=(0,g.lY)([(0,g.iF)({transform:"{{transform}}",opacity:0}),(0,g.i0)("{{transition}}")]),Ee=(0,g.lY)([(0,g.i0)("{{transition}}",(0,g.iF)({transform:"{{transform}}",opacity:0}))]);let Y=(()=>{class ae{document;el;renderer;cd;config;appendTo;blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible}set visible(Oe){this._visible=Oe}get position(){return this._position}set position(Oe){switch(this._position=Oe,Oe){case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)"}}get fullScreen(){return this._fullScreen}set fullScreen(Oe){this._fullScreen=Oe,Oe&&(this.transformOptions="none")}templates;onShow=new F.bkB;onHide=new F.bkB;visibleChange=new F.bkB;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;headlessTemplate;constructor(Oe,ze,pt,$t,me){this.document=Oe,this.el=ze,this.renderer=pt,this.cd=$t,this.config=me}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(Oe=>{switch(Oe.getType()){case"content":default:this.contentTemplate=Oe.template;break;case"header":this.headerTemplate=Oe.template;break;case"footer":this.footerTemplate=Oe.template;break;case"closeicon":this.closeIconTemplate=Oe.template;break;case"headless":this.headlessTemplate=Oe.template}})}onKeyDown(Oe){"Escape"===Oe.code&&this.hide(!1)}show(){this.autoZIndex&&$.Q$.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(Oe=!0){Oe&&this.onHide.emit({}),this.modal&&this.disableModality()}close(Oe){this.hide(!1),this.visibleChange.emit(!1),Oe.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),f.D.addMultipleClasses(this.mask,"p-component-overlay p-sidebar-mask p-component-overlay p-component-overlay-enter"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",Oe=>{this.dismissible&&this.close(Oe)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&f.D.blockBodyScroll())}disableModality(){this.mask&&(f.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&f.D.unblockBodyScroll(),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(Oe){"visible"===Oe.toState&&(this.container=Oe.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(Oe){"void"===Oe.toState&&(this.hide(),$.Q$.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):f.D.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",ze=>{27==ze.which&&parseInt(this.container.style.zIndex)===$.Q$.get(this.container)&&this.close(ze)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.appendTo&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&$.Q$.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(ze){return new(ze||ae)(F.rXU(v.qQ),F.rXU(F.aKT),F.rXU(F.sFG),F.rXU(F.gRc),F.rXU(re.r1))};static \u0275cmp=F.VBU({type:ae,selectors:[["p-sidebar"]],contentQueries:function(ze,pt,$t){if(1&ze&&F.wni($t,re.Ei,4),2&ze){let me;F.mGM(me=F.lsd())&&(pt.templates=me)}},hostAttrs:[1,"p-element"],inputs:{appendTo:"appendTo",blockScroll:"blockScroll",style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",modal:"modal",dismissible:"dismissible",showCloseIcon:"showCloseIcon",closeOnEscape:"closeOnEscape",transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},ngContentSelectors:H,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["role","complementary",3,"ngClass","ngStyle","class","keydown",4,"ngIf"],["role","complementary",3,"keydown","ngClass","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[1,"p-sidebar-header"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[4,"ngIf"],["type","button","pRipple","",1,"p-sidebar-close","p-sidebar-icon","p-link",3,"click","keydown.enter"],[3,"styleClass",4,"ngIf"],["class","p-sidebar-close-icon",4,"ngIf"],[3,"styleClass"],[1,"p-sidebar-close-icon"],[1,"p-sidebar-footer"]],template:function(ze,pt){1&ze&&(F.NAR(),F.DNE(0,ne,5,22,"div",2)),2&ze&&F.Y8G("ngIf",pt.visible)},dependencies:()=>[v.YU,v.bT,v.T3,v.B3,A.n,L.A],styles:["@layer primeng{.p-sidebar{position:fixed;transition:transform .3s;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto;flex-grow:1}.p-sidebar-header{display:flex;align-items:center}.p-sidebar-footer{margin-top:auto}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;margin-left:auto}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;transition:none}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}@media screen and (max-width: 64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}}\n"],encapsulation:2,data:{animation:[(0,g.hZ)("panelState",[(0,g.kY)("void => visible",[(0,g.sM)(Ie)]),(0,g.kY)("visible => void",[(0,g.sM)(Ee)])])]},changeDetection:0})}return ae})(),xe=(()=>{class ae{static \u0275fac=function(ze){return new(ze||ae)};static \u0275mod=F.$C({type:ae});static \u0275inj=F.G2t({imports:[v.MD,A.Z,re.Gg,L.A,re.Gg]})}return ae})()},8542:(Ze,De,N)=>{N.d(De,{S:()=>A,m:()=>L});var g=N(177),v=N(4438),F=N(1455),re=N(4420),f=N(5779);let L=(()=>{class ${platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(k){this._disabled=k,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:(0,re._Y)()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(k,W,J,le,fe,be){this.platformId=k,this.el=W,this.zone=J,this.config=le,this.renderer=fe,this.viewContainer=be}ngAfterViewInit(){(0,g.UE)(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let k=this.getTarget(this.el.nativeElement);k.addEventListener("focus",this.focusListener),k.addEventListener("blur",this.blurListener)}})}ngOnChanges(k){k.tooltipPosition&&this.setOption({tooltipPosition:k.tooltipPosition.currentValue}),k.tooltipEvent&&this.setOption({tooltipEvent:k.tooltipEvent.currentValue}),k.appendTo&&this.setOption({appendTo:k.appendTo.currentValue}),k.positionStyle&&this.setOption({positionStyle:k.positionStyle.currentValue}),k.tooltipStyleClass&&this.setOption({tooltipStyleClass:k.tooltipStyleClass.currentValue}),k.tooltipZIndex&&this.setOption({tooltipZIndex:k.tooltipZIndex.currentValue}),k.escape&&this.setOption({escape:k.escape.currentValue}),k.showDelay&&this.setOption({showDelay:k.showDelay.currentValue}),k.hideDelay&&this.setOption({hideDelay:k.hideDelay.currentValue}),k.life&&this.setOption({life:k.life.currentValue}),k.positionTop&&this.setOption({positionTop:k.positionTop.currentValue}),k.positionLeft&&this.setOption({positionLeft:k.positionLeft.currentValue}),k.disabled&&this.setOption({disabled:k.disabled.currentValue}),k.content&&(this.setOption({tooltipLabel:k.content.currentValue}),this.active&&(k.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),k.autoHide&&this.setOption({autoHide:k.autoHide.currentValue}),k.id&&this.setOption({id:k.id.currentValue}),k.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...k.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(k){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(k){(this.isAutoHide()||!(F.D.hasClass(k.relatedTarget,"p-tooltip")||F.D.hasClass(k.relatedTarget,"p-tooltip-text")||F.D.hasClass(k.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(k){this.activate()}onBlur(k){this.deactivate()}onInputClick(k){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let k=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},k)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let k=document.createElement("div");k.className="p-tooltip-arrow",this.container.appendChild(k),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?F.D.appendChild(this.container,this.el.nativeElement):F.D.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",W=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),F.D.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?re.Q$.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&re.Q$.clear(this.container),this.remove()}updateText(){const k=this.getOption("tooltipLabel");if(k instanceof v.C4Q){const W=this.viewContainer.createEmbeddedView(k);W.detectChanges(),W.rootNodes.forEach(J=>this.tooltipText.appendChild(J))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(k))):this.tooltipText.innerHTML=k}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let k=this.el.nativeElement.getBoundingClientRect();return{left:k.left+F.D.getWindowScrollLeft(),top:k.top+F.D.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let k=this.getHostOffset(),W=k.left+F.D.getOuterWidth(this.el.nativeElement),J=k.top+(F.D.getOuterHeight(this.el.nativeElement)-F.D.getOuterHeight(this.container))/2;this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let k=this.getHostOffset(),W=k.left-F.D.getOuterWidth(this.container),J=k.top+(F.D.getOuterHeight(this.el.nativeElement)-F.D.getOuterHeight(this.container))/2;this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let k=this.getHostOffset(),W=k.left+(F.D.getOuterWidth(this.el.nativeElement)-F.D.getOuterWidth(this.container))/2,J=k.top-F.D.getOuterHeight(this.container);this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let k=this.getHostOffset(),W=k.left+(F.D.getOuterWidth(this.el.nativeElement)-F.D.getOuterWidth(this.container))/2,J=k.top+F.D.getOuterHeight(this.el.nativeElement);this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}setOption(k){this._tooltipOptions={...this._tooltipOptions,...k}}getOption(k){return this._tooltipOptions[k]}getTarget(k){return F.D.hasClass(k,"p-inputwrapper")?F.D.findSingle(k,"input"):k}preAlign(k){this.container.style.left="-999px",this.container.style.top="-999px";let W="p-tooltip p-component p-tooltip-"+k;this.container.className=this.getOption("tooltipStyleClass")?W+" "+this.getOption("tooltipStyleClass"):W}isOutOfBounds(){let k=this.container.getBoundingClientRect(),W=k.top,J=k.left,le=F.D.getOuterWidth(this.container),fe=F.D.getOuterHeight(this.container),be=F.D.getViewport();return J+le>be.width||J<0||W<0||W+fe>be.height}onWindowResize(k){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new F.b(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let k=this.getTarget(this.el.nativeElement);k.removeEventListener("focus",this.focusListener),k.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):F.D.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&re.Q$.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(W){return new(W||$)(v.rXU(v.Agw),v.rXU(v.aKT),v.rXU(v.SKi),v.rXU(f.r1),v.rXU(v.sFG),v.rXU(v.c1b))};static \u0275dir=v.FsC({type:$,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(W,J){1&W&&v.bIt("keydown.escape",function(fe){return J.onPressEscape(fe)},!1,v.EBC)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[v.Mj6.None,"pTooltip","content"],disabled:[v.Mj6.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[v.OA$]})}return $})(),A=(()=>{class ${static \u0275fac=function(W){return new(W||$)};static \u0275mod=v.$C({type:$});static \u0275inj=v.G2t({imports:[g.MD]})}return $})()},4420:(Ze,De,N)=>{N.d(De,{BF:()=>g,Q$:()=>f,_Y:()=>F});class g{static equals(A,$,H){return H?this.resolveFieldData(A,H)===this.resolveFieldData($,H):this.equalsByValue(A,$)}static equalsByValue(A,$){if(A===$)return!0;if(A&&$&&"object"==typeof A&&"object"==typeof $){var W,J,le,H=Array.isArray(A),k=Array.isArray($);if(H&&k){if((J=A.length)!=$.length)return!1;for(W=J;0!=W--;)if(!this.equalsByValue(A[W],$[W]))return!1;return!0}if(H!=k)return!1;var fe=this.isDate(A),be=this.isDate($);if(fe!=be)return!1;if(fe&&be)return A.getTime()==$.getTime();var Le=A instanceof RegExp,He=$ instanceof RegExp;if(Le!=He)return!1;if(Le&&He)return A.toString()==$.toString();var at=Object.keys(A);if((J=at.length)!==Object.keys($).length)return!1;for(W=J;0!=W--;)if(!Object.prototype.hasOwnProperty.call($,at[W]))return!1;for(W=J;0!=W--;)if(!this.equalsByValue(A[le=at[W]],$[le]))return!1;return!0}return A!=A&&$!=$}static resolveFieldData(A,$){if(A&&$){if(this.isFunction($))return $(A);if(-1==$.indexOf("."))return A[$];{let H=$.split("."),k=A;for(let W=0,J=H.length;W=A.length&&(H%=A.length,$%=A.length),A.splice(H,0,A.splice($,1)[0]))}static insertIntoOrderedArray(A,$,H,k){if(H.length>0){let W=!1;for(let J=0;J$){H.splice(J,0,A),W=!0;break}W||H.push(A)}else H.push(A)}static findIndexInList(A,$){let H=-1;if($)for(let k=0;k<$.length;k++)if($[k]==A){H=k;break}return H}static contains(A,$){if(null!=A&&$&&$.length)for(let H of $)if(this.equals(A,H))return!0;return!1}static removeAccents(A){return A&&A.search(/[\xC0-\xFF]/g)>-1&&(A=A.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),A}static isDate(A){return"[object Date]"===Object.prototype.toString.call(A)}static isEmpty(A){return null==A||""===A||Array.isArray(A)&&0===A.length||!this.isDate(A)&&"object"==typeof A&&0===Object.keys(A).length}static isNotEmpty(A){return!this.isEmpty(A)}static compare(A,$,H,k=1){let W=-1;const J=this.isEmpty(A),le=this.isEmpty($);return W=J&&le?0:J?k:le?-k:"string"==typeof A&&"string"==typeof $?A.localeCompare($,H,{numeric:!0}):A<$?-1:A>$?1:0,W}static sort(A,$,H=1,k,W=1){const J=g.compare(A,$,k,H);let le=H;return(g.isEmpty(A)||g.isEmpty($))&&(le=1===W?H:W),le*J}static merge(A,$){if(null!=A||null!=$)return null!=A&&"object"!=typeof A||null!=$&&"object"!=typeof $?null!=A&&"string"!=typeof A||null!=$&&"string"!=typeof $?$||A:[A||"",$||""].join(" "):{...A||{},...$||{}}}static isPrintableCharacter(A=""){return this.isNotEmpty(A)&&1===A.length&&A.match(/\S| /)}static getItemValue(A,...$){return this.isFunction(A)?A(...$):A}static findLastIndex(A,$){let H=-1;if(this.isNotEmpty(A))try{H=A.findLastIndex($)}catch{H=A.lastIndexOf([...A].reverse().find($))}return H}static findLast(A,$){let H;if(this.isNotEmpty(A))try{H=A.findLast($)}catch{H=[...A].reverse().find($)}return H}}var v=0;function F(L="pn_id_"){return`${L}${++v}`}var f=function re(){let L=[];const k=W=>W&&parseInt(W.style.zIndex,10)||0;return{get:k,set:(W,J,le)=>{J&&(J.style.zIndex=String(((W,J)=>{let le=L.length>0?L[L.length-1]:{key:W,value:J},fe=le.value+(le.key===W?0:J)+2;return L.push({key:W,value:fe}),fe})(W,le)))},clear:W=>{W&&((W=>{L=L.filter(J=>J.value!==W)})(k(W)),W.style.zIndex="")},getCurrent:()=>L.length>0?L[L.length-1].value:0}}()},467:(Ze,De,N)=>{function g(F,re,f,L,A,$,H){try{var k=F[$](H),W=k.value}catch(J){return void f(J)}k.done?re(W):Promise.resolve(W).then(L,A)}function v(F){return function(){var re=this,f=arguments;return new Promise(function(L,A){var $=F.apply(re,f);function H(W){g($,L,A,H,k,"next",W)}function k(W){g($,L,A,H,k,"throw",W)}H(void 0)})}}N.d(De,{A:()=>v})},1635:(Ze,De,N)=>{function J(me,Ce,Se,Me){return new(Se||(Se=Promise))(function(Fe,st){function Lt(en){try{dt(Me.next(en))}catch(_n){st(_n)}}function Ut(en){try{dt(Me.throw(en))}catch(_n){st(_n)}}function dt(en){en.done?Fe(en.value):function je(Fe){return Fe instanceof Se?Fe:new Se(function(st){st(Fe)})}(en.value).then(Lt,Ut)}dt((Me=Me.apply(me,Ce||[])).next())})}function $e(me){return this instanceof $e?(this.v=me,this):new $e(me)}function pe(me,Ce,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var je,Me=Se.apply(me,Ce||[]),Fe=[];return je={},st("next"),st("throw"),st("return"),je[Symbol.asyncIterator]=function(){return this},je;function st(Gt){Me[Gt]&&(je[Gt]=function(Ve){return new Promise(function(In,Pn){Fe.push([Gt,Ve,In,Pn])>1||Lt(Gt,Ve)})})}function Lt(Gt,Ve){try{!function Ut(Gt){Gt.value instanceof $e?Promise.resolve(Gt.value.v).then(dt,en):_n(Fe[0][2],Gt)}(Me[Gt](Ve))}catch(In){_n(Fe[0][3],In)}}function dt(Gt){Lt("next",Gt)}function en(Gt){Lt("throw",Gt)}function _n(Gt,Ve){Gt(Ve),Fe.shift(),Fe.length&&Lt(Fe[0][0],Fe[0][1])}}function se(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,Ce=me[Symbol.asyncIterator];return Ce?Ce.call(me):(me=function Le(me){var Ce="function"==typeof Symbol&&Symbol.iterator,Se=Ce&&me[Ce],Me=0;if(Se)return Se.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&Me>=me.length&&(me=void 0),{value:me&&me[Me++],done:!me}}};throw new TypeError(Ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),Se={},Me("next"),Me("throw"),Me("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Me(Fe){Se[Fe]=me[Fe]&&function(st){return new Promise(function(Lt,Ut){!function je(Fe,st,Lt,Ut){Promise.resolve(Ut).then(function(dt){Fe({value:dt,done:Lt})},st)}(Lt,Ut,(st=me[Fe](st)).done,st.value)})}}}N.d(De,{AQ:()=>pe,N3:()=>$e,sH:()=>J,xN:()=>se}),"function"==typeof SuppressedError&&SuppressedError}},Ze=>{Ze(Ze.s=1480)}]); \ No newline at end of file diff --git a/main.685526ba0563e13c.js b/main.685526ba0563e13c.js deleted file mode 100644 index d39a73b..0000000 --- a/main.685526ba0563e13c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgpw_literature=self.webpackChunkgpw_literature||[]).push([[792],{4125:(Je,Ie,F)=>{F.d(Ie,{F:()=>X});var m=F(4438),E=F(1626);let X=(()=>{class le{constructor(V){this.http=V}getSources(V,O,W,$,k){let K={type_source:V,page:O};return W&&(K.search=W),void 0!==$&&(K.cluster=$),void 0!==k&&(K.sort_active=k.active,K.sort_direction=k.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${V}`,{params:K})}getTotal(V,O,W,$){let k={type_source:V,page:0};return O&&(k.search=O),void 0!==W&&(k.cluster=W),void 0!==$&&(k.sort_active=$.active,k.sort_direction=$.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${V}`,{params:k})}getSource(V){return this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/id/${V}`)}static#e=this.\u0275fac=function(O){return new(O||le)(m.KVO(E.Qq))};static#t=this.\u0275prov=m.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})()},894:(Je,Ie,F)=>{F.d(Ie,{d:()=>X});var m=F(4412),E=F(4438);let X=(()=>{class le{constructor(){this.statusSource=new m.t({total:0,pages:0}),this.statusSource$=this.statusSource.asObservable()}setStatus(V){this.statusSource.next(V)}static#e=this.\u0275fac=function(O){return new(O||le)};static#t=this.\u0275prov=E.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})()},139:(Je,Ie,F)=>{F.d(Ie,{F:()=>V});var m=F(4412),E=F(4438),X=F(4125),le=F(894);let V=(()=>{class O{constructor($,k){this.sourceService=$,this.statusSourceService=k,this.table=new m.t([]),this._search=new m.t(void 0),this.search$=this._search.asObservable(),this.table$=this.table.asObservable(),this.type_source="all",this.page=1,this.limit=1e3,this.full=!0}setInfo($,k){this.type_source=$,this.cluster=k,this.getSourcesData(1)}applyFilter($){this.search=$,this._search.next($),this.getSourcesData(1)}getSourcesData($){this.pageIndex=$,1===$&&this.getTotal(),this.sourceService.getSources(this.type_source,$,this.search,this.cluster,this.sortState).subscribe(k=>{this.setData(k)},k=>{console.error("Erro ao obter dados da fonte:",k)})}getTotal(){this.sourceService.getTotal(this.type_source,this.search,this.cluster,this.sortState).subscribe($=>{this.statusSourceService.setStatus($),this.limit=$.total},$=>{console.error("Erro ao obter dados da fonte:",$)})}setData($){this.table.next($)}announceSortChange($){this.sortState=$,this.getSourcesData(1)}static#e=this.\u0275fac=function(k){return new(k||O)(E.KVO(X.F),E.KVO(le.d))};static#t=this.\u0275prov=E.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},6050:(Je,Ie,F)=>{var m=F(345),E=F(177),X=F(2365),le=F(5964),l=F(4438),V=F(1413);let O=(()=>{class C{constructor(){this._config={ripple:!1,inputStyle:"outlined",menuMode:"static",colorScheme:"light",theme:"green",scale:14,menuTheme:"transparent"},this.config=(0,l.vPA)(this._config),this.state={staticMenuDesktopInactive:!1,overlayMenuActive:!1,profileSidebarVisible:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,sidebarActive:!1,anchored:!1},this.configUpdate=new V.B,this.overlayOpen=new V.B,this.configUpdate$=this.configUpdate.asObservable(),this.overlayOpen$=this.overlayOpen.asObservable(),(0,l.QZP)(()=>{const a=this.config();this.updateStyle(a)&&this.changeTheme(),this.changeScale(a.scale),this.onConfigUpdate()})}updateStyle(a){return a.theme!==this._config.theme||a.colorScheme!==this._config.colorScheme}onMenuToggle(){this.isOverlay()&&(this.state.overlayMenuActive=!this.state.overlayMenuActive,this.state.overlayMenuActive&&this.overlayOpen.next(null)),this.isDesktop()?this.state.staticMenuDesktopInactive=!this.state.staticMenuDesktopInactive:(this.state.staticMenuMobileActive=!this.state.staticMenuMobileActive,this.state.staticMenuMobileActive&&this.overlayOpen.next(null))}onOverlaySubmenuOpen(){this.overlayOpen.next(null)}showProfileSidebar(){this.state.profileSidebarVisible=!0}showConfigSidebar(){this.state.configSidebarVisible=!0}isOverlay(){return"overlay"===this.config().menuMode}isDesktop(){return window.innerWidth>991}isSlim(){return"slim"===this.config().menuMode}isSlimPlus(){return"slim-plus"===this.config().menuMode}isHorizontal(){return"horizontal"===this.config().menuMode}isMobile(){return!this.isDesktop()}onConfigUpdate(){this._config={...this.config()},this.configUpdate.next(this.config())}changeTheme(){const a=this.config(),P=document.getElementById("theme-link").getAttribute("href").split("/").map(U=>U==this._config.theme?U=a.theme:U==`theme-${this._config.colorScheme}`?U=`theme-${a.colorScheme}`:U).join("/");this.replaceThemeLink(P)}replaceThemeLink(a){const g="theme-link";let b=document.getElementById(g);const P=b.cloneNode(!0);P.setAttribute("href",a),P.setAttribute("id",g+"-clone"),b.parentNode.insertBefore(P,b.nextSibling),P.addEventListener("load",()=>{b.remove(),P.setAttribute("id",g)})}changeScale(a){document.documentElement.style.fontSize=`${a}px`}static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275prov=l.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})();function W(C,d){if(1&C&&l.nrm(0,"li",4),2&C){const a=l.XpG(),b=a.index;l.Y8G("item",a.$implicit)("index",b)("root",!0)}}function $(C,d){1&C&&l.nrm(0,"li",5)}function k(C,d){if(1&C&&(l.qex(0),l.DNE(1,W,1,3,"li",2)(2,$,1,0,"li",3),l.bVm()),2&C){const a=d.$implicit;l.R7$(),l.Y8G("ngIf",!a.separator),l.R7$(),l.Y8G("ngIf",a.separator)}}let K=(()=>{class C{constructor(){this.model=[]}ngOnInit(){this.model=[{label:"HOME",icon:"pi pi-home",items:[{label:"GPW Literature",icon:"pi pi-fw pi-book",routerLink:["/"]}]},{label:"Cluster",icon:"pi pi-home",items:[{label:"GPW Literature Cluster",icon:"pi pi-fw pi-book",routerLink:["/pasture"]}]}]}static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-menu"]],decls:2,vars:1,consts:[[1,"layout-menu"],[4,"ngFor","ngForOf"],["app-menuitem","",3,"item","index","root",4,"ngIf"],["class","menu-separator",4,"ngIf"],["app-menuitem","",3,"item","index","root"],[1,"menu-separator"]],template:function(g,b){1&g&&(l.j41(0,"ul",0),l.DNE(1,k,3,2,"ng-container",1),l.k0s()),2&g&&(l.R7$(),l.Y8G("ngForOf",b.model))},encapsulation:2})}return C})();const ue=["menuContainer"],Re=()=>["/"];let we=(()=>{class C{constructor(a,g){this.layoutService=a,this.el=g,this.timeout=null}onMouseEnter(){this.layoutService.state.anchored||(this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.layoutService.state.sidebarActive=!0)}onMouseLeave(){this.layoutService.state.anchored||this.timeout||(this.timeout=setTimeout(()=>this.layoutService.state.sidebarActive=!1,300))}anchor(){this.layoutService.state.anchored=!this.layoutService.state.anchored}static#e=this.\u0275fac=function(g){return new(g||C)(l.rXU(O),l.rXU(l.aKT))};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-sidebar"]],viewQuery:function(g,b){if(1&g&&l.GBs(ue,5),2&g){let P;l.mGM(P=l.lsd())&&(b.menuContainer=P.first)}},decls:9,vars:2,consts:[["menuContainer",""],[1,"layout-sidebar",3,"mouseenter","mouseleave"],[1,"sidebar-header"],[1,"app-logo",3,"routerLink"],["src","assets/layout/images/logo2.png",1,"app-logo-small"],["src","assets/layout/images/logo2.png",1,"app-logo-normal"],["type","button",1,"layout-sidebar-anchor","p-link","z-2","mb-2",3,"click"],[1,"layout-menu-container"]],template:function(g,b){if(1&g){const P=l.RV6();l.j41(0,"div",1),l.bIt("mouseenter",function(){return l.eBV(P),l.Njj(b.onMouseEnter())})("mouseleave",function(){return l.eBV(P),l.Njj(b.onMouseLeave())}),l.j41(1,"div",2)(2,"a",3),l.nrm(3,"img",4)(4,"img",5),l.k0s(),l.j41(5,"button",6),l.bIt("click",function(){return l.eBV(P),l.Njj(b.anchor())}),l.k0s()(),l.j41(6,"div",7,0),l.nrm(8,"app-menu"),l.k0s()()}2&g&&(l.R7$(2),l.Y8G("routerLink",l.lJ4(1,Re)))},dependencies:[X.Wk,K],encapsulation:2})}return C})();var je=F(894),nt=F(139),ot=F(2242),pt=F(1141),zt=F(4412);function Bt(C,d){1&C&&(l.j41(0,"li",3),l.EFF(1," / "),l.k0s())}function Le(C,d){if(1&C&&(l.j41(0,"li"),l.EFF(1),l.k0s(),l.DNE(2,Bt,2,0,"li",2)),2&C){const a=d.$implicit,g=d.last;l.R7$(),l.JRh(a.label),l.R7$(),l.Y8G("ngIf",!g)}}let de=(()=>{class C{constructor(a){this.router=a,this._breadcrumbs$=new zt.t([]),this.breadcrumbs$=this._breadcrumbs$.asObservable(),this.router.events.pipe((0,le.p)(g=>g instanceof X.wF)).subscribe(g=>{const P=[];this.addBreadcrumb(this.router.routerState.snapshot.root,[],P),this._breadcrumbs$.next(P)})}addBreadcrumb(a,g,b){const P=g.concat(a.url.map(fe=>fe.path)),U=a.data.breadcrumb;U&&U!==(a.parent&&a.parent.data?a.parent.data.breadcrumb:null)&&b.push({label:a.data.breadcrumb,url:"/"+P.join("/")}),a.firstChild&&this.addBreadcrumb(a.firstChild,P,b)}static#e=this.\u0275fac=function(g){return new(g||C)(l.rXU(X.Ix))};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-breadcrumb"]],decls:4,vars:3,consts:[[1,"layout-breadcrumb"],["ngFor","",3,"ngForOf"],["class","layout-breadcrumb-chevron",4,"ngIf"],[1,"layout-breadcrumb-chevron"]],template:function(g,b){1&g&&(l.j41(0,"nav",0)(1,"ol"),l.DNE(2,Le,3,2,"ng-template",1),l.nI1(3,"async"),l.k0s()()),2&g&&(l.R7$(2),l.Y8G("ngForOf",l.bMT(3,1,b.breadcrumbs$)))},dependencies:[E.Sq,E.bT,E.Jj],encapsulation:2})}return C})();const qe=["menubutton"];let ie=(()=>{class C{constructor(a,g,b){this.layoutService=a,this.statusSource=g,this.tableService=b}ngOnInit(){this.statusSource.statusSource$.subscribe(a=>{this.statisSource=a})}onMenuButtonClick(){this.layoutService.onMenuToggle()}onProfileButtonClick(){this.layoutService.showProfileSidebar()}onConfigButtonClick(){this.layoutService.showConfigSidebar()}applyFilter(a){console.log("CLiquei no bot\xe3o"),this.tableService.applyFilter(a)}static#e=this.\u0275fac=function(g){return new(g||C)(l.rXU(O),l.rXU(je.d),l.rXU(nt.F))};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-topbar"]],viewQuery:function(g,b){if(1&g&&l.GBs(qe,5),2&g){let P;l.mGM(P=l.lsd())&&(b.menuButton=P.first)}},decls:15,vars:0,consts:[["menubutton",""],["serach",""],[1,"layout-topbar"],[1,"topbar-start"],["type","button",1,"topbar-menubutton","p-link","p-trigger",3,"click"],[1,"pi","pi-bars"],[1,"topbar-breadcrumb"],[1,"topbar-end"],[1,"topbar-menu"],[1,"topbar-search"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search",1,"w-12rem","sm:w-full"],[1,"ml-3"],["pButton","","type","button","icon","pi pi-search",1,"p-button-text","p-button-secondary","p-button-rounded","flex-shrinkcog-0",3,"click"]],template:function(g,b){if(1&g){const P=l.RV6();l.j41(0,"div",2)(1,"div",3)(2,"button",4,0),l.bIt("click",function(){return l.eBV(P),l.Njj(b.onMenuButtonClick())}),l.nrm(4,"i",5),l.k0s(),l.nrm(5,"app-breadcrumb",6),l.k0s(),l.j41(6,"div",7)(7,"ul",8)(8,"li",9)(9,"span",10),l.nrm(10,"i",11)(11,"input",12,1),l.k0s()(),l.j41(13,"li",13)(14,"button",14),l.bIt("click",function(){l.eBV(P);const H=l.sdS(12);return l.Njj(b.applyFilter(H.value))}),l.k0s()()()()()}},dependencies:[ot.S,pt._f,de],encapsulation:2})}return C})(),ee=(()=>{class C{constructor(){this.menuSource=new V.B,this.resetSource=new V.B,this.menuSource$=this.menuSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onMenuStateChange(a){this.menuSource.next(a)}reset(){this.resetSource.next(!0)}static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275prov=l.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})();var ne=F(9969),ve=F(5779),Y=F(1455),Oe=F(1512),Ee=F(563),rt=F(4420);const _t=["*"],Ht=(C,d,a,g,b,P)=>({"p-sidebar":!0,"p-sidebar-active":C,"p-sidebar-left":d,"p-sidebar-right":a,"p-sidebar-top":g,"p-sidebar-bottom":b,"p-sidebar-full":P}),qt=(C,d)=>({transform:C,transition:d}),hr=C=>({value:"visible",params:C});function he(C,d){1&C&&l.eu8(0)}function ge(C,d){if(1&C&&(l.qex(0),l.DNE(1,he,1,0,"ng-container",5),l.bVm()),2&C){const a=l.XpG(2);l.R7$(),l.Y8G("ngTemplateOutlet",a.headlessTemplate)}}function ye(C,d){1&C&&l.eu8(0)}function Ce(C,d){1&C&&l.nrm(0,"TimesIcon",13),2&C&&(l.Y8G("styleClass","p-sidebar-close-icon"),l.BMQ("data-pc-section","closeicon"))}function Fe(C,d){}function Pe(C,d){1&C&&l.DNE(0,Fe,0,0,"ng-template")}function Ze(C,d){if(1&C&&(l.j41(0,"span",14),l.DNE(1,Pe,1,0,null,5),l.k0s()),2&C){const a=l.XpG(4);l.BMQ("data-pc-section","closeicon"),l.R7$(),l.Y8G("ngTemplateOutlet",a.closeIconTemplate)}}function Rt(C,d){if(1&C){const a=l.RV6();l.j41(0,"button",10),l.bIt("click",function(b){l.eBV(a);const P=l.XpG(3);return l.Njj(P.close(b))})("keydown.enter",function(b){l.eBV(a);const P=l.XpG(3);return l.Njj(P.close(b))}),l.DNE(1,Ce,1,2,"TimesIcon",11)(2,Ze,2,2,"span",12),l.k0s()}if(2&C){const a=l.XpG(3);l.BMQ("aria-label",a.ariaCloseLabel)("data-pc-section","closebutton")("data-pc-group-section","iconcontainer"),l.R7$(),l.Y8G("ngIf",!a.closeIconTemplate),l.R7$(),l.Y8G("ngIf",a.closeIconTemplate)}}function yn(C,d){1&C&&l.eu8(0)}function ut(C,d){1&C&&l.eu8(0)}function kt(C,d){if(1&C&&(l.qex(0),l.j41(1,"div",15),l.DNE(2,ut,1,0,"ng-container",5),l.k0s(),l.bVm()),2&C){const a=l.XpG(3);l.R7$(),l.BMQ("data-pc-section","footer"),l.R7$(),l.Y8G("ngTemplateOutlet",a.footerTemplate)}}function nn(C,d){if(1&C&&(l.j41(0,"div",6),l.DNE(1,ye,1,0,"ng-container",5)(2,Rt,3,5,"button",7),l.k0s(),l.j41(3,"div",8),l.SdG(4),l.DNE(5,yn,1,0,"ng-container",5),l.k0s(),l.DNE(6,kt,3,2,"ng-container",9)),2&C){const a=l.XpG(2);l.BMQ("data-pc-section","header"),l.R7$(),l.Y8G("ngTemplateOutlet",a.headerTemplate),l.R7$(),l.Y8G("ngIf",a.showCloseIcon),l.R7$(),l.BMQ("data-pc-section","content"),l.R7$(2),l.Y8G("ngTemplateOutlet",a.contentTemplate),l.R7$(),l.Y8G("ngIf",a.footerTemplate)}}function Et(C,d){if(1&C){const a=l.RV6();l.j41(0,"div",3,0),l.bIt("@panelState.start",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.onAnimationStart(b))})("@panelState.done",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.onAnimationEnd(b))})("keydown",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.onKeyDown(b))}),l.DNE(2,ge,2,1,"ng-container",4)(3,nn,7,6,"ng-template",null,1,l.C5r),l.k0s()}if(2&C){const a=l.sdS(4),g=l.XpG();l.HbH(g.styleClass),l.Y8G("ngClass",l.l4e(10,Ht,g.visible,"left"===g.position&&!g.fullScreen,"right"===g.position&&!g.fullScreen,"top"===g.position&&!g.fullScreen,"bottom"===g.position&&!g.fullScreen,g.fullScreen))("@panelState",l.eq3(20,hr,l.l_i(17,qt,g.transformOptions,g.transitionOptions)))("ngStyle",g.style),l.BMQ("data-pc-name","sidebar")("data-pc-section","root")("aria-modal",g.modal),l.R7$(2),l.Y8G("ngIf",g.headlessTemplate)("ngIfElse",a)}}const pn=(0,ne.lY)([(0,ne.iF)({transform:"{{transform}}",opacity:0}),(0,ne.i0)("{{transition}}")]),Mn=(0,ne.lY)([(0,ne.i0)("{{transition}}",(0,ne.iF)({transform:"{{transform}}",opacity:0}))]);let Jn=(()=>{class C{document;el;renderer;cd;config;appendTo;blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible}set visible(a){this._visible=a}get position(){return this._position}set position(a){switch(this._position=a,a){case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)"}}get fullScreen(){return this._fullScreen}set fullScreen(a){this._fullScreen=a,a&&(this.transformOptions="none")}templates;onShow=new l.bkB;onHide=new l.bkB;visibleChange=new l.bkB;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;headlessTemplate;constructor(a,g,b,P,U){this.document=a,this.el=g,this.renderer=b,this.cd=P,this.config=U}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(a=>{switch(a.getType()){case"content":default:this.contentTemplate=a.template;break;case"header":this.headerTemplate=a.template;break;case"footer":this.footerTemplate=a.template;break;case"closeicon":this.closeIconTemplate=a.template;break;case"headless":this.headlessTemplate=a.template}})}onKeyDown(a){"Escape"===a.code&&this.hide(!1)}show(){this.autoZIndex&&rt.Q$.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(a=!0){a&&this.onHide.emit({}),this.modal&&this.disableModality()}close(a){this.hide(!1),this.visibleChange.emit(!1),a.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),Y.D.addMultipleClasses(this.mask,"p-component-overlay p-sidebar-mask p-component-overlay p-component-overlay-enter"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",a=>{this.dismissible&&this.close(a)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&Y.D.blockBodyScroll())}disableModality(){this.mask&&(Y.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&Y.D.unblockBodyScroll(),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(a){"visible"===a.toState&&(this.container=a.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(a){"void"===a.toState&&(this.hide(),rt.Q$.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):Y.D.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",g=>{27==g.which&&parseInt(this.container.style.zIndex)===rt.Q$.get(this.container)&&this.close(g)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.appendTo&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&rt.Q$.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(g){return new(g||C)(l.rXU(E.qQ),l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(l.gRc),l.rXU(ve.r1))};static \u0275cmp=l.VBU({type:C,selectors:[["p-sidebar"]],contentQueries:function(g,b,P){if(1&g&&l.wni(P,ve.Ei,4),2&g){let U;l.mGM(U=l.lsd())&&(b.templates=U)}},hostAttrs:[1,"p-element"],inputs:{appendTo:"appendTo",blockScroll:"blockScroll",style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",modal:"modal",dismissible:"dismissible",showCloseIcon:"showCloseIcon",closeOnEscape:"closeOnEscape",transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},ngContentSelectors:_t,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["role","complementary",3,"ngClass","ngStyle","class","keydown",4,"ngIf"],["role","complementary",3,"keydown","ngClass","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[1,"p-sidebar-header"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[4,"ngIf"],["type","button","pRipple","",1,"p-sidebar-close","p-sidebar-icon","p-link",3,"click","keydown.enter"],[3,"styleClass",4,"ngIf"],["class","p-sidebar-close-icon",4,"ngIf"],[3,"styleClass"],[1,"p-sidebar-close-icon"],[1,"p-sidebar-footer"]],template:function(g,b){1&g&&(l.NAR(),l.DNE(0,Et,5,22,"div",2)),2&g&&l.Y8G("ngIf",b.visible)},dependencies:()=>[E.YU,E.bT,E.T3,E.B3,Ee.n,Oe.A],styles:["@layer primeng{.p-sidebar{position:fixed;transition:transform .3s;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto;flex-grow:1}.p-sidebar-header{display:flex;align-items:center}.p-sidebar-footer{margin-top:auto}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;margin-left:auto}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;transition:none}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}@media screen and (max-width: 64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}}\n"],encapsulation:2,data:{animation:[(0,ne.hZ)("panelState",[(0,ne.kY)("void => visible",[(0,ne.sM)(pn)]),(0,ne.kY)("visible => void",[(0,ne.sM)(Mn)])])]},changeDetection:0})}return C})(),tn=(()=>{class C{static \u0275fac=function(g){return new(g||C)};static \u0275mod=l.$C({type:C});static \u0275inj=l.G2t({imports:[E.MD,Ee.Z,ve.Gg,Oe.A,ve.Gg]})}return C})();var er=F(6150);let Ge=(()=>{class C{constructor(a){this.layoutService=a}get visible(){return this.layoutService.state.profileSidebarVisible}set visible(a){this.layoutService.state.profileSidebarVisible=a}static#e=this.\u0275fac=function(g){return new(g||C)(l.rXU(O))};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-profilemenu"]],decls:112,vars:2,consts:[["position","right","styleClass","layout-profile-sidebar w-full sm:w-25rem",3,"visibleChange","visible","transitionOptions"],[1,"flex","flex-column","mx-auto","md:mx-0"],[1,"mb-2","font-semibold"],[1,"text-color-secondary","font-medium","mb-5"],[1,"list-none","m-0","p-0"],[1,"cursor-pointer","flex","surface-border","mb-3","p-3","align-items-center","border-1","surface-border","border-round","hover:surface-hover","transition-colors","transition-duration-150"],[1,"pi","pi-user","text-xl","text-primary"],[1,"ml-3"],[1,"text-color-secondary","m-0"],[1,"pi","pi-cog","text-xl","text-primary"],[1,"pi","pi-power-off","text-xl","text-primary"],[1,"flex","flex-column","mt-5","mx-auto","md:mx-0"],[1,"pi","pi-comment","text-xl","text-primary"],[1,"pi","pi-trash","text-xl","text-primary"],[1,"pi","pi-folder","text-xl","text-primary"],["src","assets/demo/images/avatar/circle/avatar-m-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","3",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","1",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-4.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","2",1,"ml-auto"]],template:function(g,b){1&g&&(l.j41(0,"p-sidebar",0),l.mxI("visibleChange",function(U){return l.DH7(b.visible,U)||(b.visible=U),U}),l.j41(1,"div",1)(2,"span",2),l.EFF(3,"Welcome"),l.k0s(),l.j41(4,"span",3),l.EFF(5,"Isabella Andolini"),l.k0s(),l.j41(6,"ul",4)(7,"li")(8,"a",5)(9,"span"),l.nrm(10,"i",6),l.k0s(),l.j41(11,"div",7)(12,"span",2),l.EFF(13,"Profile"),l.k0s(),l.j41(14,"p",8),l.EFF(15,"Lorem ipsum date visale"),l.k0s()()()(),l.j41(16,"li")(17,"a",5)(18,"span"),l.nrm(19,"i",6),l.k0s(),l.j41(20,"div",7)(21,"span",2),l.EFF(22,"Billing"),l.k0s(),l.j41(23,"p",8),l.EFF(24,"Amet mimin m\u0131ollit"),l.k0s()()()(),l.j41(25,"li")(26,"a",5)(27,"span"),l.nrm(28,"i",9),l.k0s(),l.j41(29,"div",7)(30,"span",2),l.EFF(31,"Settings"),l.k0s(),l.j41(32,"p",8),l.EFF(33,"Exercitation veniam"),l.k0s()()()(),l.j41(34,"li")(35,"a",5)(36,"span"),l.nrm(37,"i",10),l.k0s(),l.j41(38,"div",7)(39,"span",2),l.EFF(40,"Sign Out"),l.k0s(),l.j41(41,"p",8),l.EFF(42,"Sed ut perspiciatis"),l.k0s()()()()()(),l.j41(43,"div",11)(44,"span",2),l.EFF(45,"Notifications"),l.k0s(),l.j41(46,"span",3),l.EFF(47,"You have 3 notifications"),l.k0s(),l.j41(48,"ul",4)(49,"li")(50,"a",5)(51,"span"),l.nrm(52,"i",12),l.k0s(),l.j41(53,"div",7)(54,"span",2),l.EFF(55,"Your post has new comments"),l.k0s(),l.j41(56,"p",8),l.EFF(57,"5 min ago"),l.k0s()()()(),l.j41(58,"li")(59,"a",5)(60,"span"),l.nrm(61,"i",13),l.k0s(),l.j41(62,"div",7)(63,"span",2),l.EFF(64,"Your post has been deleted"),l.k0s(),l.j41(65,"p",8),l.EFF(66,"15min ago"),l.k0s()()()(),l.j41(67,"li")(68,"a",5)(69,"span"),l.nrm(70,"i",14),l.k0s(),l.j41(71,"div",7)(72,"span",2),l.EFF(73,"Post has been updated"),l.k0s(),l.j41(74,"p",8),l.EFF(75,"3h ago"),l.k0s()()()()()(),l.j41(76,"div",11)(77,"span",2),l.EFF(78,"Messages"),l.k0s(),l.j41(79,"span",3),l.EFF(80,"You have new messages"),l.k0s(),l.j41(81,"ul",4)(82,"li")(83,"a",5)(84,"span"),l.nrm(85,"img",15),l.k0s(),l.j41(86,"div",7)(87,"span",2),l.EFF(88,"James Robinson"),l.k0s(),l.j41(89,"p",8),l.EFF(90,"10 min ago"),l.k0s()(),l.nrm(91,"p-badge",16),l.k0s()(),l.j41(92,"li")(93,"a",5)(94,"span"),l.nrm(95,"img",17),l.k0s(),l.j41(96,"div",7)(97,"span",2),l.EFF(98,"Mary Watson"),l.k0s(),l.j41(99,"p",8),l.EFF(100,"15min ago"),l.k0s()(),l.nrm(101,"p-badge",18),l.k0s()(),l.j41(102,"li")(103,"a",5)(104,"span"),l.nrm(105,"img",19),l.k0s(),l.j41(106,"div",7)(107,"span",2),l.EFF(108,"Aisha Webb"),l.k0s(),l.j41(109,"p",8),l.EFF(110,"3h ago"),l.k0s()(),l.nrm(111,"p-badge",20),l.k0s()()()()()),2&g&&(l.R50("visible",b.visible),l.Y8G("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)"))},dependencies:[Jn,er.Ex],encapsulation:2})}return C})();const Kn={anchorScrolling:"enabled"},ci=[{path:"",component:(()=>{class C{constructor(a,g,b,P){this.menuService=a,this.layoutService=g,this.renderer=b,this.router=P,this.overlayMenuOpenSubscription=this.layoutService.overlayOpen$.subscribe(()=>{this.menuOutsideClickListener||(this.menuOutsideClickListener=this.renderer.listen("document","click",U=>{!(this.appSidebar.el.nativeElement.isSameNode(U.target)||this.appSidebar.el.nativeElement.contains(U.target)||this.appTopbar.menuButton.nativeElement.isSameNode(U.target)||this.appTopbar.menuButton.nativeElement.contains(U.target))&&this.hideMenu()})),(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&!this.menuScrollListener&&(this.menuScrollListener=this.renderer.listen(this.appSidebar.menuContainer.nativeElement,"scroll",U=>{this.layoutService.isDesktop()&&this.hideMenu()})),this.layoutService.state.staticMenuMobileActive&&this.blockBodyScroll()}),this.router.events.pipe((0,le.p)(U=>U instanceof X.wF)).subscribe(()=>{this.hideMenu()})}blockBodyScroll(){document.body.classList?document.body.classList.add("blocked-scroll"):document.body.className+=" blocked-scroll"}unblockBodyScroll(){document.body.classList?document.body.classList.remove("blocked-scroll"):document.body.className=document.body.className.replace(new RegExp("(^|\\b)"+"blocked-scroll".split(" ").join("|")+"(\\b|$)","gi")," ")}hideMenu(){this.layoutService.state.overlayMenuActive=!1,this.layoutService.state.staticMenuMobileActive=!1,this.layoutService.state.menuHoverActive=!1,this.menuService.reset(),this.menuOutsideClickListener&&(this.menuOutsideClickListener(),this.menuOutsideClickListener=null),this.menuScrollListener&&(this.menuScrollListener(),this.menuScrollListener=null),this.unblockBodyScroll()}get containerClass(){return{"layout-light":"light"===this.layoutService.config().colorScheme,"layout-dim":"dim"===this.layoutService.config().colorScheme,"layout-dark":"dark"===this.layoutService.config().colorScheme,"layout-colorscheme-menu":"colorScheme"===this.layoutService.config().menuTheme,"layout-primarycolor-menu":"primaryColor"===this.layoutService.config().menuTheme,"layout-transparent-menu":"transparent"===this.layoutService.config().menuTheme,"layout-overlay":"overlay"===this.layoutService.config().menuMode,"layout-static":"static"===this.layoutService.config().menuMode,"layout-slim":"slim"===this.layoutService.config().menuMode,"layout-slim-plus":"slim-plus"===this.layoutService.config().menuMode,"layout-horizontal":"horizontal"===this.layoutService.config().menuMode,"layout-reveal":"reveal"===this.layoutService.config().menuMode,"layout-drawer":"drawer"===this.layoutService.config().menuMode,"layout-static-inactive":this.layoutService.state.staticMenuDesktopInactive&&"static"===this.layoutService.config().menuMode,"layout-overlay-active":this.layoutService.state.overlayMenuActive,"layout-mobile-active":this.layoutService.state.staticMenuMobileActive,"p-input-filled":"filled"===this.layoutService.config().inputStyle,"p-ripple-disabled":!this.layoutService.config().ripple,"layout-sidebar-active":this.layoutService.state.sidebarActive,"layout-sidebar-anchored":this.layoutService.state.anchored}}ngOnDestroy(){this.overlayMenuOpenSubscription&&this.overlayMenuOpenSubscription.unsubscribe(),this.menuOutsideClickListener&&this.menuOutsideClickListener()}static#e=this.\u0275fac=function(g){return new(g||C)(l.rXU(ee),l.rXU(O),l.rXU(l.sFG),l.rXU(X.Ix))};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-layout"]],viewQuery:function(g,b){if(1&g&&(l.GBs(we,5),l.GBs(ie,5)),2&g){let P;l.mGM(P=l.lsd())&&(b.appSidebar=P.first),l.mGM(P=l.lsd())&&(b.appTopbar=P.first)}},decls:9,vars:1,consts:[[1,"layout-container",3,"ngClass"],[1,"layout-content-wrapper"],[1,"content-breadcrumb"],[1,"layout-content"],[1,"layout-mask"]],template:function(g,b){1&g&&(l.j41(0,"div",0),l.nrm(1,"app-sidebar"),l.j41(2,"div",1),l.nrm(3,"app-topbar")(4,"app-breadcrumb",2),l.j41(5,"div",3),l.nrm(6,"router-outlet"),l.k0s()(),l.nrm(7,"app-profilemenu")(8,"div",4),l.k0s()),2&g&&l.Y8G("ngClass",b.containerClass)},dependencies:[E.YU,X.n3,de,we,ie,Ge],encapsulation:2})}return C})(),children:[{path:"",loadChildren:()=>F.e(562).then(F.bind(F,8562)).then(C=>C.HomeModule)}]},{path:"notfound",loadChildren:()=>F.e(811).then(F.bind(F,6811)).then(C=>C.NotfoundModule)},{path:"**",redirectTo:"/notfound"}];let qi=(()=>{class C{static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275mod=l.$C({type:C});static#n=this.\u0275inj=l.G2t({imports:[X.iI.forRoot(ci,Kn),X.iI]})}return C})(),Mt=(()=>{class C{constructor(a){this.primengConfig=a}ngOnInit(){this.primengConfig.ripple=!0}static#e=this.\u0275fac=function(g){return new(g||C)(l.rXU(ve.r1))};static#t=this.\u0275cmp=l.VBU({type:C,selectors:[["app-root"]],decls:1,vars:0,template:function(g,b){1&g&&l.nrm(0,"router-outlet")},dependencies:[X.n3],encapsulation:2})}return C})();var Cn=F(4341),It=F(1626);function pr(C){return new l.wOt(3e3,!1)}function Hn(C){switch(C.length){case 0:return new ne.sf;case 1:return C[0];default:return new ne.ui(C)}}function Ut(C,d,a=new Map,g=new Map){const b=[],P=[];let U=-1,H=null;if(d.forEach(fe=>{const De=fe.get("offset"),He=De==U,We=He&&H||new Map;fe.forEach(($t,yt)=>{let dt=yt,vt=$t;if("offset"!==yt)switch(dt=C.normalizePropertyName(dt,b),vt){case ne.FX:vt=a.get(yt);break;case ne.kp:vt=g.get(yt);break;default:vt=C.normalizeStyleValue(yt,dt,vt,b)}We.set(dt,vt)}),He||P.push(We),H=We,U=De}),b.length)throw function dn(C){return new l.wOt(3502,!1)}();return P}function di(C,d,a,g){switch(d){case"start":C.onStart(()=>g(a&&ei(a,"start",C)));break;case"done":C.onDone(()=>g(a&&ei(a,"done",C)));break;case"destroy":C.onDestroy(()=>g(a&&ei(a,"destroy",C)))}}function ei(C,d,a){const P=Rr(C.element,C.triggerName,C.fromState,C.toState,d||C.phaseName,a.totalTime??C.totalTime,!!a.disabled),U=C._data;return null!=U&&(P._data=U),P}function Rr(C,d,a,g,b="",P=0,U){return{element:C,triggerName:d,fromState:a,toState:g,phaseName:b,totalTime:P,disabled:!!U}}function On(C,d,a){let g=C.get(d);return g||C.set(d,g=a),g}function fi(C){const d=C.indexOf(":");return[C.substring(1,d),C.slice(d+1)]}const ds=typeof document>"u"?null:document.documentElement;function zr(C){const d=C.parentNode||C.host||null;return d===ds?null:d}let Q=null,q=!1;function Be(C,d){for(;d;){if(d===C)return!0;d=zr(d)}return!1}function mt(C,d,a){if(a)return Array.from(C.querySelectorAll(d));const g=C.querySelector(d);return g?[g]:[]}let Zt=(()=>{class C{validateStyleProperty(a){return function be(C){Q||(Q=function Ve(){return typeof document<"u"?document.body:null}()||{},q=!!Q.style&&"WebkitAppearance"in Q.style);let d=!0;return Q.style&&!function B(C){return"ebkit"==C.substring(1,6)}(C)&&(d=C in Q.style,!d&&q&&(d="Webkit"+C.charAt(0).toUpperCase()+C.slice(1)in Q.style)),d}(a)}matchesElement(a,g){return!1}containsElement(a,g){return Be(a,g)}getParentElement(a){return zr(a)}query(a,g,b){return mt(a,g,b)}computeStyle(a,g,b){return b||""}animate(a,g,b,P,U,H=[],fe){return new ne.sf(b,P)}static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275prov=l.jDH({token:C,factory:C.\u0275fac})}return C})();class _n{static#e=this.NOOP=new Zt}class jt{}const wr=1e3,xt="ng-enter",sn="ng-leave",cr="ng-trigger",on=".ng-trigger",sr="ng-animating",gr=".ng-animating";function Rn(C){if("number"==typeof C)return C;const d=C.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:lt(parseFloat(d[1]),d[2])}function lt(C,d){return"s"===d?C*wr:C}function ze(C,d,a){return C.hasOwnProperty("duration")?C:function hi(C,d,a){let b,P=0,U="";if("string"==typeof C){const H=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===H)return d.push(pr()),{duration:0,delay:0,easing:""};b=lt(parseFloat(H[1]),H[2]);const fe=H[3];null!=fe&&(P=lt(parseFloat(fe),H[4]));const De=H[5];De&&(U=De)}else b=C;if(!a){let H=!1,fe=d.length;b<0&&(d.push(function br(){return new l.wOt(3100,!1)}()),H=!0),P<0&&(d.push(function un(){return new l.wOt(3101,!1)}()),H=!0),H&&d.splice(fe,0,pr())}return{duration:b,delay:P,easing:U}}(C,d,a)}function Dn(C,d,a){d.forEach((g,b)=>{const P=eo(b);a&&!a.has(b)&&a.set(b,C.style[P]),C.style[P]=g})}function jr(C,d){d.forEach((a,g)=>{const b=eo(g);C.style[b]=""})}function yr(C){return Array.isArray(C)?1==C.length?C[0]:(0,ne.K2)(C):C}const ti=new RegExp("{{\\s*(.+?)\\s*}}","g");function Yi(C){let d=[];if("string"==typeof C){let a;for(;a=ti.exec(C);)d.push(a[1]);ti.lastIndex=0}return d}function Ln(C,d,a){const g=`${C}`,b=g.replace(ti,(P,U)=>{let H=d[U];return null==H&&(a.push(function jn(C){return new l.wOt(3003,!1)}()),H=""),H.toString()});return b==g?C:b}const Ns=/-+([a-z0-9])/g;function eo(C){return C.replace(Ns,(...d)=>d[1].toUpperCase())}function qn(C,d,a){switch(d.type){case ne.If.Trigger:return C.visitTrigger(d,a);case ne.If.State:return C.visitState(d,a);case ne.If.Transition:return C.visitTransition(d,a);case ne.If.Sequence:return C.visitSequence(d,a);case ne.If.Group:return C.visitGroup(d,a);case ne.If.Animate:return C.visitAnimate(d,a);case ne.If.Keyframes:return C.visitKeyframes(d,a);case ne.If.Style:return C.visitStyle(d,a);case ne.If.Reference:return C.visitReference(d,a);case ne.If.AnimateChild:return C.visitAnimateChild(d,a);case ne.If.AnimateRef:return C.visitAnimateRef(d,a);case ne.If.Query:return C.visitQuery(d,a);case ne.If.Stagger:return C.visitStagger(d,a);default:throw function cs(C){return new l.wOt(3004,!1)}()}}function Zi(C,d){return window.getComputedStyle(C)[d]}const to=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class hs extends jt{normalizePropertyName(d,a){return eo(d)}normalizeStyleValue(d,a,g,b){let P="";const U=g.toString().trim();if(to.has(a)&&0!==g&&"0"!==g)if("number"==typeof g)P="px";else{const H=g.match(/^[+-]?[\d\.]+([a-z]*)$/);H&&0==H[1].length&&b.push(function ct(C,d){return new l.wOt(3005,!1)}())}return U+P}}const Qr="*";const ur=new Set(["true","1"]),Mi=new Set(["false","0"]);function Li(C,d){const a=ur.has(C)||Mi.has(C),g=ur.has(d)||Mi.has(d);return(b,P)=>{let U=C==Qr||C==b,H=d==Qr||d==P;return!U&&a&&"boolean"==typeof b&&(U=b?ur.has(C):Mi.has(C)),!H&&g&&"boolean"==typeof P&&(H=P?ur.has(d):Mi.has(d)),U&&H}}const pi=new RegExp("s*:selfs*,?","g");function Hr(C,d,a,g){return new gs(C).build(d,a,g)}class gs{constructor(d){this._driver=d}build(d,a,g){const b=new ts(a);return this._resetContextStyleTimingState(b),qn(this,yr(d),b)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,a){let g=a.queryCount=0,b=a.depCount=0;const P=[],U=[];return"@"==d.name.charAt(0)&&a.errors.push(function Jr(){return new l.wOt(3006,!1)}()),d.definitions.forEach(H=>{if(this._resetContextStyleTimingState(a),H.type==ne.If.State){const fe=H,De=fe.name;De.toString().split(/\s*,\s*/).forEach(He=>{fe.name=He,P.push(this.visitState(fe,a))}),fe.name=De}else if(H.type==ne.If.Transition){const fe=this.visitTransition(H,a);g+=fe.queryCount,b+=fe.depCount,U.push(fe)}else a.errors.push(function Gt(){return new l.wOt(3007,!1)}())}),{type:ne.If.Trigger,name:d.name,states:P,transitions:U,queryCount:g,depCount:b,options:null}}visitState(d,a){const g=this.visitStyle(d.styles,a),b=d.options&&d.options.params||null;if(g.containsDynamicStyles){const P=new Set,U=b||{};g.styles.forEach(H=>{H instanceof Map&&H.forEach(fe=>{Yi(fe).forEach(De=>{U.hasOwnProperty(De)||P.add(De)})})}),P.size&&a.errors.push(function Wt(C,d){return new l.wOt(3008,!1)}(0,P.values()))}return{type:ne.If.State,name:d.name,style:g,options:b?{params:b}:null}}visitTransition(d,a){a.queryCount=0,a.depCount=0;const g=qn(this,yr(d.animation),a),b=function gt(C,d){const a=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(g=>function Ii(C,d,a){if(":"==C[0]){const fe=function Sr(C,d){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,g)=>parseFloat(g)>parseFloat(a);case":decrement":return(a,g)=>parseFloat(g) *"}}(C,a);if("function"==typeof fe)return void d.push(fe);C=fe}const g=C.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return a.push(function ae(C){return new l.wOt(3015,!1)}()),d;const b=g[1],P=g[2],U=g[3];d.push(Li(b,U)),"<"==P[0]&&(b!=Qr||U!=Qr)&&d.push(Li(U,b))}(g,a,d)):a.push(C),a}(d.expr,a.errors);return{type:ne.If.Transition,matchers:b,animation:g,queryCount:a.queryCount,depCount:a.depCount,options:$r(d.options)}}visitSequence(d,a){return{type:ne.If.Sequence,steps:d.steps.map(g=>qn(this,g,a)),options:$r(d.options)}}visitGroup(d,a){const g=a.currentTime;let b=0;const P=d.steps.map(U=>{a.currentTime=g;const H=qn(this,U,a);return b=Math.max(b,a.currentTime),H});return a.currentTime=b,{type:ne.If.Group,steps:P,options:$r(d.options)}}visitAnimate(d,a){const g=function vr(C,d){if(C.hasOwnProperty("duration"))return C;if("number"==typeof C)return qr(ze(C,d).duration,0,"");const a=C;if(a.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=qr(0,0,"");return P.dynamic=!0,P.strValue=a,P}const b=ze(a,d);return qr(b.duration,b.delay,b.easing)}(d.timings,a.errors);a.currentAnimateTimings=g;let b,P=d.styles?d.styles:(0,ne.iF)({});if(P.type==ne.If.Keyframes)b=this.visitKeyframes(P,a);else{let U=d.styles,H=!1;if(!U){H=!0;const De={};g.easing&&(De.easing=g.easing),U=(0,ne.iF)(De)}a.currentTime+=g.duration+g.delay;const fe=this.visitStyle(U,a);fe.isEmptyStep=H,b=fe}return a.currentAnimateTimings=null,{type:ne.If.Animate,timings:g,style:b,options:null}}visitStyle(d,a){const g=this._makeStyleAst(d,a);return this._validateStyleAst(g,a),g}_makeStyleAst(d,a){const g=[],b=Array.isArray(d.styles)?d.styles:[d.styles];for(let H of b)"string"==typeof H?H===ne.kp?g.push(H):a.errors.push(new l.wOt(3002,!1)):g.push(new Map(Object.entries(H)));let P=!1,U=null;return g.forEach(H=>{if(H instanceof Map&&(H.has("easing")&&(U=H.get("easing"),H.delete("easing")),!P))for(let fe of H.values())if(fe.toString().indexOf("{{")>=0){P=!0;break}}),{type:ne.If.Style,styles:g,easing:U,offset:d.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(d,a){const g=a.currentAnimateTimings;let b=a.currentTime,P=a.currentTime;g&&P>0&&(P-=g.duration+g.delay),d.styles.forEach(U=>{"string"!=typeof U&&U.forEach((H,fe)=>{const De=a.collectedStyles.get(a.currentQuerySelector),He=De.get(fe);let We=!0;He&&(P!=b&&P>=He.startTime&&b<=He.endTime&&(a.errors.push(function Or(C,d,a,g,b){return new l.wOt(3010,!1)}()),We=!1),P=He.startTime),We&&De.set(fe,{startTime:P,endTime:b}),a.options&&function bt(C,d,a){const g=d.params||{},b=Yi(C);b.length&&b.forEach(P=>{g.hasOwnProperty(P)||a.push(function Ar(C){return new l.wOt(3001,!1)}())})}(H,a.options,a.errors)})})}visitKeyframes(d,a){const g={type:ne.If.Keyframes,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Xi(){return new l.wOt(3011,!1)}()),g;let P=0;const U=[];let H=!1,fe=!1,De=0;const He=d.steps.map(kn=>{const Vn=this._makeStyleAst(kn,a);let Bn=null!=Vn.offset?Vn.offset:function Xn(C){if("string"==typeof C)return null;let d=null;if(Array.isArray(C))C.forEach(a=>{if(a instanceof Map&&a.has("offset")){const g=a;d=parseFloat(g.get("offset")),g.delete("offset")}});else if(C instanceof Map&&C.has("offset")){const a=C;d=parseFloat(a.get("offset")),a.delete("offset")}return d}(Vn.styles),Yn=0;return null!=Bn&&(P++,Yn=Vn.offset=Bn),fe=fe||Yn<0||Yn>1,H=H||Yn0&&P{const Bn=$t>0?Vn==yt?1:$t*Vn:U[Vn],Yn=Bn*Ye;a.currentTime=dt+vt.delay+Yn,vt.duration=Yn,this._validateStyleAst(kn,a),kn.offset=Bn,g.styles.push(kn)}),g}visitReference(d,a){return{type:ne.If.Reference,animation:qn(this,yr(d.animation),a),options:$r(d.options)}}visitAnimateChild(d,a){return a.depCount++,{type:ne.If.AnimateChild,options:$r(d.options)}}visitAnimateRef(d,a){return{type:ne.If.AnimateRef,animation:this.visitReference(d.animation,a),options:$r(d.options)}}visitQuery(d,a){const g=a.currentQuerySelector,b=d.options||{};a.queryCount++,a.currentQuery=d;const[P,U]=function es(C){const d=!!C.split(/\s*,\s*/).find(a=>":self"==a);return d&&(C=C.replace(pi,"")),C=C.replace(/@\*/g,on).replace(/@\w+/g,a=>on+"-"+a.slice(1)).replace(/:animating/g,gr),[C,d]}(d.selector);a.currentQuerySelector=g.length?g+" "+P:P,On(a.collectedStyles,a.currentQuerySelector,new Map);const H=qn(this,yr(d.animation),a);return a.currentQuery=null,a.currentQuerySelector=g,{type:ne.If.Query,selector:P,limit:b.limit||0,optional:!!b.optional,includeSelf:U,animation:H,originalSelector:d.selector,options:$r(d.options)}}visitStagger(d,a){a.currentQuery||a.errors.push(function te(){return new l.wOt(3013,!1)}());const g="full"===d.timings?{duration:0,delay:0,easing:"full"}:ze(d.timings,a.errors,!0);return{type:ne.If.Stagger,animation:qn(this,yr(d.animation),a),timings:g,options:null}}}class ts{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function $r(C){return C?(C={...C}).params&&(C.params=function gi(C){return C?{...C}:null}(C.params)):C={},C}function qr(C,d,a){return{duration:C,delay:d,easing:a}}function Ir(C,d,a,g,b,P,U=null,H=!1){return{type:1,element:C,keyframes:d,preStyleProps:a,postStyleProps:g,duration:b,delay:P,totalTime:b+P,easing:U,subTimeline:H}}class mi{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,a){let g=this._map.get(d);g||this._map.set(d,g=[]),g.push(...a)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const ys=new RegExp(":enter","g"),ns=new RegExp(":leave","g");function fr(C,d,a,g,b,P=new Map,U=new Map,H,fe,De=[]){return(new xs).buildKeyframes(C,d,a,g,b,P,U,H,fe,De)}class xs{buildKeyframes(d,a,g,b,P,U,H,fe,De,He=[]){De=De||new mi;const We=new _r(d,a,De,b,P,He,[]);We.options=fe;const $t=fe.delay?Rn(fe.delay):0;We.currentTimeline.delayNextStep($t),We.currentTimeline.setStyles([U],null,We.errors,fe),qn(this,g,We);const yt=We.timelines.filter(dt=>dt.containsAnimation());if(yt.length&&H.size){let dt;for(let vt=yt.length-1;vt>=0;vt--){const Ye=yt[vt];if(Ye.element===a){dt=Ye;break}}dt&&!dt.allowOnlyTimelineStyles()&&dt.setStyles([H],null,We.errors,fe)}return yt.length?yt.map(dt=>dt.buildKeyframes()):[Ir(a,[],[],[],0,$t,"",!1)]}visitTrigger(d,a){}visitState(d,a){}visitTransition(d,a){}visitAnimateChild(d,a){const g=a.subInstructions.get(a.element);if(g){const b=a.createSubContext(d.options),P=a.currentTimeline.currentTime,U=this._visitSubInstructions(g,b,b.options);P!=U&&a.transformIntoNewTimeline(U)}a.previousNode=d}visitAnimateRef(d,a){const g=a.createSubContext(d.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],a,g),this.visitReference(d.animation,g),a.transformIntoNewTimeline(g.currentTimeline.currentTime),a.previousNode=d}_applyAnimationRefDelays(d,a,g){for(const b of d){const P=b?.delay;if(P){const U="number"==typeof P?P:Rn(Ln(P,b?.params??{},a.errors));g.delayNextStep(U)}}}_visitSubInstructions(d,a,g){let P=a.currentTimeline.currentTime;const U=null!=g.duration?Rn(g.duration):null,H=null!=g.delay?Rn(g.delay):null;return 0!==U&&d.forEach(fe=>{const De=a.appendInstructionToTimeline(fe,U,H);P=Math.max(P,De.duration+De.delay)}),P}visitReference(d,a){a.updateOptions(d.options,!0),qn(this,d.animation,a),a.previousNode=d}visitSequence(d,a){const g=a.subContextCount;let b=a;const P=d.options;if(P&&(P.params||P.delay)&&(b=a.createSubContext(P),b.transformIntoNewTimeline(),null!=P.delay)){b.previousNode.type==ne.If.Style&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=Vi);const U=Rn(P.delay);b.delayNextStep(U)}d.steps.length&&(d.steps.forEach(U=>qn(this,U,b)),b.currentTimeline.applyStylesToKeyframe(),b.subContextCount>g&&b.transformIntoNewTimeline()),a.previousNode=d}visitGroup(d,a){const g=[];let b=a.currentTimeline.currentTime;const P=d.options&&d.options.delay?Rn(d.options.delay):0;d.steps.forEach(U=>{const H=a.createSubContext(d.options);P&&H.delayNextStep(P),qn(this,U,H),b=Math.max(b,H.currentTimeline.currentTime),g.push(H.currentTimeline)}),g.forEach(U=>a.currentTimeline.mergeTimelineCollectedStyles(U)),a.transformIntoNewTimeline(b),a.previousNode=d}_visitTiming(d,a){if(d.dynamic){const g=d.strValue;return ze(a.params?Ln(g,a.params,a.errors):g,a.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,a){const g=a.currentAnimateTimings=this._visitTiming(d.timings,a),b=a.currentTimeline;g.delay&&(a.incrementTime(g.delay),b.snapshotCurrentStyles());const P=d.style;P.type==ne.If.Keyframes?this.visitKeyframes(P,a):(a.incrementTime(g.duration),this.visitStyle(P,a),b.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=d}visitStyle(d,a){const g=a.currentTimeline,b=a.currentAnimateTimings;!b&&g.hasCurrentStyleProperties()&&g.forwardFrame();const P=b&&b.easing||d.easing;d.isEmptyStep?g.applyEmptyStep(P):g.setStyles(d.styles,P,a.errors,a.options),a.previousNode=d}visitKeyframes(d,a){const g=a.currentAnimateTimings,b=a.currentTimeline.duration,P=g.duration,H=a.createSubContext().currentTimeline;H.easing=g.easing,d.styles.forEach(fe=>{H.forwardTime((fe.offset||0)*P),H.setStyles(fe.styles,fe.easing,a.errors,a.options),H.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(H),a.transformIntoNewTimeline(b+P),a.previousNode=d}visitQuery(d,a){const g=a.currentTimeline.currentTime,b=d.options||{},P=b.delay?Rn(b.delay):0;P&&(a.previousNode.type===ne.If.Style||0==g&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Vi);let U=g;const H=a.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!b.optional,a.errors);a.currentQueryTotal=H.length;let fe=null;H.forEach((De,He)=>{a.currentQueryIndex=He;const We=a.createSubContext(d.options,De);P&&We.delayNextStep(P),De===a.element&&(fe=We.currentTimeline),qn(this,d.animation,We),We.currentTimeline.applyStylesToKeyframe(),U=Math.max(U,We.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(U),fe&&(a.currentTimeline.mergeTimelineCollectedStyles(fe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=d}visitStagger(d,a){const g=a.parentContext,b=a.currentTimeline,P=d.timings,U=Math.abs(P.duration),H=U*(a.currentQueryTotal-1);let fe=U*a.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":fe=H-fe;break;case"full":fe=g.currentStaggerTime}const He=a.currentTimeline;fe&&He.delayNextStep(fe);const We=He.currentTime;qn(this,d.animation,a),a.previousNode=d,g.currentStaggerTime=b.currentTime-We+(b.startTime-g.currentTimeline.startTime)}}const Vi={};class _r{constructor(d,a,g,b,P,U,H,fe){this._driver=d,this.element=a,this.subInstructions=g,this._enterClassName=b,this._leaveClassName=P,this.errors=U,this.timelines=H,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Vi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fe||new Ot(this._driver,a,0),H.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,a){if(!d)return;const g=d;let b=this.options;null!=g.duration&&(b.duration=Rn(g.duration)),null!=g.delay&&(b.delay=Rn(g.delay));const P=g.params;if(P){let U=b.params;U||(U=this.options.params={}),Object.keys(P).forEach(H=>{(!a||!U.hasOwnProperty(H))&&(U[H]=Ln(P[H],U,this.errors))})}}_copyOptions(){const d={};if(this.options){const a=this.options.params;if(a){const g=d.params={};Object.keys(a).forEach(b=>{g[b]=a[b]})}}return d}createSubContext(d=null,a,g){const b=a||this.element,P=new _r(this._driver,b,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(b,g||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(d),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(d){return this.previousNode=Vi,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,a,g){const b={duration:a??d.duration,delay:this.currentTimeline.currentTime+(g??0)+d.delay,easing:""},P=new Ti(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,b,d.stretchStartingKeyframe);return this.timelines.push(P),b}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,a,g,b,P,U){let H=[];if(b&&H.push(this.element),d.length>0){d=(d=d.replace(ys,"."+this._enterClassName)).replace(ns,"."+this._leaveClassName);let De=this._driver.query(this.element,d,1!=g);0!==g&&(De=g<0?De.slice(De.length+g,De.length):De.slice(0,g)),H.push(...De)}return!P&&0==H.length&&U.push(function j(C){return new l.wOt(3014,!1)}()),H}}class Ot{constructor(d,a,g,b){this._driver=d,this.element=a,this.startTime=g,this._elementTimelineStylesLookup=b,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+d),a&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,a){return this.applyStylesToKeyframe(),new Ot(this._driver,d,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,a){this._localTimelineStyles.set(d,a),this._globalTimelineStyles.set(d,a),this._styleSummary.set(d,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[a,g]of this._globalTimelineStyles)this._backFill.set(a,g||ne.kp),this._currentKeyframe.set(a,ne.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,a,g,b){a&&this._previousKeyframe.set("easing",a);const P=b&&b.params||{},U=function no(C,d){const a=new Map;let g;return C.forEach(b=>{if("*"===b){g??=d.keys();for(let P of g)a.set(P,ne.kp)}else for(let[P,U]of b)a.set(P,U)}),a}(d,this._globalTimelineStyles);for(let[H,fe]of U){const De=Ln(fe,P,g);this._pendingStyles.set(H,De),this._localTimelineStyles.has(H)||this._backFill.set(H,this._globalTimelineStyles.get(H)??ne.kp),this._updateStyle(H,De)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,a)=>{this._currentKeyframe.set(a,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,d)}))}snapshotCurrentStyles(){for(let[d,a]of this._localTimelineStyles)this._pendingStyles.set(d,a),this._updateStyle(d,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let a in this._currentKeyframe)d.push(a);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((a,g)=>{const b=this._styleSummary.get(g);(!b||a.time>b.time)&&this._updateStyle(g,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,a=new Set,g=1===this._keyframes.size&&0===this.duration;let b=[];this._keyframes.forEach((H,fe)=>{const De=new Map([...this._backFill,...H]);De.forEach((He,We)=>{He===ne.FX?d.add(We):He===ne.kp&&a.add(We)}),g||De.set("offset",fe/this.duration),b.push(De)});const P=[...d.values()],U=[...a.values()];if(g){const H=b[0],fe=new Map(H);H.set("offset",0),fe.set("offset",1),b=[H,fe]}return Ir(this.element,b,P,U,this.duration,this.startTime,this.easing,!1)}}class Ti extends Ot{constructor(d,a,g,b,P,U,H=!1){super(d,a,U.delay),this.keyframes=g,this.preStyleProps=b,this.postStyleProps=P,this._stretchStartingKeyframe=H,this.timings={duration:U.duration,delay:U.delay,easing:U.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:a,duration:g,easing:b}=this.timings;if(this._stretchStartingKeyframe&&a){const P=[],U=g+a,H=a/U,fe=new Map(d[0]);fe.set("offset",0),P.push(fe);const De=new Map(d[0]);De.set("offset",Fs(H)),P.push(De);const He=d.length-1;for(let We=1;We<=He;We++){let $t=new Map(d[We]);const yt=$t.get("offset");$t.set("offset",Fs((a+yt*g)/U)),P.push($t)}g=U,a=0,b="",d=P}return Ir(this.element,d,this.preStyleProps,this.postStyleProps,g,a,b,!0)}}function Fs(C,d=3){const a=Math.pow(10,d-1);return Math.round(C*a)/a}function vs(C,d,a,g,b,P,U,H,fe,De,He,We,$t){return{type:0,element:C,triggerName:d,isRemovalTransition:b,fromState:a,fromStyles:P,toState:g,toStyles:U,timelines:H,queriedElements:fe,preStyleProps:De,postStyleProps:He,totalTime:We,errors:$t}}const rs={};class ri{constructor(d,a,g){this._triggerName=d,this.ast=a,this._stateStyles=g}match(d,a,g,b){return function Co(C,d,a,g,b){return C.some(P=>P(d,a,g,b))}(this.ast.matchers,d,a,g,b)}buildStyles(d,a,g){let b=this._stateStyles.get("*");return void 0!==d&&(b=this._stateStyles.get(d?.toString())||b),b?b.buildStyles(a,g):new Map}build(d,a,g,b,P,U,H,fe,De,He){const We=[],$t=this.ast.options&&this.ast.options.params||rs,dt=this.buildStyles(g,H&&H.params||rs,We),vt=fe&&fe.params||rs,Ye=this.buildStyles(b,vt,We),kn=new Set,Vn=new Map,Bn=new Map,Yn="void"===b,rr={params:_s(vt,$t),delay:this.ast.options?.delay},ln=He?[]:fr(d,a,this.ast.animation,P,U,dt,Ye,rr,De,We);let Mr=0;return ln.forEach(gn=>{Mr=Math.max(gn.duration+gn.delay,Mr)}),We.length?vs(a,this._triggerName,g,b,Yn,dt,Ye,[],[],Vn,Bn,Mr,We):(ln.forEach(gn=>{const Zn=gn.element,Hi=On(Vn,Zn,new Set);gn.preStyleProps.forEach(si=>Hi.add(si));const $i=On(Bn,Zn,new Set);gn.postStyleProps.forEach(si=>$i.add(si)),Zn!==a&&kn.add(Zn)}),vs(a,this._triggerName,g,b,Yn,dt,Ye,ln,[...kn.values()],Vn,Bn,Mr))}}function _s(C,d){const a={...d};return Object.entries(C).forEach(([g,b])=>{null!=b&&(a[g]=b)}),a}class Ds{constructor(d,a,g){this.styles=d,this.defaultParams=a,this.normalizer=g}buildStyles(d,a){const g=new Map,b=_s(d,this.defaultParams);return this.styles.styles.forEach(P=>{"string"!=typeof P&&P.forEach((U,H)=>{U&&(U=Ln(U,b,a));const fe=this.normalizer.normalizePropertyName(H,a);U=this.normalizer.normalizeStyleValue(H,fe,U,a),g.set(H,U)})}),g}}class Es{constructor(d,a,g){this.name=d,this.ast=a,this._normalizer=g,this.transitionFactories=[],this.states=new Map,a.states.forEach(b=>{this.states.set(b.name,new Ds(b.style,b.options&&b.options.params||{},g))}),ro(this.states,"true","1"),ro(this.states,"false","0"),a.transitions.forEach(b=>{this.transitionFactories.push(new ri(d,b,this.states))}),this.fallbackTransition=function Ui(C,d,a){return new ri(C,{type:ne.If.Transition,animation:{type:ne.If.Sequence,steps:[],options:null},matchers:[(U,H)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,a,g,b){return this.transitionFactories.find(U=>U.match(d,a,g,b))||null}matchStyles(d,a,g){return this.fallbackTransition.buildStyles(d,a,g)}}function ro(C,d,a){C.has(d)?C.has(a)||C.set(a,C.get(d)):C.has(a)&&C.set(d,C.get(a))}const io=new mi;class so{constructor(d,a,g){this.bodyNode=d,this._driver=a,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,a){const g=[],P=Hr(this._driver,a,g,[]);if(g.length)throw function Tn(C){return new l.wOt(3503,!1)}();this._animations.set(d,P)}_buildPlayer(d,a,g){const b=d.element,P=Ut(this._normalizer,d.keyframes,a,g);return this._driver.animate(b,P,d.duration,d.delay,d.easing,[],!0)}create(d,a,g={}){const b=[],P=this._animations.get(d);let U;const H=new Map;if(P?(U=fr(this._driver,a,P,xt,sn,new Map,new Map,g,io,b),U.forEach(He=>{const We=On(H,He.element,new Map);He.postStyleProps.forEach($t=>We.set($t,null))})):(b.push(function ir(){return new l.wOt(3300,!1)}()),U=[]),b.length)throw function tr(C){return new l.wOt(3504,!1)}();H.forEach((He,We)=>{He.forEach(($t,yt)=>{He.set(yt,this._driver.computeStyle(We,yt,ne.kp))})});const De=Hn(U.map(He=>{const We=H.get(He.element);return this._buildPlayer(He,new Map,We)}));return this._playersById.set(d,De),De.onDestroy(()=>this.destroy(d)),this.players.push(De),De}destroy(d){const a=this._getPlayer(d);a.destroy(),this._playersById.delete(d);const g=this.players.indexOf(a);g>=0&&this.players.splice(g,1)}_getPlayer(d){const a=this._playersById.get(d);if(!a)throw function Ur(C){return new l.wOt(3301,!1)}();return a}listen(d,a,g,b){const P=Rr(a,"","","");return di(this._getPlayer(d),g,P,b),()=>{}}command(d,a,g,b){if("register"==g)return void this.register(d,b[0]);if("create"==g)return void this.create(d,a,b[0]||{});const P=this._getPlayer(d);switch(g){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(b[0]));break;case"destroy":this.destroy(d)}}}const M="ng-animate-queued",_="ng-animate-disabled",wt=[],At={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pn="__ng_removed";class ji{get params(){return this.options.params}constructor(d,a=""){this.namespaceId=a;const g=d&&d.hasOwnProperty("value");if(this.value=function ks(C){return C??null}(g?d.value:d),g){const{value:P,...U}=d;this.options=U}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const a=d.params;if(a){const g=this.options.params;Object.keys(a).forEach(b=>{null==g[b]&&(g[b]=a[b])})}}}const Ai="void",Ls=new ji(Ai);class Lo{constructor(d,a,g){this.id=d,this.hostElement=a,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,wn(a,this._hostClassName)}listen(d,a,g,b){if(!this._triggers.has(a))throw function As(C,d){return new l.wOt(3302,!1)}();if(null==g||0==g.length)throw function Os(C){return new l.wOt(3303,!1)}();if(!function lo(C){return"start"==C||"done"==C}(g))throw function An(C,d){return new l.wOt(3400,!1)}();const P=On(this._elementListeners,d,[]),U={name:a,phase:g,callback:b};P.push(U);const H=On(this._engine.statesByElement,d,new Map);return H.has(a)||(wn(d,cr),wn(d,cr+"-"+a),H.set(a,Ls)),()=>{this._engine.afterFlush(()=>{const fe=P.indexOf(U);fe>=0&&P.splice(fe,1),this._triggers.has(a)||H.delete(a)})}}register(d,a){return!this._triggers.has(d)&&(this._triggers.set(d,a),!0)}_getTrigger(d){const a=this._triggers.get(d);if(!a)throw function at(C){return new l.wOt(3401,!1)}();return a}trigger(d,a,g,b=!0){const P=this._getTrigger(a),U=new oo(this.id,a,d);let H=this._engine.statesByElement.get(d);H||(wn(d,cr),wn(d,cr+"-"+a),this._engine.statesByElement.set(d,H=new Map));let fe=H.get(a);const De=new ji(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&fe&&De.absorbOptions(fe.options),H.set(a,De),fe||(fe=Ls),De.value!==Ai&&fe.value===De.value){if(!function Vo(C,d){const a=Object.keys(C),g=Object.keys(d);if(a.length!=g.length)return!1;for(let b=0;b{jr(d,Ye),Dn(d,kn)})}return}const $t=On(this._engine.playersByElement,d,[]);$t.forEach(vt=>{vt.namespaceId==this.id&&vt.triggerName==a&&vt.queued&&vt.destroy()});let yt=P.matchTransition(fe.value,De.value,d,De.params),dt=!1;if(!yt){if(!b)return;yt=P.fallbackTransition,dt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:a,transition:yt,fromState:fe,toState:De,player:U,isFallbackTransition:dt}),dt||(wn(d,M),U.onStart(()=>{Wn(d,M)})),U.onDone(()=>{let vt=this.players.indexOf(U);vt>=0&&this.players.splice(vt,1);const Ye=this._engine.playersByElement.get(d);if(Ye){let kn=Ye.indexOf(U);kn>=0&&Ye.splice(kn,1)}}),this.players.push(U),$t.push(U),U}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(a=>a.delete(d)),this._elementListeners.forEach((a,g)=>{this._elementListeners.set(g,a.filter(b=>b.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const a=this._engine.playersByElement.get(d);a&&(a.forEach(g=>g.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,a){const g=this._engine.driver.query(d,on,!0);g.forEach(b=>{if(b[Pn])return;const P=this._engine.fetchNamespacesByElement(b);P.size?P.forEach(U=>U.triggerLeaveAnimation(b,a,!1,!0)):this.clearElementCache(b)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(b=>this.clearElementCache(b)))}triggerLeaveAnimation(d,a,g,b){const P=this._engine.statesByElement.get(d),U=new Map;if(P){const H=[];if(P.forEach((fe,De)=>{if(U.set(De,fe.value),this._triggers.has(De)){const He=this.trigger(d,De,Ai,b);He&&H.push(He)}}),H.length)return this._engine.markElementAsRemoved(this.id,d,!0,a,U),g&&Hn(H).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const a=this._elementListeners.get(d),g=this._engine.statesByElement.get(d);if(a&&g){const b=new Set;a.forEach(P=>{const U=P.name;if(b.has(U))return;b.add(U);const fe=this._triggers.get(U).fallbackTransition,De=g.get(U)||Ls,He=new ji(Ai),We=new oo(this.id,U,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:U,transition:fe,fromState:De,toState:He,player:We,isFallbackTransition:!0})})}}removeNode(d,a){const g=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,a),this.triggerLeaveAnimation(d,a,!0))return;let b=!1;if(g.totalAnimations){const P=g.players.length?g.playersByQueriedElement.get(d):[];if(P&&P.length)b=!0;else{let U=d;for(;U=U.parentNode;)if(g.statesByElement.get(U)){b=!0;break}}}if(this.prepareLeaveAnimationListeners(d),b)g.markElementAsRemoved(this.id,d,!1,a);else{const P=d[Pn];(!P||P===At)&&(g.afterFlush(()=>this.clearElementCache(d)),g.destroyInnerAnimations(d),g._onRemovalComplete(d,a))}}insertNode(d,a){wn(d,this._hostClassName)}drainQueuedTransitions(d){const a=[];return this._queue.forEach(g=>{const b=g.player;if(b.destroyed)return;const P=g.element,U=this._elementListeners.get(P);U&&U.forEach(H=>{if(H.name==g.triggerName){const fe=Rr(P,g.triggerName,g.fromState.value,g.toState.value);fe._data=d,di(g.player,H.phase,fe,H.callback)}}),b.markedForDestroy?this._engine.afterFlush(()=>{b.destroy()}):a.push(g)}),this._queue=[],a.sort((g,b)=>{const P=g.transition.ast.depCount,U=b.transition.ast.depCount;return 0==P||0==U?P-U:this._engine.driver.containsElement(g.element,b.element)?1:-1})}destroy(d){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class sa{_onRemovalComplete(d,a){this.onRemovalComplete(d,a)}constructor(d,a,g,b){this.bodyNode=d,this.driver=a,this._normalizer=g,this.scheduler=b,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(P,U)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(a=>{a.players.forEach(g=>{g.queued&&d.push(g)})}),d}createNamespace(d,a){const g=new Lo(d,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(g,a):(this.newHostElements.set(a,g),this.collectEnterElement(a)),this._namespaceLookup[d]=g}_balanceNamespaceList(d,a){const g=this._namespaceList,b=this.namespacesByHostElement;if(g.length-1>=0){let U=!1,H=this.driver.getParentElement(a);for(;H;){const fe=b.get(H);if(fe){const De=g.indexOf(fe);g.splice(De+1,0,d),U=!0;break}H=this.driver.getParentElement(H)}U||g.unshift(d)}else g.push(d);return b.set(a,d),d}register(d,a){let g=this._namespaceLookup[d];return g||(g=this.createNamespace(d,a)),g}registerTrigger(d,a,g){let b=this._namespaceLookup[d];b&&b.register(a,g)&&this.totalAnimations++}destroy(d,a){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(d);this.namespacesByHostElement.delete(g.hostElement);const b=this._namespaceList.indexOf(g);b>=0&&this._namespaceList.splice(b,1),g.destroy(a),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const a=new Set,g=this.statesByElement.get(d);if(g)for(let b of g.values())if(b.namespaceId){const P=this._fetchNamespace(b.namespaceId);P&&a.add(P)}return a}trigger(d,a,g,b){if(yi(a)){const P=this._fetchNamespace(d);if(P)return P.trigger(a,g,b),!0}return!1}insertNode(d,a,g,b){if(!yi(a))return;const P=a[Pn];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const U=this.collectedLeaveElements.indexOf(a);U>=0&&this.collectedLeaveElements.splice(U,1)}if(d){const U=this._fetchNamespace(d);U&&U.insertNode(a,g)}b&&this.collectEnterElement(a)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,a){a?this.disabledNodes.has(d)||(this.disabledNodes.add(d),wn(d,_)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Wn(d,_))}removeNode(d,a,g){if(yi(a)){this.scheduler?.notify();const b=d?this._fetchNamespace(d):null;b?b.removeNode(a,g):this.markElementAsRemoved(d,a,!1,g);const P=this.namespacesByHostElement.get(a);P&&P.id!==d&&P.removeNode(a,g)}else this._onRemovalComplete(a,g)}markElementAsRemoved(d,a,g,b,P){this.collectedLeaveElements.push(a),a[Pn]={namespaceId:d,setForRemoval:b,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:P}}listen(d,a,g,b,P){return yi(a)?this._fetchNamespace(d).listen(a,g,b,P):()=>{}}_buildInstruction(d,a,g,b,P){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,g,b,d.fromState.options,d.toState.options,a,P)}destroyInnerAnimations(d){let a=this.driver.query(d,on,!0);a.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(d,gr,!0),a.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(d){const a=this.playersByElement.get(d);a&&a.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(d){const a=this.playersByQueriedElement.get(d);a&&a.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return Hn(this.players).onDone(()=>d());d()})}processLeaveNode(d){const a=d[Pn];if(a&&a.setForRemoval){if(d[Pn]=At,a.namespaceId){this.destroyInnerAnimations(d);const g=this._fetchNamespace(a.namespaceId);g&&g.clearElementCache(d)}this._onRemovalComplete(d,a.setForRemoval)}d.classList?.contains(_)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(d=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,b)=>this._balanceNamespaceList(g,b)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;gg()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],a.length?Hn(a).onDone(()=>{g.forEach(b=>b())}):g.forEach(b=>b())}}reportError(d){throw function us(C){return new l.wOt(3402,!1)}()}_flushAnimations(d,a){const g=new mi,b=[],P=new Map,U=[],H=new Map,fe=new Map,De=new Map,He=new Set;this.disabledNodes.forEach(tt=>{He.add(tt);const ft=this.driver.query(tt,".ng-animate-queued",!0);for(let Dt=0;Dt{const Dt=xt+vt++;dt.set(ft,Dt),tt.forEach(en=>wn(en,Dt))});const Ye=[],kn=new Set,Vn=new Set;for(let tt=0;ttkn.add(en)):Vn.add(ft))}const Bn=new Map,Yn=Gn($t,Array.from(kn));Yn.forEach((tt,ft)=>{const Dt=sn+vt++;Bn.set(ft,Dt),tt.forEach(en=>wn(en,Dt))}),d.push(()=>{yt.forEach((tt,ft)=>{const Dt=dt.get(ft);tt.forEach(en=>Wn(en,Dt))}),Yn.forEach((tt,ft)=>{const Dt=Bn.get(ft);tt.forEach(en=>Wn(en,Dt))}),Ye.forEach(tt=>{this.processLeaveNode(tt)})});const rr=[],ln=[];for(let tt=this._namespaceList.length-1;tt>=0;tt--)this._namespaceList[tt].drainQueuedTransitions(a).forEach(Dt=>{const en=Dt.player,ar=Dt.element;if(rr.push(en),this.collectedEnterElements.length){const Fr=ar[Pn];if(Fr&&Fr.setForMove){if(Fr.previousTriggersValues&&Fr.previousTriggersValues.has(Dt.triggerName)){const Gs=Fr.previousTriggersValues.get(Dt.triggerName),_i=this.statesByElement.get(Dt.element);if(_i&&_i.has(Dt.triggerName)){const zo=_i.get(Dt.triggerName);zo.value=Gs,_i.set(Dt.triggerName,zo)}}return void en.destroy()}}const Gi=!We||!this.driver.containsElement(We,ar),oi=Bn.get(ar),$s=dt.get(ar),Un=this._buildInstruction(Dt,g,$s,oi,Gi);if(Un.errors&&Un.errors.length)return void ln.push(Un);if(Gi)return en.onStart(()=>jr(ar,Un.fromStyles)),en.onDestroy(()=>Dn(ar,Un.toStyles)),void b.push(en);if(Dt.isFallbackTransition)return en.onStart(()=>jr(ar,Un.fromStyles)),en.onDestroy(()=>Dn(ar,Un.toStyles)),void b.push(en);const il=[];Un.timelines.forEach(Fr=>{Fr.stretchStartingKeyframe=!0,this.disabledNodes.has(Fr.element)||il.push(Fr)}),Un.timelines=il,g.append(ar,Un.timelines),U.push({instruction:Un,player:en,element:ar}),Un.queriedElements.forEach(Fr=>On(H,Fr,[]).push(en)),Un.preStyleProps.forEach((Fr,Gs)=>{if(Fr.size){let _i=fe.get(Gs);_i||fe.set(Gs,_i=new Set),Fr.forEach((zo,da)=>_i.add(da))}}),Un.postStyleProps.forEach((Fr,Gs)=>{let _i=De.get(Gs);_i||De.set(Gs,_i=new Set),Fr.forEach((zo,da)=>_i.add(da))})});if(ln.length){const tt=[];ln.forEach(ft=>{tt.push(function bi(C,d){return new l.wOt(3505,!1)}())}),rr.forEach(ft=>ft.destroy()),this.reportError(tt)}const Mr=new Map,gn=new Map;U.forEach(tt=>{const ft=tt.element;g.has(ft)&&(gn.set(ft,ft),this._beforeAnimationBuild(tt.player.namespaceId,tt.instruction,Mr))}),b.forEach(tt=>{const ft=tt.element;this._getPreviousPlayers(ft,!1,tt.namespaceId,tt.triggerName,null).forEach(en=>{On(Mr,ft,[]).push(en),en.destroy()})});const Zn=Ye.filter(tt=>Bo(tt,fe,De)),Hi=new Map;$n(Hi,this.driver,Vn,De,ne.kp).forEach(tt=>{Bo(tt,fe,De)&&Zn.push(tt)});const si=new Map;yt.forEach((tt,ft)=>{$n(si,this.driver,new Set(tt),fe,ne.FX)}),Zn.forEach(tt=>{const ft=Hi.get(tt),Dt=si.get(tt);Hi.set(tt,new Map([...ft?.entries()??[],...Dt?.entries()??[]]))});const Zr=[],So=[],rl={};U.forEach(tt=>{const{element:ft,player:Dt,instruction:en}=tt;if(g.has(ft)){if(He.has(ft))return Dt.onDestroy(()=>Dn(ft,en.toStyles)),Dt.disabled=!0,Dt.overrideTotalTime(en.totalTime),void b.push(Dt);let ar=rl;if(gn.size>1){let oi=ft;const $s=[];for(;oi=oi.parentNode;){const Un=gn.get(oi);if(Un){ar=Un;break}$s.push(oi)}$s.forEach(Un=>gn.set(Un,ar))}const Gi=this._buildAnimation(Dt.namespaceId,en,Mr,P,si,Hi);if(Dt.setRealPlayer(Gi),ar===rl)Zr.push(Dt);else{const oi=this.playersByElement.get(ar);oi&&oi.length&&(Dt.parentPlayer=Hn(oi)),b.push(Dt)}}else jr(ft,en.fromStyles),Dt.onDestroy(()=>Dn(ft,en.toStyles)),So.push(Dt),He.has(ft)&&b.push(Dt)}),So.forEach(tt=>{const ft=P.get(tt.element);if(ft&&ft.length){const Dt=Hn(ft);tt.setRealPlayer(Dt)}}),b.forEach(tt=>{tt.parentPlayer?tt.syncPlayerEvents(tt.parentPlayer):tt.destroy()});for(let tt=0;tt!Gi.destroyed);ar.length?ko(this,ft,ar):this.processLeaveNode(ft)}return Ye.length=0,Zr.forEach(tt=>{this.players.push(tt),tt.onDone(()=>{tt.destroy();const ft=this.players.indexOf(tt);this.players.splice(ft,1)}),tt.play()}),Zr}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,a,g,b,P){let U=[];if(a){const H=this.playersByQueriedElement.get(d);H&&(U=H)}else{const H=this.playersByElement.get(d);if(H){const fe=!P||P==Ai;H.forEach(De=>{De.queued||!fe&&De.triggerName!=b||U.push(De)})}}return(g||b)&&(U=U.filter(H=>!(g&&g!=H.namespaceId||b&&b!=H.triggerName))),U}_beforeAnimationBuild(d,a,g){const P=a.element,U=a.isRemovalTransition?void 0:d,H=a.isRemovalTransition?void 0:a.triggerName;for(const fe of a.timelines){const De=fe.element,He=De!==P,We=On(g,De,[]);this._getPreviousPlayers(De,He,U,H,a.toState).forEach(yt=>{const dt=yt.getRealPlayer();dt.beforeDestroy&&dt.beforeDestroy(),yt.destroy(),We.push(yt)})}jr(P,a.fromStyles)}_buildAnimation(d,a,g,b,P,U){const H=a.triggerName,fe=a.element,De=[],He=new Set,We=new Set,$t=a.timelines.map(dt=>{const vt=dt.element;He.add(vt);const Ye=vt[Pn];if(Ye&&Ye.removedBeforeQueried)return new ne.sf(dt.duration,dt.delay);const kn=vt!==fe,Vn=function co(C){const d=[];return is(C,d),d}((g.get(vt)||wt).map(Mr=>Mr.getRealPlayer())).filter(Mr=>!!Mr.element&&Mr.element===vt),Bn=P.get(vt),Yn=U.get(vt),rr=Ut(this._normalizer,dt.keyframes,Bn,Yn),ln=this._buildPlayer(dt,rr,Vn);if(dt.subTimeline&&b&&We.add(vt),kn){const Mr=new oo(d,H,vt);Mr.setRealPlayer(ln),De.push(Mr)}return ln});De.forEach(dt=>{On(this.playersByQueriedElement,dt.element,[]).push(dt),dt.onDone(()=>function ao(C,d,a){let g=C.get(d);if(g){if(g.length){const b=g.indexOf(a);g.splice(b,1)}0==g.length&&C.delete(d)}return g}(this.playersByQueriedElement,dt.element,dt))}),He.forEach(dt=>wn(dt,sr));const yt=Hn($t);return yt.onDestroy(()=>{He.forEach(dt=>Wn(dt,sr)),Dn(fe,a.toStyles)}),We.forEach(dt=>{On(b,dt,[]).push(yt)}),yt}_buildPlayer(d,a,g){return a.length>0?this.driver.animate(d.element,a,d.duration,d.delay,d.easing,g):new ne.sf(d.duration,d.delay)}}class oo{constructor(d,a,g){this.namespaceId=d,this.triggerName=a,this.element=g,this._player=new ne.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((a,g)=>{a.forEach(b=>di(d,g,void 0,b))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const a=this._player;a.triggerCallback&&d.onStart(()=>a.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,a){On(this._queuedCallbacks,d,[]).push(a)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const a=this._player;a.triggerCallback&&a.triggerCallback(d)}}function yi(C){return C&&1===C.nodeType}function Nt(C,d){const a=C.style.display;return C.style.display=d??"none",a}function $n(C,d,a,g,b){const P=[];a.forEach(fe=>P.push(Nt(fe)));const U=[];g.forEach((fe,De)=>{const He=new Map;fe.forEach(We=>{const $t=d.computeStyle(De,We,b);He.set(We,$t),(!$t||0==$t.length)&&(De[Pn]=Gr,U.push(De))}),C.set(De,He)});let H=0;return a.forEach(fe=>Nt(fe,P[H++])),U}function Gn(C,d){const a=new Map;if(C.forEach(H=>a.set(H,[])),0==d.length)return a;const b=new Set(d),P=new Map;function U(H){if(!H)return 1;let fe=P.get(H);if(fe)return fe;const De=H.parentNode;return fe=a.has(De)?De:b.has(De)?1:U(De),P.set(H,fe),fe}return d.forEach(H=>{const fe=U(H);1!==fe&&a.get(fe).push(H)}),a}function wn(C,d){C.classList?.add(d)}function Wn(C,d){C.classList?.remove(d)}function ko(C,d,a){Hn(a).onDone(()=>C.processLeaveNode(d))}function is(C,d){for(let a=0;ab.add(P)):d.set(C,g),a.delete(C),!0}class ii{constructor(d,a,g,b){this._driver=a,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(P,U)=>{},this._transitionEngine=new sa(d.body,a,g,b),this._timelineEngine=new so(d.body,a,g),this._transitionEngine.onRemovalComplete=(P,U)=>this.onRemovalComplete(P,U)}registerTrigger(d,a,g,b,P){const U=d+"-"+b;let H=this._triggerCache[U];if(!H){const fe=[],He=Hr(this._driver,P,fe,[]);if(fe.length)throw function Kt(C,d){return new l.wOt(3404,!1)}();H=function Xr(C,d,a){return new Es(C,d,a)}(b,He,this._normalizer),this._triggerCache[U]=H}this._transitionEngine.registerTrigger(a,b,H)}register(d,a){this._transitionEngine.register(d,a)}destroy(d,a){this._transitionEngine.destroy(d,a)}onInsert(d,a,g,b){this._transitionEngine.insertNode(d,a,g,b)}onRemove(d,a,g){this._transitionEngine.removeNode(d,a,g)}disableAnimations(d,a){this._transitionEngine.markElementAsDisabled(d,a)}process(d,a,g,b){if("@"==g.charAt(0)){const[P,U]=fi(g);this._timelineEngine.command(P,a,U,b)}else this._transitionEngine.trigger(d,a,g,b)}listen(d,a,g,b,P){if("@"==g.charAt(0)){const[U,H]=fi(g);return this._timelineEngine.listen(U,a,H,P)}return this._transitionEngine.listen(d,a,g,b,P)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}class xr{static#e=this.initialStylesByElement=new WeakMap;constructor(d,a,g){this._element=d,this._startStyles=a,this._endStyles=g,this._state=0;let b=xr.initialStylesByElement.get(d);b||xr.initialStylesByElement.set(d,b=new Map),this._initialStyles=b}start(){this._state<1&&(this._startStyles&&Dn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Dn(this._element,this._initialStyles),this._endStyles&&(Dn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(xr.initialStylesByElement.delete(this._element),this._startStyles&&(jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jr(this._element,this._endStyles),this._endStyles=null),Dn(this._element,this._initialStyles),this._state=3)}}function uo(C){let d=null;return C.forEach((a,g)=>{(function fo(C){return"display"===C||"position"===C})(g)&&(d=d||new Map,d.set(g,a))}),d}class oa{constructor(d,a,g,b){this.element=d,this.keyframes=a,this.options=g,this._specialStyles=b,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const a=()=>this._onFinish();this.domPlayer.addEventListener("finish",a),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",a)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const a=[];return d.forEach(g=>{a.push(Object.fromEntries(g))}),a}_triggerWebAnimation(d,a,g){return d.animate(this._convertKeyframesToObject(a),g)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,b)=>{"offset"!==b&&d.set(b,this._finished?g:Zi(this.element,b))}),this.currentSnapshot=d}triggerCallback(d){const a="start"===d?this._onStartFns:this._onDoneFns;a.forEach(g=>g()),a.length=0}}class ho{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}matchesElement(d,a){return!1}containsElement(d,a){return Be(d,a)}getParentElement(d){return zr(d)}query(d,a,g){return mt(d,a,g)}computeStyle(d,a,g){return Zi(d,a)}animate(d,a,g,b,P,U=[]){const fe={duration:g,delay:b,fill:0==b?"both":"forwards"};P&&(fe.easing=P);const De=new Map,He=U.filter(yt=>yt instanceof oa);(function Si(C,d){return 0===C||0===d})(g,b)&&He.forEach(yt=>{yt.currentSnapshot.forEach((dt,vt)=>De.set(vt,dt))});let We=function mr(C){return C.length?C[0]instanceof Map?C:C.map(d=>new Map(Object.entries(d))):[]}(a).map(yt=>new Map(yt));We=function fs(C,d,a){if(a.size&&d.length){let g=d[0],b=[];if(a.forEach((P,U)=>{g.has(U)||b.push(U),g.set(U,P)}),b.length)for(let P=1;PU.set(H,Zi(C,H)))}}return d}(d,We,De);const $t=function Vs(C,d){let a=null,g=null;return Array.isArray(d)&&d.length?(a=uo(d[0]),d.length>1&&(g=uo(d[d.length-1]))):d instanceof Map&&(a=uo(d)),a||g?new xr(C,a,g):null}(d,We);return new oa(d,We,fe,$t)}}const bo="@.disabled";class vi{constructor(d,a,g,b){this.namespaceId=d,this.delegate=a,this.engine=g,this._onDestroy=b,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,a){return this.delegate.createElement(d,a)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,a){this.delegate.appendChild(d,a),this.engine.onInsert(this.namespaceId,a,d,!1)}insertBefore(d,a,g,b=!0){this.delegate.insertBefore(d,a,g),this.engine.onInsert(this.namespaceId,a,d,b)}removeChild(d,a,g){this.engine.onRemove(this.namespaceId,a,this.delegate)}selectRootElement(d,a){return this.delegate.selectRootElement(d,a)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,a,g,b){this.delegate.setAttribute(d,a,g,b)}removeAttribute(d,a,g){this.delegate.removeAttribute(d,a,g)}addClass(d,a){this.delegate.addClass(d,a)}removeClass(d,a){this.delegate.removeClass(d,a)}setStyle(d,a,g,b){this.delegate.setStyle(d,a,g,b)}removeStyle(d,a,g){this.delegate.removeStyle(d,a,g)}setProperty(d,a,g){"@"==a.charAt(0)&&a==bo?this.disableAnimations(d,!!g):this.delegate.setProperty(d,a,g)}setValue(d,a){this.delegate.setValue(d,a)}listen(d,a,g){return this.delegate.listen(d,a,g)}disableAnimations(d,a){this.engine.disableAnimations(d,a)}}class Ho extends vi{constructor(d,a,g,b,P){super(a,g,b,P),this.factory=d,this.namespaceId=a}setProperty(d,a,g){"@"==a.charAt(0)?"."==a.charAt(1)&&a==bo?this.disableAnimations(d,g=void 0===g||!!g):this.engine.process(this.namespaceId,d,a.slice(1),g):this.delegate.setProperty(d,a,g)}listen(d,a,g){if("@"==a.charAt(0)){const b=function po(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(d);let P=a.slice(1),U="";return"@"!=P.charAt(0)&&([P,U]=function go(C){const d=C.indexOf(".");return[C.substring(0,d),C.slice(d+1)]}(P)),this.engine.listen(this.namespaceId,b,P,U,H=>{this.factory.scheduleListenerCallback(H._data||-1,g,H)})}return this.delegate.listen(d,a,g)}}class $o{constructor(d,a,g){this.delegate=d,this.engine=a,this._zone=g,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,a.onRemovalComplete=(b,P)=>{const U=P?.parentNode(b);U&&P.removeChild(U,b)}}createRenderer(d,a){const b=this.delegate.createRenderer(d,a);if(!d||!a?.data?.animation){const De=this._rendererCache;let He=De.get(b);return He||(He=new vi("",b,this.engine,()=>De.delete(b)),De.set(b,He)),He}const P=a.id,U=a.id+"-"+this._currentId;this._currentId++,this.engine.register(U,d);const H=De=>{Array.isArray(De)?De.forEach(H):this.engine.registerTrigger(P,U,d,De.name,De)};return a.data.animation.forEach(H),new Ho(this,U,b,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,a,g){if(d>=0&&da(g));const b=this._animationCallbacksBuffer;0==b.length&&queueMicrotask(()=>{this._zone.run(()=>{b.forEach(P=>{const[U,H]=P;U(H)}),this._animationCallbacksBuffer=[]})}),b.push([a,g])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const os=[{provide:jt,useFactory:function Bs(){return new hs}},{provide:ii,useClass:(()=>{class C extends ii{constructor(a,g,b){super(a,g,b,(0,l.WQX)(l.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(g){return new(g||C)(l.KVO(E.qQ),l.KVO(_n),l.KVO(jt))};static#t=this.\u0275prov=l.jDH({token:C,factory:C.\u0275fac})}return C})()},{provide:l._9s,useFactory:function Yr(C,d,a){return new $o(C,d,a)},deps:[m.B7,ii,l.SKi]}],Us=[{provide:_n,useFactory:()=>new ho},{provide:l.bc$,useValue:"BrowserAnimations"},...os],Go=[{provide:_n,useClass:Zt},{provide:l.bc$,useValue:"NoopAnimations"},...os];let aa=(()=>{class C{static withConfig(a){return{ngModule:C,providers:a.disableAnimations?Go:Us}}static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275mod=l.$C({type:C});static#n=this.\u0275inj=l.G2t({providers:Us,imports:[m.Bb]})}return C})();const nl=["input"],ua=(C,d,a)=>({"p-radiobutton p-component":!0,"p-radiobutton-checked":C,"p-radiobutton-disabled":d,"p-radiobutton-focused":a}),wo=(C,d,a)=>({"p-radiobutton-box":!0,"p-highlight":C,"p-disabled":d,"p-focus":a}),as=(C,d,a)=>({"p-radiobutton-label":!0,"p-radiobutton-label-active":C,"p-disabled":d,"p-radiobutton-label-focus":a});function Wo(C,d){if(1&C){const a=l.RV6();l.j41(0,"label",7),l.bIt("click",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.select(b))}),l.EFF(1),l.k0s()}if(2&C){const a=l.XpG(),g=l.sdS(3);l.HbH(a.labelStyleClass),l.Y8G("ngClass",l.sMw(6,as,g.checked,a.disabled,a.focused)),l.BMQ("for",a.inputId)("data-pc-section","label"),l.R7$(),l.JRh(a.label)}}const Hs={provide:Cn.kq,useExisting:(0,l.Rfq)(()=>N),multi:!0};let p=(()=>{class C{accessors=[];add(a,g){this.accessors.push([a,g])}remove(a){this.accessors=this.accessors.filter(g=>g[1]!==a)}select(a){this.accessors.forEach(g=>{this.isSameGroup(g,a)&&g[1]!==a&&g[1].writeValue(a.value)})}isSameGroup(a,g){return!!a[0].control&&a[0].control.root===g.control.control.root&&a[1].name===g.name}static \u0275fac=function(g){return new(g||C)};static \u0275prov=l.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})(),N=(()=>{class C{cd;injector;registry;value;formControlName;name;disabled;label;tabindex;inputId;ariaLabelledBy;ariaLabel;style;styleClass;labelStyleClass;onClick=new l.bkB;onFocus=new l.bkB;onBlur=new l.bkB;inputViewChild;onModelChange=()=>{};onModelTouched=()=>{};checked;focused;control;constructor(a,g,b){this.cd=a,this.injector=g,this.registry=b}ngOnInit(){this.control=this.injector.get(Cn.vO),this.checkName(),this.registry.add(this.control,this)}handleClick(a,g,b){a.preventDefault(),!this.disabled&&(this.select(a),b&&g.focus())}select(a){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:a,value:this.value}))}writeValue(a){this.checked=a==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(a){this.onModelChange=a}registerOnTouched(a){this.onModelTouched=a}setDisabledState(a){this.disabled=a,this.cd.markForCheck()}onInputFocus(a){this.focused=!0,this.onFocus.emit(a)}onInputBlur(a){this.focused=!1,this.onModelTouched(),this.onBlur.emit(a)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}static \u0275fac=function(g){return new(g||C)(l.rXU(l.gRc),l.rXU(l.zZn),l.rXU(p))};static \u0275cmp=l.VBU({type:C,selectors:[["p-radioButton"]],viewQuery:function(g,b){if(1&g&&l.GBs(nl,5),2&g){let P;l.mGM(P=l.lsd())&&(b.inputViewChild=P.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",formControlName:"formControlName",name:"name",disabled:"disabled",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[l.Jv_([Hs])],decls:7,vars:29,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"focus","blur","checked","disabled","value"],[3,"ngClass"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"],[3,"click","ngClass"]],template:function(g,b){if(1&g){const P=l.RV6();l.j41(0,"div",1),l.bIt("click",function(H){l.eBV(P);const fe=l.sdS(3);return l.Njj(b.handleClick(H,fe,!0))}),l.j41(1,"div",2)(2,"input",3,0),l.bIt("focus",function(H){return l.eBV(P),l.Njj(b.onInputFocus(H))})("blur",function(H){return l.eBV(P),l.Njj(b.onInputBlur(H))}),l.k0s()(),l.j41(4,"div",4),l.nrm(5,"span",5),l.k0s()(),l.DNE(6,Wo,2,10,"label",6)}2&g&&(l.HbH(b.styleClass),l.Y8G("ngStyle",b.style)("ngClass",l.sMw(21,ua,b.checked,b.disabled,b.focused)),l.BMQ("data-pc-name","radiobutton")("data-pc-section","root"),l.R7$(),l.BMQ("data-pc-section","hiddenInputWrapper"),l.R7$(),l.Y8G("checked",b.checked)("disabled",b.disabled)("value",b.value),l.BMQ("id",b.inputId)("name",b.name)("aria-labelledby",b.ariaLabelledBy)("aria-label",b.ariaLabel)("tabindex",b.tabindex)("aria-checked",b.checked)("data-pc-section","hiddenInput"),l.R7$(2),l.Y8G("ngClass",l.sMw(25,wo,b.checked,b.disabled,b.focused)),l.BMQ("data-pc-section","input"),l.R7$(),l.BMQ("data-pc-section","icon"),l.R7$(),l.Y8G("ngIf",b.label))},dependencies:[E.YU,E.bT,E.B3],encapsulation:2,changeDetection:0})}return C})(),D=(()=>{class C{static \u0275fac=function(g){return new(g||C)};static \u0275mod=l.$C({type:C});static \u0275inj=l.G2t({imports:[E.MD]})}return C})();const I=["input"],z=(C,d,a)=>({"p-inputswitch p-component":!0,"p-inputswitch-checked":C,"p-disabled":d,"p-focus":a}),me={provide:Cn.kq,useExisting:(0,l.Rfq)(()=>Me),multi:!0};let Me=(()=>{class C{cd;style;styleClass;tabindex;inputId;name;disabled;readonly;trueValue=!0;falseValue=!1;ariaLabel;ariaLabelledBy;onChange=new l.bkB;input;modelValue=!1;focused=!1;onModelChange=()=>{};onModelTouched=()=>{};constructor(a){this.cd=a}onClick(a){!this.disabled&&!this.readonly&&(this.modelValue=this.checked()?this.falseValue:this.trueValue,this.onModelChange(this.modelValue),this.onChange.emit({originalEvent:a,checked:this.modelValue}),a.preventDefault(),this.input.nativeElement.focus())}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}writeValue(a){this.modelValue=a,this.cd.markForCheck()}registerOnChange(a){this.onModelChange=a}registerOnTouched(a){this.onModelTouched=a}setDisabledState(a){this.disabled=a,this.cd.markForCheck()}checked(){return this.modelValue===this.trueValue}static \u0275fac=function(g){return new(g||C)(l.rXU(l.gRc))};static \u0275cmp=l.VBU({type:C,selectors:[["p-inputSwitch"]],viewQuery:function(g,b){if(1&g&&l.GBs(I,5),2&g){let P;l.mGM(P=l.lsd())&&(b.input=P.first)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",tabindex:"tabindex",inputId:"inputId",name:"name",disabled:"disabled",readonly:"readonly",trueValue:"trueValue",falseValue:"falseValue",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onChange:"onChange"},features:[l.Jv_([me])],decls:5,vars:22,consts:[["input",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"focus","blur","checked","disabled"],[1,"p-inputswitch-slider"]],template:function(g,b){if(1&g){const P=l.RV6();l.j41(0,"div",1),l.bIt("click",function(H){return l.eBV(P),l.Njj(b.onClick(H))}),l.j41(1,"div",2)(2,"input",3,0),l.bIt("focus",function(){return l.eBV(P),l.Njj(b.onFocus())})("blur",function(){return l.eBV(P),l.Njj(b.onBlur())}),l.k0s()(),l.nrm(4,"span",4),l.k0s()}2&g&&(l.HbH(b.styleClass),l.Y8G("ngClass",l.sMw(18,z,b.checked(),b.disabled,b.focused))("ngStyle",b.style),l.BMQ("data-pc-name","inputswitch")("data-pc-section","root"),l.R7$(),l.BMQ("data-pc-section","hiddenInputWrapper")("data-p-hidden-accessible",!0),l.R7$(),l.Y8G("checked",b.checked())("disabled",b.disabled),l.BMQ("id",b.inputId)("aria-checked",b.checked())("aria-labelledby",b.ariaLabelledBy)("aria-label",b.ariaLabel)("name",b.name)("tabindex",b.tabindex)("data-pc-section","hiddenInput"),l.R7$(2),l.BMQ("data-pc-section","slider"))},dependencies:[E.YU,E.B3],styles:['@layer primeng{.p-inputswitch{position:relative;display:inline-block;-webkit-user-select:none;user-select:none}.p-inputswitch-slider{position:absolute;cursor:pointer;inset:0;border:1px solid transparent}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}}\n'],encapsulation:2,changeDetection:0})}return C})(),Ke=(()=>{class C{static \u0275fac=function(g){return new(g||C)};static \u0275mod=l.$C({type:C});static \u0275inj=l.G2t({imports:[E.MD]})}return C})();var an=F(8542);let fn=(()=>{class C{static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275mod=l.$C({type:C});static#n=this.\u0275inj=l.G2t({imports:[E.MD,Cn.YN,tn,D,pt.tm,Ke]})}return C})();const hn=["submenu"],Ft=["app-menuitem",""],En=()=>({paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"});function Jt(C,d){if(1&C&&(l.j41(0,"div",5),l.EFF(1),l.k0s()),2&C){const a=l.XpG();l.R7$(),l.JRh(a.item.label)}}function xn(C,d){1&C&&l.nrm(0,"i",10)}function Qt(C,d){if(1&C){const a=l.RV6();l.j41(0,"a",6),l.bIt("click",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.itemClick(b))})("mouseenter",function(){l.eBV(a);const b=l.XpG();return l.Njj(b.onMouseEnter())}),l.nrm(1,"i",7),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.DNE(4,xn,1,0,"i",9),l.k0s()}if(2&C){const a=l.XpG();l.Y8G("ngClass",a.item.class)("pTooltip",a.item.label)("tooltipDisabled",!(a.isSlim&&a.root&&!a.active)),l.BMQ("href",a.item.url,l.B4B)("target",a.item.target),l.R7$(),l.Y8G("ngClass",a.item.icon),l.R7$(2),l.JRh(a.item.label),l.R7$(),l.Y8G("ngIf",a.item.items)}}function xe(C,d){1&C&&l.nrm(0,"i",10)}function et(C,d){if(1&C){const a=l.RV6();l.j41(0,"a",11),l.bIt("click",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.itemClick(b))})("mouseenter",function(){l.eBV(a);const b=l.XpG();return l.Njj(b.onMouseEnter())}),l.nrm(1,"i",7),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.DNE(4,xe,1,0,"i",9),l.k0s()}if(2&C){const a=l.XpG();l.Y8G("ngClass",a.item.class)("routerLink",a.item.routerLink)("routerLinkActiveOptions",a.item.routerLinkActiveOptions||l.lJ4(16,En))("fragment",a.item.fragment)("queryParamsHandling",a.item.queryParamsHandling)("preserveFragment",a.item.preserveFragment)("skipLocationChange",a.item.skipLocationChange)("replaceUrl",a.item.replaceUrl)("state",a.item.state)("queryParams",a.item.queryParams)("pTooltip",a.item.label)("tooltipDisabled",!(a.isSlim&&a.root)),l.BMQ("target",a.item.target),l.R7$(),l.Y8G("ngClass",a.item.icon),l.R7$(2),l.JRh(a.item.label),l.R7$(),l.Y8G("ngIf",a.item.items)}}function Xt(C,d){if(1&C&&l.nrm(0,"li",13),2&C){const a=d.$implicit,g=d.index,b=l.XpG(2);l.HbH(a.badgeClass),l.Y8G("item",a)("index",g)("parentKey",b.key)}}function or(C,d){if(1&C){const a=l.RV6();l.j41(0,"ul",null,0),l.bIt("@children.done",function(b){l.eBV(a);const P=l.XpG();return l.Njj(P.onSubmenuAnimated(b))}),l.DNE(2,Xt,1,5,"ng-template",12),l.k0s()}if(2&C){const a=l.XpG();l.Y8G("@children",a.submenuAnimation),l.R7$(2),l.Y8G("ngForOf",a.item.items)}}let Sn=(()=>{class C{constructor(a,g,b,P,U){this.layoutService=a,this.cd=g,this.router=b,this.appSidebar=P,this.menuService=U,this.active=!1,this.key="",this.menuSourceSubscription=this.menuService.menuSource$.subscribe(H=>{Promise.resolve(null).then(()=>{H.routeEvent?this.active=!(H.key!==this.key&&!H.key.startsWith(this.key+"-")):H.key!==this.key&&!H.key.startsWith(this.key+"-")&&(this.active=!1)})}),this.menuResetSubscription=this.menuService.resetSource$.subscribe(()=>{this.active=!1}),this.router.events.pipe((0,le.p)(H=>H instanceof X.wF)).subscribe(H=>{this.isSlimPlus||this.isSlim||this.isHorizontal?this.active=!1:this.item.routerLink&&this.updateActiveStateFromRoute()})}ngOnInit(){this.key=this.parentKey?this.parentKey+"-"+this.index:String(this.index),!(this.isSlimPlus||this.isSlim||this.isHorizontal)&&this.item.routerLink&&this.updateActiveStateFromRoute()}ngAfterViewChecked(){this.root&&this.active&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&this.calculatePosition(this.submenu?.nativeElement,this.submenu?.nativeElement.parentElement)}updateActiveStateFromRoute(){this.router.isActive(this.item.routerLink[0],{paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"})&&this.menuService.onMenuStateChange({key:this.key,routeEvent:!0})}onSubmenuAnimated(a){if("visible"===a.toState&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())){const g=a.element;this.calculatePosition(g,g.parentElement)}}calculatePosition(a,g){if(a){const{left:b,top:P}=g.getBoundingClientRect(),[U,H]=[window.innerWidth,window.innerHeight],[fe,De]=[a.offsetWidth,a.offsetHeight],He=Y.D.calculateScrollbarWidth();if(a.style.top="",a.style.left="",this.layoutService.isHorizontal()){const We=b+fe+He;a.style.left=U expanded",(0,ne.i0)("400ms cubic-bezier(0.86, 0, 0.07, 1)"))])]}})}return C})(),nr=(()=>{class C{static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275mod=l.$C({type:C});static#n=this.\u0275inj=l.G2t({imports:[m.Bb,Cn.YN,It.q1,aa,ot.u,tn,er.EJ,D,Ke,pt.tm,an.S,Ee.Z,X.iI,fn]})}return C})();l.wjB(K,[E.Sq,E.bT,Sn],[]);let Oi=(()=>{class C{static#e=this.\u0275fac=function(g){return new(g||C)};static#t=this.\u0275mod=l.$C({type:C,bootstrap:[Mt]});static#n=this.\u0275inj=l.G2t({providers:[{provide:E.hb,useClass:E.fw}],imports:[qi,nr]})}return C})();m.sG().bootstrapModule(Oi).catch(C=>console.error(C))},4412:(Je,Ie,F)=>{F.d(Ie,{t:()=>E});var m=F(1413);class E extends m.B{constructor(le){super(),this._value=le}get value(){return this.getValue()}_subscribe(le){const l=super._subscribe(le);return!l.closed&&le.next(this._value),l}getValue(){const{hasError:le,thrownError:l,_value:V}=this;if(le)throw l;return this._throwIfClosed(),V}next(le){super.next(this._value=le)}}},1985:(Je,Ie,F)=>{F.d(Ie,{c:()=>W});var m=F(7707),E=F(8359),X=F(3494),le=F(1203),l=F(1026),V=F(8071),O=F(9786);let W=(()=>{class ue{constructor(we){we&&(this._subscribe=we)}lift(we){const je=new ue;return je.source=this,je.operator=we,je}subscribe(we,je,nt){const ot=function K(ue){return ue&&ue instanceof m.vU||function k(ue){return ue&&(0,V.T)(ue.next)&&(0,V.T)(ue.error)&&(0,V.T)(ue.complete)}(ue)&&(0,E.Uv)(ue)}(we)?we:new m.Ms(we,je,nt);return(0,O.Y)(()=>{const{operator:pt,source:zt}=this;ot.add(pt?pt.call(ot,zt):zt?this._subscribe(ot):this._trySubscribe(ot))}),ot}_trySubscribe(we){try{return this._subscribe(we)}catch(je){we.error(je)}}forEach(we,je){return new(je=$(je))((nt,ot)=>{const pt=new m.Ms({next:zt=>{try{we(zt)}catch(Bt){ot(Bt),pt.unsubscribe()}},error:ot,complete:nt});this.subscribe(pt)})}_subscribe(we){var je;return null===(je=this.source)||void 0===je?void 0:je.subscribe(we)}[X.s](){return this}pipe(...we){return(0,le.m)(we)(this)}toPromise(we){return new(we=$(we))((je,nt)=>{let ot;this.subscribe(pt=>ot=pt,pt=>nt(pt),()=>je(ot))})}}return ue.create=Re=>new ue(Re),ue})();function $(ue){var Re;return null!==(Re=ue??l.$.Promise)&&void 0!==Re?Re:Promise}},1413:(Je,Ie,F)=>{F.d(Ie,{B:()=>O});var m=F(1985),E=F(8359);const le=(0,F(1853).L)($=>function(){$(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=F(7908),V=F(9786);let O=(()=>{class $ extends m.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const ue=new W(this,this);return ue.operator=K,ue}_throwIfClosed(){if(this.closed)throw new le}next(K){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ue of this.currentObservers)ue.next(K)}})}error(K){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:ue}=this;for(;ue.length;)ue.shift().error(K)}})}complete(){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:ue,isStopped:Re,observers:we}=this;return ue||Re?E.Kn:(this.currentObservers=null,we.push(K),new E.yU(()=>{this.currentObservers=null,(0,l.o)(we,K)}))}_checkFinalizedStatuses(K){const{hasError:ue,thrownError:Re,isStopped:we}=this;ue?K.error(Re):we&&K.complete()}asObservable(){const K=new m.c;return K.source=this,K}}return $.create=(k,K)=>new W(k,K),$})();class W extends O{constructor(k,K){super(),this.destination=k,this.source=K}next(k){var K,ue;null===(ue=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===ue||ue.call(K,k)}error(k){var K,ue;null===(ue=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===ue||ue.call(K,k)}complete(){var k,K;null===(K=null===(k=this.destination)||void 0===k?void 0:k.complete)||void 0===K||K.call(k)}_subscribe(k){var K,ue;return null!==(ue=null===(K=this.source)||void 0===K?void 0:K.subscribe(k))&&void 0!==ue?ue:E.Kn}}},7707:(Je,Ie,F)=>{F.d(Ie,{Ms:()=>nt,vU:()=>ue});var m=F(8071),E=F(8359),X=F(1026),le=F(5334),l=F(5343);const V=$("C",void 0,void 0);function $(Le,de,qe){return{kind:Le,value:de,error:qe}}var k=F(9270),K=F(9786);class ue extends E.yU{constructor(de){super(),this.isStopped=!1,de?(this.destination=de,(0,E.Uv)(de)&&de.add(this)):this.destination=Bt}static create(de,qe,ie){return new nt(de,qe,ie)}next(de){this.isStopped?zt(function W(Le){return $("N",Le,void 0)}(de),this):this._next(de)}error(de){this.isStopped?zt(function O(Le){return $("E",void 0,Le)}(de),this):(this.isStopped=!0,this._error(de))}complete(){this.isStopped?zt(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(de){this.destination.next(de)}_error(de){try{this.destination.error(de)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Re=Function.prototype.bind;function we(Le,de){return Re.call(Le,de)}class je{constructor(de){this.partialObserver=de}next(de){const{partialObserver:qe}=this;if(qe.next)try{qe.next(de)}catch(ie){ot(ie)}}error(de){const{partialObserver:qe}=this;if(qe.error)try{qe.error(de)}catch(ie){ot(ie)}else ot(de)}complete(){const{partialObserver:de}=this;if(de.complete)try{de.complete()}catch(qe){ot(qe)}}}class nt extends ue{constructor(de,qe,ie){let ee;if(super(),(0,m.T)(de)||!de)ee={next:de??void 0,error:qe??void 0,complete:ie??void 0};else{let ne;this&&X.$.useDeprecatedNextContext?(ne=Object.create(de),ne.unsubscribe=()=>this.unsubscribe(),ee={next:de.next&&we(de.next,ne),error:de.error&&we(de.error,ne),complete:de.complete&&we(de.complete,ne)}):ee=de}this.destination=new je(ee)}}function ot(Le){X.$.useDeprecatedSynchronousErrorHandling?(0,K.l)(Le):(0,le.m)(Le)}function zt(Le,de){const{onStoppedNotification:qe}=X.$;qe&&k.f.setTimeout(()=>qe(Le,de))}const Bt={closed:!0,next:l.l,error:function pt(Le){throw Le},complete:l.l}},8359:(Je,Ie,F)=>{F.d(Ie,{Kn:()=>V,yU:()=>l,Uv:()=>O});var m=F(8071);const X=(0,F(1853).L)($=>function(K){$(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((ue,Re)=>`${Re+1}) ${ue.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=K});var le=F(7908);class l{constructor(k){this.initialTeardown=k,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let k;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const we of K)we.remove(this);else K.remove(this);const{initialTeardown:ue}=this;if((0,m.T)(ue))try{ue()}catch(we){k=we instanceof X?we.errors:[we]}const{_finalizers:Re}=this;if(Re){this._finalizers=null;for(const we of Re)try{W(we)}catch(je){k=k??[],je instanceof X?k=[...k,...je.errors]:k.push(je)}}if(k)throw new X(k)}}add(k){var K;if(k&&k!==this)if(this.closed)W(k);else{if(k instanceof l){if(k.closed||k._hasParent(this))return;k._addParent(this)}(this._finalizers=null!==(K=this._finalizers)&&void 0!==K?K:[]).push(k)}}_hasParent(k){const{_parentage:K}=this;return K===k||Array.isArray(K)&&K.includes(k)}_addParent(k){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(k),K):K?[K,k]:k}_removeParent(k){const{_parentage:K}=this;K===k?this._parentage=null:Array.isArray(K)&&(0,le.o)(K,k)}remove(k){const{_finalizers:K}=this;K&&(0,le.o)(K,k),k instanceof l&&k._removeParent(this)}}l.EMPTY=(()=>{const $=new l;return $.closed=!0,$})();const V=l.EMPTY;function O($){return $ instanceof l||$&&"closed"in $&&(0,m.T)($.remove)&&(0,m.T)($.add)&&(0,m.T)($.unsubscribe)}function W($){(0,m.T)($)?$():$.unsubscribe()}},1026:(Je,Ie,F)=>{F.d(Ie,{$:()=>m});const m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6648:(Je,Ie,F)=>{F.d(Ie,{H:()=>ie});var m=F(8750),E=F(5225),X=F(9974),le=F(4360);function l(ee,ne=0){return(0,X.N)((ve,Y)=>{ve.subscribe((0,le._)(Y,Oe=>(0,E.N)(Y,ee,()=>Y.next(Oe),ne),()=>(0,E.N)(Y,ee,()=>Y.complete(),ne),Oe=>(0,E.N)(Y,ee,()=>Y.error(Oe),ne)))})}function V(ee,ne=0){return(0,X.N)((ve,Y)=>{Y.add(ee.schedule(()=>ve.subscribe(Y),ne))})}var $=F(1985),K=F(4761),ue=F(8071);function we(ee,ne){if(!ee)throw new Error("Iterable cannot be null");return new $.c(ve=>{(0,E.N)(ve,ne,()=>{const Y=ee[Symbol.asyncIterator]();(0,E.N)(ve,ne,()=>{Y.next().then(Oe=>{Oe.done?ve.complete():ve.next(Oe.value)})},0,!0)})})}var je=F(5055),nt=F(9858),ot=F(7441),pt=F(5397),zt=F(7953),Bt=F(591),Le=F(5196);function ie(ee,ne){return ne?function qe(ee,ne){if(null!=ee){if((0,je.l)(ee))return function O(ee,ne){return(0,m.Tg)(ee).pipe(V(ne),l(ne))}(ee,ne);if((0,ot.X)(ee))return function k(ee,ne){return new $.c(ve=>{let Y=0;return ne.schedule(function(){Y===ee.length?ve.complete():(ve.next(ee[Y++]),ve.closed||this.schedule())})})}(ee,ne);if((0,nt.y)(ee))return function W(ee,ne){return(0,m.Tg)(ee).pipe(V(ne),l(ne))}(ee,ne);if((0,zt.T)(ee))return we(ee,ne);if((0,pt.x)(ee))return function Re(ee,ne){return new $.c(ve=>{let Y;return(0,E.N)(ve,ne,()=>{Y=ee[K.l](),(0,E.N)(ve,ne,()=>{let Oe,Ee;try{({value:Oe,done:Ee}=Y.next())}catch(rt){return void ve.error(rt)}Ee?ve.complete():ve.next(Oe)},0,!0)}),()=>(0,ue.T)(Y?.return)&&Y.return()})}(ee,ne);if((0,Le.U)(ee))return function de(ee,ne){return we((0,Le.C)(ee),ne)}(ee,ne)}throw(0,Bt.L)(ee)}(ee,ne):(0,m.Tg)(ee)}},8750:(Je,Ie,F)=>{F.d(Ie,{Tg:()=>Re});var m=F(1635),E=F(7441),X=F(9858),le=F(1985),l=F(5055),V=F(7953),O=F(591),W=F(5397),$=F(5196),k=F(8071),K=F(5334),ue=F(3494);function Re(Le){if(Le instanceof le.c)return Le;if(null!=Le){if((0,l.l)(Le))return function we(Le){return new le.c(de=>{const qe=Le[ue.s]();if((0,k.T)(qe.subscribe))return qe.subscribe(de);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Le);if((0,E.X)(Le))return function je(Le){return new le.c(de=>{for(let qe=0;qe{Le.then(qe=>{de.closed||(de.next(qe),de.complete())},qe=>de.error(qe)).then(null,K.m)})}(Le);if((0,V.T)(Le))return pt(Le);if((0,W.x)(Le))return function ot(Le){return new le.c(de=>{for(const qe of Le)if(de.next(qe),de.closed)return;de.complete()})}(Le);if((0,$.U)(Le))return function zt(Le){return pt((0,$.C)(Le))}(Le)}throw(0,O.L)(Le)}function pt(Le){return new le.c(de=>{(function Bt(Le,de){var qe,ie,ee,ne;return(0,m.sH)(this,void 0,void 0,function*(){try{for(qe=(0,m.xN)(Le);!(ie=yield qe.next()).done;)if(de.next(ie.value),de.closed)return}catch(ve){ee={error:ve}}finally{try{ie&&!ie.done&&(ne=qe.return)&&(yield ne.call(qe))}finally{if(ee)throw ee.error}}de.complete()})})(Le,de).catch(qe=>de.error(qe))})}},7673:(Je,Ie,F)=>{F.d(Ie,{of:()=>X});var m=F(9326),E=F(6648);function X(...le){const l=(0,m.lI)(le);return(0,E.H)(le,l)}},4360:(Je,Ie,F)=>{F.d(Ie,{_:()=>E});var m=F(7707);function E(le,l,V,O,W){return new X(le,l,V,O,W)}class X extends m.vU{constructor(l,V,O,W,$,k){super(l),this.onFinalize=$,this.shouldUnsubscribe=k,this._next=V?function(K){try{V(K)}catch(ue){l.error(ue)}}:super._next,this._error=W?function(K){try{W(K)}catch(ue){l.error(ue)}finally{this.unsubscribe()}}:super._error,this._complete=O?function(){try{O()}catch(K){l.error(K)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:V}=this;super.unsubscribe(),!V&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},274:(Je,Ie,F)=>{F.d(Ie,{H:()=>X});var m=F(1397),E=F(8071);function X(le,l){return(0,E.T)(l)?(0,m.Z)(le,l,1):(0,m.Z)(le,1)}},5964:(Je,Ie,F)=>{F.d(Ie,{p:()=>X});var m=F(9974),E=F(4360);function X(le,l){return(0,m.N)((V,O)=>{let W=0;V.subscribe((0,E._)(O,$=>le.call(l,$,W++)&&O.next($)))})}},980:(Je,Ie,F)=>{F.d(Ie,{j:()=>E});var m=F(9974);function E(X){return(0,m.N)((le,l)=>{try{le.subscribe(l)}finally{l.add(X)}})}},6354:(Je,Ie,F)=>{F.d(Ie,{T:()=>X});var m=F(9974),E=F(4360);function X(le,l){return(0,m.N)((V,O)=>{let W=0;V.subscribe((0,E._)(O,$=>{O.next(le.call(l,$,W++))}))})}},1397:(Je,Ie,F)=>{F.d(Ie,{Z:()=>W});var m=F(6354),E=F(8750),X=F(9974),le=F(5225),l=F(4360),O=F(8071);function W($,k,K=1/0){return(0,O.T)(k)?W((ue,Re)=>(0,m.T)((we,je)=>k(ue,we,Re,je))((0,E.Tg)($(ue,Re))),K):("number"==typeof k&&(K=k),(0,X.N)((ue,Re)=>function V($,k,K,ue,Re,we,je,nt){const ot=[];let pt=0,zt=0,Bt=!1;const Le=()=>{Bt&&!ot.length&&!pt&&k.complete()},de=ie=>pt{we&&k.next(ie),pt++;let ee=!1;(0,E.Tg)(K(ie,zt++)).subscribe((0,l._)(k,ne=>{Re?.(ne),we?de(ne):k.next(ne)},()=>{ee=!0},void 0,()=>{if(ee)try{for(pt--;ot.length&&ptqe(ne)):qe(ne)}Le()}catch(ne){k.error(ne)}}))};return $.subscribe((0,l._)(k,de,()=>{Bt=!0,Le()})),()=>{nt?.()}}(ue,Re,$,K)))}},5558:(Je,Ie,F)=>{F.d(Ie,{n:()=>le});var m=F(8750),E=F(9974),X=F(4360);function le(l,V){return(0,E.N)((O,W)=>{let $=null,k=0,K=!1;const ue=()=>K&&!$&&W.complete();O.subscribe((0,X._)(W,Re=>{$?.unsubscribe();let we=0;const je=k++;(0,m.Tg)(l(Re,je)).subscribe($=(0,X._)(W,nt=>W.next(V?V(Re,nt,je,we++):nt),()=>{$=null,ue()}))},()=>{K=!0,ue()}))})}},9270:(Je,Ie,F)=>{F.d(Ie,{f:()=>m});const m={setTimeout(E,X,...le){const{delegate:l}=m;return l?.setTimeout?l.setTimeout(E,X,...le):setTimeout(E,X,...le)},clearTimeout(E){const{delegate:X}=m;return(X?.clearTimeout||clearTimeout)(E)},delegate:void 0}},4761:(Je,Ie,F)=>{F.d(Ie,{l:()=>E});const E=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Je,Ie,F)=>{F.d(Ie,{s:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Je,Ie,F)=>{F.d(Ie,{lI:()=>l,ms:()=>le});var m=F(8071),E=F(9470);function X(O){return O[O.length-1]}function le(O){return(0,m.T)(X(O))?O.pop():void 0}function l(O){return(0,E.m)(X(O))?O.pop():void 0}},3073:(Je,Ie,F)=>{F.d(Ie,{D:()=>l});const{isArray:m}=Array,{getPrototypeOf:E,prototype:X,keys:le}=Object;function l(O){if(1===O.length){const W=O[0];if(m(W))return{args:W,keys:null};if(function V(O){return O&&"object"==typeof O&&E(O)===X}(W)){const $=le(W);return{args:$.map(k=>W[k]),keys:$}}}return{args:O,keys:null}}},7908:(Je,Ie,F)=>{function m(E,X){if(E){const le=E.indexOf(X);0<=le&&E.splice(le,1)}}F.d(Ie,{o:()=>m})},1853:(Je,Ie,F)=>{function m(E){const le=E(l=>{Error.call(l),l.stack=(new Error).stack});return le.prototype=Object.create(Error.prototype),le.prototype.constructor=le,le}F.d(Ie,{L:()=>m})},8496:(Je,Ie,F)=>{function m(E,X){return E.reduce((le,l,V)=>(le[l]=X[V],le),{})}F.d(Ie,{e:()=>m})},9786:(Je,Ie,F)=>{F.d(Ie,{Y:()=>X,l:()=>le});var m=F(1026);let E=null;function X(l){if(m.$.useDeprecatedSynchronousErrorHandling){const V=!E;if(V&&(E={errorThrown:!1,error:null}),l(),V){const{errorThrown:O,error:W}=E;if(E=null,O)throw W}}else l()}function le(l){m.$.useDeprecatedSynchronousErrorHandling&&E&&(E.errorThrown=!0,E.error=l)}},5225:(Je,Ie,F)=>{function m(E,X,le,l=0,V=!1){const O=X.schedule(function(){le(),V?E.add(this.schedule(null,l)):this.unsubscribe()},l);if(E.add(O),!V)return O}F.d(Ie,{N:()=>m})},3669:(Je,Ie,F)=>{function m(E){return E}F.d(Ie,{D:()=>m})},7441:(Je,Ie,F)=>{F.d(Ie,{X:()=>m});const m=E=>E&&"number"==typeof E.length&&"function"!=typeof E},7953:(Je,Ie,F)=>{F.d(Ie,{T:()=>E});var m=F(8071);function E(X){return Symbol.asyncIterator&&(0,m.T)(X?.[Symbol.asyncIterator])}},8071:(Je,Ie,F)=>{function m(E){return"function"==typeof E}F.d(Ie,{T:()=>m})},5055:(Je,Ie,F)=>{F.d(Ie,{l:()=>X});var m=F(3494),E=F(8071);function X(le){return(0,E.T)(le[m.s])}},5397:(Je,Ie,F)=>{F.d(Ie,{x:()=>X});var m=F(4761),E=F(8071);function X(le){return(0,E.T)(le?.[m.l])}},9858:(Je,Ie,F)=>{F.d(Ie,{y:()=>E});var m=F(8071);function E(X){return(0,m.T)(X?.then)}},5196:(Je,Ie,F)=>{F.d(Ie,{C:()=>X,U:()=>le});var m=F(1635),E=F(8071);function X(l){return(0,m.AQ)(this,arguments,function*(){const O=l.getReader();try{for(;;){const{value:W,done:$}=yield(0,m.N3)(O.read());if($)return yield(0,m.N3)(void 0);yield yield(0,m.N3)(W)}}finally{O.releaseLock()}})}function le(l){return(0,E.T)(l?.getReader)}},9470:(Je,Ie,F)=>{F.d(Ie,{m:()=>E});var m=F(8071);function E(X){return X&&(0,m.T)(X.schedule)}},9974:(Je,Ie,F)=>{F.d(Ie,{N:()=>X,S:()=>E});var m=F(8071);function E(le){return(0,m.T)(le?.lift)}function X(le){return l=>{if(E(l))return l.lift(function(V){try{return le(V,this)}catch(O){this.error(O)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Je,Ie,F)=>{F.d(Ie,{I:()=>le});var m=F(6354);const{isArray:E}=Array;function le(l){return(0,m.T)(V=>function X(l,V){return E(V)?l(...V):l(V)}(l,V))}},5343:(Je,Ie,F)=>{function m(){}F.d(Ie,{l:()=>m})},1203:(Je,Ie,F)=>{F.d(Ie,{F:()=>E,m:()=>X});var m=F(3669);function E(...le){return X(le)}function X(le){return 0===le.length?m.D:1===le.length?le[0]:function(V){return le.reduce((O,W)=>W(O),V)}}},5334:(Je,Ie,F)=>{F.d(Ie,{m:()=>X});var m=F(1026),E=F(9270);function X(le){E.f.setTimeout(()=>{const{onUnhandledError:l}=m.$;if(!l)throw le;l(le)})}},591:(Je,Ie,F)=>{function m(E){return new TypeError(`You provided ${null!==E&&"object"==typeof E?"an invalid object":`'${E}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}F.d(Ie,{L:()=>m})},9969:(Je,Ie,F)=>{F.d(Ie,{FX:()=>ne,If:()=>m,K2:()=>V,hZ:()=>X,i0:()=>le,iF:()=>O,kY:()=>k,kp:()=>E,lY:()=>K,sM:()=>Re,sf:()=>ie,ui:()=>ee,wk:()=>W});var m=function(ve){return ve[ve.State=0]="State",ve[ve.Transition=1]="Transition",ve[ve.Sequence=2]="Sequence",ve[ve.Group=3]="Group",ve[ve.Animate=4]="Animate",ve[ve.Keyframes=5]="Keyframes",ve[ve.Style=6]="Style",ve[ve.Trigger=7]="Trigger",ve[ve.Reference=8]="Reference",ve[ve.AnimateChild=9]="AnimateChild",ve[ve.AnimateRef=10]="AnimateRef",ve[ve.Query=11]="Query",ve[ve.Stagger=12]="Stagger",ve}(m||{});const E="*";function X(ve,Y){return{type:m.Trigger,name:ve,definitions:Y,options:{}}}function le(ve,Y=null){return{type:m.Animate,styles:Y,timings:ve}}function V(ve,Y=null){return{type:m.Sequence,steps:ve,options:Y}}function O(ve){return{type:m.Style,styles:ve,offset:null}}function W(ve,Y,Oe){return{type:m.State,name:ve,styles:Y,options:Oe}}function k(ve,Y,Oe=null){return{type:m.Transition,expr:ve,animation:Y,options:Oe}}function K(ve,Y=null){return{type:m.Reference,animation:ve,options:Y}}function Re(ve,Y=null){return{type:m.AnimateRef,animation:ve,options:Y}}class ie{constructor(Y=0,Oe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+Oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const Oe="start"==Y?this._onStartFns:this._onDoneFns;Oe.forEach(Ee=>Ee()),Oe.length=0}}class ee{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let Oe=0,Ee=0,rt=0;const _t=this.players.length;0==_t?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ht=>{Ht.onDone(()=>{++Oe==_t&&this._onFinish()}),Ht.onDestroy(()=>{++Ee==_t&&this._onDestroy()}),Ht.onStart(()=>{++rt==_t&&this._onStart()})}),this.totalTime=this.players.reduce((Ht,qt)=>Math.max(Ht,qt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const Oe=Y*this.totalTime;this.players.forEach(Ee=>{const rt=Ee.totalTime?Math.min(1,Oe/Ee.totalTime):1;Ee.setPosition(rt)})}getPosition(){const Y=this.players.reduce((Oe,Ee)=>null===Oe||Ee.totalTime>Oe.totalTime?Ee:Oe,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const Oe="start"==Y?this._onStartFns:this._onDoneFns;Oe.forEach(Ee=>Ee()),Oe.length=0}}const ne="!"},177:(Je,Ie,F)=>{F.d(Ie,{AJ:()=>Mi,B3:()=>lt,Jj:()=>bt,MD:()=>ur,N0:()=>qr,QT:()=>X,Sm:()=>nt,Sq:()=>st,T3:()=>ze,UE:()=>Hr,VF:()=>l,Vy:()=>Ji,Xr:()=>ts,YU:()=>_e,ZD:()=>le,_b:()=>Q,aZ:()=>pt,bT:()=>jt,fw:()=>ot,hb:()=>we,hj:()=>$,qQ:()=>O});var m=F(4438);let E=null;function X(){return E}function le(p){E??=p}class l{}const O=new m.nKC("");let W=(()=>{class p{historyGo(D){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=m.jDH({token:p,factory:()=>(0,m.WQX)(k),providedIn:"platform"})}return p})();const $=new m.nKC("");let k=(()=>{class p extends W{constructor(){super(),this._doc=(0,m.WQX)(O),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(D){const I=X().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",D,!1),()=>I.removeEventListener("popstate",D)}onHashChange(D){const I=X().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",D,!1),()=>I.removeEventListener("hashchange",D)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(D){this._location.pathname=D}pushState(D,I,z){this._history.pushState(D,I,z)}replaceState(D,I,z){this._history.replaceState(D,I,z)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=m.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function K(p,N){if(0==p.length)return N;if(0==N.length)return p;let D=0;return p.endsWith("/")&&D++,N.startsWith("/")&&D++,2==D?p+N.substring(1):1==D?p+N:p+"/"+N}function ue(p){const N=p.match(/#|\?|$/),D=N&&N.index||p.length;return p.slice(0,D-("/"===p[D-1]?1:0))+p.slice(D)}function Re(p){return p&&"?"!==p[0]?"?"+p:p}let we=(()=>{class p{historyGo(D){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=m.jDH({token:p,factory:()=>(0,m.WQX)(nt),providedIn:"root"})}return p})();const je=new m.nKC("");let nt=(()=>{class p extends we{constructor(D,I){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,m.WQX)(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return K(this._baseHref,D)}path(D=!1){const I=this._platformLocation.pathname+Re(this._platformLocation.search),z=this._platformLocation.hash;return z&&D?`${I}${z}`:I}pushState(D,I,z,me){const Me=this.prepareExternalUrl(z+Re(me));this._platformLocation.pushState(D,I,Me)}replaceState(D,I,z,me){const Me=this.prepareExternalUrl(z+Re(me));this._platformLocation.replaceState(D,I,Me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static#e=this.\u0275fac=function(I){return new(I||p)(m.KVO(W),m.KVO(je,8))};static#t=this.\u0275prov=m.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),ot=(()=>{class p extends we{constructor(D,I){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(D){const I=K(this._baseHref,D);return I.length>0?"#"+I:I}pushState(D,I,z,me){let Me=this.prepareExternalUrl(z+Re(me));0==Me.length&&(Me=this._platformLocation.pathname),this._platformLocation.pushState(D,I,Me)}replaceState(D,I,z,me){let Me=this.prepareExternalUrl(z+Re(me));0==Me.length&&(Me=this._platformLocation.pathname),this._platformLocation.replaceState(D,I,Me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static#e=this.\u0275fac=function(I){return new(I||p)(m.KVO(W),m.KVO(je,8))};static#t=this.\u0275prov=m.jDH({token:p,factory:p.\u0275fac})}return p})(),pt=(()=>{class p{constructor(D){this._subject=new m.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const I=this._locationStrategy.getBaseHref();this._basePath=function de(p){if(new RegExp("^(https?:)?//").test(p)){const[,D]=p.split(/\/\/[^\/]+/);return D}return p}(ue(Le(I))),this._locationStrategy.onPopState(z=>{this._subject.emit({url:this.path(!0),pop:!0,state:z.state,type:z.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,I=""){return this.path()==this.normalize(D+Re(I))}normalize(D){return p.stripTrailingSlash(function Bt(p,N){if(!p||!N.startsWith(p))return N;const D=N.substring(p.length);return""===D||["/",";","?","#"].includes(D[0])?D:N}(this._basePath,Le(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,I="",z=null){this._locationStrategy.pushState(z,"",D,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Re(I)),z)}replaceState(D,I="",z=null){this._locationStrategy.replaceState(z,"",D,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Re(I)),z)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",I){this._urlChangeListeners.forEach(z=>z(D,I))}subscribe(D,I,z){return this._subject.subscribe({next:D,error:I,complete:z})}static#e=this.normalizeQueryParams=Re;static#t=this.joinWithSlash=K;static#n=this.stripTrailingSlash=ue;static#r=this.\u0275fac=function(I){return new(I||p)(m.KVO(we))};static#i=this.\u0275prov=m.jDH({token:p,factory:()=>function zt(){return new pt((0,m.KVO)(we))}(),providedIn:"root"})}return p})();function Le(p){return p.replace(/\/index.html$/,"")}function Q(p,N){N=encodeURIComponent(N);for(const D of p.split(";")){const I=D.indexOf("="),[z,me]=-1==I?[D,""]:[D.slice(0,I),D.slice(I+1)];if(z.trim()===N)return decodeURIComponent(me)}return null}const q=/\s+/,be=[];let _e=(()=>{class p{constructor(D,I){this._ngEl=D,this._renderer=I,this.initialClasses=be,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(q):be}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(q):D}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const I of D)this._updateState(I,!0);else if(null!=D)for(const I of Object.keys(D))this._updateState(I,!!D[I]);this._applyStateDiff()}_updateState(D,I){const z=this.stateMap.get(D);void 0!==z?(z.enabled!==I&&(z.changed=!0,z.enabled=I),z.touched=!0):this.stateMap.set(D,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const I=D[0],z=D[1];z.changed?(this._toggleClass(I,z.enabled),z.changed=!1):z.touched||(z.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),z.touched=!1}}_toggleClass(D,I){(D=D.trim()).length>0&&D.split(q).forEach(z=>{I?this._renderer.addClass(this._ngEl.nativeElement,z):this._renderer.removeClass(this._ngEl.nativeElement,z)})}static#e=this.\u0275fac=function(I){return new(I||p)(m.rXU(m.aKT),m.rXU(m.sFG))};static#t=this.\u0275dir=m.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[m.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class mt{constructor(N,D,I,z){this.$implicit=N,this.ngForOf=D,this.index=I,this.count=z}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let st=(()=>{class p{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,I,z){this._viewContainer=D,this._template=I,this._differs=z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const I=this._viewContainer;D.forEachOperation((z,me,Me)=>{if(null==z.previousIndex)I.createEmbeddedView(this._template,new mt(z.item,this._ngForOf,-1,-1),null===Me?void 0:Me);else if(null==Me)I.remove(null===me?void 0:me);else if(null!==me){const Ke=I.get(me);I.move(Ke,Me),Zt(Ke,z)}});for(let z=0,me=I.length;z{Zt(I.get(z.currentIndex),z)})}static ngTemplateContextGuard(D,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(m.rXU(m.c1b),m.rXU(m.C4Q),m.rXU(m._q3))};static#t=this.\u0275dir=m.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function Zt(p,N){p.context.$implicit=N.item}let jt=(()=>{class p{constructor(D,I){this._viewContainer=D,this._context=new Nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){wr("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){wr("ngIfElse",D),this._elseTemplateRef=D,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(D,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(m.rXU(m.c1b),m.rXU(m.C4Q))};static#t=this.\u0275dir=m.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class Nn{constructor(){this.$implicit=null,this.ngIf=null}}function wr(p,N){if(N&&!N.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,m.Tbb)(N)}'.`)}let lt=(()=>{class p{constructor(D,I,z){this._ngEl=D,this._differs=I,this._renderer=z,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,I){const[z,me]=D.split("."),Me=-1===z.indexOf("-")?void 0:m.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,z,me?`${I}${me}`:I,Me):this._renderer.removeStyle(this._ngEl.nativeElement,z,Me)}_applyChanges(D){D.forEachRemovedItem(I=>this._setStyle(I.key,null)),D.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),D.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}static#e=this.\u0275fac=function(I){return new(I||p)(m.rXU(m.aKT),m.rXU(m.MKu),m.rXU(m.sFG))};static#t=this.\u0275dir=m.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),ze=(()=>{class p{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(this._shouldRecreateView(D)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const z=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,z,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(D){return!!D.ngTemplateOutlet||!!D.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(D,I,z)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,z),get:(D,I,z)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,z)}})}static#e=this.\u0275fac=function(I){return new(I||p)(m.rXU(m.c1b))};static#t=this.\u0275dir=m.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.OA$]})}return p})();class Pr{createSubscription(N,D){return(0,m.O8t)(()=>N.subscribe({next:D,error:I=>{throw I}}))}dispose(N){(0,m.O8t)(()=>N.unsubscribe())}}class Dn{createSubscription(N,D){return N.then(D,I=>{throw I})}dispose(N){}}const jr=new Dn,yr=new Pr;let bt=(()=>{class p{constructor(D){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){if(!this._obj){if(D)try{this.markForCheckOnValueUpdate=!1,this._subscribe(D)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,I=>this._updateLatestValue(D,I))}_selectStrategy(D){if((0,m.jNT)(D))return jr;if((0,m.zjR)(D))return yr;throw function mr(p,N){return new m.wOt(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,I){D===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(m.rXU(m.gRc,16))};static#t=this.\u0275pipe=m.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})(),ur=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=m.$C({type:p});static#n=this.\u0275inj=m.G2t({})}return p})();const Mi="browser",Li="server";function Hr(p){return p===Mi}function Ji(p){return p===Li}let ts=(()=>{class p{static#e=this.\u0275prov=(0,m.jDH)({token:p,providedIn:"root",factory:()=>Hr((0,m.WQX)(m.Agw))?new Xn((0,m.WQX)(O),window):new $r})}return p})();class Xn{constructor(N,D){this.document=N,this.window=D,this.offset=()=>[0,0]}setOffset(N){this.offset=Array.isArray(N)?()=>N:N}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(N){this.window.scrollTo(N[0],N[1])}scrollToAnchor(N){const D=function vr(p,N){const D=p.getElementById(N)||p.getElementsByName(N)[0];if(D)return D;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let z=I.currentNode;for(;z;){const me=z.shadowRoot;if(me){const Me=me.getElementById(N)||me.querySelector(`[name="${N}"]`);if(Me)return Me}z=I.nextNode()}}return null}(this.document,N);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(N){this.window.history.scrollRestoration=N}scrollToElement(N){const D=N.getBoundingClientRect(),I=D.left+this.window.pageXOffset,z=D.top+this.window.pageYOffset,me=this.offset();this.window.scrollTo(I-me[0],z-me[1])}}class $r{setOffset(N){}getScrollPosition(){return[0,0]}scrollToPosition(N){}scrollToAnchor(N){}setHistoryScrollRestoration(N){}}class qr{}},1626:(Je,Ie,F)=>{F.d(Ie,{Qq:()=>ye,q1:()=>As}),F(467);var E=F(4438),X=F(7673),le=F(1985),l=F(6648),V=F(274),O=F(5964),W=F(6354),$=F(980),k=F(5558),K=F(177);class ue{}class Re{}class we{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?"string"==typeof Q?this.lazyInit=()=>{this.headers=new Map,Q.split("\n").forEach(q=>{const be=q.indexOf(":");if(be>0){const _e=q.slice(0,be),Ve=_e.toLowerCase(),Be=q.slice(be+1).trim();this.maybeSetNormalizedName(_e,Ve),this.headers.has(Ve)?this.headers.get(Ve).push(Be):this.headers.set(Ve,[Be])}})}:typeof Headers<"u"&&Q instanceof Headers?(this.headers=new Map,Q.forEach((q,be)=>{this.setHeaderEntries(be,q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Q).forEach(([q,be])=>{this.setHeaderEntries(q,be)})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const q=this.headers.get(Q.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,q){return this.clone({name:Q,value:q,op:"a"})}set(Q,q){return this.clone({name:Q,value:q,op:"s"})}delete(Q,q){return this.clone({name:Q,value:q,op:"d"})}maybeSetNormalizedName(Q,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,Q)}init(){this.lazyInit&&(this.lazyInit instanceof we?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(q=>{this.headers.set(q,Q.headers.get(q)),this.normalizedNames.set(q,Q.normalizedNames.get(q))})}clone(Q){const q=new we;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof we?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),q}applyUpdate(Q){const q=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let be=Q.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(Q.name,q);const _e=("a"===Q.op?this.headers.get(q):void 0)||[];_e.push(...be),this.headers.set(q,_e);break;case"d":const Ve=Q.value;if(Ve){let Be=this.headers.get(q);if(!Be)return;Be=Be.filter(mt=>-1===Ve.indexOf(mt)),0===Be.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,Be)}else this.headers.delete(q),this.normalizedNames.delete(q)}}setHeaderEntries(Q,q){const be=(Array.isArray(q)?q:[q]).map(Ve=>Ve.toString()),_e=Q.toLowerCase();this.headers.set(_e,be),this.maybeSetNormalizedName(Q,_e)}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>Q(this.normalizedNames.get(q),this.headers.get(q)))}}class nt{encodeKey(Q){return Bt(Q)}encodeValue(Q){return Bt(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const pt=/%(\d[a-f0-9])/gi,zt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Bt(B){return encodeURIComponent(B).replace(pt,(Q,q)=>zt[q]??Q)}function Le(B){return`${B}`}class de{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new nt,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ot(B,Q){const q=new Map;return B.length>0&&B.replace(/^\?/,"").split("&").forEach(_e=>{const Ve=_e.indexOf("="),[Be,mt]=-1==Ve?[Q.decodeKey(_e),""]:[Q.decodeKey(_e.slice(0,Ve)),Q.decodeValue(_e.slice(Ve+1))],st=q.get(Be)||[];st.push(mt),q.set(Be,st)}),q}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(q=>{const be=Q.fromObject[q],_e=Array.isArray(be)?be.map(Le):[Le(be)];this.map.set(q,_e)})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const q=this.map.get(Q);return q?q[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,q){return this.clone({param:Q,value:q,op:"a"})}appendAll(Q){const q=[];return Object.keys(Q).forEach(be=>{const _e=Q[be];Array.isArray(_e)?_e.forEach(Ve=>{q.push({param:be,value:Ve,op:"a"})}):q.push({param:be,value:_e,op:"a"})}),this.clone(q)}set(Q,q){return this.clone({param:Q,value:q,op:"s"})}delete(Q,q){return this.clone({param:Q,value:q,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const q=this.encoder.encodeKey(Q);return this.map.get(Q).map(be=>q+"="+this.encoder.encodeValue(be)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const q=new de({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(Q),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const q=("a"===Q.op?this.map.get(Q.param):void 0)||[];q.push(Le(Q.value)),this.map.set(Q.param,q);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let be=this.map.get(Q.param)||[];const _e=be.indexOf(Le(Q.value));-1!==_e&&be.splice(_e,1),be.length>0?this.map.set(Q.param,be):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(Q,q){return this.map.set(Q,q),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function ne(B){return typeof ArrayBuffer<"u"&&B instanceof ArrayBuffer}function ve(B){return typeof Blob<"u"&&B instanceof Blob}function Y(B){return typeof FormData<"u"&&B instanceof FormData}class Ee{constructor(Q,q,be,_e){let Ve;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function ee(B){switch(B){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_e?(this.body=void 0!==be?be:null,Ve=_e):Ve=be,Ve&&(this.reportProgress=!!Ve.reportProgress,this.withCredentials=!!Ve.withCredentials,Ve.responseType&&(this.responseType=Ve.responseType),Ve.headers&&(this.headers=Ve.headers),Ve.context&&(this.context=Ve.context),Ve.params&&(this.params=Ve.params),this.transferCache=Ve.transferCache),this.headers??=new we,this.context??=new ie,this.params){const Be=this.params.toString();if(0===Be.length)this.urlWithParams=q;else{const mt=q.indexOf("?");this.urlWithParams=q+(-1===mt?"?":mtNn.set(wr,Q.setHeaders[wr]),Zt)),Q.setParams&&(_n=Object.keys(Q.setParams).reduce((Nn,wr)=>Nn.set(wr,Q.setParams[wr]),_n)),new Ee(q,be,Be,{params:_n,headers:Zt,context:jt,reportProgress:st,responseType:_e,withCredentials:mt,transferCache:Ve})}}var rt=function(B){return B[B.Sent=0]="Sent",B[B.UploadProgress=1]="UploadProgress",B[B.ResponseHeader=2]="ResponseHeader",B[B.DownloadProgress=3]="DownloadProgress",B[B.Response=4]="Response",B[B.User=5]="User",B}(rt||{});class _t{constructor(Q,q=he.Ok,be="OK"){this.headers=Q.headers||new we,this.status=void 0!==Q.status?Q.status:q,this.statusText=Q.statusText||be,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class Ht extends _t{constructor(Q={}){super(Q),this.type=rt.ResponseHeader}clone(Q={}){return new Ht({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class qt extends _t{constructor(Q={}){super(Q),this.type=rt.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new qt({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class hr extends _t{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}var he=function(B){return B[B.Continue=100]="Continue",B[B.SwitchingProtocols=101]="SwitchingProtocols",B[B.Processing=102]="Processing",B[B.EarlyHints=103]="EarlyHints",B[B.Ok=200]="Ok",B[B.Created=201]="Created",B[B.Accepted=202]="Accepted",B[B.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",B[B.NoContent=204]="NoContent",B[B.ResetContent=205]="ResetContent",B[B.PartialContent=206]="PartialContent",B[B.MultiStatus=207]="MultiStatus",B[B.AlreadyReported=208]="AlreadyReported",B[B.ImUsed=226]="ImUsed",B[B.MultipleChoices=300]="MultipleChoices",B[B.MovedPermanently=301]="MovedPermanently",B[B.Found=302]="Found",B[B.SeeOther=303]="SeeOther",B[B.NotModified=304]="NotModified",B[B.UseProxy=305]="UseProxy",B[B.Unused=306]="Unused",B[B.TemporaryRedirect=307]="TemporaryRedirect",B[B.PermanentRedirect=308]="PermanentRedirect",B[B.BadRequest=400]="BadRequest",B[B.Unauthorized=401]="Unauthorized",B[B.PaymentRequired=402]="PaymentRequired",B[B.Forbidden=403]="Forbidden",B[B.NotFound=404]="NotFound",B[B.MethodNotAllowed=405]="MethodNotAllowed",B[B.NotAcceptable=406]="NotAcceptable",B[B.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",B[B.RequestTimeout=408]="RequestTimeout",B[B.Conflict=409]="Conflict",B[B.Gone=410]="Gone",B[B.LengthRequired=411]="LengthRequired",B[B.PreconditionFailed=412]="PreconditionFailed",B[B.PayloadTooLarge=413]="PayloadTooLarge",B[B.UriTooLong=414]="UriTooLong",B[B.UnsupportedMediaType=415]="UnsupportedMediaType",B[B.RangeNotSatisfiable=416]="RangeNotSatisfiable",B[B.ExpectationFailed=417]="ExpectationFailed",B[B.ImATeapot=418]="ImATeapot",B[B.MisdirectedRequest=421]="MisdirectedRequest",B[B.UnprocessableEntity=422]="UnprocessableEntity",B[B.Locked=423]="Locked",B[B.FailedDependency=424]="FailedDependency",B[B.TooEarly=425]="TooEarly",B[B.UpgradeRequired=426]="UpgradeRequired",B[B.PreconditionRequired=428]="PreconditionRequired",B[B.TooManyRequests=429]="TooManyRequests",B[B.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",B[B.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",B[B.InternalServerError=500]="InternalServerError",B[B.NotImplemented=501]="NotImplemented",B[B.BadGateway=502]="BadGateway",B[B.ServiceUnavailable=503]="ServiceUnavailable",B[B.GatewayTimeout=504]="GatewayTimeout",B[B.HttpVersionNotSupported=505]="HttpVersionNotSupported",B[B.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",B[B.InsufficientStorage=507]="InsufficientStorage",B[B.LoopDetected=508]="LoopDetected",B[B.NotExtended=510]="NotExtended",B[B.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",B}(he||{});function ge(B,Q){return{body:Q,headers:B.headers,context:B.context,observe:B.observe,params:B.params,reportProgress:B.reportProgress,responseType:B.responseType,withCredentials:B.withCredentials,transferCache:B.transferCache}}let ye=(()=>{class B{constructor(q){this.handler=q}request(q,be,_e={}){let Ve;if(q instanceof Ee)Ve=q;else{let st,Zt;st=_e.headers instanceof we?_e.headers:new we(_e.headers),_e.params&&(Zt=_e.params instanceof de?_e.params:new de({fromObject:_e.params})),Ve=new Ee(q,be,void 0!==_e.body?_e.body:null,{headers:st,context:_e.context,params:Zt,reportProgress:_e.reportProgress,responseType:_e.responseType||"json",withCredentials:_e.withCredentials,transferCache:_e.transferCache})}const Be=(0,X.of)(Ve).pipe((0,V.H)(st=>this.handler.handle(st)));if(q instanceof Ee||"events"===_e.observe)return Be;const mt=Be.pipe((0,O.p)(st=>st instanceof qt));switch(_e.observe||"body"){case"body":switch(Ve.responseType){case"arraybuffer":return mt.pipe((0,W.T)(st=>{if(null!==st.body&&!(st.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return st.body}));case"blob":return mt.pipe((0,W.T)(st=>{if(null!==st.body&&!(st.body instanceof Blob))throw new Error("Response is not a Blob.");return st.body}));case"text":return mt.pipe((0,W.T)(st=>{if(null!==st.body&&"string"!=typeof st.body)throw new Error("Response is not a string.");return st.body}));default:return mt.pipe((0,W.T)(st=>st.body))}case"response":return mt;default:throw new Error(`Unreachable: unhandled observe type ${_e.observe}}`)}}delete(q,be={}){return this.request("DELETE",q,be)}get(q,be={}){return this.request("GET",q,be)}head(q,be={}){return this.request("HEAD",q,be)}jsonp(q,be){return this.request("JSONP",q,{params:(new de).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,be={}){return this.request("OPTIONS",q,be)}patch(q,be,_e={}){return this.request("PATCH",q,ge(_e,be))}post(q,be,_e={}){return this.request("POST",q,ge(_e,be))}put(q,be,_e={}){return this.request("PUT",q,ge(_e,be))}static#e=this.\u0275fac=function(be){return new(be||B)(E.KVO(ue))};static#t=this.\u0275prov=E.jDH({token:B,factory:B.\u0275fac})}return B})();function kt(B,Q){return Q(B)}function nn(B,Q){return(q,be)=>Q.intercept(q,{handle:_e=>B(_e,be)})}const pn=new E.nKC(""),Mn=new E.nKC(""),Jn=new E.nKC(""),tn=new E.nKC("");function er(){let B=null;return(Q,q)=>{null===B&&(B=((0,E.WQX)(pn,{optional:!0})??[]).reduceRight(nn,kt));const be=(0,E.WQX)(E.TgB),_e=be.add();return B(Q,q).pipe((0,$.j)(()=>be.remove(_e)))}}let Kn=(()=>{class B extends ue{constructor(q,be){super(),this.backend=q,this.injector=be,this.chain=null,this.pendingTasks=(0,E.WQX)(E.TgB);const _e=(0,E.WQX)(tn,{optional:!0});this.backend=_e??q}handle(q){if(null===this.chain){const _e=Array.from(new Set([...this.injector.get(Mn),...this.injector.get(Jn,[])]));this.chain=_e.reduceRight((Ve,Be)=>function Et(B,Q,q){return(be,_e)=>(0,E.N4e)(q,()=>Q(be,Ve=>B(Ve,_e)))}(Ve,Be,this.injector),kt)}const be=this.pendingTasks.add();return this.chain(q,_e=>this.backend.handle(_e)).pipe((0,$.j)(()=>this.pendingTasks.remove(be)))}static#e=this.\u0275fac=function(be){return new(be||B)(E.KVO(Re),E.KVO(E.uvJ))};static#t=this.\u0275prov=E.jDH({token:B,factory:B.\u0275fac})}return B})();const cs=/^\)\]\}',?\n/;let Jr=(()=>{class B{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new E.wOt(-2800,!1);const be=this.xhrFactory;return(be.\u0275loadImpl?(0,l.H)(be.\u0275loadImpl()):(0,X.of)(null)).pipe((0,k.n)(()=>new le.c(Ve=>{const Be=be.build();if(Be.open(q.method,q.urlWithParams),q.withCredentials&&(Be.withCredentials=!0),q.headers.forEach((Pt,xt)=>Be.setRequestHeader(Pt,xt.join(","))),q.headers.has("Accept")||Be.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Pt=q.detectContentTypeHeader();null!==Pt&&Be.setRequestHeader("Content-Type",Pt)}if(q.responseType){const Pt=q.responseType.toLowerCase();Be.responseType="json"!==Pt?Pt:"text"}const mt=q.serializeBody();let st=null;const Zt=()=>{if(null!==st)return st;const Pt=Be.statusText||"OK",xt=new we(Be.getAllResponseHeaders()),sn=function ct(B){return"responseURL"in B&&B.responseURL?B.responseURL:/^X-Request-URL:/m.test(B.getAllResponseHeaders())?B.getResponseHeader("X-Request-URL"):null}(Be)||q.url;return st=new Ht({headers:xt,status:Be.status,statusText:Pt,url:sn}),st},_n=()=>{let{headers:Pt,status:xt,statusText:sn,url:cr}=Zt(),on=null;xt!==he.NoContent&&(on=typeof Be.response>"u"?Be.responseText:Be.response),0===xt&&(xt=on?he.Ok:0);let sr=xt>=200&&xt<300;if("json"===q.responseType&&"string"==typeof on){const gr=on;on=on.replace(cs,"");try{on=""!==on?JSON.parse(on):null}catch(Rn){on=gr,sr&&(sr=!1,on={error:Rn,text:on})}}sr?(Ve.next(new qt({body:on,headers:Pt,status:xt,statusText:sn,url:cr||void 0})),Ve.complete()):Ve.error(new hr({error:on,headers:Pt,status:xt,statusText:sn,url:cr||void 0}))},jt=Pt=>{const{url:xt}=Zt(),sn=new hr({error:Pt,status:Be.status||0,statusText:Be.statusText||"Unknown Error",url:xt||void 0});Ve.error(sn)};let Nn=!1;const wr=Pt=>{Nn||(Ve.next(Zt()),Nn=!0);let xt={type:rt.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),"text"===q.responseType&&Be.responseText&&(xt.partialText=Be.responseText),Ve.next(xt)},Qn=Pt=>{let xt={type:rt.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),Ve.next(xt)};return Be.addEventListener("load",_n),Be.addEventListener("error",jt),Be.addEventListener("timeout",jt),Be.addEventListener("abort",jt),q.reportProgress&&(Be.addEventListener("progress",wr),null!==mt&&Be.upload&&Be.upload.addEventListener("progress",Qn)),Be.send(mt),Ve.next({type:rt.Sent}),()=>{Be.removeEventListener("error",jt),Be.removeEventListener("abort",jt),Be.removeEventListener("load",_n),Be.removeEventListener("timeout",jt),q.reportProgress&&(Be.removeEventListener("progress",wr),null!==mt&&Be.upload&&Be.upload.removeEventListener("progress",Qn)),Be.readyState!==Be.DONE&&Be.abort()}})))}static#e=this.\u0275fac=function(be){return new(be||B)(E.KVO(K.N0))};static#t=this.\u0275prov=E.jDH({token:B,factory:B.\u0275fac})}return B})();const Gt=new E.nKC(""),ui=new E.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Or=new E.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Xi{}let Fi=(()=>{class B{constructor(q,be,_e){this.doc=q,this.platform=be,this.cookieName=_e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,K._b)(q,this.cookieName),this.lastCookieString=q),this.lastToken}static#e=this.\u0275fac=function(be){return new(be||B)(E.KVO(K.qQ),E.KVO(E.Agw),E.KVO(ui))};static#t=this.\u0275prov=E.jDH({token:B,factory:B.\u0275fac})}return B})();function Nr(B,Q){const q=B.url.toLowerCase();if(!(0,E.WQX)(Gt)||"GET"===B.method||"HEAD"===B.method||q.startsWith("http://")||q.startsWith("https://"))return Q(B);const be=(0,E.WQX)(Xi).getToken(),_e=(0,E.WQX)(Or);return null!=be&&!B.headers.has(_e)&&(B=B.clone({headers:B.headers.set(_e,be)})),Q(B)}var te=function(B){return B[B.Interceptors=0]="Interceptors",B[B.LegacyInterceptors=1]="LegacyInterceptors",B[B.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",B[B.NoXsrfProtection=3]="NoXsrfProtection",B[B.JsonpSupport=4]="JsonpSupport",B[B.RequestsMadeViaParent=5]="RequestsMadeViaParent",B[B.Fetch=6]="Fetch",B}(te||{});function ae(...B){const Q=[ye,Jr,Kn,{provide:ue,useExisting:Kn},{provide:Re,useExisting:Jr},{provide:Mn,useValue:Nr,multi:!0},{provide:Gt,useValue:!0},{provide:Xi,useClass:Fi}];for(const q of B)Q.push(...q.\u0275providers);return(0,E.EmA)(Q)}const Qe=new E.nKC("");function it(){return function j(B,Q){return{\u0275kind:B,\u0275providers:Q}}(te.LegacyInterceptors,[{provide:Qe,useFactory:er},{provide:Mn,useExisting:Qe,multi:!0}])}let As=(()=>{class B{static#e=this.\u0275fac=function(be){return new(be||B)};static#t=this.\u0275mod=E.$C({type:B});static#n=this.\u0275inj=E.G2t({providers:[ae(it())]})}return B})()},4438:(Je,Ie,F)=>{function E(e,t){return Object.is(e,t)}F.d(Ie,{bc$:()=>vC,iLQ:()=>_h,sZ2:()=>Bp,hnV:()=>lD,Hbi:()=>EA,o8S:()=>Po,BIS:()=>_C,gRc:()=>ED,Ql9:()=>QT,Ocv:()=>nA,Z63:()=>Ti,aKT:()=>hl,uvJ:()=>Yr,zcH:()=>vo,bkB:()=>qs,$GK:()=>bt,nKC:()=>_e,zZn:()=>zi,_q3:()=>Mh,MKu:()=>Th,xe9:()=>Iu,Co$:()=>ty,Vns:()=>Jo,SKi:()=>Tr,Xx1:()=>Hr,Agw:()=>ld,PLl:()=>Up,sFG:()=>Uw,_9s:()=>cm,czy:()=>Pc,kdw:()=>gs,C4Q:()=>Rl,NYb:()=>jT,giA:()=>oD,RxE:()=>Z_,c1b:()=>Jc,gXe:()=>ri,mal:()=>mm,L39:()=>XA,EWP:()=>ZA,Ol2:()=>wf,w6W:()=>VS,oH4:()=>yD,QZP:()=>ZD,Rfq:()=>Nr,WQX:()=>gt,QuC:()=>wn,EmA:()=>ii,fpN:()=>DA,HJs:()=>iO,N4e:()=>as,vPA:()=>km,O8t:()=>JA,An2:()=>Qc,H3F:()=>J_,H8p:()=>po,KH2:()=>Xa,TgB:()=>Na,wOt:()=>Ge,WHO:()=>iD,e01:()=>sD,H5H:()=>Xf,Zy3:()=>rn,mq5:()=>rv,JZv:()=>ct,LfX:()=>On,plB:()=>Ao,jNT:()=>yh,zjR:()=>aD,TL$:()=>mC,Tbb:()=>vn,Vt3:()=>Ef,Mj6:()=>Bi,GFd:()=>ey,OA$:()=>y,Jv_:()=>m_,aNF:()=>y_,R7$:()=>Rg,BMQ:()=>Ff,HbH:()=>Hy,AVh:()=>Hf,wni:()=>zv,VBU:()=>Lo,FsC:()=>yi,jDH:()=>Ut,G2t:()=>ei,$C:()=>ao,EJ8:()=>lo,rXU:()=>Ia,nrm:()=>Qf,eu8:()=>qf,bVm:()=>gu,qex:()=>pu,k0s:()=>hu,j41:()=>fu,RV6:()=>ev,xGo:()=>lp,KVO:()=>bn,kS0:()=>yc,QTQ:()=>xg,bIt:()=>Jf,lsd:()=>qv,joV:()=>Qh,qSk:()=>Kh,XpG:()=>xv,nI1:()=>x_,bMT:()=>F_,SdG:()=>Lv,NAR:()=>Fv,Y8G:()=>Bf,lJ4:()=>D_,eq3:()=>E_,l_i:()=>C_,sMw:()=>b_,ziG:()=>w_,s1E:()=>S_,l4e:()=>I_,sGs:()=>M_,zJS:()=>T_,mGM:()=>Qv,sdS:()=>Xv,Njj:()=>kh,EBC:()=>fg,eBV:()=>Lh,npT:()=>og,B4B:()=>Id,n$t:()=>lg,wjB:()=>v_,Aen:()=>Is,xc7:()=>jf,DNE:()=>Ra,C5r:()=>L_,EFF:()=>o_,JRh:()=>nh,SpI:()=>Du,Lme:()=>rh,LHq:()=>ih,DH7:()=>p_,mxI:()=>oh,R50:()=>sh,GBs:()=>Kv}),F(467);let X=null,le=!1,l=1;const V=Symbol("SIGNAL");function O(e){const t=X;return X=e,t}const K={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ue(e){if(le)throw new Error("");if(null===X)return;X.consumerOnSignalRead(e);const t=X.nextProducerIndex++;ee(X),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Bt(e){ee(e);for(let t=0;t0}function ee(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ne(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Y=Symbol("UNSET"),Oe=Symbol("COMPUTING"),Ee=Symbol("ERRORED"),rt={...K,value:Y,dirty:!0,error:null,equal:E,producerMustRecompute:e=>e.value===Y||e.value===Oe,producerRecomputeValue(e){if(e.value===Oe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Oe;const n=pt(e);let r;try{r=e.computation()}catch(i){r=Ee,e.error=i}finally{zt(e,n)}t!==Y&&t!==Ee&&r!==Ee&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Ht=function _t(){throw new Error};function qt(){Ht()}let he=null;function Fe(e,t){nt()||qt(),e.equal(e.value,t)||(e.value=t,function Rt(e){e.version++,function Re(){l++}(),je(e),he?.()}(e))}const Ze={...K,equal:E,value:void 0};const ut=()=>{},kt={...K,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ut};var Et=F(1413),pn=F(8359),Mn=F(4412),Jn=F(6354);const er="https://g.co/ng/security#xss";class Ge extends Error{constructor(t,n){super(rn(t,n)),this.code=t}}function rn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function It(e){return{toString:e}.toString()}const pr="__parameters__";function jn(e,t,n){return It(()=>{const r=function Ar(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return c.annotation=o,c;function c(h,w,A){const L=h.hasOwnProperty(pr)?h[pr]:Object.defineProperty(h,pr,{value:[]})[pr];for(;L.length<=A;)L.push(null);return(L[A]=L[A]||[]).push(o),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ct=globalThis;function Wt(e){for(let t in e)if(e[t]===Wt)return t;throw Error("Could not find renamed property on target object.")}function ui(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function vn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(vn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Or(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Fi=Wt({__forward_ref__:Wt});function Nr(e){return e.__forward_ref__=Nr,e.toString=function(){return vn(this())},e}function se(e){return te(e)?e():e}function te(e){return"function"==typeof e&&e.hasOwnProperty(Fi)&&e.__forward_ref__===Nr}function Ut(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ei(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rr(e){return fi(e,B)||fi(e,q)}function On(e){return null!==Rr(e)}function fi(e,t){return e.hasOwnProperty(t)?e[t]:null}function zr(e){return e&&(e.hasOwnProperty(Q)||e.hasOwnProperty(be))?e[Q]:null}const B=Wt({\u0275prov:Wt}),Q=Wt({\u0275inj:Wt}),q=Wt({ngInjectableDef:Wt}),be=Wt({ngInjectorDef:Wt});class _e{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ut({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pt(e){return e&&!!e.\u0275providers}const xt=Wt({\u0275cmp:Wt}),sn=Wt({\u0275dir:Wt}),cr=Wt({\u0275pipe:Wt}),on=Wt({\u0275mod:Wt}),sr=Wt({\u0275fac:Wt}),gr=Wt({__NG_ELEMENT_ID__:Wt}),Rn=Wt({__NG_ENV_ID__:Wt});function lt(e){return"string"==typeof e?e:null==e?"":String(e)}function yr(e,t){throw new Ge(-201,!1)}var bt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(bt||{});let ti;function Yi(){return ti}function Ln(e){const t=ti;return ti=e,t}function Ns(e,t,n){const r=Rr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&bt.Optional?null:void 0!==t?t:void yr()}const Si={},fs="__NG_DI_FLAG__",qn="ngTempTokenPath",to=/\n/gm,Rs="__source";let Kr;function ni(e){const t=Kr;return Kr=e,t}function Eo(e,t=bt.Default){if(void 0===Kr)throw new Ge(-203,!1);return null===Kr?Ns(e,void 0,t):Kr.get(e,t&bt.Optional?null:void 0,t)}function bn(e,t=bt.Default){return(Yi()||Eo)(se(e),t)}function gt(e,t=bt.Default){return bn(e,Ii(t))}function Ii(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sr(e){const t=[];for(let n=0;nArray.isArray(n)?vr(n,t):t(n))}function $r(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dr(e,t,n){let r=fr(e,t);return r>=0?e[1|r]=n:(r=~r,function ki(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ns(e,t){const n=fr(e,t);if(n>=0)return e[1|n]}function fr(e,t){return function Vi(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<t?i=s:r=s+1}return~(i<t){o=s-1;break}}}for(;s-1){let s;for(;++is?"":i[A+1].toLowerCase(),2&r&&w!==L){if(_(r))return!1;o=!0}}}}else{if(!o&&!_(r)&&!_(h))return!1;if(o&&_(h))continue;o=!1,r=h|1&r}}return _(r)||o}function _(e){return!(1&e)}function x(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!_(o)&&(t+=Pn(s,i),i=""),r=o,s=s||!_(r);n++}return""!==i&&(t+=Pn(s,i)),t}function Lo(e){return It(()=>{const t=ko(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===rs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ri.Emulated,styles:e.styles||Ot,_:null,schemas:e.schemas||null,tView:null,id:""};co(n);const r=e.dependencies;return n.directiveDefs=is(r,!1),n.pipeDefs=is(r,!0),n.id=function Bo(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function sa(e){return Nt(e)||$n(e)}function oo(e){return null!==e}function ao(e){return It(()=>({type:e.type,bootstrap:e.bootstrap||Ot,declarations:e.declarations||Ot,imports:e.imports||Ot,exports:e.exports||Ot,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ks(e,t){if(null==e)return _r;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,o,c=Bi.None;Array.isArray(i)?(c=i[0],s=i[1],o=i[2]??s):(s=i,o=i),t?(n[s]=c!==Bi.None?[r,c]:r,t[s]=o):n[s]=r}return n}function yi(e){return It(()=>{const t=ko(e);return co(t),t})}function lo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Nt(e){return e[xt]||null}function $n(e){return e[sn]||null}function Gn(e){return e[cr]||null}function wn(e){const t=Nt(e)||$n(e)||Gn(e);return null!==t&&t.standalone}function Wn(e,t){const n=e[on]||null;if(!n&&!0===t)throw new Error(`Type ${vn(e)} does not have '\u0275mod' property.`);return n}function ko(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||_r,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ot,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ks(e.inputs,t),outputs:ks(e.outputs),debugInfo:null}}function co(e){e.features?.forEach(t=>t(e))}function is(e,t){if(!e)return null;const n=t?Gn:sa;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(oo)}function ii(e){return{\u0275providers:e}}function Vs(...e){return{\u0275providers:xr(0,e),\u0275fromNgModule:!0}}function xr(e,...t){const n=[],r=new Set;let i;const s=o=>{n.push(o)};return vr(t,o=>{const c=o;fo(c,s,[],r)&&(i||=[],i.push(c))}),void 0!==i&&uo(i,s),n}function uo(e,t){for(let n=0;n{t(s,r)})}}function fo(e,t,n,r){if(!(e=se(e)))return!1;let i=null,s=zr(e);const o=!s&&Nt(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const h=e.ngModule;if(s=zr(h),!s)return!1;i=h}const c=r.has(i);if(o){if(c)return!1;if(r.add(i),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const w of h)fo(w,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!c){let w;r.add(i);try{vr(s.imports,A=>{fo(A,t,n,r)&&(w||=[],w.push(A))})}finally{}void 0!==w&&uo(w,t)}if(!c){const w=gi(i)||(()=>new i);t({provide:i,useFactory:w,deps:Ot},i),t({provide:no,useValue:i,multi:!0},i),t({provide:Ti,useValue:()=>bn(i),multi:!0},i)}const h=s.providers;if(null!=h&&!c){const w=e;ho(h,A=>{t(A,w)})}}}return i!==e&&void 0!==e.providers}function ho(e,t){for(let n of e)Pt(n)&&(n=n.\u0275providers),Array.isArray(n)?ho(n,t):t(n)}const Uo=Wt({provide:String,useValue:Wt});function jo(e){return null!==e&&"object"==typeof e&&Uo in e}function vi(e){return"function"==typeof e}const po=new _e(""),go={},$o={};let Cs;function Bs(){return void 0===Cs&&(Cs=new vs),Cs}class Yr{}class os extends Yr{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wo(t,o=>this.processProvider(o)),this.records.set(Fs,js(void 0,this)),i.has("environment")&&this.records.set(Yr,js(void 0,this));const s=this.records.get(po);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(no,Ot,bt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=O(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),O(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ni(this),r=Ln(void 0);try{return t()}finally{ni(n),Ln(r)}}get(t,n=Si,r=bt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Rn))return t[Rn](this);r=Ii(r);const s=ni(this),o=Ln(void 0);try{if(!(r&bt.SkipSelf)){let h=this.records.get(t);if(void 0===h){const w=function ua(e){return"function"==typeof e||"object"==typeof e&&e instanceof _e}(t)&&Rr(t);h=w&&this.injectableDefInScope(w)?js(Us(t),go):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&bt.Self?Bs():this.parent).get(t,n=r&bt.Optional&&n===Si?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[qn]=c[qn]||[]).unshift(vn(t)),s)throw c;return function Li(e,t,n,r){const i=e[qn];throw t[Rs]&&i.unshift(t[Rs]),e.message=function Ps(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=vn(t);if(Array.isArray(t))i=t.map(vn).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let c=t[o];s.push(o+":"+("string"==typeof c?JSON.stringify(c):vn(c)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(to,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[qn]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{Ln(o),ni(s)}}resolveInjectorInitializers(){const t=O(null),n=ni(this),r=Ln(void 0);try{const s=this.get(Ti,Ot,bt.Self);for(const o of s)o()}finally{ni(n),Ln(r),O(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(vn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ge(205,!1)}processProvider(t){let n=vi(t=se(t))?t:se(t&&t.provide);const r=function aa(e){return jo(e)?js(void 0,e.useValue):js(la(e),go)}(t);if(!vi(t)&&!0===t.multi){let i=this.records.get(n);i||(i=js(void 0,go,!0),i.factory=()=>Sr(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=O(null);try{return n.value===go&&(n.value=$o,n.value=n.factory()),"object"==typeof n.value&&n.value&&function nl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{O(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=se(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Us(e){const t=Rr(e),n=null!==t?t.factory:gi(e);if(null!==n)return n;if(e instanceof _e)throw new Ge(204,!1);if(e instanceof Function)return function Go(e){if(e.length>0)throw new Ge(204,!1);const n=function ds(e){return e&&(e[B]||e[q])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ge(204,!1)}function la(e,t,n){let r;if(vi(e)){const i=se(e);return gi(i)||Us(i)}if(jo(e))r=()=>se(e.useValue);else if(function bo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sr(e.deps||[]));else if(function ss(e){return!(!e||!e.useExisting)}(e))r=()=>bn(se(e.useExisting));else{const i=se(e&&(e.useClass||e.provide));if(!function ca(e){return!!e.deps}(e))return gi(i)||Us(i);r=()=>new i(...Sr(e.deps))}return r}function js(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wo(e,t){for(const n of e)Array.isArray(n)?wo(n,t):n&&Pt(n)?wo(n.\u0275providers,t):t(n)}function as(e,t){e instanceof os&&e.assertNotDestroyed();const r=ni(e),i=Ln(void 0);try{return t()}finally{ni(r),Ln(i)}}function Wo(){return void 0!==Yi()||null!=function ps(){return Kr}()}function Hs(e){if(!Wo())throw new Ge(-203,!1)}const Qt=0,xe=1,et=2,Xt=3,or=4,Sn=5,nr=6,Oi=7,C=8,d=9,a=10,g=11,b=12,P=13,U=14,H=15,fe=16,De=17,He=18,We=19,$t=20,yt=21,dt=22,vt=23,Ye=25,kn=1,Bn=7,rr=9,ln=10;var Mr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Mr||{});function gn(e){return Array.isArray(e)&&"object"==typeof e[kn]}function Zn(e){return Array.isArray(e)&&!0===e[kn]}function Hi(e){return!!(4&e.flags)}function $i(e){return e.componentOffset>-1}function si(e){return!(1&~e.flags)}function Zr(e){return!!e.template}function So(e){return!!(512&e[et])}class Nh{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function u(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function y(){return f}function f(e){return e.type.prototype.ngOnChanges&&(e.setInput=S),v}function v(){const e=G(this),t=e?.current;if(t){const n=e.previous;if(n===_r)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function S(e,t,n,r,i){const s=this.declaredInputs[r],o=G(e)||function pe(e,t){return e[R]=t}(e,{previous:_r,current:null}),c=o.current||(o.current={}),h=o.previous,w=h[s];c[s]=new Nh(w&&w.currentValue,n,h===_r),u(e,t,i,n)}y.ngInherit=!0;const R="__ngSimpleChanges__";function G(e){return e[R]||null}const ht=function(e,t,n){},Lt="svg";let Io=!1;function mn(e){for(;Array.isArray(e);)e=e[Qt];return e}function sl(e,t){return mn(t[e])}function Di(e,t){return mn(t[e.index])}function ol(e,t){return e.data[t]}function ha(e,t){return e[t]}function Wi(e,t){const n=t[e];return gn(n)?n:n[Qt]}function Lu(e){return!(128&~e[et])}function Ws(e,t){return null==t?null:e[t]}function Rh(e){e[De]=0}function aE(e){1024&e[et]||(e[et]|=1024,Lu(e)&&al(e))}function ku(e){return!!(9216&e[et]||e[vt]?.dirty)}function Vu(e){e[a].changeDetectionScheduler?.notify(1),ku(e)?al(e):64&e[et]&&(function Ko(){return Io}()?(e[et]|=1024,al(e)):e[a].changeDetectionScheduler?.notify())}function al(e){e[a].changeDetectionScheduler?.notify();let t=Qo(e);for(;null!==t&&!(8192&t[et])&&(t[et]|=8192,Lu(t));)t=Qo(t)}function lc(e,t){if(!(256&~e[et]))throw new Ge(911,!1);null===e[yt]&&(e[yt]=[]),e[yt].push(t)}function Qo(e){const t=e[Xt];return Zn(t)?t[Xt]:t}const Tt={lFrame:Gh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fh(){return Tt.bindingsEnabled}function pa(){return null!==Tt.skipHydrationRootTNode}function Te(){return Tt.lFrame.lView}function Yt(){return Tt.lFrame.tView}function Lh(e){return Tt.lFrame.contextLView=e,e[C]}function kh(e){return Tt.lFrame.contextLView=null,e}function In(){let e=Vh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vh(){return Tt.lFrame.currentTNode}function zs(e,t){const n=Tt.lFrame;n.currentTNode=e,n.isParent=t}function Uu(){return Tt.lFrame.isParent}function ju(){Tt.lFrame.isParent=!1}function Ei(){const e=Tt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function mo(){return Tt.lFrame.bindingIndex}function ws(){return Tt.lFrame.bindingIndex++}function yo(e){const t=Tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vE(e,t){const n=Tt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Hu(t)}function Hu(e){Tt.lFrame.currentDirectiveIndex=e}function Gu(){return Tt.lFrame.currentQueryIndex}function cc(e){Tt.lFrame.currentQueryIndex=e}function DE(e){const t=e[xe];return 2===t.type?t.declTNode:1===t.type?e[Sn]:null}function Hh(e,t,n){if(n&bt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&bt.Host||(i=DE(s),null===i||(s=s[U],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Tt.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function Wu(e){const t=$h(),n=e[xe];Tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $h(){const e=Tt.lFrame,t=null===e?null:e.child;return null===t?Gh(e):t}function Gh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wh(){const e=Tt.lFrame;return Tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zh=Wh;function zu(){const e=Wh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ai(){return Tt.lFrame.selectedIndex}function qo(e){Tt.lFrame.selectedIndex=e}function zn(){const e=Tt.lFrame;return ol(e.tView,e.selectedIndex)}function Kh(){Tt.lFrame.currentNamespace=Lt}function Qh(){!function bE(){Tt.lFrame.currentNamespace=null}()}let Xh=!0;function cl(){return Xh}function Ks(e){Xh=e}function uc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[De]+=65536),(c>14>16&&(3&e[et])===t&&(e[et]+=16384,Zh(c,s)):Zh(c,s)}const ga=-1;class ul{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function qu(e){return e!==ga}function dl(e){return 32767&e}function fl(e,t){let n=function OE(e){return e>>16}(e),r=t;for(;n>0;)r=r[U],n--;return r}let Xu=!0;function hc(e){const t=Xu;return Xu=e,t}const Jh=255,ep=5;let NE=0;const Qs={};function pc(e,t){const n=tp(e,t);if(-1!==n)return n;const r=t[xe];r.firstCreatePass&&(e.injectorIndex=t.length,Yu(r.data,e),Yu(t,null),Yu(r.blueprint,null));const i=gc(e,t),s=e.injectorIndex;if(qu(i)){const o=dl(i),c=fl(i,t),h=c[xe].data;for(let w=0;w<8;w++)t[s+w]=c[o+w]|h[o+w]}return t[s+8]=i,s}function Yu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function gc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=cp(i),null===r)return ga;if(n++,i=i[U],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ga}function Zu(e,t,n){!function RE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(gr)&&(r=n[gr]),null==r&&(r=n[gr]=NE++);const i=r&Jh;t.data[e+(i>>ep)]|=1<=0?t&Jh:LE:t}(n);if("function"==typeof s){if(!Hh(t,e,r))return r&bt.Host?np(i,0,r):rp(t,n,r,i);try{let o;if(o=s(r),null!=o||r&bt.Optional)return o;yr()}finally{zh()}}else if("number"==typeof s){let o=null,c=tp(e,t),h=ga,w=r&bt.Host?t[H][Sn]:null;for((-1===c||r&bt.SkipSelf)&&(h=-1===c?gc(e,t):t[c+8],h!==ga&&ap(r,!1)?(o=t[xe],c=dl(h),t=fl(h,t)):c=-1);-1!==c;){const A=t[xe];if(op(s,c,A.data)){const L=xE(c,t,n,o,r,w);if(L!==Qs)return L}h=t[c+8],h!==ga&&ap(r,t[xe].data[c+8]===w)&&op(s,c,t)?(o=A,c=dl(h),t=fl(h,t)):c=-1}}return i}function xE(e,t,n,r,i,s){const o=t[xe],c=o.data[e+8],A=mc(c,o,n,null==r?$i(c)&&Xu:r!=o&&!!(3&c.type),i&bt.Host&&s===c);return null!==A?Xo(t,o,A,c):Qs}function mc(e,t,n,r,i){const s=e.providerIndexes,o=t.data,c=1048575&s,h=e.directiveStart,A=s>>20,Z=i?c+A:e.directiveEnd;for(let re=r?c:c+A;re=h&&ce.type===n)return re}if(i){const re=o[h];if(re&&Zr(re)&&re.type===n)return h}return null}function Xo(e,t,n,r){let i=e[n];const s=t.data;if(function IE(e){return e instanceof ul}(i)){const o=i;o.resolving&&function Pr(e,t){throw t&&t.join(" > "),new Ge(-200,e)}(function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():lt(e)}(s[n]));const c=hc(o.canSeeViewProviders);o.resolving=!0;const w=o.injectImpl?Ln(o.injectImpl):null;Hh(e,r,bt.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function wE(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=f(t);(n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==w&&Ln(w),hc(c),o.resolving=!1,zh()}}return i}function op(e,t,n){return!!(n[t+(e>>ep)]&1<{const t=e.prototype.constructor,n=t[sr]||Ju(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[sr]||Ju(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ju(e){return te(e)?()=>{const t=Ju(se(e));return t&&t()}:gi(e)}function cp(e){const t=e[xe],n=t.type;return 2===n?t.declTNode:1===n?e[Sn]:null}function yc(e){return function PE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{static#e=this.THROW_IF_NOT_FOUND=Si;static#t=this.NULL=new vs;static create(n,r){if(Array.isArray(n))return pp({name:""},r,n,"");{const i=n.name??"";return pp({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=Ut({token:e,providedIn:"any",factory:()=>bn(Fs)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function td(e){return e.ngOriginalError}class vo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&td(t);for(;n&&td(n);)n=td(n);return n||null}}const yp=new _e("",{providedIn:"root",factory:()=>gt(vo).handleError.bind(void 0)});let va=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=zE;static#t=this.__NG_ENV_ID__=n=>n}return e})();class WE extends va{constructor(t){super(),this._lView=t}onDestroy(t){return lc(this._lView,t),()=>function Bu(e,t){if(null===e[yt])return;const n=e[yt].indexOf(t);-1!==n&&e[yt].splice(n,1)}(this._lView,t)}}function zE(){return new WE(Te())}function KE(){return _a(In(),Te())}function _a(e,t){return new hl(Di(e,t))}let hl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=KE}return e})();function _p(e){return e instanceof hl?e.nativeElement:e}function nd(e){return t=>{setTimeout(e,void 0,t)}}const qs=class QE extends Et.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Wo()&&(this.destroyRef=gt(va,{optional:!0})??void 0)}emit(t){const n=O(null);try{super.next(t)}finally{O(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(s=nd(s),i&&(i=nd(i)),o&&(o=nd(o)));const c=super.subscribe({next:i,error:s,complete:o});return t instanceof pn.yU&&t.add(c),c}};function qE(){return this._results[Symbol.iterator]()}class rd{static#e=Symbol.iterator;get changes(){return this._changes??=new qs}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=rd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=qE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Xn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ts(e,t,n){if(e.length!==t.length)return!1;for(let r=0;ryC}),yC="ng",Up=new _e(""),ld=new _e("",{providedIn:"platform",factory:()=>"unknown"}),vC=new _e(""),_C=new _e("",{providedIn:"root",factory:()=>Mo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let jp=()=>null;function md(e,t,n=!1){return jp(e,t,n)}const zp=new _e("",{providedIn:"root",factory:()=>!1});let Tc,Ac;function Ca(e){return function Dd(){if(void 0===Tc&&(Tc=null,ct.trustedTypes))try{Tc=ct.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tc}()?.createHTML(e)||e}function Ed(){if(void 0===Ac&&(Ac=null,ct.trustedTypes))try{Ac=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ac}function Qp(e){return Ed()?.createHTML(e)||e}function Xp(e){return Ed()?.createScriptURL(e)||e}class Yp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${er})`}}function To(e){return e instanceof Yp?e.changingThisBreaksApplicationSecurity:e}function Dl(e,t){const n=function VC(e){return e instanceof Yp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${er})`)}return n===t}class BC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Ca(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class UC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ca(t),n}}const HC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cd(e){return(e=String(e)).match(HC)?e:"unsafe:"+e}function _o(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function El(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Jp=_o("area,br,col,hr,img,wbr"),eg=_o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tg=_o("rp,rt"),bd=El(Jp,El(eg,_o("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),El(tg,_o("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),El(tg,eg)),wd=_o("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ng=El(wd,_o("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_o("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$C=_o("script,style,template");class GC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=KC(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=zC(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=rg(t).toLowerCase();if(!bd.hasOwnProperty(n))return this.sanitizedSomething=!0,!$C.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=rg(t).toLowerCase();bd.hasOwnProperty(n)&&!Jp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(sg(t))}}function zC(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ig(t);return t}function KC(e){const t=e.firstChild;if(t&&function WC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ig(t);return t}function rg(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ig(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const QC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qC=/([^\#-~ |!])/g;function sg(e){return e.replace(/&/g,"&").replace(QC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Oc;function Sd(e){return"content"in e&&function YC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ba=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ba||{});function og(e){const t=Cl();return t?Qp(t.sanitize(ba.HTML,e)||""):Dl(e,"HTML")?Qp(To(e)):function XC(e,t){let n=null;try{Oc=Oc||function Zp(e){const t=new UC(e);return function jC(){try{return!!(new window.DOMParser).parseFromString(Ca(""),"text/html")}catch{return!1}}()?new BC(t):t}(e);let r=t?String(t):"";n=Oc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Oc.getInertBodyElement(r)}while(r!==s);return Ca((new GC).sanitizeChildren(Sd(n)||n))}finally{if(n){const r=Sd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Mo(),lt(e))}function Id(e){const t=Cl();return t?t.sanitize(ba.URL,e)||"":Dl(e,"URL")?To(e):Cd(lt(e))}function ag(e){const t=Cl();if(t)return Xp(t.sanitize(ba.RESOURCE_URL,e)||"");if(Dl(e,"ResourceURL"))return Xp(To(e));throw new Ge(904,!1)}function lg(e,t,n){return function nb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ag:Id}(t,n)(e)}function Cl(){const e=Te();return e&&e[a].sanitizer}const rb=/^>|^->||--!>|)/g,sb="\u200b$1\u200b";function fg(e){return e.ownerDocument}function Ki(e){return e instanceof Function?e():e}var Pc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Pc||{});let Od;function Nd(e,t){return Od(e,t)}function Sa(e,t,n,r,i){if(null!=r){let s,o=!1;Zn(r)?s=r:gn(r)&&(o=!0,r=r[Qt]);const c=mn(r);0===e&&null!==n?null==i?Eg(t,n,c):Yo(t,n,c,i||null,!0):1===e&&null!==n?Yo(t,n,c,i||null,!0):2===e?function Sl(e,t,n){const r=Lc(e,t);r&&function bb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,o):3===e&&t.destroyNode(c),null!=s&&function Ib(e,t,n,r,i){const s=n[Bn];s!==mn(n)&&Sa(t,e,r,s,i);for(let c=ln;ct.replace(ib,sb))}(t))}function xc(e,t,n){return e.createElement(t,n)}function vg(e,t){t[a].changeDetectionScheduler?.notify(1),Vc(e,t,t[g],2,null,null)}function _g(e,t){const n=e[rr],r=n.indexOf(t);n.splice(r,1)}function bl(e,t){if(e.length<=ln)return;const n=ln+t,r=e[n];if(r){const i=r[fe];null!==i&&i!==e&&_g(i,r),t>0&&(e[n-1][or]=r[or]);const s=qr(e,ln+t);!function mb(e,t){vg(e,t),t[Qt]=null,t[Sn]=null}(r[xe],r);const o=s[He];null!==o&&o.detachView(s[xe]),r[Xt]=null,r[or]=null,r[et]&=-129}return r}function Fc(e,t){if(!(256&t[et])){const n=t[g];n.destroyNode&&Vc(e,t,n,3,null,null),function vb(e){let t=e[b];if(!t)return xd(e[xe],e);for(;t;){let n=null;if(gn(t))n=t[b];else{const r=t[ln];r&&(n=r)}if(!n){for(;t&&!t[or]&&t!==e;)gn(t)&&xd(t[xe],t),t=t[Xt];null===t&&(t=e),gn(t)&&xd(t[xe],t),n=t&&t[or]}t=n}}(t)}}function xd(e,t){if(256&t[et])return;const n=O(null);try{t[et]&=-129,t[et]|=256,t[vt]&&Le(t[vt]),function Cb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o]():r[-o].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Oi]=null);const i=t[yt];if(null!==i){t[yt]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===ri.None||s===ri.Emulated)return null}return Di(r,n)}}(e,t.parent,n)}function Yo(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eg(e,t,n){e.appendChild(t,n)}function Cg(e,t,n,r,i){null!==r?Yo(e,t,n,r,i):Eg(e,t,n)}function Lc(e,t){return e.parentNode(t)}function bg(e,t,n){return Sg(e,t,n)}let Ld,Sg=function wg(e,t,n){return 40&e.type?Di(e,n):null};function kc(e,t,n,r){const i=Fd(e,r,t),s=t[g],c=bg(r.parent||t[Sn],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;hYe&&Pg(e,t,Ye,!1),ht(o?2:0,i),n(r,i)}finally{qo(s),ht(o?3:1,i)}}function Ud(e,t,n){if(Hi(t)){const r=O(null);try{const s=t.directiveEnd;for(let o=t.directiveStart;onull;function Bg(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const o=t[s];if(void 0===o)continue;r??={};let c,h=Bi.None;Array.isArray(o)?(c=o[0],h=o[1]):c=o;let w=s;if(null!==i){if(!i.hasOwnProperty(s))continue;w=i[s]}0===e?Ug(r,n,w,c,h):Ug(r,n,w,c)}return r}function Ug(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function Ri(e,t,n,r,i,s,o,c){const h=Di(t,n);let A,w=t.inputs;!c&&null!=w&&(A=w[r])?(Qd(e,n,A,r,i),$i(t)&&function Bb(e,t){const n=Wi(t,e);16&n[et]||(n[et]|=64)}(n,t.index)):3&t.type&&(r=function Vb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(h,r,i))}function Gd(e,t,n,r){if(Fh()){const i=null===r?null:{"":-1},s=function Wb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(o)!=c&&o.push(c),o.push(n,r,s)}}(e,t,r,Il(e,n,i.hostVars,Vt),i)}function Xs(e,t,n,r,i,s){const o=Di(e,t);!function zd(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const c=null==o?lt(s):o(s,r||"",i);e.setAttribute(t,i,c,n)}}(t[g],o,s,e.value,n,r,i)}function Yb(e,t,n,r,i,s){const o=s[t];if(null!==o)for(let c=0;c0&&(n[i-1][or]=t),r{al(e.lView)},consumerOnSignalRead(){this.lView[vt]=this}},Yg=100;function Hc(e,t=!0,n=0){const r=e[a],i=r.rendererFactory;i.begin?.();try{!function ow(e,t){Yd(e,t);let n=0;for(;ku(e);){if(n===Yg)throw new Ge(103,!1);n++,Yd(e,1)}}(e,n)}catch(o){throw t&&jc(e,o),o}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function aw(e,t,n,r){const i=t[et];if(!(256&~i))return;t[a].inlineEffectRunner?.flush(),Wu(t);let o=null,c=null;(function lw(e){return 2!==e.type})(e)&&(c=function nw(e){return e[vt]??function rw(e){const t=Xg.pop()??Object.create(sw);return t.lView=e,t}(e)}(t),o=pt(c));try{Rh(t),function Uh(e){return Tt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Lg(e,t,n,2,r);const h=!(3&~i);if(h){const L=e.preOrderCheckHooks;null!==L&&dc(t,L,null)}else{const L=e.preOrderHooks;null!==L&&fc(t,L,0,null),Ku(t,0)}if(function cw(e){for(let t=Ap(e);null!==t;t=Op(t)){if(!(t[et]&Mr.HasTransplantedViews))continue;const n=t[rr];for(let r=0;r-1&&(bl(t,r),qr(n,r))}this._attachedToViewContainer=!1}Fc(this._lView[xe],this._lView)}onDestroy(t){lc(this._lView,t)}markForCheck(){Ol(this._cdRefInjectingView||this._lView)}detach(){this._lView[et]&=-129}reattach(){Vu(this._lView),this._lView[et]|=128}detectChanges(){this._lView[et]|=1024,Hc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vg(this._lView[xe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ge(902,!1);this._appRef=t,Vu(this._lView)}}let Rl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hw}return e})();const dw=Rl,fw=class extends dw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function Ml(e,t,n,r){const i=O(null);try{const s=t.tView,h=Bc(e,s,n,4096&e[et]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);h[fe]=e[t.index];const A=e[He];return null!==A&&(h[He]=A.createEmbeddedView(s)),qd(s,h,n),h}finally{O(i)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nl(i)}};function hw(){return $c(In(),Te())}function $c(e,t){return 4&e.type?new fw(t,e,_a(e,t)):null}class Qc{}class kw{}class am{}class Bw{resolveComponentFactory(t){throw function Vw(e){const t=Error(`No component factory found for ${vn(e)}.`);return t.ngComponent=e,t}(t)}}let qc=(()=>{class e{static#e=this.NULL=new Bw}return e})();class cm{}let Uw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function jw(){const e=Te(),n=Wi(In().index,e);return(gn(n)?n:e)[g]}()}return e})(),Hw=(()=>{class e{static#e=this.\u0275prov=Ut({token:e,providedIn:"root",factory:()=>null})}return e})();const rf={},um=new Set;function Ys(e){um.has(e)||(um.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function dm(...e){}class Tr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qs(!1),this.onMicrotaskEmpty=new qs(!1),this.onStable=new qs(!1),this.onError=new qs(!1),typeof Zone>"u")throw new Ge(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function $w(){const e="function"==typeof ct.requestAnimationFrame;let t=ct[e?"requestAnimationFrame":"setTimeout"],n=ct[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function zw(e){const t=()=>{!function Ww(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ct,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,af(e),e.isCheckStableRunning=!0,sf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),af(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,c)=>{if(function Kw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(c))return n.invokeTask(i,s,o,c);try{return fm(e),n.invokeTask(i,s,o,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),hm(e)}},onInvoke:(n,r,i,s,o,c,h)=>{try{return fm(e),n.invoke(i,s,o,c,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),hm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,af(e),sf(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Tr.isInAngularZone())throw new Ge(909,!1)}static assertNotInAngularZone(){if(Tr.isInAngularZone())throw new Ge(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,Gw,dm,dm);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Gw={};function sf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function af(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hm(e){e._nesting--,sf(e)}class pm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qs,this.onMicrotaskEmpty=new qs,this.onStable=new qs,this.onError=new qs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}var Zo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Zo||{});const gm={destroy(){}};function mm(e,t){!t&&Hs();const n=t?.injector??gt(zi);if(!function Ss(e){return"browser"===(e??gt(zi)).get(ld)}(n))return gm;Ys("NgAfterNextRender");const r=n.get(kl),i=r.handler??=new vm,s=t?.phase??Zo.MixedReadWrite,o=()=>{i.unregister(h),c()},c=n.get(va).onDestroy(o),h=as(n,()=>new ym(s,()=>{o(),e()}));return i.register(h),{destroy:o}}class ym{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=gt(Tr),this.errorHandler=gt(vo,{optional:!0}),gt(Qc,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class vm{constructor(){this.executingCallbacks=!1,this.buckets={[Zo.EarlyRead]:new Set,[Zo.Write]:new Set,[Zo.MixedReadWrite]:new Set,[Zo.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let kl=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Ut({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ao(e){return!!Wn(e)}function Yc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o0&&Og(e,n,s.join(" "))}}(re,Br,Se,r),void 0!==n&&function sS(e,t,n){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=aS}return e})();function aS(){return Sm(In(),Te())}const lS=Jc,bm=class extends lS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return _a(this._hostTNode,this._hostLView)}get injector(){return new Lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=gc(this._hostTNode,this._hostLView);if(qu(t)){const n=fl(t,this._hostLView),r=dl(t);return new Lr(n[xe].data[r+8],n)}return new Lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ln}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const c=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(c,i,Ta(this._hostTNode,null)),c}createComponent(t,n,r,i,s){const o=t&&!function Me(e){return"function"==typeof e}(t);let c;if(o)c=n;else{const ce=n||{};c=ce.index,r=ce.injector,i=ce.projectableNodes,s=ce.environmentInjector||ce.ngModuleRef}const h=o?t:new Ul(Nt(t)),w=r||this.parentInjector;if(!s&&null==h.ngModule){const Se=(o?w:this.parentInjector).get(Yr,null);Se&&(s=Se)}Nt(h.componentType??{});const re=h.create(w,i,null,s);return this.insertImpl(re.hostView,c,Ta(this._hostTNode,null)),re}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function oE(e){return Zn(e[Xt])}(i)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const h=i[Xt],w=new bm(h,h[Sn],h[Xt]);w.detach(w.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;return Tl(o,i,s,r),t.attachToViewContainerRef(),$r(df(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=wm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=bl(this._lContainer,n);r&&(qr(df(this._lContainer),n),Fc(r[xe],r))}detach(t){const n=this._adjustIndex(t,-1),r=bl(this._lContainer,n);return r&&null!=qr(df(this._lContainer),n)?new Nl(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function wm(e){return e[8]}function df(e){return e[8]||(e[8]=[])}function Sm(e,t){let n;const r=t[e.index];return Zn(r)?n=r:(n=$g(r,t,null,e),t[e.index]=n,Uc(t,n)),Im(n,t,e,r),new bm(n,e,t)}let Im=function Tm(e,t,n,r){if(e[Bn])return;let i;i=8&n.type?mn(r):function cS(e,t){const n=e[g],r=n.createComment(""),i=Di(t,e);return Yo(n,Lc(n,i),r,function wb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[Bn]=i},ff=()=>!1;class hf{constructor(t){this.queryList=t,this.matches=null}clone(){return new hf(this.queryList)}setDirty(){this.queryList.setDirty()}}class pf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;st.trim())}(t):t}}class gf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(o[c/2]);else{const w=s[c+1],A=t[-h];for(let L=ln;L(ue(t),t.value);return n[V]=t,n}(e),r=n[V];return t?.equal&&(r.equal=t.equal),n.set=i=>Fe(r,i),n.update=i=>function Pe(e,t){nt()||qt(),Fe(e,t(e.value))}(r,i),n.asReadonly=Vm.bind(n),n}function Vm(){const e=this[V];if(void 0===e.readonlyFn){const t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}function Bm(e){return function Lm(e){return"function"==typeof e&&void 0!==e[V]}(e)&&"function"==typeof e.set}function Ef(e){let t=function Xm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Zr(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ge(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=tu(e.inputs),o.inputTransforms=tu(e.inputTransforms),o.declaredInputs=tu(e.declaredInputs),o.outputs=tu(e.outputs);const c=i.hostBindings;c&&RS(e,c);const h=i.viewQuery,w=i.contentQueries;if(h&&OS(e,h),w&&NS(e,w),TS(e,i),ui(e.outputs,i.outputs),Zr(i)&&i.data.animation){const A=e.data;A.animation=(A.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Es(i.hostAttrs,n=Es(n,i.hostAttrs))}}(r)}function TS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function tu(e){return e===_r?{}:e===Ot?[]:e}function OS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function NS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function RS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function ey(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class Jo{}class ty{}function VS(e,t){return new Cf(e,t??null,[])}class Cf extends Jo{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Em(this);const i=Wn(t);this._bootstrapComponents=Ki(i.bootstrap),this._r3Injector=gp(t,n,[{provide:Jo,useValue:this},{provide:qc,useValue:this.componentFactoryResolver},...r],vn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class bf extends ty{constructor(t){super(),this.moduleType=t}create(t){return new Cf(this.moduleType,t,[])}}class ny extends Jo{constructor(t){super(),this.componentFactoryResolver=new Em(this),this.instance=null;const n=new os([...t.providers,{provide:Jo,useValue:this},{provide:qc,useValue:this.componentFactoryResolver}],t.parent||Bs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function wf(e,t,n=null){return new ny({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Mn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ru(e){return!!Sf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Sf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Zs(e,t,n){return e[t]=n}function Hl(e,t){return e[t]}function Dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ea(e,t,n,r){const i=Dr(e,t,n);return Dr(e,t+1,r)||i}function iu(e,t,n,r,i){const s=ea(e,t,n,r);return Dr(e,t+2,i)||s}function ls(e,t,n,r,i,s){const o=ea(e,t,n,r);return ea(e,t+2,i,s)||o}function Ra(e,t,n,r,i,s,o,c){const h=Te(),w=Yt(),A=e+Ye,L=w.firstCreatePass?function WS(e,t,n,r,i,s,o,c,h){const w=t.consts,A=Ma(t,e,4,o||null,Ws(w,c));Gd(t,n,A,Ws(w,h)),uc(t,A);const L=A.tView=$d(2,A,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,w,null);return null!==t.queries&&(t.queries.template(t,A),L.queries=t.queries.embeddedTView(A)),A}(A,w,h,t,n,r,i,s,o):w.data[A];zs(L,!1);const Z=ry(w,h,L,e);cl()&&kc(w,h,Z,L),li(Z,h);const re=$g(Z,h,Z,L);return h[A]=re,Uc(h,re),function Mm(e,t,n){return ff(e,t,n)}(re,L,h),si(L)&&jd(w,h,L),null!=o&&Hd(h,L,c),Ra}let ry=function iy(e,t,n,r){return Ks(!0),t[g].createComment("")};function Ff(e,t,n,r){const i=Te();return Dr(i,ws(),t)&&(Yt(),Xs(zn(),i,e,t,n,r)),Ff}function uu(e,t){return e<<17|t<<2}function Ro(e){return e>>17&32767}function Lf(e){return 2|e}function na(e){return(131068&e)>>2}function kf(e,t){return-131069&e|t<<2}function Vf(e){return 1|e}function Fy(e,t,n,r){const i=e[n+1],s=null===t;let o=r?Ro(i):na(i),c=!1;for(;0!==o&&(!1===c||s);){const w=e[o+1];R0(e[o],t)&&(c=!0,e[o+1]=r?Vf(w):Lf(w)),o=r?Ro(w):na(w)}c&&(e[n+1]=r?Lf(i):Vf(i))}function R0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fr(e,t)>=0}const kr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ly(e){return e.substring(kr.key,kr.keyEnd)}function P0(e){return e.substring(kr.value,kr.valueEnd)}function ky(e,t){const n=kr.textEnd;return n===t?-1:(t=kr.keyEnd=function L0(e,t,n){for(;t32;)t++;return t}(e,kr.key=t,n),Qa(e,t,n))}function Vy(e,t){const n=kr.textEnd;let r=kr.key=Qa(e,t,n);return n===r?-1:(r=kr.keyEnd=function k0(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Uy(e,r,n),r=kr.value=Qa(e,r,n),r=kr.valueEnd=function V0(e,t,n){let r=-1,i=-1,s=-1,o=t,c=o;for(;o32&&(c=o),s=i,i=r,r=-33&h}return c}(e,r,n),Uy(e,r,n))}function By(e){kr.key=0,kr.keyEnd=0,kr.value=0,kr.valueEnd=0,kr.textEnd=e.length}function Qa(e,t,n){for(;t=0;n=Vy(t,n))Wy(e,Ly(t),P0(t))}function Hy(e){Ts(W0,Js,e,!0)}function Js(e,t){for(let n=function x0(e){return By(e),ky(e,Qa(e,0,kr.textEnd))}(t);n>=0;n=ky(t,n))dr(e,Ly(t),!0)}function Ms(e,t,n,r){const i=Te(),s=Yt(),o=yo(2);s.firstUpdatePass&&Gy(s,e,o,r),t!==Vt&&Dr(i,o,t)&&zy(s,s.data[ai()],i,i[g],e,i[o+1]=function K0(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=vn(To(e)))),e}(t,n),r,o)}function Ts(e,t,n,r){const i=Yt(),s=yo(2);i.firstUpdatePass&&Gy(i,null,s,r);const o=Te();if(n!==Vt&&Dr(o,s,n)){const c=i.data[ai()];if(Qy(c,r)&&!$y(i,s)){let h=r?c.classesWithoutHost:c.stylesWithoutHost;null!==h&&(n=Or(h,n||"")),Uf(i,c,o,n,r)}else!function z0(e,t,n,r,i,s,o,c){i===Vt&&(i=Ot);let h=0,w=0,A=0=e.expandoStartIndex}function Gy(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[ai()],o=$y(e,n);Qy(s,r)&&null===t&&!o&&(t=!1),t=function U0(e,t,n,r){const i=function $u(e){const t=Tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Kl(n=$f(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=$f(i,e,t,n,r),null===s){let h=function j0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==na(r))return e[Ro(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=$f(null,e,t,h[1],r),h=Kl(h,t.attrs,r),function H0(e,t,n,r){e[Ro(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function $0(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(w=!0)):A=n,i)if(0!==h){const Z=Ro(e[c+1]);e[r+1]=uu(Z,c),0!==Z&&(e[Z+1]=kf(e[Z+1],r)),e[c+1]=function T0(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=uu(c,0),0!==c&&(e[c+1]=kf(e[c+1],r)),c=r;else e[r+1]=uu(h,0),0===c?c=r:e[h+1]=kf(e[h+1],r),h=r;w&&(e[r+1]=Lf(e[r+1])),Fy(e,A,r,!0),Fy(e,A,r,!1),function N0(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&fr(s,t)>=0&&(n[r+1]=Vf(n[r+1]))}(t,A,e,r,s),o=uu(c,h),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function $f(e,t,n,r,i){let s=null;const o=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const h=e[i],w=Array.isArray(h),A=w?h[1]:h,L=null===A;let Z=n[i+1];Z===Vt&&(Z=L?Ot:void 0);let re=L?ns(Z,r):A===r?Z:void 0;if(w&&!du(re)&&(re=ns(h,r)),du(re)&&(c=re,o))return c;const ce=e[i+1];i=o?Ro(ce):na(ce)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(c=ns(h,r))}return c}function du(e){return void 0!==e}function Qy(e,t){return!!(e.flags&(t?8:16))}function fu(e,t,n,r){const i=Te(),s=Yt(),o=Ye+e,c=i[g],h=s.firstCreatePass?function mI(e,t,n,r,i,s){const o=t.consts,h=Ma(t,e,2,r,Ws(o,i));return Gd(t,n,h,Ws(o,s)),null!==h.attrs&&Yc(h,h.attrs,!1),null!==h.mergedAttrs&&Yc(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(o,s,i,t,n,r):s.data[o],w=Zy(s,i,h,c,t,e);i[o]=w;const A=si(h);return zs(h,!0),Ng(c,w,h),!function $l(e){return!(32&~e.flags)}(h)&&cl()&&kc(s,i,w,h),0===function lE(){return Tt.lFrame.elementDepthCount}()&&li(w,i),function cE(){Tt.lFrame.elementDepthCount++}(),A&&(jd(s,i,h),Ud(s,h,i)),null!==r&&Hd(i,h),fu}function hu(){let e=In();Uu()?ju():(e=e.parent,zs(e,!1));const t=e;(function dE(e){return Tt.skipHydrationRootTNode===e})(t)&&function gE(){Tt.skipHydrationRootTNode=null}(),function uE(){Tt.lFrame.elementDepthCount--}();const n=Yt();return n.firstCreatePass&&(uc(n,e),Hi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function TE(e){return!!(8&e.flags)}(t)&&Uf(n,t,Te(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function AE(e){return!!(16&e.flags)}(t)&&Uf(n,t,Te(),t.stylesWithoutHost,!1),hu}function Qf(e,t,n,r){return fu(e,t,n,r),hu(),Qf}let Zy=(e,t,n,r,i,s)=>(Ks(!0),xc(r,i,function qh(){return Tt.lFrame.currentNamespace}()));function pu(e,t,n){const r=Te(),i=Yt(),s=e+Ye,o=i.firstCreatePass?function _I(e,t,n,r,i){const s=t.consts,o=Ws(s,r),c=Ma(t,e,8,"ng-container",o);return null!==o&&Yc(c,o,!0),Gd(t,n,c,Ws(s,i)),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,r,t,n):i.data[s];zs(o,!0);const c=Jy(i,r,o,e);return r[s]=c,cl()&&kc(i,r,c,o),li(c,r),si(o)&&(jd(i,r,o),Ud(i,o,r)),null!=n&&Hd(r,o),pu}function gu(){let e=In();const t=Yt();return Uu()?ju():(e=e.parent,zs(e,!1)),t.firstCreatePass&&(uc(t,e),Hi(e)&&t.queries.elementEnd(e)),gu}function qf(e,t,n){return pu(e,t,n),gu(),qf}let Jy=(e,t,n,r)=>(Ks(!0),Pd(t[g],""));function ev(){return Te()}const ra=void 0;var bI=["en",[["a","p"],["AM","PM"],ra],[["AM","PM"],ra,ra],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ra,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ra,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ra,"{1} 'at' {0}",ra],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function CI(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let qa={};function Xf(e){const t=function wI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iv(t);if(n)return n;const r=t.split("-")[0];if(n=iv(r),n)return n;if("en"===r)return bI;throw new Ge(701,!1)}function rv(e){return Xf(e)[Xa.PluralCase]}function iv(e){return e in qa||(qa[e]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[e]),qa[e]}var Xa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Xa||{});const Ya="en-US";let sv=Ya;function Jf(e,t,n,r){const i=Te(),s=Yt(),o=In();return eh(s,i,i[g],o,e,t,r),Jf}function eh(e,t,n,r,i,s,o){const c=si(r),w=e.firstCreatePass&&zg(e),A=t[C],L=Wg(t);let Z=!0;if(3&r.type||o){const Se=Di(r,t),ke=o?o(Se):Se,$e=L.length,Ne=o?cn=>o(mn(cn[r.index])):r.index;let St=null;if(!o&&c&&(St=function DM(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sh?c[h]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==St)(St.__ngLastListenerFn__||St).__ngNextListenerFn__=s,St.__ngLastListenerFn__=s,Z=!1;else{s=Pv(r,t,A,s,!1);const cn=n.listen(ke,i,s);L.push(s,cn),w&&w.push(i,Ne,$e,$e+1)}}else s=Pv(r,t,A,s,!1);const re=r.outputs;let ce;if(Z&&null!==re&&(ce=re[i])){const Se=ce.length;if(Se)for(let ke=0;ke-1?Wi(e.index,t):t);let h=Rv(t,n,r,o),w=s.__ngNextListenerFn__;for(;w;)h=Rv(t,n,w,o)&&h,w=w.__ngNextListenerFn__;return i&&!1===h&&o.preventDefault(),h}}function xv(e=1){return function EE(e){return(Tt.lFrame.contextLView=function Ph(e,t){for(;e>0;)t=t[U],e--;return t}(e,Tt.lFrame.contextLView))[C]}(e)}function EM(e,t){let n=null;const r=function Xe(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i(Ks(!0),function Rd(e,t){return e.createText(t)}(t[g],r));function nh(e){return Du("",e,""),nh}function Du(e,t,n){const r=Te(),i=function Ua(e,t,n,r){return Dr(e,ws(),n)?t+lt(n)+r:Vt}(r,e,t,n);return i!==Vt&&Do(r,ai(),i),Du}function rh(e,t,n,r,i){const s=Te(),o=function ja(e,t,n,r,i,s){const c=ea(e,mo(),n,i);return yo(2),c?t+lt(n)+r+lt(i)+s:Vt}(s,e,t,n,r,i);return o!==Vt&&Do(s,ai(),o),rh}function ih(e,t,n,r,i,s,o,c,h){const w=Te(),A=function $a(e,t,n,r,i,s,o,c,h,w){const L=ls(e,mo(),n,i,o,h);return yo(4),L?t+lt(n)+r+lt(i)+s+lt(o)+c+lt(h)+w:Vt}(w,e,t,n,r,i,s,o,c,h);return A!==Vt&&Do(w,ai(),A),ih}function sh(e,t,n){Bm(t)&&(t=t());const r=Te();return Dr(r,ws(),t)&&Ri(Yt(),zn(),r,e,t,r[g],n,!1),sh}function p_(e,t){const n=Bm(e);return n&&e.set(t),n}function oh(e,t){const n=Te(),r=Yt(),i=In();return eh(r,n,n[g],i,e,t),oh}function ah(e,t,n,r,i){if(e=se(e),Array.isArray(e))for(let s=0;s>20;if(vi(e)||!e.multi){const re=new ul(w,i,Ia),ce=ch(h,t,i?A:A+Z,L);-1===ce?(Zu(pc(c,o),s,h),lh(s,e,t.length),t.push(h),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(re),o.push(re)):(n[ce]=re,o[ce]=re)}else{const re=ch(h,t,A+Z,L),ce=ch(h,t,A,A+Z),ke=ce>=0&&n[ce];if(i&&!ke||!i&&!(re>=0&&n[re])){Zu(pc(c,o),s,h);const $e=function UM(e,t,n,r,i){const s=new ul(e,n,Ia);return s.multi=[],s.index=t,s.componentProviders=0,g_(s,i,r&&!n),s}(i?BM:VM,n.length,i,r,w);!i&&ke&&(n[ce].providerFactory=$e),lh(s,e,t.length,0),t.push(h),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push($e),o.push($e)}else lh(s,e,re>-1?re:ce,g_(n[i?ce:re],w,!i&&r));!i&&r&&ke&&n[ce].componentProviders++}}}function lh(e,t,n,r){const i=vi(t),s=function Ho(e){return!!e.useClass}(t);if(i||s){const h=(s?se(t.useClass):t).prototype.ngOnDestroy;if(h){const w=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const A=w.indexOf(n);-1===A?w.push(n,[r,h]):w[A+1].push(r,h)}else w.push(n,h)}}}function g_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ch(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function kM(e,t,n){const r=Yt();if(r.firstCreatePass){const i=Zr(e);ah(n,r.data,r.blueprint,i,!0),ah(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let jM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=xr(0,n.type),i=r.length>0?wf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ut({token:e,providedIn:"environment",factory:()=>new e(bn(Yr))})}return e})();function y_(e){Ys("NgStandalone"),e.getStandaloneInjector=t=>t.get(jM).getOrCreateStandaloneInjector(e)}function v_(e,t,n){const r=e.\u0275cmp;r.directiveDefs=is(t,!1),r.pipeDefs=is(n,!0)}function D_(e,t,n){const r=Ei()+e,i=Te();return i[r]===Vt?Zs(i,r,n?t.call(n):t()):Hl(i,r)}function E_(e,t,n,r){return A_(Te(),Ei(),e,t,n,r)}function C_(e,t,n,r,i){return function O_(e,t,n,r,i,s,o){const c=t+n;return ea(e,c,i,s)?Zs(e,c+2,o?r.call(o,i,s):r(i,s)):ec(e,c+2)}(Te(),Ei(),e,t,n,r,i)}function b_(e,t,n,r,i,s){return function N_(e,t,n,r,i,s,o,c){const h=t+n;return iu(e,h,i,s,o)?Zs(e,h+3,c?r.call(c,i,s,o):r(i,s,o)):ec(e,h+3)}(Te(),Ei(),e,t,n,r,i,s)}function w_(e,t,n,r,i,s,o){return function R_(e,t,n,r,i,s,o,c,h){const w=t+n;return ls(e,w,i,s,o,c)?Zs(e,w+4,h?r.call(h,i,s,o,c):r(i,s,o,c)):ec(e,w+4)}(Te(),Ei(),e,t,n,r,i,s,o)}function S_(e,t,n,r,i,s,o,c){const h=Ei()+e,w=Te(),A=ls(w,h,n,r,i,s);return Dr(w,h+4,o)||A?Zs(w,h+5,c?t.call(c,n,r,i,s,o):t(n,r,i,s,o)):Hl(w,h+5)}function I_(e,t,n,r,i,s,o,c,h){const w=Ei()+e,A=Te(),L=ls(A,w,n,r,i,s);return ea(A,w+4,o,c)||L?Zs(A,w+6,h?t.call(h,n,r,i,s,o,c):t(n,r,i,s,o,c)):Hl(A,w+6)}function M_(e,t,n,r,i,s,o,c,h,w){const A=Ei()+e,L=Te();let Z=ls(L,A,n,r,i,s);return iu(L,A+4,o,c,h)||Z?Zs(L,A+7,w?t.call(w,n,r,i,s,o,c,h):t(n,r,i,s,o,c,h)):Hl(L,A+7)}function T_(e,t,n,r){return function P_(e,t,n,r,i,s){let o=t+n,c=!1;for(let h=0;h=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=gi(r.type)),c=Ln(Ia);try{const h=hc(!1),w=s();return hc(h),function SM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Te(),i,w),w}finally{Ln(c)}}function F_(e,t,n){const r=e+Ye,i=Te(),s=ha(i,r);return function tc(e,t){return e[xe].data[t].pure}(i,r)?A_(i,Ei(),t,s.transform,n,s):s.transform(n)}function L_(e,t){return $c(e,t)}class Z_{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let J_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const iD=new _e(""),sD=new _e("");let mh,jT=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,mh||(function HT(e){mh=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Tr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(bn(Tr),bn(oD),bn(sD))};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})(),oD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return mh?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function yh(e){return!!e&&"function"==typeof e.then}function aD(e){return!!e&&"function"==typeof e.subscribe}const lD=new _e("");let vh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=gt(lD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(yh(s))n.push(s);else if(aD(s)){const o=new Promise((c,h)=>{s.subscribe({complete:c,error:h})});n.push(o)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _h=new _e("");function dD(e,t){return Array.isArray(t)?t.reduce(dD,e):{...e,...t}}let Po=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gt(yp),this.afterRenderEffectManager=gt(kl),this.externalTestViews=new Set,this.beforeRender=new Et.B,this.afterTick=new Et.B,this.componentTypes=[],this.components=[],this.isStable=gt(Na).hasPendingTasks.pipe((0,Jn.T)(n=>!n)),this._injector=gt(Yr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof am;if(!this._injector.get(vh).done)throw!i&&wn(n),new Ge(405,!1);let o;o=i?n:this._injector.get(qc).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const c=function $T(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Jo),w=o.create(zi.NULL,[],r||o.selector,c),A=w.location.nativeElement,L=w.injector.get(iD,null);return L?.registerApplication(A),w.onDestroy(()=>{this.detachView(w.hostView),wu(this.components,w),L?.unregisterApplication(A)}),this._loadComponent(w),w}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Ge(101,!1);const r=O(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,O(r)}}detectChangesInAttachedViews(n){let r=0;const i=this.afterRenderEffectManager;for(;;){if(r===Yg)throw new Ge(103,!1);if(n){const s=0===r;this.beforeRender.next(s);for(let{_lView:o,notifyErrorHandler:c}of this._views)WT(o,s,c)}if(r++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Dh(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Dh(s))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;wu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(_h,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>wu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ge(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function WT(e,t,n){!t&&!Dh(e)||function zT(e,t,n){let r;n?(r=0,e[et]|=1024):r=64&e[et]?0:1,Hc(e,t,r)}(e,n,t)}function Dh(e){return ku(e)}class KT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let QT=(()=>{class e{compileModuleSync(n){return new bf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Ki(Wn(n).declarations).reduce((o,c)=>{const h=Nt(c);return h&&o.push(new Ul(h)),o},[]);return new KT(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YT=(()=>{class e{constructor(){this.zone=gt(Tr),this.applicationRef=gt(Po)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZT(){const e=gt(Tr),t=gt(vo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let eA=(()=>{class e{constructor(){this.subscription=new pn.yU,this.initialized=!1,this.zone=gt(Tr),this.pendingTasks=gt(Na)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Tr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Tr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Iu=new _e("",{providedIn:"root",factory:()=>gt(Iu,bt.Optional|bt.SkipSelf)||function tA(){return typeof $localize<"u"&&$localize.locale||Ya}()}),nA=new _e("",{providedIn:"root",factory:()=>"USD"}),Eh=new _e("");let gD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Qw(e="zone.js",t){return"noop"===e?new pm:"zone.js"===e?new Tr(t):e}(r?.ngZone,function pD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function BS(e,t,n){return new Cf(e,t,n)}(n.moduleType,this.injector,function hD(e){return[{provide:Tr,useFactory:e},{provide:Ti,multi:!0,useFactory:()=>{const t=gt(YT,{optional:!0});return()=>t.initialize()}},{provide:Ti,multi:!0,useFactory:()=>{const t=gt(eA);return()=>{t.initialize()}}},{provide:yp,useFactory:ZT}]}(()=>i)),o=s.injector.get(vo,null);return i.runOutsideAngular(()=>{const c=i.onError.subscribe({next:h=>{o.handleError(h)}});s.onDestroy(()=>{wu(this._modules,s),c.unsubscribe()})}),function uD(e,t,n){try{const r=n();return yh(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,i,()=>{const c=s.injector.get(vh);return c.runInitializers(),c.donePromise.then(()=>(function ov(e){"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Iu,Ya)||Ya),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=dD({},r);return function XT(e,t,n){const r=new bf(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Po);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Ge(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ge(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Eh,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(bn(zi))};static#t=this.\u0275prov=Ut({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),xo=null;const mD=new _e("");function yD(e,t,n=[]){const r=`Platform: ${t}`,i=new _e(r);return(s=[])=>{let o=Ch();if(!o||o.injector.get(mD,!1)){const c=[...n,...s,{provide:i,useValue:!0}];e?e(c):function iA(e){if(xo&&!xo.get(mD,!1))throw new Ge(400,!1);(function cD(){!function hr(e){Ht=e}(()=>{throw new Ge(600,!1)})})(),xo=e;const t=e.get(gD);(function _D(e){e.get(Up,null)?.forEach(n=>n())})(e)}(function vD(e=[],t){return zi.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:Eh,useValue:new Set([()=>xo=null])},...e]})}(c,r))}return function sA(e){const t=Ch();if(!t)throw new Ge(401,!1);return t}()}}function Ch(){return xo?.get(gD)??null}let ED=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=aA}return e})();function aA(e){return function lA(e,t,n){if($i(e)&&!n){const r=Wi(e.index,t);return new Nl(r,r)}return 47&e.type?new Nl(t[H],t):null}(In(),Te(),!(16&~e))}class SD{constructor(){}supports(t){return ru(t)}create(t){return new hA(t)}}const fA=(e,t)=>t;class hA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||fA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(i,c),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,c,o,i)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new pA(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ID),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ID),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class pA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class ID{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new gA,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function MD(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new yA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class yA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function AD(){return new Mh([new SD])}let Mh=(()=>{class e{static#e=this.\u0275prov=Ut({token:e,providedIn:"root",factory:AD});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||AD()),deps:[[e,new gs,new Hr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ge(901,!1)}}return e})();function OD(){return new Th([new TD])}let Th=(()=>{class e{static#e=this.\u0275prov=Ut({token:e,providedIn:"root",factory:OD});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||OD()),deps:[[e,new gs,new Hr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ge(901,!1)}}return e})();const DA=yD(null,"core",[]);let EA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(bn(Po))};static#t=this.\u0275mod=ao({type:e});static#n=this.\u0275inj=ei({})}return e})();function XA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ZA(e,t){Ys("NgSignals");const n=function ve(e){const t=Object.create(rt);t.computation=e;const n=()=>{if(we(t),ue(t),t.value===Ee)throw t.error;return t.value};return n[V]=t,n}(e);return t?.equal&&(n[V].equal=t.equal),n}function JA(e){const t=O(null);try{return e()}finally{O(t)}}const eO=new _e("",{providedIn:"root",factory:()=>gt(tO)});let tO=(()=>{class e{static#e=this.\u0275prov=Ut({token:e,providedIn:"root",factory:()=>new nO})}return e})();class nO{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=gt(Na),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class rO{constructor(t,n,r,i,s,o){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=s,this.watcher=function yn(e,t,n){const r=Object.create(kt);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=h=>{r.cleanupFn=h};return r.ref={notify:()=>ot(r),run:()=>{if(null===r.fn)return;if(function $(){return le}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Bt(r))return;r.hasRun=!0;const h=pt(r);try{r.cleanupFn(),r.cleanupFn=ut,r.fn(i)}finally{zt(r,h)}},cleanup:()=>r.cleanupFn(),destroy:()=>function o(h){(function s(h){return null===h.fn&&null===h.schedule})(h)||(Le(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=ut)}(r),[V]:r},r.ref}(c=>this.runEffect(c),()=>this.schedule(),o),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(vo,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function ZD(e,t){Ys("NgSignals"),!t?.injector&&Hs();const n=t?.injector??gt(zi),r=!0!==t?.manualCleanup?n.get(va):null,i=new rO(n.get(eO),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),s=n.get(ED,null,{optional:!0});return s&&8&s._lView[et]?(s._lView[dt]??=[]).push(i.watcher.notify):i.watcher.notify(),i}function iO(e){const t=Nt(e);if(!t)return null;const n=new Ul(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},4341:(Je,Ie,F)=>{F.d(Ie,{YN:()=>io,kq:()=>je,vO:()=>Kn,BC:()=>Cn,vS:()=>bt});var m=F(4438),E=F(177),X=F(6648),le=F(1985),l=F(3073),V=F(8750),O=F(9326),W=F(4360),$=F(6450),k=F(8496),ue=F(6354);let Re=(()=>{class M{constructor(_,x){this._renderer=_,this._elementRef=x,this.onChange=J=>{},this.onTouched=()=>{}}setProperty(_,x){this._renderer.setProperty(this._elementRef.nativeElement,_,x)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}static#e=this.\u0275fac=function(x){return new(x||M)(m.rXU(m.sFG),m.rXU(m.aKT))};static#t=this.\u0275dir=m.FsC({type:M})}return M})(),we=(()=>{class M extends Re{static#e=this.\u0275fac=(()=>{let _;return function(J){return(_||(_=m.xGo(M)))(J||M)}})();static#t=this.\u0275dir=m.FsC({type:M,features:[m.Vt3]})}return M})();const je=new m.nKC(""),pt={provide:je,useExisting:(0,m.Rfq)(()=>Le),multi:!0},Bt=new m.nKC("");let Le=(()=>{class M extends Re{constructor(_,x,J){super(_,x),this._compositionMode=J,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function zt(){const M=(0,E.QT)()?(0,E.QT)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(_){this.setProperty("value",_??"")}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}static#e=this.\u0275fac=function(x){return new(x||M)(m.rXU(m.sFG),m.rXU(m.aKT),m.rXU(Bt,8))};static#t=this.\u0275dir=m.FsC({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(x,J){1&x&&m.bIt("input",function(wt){return J._handleInput(wt.target.value)})("blur",function(){return J.onTouched()})("compositionstart",function(){return J._compositionStart()})("compositionend",function(wt){return J._compositionEnd(wt.target.value)})},features:[m.Jv_([pt]),m.Vt3]})}return M})();const ie=new m.nKC(""),ee=new m.nKC("");function ge(M){return null!=M}function ye(M){return(0,m.jNT)(M)?(0,X.H)(M):M}function Ce(M){let T={};return M.forEach(_=>{T=null!=_?{...T,..._}:T}),0===Object.keys(T).length?null:T}function Fe(M,T){return T.map(_=>_(M))}function Ze(M){return M.map(T=>function Pe(M){return!M.validate}(T)?T:_=>T.validate(_))}function yn(M){return null!=M?function Rt(M){if(!M)return null;const T=M.filter(ge);return 0==T.length?null:function(_){return Ce(Fe(_,T))}}(Ze(M)):null}function kt(M){return null!=M?function ut(M){if(!M)return null;const T=M.filter(ge);return 0==T.length?null:function(_){return function K(...M){const T=(0,O.ms)(M),{args:_,keys:x}=(0,l.D)(M),J=new le.c(Xe=>{const{length:wt}=_;if(!wt)return void Xe.complete();const At=new Array(wt);let Gr=wt,Pn=wt;for(let ji=0;ji{Ai||(Ai=!0,Pn--),At[ji]=Ls},()=>Gr--,void 0,()=>{(!Gr||!Ai)&&(Pn||Xe.next(x?(0,k.e)(x,At):At),Xe.complete())}))}});return T?J.pipe((0,$.I)(T)):J}(Fe(_,T).map(ye)).pipe((0,ue.T)(Ce))}}(Ze(M)):null}function nn(M,T){return null===M?[T]:Array.isArray(M)?[...M,T]:[M,T]}function Mn(M){return M?Array.isArray(M)?M:[M]:[]}function Jn(M,T){return Array.isArray(M)?M.includes(T):M===T}function tn(M,T){const _=Mn(T);return Mn(M).forEach(J=>{Jn(_,J)||_.push(J)}),_}function er(M,T){return Mn(T).filter(_=>!Jn(M,_))}class Ge{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=yn(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=kt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,_){return!!this.control&&this.control.hasError(T,_)}getError(T,_){return this.control?this.control.getError(T,_):null}}class rn extends Ge{get formDirective(){return null}get path(){return null}}class Kn extends Ge{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ci{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Cn=(()=>{class M extends ci{constructor(_){super(_)}static#e=this.\u0275fac=function(x){return new(x||M)(m.rXU(Kn,2))};static#t=this.\u0275dir=m.FsC({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(x,J){2&x&&m.AVh("ng-untouched",J.isUntouched)("ng-touched",J.isTouched)("ng-pristine",J.isPristine)("ng-dirty",J.isDirty)("ng-valid",J.isValid)("ng-invalid",J.isInvalid)("ng-pending",J.isPending)},features:[m.Vt3]})}return M})();const se="VALID",te="INVALID",j="PENDING",ae="DISABLED";function dn(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class tr{constructor(T,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(_)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===se}get invalid(){return this.status===te}get pending(){return this.status==j}get disabled(){return this.status===ae}get enabled(){return this.status!==ae}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(tn(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(tn(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(er(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(er(T,this._rawAsyncValidators))}hasValidator(T){return Jn(this._rawValidators,T)}hasAsyncValidator(T){return Jn(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(_=>{_.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(_=>{_.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=j,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const _=this._parentMarkedDirty(T.onlySelf);this.status=ae,this.errors=null,this._forEachChild(x=>{x.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:_}),this._onDisabledChange.forEach(x=>x(!0))}enable(T={}){const _=this._parentMarkedDirty(T.onlySelf);this.status=se,this._forEachChild(x=>{x.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:_}),this._onDisabledChange.forEach(x=>x(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===se||this.status===j)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(_=>_._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ae:se}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=j,this._hasOwnPendingAsyncValidator=!0;const _=ye(this.asyncValidator(this));this._asyncValidationSubscription=_.subscribe(x=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(x,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,_={}){this.errors=T,this._updateControlsErrors(!1!==_.emitEvent)}get(T){let _=T;return null==_||(Array.isArray(_)||(_=_.split(".")),0===_.length)?null:_.reduce((x,J)=>x&&x._find(J),this)}getError(T,_){const x=_?this.get(_):this;return x&&x.errors?x.errors[T]:null}hasError(T,_){return!!this.getError(T,_)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new m.bkB,this.statusChanges=new m.bkB}_calculateStatus(){return this._allControlsDisabled()?ae:this.errors?te:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(j)?j:this._anyControlsHaveStatus(te)?te:se}_anyControlsHaveStatus(T){return this._anyControls(_=>_.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){dn(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function Qe(M){return Array.isArray(M)?yn(M):M||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function Kt(M){return Array.isArray(M)?kt(M):M||null}(this._rawAsyncValidators)}}const Wr=new m.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>bi}),bi="always";function Hn(M,T,_=bi){(function Rr(M,T){const _=function Et(M){return M._rawValidators}(M);null!==T.validator?M.setValidators(nn(_,T.validator)):"function"==typeof _&&M.setValidators([_]);const x=function pn(M){return M._rawAsyncValidators}(M);null!==T.asyncValidator?M.setAsyncValidators(nn(x,T.asyncValidator)):"function"==typeof x&&M.setAsyncValidators([x]);const J=()=>M.updateValueAndValidity();di(T._rawValidators,J),di(T._rawAsyncValidators,J)})(M,T),T.valueAccessor.writeValue(M.value),(M.disabled||"always"===_)&&T.valueAccessor.setDisabledState?.(M.disabled),function fi(M,T){T.valueAccessor.registerOnChange(_=>{M._pendingValue=_,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&zr(M,T)})}(M,T),function B(M,T){const _=(x,J)=>{T.valueAccessor.writeValue(x),J&&T.viewToModelUpdate(x)};M.registerOnChange(_),T._registerOnDestroy(()=>{M._unregisterOnChange(_)})}(M,T),function ds(M,T){T.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&zr(M,T),"submit"!==M.updateOn&&M.markAsTouched()})}(M,T),function ei(M,T){if(T.valueAccessor.setDisabledState){const _=x=>{T.valueAccessor.setDisabledState(x)};M.registerOnDisabledChange(_),T._registerOnDestroy(()=>{M._unregisterOnDisabledChange(_)})}}(M,T)}function di(M,T){M.forEach(_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(T)})}function zr(M,T){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function sn(M,T){const _=M.indexOf(T);_>-1&&M.splice(_,1)}function cr(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}Promise.resolve();const on=class extends tr{constructor(T=null,_,x){super(function Ae(M){return(dn(M)?M.validators:M)||null}(_),function it(M,T){return(dn(T)?T.asyncValidators:M)||null}(x,_)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dn(_)&&(_.nonNullable||_.initialValueIsDefault)&&(this.defaultValue=cr(T)?T.value:T)}setValue(T,_={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach(x=>x(this.value,!1!==_.emitViewToModelChange)),this.updateValueAndValidity(_)}patchValue(T,_={}){this.setValue(T,_)}reset(T=this.defaultValue,_={}){this._applyFormState(T),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){sn(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){sn(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){cr(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},jr={provide:Kn,useExisting:(0,m.Rfq)(()=>bt)},yr=Promise.resolve();let bt=(()=>{class M extends Kn{constructor(_,x,J,Xe,wt,At){super(),this._changeDetectorRef=wt,this.callSetDisabledState=At,this.control=new on,this._registered=!1,this.name="",this.update=new m.bkB,this._parent=_,this._setValidators(x),this._setAsyncValidators(J),this.valueAccessor=function jt(M,T){if(!T)return null;let _,x,J;return Array.isArray(T),T.forEach(Xe=>{Xe.constructor===Le?_=Xe:function Zt(M){return Object.getPrototypeOf(M.constructor)===we}(Xe)?x=Xe:J=Xe}),J||x||_||null}(0,Xe)}ngOnChanges(_){if(this._checkForErrors(),!this._registered||"name"in _){if(this._registered&&(this._checkName(),this.formDirective)){const x=_.name.previousValue;this.formDirective.removeControl({name:x,path:this._getPath(x)})}this._setUpControl()}"isDisabled"in _&&this._updateDisabled(_),function st(M,T){if(!M.hasOwnProperty("model"))return!1;const _=M.model;return!!_.isFirstChange()||!Object.is(T,_.currentValue)}(_,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Hn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(_){yr.then(()=>{this.control.setValue(_,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(_){const x=_.isDisabled.currentValue,J=0!==x&&(0,m.L39)(x);yr.then(()=>{J&&!this.control.disabled?this.control.disable():!J&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(_){return this._parent?function wi(M,T){return[...T.path,M]}(_,this._parent):[_]}static#e=this.\u0275fac=function(x){return new(x||M)(m.rXU(rn,9),m.rXU(ie,10),m.rXU(ee,10),m.rXU(je,10),m.rXU(m.gRc,8),m.rXU(Wr,8))};static#t=this.\u0275dir=m.FsC({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[m.Mj6.None,"disabled","isDisabled"],model:[m.Mj6.None,"ngModel","model"],options:[m.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[m.Jv_([jr]),m.Vt3,m.OA$]})}return M})(),ri=(()=>{class M{static#e=this.\u0275fac=function(x){return new(x||M)};static#t=this.\u0275mod=m.$C({type:M});static#n=this.\u0275inj=m.G2t({})}return M})(),io=(()=>{class M{static withConfig(_){return{ngModule:M,providers:[{provide:Wr,useValue:_.callSetDisabledState??bi}]}}static#e=this.\u0275fac=function(x){return new(x||M)};static#t=this.\u0275mod=m.$C({type:M});static#n=this.\u0275inj=m.G2t({imports:[ri]})}return M})()},345:(Je,Ie,F)=>{F.d(Ie,{B7:()=>ee,Bb:()=>Mn,hE:()=>er,sG:()=>kt});var m=F(4438),E=F(177);class X extends E.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class le extends X{static makeCurrent(){(0,E.ZD)(new le)}onAndCancel(te,j,ae){return te.addEventListener(j,ae),()=>{te.removeEventListener(j,ae)}}dispatchEvent(te,j){te.dispatchEvent(j)}remove(te){te.parentNode&&te.parentNode.removeChild(te)}createElement(te,j){return(j=j||this.getDefaultDocument()).createElement(te)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(te){return te.nodeType===Node.ELEMENT_NODE}isShadowRoot(te){return te instanceof DocumentFragment}getGlobalEventTarget(te,j){return"window"===j?window:"document"===j?te:"body"===j?te.body:null}getBaseHref(te){const j=function V(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==j?null:function O(se){return new URL(se,document.baseURI).pathname}(j)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(te){return(0,E._b)(document.cookie,te)}}let l=null,$=(()=>{class se{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ae){return new(ae||se)};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac})}return se})();const k=new m.nKC("");let K=(()=>{class se{constructor(j,ae){this._zone=ae,this._eventNameToPlugin=new Map,j.forEach(Ae=>{Ae.manager=this}),this._plugins=j.slice().reverse()}addEventListener(j,ae,Ae){return this._findPluginFor(ae).addEventListener(j,ae,Ae)}getZone(){return this._zone}_findPluginFor(j){let ae=this._eventNameToPlugin.get(j);if(ae)return ae;if(ae=this._plugins.find(Qe=>Qe.supports(j)),!ae)throw new m.wOt(5101,!1);return this._eventNameToPlugin.set(j,ae),ae}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(k),m.KVO(m.SKi))};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac})}return se})();class ue{constructor(te){this._doc=te}}const Re="ng-app-id";let we=(()=>{class se{constructor(j,ae,Ae,Qe={}){this.doc=j,this.appId=ae,this.nonce=Ae,this.platformId=Qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,E.Vy)(Qe),this.resetHostNodes()}addStyles(j){for(const ae of j)1===this.changeUsageCount(ae,1)&&this.onStyleAdded(ae)}removeStyles(j){for(const ae of j)this.changeUsageCount(ae,-1)<=0&&this.onStyleRemoved(ae)}ngOnDestroy(){const j=this.styleNodesInDOM;j&&(j.forEach(ae=>ae.remove()),j.clear());for(const ae of this.getAllStyles())this.onStyleRemoved(ae);this.resetHostNodes()}addHost(j){this.hostNodes.add(j);for(const ae of this.getAllStyles())this.addStyleToHost(j,ae)}removeHost(j){this.hostNodes.delete(j)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(j){for(const ae of this.hostNodes)this.addStyleToHost(ae,j)}onStyleRemoved(j){const ae=this.styleRef;ae.get(j)?.elements?.forEach(Ae=>Ae.remove()),ae.delete(j)}collectServerRenderedStyles(){const j=this.doc.head?.querySelectorAll(`style[${Re}="${this.appId}"]`);if(j?.length){const ae=new Map;return j.forEach(Ae=>{null!=Ae.textContent&&ae.set(Ae.textContent,Ae)}),ae}return null}changeUsageCount(j,ae){const Ae=this.styleRef;if(Ae.has(j)){const Qe=Ae.get(j);return Qe.usage+=ae,Qe.usage}return Ae.set(j,{usage:ae,elements:[]}),ae}getStyleElement(j,ae){const Ae=this.styleNodesInDOM,Qe=Ae?.get(ae);if(Qe?.parentNode===j)return Ae.delete(ae),Qe.removeAttribute(Re),Qe;{const it=this.doc.createElement("style");return this.nonce&&it.setAttribute("nonce",this.nonce),it.textContent=ae,this.platformIsServer&&it.setAttribute(Re,this.appId),j.appendChild(it),it}}addStyleToHost(j,ae){const Ae=this.getStyleElement(j,ae),Qe=this.styleRef,it=Qe.get(ae)?.elements;it?it.push(Ae):Qe.set(ae,{elements:[Ae],usage:1})}resetHostNodes(){const j=this.hostNodes;j.clear(),j.add(this.doc.head)}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(E.qQ),m.KVO(m.sZ2),m.KVO(m.BIS,8),m.KVO(m.Agw))};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac})}return se})();const je={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},nt=/%COMP%/g,Le=new m.nKC("",{providedIn:"root",factory:()=>!0});function ie(se,te){return te.map(j=>j.replace(nt,se))}let ee=(()=>{class se{constructor(j,ae,Ae,Qe,it,Kt,dn,Tn=null){this.eventManager=j,this.sharedStylesHost=ae,this.appId=Ae,this.removeStylesOnCompDestroy=Qe,this.doc=it,this.platformId=Kt,this.ngZone=dn,this.nonce=Tn,this.rendererByCompId=new Map,this.platformIsServer=(0,E.Vy)(Kt),this.defaultRenderer=new ne(j,it,dn,this.platformIsServer)}createRenderer(j,ae){if(!j||!ae)return this.defaultRenderer;this.platformIsServer&&ae.encapsulation===m.gXe.ShadowDom&&(ae={...ae,encapsulation:m.gXe.Emulated});const Ae=this.getOrCreateRenderer(j,ae);return Ae instanceof _t?Ae.applyToHost(j):Ae instanceof rt&&Ae.applyStyles(),Ae}getOrCreateRenderer(j,ae){const Ae=this.rendererByCompId;let Qe=Ae.get(ae.id);if(!Qe){const it=this.doc,Kt=this.ngZone,dn=this.eventManager,Tn=this.sharedStylesHost,ir=this.removeStylesOnCompDestroy,tr=this.platformIsServer;switch(ae.encapsulation){case m.gXe.Emulated:Qe=new _t(dn,Tn,ae,this.appId,ir,it,Kt,tr);break;case m.gXe.ShadowDom:return new Ee(dn,Tn,j,ae,it,Kt,this.nonce,tr);default:Qe=new rt(dn,Tn,ae,ir,it,Kt,tr)}Ae.set(ae.id,Qe)}return Qe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(K),m.KVO(we),m.KVO(m.sZ2),m.KVO(Le),m.KVO(E.qQ),m.KVO(m.Agw),m.KVO(m.SKi),m.KVO(m.BIS))};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac})}return se})();class ne{constructor(te,j,ae,Ae){this.eventManager=te,this.doc=j,this.ngZone=ae,this.platformIsServer=Ae,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(te,j){return j?this.doc.createElementNS(je[j]||j,te):this.doc.createElement(te)}createComment(te){return this.doc.createComment(te)}createText(te){return this.doc.createTextNode(te)}appendChild(te,j){(Oe(te)?te.content:te).appendChild(j)}insertBefore(te,j,ae){te&&(Oe(te)?te.content:te).insertBefore(j,ae)}removeChild(te,j){te&&te.removeChild(j)}selectRootElement(te,j){let ae="string"==typeof te?this.doc.querySelector(te):te;if(!ae)throw new m.wOt(-5104,!1);return j||(ae.textContent=""),ae}parentNode(te){return te.parentNode}nextSibling(te){return te.nextSibling}setAttribute(te,j,ae,Ae){if(Ae){j=Ae+":"+j;const Qe=je[Ae];Qe?te.setAttributeNS(Qe,j,ae):te.setAttribute(j,ae)}else te.setAttribute(j,ae)}removeAttribute(te,j,ae){if(ae){const Ae=je[ae];Ae?te.removeAttributeNS(Ae,j):te.removeAttribute(`${ae}:${j}`)}else te.removeAttribute(j)}addClass(te,j){te.classList.add(j)}removeClass(te,j){te.classList.remove(j)}setStyle(te,j,ae,Ae){Ae&(m.czy.DashCase|m.czy.Important)?te.style.setProperty(j,ae,Ae&m.czy.Important?"important":""):te.style[j]=ae}removeStyle(te,j,ae){ae&m.czy.DashCase?te.style.removeProperty(j):te.style[j]=""}setProperty(te,j,ae){null!=te&&(te[j]=ae)}setValue(te,j){te.nodeValue=j}listen(te,j,ae){if("string"==typeof te&&!(te=(0,E.QT)().getGlobalEventTarget(this.doc,te)))throw new Error(`Unsupported event target ${te} for event ${j}`);return this.eventManager.addEventListener(te,j,this.decoratePreventDefault(ae))}decoratePreventDefault(te){return j=>{if("__ngUnwrap__"===j)return te;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>te(j)):te(j))&&j.preventDefault()}}}function Oe(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class Ee extends ne{constructor(te,j,ae,Ae,Qe,it,Kt,dn){super(te,Qe,it,dn),this.sharedStylesHost=j,this.hostEl=ae,this.shadowRoot=ae.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tn=ie(Ae.id,Ae.styles);for(const ir of Tn){const tr=document.createElement("style");Kt&&tr.setAttribute("nonce",Kt),tr.textContent=ir,this.shadowRoot.appendChild(tr)}}nodeOrShadowRoot(te){return te===this.hostEl?this.shadowRoot:te}appendChild(te,j){return super.appendChild(this.nodeOrShadowRoot(te),j)}insertBefore(te,j,ae){return super.insertBefore(this.nodeOrShadowRoot(te),j,ae)}removeChild(te,j){return super.removeChild(this.nodeOrShadowRoot(te),j)}parentNode(te){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(te)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class rt extends ne{constructor(te,j,ae,Ae,Qe,it,Kt,dn){super(te,Qe,it,Kt),this.sharedStylesHost=j,this.removeStylesOnCompDestroy=Ae,this.styles=dn?ie(dn,ae.styles):ae.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class _t extends rt{constructor(te,j,ae,Ae,Qe,it,Kt,dn){const Tn=Ae+"-"+ae.id;super(te,j,ae,Qe,it,Kt,dn,Tn),this.contentAttr=function de(se){return"_ngcontent-%COMP%".replace(nt,se)}(Tn),this.hostAttr=function qe(se){return"_nghost-%COMP%".replace(nt,se)}(Tn)}applyToHost(te){this.applyStyles(),this.setAttribute(te,this.hostAttr,"")}createElement(te,j){const ae=super.createElement(te,j);return super.setAttribute(ae,this.contentAttr,""),ae}}let Ht=(()=>{class se extends ue{constructor(j){super(j)}supports(j){return!0}addEventListener(j,ae,Ae){return j.addEventListener(ae,Ae,!1),()=>this.removeEventListener(j,ae,Ae)}removeEventListener(j,ae,Ae){return j.removeEventListener(ae,Ae)}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(E.qQ))};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac})}return se})();const qt=["alt","control","meta","shift"],hr={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},he={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let ge=(()=>{class se extends ue{constructor(j){super(j)}supports(j){return null!=se.parseEventName(j)}addEventListener(j,ae,Ae){const Qe=se.parseEventName(ae),it=se.eventCallback(Qe.fullKey,Ae,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.QT)().onAndCancel(j,Qe.domEventName,it))}static parseEventName(j){const ae=j.toLowerCase().split("."),Ae=ae.shift();if(0===ae.length||"keydown"!==Ae&&"keyup"!==Ae)return null;const Qe=se._normalizeKey(ae.pop());let it="",Kt=ae.indexOf("code");if(Kt>-1&&(ae.splice(Kt,1),it="code."),qt.forEach(Tn=>{const ir=ae.indexOf(Tn);ir>-1&&(ae.splice(ir,1),it+=Tn+".")}),it+=Qe,0!=ae.length||0===Qe.length)return null;const dn={};return dn.domEventName=Ae,dn.fullKey=it,dn}static matchEventFullKeyCode(j,ae){let Ae=hr[j.key]||j.key,Qe="";return ae.indexOf("code.")>-1&&(Ae=j.code,Qe="code."),!(null==Ae||!Ae)&&(Ae=Ae.toLowerCase()," "===Ae?Ae="space":"."===Ae&&(Ae="dot"),qt.forEach(it=>{it!==Ae&&(0,he[it])(j)&&(Qe+=it+".")}),Qe+=Ae,Qe===ae)}static eventCallback(j,ae,Ae){return Qe=>{se.matchEventFullKeyCode(Qe,j)&&Ae.runGuarded(()=>ae(Qe))}}static _normalizeKey(j){return"esc"===j?"escape":j}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(E.qQ))};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac})}return se})();const kt=(0,m.oH4)(m.fpN,"browser",[{provide:m.Agw,useValue:E.AJ},{provide:m.PLl,useValue:function Ze(){le.makeCurrent()},multi:!0},{provide:E.qQ,useFactory:function yn(){return(0,m.TL$)(document),document},deps:[]}]),nn=new m.nKC(""),Et=[{provide:m.e01,useClass:class W{addToWindow(te){m.JZv.getAngularTestability=(ae,Ae=!0)=>{const Qe=te.findTestabilityInTree(ae,Ae);if(null==Qe)throw new m.wOt(5103,!1);return Qe},m.JZv.getAllAngularTestabilities=()=>te.getAllTestabilities(),m.JZv.getAllAngularRootElements=()=>te.getAllRootElements(),m.JZv.frameworkStabilizers||(m.JZv.frameworkStabilizers=[]),m.JZv.frameworkStabilizers.push(ae=>{const Ae=m.JZv.getAllAngularTestabilities();let Qe=Ae.length;const it=function(){Qe--,0==Qe&&ae()};Ae.forEach(Kt=>{Kt.whenStable(it)})})}findTestabilityInTree(te,j,ae){return null==j?null:te.getTestability(j)??(ae?(0,E.QT)().isShadowRoot(j)?this.findTestabilityInTree(te,j.host,!0):this.findTestabilityInTree(te,j.parentElement,!0):null)}},deps:[]},{provide:m.WHO,useClass:m.NYb,deps:[m.SKi,m.giA,m.e01]},{provide:m.NYb,useClass:m.NYb,deps:[m.SKi,m.giA,m.e01]}],pn=[{provide:m.H8p,useValue:"root"},{provide:m.zcH,useFactory:function Rt(){return new m.zcH},deps:[]},{provide:k,useClass:Ht,multi:!0,deps:[E.qQ,m.SKi,m.Agw]},{provide:k,useClass:ge,multi:!0,deps:[E.qQ]},ee,we,K,{provide:m._9s,useExisting:ee},{provide:E.N0,useClass:$,deps:[]},[]];let Mn=(()=>{class se{constructor(j){}static withServerTransition(j){return{ngModule:se,providers:[{provide:m.sZ2,useValue:j.appId}]}}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(nn,12))};static#t=this.\u0275mod=m.$C({type:se});static#n=this.\u0275inj=m.G2t({providers:[...pn,...Et],imports:[E.MD,m.Hbi]})}return se})(),er=(()=>{class se{constructor(j){this._doc=j}getTitle(){return this._doc.title}setTitle(j){this._doc.title=j||""}static#e=this.\u0275fac=function(ae){return new(ae||se)(m.KVO(E.qQ))};static#t=this.\u0275prov=m.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})()},2365:(Je,Ie,F)=>{F.d(Ie,{nX:()=>pi,wF:()=>Pr,Ix:()=>H,Wk:()=>He,wQ:()=>We,iI:()=>oc,n3:()=>$r});var m=F(467),E=F(4438),X=F(1985),le=F(8071),V=F(6648),O=F(7673),W=F(4412),$=F(3073),k=F(3669),K=F(6450),ue=F(9326),Re=F(8496),we=F(4360),je=F(5225);function nt(...u){const y=(0,ue.lI)(u),f=(0,ue.ms)(u),{args:v,keys:S}=(0,$.D)(u);if(0===v.length)return(0,V.H)([],y);const R=new X.c(function ot(u,y,f=k.D){return v=>{pt(y,()=>{const{length:S}=u,R=new Array(S);let G=S,pe=S;for(let oe=0;oe{const Ue=(0,V.H)(u[oe],y);let ht=!1;Ue.subscribe((0,we._)(v,Lt=>{R[oe]=Lt,ht||(ht=!0,pe--),pe||v.next(f(R.slice()))},()=>{--G||v.complete()}))},v)},v)}}(v,y,S?G=>(0,Re.e)(S,G):k.D));return f?R.pipe((0,K.I)(f)):R}function pt(u,y,f){u?(0,je.N)(f,u,y):y()}const Bt=(0,F(1853).L)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var Le=F(1397);function de(u=1/0){return(0,Le.Z)(k.D,u)}function ie(...u){return function qe(){return de(1)}()((0,V.H)(u,(0,ue.lI)(u)))}var ee=F(8750);function ne(u){return new X.c(y=>{(0,ee.Tg)(u()).subscribe(y)})}var ve=F(1203);function Y(u,y){const f=(0,le.T)(u)?u:()=>u,v=S=>S.error(f());return new X.c(y?S=>y.schedule(v,0,S):v)}const Oe=new X.c(u=>u.complete());var _t=F(8359),Ht=F(9974);function qt(){return(0,Ht.N)((u,y)=>{let f=null;u._refCount++;const v=(0,we._)(y,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(f=null);const S=u._connection,R=f;f=null,S&&(!R||S===R)&&S.unsubscribe(),y.unsubscribe()});u.subscribe(v),v.closed||(f=u.connect())})}class hr extends X.c{constructor(y,f){super(),this.source=y,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,Ht.S)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new _t.yU;const f=this.getSubject();y.add(this.source.subscribe((0,we._)(f,void 0,()=>{this._teardown(),f.complete()},v=>{this._teardown(),f.error(v)},()=>this._teardown()))),y.closed&&(this._connection=null,y=_t.yU.EMPTY)}return y}refCount(){return qt()(this)}}var he=F(1413),ge=F(177),ye=F(6354),Ce=F(5558);function Fe(u){return u<=0?()=>Oe:(0,Ht.N)((y,f)=>{let v=0;y.subscribe((0,we._)(f,S=>{++v<=u&&(f.next(S),u<=v&&f.complete())}))})}var Ze=F(5964);function Rt(u){return(0,Ht.N)((y,f)=>{let v=!1;y.subscribe((0,we._)(f,S=>{v=!0,f.next(S)},()=>{v||f.next(u),f.complete()}))})}function yn(u=ut){return(0,Ht.N)((y,f)=>{let v=!1;y.subscribe((0,we._)(f,S=>{v=!0,f.next(S)},()=>v?f.complete():f.error(u())))})}function ut(){return new Bt}function kt(u,y){const f=arguments.length>=2;return v=>v.pipe(u?(0,Ze.p)((S,R)=>u(S,R,v)):k.D,Fe(1),f?Rt(y):yn(()=>new Bt))}var nn=F(274);function Et(u,y,f){const v=(0,le.T)(u)||y||f?{next:u,error:y,complete:f}:u;return v?(0,Ht.N)((S,R)=>{var G;null===(G=v.subscribe)||void 0===G||G.call(v);let pe=!0;S.subscribe((0,we._)(R,oe=>{var Ue;null===(Ue=v.next)||void 0===Ue||Ue.call(v,oe),R.next(oe)},()=>{var oe;pe=!1,null===(oe=v.complete)||void 0===oe||oe.call(v),R.complete()},oe=>{var Ue;pe=!1,null===(Ue=v.error)||void 0===Ue||Ue.call(v,oe),R.error(oe)},()=>{var oe,Ue;pe&&(null===(oe=v.unsubscribe)||void 0===oe||oe.call(v)),null===(Ue=v.finalize)||void 0===Ue||Ue.call(v)}))}):k.D}function pn(u){return(0,Ht.N)((y,f)=>{let R,v=null,S=!1;v=y.subscribe((0,we._)(f,void 0,void 0,G=>{R=(0,ee.Tg)(u(G,pn(u)(y))),v?(v.unsubscribe(),v=null,R.subscribe(f)):S=!0})),S&&(v.unsubscribe(),v=null,R.subscribe(f))})}function tn(u){return u<=0?()=>Oe:(0,Ht.N)((y,f)=>{let v=[];y.subscribe((0,we._)(f,S=>{v.push(S),u{for(const S of v)f.next(S);f.complete()},void 0,()=>{v=null}))})}var rn=F(980),Kn=F(5343),qi=F(345);const Mt="primary",Cn=Symbol("RouteTitle");class It{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const f=this.params[y];return Array.isArray(f)?f[0]:f}return null}getAll(y){if(this.has(y)){const f=this.params[y];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function Ct(u){return new It(u)}function pr(u,y,f){const v=f.path.split("/");if(v.length>u.length||"full"===f.pathMatch&&(y.hasChildren()||v.lengthv[R]===S)}return u===y}function cs(u){return u.length>0?u[u.length-1]:null}function ct(u){return function l(u){return!!u&&(u instanceof X.c||(0,le.T)(u.lift)&&(0,le.T)(u.subscribe))}(u)?u:(0,E.jNT)(u)?(0,V.H)(Promise.resolve(u)):(0,O.of)(u)}const Jr={exact:function vn(u,y,f){if(!Ae(u.segments,y.segments)||!Nr(u.segments,y.segments,f)||u.numberOfChildren!==y.numberOfChildren)return!1;for(const v in y.children)if(!u.children[v]||!vn(u.children[v],y.children[v],f))return!1;return!0},subset:Xi},Gt={exact:function ui(u,y){return un(u,y)},subset:function Or(u,y){return Object.keys(y).length<=Object.keys(u).length&&Object.keys(y).every(f=>jn(u[f],y[f]))},ignored:()=>!0};function Wt(u,y,f){return Jr[f.paths](u.root,y.root,f.matrixParams)&&Gt[f.queryParams](u.queryParams,y.queryParams)&&!("exact"===f.fragment&&u.fragment!==y.fragment)}function Xi(u,y,f){return Fi(u,y,y.segments,f)}function Fi(u,y,f,v){if(u.segments.length>f.length){const S=u.segments.slice(0,f.length);return!(!Ae(S,f)||y.hasChildren()||!Nr(S,f,v))}if(u.segments.length===f.length){if(!Ae(u.segments,f)||!Nr(u.segments,f,v))return!1;for(const S in y.children)if(!u.children[S]||!Xi(u.children[S],y.children[S],v))return!1;return!0}{const S=f.slice(0,u.segments.length),R=f.slice(u.segments.length);return!!(Ae(u.segments,S)&&Nr(u.segments,S,v)&&u.children[Mt])&&Fi(u.children[Mt],y,R,v)}}function Nr(u,y,f){return y.every((v,S)=>Gt[f](u[S].parameters,v.parameters))}class se{constructor(y=new te([],{}),f={},v=null){this.root=y,this.queryParams=f,this.fragment=v}get queryParamMap(){return this._queryParamMap??=Ct(this.queryParams),this._queryParamMap}toString(){return dn.serialize(this)}}class te{constructor(y,f){this.segments=y,this.children=f,this.parent=null,Object.values(f).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tn(this)}}class j{constructor(y,f){this.path=y,this.parameters=f}get parameterMap(){return this._parameterMap??=Ct(this.parameters),this._parameterMap}toString(){return us(this)}}function Ae(u,y){return u.length===y.length&&u.every((f,v)=>f.path===y[v].path)}let it=(()=>{class u{static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:()=>new Kt,providedIn:"root"})}return u})();class Kt{parse(y){const f=new ds(y);return new se(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(y){const f=`/${ir(y.root,!0)}`,v=function bi(u){const y=Object.entries(u).map(([f,v])=>Array.isArray(v)?v.map(S=>`${Ur(f)}=${Ur(S)}`).join("&"):`${Ur(f)}=${Ur(v)}`).filter(f=>f);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${f}${v}${"string"==typeof y.fragment?`#${function As(u){return encodeURI(u)}(y.fragment)}`:""}`}}const dn=new Kt;function Tn(u){return u.segments.map(y=>us(y)).join("/")}function ir(u,y){if(!u.hasChildren())return Tn(u);if(y){const f=u.children[Mt]?ir(u.children[Mt],!1):"",v=[];return Object.entries(u.children).forEach(([S,R])=>{S!==Mt&&v.push(`${S}:${ir(R,!1)}`)}),v.length>0?`${f}(${v.join("//")})`:f}{const f=function Qe(u,y){let f=[];return Object.entries(u.children).forEach(([v,S])=>{v===Mt&&(f=f.concat(y(S,v)))}),Object.entries(u.children).forEach(([v,S])=>{v!==Mt&&(f=f.concat(y(S,v)))}),f}(u,(v,S)=>S===Mt?[ir(u.children[Mt],!1)]:[`${S}:${ir(v,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Mt]?`${Tn(u)}/${f[0]}`:`${Tn(u)}/(${f.join("//")})`}}function tr(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ur(u){return tr(u).replace(/%3B/gi,";")}function Os(u){return tr(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function An(u){return decodeURIComponent(u)}function at(u){return An(u.replace(/\+/g,"%20"))}function us(u){return`${Os(u.path)}${function Wr(u){return Object.entries(u).map(([y,f])=>`;${Os(y)}=${Os(f)}`).join("")}(u.parameters)}`}const wi=/^[^\/()?;#]+/;function Hn(u){const y=u.match(wi);return y?y[0]:""}const Ut=/^[^\/()?;=#]+/,ei=/^[^=?&#]+/,On=/^[^&#]+/;class ds{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(y.length>0||Object.keys(f).length>0)&&(v[Mt]=new te(y,f)),v}parseSegment(){const y=Hn(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new E.wOt(4009,!1);return this.capture(y),new j(An(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const f=function di(u){const y=u.match(Ut);return y?y[0]:""}(this.remaining);if(!f)return;this.capture(f);let v="";if(this.consumeOptional("=")){const S=Hn(this.remaining);S&&(v=S,this.capture(v))}y[An(f)]=An(v)}parseQueryParam(y){const f=function Rr(u){const y=u.match(ei);return y?y[0]:""}(this.remaining);if(!f)return;this.capture(f);let v="";if(this.consumeOptional("=")){const G=function fi(u){const y=u.match(On);return y?y[0]:""}(this.remaining);G&&(v=G,this.capture(v))}const S=at(f),R=at(v);if(y.hasOwnProperty(S)){let G=y[S];Array.isArray(G)||(G=[G],y[S]=G),G.push(R)}else y[S]=R}parseParens(y){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Hn(this.remaining),S=this.remaining[v.length];if("/"!==S&&")"!==S&&";"!==S)throw new E.wOt(4010,!1);let R;v.indexOf(":")>-1?(R=v.slice(0,v.indexOf(":")),this.capture(R),this.capture(":")):y&&(R=Mt);const G=this.parseChildren();f[R]=1===Object.keys(G).length?G[Mt]:new te([],G),this.consumeOptional("//")}return f}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new E.wOt(4011,!1)}}function zr(u){return u.segments.length>0?new te([],{[Mt]:u}):u}function B(u){const y={};for(const[v,S]of Object.entries(u.children)){const R=B(S);if(v===Mt&&0===R.segments.length&&R.hasChildren())for(const[G,pe]of Object.entries(R.children))y[G]=pe;else(R.segments.length>0||R.hasChildren())&&(y[v]=R)}return function Q(u){if(1===u.numberOfChildren&&u.children[Mt]){const y=u.children[Mt];return new te(u.segments.concat(y.segments),y.children)}return u}(new te(u.segments,y))}function q(u){return u instanceof se}function _e(u){let y;const S=zr(function f(R){const G={};for(const oe of R.children){const Ue=f(oe);G[oe.outlet]=Ue}const pe=new te(R.url,G);return R===u&&(y=pe),pe}(u.root));return y??S}function Ve(u,y,f,v){let S=u;for(;S.parent;)S=S.parent;if(0===y.length)return st(S,S,S,f,v);const R=function jt(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new _n(!0,0,u);let y=0,f=!1;const v=u.reduce((S,R,G)=>{if("object"==typeof R&&null!=R){if(R.outlets){const pe={};return Object.entries(R.outlets).forEach(([oe,Ue])=>{pe[oe]="string"==typeof Ue?Ue.split("/"):Ue}),[...S,{outlets:pe}]}if(R.segmentPath)return[...S,R.segmentPath]}return"string"!=typeof R?[...S,R]:0===G?(R.split("/").forEach((pe,oe)=>{0==oe&&"."===pe||(0==oe&&""===pe?f=!0:".."===pe?y++:""!=pe&&S.push(pe))}),S):[...S,R]},[]);return new _n(f,y,v)}(y);if(R.toRoot())return st(S,S,new te([],{}),f,v);const G=function wr(u,y,f){if(u.isAbsolute)return new Nn(y,!0,0);if(!f)return new Nn(y,!1,NaN);if(null===f.parent)return new Nn(f,!0,0);const v=Be(u.commands[0])?0:1;return function Qn(u,y,f){let v=u,S=y,R=f;for(;R>S;){if(R-=S,v=v.parent,!v)throw new E.wOt(4005,!1);S=v.segments.length}return new Nn(v,!1,S-R)}(f,f.segments.length-1+v,u.numberOfDoubleDots)}(R,S,u),pe=G.processChildren?sn(G.segmentGroup,G.index,R.commands):xt(G.segmentGroup,G.index,R.commands);return st(S,G.segmentGroup,pe,f,v)}function Be(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function mt(u){return"object"==typeof u&&null!=u&&u.outlets}function st(u,y,f,v,S){let G,R={};v&&Object.entries(v).forEach(([oe,Ue])=>{R[oe]=Array.isArray(Ue)?Ue.map(ht=>`${ht}`):`${Ue}`}),G=u===y?f:Zt(u,y,f);const pe=zr(B(G));return new se(pe,R,S)}function Zt(u,y,f){const v={};return Object.entries(u.children).forEach(([S,R])=>{v[S]=R===y?f:Zt(R,y,f)}),new te(u.segments,v)}class _n{constructor(y,f,v){if(this.isAbsolute=y,this.numberOfDoubleDots=f,this.commands=v,y&&v.length>0&&Be(v[0]))throw new E.wOt(4003,!1);const S=v.find(mt);if(S&&S!==cs(v))throw new E.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Nn{constructor(y,f,v){this.segmentGroup=y,this.processChildren=f,this.index=v}}function xt(u,y,f){if(u??=new te([],{}),0===u.segments.length&&u.hasChildren())return sn(u,y,f);const v=function cr(u,y,f){let v=0,S=y;const R={match:!1,pathIndex:0,commandIndex:0};for(;S=f.length)return R;const G=u.segments[S],pe=f[v];if(mt(pe))break;const oe=`${pe}`,Ue=v0&&void 0===oe)break;if(oe&&Ue&&"object"==typeof Ue&&void 0===Ue.outlets){if(!Rn(oe,Ue,G))return R;v+=2}else{if(!Rn(oe,{},G))return R;v++}S++}return{match:!0,pathIndex:S,commandIndex:v}}(u,y,f),S=f.slice(v.commandIndex);if(v.match&&v.pathIndexR!==Mt)&&u.children[Mt]&&1===u.numberOfChildren&&0===u.children[Mt].segments.length){const R=sn(u.children[Mt],y,f);return new te(u.segments,R.children)}return Object.entries(v).forEach(([R,G])=>{"string"==typeof G&&(G=[G]),null!==G&&(S[R]=xt(u.children[R],y,G))}),Object.entries(u.children).forEach(([R,G])=>{void 0===v[R]&&(S[R]=G)}),new te(u.segments,S)}}function on(u,y,f){const v=u.segments.slice(0,y);let S=0;for(;S{"string"==typeof v&&(v=[v]),null!==v&&(y[f]=on(new te([],{}),0,v))}),y}function gr(u){const y={};return Object.entries(u).forEach(([f,v])=>y[f]=`${v}`),y}function Rn(u,y,f){return u==f.path&&un(y,f.parameters)}const lt="imperative";var ze=function(u){return u[u.NavigationStart=0]="NavigationStart",u[u.NavigationEnd=1]="NavigationEnd",u[u.NavigationCancel=2]="NavigationCancel",u[u.NavigationError=3]="NavigationError",u[u.RoutesRecognized=4]="RoutesRecognized",u[u.ResolveStart=5]="ResolveStart",u[u.ResolveEnd=6]="ResolveEnd",u[u.GuardsCheckStart=7]="GuardsCheckStart",u[u.GuardsCheckEnd=8]="GuardsCheckEnd",u[u.RouteConfigLoadStart=9]="RouteConfigLoadStart",u[u.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",u[u.ChildActivationStart=11]="ChildActivationStart",u[u.ChildActivationEnd=12]="ChildActivationEnd",u[u.ActivationStart=13]="ActivationStart",u[u.ActivationEnd=14]="ActivationEnd",u[u.Scroll=15]="Scroll",u[u.NavigationSkipped=16]="NavigationSkipped",u}(ze||{});class hi{constructor(y,f){this.id=y,this.url=f}}class mr extends hi{constructor(y,f,v="imperative",S=null){super(y,f),this.type=ze.NavigationStart,this.navigationTrigger=v,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pr extends hi{constructor(y,f,v){super(y,f),this.urlAfterRedirects=v,this.type=ze.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Dn=function(u){return u[u.Redirect=0]="Redirect",u[u.SupersededByNewNavigation=1]="SupersededByNewNavigation",u[u.NoDataFromResolver=2]="NoDataFromResolver",u[u.GuardRejected=3]="GuardRejected",u}(Dn||{}),jr=function(u){return u[u.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",u[u.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",u}(jr||{});class yr extends hi{constructor(y,f,v,S){super(y,f),this.reason=v,this.code=S,this.type=ze.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bt extends hi{constructor(y,f,v,S){super(y,f),this.reason=v,this.code=S,this.type=ze.NavigationSkipped}}class ti extends hi{constructor(y,f,v,S){super(y,f),this.error=v,this.target=S,this.type=ze.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yi extends hi{constructor(y,f,v,S){super(y,f),this.urlAfterRedirects=v,this.state=S,this.type=ze.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ln extends hi{constructor(y,f,v,S){super(y,f),this.urlAfterRedirects=v,this.state=S,this.type=ze.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ns extends hi{constructor(y,f,v,S,R){super(y,f),this.urlAfterRedirects=v,this.state=S,this.shouldActivate=R,this.type=ze.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class eo extends hi{constructor(y,f,v,S){super(y,f),this.urlAfterRedirects=v,this.state=S,this.type=ze.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fo extends hi{constructor(y,f,v,S){super(y,f),this.urlAfterRedirects=v,this.state=S,this.type=ze.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Si{constructor(y){this.route=y,this.type=ze.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fs{constructor(y){this.route=y,this.type=ze.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qn{constructor(y){this.snapshot=y,this.type=ze.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zi{constructor(y){this.snapshot=y,this.type=ze.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class to{constructor(y){this.snapshot=y,this.type=ze.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hs{constructor(y){this.snapshot=y,this.type=ze.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rs{constructor(y,f,v){this.routerEvent=y,this.position=f,this.anchor=v,this.type=ze.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Kr{}class ps{constructor(y){this.url=y}}class Eo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new bn,this.attachRef=null}}let bn=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(f,v){const S=this.getOrCreateContext(f);S.outlet=v,this.contexts.set(f,S)}onChildOutletDestroyed(f){const v=this.getContext(f);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let v=this.getContext(f);return v||(v=new Eo,this.contexts.set(f,v)),v}getContext(f){return this.contexts.get(f)||null}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class Qr{constructor(y){this._root=y}get root(){return this._root.value}parent(y){const f=this.pathFromRoot(y);return f.length>1?f[f.length-2]:null}children(y){const f=gt(y,this._root);return f?f.children.map(v=>v.value):[]}firstChild(y){const f=gt(y,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(y){const f=Ii(y,this._root);return f.length<2?[]:f[f.length-2].children.map(S=>S.value).filter(S=>S!==y)}pathFromRoot(y){return Ii(y,this._root).map(f=>f.value)}}function gt(u,y){if(u===y.value)return y;for(const f of y.children){const v=gt(u,f);if(v)return v}return null}function Ii(u,y){if(u===y.value)return[y];for(const f of y.children){const v=Ii(u,f);if(v.length)return v.unshift(y),v}return[]}class Sr{constructor(y,f){this.value=y,this.children=f}toString(){return`TreeNode(${this.value})`}}function ur(u){const y={};return u&&u.children.forEach(f=>y[f.value.outlet]=f),y}class Mi extends Qr{constructor(y,f){super(y),this.snapshot=f,es(this,y)}toString(){return this.snapshot.toString()}}function Li(u){const y=function Ps(u){const R=new Ji([],{},{},"",{},Mt,u,null,{});return new gs("",new Sr(R,[]))}(u),f=new W.t([new j("",{})]),v=new W.t({}),S=new W.t({}),R=new W.t({}),G=new W.t(""),pe=new pi(f,v,R,G,S,Mt,u,y.root);return pe.snapshot=y.root,new Mi(new Sr(pe,[]),y)}class pi{constructor(y,f,v,S,R,G,pe,oe){this.urlSubject=y,this.paramsSubject=f,this.queryParamsSubject=v,this.fragmentSubject=S,this.dataSubject=R,this.outlet=G,this.component=pe,this._futureSnapshot=oe,this.title=this.dataSubject?.pipe((0,ye.T)(Ue=>Ue[Cn]))??(0,O.of)(void 0),this.url=y,this.params=f,this.queryParams=v,this.fragment=S,this.data=R}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ye.T)(y=>Ct(y))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ye.T)(y=>Ct(y))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hr(u,y,f="emptyOnly"){let v;const{routeConfig:S}=u;return v=null===y||"always"!==f&&""!==S?.path&&(y.component||y.routeConfig?.loadComponent)?{params:{...u.params},data:{...u.data},resolve:{...u.data,...u._resolvedData??{}}}:{params:{...y.params,...u.params},data:{...y.data,...u.data},resolve:{...u.data,...y.data,...S?.data,...u._resolvedData}},S&&vr(S)&&(v.resolve[Cn]=S.title),v}class Ji{get title(){return this.data?.[Cn]}constructor(y,f,v,S,R,G,pe,oe,Ue){this.url=y,this.params=f,this.queryParams=v,this.fragment=S,this.data=R,this.outlet=G,this.component=pe,this.routeConfig=oe,this._resolve=Ue}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ct(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ct(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gs extends Qr{constructor(y,f){super(f),this.url=y,es(this,f)}toString(){return gi(this._root)}}function es(u,y){y.value._routerState=u,y.children.forEach(f=>es(u,f))}function gi(u){const y=u.children.length>0?` { ${u.children.map(gi).join(", ")} } `:"";return`${u.value}${y}`}function ts(u){if(u.snapshot){const y=u.snapshot,f=u._futureSnapshot;u.snapshot=f,un(y.queryParams,f.queryParams)||u.queryParamsSubject.next(f.queryParams),y.fragment!==f.fragment&&u.fragmentSubject.next(f.fragment),un(y.params,f.params)||u.paramsSubject.next(f.params),function br(u,y){if(u.length!==y.length)return!1;for(let f=0;fun(f.parameters,y[v].parameters))}(u.url,y.url);return f&&!(!u.parent!=!y.parent)&&(!u.parent||Xn(u.parent,y.parent))}function vr(u){return"string"==typeof u.title||null===u.title}let $r=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Mt,this.activateEvents=new E.bkB,this.deactivateEvents=new E.bkB,this.attachEvents=new E.bkB,this.detachEvents=new E.bkB,this.parentContexts=(0,E.WQX)(bn),this.location=(0,E.WQX)(E.c1b),this.changeDetector=(0,E.WQX)(E.gRc),this.environmentInjector=(0,E.WQX)(E.uvJ),this.inputBinder=(0,E.WQX)(Ir,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(f){if(f.name){const{firstChange:v,previousValue:S}=f.name;if(v)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E.wOt(4012,!1);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,v){this.activated=f,this._activatedRoute=v,this.location.insert(f.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,v){if(this.isActivated)throw new E.wOt(4013,!1);this._activatedRoute=f;const S=this.location,G=f.snapshot.component,pe=this.parentContexts.getOrCreateContext(this.name).children,oe=new qr(f,pe,S.injector);this.activated=S.createComponent(G,{index:S.length,injector:oe,environmentInjector:v??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275dir=E.FsC({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[E.OA$]})}return u})();class qr{__ngOutletInjector(y){return new qr(this.route,this.childContexts,y)}constructor(y,f,v){this.route=y,this.childContexts=f,this.parent=v}get(y,f){return y===pi?this.route:y===bn?this.childContexts:this.parent.get(y,f)}}const Ir=new E.nKC("");let mi=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(f){this.unsubscribeFromRouteData(f),this.subscribeToRouteData(f)}unsubscribeFromRouteData(f){this.outletDataSubscriptions.get(f)?.unsubscribe(),this.outletDataSubscriptions.delete(f)}subscribeToRouteData(f){const{activatedRoute:v}=f,S=nt([v.queryParams,v.params,v.data]).pipe((0,Ce.n)(([R,G,pe],oe)=>(pe={...R,...G,...pe},0===oe?(0,O.of)(pe):Promise.resolve(pe)))).subscribe(R=>{if(!f.isActivated||!f.activatedComponentRef||f.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(f);const G=(0,E.HJs)(v.component);if(G)for(const{templateName:pe}of G.inputs)f.activatedComponentRef.setInput(pe,R[pe]);else this.unsubscribeFromRouteData(f)});this.outletDataSubscriptions.set(f,S)}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac})}return u})();function ki(u,y,f){if(f&&u.shouldReuseRoute(y.value,f.value.snapshot)){const v=f.value;v._futureSnapshot=y.value;const S=function ys(u,y,f){return y.children.map(v=>{for(const S of f.children)if(u.shouldReuseRoute(v.value,S.value.snapshot))return ki(u,v,S);return ki(u,v)})}(u,y,f);return new Sr(v,S)}{if(u.shouldAttach(y.value)){const R=u.retrieve(y.value);if(null!==R){const G=R.route;return G.value._futureSnapshot=y.value,G.children=y.children.map(pe=>ki(u,pe)),G}}const v=function dr(u){return new pi(new W.t(u.url),new W.t(u.params),new W.t(u.queryParams),new W.t(u.fragment),new W.t(u.data),u.outlet,u.component,u)}(y.value),S=y.children.map(R=>ki(u,R));return new Sr(v,S)}}const ns="ngNavigationCancelingError";function fr(u,y){const{redirectTo:f,navigationBehaviorOptions:v}=q(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,S=xs(!1,Dn.Redirect);return S.url=f,S.navigationBehaviorOptions=v,S}function xs(u,y){const f=new Error(`NavigationCancelingError: ${u||""}`);return f[ns]=!0,f.cancellationCode=y,f}function _r(u){return!!u&&u[ns]}let Ot=(()=>{class u{static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275cmp=E.VBU({type:u,selectors:[["ng-component"]],standalone:!0,features:[E.aNF],decls:1,vars:0,template:function(v,S){1&v&&E.nrm(0,"router-outlet")},dependencies:[$r],encapsulation:2})}return u})();function Ds(u){const y=u.children&&u.children.map(Ds),f=y?{...u,children:y}:{...u};return!f.component&&!f.loadComponent&&(y||f.loadChildren)&&f.outlet&&f.outlet!==Mt&&(f.component=Ot),f}function Xr(u){return u.outlet||Mt}function Ui(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let y=u.parent;y;y=y.parent){const f=y.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class so{constructor(y,f,v,S,R){this.routeReuseStrategy=y,this.futureState=f,this.currState=v,this.forwardEvent=S,this.inputBindingEnabled=R}activate(y){const f=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,v,y),ts(this.futureState.root),this.activateChildRoutes(f,v,y)}deactivateChildRoutes(y,f,v){const S=ur(f);y.children.forEach(R=>{const G=R.value.outlet;this.deactivateRoutes(R,S[G],v),delete S[G]}),Object.values(S).forEach(R=>{this.deactivateRouteAndItsChildren(R,v)})}deactivateRoutes(y,f,v){const S=y.value,R=f?f.value:null;if(S===R)if(S.component){const G=v.getContext(S.outlet);G&&this.deactivateChildRoutes(y,f,G.children)}else this.deactivateChildRoutes(y,f,v);else R&&this.deactivateRouteAndItsChildren(f,v)}deactivateRouteAndItsChildren(y,f){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,f):this.deactivateRouteAndOutlet(y,f)}detachAndStoreRouteSubtree(y,f){const v=f.getContext(y.value.outlet),S=v&&y.value.component?v.children:f,R=ur(y);for(const G of Object.values(R))this.deactivateRouteAndItsChildren(G,S);if(v&&v.outlet){const G=v.outlet.detach(),pe=v.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:G,route:y,contexts:pe})}}deactivateRouteAndOutlet(y,f){const v=f.getContext(y.value.outlet),S=v&&y.value.component?v.children:f,R=ur(y);for(const G of Object.values(R))this.deactivateRouteAndItsChildren(G,S);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(y,f,v){const S=ur(f);y.children.forEach(R=>{this.activateRoutes(R,S[R.value.outlet],v),this.forwardEvent(new hs(R.value.snapshot))}),y.children.length&&this.forwardEvent(new Zi(y.value.snapshot))}activateRoutes(y,f,v){const S=y.value,R=f?f.value:null;if(ts(S),S===R)if(S.component){const G=v.getOrCreateContext(S.outlet);this.activateChildRoutes(y,f,G.children)}else this.activateChildRoutes(y,f,v);else if(S.component){const G=v.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const pe=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),G.children.onOutletReAttached(pe.contexts),G.attachRef=pe.componentRef,G.route=pe.route.value,G.outlet&&G.outlet.attach(pe.componentRef,pe.route.value),ts(pe.route.value),this.activateChildRoutes(y,null,G.children)}else{const pe=Ui(S.snapshot);G.attachRef=null,G.route=S,G.injector=pe,G.outlet&&G.outlet.activateWith(S,G.injector),this.activateChildRoutes(y,null,G.children)}}else this.activateChildRoutes(y,null,v)}}class M{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class T{constructor(y,f){this.component=y,this.route=f}}function _(u,y,f){const v=u._root;return Xe(v,y?y._root:null,f,[v.value])}function J(u,y){const f=Symbol(),v=y.get(u,f);return v===f?"function"!=typeof u||(0,E.LfX)(u)?y.get(u):u:v}function Xe(u,y,f,v,S={canDeactivateChecks:[],canActivateChecks:[]}){const R=ur(y);return u.children.forEach(G=>{(function wt(u,y,f,v,S={canDeactivateChecks:[],canActivateChecks:[]}){const R=u.value,G=y?y.value:null,pe=f?f.getContext(u.value.outlet):null;if(G&&R.routeConfig===G.routeConfig){const oe=function At(u,y,f){if("function"==typeof f)return f(u,y);switch(f){case"pathParamsChange":return!Ae(u.url,y.url);case"pathParamsOrQueryParamsChange":return!Ae(u.url,y.url)||!un(u.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xn(u,y)||!un(u.queryParams,y.queryParams);default:return!Xn(u,y)}}(G,R,R.routeConfig.runGuardsAndResolvers);oe?S.canActivateChecks.push(new M(v)):(R.data=G.data,R._resolvedData=G._resolvedData),Xe(u,y,R.component?pe?pe.children:null:f,v,S),oe&&pe&&pe.outlet&&pe.outlet.isActivated&&S.canDeactivateChecks.push(new T(pe.outlet.component,G))}else G&&Gr(y,pe,S),S.canActivateChecks.push(new M(v)),Xe(u,null,R.component?pe?pe.children:null:f,v,S)})(G,R[G.value.outlet],f,v.concat([G.value]),S),delete R[G.value.outlet]}),Object.entries(R).forEach(([G,pe])=>Gr(pe,f.getContext(G),S)),S}function Gr(u,y,f){const v=ur(u),S=u.value;Object.entries(v).forEach(([R,G])=>{Gr(G,S.component?y?y.children.getContext(R):null:y,f)}),f.canDeactivateChecks.push(new T(S.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,S))}function Pn(u){return"function"==typeof u}function ao(u){return u instanceof Bt||"EmptyError"===u?.name}const ks=Symbol("INITIAL_VALUE");function yi(){return(0,Ce.n)(u=>nt(u.map(y=>y.pipe(Fe(1),function Pe(...u){const y=(0,ue.lI)(u);return(0,Ht.N)((f,v)=>{(y?ie(u,f,y):ie(u,f)).subscribe(v)})}(ks)))).pipe((0,ye.T)(y=>{for(const f of y)if(!0!==f){if(f===ks)return ks;if(!1===f||f instanceof se)return f}return!0}),(0,Ze.p)(y=>y!==ks),Fe(1)))}function Vo(u){return(0,ve.F)(Et(y=>{if(q(y))throw fr(0,y)}),(0,ye.T)(y=>!0===y))}class ii{constructor(y){this.segmentGroup=y||null}}class Vs extends Error{constructor(y){super(),this.urlTree=y}}function xr(u){return Y(new ii(u))}class ho{constructor(y,f){this.urlSerializer=y,this.urlTree=f}lineralizeSegments(y,f){let v=[],S=f.root;for(;;){if(v=v.concat(S.segments),0===S.numberOfChildren)return(0,O.of)(v);if(S.numberOfChildren>1||!S.children[Mt])return Y(new E.wOt(4e3,!1));S=S.children[Mt]}}applyRedirectCommands(y,f,v){const S=this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),y,v);if(f.startsWith("/"))throw new Vs(S);return S}applyRedirectCreateUrlTree(y,f,v,S){const R=this.createSegmentGroup(y,f.root,v,S);return new se(R,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(y,f){const v={};return Object.entries(y).forEach(([S,R])=>{if("string"==typeof R&&R.startsWith(":")){const pe=R.substring(1);v[S]=f[pe]}else v[S]=R}),v}createSegmentGroup(y,f,v,S){const R=this.createSegments(y,f.segments,v,S);let G={};return Object.entries(f.children).forEach(([pe,oe])=>{G[pe]=this.createSegmentGroup(y,oe,v,S)}),new te(R,G)}createSegments(y,f,v,S){return f.map(R=>R.path.startsWith(":")?this.findPosParam(y,R,S):this.findOrReturn(R,v))}findPosParam(y,f,v){const S=v[f.path.substring(1)];if(!S)throw new E.wOt(4001,!1);return S}findOrReturn(y,f){let v=0;for(const S of f){if(S.path===y.path)return f.splice(v),S;v++}return y}}const Uo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jo(u,y,f,v,S){const R=ss(u,y,f);return R.matched?(v=function Ti(u,y){return u.providers&&!u._injector&&(u._injector=(0,E.Ol2)(u.providers,y,`Route: ${u.path}`)),u._injector??y}(y,v),function Bo(u,y,f,v){const S=y.canMatch;if(!S||0===S.length)return(0,O.of)(!0);const R=S.map(G=>{const pe=J(G,u);return ct(function oo(u){return u&&Pn(u.canMatch)}(pe)?pe.canMatch(y,f):(0,E.N4e)(u,()=>pe(y,f)))});return(0,O.of)(R).pipe(yi(),Vo())}(v,y,f).pipe((0,ye.T)(G=>!0===G?R:{...Uo}))):(0,O.of)(R)}function ss(u,y,f){if("**"===y.path)return function bo(u){return{matched:!0,parameters:u.length>0?cs(u).parameters:{},consumedSegments:u,remainingSegments:[],positionalParamSegments:{}}}(f);if(""===y.path)return"full"===y.pathMatch&&(u.hasChildren()||f.length>0)?{...Uo}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const S=(y.matcher||pr)(f,u,y);if(!S)return{...Uo};const R={};Object.entries(S.posParams??{}).forEach(([pe,oe])=>{R[pe]=oe.path});const G=S.consumed.length>0?{...R,...S.consumed[S.consumed.length-1].parameters}:R;return{matched:!0,consumedSegments:S.consumed,remainingSegments:f.slice(S.consumed.length),parameters:G,positionalParamSegments:S.posParams??{}}}function vi(u,y,f,v){return f.length>0&&function go(u,y,f){return f.some(v=>Cs(u,y,v)&&Xr(v)!==Mt)}(u,f,v)?{segmentGroup:new te(y,po(v,new te(f,u.children))),slicedSegments:[]}:0===f.length&&function $o(u,y,f){return f.some(v=>Cs(u,y,v))}(u,f,v)?{segmentGroup:new te(u.segments,Ho(u,f,v,u.children)),slicedSegments:f}:{segmentGroup:new te(u.segments,u.children),slicedSegments:f}}function Ho(u,y,f,v){const S={};for(const R of f)if(Cs(u,y,R)&&!v[Xr(R)]){const G=new te([],{});S[Xr(R)]=G}return{...v,...S}}function po(u,y){const f={};f[Mt]=y;for(const v of u)if(""===v.path&&Xr(v)!==Mt){const S=new te([],{});f[Xr(v)]=S}return f}function Cs(u,y,f){return(!(u.hasChildren()||y.length>0)||"full"!==f.pathMatch)&&""===f.path}class os{}class aa{constructor(y,f,v,S,R,G,pe){this.injector=y,this.configLoader=f,this.rootComponentType=v,this.config=S,this.urlTree=R,this.paramsInheritanceStrategy=G,this.urlSerializer=pe,this.applyRedirects=new ho(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(y){return new E.wOt(4002,`'${y.segmentGroup}'`)}recognize(){const y=vi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(y).pipe((0,ye.T)(f=>{const v=new Ji([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Mt,this.rootComponentType,null,{}),S=new Sr(v,f),R=new gs("",S),G=function be(u,y,f=null,v=null){return Ve(_e(u),y,f,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return G.queryParams=this.urlTree.queryParams,R.url=this.urlSerializer.serialize(G),this.inheritParamsAndData(R._root,null),{state:R,tree:G}}))}match(y){return this.processSegmentGroup(this.injector,this.config,y,Mt).pipe(pn(v=>{if(v instanceof Vs)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof ii?this.noMatchError(v):v}))}inheritParamsAndData(y,f){const v=y.value,S=Hr(v,f,this.paramsInheritanceStrategy);v.params=Object.freeze(S.params),v.data=Object.freeze(S.data),y.children.forEach(R=>this.inheritParamsAndData(R,v))}processSegmentGroup(y,f,v,S){return 0===v.segments.length&&v.hasChildren()?this.processChildren(y,f,v):this.processSegment(y,f,v,v.segments,S,!0).pipe((0,ye.T)(R=>R instanceof Sr?[R]:[]))}processChildren(y,f,v){const S=[];for(const R of Object.keys(v.children))"primary"===R?S.unshift(R):S.push(R);return(0,V.H)(S).pipe((0,nn.H)(R=>{const G=v.children[R],pe=function Es(u,y){const f=u.filter(v=>Xr(v)===y);return f.push(...u.filter(v=>Xr(v)!==y)),f}(f,R);return this.processSegmentGroup(y,pe,G,R)}),function Jn(u,y){return(0,Ht.N)(function Mn(u,y,f,v,S){return(R,G)=>{let pe=f,oe=y,Ue=0;R.subscribe((0,we._)(G,ht=>{const Lt=Ue++;oe=pe?u(oe,ht,Lt):(pe=!0,ht),v&&G.next(oe)},S&&(()=>{pe&&G.next(oe),G.complete()})))}}(u,y,arguments.length>=2,!0))}((R,G)=>(R.push(...G),R)),Rt(null),function er(u,y){const f=arguments.length>=2;return v=>v.pipe(u?(0,Ze.p)((S,R)=>u(S,R,v)):k.D,tn(1),f?Rt(y):yn(()=>new Bt))}(),(0,Le.Z)(R=>{if(null===R)return xr(v);const G=ca(R);return function la(u){u.sort((y,f)=>y.value.outlet===Mt?-1:f.value.outlet===Mt?1:y.value.outlet.localeCompare(f.value.outlet))}(G),(0,O.of)(G)}))}processSegment(y,f,v,S,R,G){return(0,V.H)(f).pipe((0,nn.H)(pe=>this.processSegmentAgainstRoute(pe._injector??y,f,pe,v,S,R,G).pipe(pn(oe=>{if(oe instanceof ii)return(0,O.of)(null);throw oe}))),kt(pe=>!!pe),pn(pe=>{if(ao(pe))return function Yr(u,y,f){return 0===y.length&&!u.children[f]}(v,S,R)?(0,O.of)(new os):xr(v);throw pe}))}processSegmentAgainstRoute(y,f,v,S,R,G,pe){return function Bs(u,y,f,v){return!!(Xr(u)===v||v!==Mt&&Cs(y,f,u))&&ss(y,u,f).matched}(v,S,R,G)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(y,S,v,R,G):this.allowRedirects&&pe?this.expandSegmentAgainstRouteUsingRedirect(y,S,f,v,R,G):xr(S):xr(S)}expandSegmentAgainstRouteUsingRedirect(y,f,v,S,R,G){const{matched:pe,consumedSegments:oe,positionalParamSegments:Ue,remainingSegments:ht}=ss(f,S,R);if(!pe)return xr(f);S.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Lt=this.applyRedirects.applyRedirectCommands(oe,S.redirectTo,Ue);return this.applyRedirects.lineralizeSegments(S,Lt).pipe((0,Le.Z)(lr=>this.processSegment(y,v,f,lr.concat(ht),G,!1)))}matchSegmentAgainstRoute(y,f,v,S,R){const G=jo(f,v,S,y);return"**"===v.path&&(f.children={}),G.pipe((0,Ce.n)(pe=>pe.matched?this.getChildConfig(y=v._injector??y,v,S).pipe((0,Ce.n)(({routes:oe})=>{const Ue=v._loadedInjector??y,{consumedSegments:ht,remainingSegments:Lt,parameters:lr}=pe,Io=new Ji(ht,lr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ua(u){return u.data||{}}(v),Xr(v),v.component??v._loadedComponent??null,v,function wo(u){return u.resolve||{}}(v)),{segmentGroup:Ko,slicedSegments:fa}=vi(f,ht,Lt,oe);if(0===fa.length&&Ko.hasChildren())return this.processChildren(Ue,oe,Ko).pipe((0,ye.T)(bs=>null===bs?null:new Sr(Io,bs)));if(0===oe.length&&0===fa.length)return(0,O.of)(new Sr(Io,[]));const mn=Xr(v)===R;return this.processSegment(Ue,oe,Ko,fa,mn?Mt:R,!0).pipe((0,ye.T)(bs=>new Sr(Io,bs instanceof Sr?[bs]:[])))})):xr(f)))}getChildConfig(y,f,v){return f.children?(0,O.of)({routes:f.children,injector:y}):f.loadChildren?void 0!==f._loadedRoutes?(0,O.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function is(u,y,f,v){const S=y.canLoad;if(void 0===S||0===S.length)return(0,O.of)(!0);const R=S.map(G=>{const pe=J(G,u);return ct(function Ai(u){return u&&Pn(u.canLoad)}(pe)?pe.canLoad(y,f):(0,E.N4e)(u,()=>pe(y,f)))});return(0,O.of)(R).pipe(yi(),Vo())}(y,f,v).pipe((0,Le.Z)(S=>S?this.configLoader.loadChildren(y,f).pipe(Et(R=>{f._loadedRoutes=R.routes,f._loadedInjector=R.injector})):function oa(u){return Y(xs(!1,Dn.GuardRejected))}())):(0,O.of)({routes:[],injector:y})}}function js(u){const y=u.value.routeConfig;return y&&""===y.path}function ca(u){const y=[],f=new Set;for(const v of u){if(!js(v)){y.push(v);continue}const S=y.find(R=>v.value.routeConfig===R.value.routeConfig);void 0!==S?(S.children.push(...v.children),f.add(S)):y.push(v)}for(const v of f){const S=ca(v.children);y.push(new Sr(v.value,S))}return y.filter(v=>!f.has(v))}function Hs(u){const y=u.children.map(f=>Hs(f)).flat();return[u,...y]}function I(u){return(0,Ce.n)(y=>{const f=u(y);return f?(0,V.H)(f).pipe((0,ye.T)(()=>y)):(0,O.of)(y)})}let z=(()=>{class u{buildTitle(f){let v,S=f.root;for(;void 0!==S;)v=this.getResolvedTitleForRoute(S)??v,S=S.children.find(R=>R.outlet===Mt);return v}getResolvedTitleForRoute(f){return f.data[Cn]}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:()=>(0,E.WQX)(me),providedIn:"root"})}return u})(),me=(()=>{class u extends z{constructor(f){super(),this.title=f}updateTitle(f){const v=this.buildTitle(f);void 0!==v&&this.title.setTitle(v)}static#e=this.\u0275fac=function(v){return new(v||u)(E.KVO(qi.hE))};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Me=new E.nKC("",{providedIn:"root",factory:()=>({})}),Ke=new E.nKC("");let an=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,E.WQX)(E.Ql9)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,O.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const v=ct(f.loadComponent()).pipe((0,ye.T)(Ft),Et(R=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=R}),(0,rn.j)(()=>{this.componentLoaders.delete(f)})),S=new hr(v,()=>new he.B).pipe(qt());return this.componentLoaders.set(f,S),S}loadChildren(f,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,O.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const R=function fn(u,y,f,v){return ct(u.loadChildren()).pipe((0,ye.T)(Ft),(0,Le.Z)(S=>S instanceof E.Co$||Array.isArray(S)?(0,O.of)(S):(0,V.H)(y.compileModuleAsync(S))),(0,ye.T)(S=>{v&&v(u);let R,G,pe=!1;return Array.isArray(S)?(G=S,!0):(R=S.create(f).injector,G=R.get(Ke,[],{optional:!0,self:!0}).flat()),{routes:G.map(Ds),injector:R}}))}(v,this.compiler,f,this.onLoadEndListener).pipe((0,rn.j)(()=>{this.childrenLoaders.delete(v)})),G=new hr(R,()=>new he.B).pipe(qt());return this.childrenLoaders.set(v,G),G}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Ft(u){return function hn(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let En=(()=>{class u{static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:()=>(0,E.WQX)(Jt),providedIn:"root"})}return u})(),Jt=(()=>{class u{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,v){return f}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const xn=new E.nKC(""),Qt=new E.nKC("");function xe(u,y,f){const v=u.get(Qt),S=u.get(ge.qQ);return u.get(E.SKi).runOutsideAngular(()=>{if(!S.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,new Promise(Ue=>setTimeout(Ue));let R;const G=new Promise(Ue=>{R=Ue}),pe=S.startViewTransition(()=>(R(),function et(u){return new Promise(y=>{(0,E.mal)(y,{injector:u})})}(u))),{onViewTransitionCreated:oe}=v;return oe&&(0,E.N4e)(u,()=>oe({transition:pe,from:y,to:f})),G})}let Xt=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new he.B,this.transitionAbortSubject=new he.B,this.configLoader=(0,E.WQX)(an),this.environmentInjector=(0,E.WQX)(E.uvJ),this.urlSerializer=(0,E.WQX)(it),this.rootContexts=(0,E.WQX)(bn),this.location=(0,E.WQX)(ge.aZ),this.inputBindingEnabled=null!==(0,E.WQX)(Ir,{optional:!0}),this.titleStrategy=(0,E.WQX)(z),this.options=(0,E.WQX)(Me,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,E.WQX)(En),this.createViewTransition=(0,E.WQX)(xn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,O.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new fs(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new Si(S))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:v})}setupNavigations(f,v,S){return this.transitions=new W.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:lt,restoredState:null,currentSnapshot:S.snapshot,targetSnapshot:null,currentRouterState:S,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ze.p)(R=>0!==R.id),(0,ye.T)(R=>({...R,extractedUrl:this.urlHandlingStrategy.extract(R.rawUrl)})),(0,Ce.n)(R=>{let G=!1,pe=!1;return(0,O.of)(R).pipe((0,Ce.n)(oe=>{if(this.navigationId>R.id)return this.cancelNavigationTransition(R,"",Dn.SupersededByNewNavigation),Oe;this.currentTransition=R,this.currentNavigation={id:oe.id,initialUrl:oe.rawUrl,extractedUrl:oe.extractedUrl,trigger:oe.source,extras:oe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Ue=!f.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Ue&&"reload"!==(oe.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const Lt="";return this.events.next(new bt(oe.id,this.urlSerializer.serialize(oe.rawUrl),Lt,jr.IgnoredSameUrlNavigation)),oe.resolve(null),Oe}if(this.urlHandlingStrategy.shouldProcessUrl(oe.rawUrl))return(0,O.of)(oe).pipe((0,Ce.n)(Lt=>{const lr=this.transitions?.getValue();return this.events.next(new mr(Lt.id,this.urlSerializer.serialize(Lt.extractedUrl),Lt.source,Lt.restoredState)),lr!==this.transitions?.getValue()?Oe:Promise.resolve(Lt)}),function as(u,y,f,v,S,R){return(0,Le.Z)(G=>function Us(u,y,f,v,S,R,G="emptyOnly"){return new aa(u,y,f,v,S,G,R).recognize()}(u,y,f,v,G.extractedUrl,S,R).pipe((0,ye.T)(({state:pe,tree:oe})=>({...G,targetSnapshot:pe,urlAfterRedirects:oe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,f.config,this.urlSerializer,this.paramsInheritanceStrategy),Et(Lt=>{R.targetSnapshot=Lt.targetSnapshot,R.urlAfterRedirects=Lt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Lt.urlAfterRedirects};const lr=new Yi(Lt.id,this.urlSerializer.serialize(Lt.extractedUrl),this.urlSerializer.serialize(Lt.urlAfterRedirects),Lt.targetSnapshot);this.events.next(lr)}));if(Ue&&this.urlHandlingStrategy.shouldProcessUrl(oe.currentRawUrl)){const{id:Lt,extractedUrl:lr,source:Io,restoredState:Ko,extras:fa}=oe,mn=new mr(Lt,this.urlSerializer.serialize(lr),Io,Ko);this.events.next(mn);const bs=Li(this.rootComponentType).snapshot;return this.currentTransition=R={...oe,targetSnapshot:bs,urlAfterRedirects:lr,extras:{...fa,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=lr,(0,O.of)(R)}{const Lt="";return this.events.next(new bt(oe.id,this.urlSerializer.serialize(oe.extractedUrl),Lt,jr.IgnoredByUrlHandlingStrategy)),oe.resolve(null),Oe}}),Et(oe=>{const Ue=new Ln(oe.id,this.urlSerializer.serialize(oe.extractedUrl),this.urlSerializer.serialize(oe.urlAfterRedirects),oe.targetSnapshot);this.events.next(Ue)}),(0,ye.T)(oe=>(this.currentTransition=R={...oe,guards:_(oe.targetSnapshot,oe.currentSnapshot,this.rootContexts)},R)),function lo(u,y){return(0,Le.Z)(f=>{const{targetSnapshot:v,currentSnapshot:S,guards:{canActivateChecks:R,canDeactivateChecks:G}}=f;return 0===G.length&&0===R.length?(0,O.of)({...f,guardsResult:!0}):function Nt(u,y,f,v){return(0,V.H)(u).pipe((0,Le.Z)(S=>function co(u,y,f,v,S){const R=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!R||0===R.length)return(0,O.of)(!0);const G=R.map(pe=>{const oe=Ui(y)??S,Ue=J(pe,oe);return ct(function sa(u){return u&&Pn(u.canDeactivate)}(Ue)?Ue.canDeactivate(u,y,f,v):(0,E.N4e)(oe,()=>Ue(u,y,f,v))).pipe(kt())});return(0,O.of)(G).pipe(yi())}(S.component,S.route,f,y,v)),kt(S=>!0!==S,!0))}(G,v,S,u).pipe((0,Le.Z)(pe=>pe&&function ji(u){return"boolean"==typeof u}(pe)?function $n(u,y,f,v){return(0,V.H)(y).pipe((0,nn.H)(S=>ie(function wn(u,y){return null!==u&&y&&y(new qn(u)),(0,O.of)(!0)}(S.route.parent,v),function Gn(u,y){return null!==u&&y&&y(new to(u)),(0,O.of)(!0)}(S.route,v),function ko(u,y,f){const v=y[y.length-1],R=y.slice(0,y.length-1).reverse().map(G=>function x(u){const y=u.routeConfig?u.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:u,guards:y}:null}(G)).filter(G=>null!==G).map(G=>ne(()=>{const pe=G.guards.map(oe=>{const Ue=Ui(G.node)??f,ht=J(oe,Ue);return ct(function Lo(u){return u&&Pn(u.canActivateChild)}(ht)?ht.canActivateChild(v,u):(0,E.N4e)(Ue,()=>ht(v,u))).pipe(kt())});return(0,O.of)(pe).pipe(yi())}));return(0,O.of)(R).pipe(yi())}(u,S.path,f),function Wn(u,y,f){const v=y.routeConfig?y.routeConfig.canActivate:null;if(!v||0===v.length)return(0,O.of)(!0);const S=v.map(R=>ne(()=>{const G=Ui(y)??f,pe=J(R,G);return ct(function Ls(u){return u&&Pn(u.canActivate)}(pe)?pe.canActivate(y,u):(0,E.N4e)(G,()=>pe(y,u))).pipe(kt())}));return(0,O.of)(S).pipe(yi())}(u,S.route,f))),kt(S=>!0!==S,!0))}(v,R,u,y):(0,O.of)(pe)),(0,ye.T)(pe=>({...f,guardsResult:pe})))})}(this.environmentInjector,oe=>this.events.next(oe)),Et(oe=>{if(R.guardsResult=oe.guardsResult,q(oe.guardsResult))throw fr(0,oe.guardsResult);const Ue=new Ns(oe.id,this.urlSerializer.serialize(oe.extractedUrl),this.urlSerializer.serialize(oe.urlAfterRedirects),oe.targetSnapshot,!!oe.guardsResult);this.events.next(Ue)}),(0,Ze.p)(oe=>!!oe.guardsResult||(this.cancelNavigationTransition(oe,"",Dn.GuardRejected),!1)),I(oe=>{if(oe.guards.canActivateChecks.length)return(0,O.of)(oe).pipe(Et(Ue=>{const ht=new eo(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(ht)}),(0,Ce.n)(Ue=>{let ht=!1;return(0,O.of)(Ue).pipe(function Wo(u,y){return(0,Le.Z)(f=>{const{targetSnapshot:v,guards:{canActivateChecks:S}}=f;if(!S.length)return(0,O.of)(f);const R=new Set(S.map(oe=>oe.route)),G=new Set;for(const oe of R)if(!G.has(oe))for(const Ue of Hs(oe))G.add(Ue);let pe=0;return(0,V.H)(G).pipe((0,nn.H)(oe=>R.has(oe)?function p(u,y,f,v){const S=u.routeConfig,R=u._resolve;return void 0!==S?.title&&!vr(S)&&(R[Cn]=S.title),function N(u,y,f,v){const S=Ar(u);if(0===S.length)return(0,O.of)({});const R={};return(0,V.H)(S).pipe((0,Le.Z)(G=>function D(u,y,f,v){const S=Ui(y)??v,R=J(u,S);return ct(R.resolve?R.resolve(y,f):(0,E.N4e)(S,()=>R(y,f)))}(u[G],y,f,v).pipe(kt(),Et(pe=>{R[G]=pe}))),tn(1),function Ge(u){return(0,ye.T)(()=>u)}(R),pn(G=>ao(G)?Oe:Y(G)))}(R,u,y,v).pipe((0,ye.T)(G=>(u._resolvedData=G,u.data=Hr(u,u.parent,f).resolve,null)))}(oe,v,u,y):(oe.data=Hr(oe,oe.parent,u).resolve,(0,O.of)(void 0))),Et(()=>pe++),tn(1),(0,Le.Z)(oe=>pe===G.size?(0,O.of)(f):Oe))})}(this.paramsInheritanceStrategy,this.environmentInjector),Et({next:()=>ht=!0,complete:()=>{ht||this.cancelNavigationTransition(Ue,"",Dn.NoDataFromResolver)}}))}),Et(Ue=>{const ht=new Fo(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(ht)}))}),I(oe=>{const Ue=ht=>{const Lt=[];ht.routeConfig?.loadComponent&&!ht.routeConfig._loadedComponent&&Lt.push(this.configLoader.loadComponent(ht.routeConfig).pipe(Et(lr=>{ht.component=lr}),(0,ye.T)(()=>{})));for(const lr of ht.children)Lt.push(...Ue(lr));return Lt};return nt(Ue(oe.targetSnapshot.root)).pipe(Rt(null),Fe(1))}),I(()=>this.afterPreactivation()),(0,Ce.n)(()=>{const{currentSnapshot:oe,targetSnapshot:Ue}=R,ht=this.createViewTransition?.(this.environmentInjector,oe.root,Ue.root);return ht?(0,V.H)(ht).pipe((0,ye.T)(()=>R)):(0,O.of)(R)}),(0,ye.T)(oe=>{const Ue=function ms(u,y,f){const v=ki(u,y._root,f?f._root:void 0);return new Mi(v,y)}(f.routeReuseStrategy,oe.targetSnapshot,oe.currentRouterState);return this.currentTransition=R={...oe,targetRouterState:Ue},this.currentNavigation.targetRouterState=Ue,R}),Et(()=>{this.events.next(new Kr)}),((u,y,f,v)=>(0,ye.T)(S=>(new so(y,S.targetRouterState,S.currentRouterState,f,v).activate(u),S)))(this.rootContexts,f.routeReuseStrategy,oe=>this.events.next(oe),this.inputBindingEnabled),Fe(1),Et({next:oe=>{G=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pr(oe.id,this.urlSerializer.serialize(oe.extractedUrl),this.urlSerializer.serialize(oe.urlAfterRedirects))),this.titleStrategy?.updateTitle(oe.targetRouterState.snapshot),oe.resolve(!0)},complete:()=>{G=!0}}),function ci(u){return(0,Ht.N)((y,f)=>{(0,ee.Tg)(u).subscribe((0,we._)(f,()=>f.complete(),Kn.l)),!f.closed&&y.subscribe(f)})}(this.transitionAbortSubject.pipe(Et(oe=>{throw oe}))),(0,rn.j)(()=>{!G&&!pe&&this.cancelNavigationTransition(R,"",Dn.SupersededByNewNavigation),this.currentTransition?.id===R.id&&(this.currentNavigation=null,this.currentTransition=null)}),pn(oe=>{if(pe=!0,_r(oe))this.events.next(new yr(R.id,this.urlSerializer.serialize(R.extractedUrl),oe.message,oe.cancellationCode)),function Vi(u){return _r(u)&&q(u.url)}(oe)?this.events.next(new ps(oe.url)):R.resolve(!1);else{this.events.next(new ti(R.id,this.urlSerializer.serialize(R.extractedUrl),oe,R.targetSnapshot??void 0));try{R.resolve(f.errorHandler(oe))}catch(Ue){this.options.resolveNavigationPromiseOnError?R.resolve(!1):R.reject(Ue)}}return Oe}))}))}cancelNavigationTransition(f,v,S){const R=new yr(f.id,this.urlSerializer.serialize(f.extractedUrl),v,S);this.events.next(R),f.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function or(u){return u!==lt}let Sn=(()=>{class u{static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:()=>(0,E.WQX)(Oi),providedIn:"root"})}return u})();class nr{shouldDetach(y){return!1}store(y,f){}shouldAttach(y){return!1}retrieve(y){return null}shouldReuseRoute(y,f){return y.routeConfig===f.routeConfig}}let Oi=(()=>{class u extends nr{static#e=this.\u0275fac=(()=>{let f;return function(S){return(f||(f=E.xGo(u)))(S||u)}})();static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),C=(()=>{class u{static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:()=>(0,E.WQX)(d),providedIn:"root"})}return u})(),d=(()=>{class u extends C{constructor(){super(...arguments),this.location=(0,E.WQX)(ge.aZ),this.urlSerializer=(0,E.WQX)(it),this.options=(0,E.WQX)(Me,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,E.WQX)(En),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new se,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Li(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(f){return this.location.subscribe(v=>{"popstate"===v.type&&f(v.url,v.state)})}handleRouterEvent(f,v){if(f instanceof mr)this.stateMemento=this.createStateMemento();else if(f instanceof bt)this.rawUrlTree=v.initialUrl;else if(f instanceof Yi){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const S=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(S,v)}}else f instanceof Kr?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&(v.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,v))):f instanceof yr&&(f.code===Dn.GuardRejected||f.code===Dn.NoDataFromResolver)?this.restoreHistory(v):f instanceof ti?this.restoreHistory(v,!0):f instanceof Pr&&(this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId)}setBrowserUrl(f,v){const S=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(S)||v.extras.replaceUrl){const G={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(S,"",G)}else{const R={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(S,"",R)}}restoreHistory(f,v=!1){if("computed"===this.canceledNavigationResolution){const R=this.currentPageId-this.browserPageId;0!==R?this.location.historyGo(R):this.currentUrlTree===f.finalUrl&&0===R&&(this.resetState(f),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,v){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:v}:{navigationId:f}}static#e=this.\u0275fac=(()=>{let f;return function(S){return(f||(f=E.xGo(u)))(S||u)}})();static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var a=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(a||{});function g(u,y){u.events.pipe((0,Ze.p)(f=>f instanceof Pr||f instanceof yr||f instanceof ti||f instanceof bt),(0,ye.T)(f=>f instanceof Pr||f instanceof bt?a.COMPLETE:f instanceof yr&&(f.code===Dn.Redirect||f.code===Dn.SupersededByNewNavigation)?a.REDIRECTING:a.FAILED),(0,Ze.p)(f=>f!==a.REDIRECTING),Fe(1)).subscribe(()=>{y()})}function b(u){throw u}const P={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},U={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let H=(()=>{class u{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,E.WQX)(E.H3F),this.stateManager=(0,E.WQX)(C),this.options=(0,E.WQX)(Me,{optional:!0})||{},this.pendingTasks=(0,E.WQX)(E.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,E.WQX)(Xt),this.urlSerializer=(0,E.WQX)(it),this.location=(0,E.WQX)(ge.aZ),this.urlHandlingStrategy=(0,E.WQX)(En),this._events=new he.B,this.errorHandler=this.options.errorHandler||b,this.navigated=!1,this.routeReuseStrategy=(0,E.WQX)(Sn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,E.WQX)(Ke,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,E.WQX)(Ir,{optional:!0}),this.eventsSubscription=new _t.yU,this.isNgZoneEnabled=(0,E.WQX)(E.SKi)instanceof E.SKi&&E.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:f=>{this.console.warn(f)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const f=this.navigationTransitions.events.subscribe(v=>{try{const S=this.navigationTransitions.currentTransition,R=this.navigationTransitions.currentNavigation;if(null!==S&&null!==R)if(this.stateManager.handleRouterEvent(v,R),v instanceof yr&&v.code!==Dn.Redirect&&v.code!==Dn.SupersededByNewNavigation)this.navigated=!0;else if(v instanceof Pr)this.navigated=!0;else if(v instanceof ps){const G=this.urlHandlingStrategy.merge(v.url,S.currentRawUrl),pe={info:S.extras.info,skipLocationChange:S.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||or(S.source)};this.scheduleNavigation(G,lt,null,pe,{resolve:S.resolve,reject:S.reject,promise:S.promise})}(function De(u){return!(u instanceof Kr||u instanceof ps)})(v)&&this._events.next(v)}catch(S){this.navigationTransitions.transitionAbortSubject.next(S)}});this.eventsSubscription.add(f)}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),lt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((f,v)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(f,"popstate",v)},0)})}navigateToSyncWithBrowser(f,v,S){const R={replaceUrl:!0},G=S?.navigationId?S:null;if(S){const oe={...S};delete oe.navigationId,delete oe.\u0275routerPageId,0!==Object.keys(oe).length&&(R.state=oe)}const pe=this.parseUrl(f);this.scheduleNavigation(pe,v,G,R)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(f){this.config=f.map(Ds),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(f,v={}){const{relativeTo:S,queryParams:R,fragment:G,queryParamsHandling:pe,preserveFragment:oe}=v,Ue=oe?this.currentUrlTree.fragment:G;let Lt,ht=null;switch(pe){case"merge":ht={...this.currentUrlTree.queryParams,...R};break;case"preserve":ht=this.currentUrlTree.queryParams;break;default:ht=R||null}null!==ht&&(ht=this.removeEmptyProps(ht));try{Lt=_e(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof f[0]||!f[0].startsWith("/"))&&(f=[]),Lt=this.currentUrlTree.root}return Ve(Lt,f,ht,Ue??null)}navigateByUrl(f,v={skipLocationChange:!1}){const S=q(f)?f:this.parseUrl(f),R=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(R,lt,null,v)}navigate(f,v={skipLocationChange:!1}){return function fe(u){for(let y=0;y(null!=R&&(v[S]=R),v),{})}scheduleNavigation(f,v,S,R,G){if(this.disposed)return Promise.resolve(!1);let pe,oe,Ue;G?(pe=G.resolve,oe=G.reject,Ue=G.promise):Ue=new Promise((Lt,lr)=>{pe=Lt,oe=lr});const ht=this.pendingTasks.add();return g(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ht))}),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:f,extras:R,resolve:pe,reject:oe,promise:Ue,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ue.catch(Lt=>Promise.reject(Lt))}static#e=this.\u0275fac=function(v){return new(v||u)};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),He=(()=>{class u{constructor(f,v,S,R,G,pe){this.router=f,this.route=v,this.tabIndexAttribute=S,this.renderer=R,this.el=G,this.locationStrategy=pe,this.href=null,this.commands=null,this.onChanges=new he.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const oe=G.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===oe||"area"===oe,this.isAnchorElement?this.subscription=f.events.subscribe(Ue=>{Ue instanceof Pr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(f){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",f)}ngOnChanges(f){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(f,v,S,R,G){const pe=this.urlTree;return!!(null===pe||this.isAnchorElement&&(0!==f||v||S||R||G||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(pe,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const f=this.urlTree;this.href=null!==f&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(f)):null;const v=null===this.href?null:(0,E.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(f,v){const S=this.renderer,R=this.el.nativeElement;null!==v?S.setAttribute(R,f,v):S.removeAttribute(R,f)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(v){return new(v||u)(E.rXU(H),E.rXU(pi),E.kS0("tabindex"),E.rXU(E.sFG),E.rXU(E.aKT),E.rXU(ge.hb))};static#t=this.\u0275dir=E.FsC({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,S){1&v&&E.bIt("click",function(G){return S.onClick(G.button,G.ctrlKey,G.shiftKey,G.altKey,G.metaKey)}),2&v&&E.BMQ("target",S.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[E.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",E.L39],skipLocationChange:[E.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",E.L39],replaceUrl:[E.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",E.L39],routerLink:"routerLink"},standalone:!0,features:[E.GFd,E.OA$]})}return u})(),We=(()=>{class u{get isActive(){return this._isActive}constructor(f,v,S,R,G){this.router=f,this.element=v,this.renderer=S,this.cdr=R,this.link=G,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new E.bkB,this.routerEventsSubscription=f.events.subscribe(pe=>{pe instanceof Pr&&this.update()})}ngAfterContentInit(){(0,O.of)(this.links.changes,(0,O.of)(null)).pipe(de()).subscribe(f=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const f=[...this.links.toArray(),this.link].filter(v=>!!v).map(v=>v.onChanges);this.linkInputChangesSubscription=(0,V.H)(f).pipe(de()).subscribe(v=>{this._isActive!==this.isLinkActive(this.router)(v)&&this.update()})}set routerLinkActive(f){const v=Array.isArray(f)?f:f.split(" ");this.classes=v.filter(S=>!!S)}ngOnChanges(f){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const f=this.hasActiveLinks();this.classes.forEach(v=>{f?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),f&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==f&&(this._isActive=f,this.cdr.markForCheck(),this.isActiveChange.emit(f))})}isLinkActive(f){const v=function $t(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>{const R=S.urlTree;return!!R&&f.isActive(R,v)}}hasActiveLinks(){const f=this.isLinkActive(this.router);return this.link&&f(this.link)||this.links.some(f)}static#e=this.\u0275fac=function(v){return new(v||u)(E.rXU(H),E.rXU(E.aKT),E.rXU(E.sFG),E.rXU(E.gRc),E.rXU(He,8))};static#t=this.\u0275dir=E.FsC({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(v,S,R){if(1&v&&E.wni(R,He,5),2&v){let G;E.mGM(G=E.lsd())&&(S.links=G)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[E.OA$]})}return u})();class yt{}let Ye=(()=>{class u{constructor(f,v,S,R,G){this.router=f,this.injector=S,this.preloadingStrategy=R,this.loader=G}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ze.p)(f=>f instanceof Pr),(0,nn.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,v){const S=[];for(const R of v){R.providers&&!R._injector&&(R._injector=(0,E.Ol2)(R.providers,f,`Route: ${R.path}`));const G=R._injector??f,pe=R._loadedInjector??G;(R.loadChildren&&!R._loadedRoutes&&void 0===R.canLoad||R.loadComponent&&!R._loadedComponent)&&S.push(this.preloadConfig(G,R)),(R.children||R._loadedRoutes)&&S.push(this.processRoutes(pe,R.children??R._loadedRoutes))}return(0,V.H)(S).pipe(de())}preloadConfig(f,v){return this.preloadingStrategy.preload(v,()=>{let S;S=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(f,v):(0,O.of)(null);const R=S.pipe((0,Le.Z)(G=>null===G?(0,O.of)(void 0):(v._loadedRoutes=G.routes,v._loadedInjector=G.injector,this.processRoutes(G.injector??f,G.routes))));if(v.loadComponent&&!v._loadedComponent){const G=this.loader.loadComponent(v);return(0,V.H)([R,G]).pipe(de())}return R})}static#e=this.\u0275fac=function(v){return new(v||u)(E.KVO(H),E.KVO(E.Ql9),E.KVO(E.uvJ),E.KVO(yt),E.KVO(an))};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const kn=new E.nKC("");let Vn=(()=>{class u{constructor(f,v,S,R,G={}){this.urlSerializer=f,this.transitions=v,this.viewportScroller=S,this.zone=R,this.options=G,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,E.WQX)(E.uvJ),G.scrollPositionRestoration||="disabled",G.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Pr?(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment)):f instanceof bt&&f.code===jr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Rs&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,v){var S=this;this.zone.runOutsideAngular((0,m.A)(function*(){yield new Promise(R=>{setTimeout(()=>{R()}),(0,E.mal)(()=>{R()},{injector:S.environmentInjector})}),S.zone.run(()=>{S.transitions.events.next(new Rs(f,"popstate"===S.lastSource?S.store[S.restoredId]:null,v))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(v){E.QTQ()};static#t=this.\u0275prov=E.jDH({token:u,factory:u.\u0275fac})}return u})();function rr(u,y){return{\u0275kind:u,\u0275providers:y}}function Hi(){const u=(0,E.WQX)(E.zZn);return y=>{const f=u.get(E.o8S);if(y!==f.components[0])return;const v=u.get(H),S=u.get($i);1===u.get(si)&&v.initialNavigation(),u.get(tt,null,E.$GK.Optional)?.setUpPreloading(),u.get(kn,null,E.$GK.Optional)?.init(),v.resetRootComponentType(f.componentTypes[0]),S.closed||(S.next(),S.complete(),S.unsubscribe())}}const $i=new E.nKC("",{factory:()=>new he.B}),si=new E.nKC("",{providedIn:"root",factory:()=>1}),tt=new E.nKC("");function ft(u){return rr(0,[{provide:tt,useExisting:Ye},{provide:yt,useExisting:u}])}function oi(u){return rr(9,[{provide:xn,useValue:xe},{provide:Qt,useValue:{skipNextTransition:!!u?.skipInitialTransition,...u}}])}const Un=new E.nKC("ROUTER_FORROOT_GUARD"),il=[ge.aZ,{provide:it,useClass:Kt},H,bn,{provide:pi,useFactory:function Yn(u){return u.routerState.root},deps:[H]},an,[]];let oc=(()=>{class u{constructor(f){}static forRoot(f,v){return{ngModule:u,providers:[il,[],{provide:Ke,multi:!0,useValue:f},{provide:Un,useFactory:zo,deps:[[H,new E.Xx1,new E.kdw]]},{provide:Me,useValue:v||{}},v?.useHash?{provide:ge.hb,useClass:ge.fw}:{provide:ge.hb,useClass:ge.Sm},{provide:kn,useFactory:()=>{const u=(0,E.WQX)(ge.Xr),y=(0,E.WQX)(E.SKi),f=(0,E.WQX)(Me),v=(0,E.WQX)(Xt),S=(0,E.WQX)(it);return f.scrollOffset&&u.setOffset(f.scrollOffset),new Vn(S,v,u,y,f)}},v?.preloadingStrategy?ft(v.preloadingStrategy).\u0275providers:[],v?.initialNavigation?da(v):[],v?.bindToComponentInputs?rr(8,[mi,{provide:Ir,useExisting:mi}]).\u0275providers:[],v?.enableViewTransitions?oi().\u0275providers:[],[{provide:xu,useFactory:Hi},{provide:E.iLQ,multi:!0,useExisting:xu}]]}}static forChild(f){return{ngModule:u,providers:[{provide:Ke,multi:!0,useValue:f}]}}static#e=this.\u0275fac=function(v){return new(v||u)(E.KVO(Un,8))};static#t=this.\u0275mod=E.$C({type:u});static#n=this.\u0275inj=E.G2t({})}return u})();function zo(u){return"guarded"}function da(u){return["disabled"===u.initialNavigation?rr(3,[{provide:E.hnV,multi:!0,useFactory:()=>{const y=(0,E.WQX)(H);return()=>{y.setUpLocationChangeListener()}}},{provide:si,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?rr(2,[{provide:si,useValue:0},{provide:E.hnV,multi:!0,deps:[E.zZn],useFactory:y=>{const f=y.get(ge.hj,Promise.resolve());return()=>f.then(()=>new Promise(v=>{const S=y.get(H),R=y.get($i);g(S,()=>{v(!0)}),y.get(Xt).afterPreactivation=()=>(v(!0),R.closed?(0,O.of)(void 0):R),S.initialNavigation()}))}}]).\u0275providers:[]]}const xu=new E.nKC("")},5779:(Je,Ie,F)=>{F.d(Ie,{E:()=>K,Ei:()=>pt,Gg:()=>zt,Rn:()=>$,Y9:()=>nt,Yj:()=>Bt,r1:()=>je,si:()=>Re,tl:()=>k,wi:()=>ot});var m=F(4438),E=F(1413),X=F(4420),le=F(177);const l=["*"];let $=(()=>class de{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),k=(()=>class de{static AND="and";static OR="or"})(),K=(()=>{class de{filter(ie,ee,ne,ve,Y){let Oe=[];if(ie)for(let Ee of ie)for(let rt of ee){let _t=X.BF.resolveFieldData(Ee,rt);if(this.filters[ve](_t,ne,Y)){Oe.push(Ee);break}}return Oe}filters={startsWith:(ie,ee,ne)=>{if(null==ee||""===ee.trim())return!0;if(null==ie)return!1;let ve=X.BF.removeAccents(ee.toString()).toLocaleLowerCase(ne);return X.BF.removeAccents(ie.toString()).toLocaleLowerCase(ne).slice(0,ve.length)===ve},contains:(ie,ee,ne)=>{if(null==ee||"string"==typeof ee&&""===ee.trim())return!0;if(null==ie)return!1;let ve=X.BF.removeAccents(ee.toString()).toLocaleLowerCase(ne);return-1!==X.BF.removeAccents(ie.toString()).toLocaleLowerCase(ne).indexOf(ve)},notContains:(ie,ee,ne)=>{if(null==ee||"string"==typeof ee&&""===ee.trim())return!0;if(null==ie)return!1;let ve=X.BF.removeAccents(ee.toString()).toLocaleLowerCase(ne);return-1===X.BF.removeAccents(ie.toString()).toLocaleLowerCase(ne).indexOf(ve)},endsWith:(ie,ee,ne)=>{if(null==ee||""===ee.trim())return!0;if(null==ie)return!1;let ve=X.BF.removeAccents(ee.toString()).toLocaleLowerCase(ne),Y=X.BF.removeAccents(ie.toString()).toLocaleLowerCase(ne);return-1!==Y.indexOf(ve,Y.length-ve.length)},equals:(ie,ee,ne)=>null==ee||"string"==typeof ee&&""===ee.trim()||null!=ie&&(ie.getTime&&ee.getTime?ie.getTime()===ee.getTime():X.BF.removeAccents(ie.toString()).toLocaleLowerCase(ne)==X.BF.removeAccents(ee.toString()).toLocaleLowerCase(ne)),notEquals:(ie,ee,ne)=>!(null==ee||"string"==typeof ee&&""===ee.trim()||null!=ie&&(ie.getTime&&ee.getTime?ie.getTime()===ee.getTime():X.BF.removeAccents(ie.toString()).toLocaleLowerCase(ne)==X.BF.removeAccents(ee.toString()).toLocaleLowerCase(ne))),in:(ie,ee)=>{if(null==ee||0===ee.length)return!0;for(let ne=0;nenull==ee||null==ee[0]||null==ee[1]||null!=ie&&(ie.getTime?ee[0].getTime()<=ie.getTime()&&ie.getTime()<=ee[1].getTime():ee[0]<=ie&&ie<=ee[1]),lt:(ie,ee,ne)=>null==ee||null!=ie&&(ie.getTime&&ee.getTime?ie.getTime()null==ee||null!=ie&&(ie.getTime&&ee.getTime?ie.getTime()<=ee.getTime():ie<=ee),gt:(ie,ee,ne)=>null==ee||null!=ie&&(ie.getTime&&ee.getTime?ie.getTime()>ee.getTime():ie>ee),gte:(ie,ee,ne)=>null==ee||null!=ie&&(ie.getTime&&ee.getTime?ie.getTime()>=ee.getTime():ie>=ee),is:(ie,ee,ne)=>this.filters.equals(ie,ee,ne),isNot:(ie,ee,ne)=>this.filters.notEquals(ie,ee,ne),before:(ie,ee,ne)=>this.filters.lt(ie,ee,ne),after:(ie,ee,ne)=>this.filters.gt(ie,ee,ne),dateIs:(ie,ee)=>null==ee||null!=ie&&ie.toDateString()===ee.toDateString(),dateIsNot:(ie,ee)=>null==ee||null!=ie&&ie.toDateString()!==ee.toDateString(),dateBefore:(ie,ee)=>null==ee||null!=ie&&ie.getTime()null==ee||null!=ie&&ie.getTime()>ee.getTime()};register(ie,ee){this.filters[ie]=ee}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=m.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),Re=(()=>{class de{clickSource=new E.B;clickObservable=this.clickSource.asObservable();add(ie){ie&&this.clickSource.next(ie)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=m.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),je=(()=>{class de{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[$.STARTS_WITH,$.CONTAINS,$.NOT_CONTAINS,$.ENDS_WITH,$.EQUALS,$.NOT_EQUALS],numeric:[$.EQUALS,$.NOT_EQUALS,$.LESS_THAN,$.LESS_THAN_OR_EQUAL_TO,$.GREATER_THAN,$.GREATER_THAN_OR_EQUAL_TO],date:[$.DATE_IS,$.DATE_IS_NOT,$.DATE_BEFORE,$.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new E.B;translationObserver=this.translationSource.asObservable();getTranslation(ie){return this.translation[ie]}setTranslation(ie){this.translation={...this.translation,...ie},this.translationSource.next(this.translation)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=m.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),nt=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275cmp=m.VBU({type:de,selectors:[["p-header"]],ngContentSelectors:l,decls:1,vars:0,template:function(ee,ne){1&ee&&(m.NAR(),m.SdG(0))},encapsulation:2})}return de})(),ot=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275cmp=m.VBU({type:de,selectors:[["p-footer"]],ngContentSelectors:l,decls:1,vars:0,template:function(ee,ne){1&ee&&(m.NAR(),m.SdG(0))},encapsulation:2})}return de})(),pt=(()=>{class de{template;type;name;constructor(ie){this.template=ie}getType(){return this.name}static \u0275fac=function(ee){return new(ee||de)(m.rXU(m.C4Q))};static \u0275dir=m.FsC({type:de,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[m.Mj6.None,"pTemplate","name"]}})}return de})(),zt=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275mod=m.$C({type:de});static \u0275inj=m.G2t({imports:[le.MD]})}return de})(),Bt=(()=>class de{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage"})()},6150:(Je,Ie,F)=>{F.d(Ie,{EJ:()=>O,Ex:()=>V});var m=F(177),E=F(4438),X=F(5779);function le(W,$){if(1&W&&(E.j41(0,"span",1),E.EFF(1),E.k0s()),2&W){const k=E.XpG();E.HbH(k.styleClass),E.Y8G("ngClass",k.containerClass())("ngStyle",k.style),E.R7$(),E.JRh(k.value)}}let V=(()=>{class W{styleClass;style;size;severity;value;badgeDisabled=!1;containerClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":null!=this.value&&1===String(this.value).length,"p-badge-lg":"large"===this.size,"p-badge-xl":"xlarge"===this.size,"p-badge-info":"info"===this.severity,"p-badge-success":"success"===this.severity,"p-badge-warning":"warning"===this.severity,"p-badge-danger":"danger"===this.severity}}static \u0275fac=function(K){return new(K||W)};static \u0275cmp=E.VBU({type:W,selectors:[["p-badge"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",size:"size",severity:"severity",value:"value",badgeDisabled:"badgeDisabled"},decls:1,vars:1,consts:[[3,"ngClass","class","ngStyle",4,"ngIf"],[3,"ngClass","ngStyle"]],template:function(K,ue){1&K&&E.DNE(0,le,2,5,"span",0),2&K&&E.Y8G("ngIf",!ue.badgeDisabled)},dependencies:[m.YU,m.bT,m.B3],styles:["@layer primeng{.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}}\n"],encapsulation:2,changeDetection:0})}return W})(),O=(()=>{class W{static \u0275fac=function(K){return new(K||W)};static \u0275mod=E.$C({type:W});static \u0275inj=E.G2t({imports:[m.MD,X.Gg]})}return W})()},461:(Je,Ie,F)=>{F.d(Ie,{h:()=>le});var m=F(4438),E=F(4420);const X=["*"];let le=(()=>{class l{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const O=E.BF.isEmpty(this.label);this.role=O?void 0:"img",this.ariaLabel=O?void 0:this.label,this.ariaHidden=O}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(W){return new(W||l)};static \u0275cmp=m.VBU({type:l,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[m.aNF],ngContentSelectors:X,decls:1,vars:0,template:function(W,$){1&W&&(m.NAR(),m.SdG(0))},encapsulation:2,changeDetection:0})}return l})()},1141:(Je,Ie,F)=>{F.d(Ie,{$n:()=>ne,_f:()=>ee,tm:()=>ve});var m=F(177),E=F(4438),X=F(5779),le=F(1455),l=F(8757),V=F(563),O=F(4420);const W=["*"];function $(Y,Oe){1&Y&&E.eu8(0)}function k(Y,Oe){if(1&Y&&E.nrm(0,"span",8),2&Y){const Ee=E.XpG(3);E.HbH("p-button-loading-icon pi-spin "+Ee.loadingIcon),E.Y8G("ngClass",Ee.iconClass()),E.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function K(Y,Oe){if(1&Y&&E.nrm(0,"SpinnerIcon",9),2&Y){const Ee=E.XpG(3);E.Y8G("styleClass",Ee.spinnerIconClass())("spin",!0),E.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function ue(Y,Oe){if(1&Y&&(E.qex(0),E.DNE(1,k,1,5,"span",6)(2,K,1,4,"SpinnerIcon",7),E.bVm()),2&Y){const Ee=E.XpG(2);E.R7$(),E.Y8G("ngIf",Ee.loadingIcon),E.R7$(),E.Y8G("ngIf",!Ee.loadingIcon)}}function Re(Y,Oe){}function we(Y,Oe){1&Y&&E.DNE(0,Re,0,0,"ng-template")}function je(Y,Oe){if(1&Y&&(E.j41(0,"span",10),E.DNE(1,we,1,0,null,1),E.k0s()),2&Y){const Ee=E.XpG(2);E.Y8G("ngClass",Ee.iconClass()),E.BMQ("aria-hidden",!0)("data-pc-section","loadingicon"),E.R7$(),E.Y8G("ngTemplateOutlet",Ee.loadingIconTemplate)}}function nt(Y,Oe){if(1&Y&&(E.qex(0),E.DNE(1,ue,3,2,"ng-container",2)(2,je,2,4,"span",5),E.bVm()),2&Y){const Ee=E.XpG();E.R7$(),E.Y8G("ngIf",!Ee.loadingIconTemplate),E.R7$(),E.Y8G("ngIf",Ee.loadingIconTemplate)}}function ot(Y,Oe){if(1&Y&&E.nrm(0,"span",8),2&Y){const Ee=E.XpG(2);E.HbH(Ee.icon),E.Y8G("ngClass",Ee.iconClass()),E.BMQ("data-pc-section","icon")}}function pt(Y,Oe){}function zt(Y,Oe){if(1&Y&&E.DNE(0,pt,0,0,"ng-template",12),2&Y){const Ee=E.XpG(3);E.Y8G("ngIf",!Ee.icon)}}function Bt(Y,Oe){if(1&Y&&(E.j41(0,"span",8),E.DNE(1,zt,1,1,null,1),E.k0s()),2&Y){const Ee=E.XpG(2);E.Y8G("ngClass",Ee.iconClass()),E.BMQ("data-pc-section","icon"),E.R7$(),E.Y8G("ngTemplateOutlet",Ee.iconTemplate)}}function Le(Y,Oe){if(1&Y&&(E.qex(0),E.DNE(1,ot,1,4,"span",6)(2,Bt,2,3,"span",11),E.bVm()),2&Y){const Ee=E.XpG();E.R7$(),E.Y8G("ngIf",Ee.icon&&!Ee.iconTemplate),E.R7$(),E.Y8G("ngIf",!Ee.icon&&Ee.iconTemplate)}}function de(Y,Oe){if(1&Y&&(E.j41(0,"span",13),E.EFF(1),E.k0s()),2&Y){const Ee=E.XpG();E.BMQ("aria-hidden",Ee.icon&&!Ee.label)("data-pc-section","label"),E.R7$(),E.JRh(Ee.label)}}function qe(Y,Oe){if(1&Y&&(E.j41(0,"span",8),E.EFF(1),E.k0s()),2&Y){const Ee=E.XpG();E.HbH(Ee.badgeClass),E.Y8G("ngClass",Ee.badgeStyleClass()),E.BMQ("data-pc-section","badge"),E.R7$(),E.JRh(Ee.badge)}}const ie={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let ee=(()=>{class Y{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(Ee){this._label=Ee,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(Ee){this._icon=Ee,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(Ee){this._loading=Ee,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(ie);spinnerIcon='\n \n \n \n \n \n \n \n \n ';constructor(Ee,rt){this.el=Ee,this.document=rt}ngAfterViewInit(){le.D.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const Ee=[ie.button,ie.component];return this.icon&&!this.label&&O.BF.isEmpty(this.htmlElement.textContent)&&Ee.push(ie.iconOnly),this.loading&&(Ee.push(ie.disabled,ie.loading),!this.icon&&this.label&&Ee.push(ie.labelOnly),this.icon&&!this.label&&!O.BF.isEmpty(this.htmlElement.textContent)&&Ee.push(ie.iconOnly)),Ee}setStyleClass(){const Ee=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...Ee)}createLabel(){if(this.label){let Ee=this.document.createElement("span");this.icon&&!this.label&&Ee.setAttribute("aria-hidden","true"),Ee.className="p-button-label",Ee.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(Ee)}}createIcon(){if(this.icon||this.loading){let Ee=this.document.createElement("span");Ee.className="p-button-icon",Ee.setAttribute("aria-hidden","true");let rt=this.label?"p-button-icon-"+this.iconPos:null;rt&&le.D.addClass(Ee,rt);let _t=this.getIconClass();_t&&le.D.addMultipleClasses(Ee,_t),!this.loadingIcon&&this.loading&&(Ee.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(Ee,this.htmlElement.firstChild)}}updateLabel(){let Ee=le.D.findSingle(this.htmlElement,".p-button-label");this.label?Ee?Ee.textContent=this.label:this.createLabel():Ee&&this.htmlElement.removeChild(Ee)}updateIcon(){let Ee=le.D.findSingle(this.htmlElement,".p-button-icon"),rt=le.D.findSingle(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&Ee?Ee.innerHTML=this.spinnerIcon:Ee?.innerHTML&&(Ee.innerHTML=""),Ee?Ee.className=this.iconPos?"p-button-icon "+(rt?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(rt){return new(rt||Y)(E.rXU(E.aKT),E.rXU(m.qQ))};static \u0275dir=E.FsC({type:Y,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return Y})(),ne=(()=>{class Y{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;size;style;styleClass;badgeClass;ariaLabel;onClick=new E.bkB;onFocus=new E.bkB;onBlur=new E.bkB;contentTemplate;loadingIconTemplate;iconTemplate;templates;spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,Ee])=>!!Ee).reduce((Ee,[rt])=>Ee+` ${rt}`,"p-button-loading-icon")}iconClass(){return{"p-button-icon":!0,"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}}buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this.loadingIcon||this.loadingIconTemplate)&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label&&!this.loadingIcon&&"left"===this.iconPos,"p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":"small"===this.size,"p-button-lg":"large"===this.size,"p-button-plain":this.plain,[`${this.styleClass}`]:this.styleClass}}ngAfterContentInit(){this.templates?.forEach(Ee=>{switch(Ee.getType()){case"content":default:this.contentTemplate=Ee.template;break;case"icon":this.iconTemplate=Ee.template;break;case"loadingicon":this.loadingIconTemplate=Ee.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}static \u0275fac=function(rt){return new(rt||Y)};static \u0275cmp=E.VBU({type:Y,selectors:[["p-button"]],contentQueries:function(rt,_t,Ht){if(1&rt&&E.wni(Ht,X.Ei,4),2&rt){let qt;E.mGM(qt=E.lsd())&&(_t.templates=qt)}},hostAttrs:[1,"p-element"],hostVars:2,hostBindings:function(rt,_t){2&rt&&E.AVh("p-disabled",_t.disabled)},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",raised:"raised",rounded:"rounded",text:"text",plain:"plain",severity:"severity",outlined:"outlined",link:"link",size:"size",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:W,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","ngClass"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon",3,"ngClass"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(rt,_t){1&rt&&(E.NAR(),E.j41(0,"button",0),E.bIt("click",function(qt){return _t.onClick.emit(qt)})("focus",function(qt){return _t.onFocus.emit(qt)})("blur",function(qt){return _t.onBlur.emit(qt)}),E.SdG(1),E.DNE(2,$,1,0,"ng-container",1)(3,nt,3,2,"ng-container",2)(4,Le,3,2,"ng-container",2)(5,de,2,3,"span",3)(6,qe,2,5,"span",4),E.k0s()),2&rt&&(E.HbH(_t.styleClass),E.Y8G("ngStyle",_t.style)("disabled",_t.disabled||_t.loading)("ngClass",_t.buttonClass()),E.BMQ("type",_t.type)("aria-label",_t.ariaLabel)("data-pc-name","button")("data-pc-section","root"),E.R7$(2),E.Y8G("ngTemplateOutlet",_t.contentTemplate),E.R7$(),E.Y8G("ngIf",_t.loading),E.R7$(),E.Y8G("ngIf",!_t.loading),E.R7$(),E.Y8G("ngIf",!_t.contentTemplate&&_t.label),E.R7$(),E.Y8G("ngIf",!_t.contentTemplate&&_t.badge))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,V.n,l.N],encapsulation:2,changeDetection:0})}return Y})(),ve=(()=>{class Y{static \u0275fac=function(rt){return new(rt||Y)};static \u0275mod=E.$C({type:Y});static \u0275inj=E.G2t({imports:[m.MD,V.Z,X.Gg,l.N,X.Gg]})}return Y})()},1455:(Je,Ie,F)=>{F.d(Ie,{D:()=>m,b:()=>E});let m=(()=>{class X{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(l,V){l&&V&&(l.classList?l.classList.add(V):l.className+=" "+V)}static addMultipleClasses(l,V){if(l&&V)if(l.classList){let O=V.trim().split(" ");for(let W=0;WO.split(" ").forEach(W=>this.removeClass(l,W)))}static hasClass(l,V){return!(!l||!V)&&(l.classList?l.classList.contains(V):new RegExp("(^| )"+V+"( |$)","gi").test(l.className))}static siblings(l){return Array.prototype.filter.call(l.parentNode.children,function(V){return V!==l})}static find(l,V){return Array.from(l.querySelectorAll(V))}static findSingle(l,V){return this.isElement(l)?l.querySelector(V):null}static index(l){let V=l.parentNode.childNodes,O=0;for(var W=0;W{if(Bt)return"relative"===getComputedStyle(Bt).getPropertyValue("position")?Bt:O(Bt.parentElement)},W=l.offsetParent?{width:l.offsetWidth,height:l.offsetHeight}:this.getHiddenElementDimensions(l),$=V.offsetHeight,k=V.getBoundingClientRect(),K=this.getWindowScrollTop(),ue=this.getWindowScrollLeft(),Re=this.getViewport(),je=O(l)?.getBoundingClientRect()||{top:-1*K,left:-1*ue};let nt,ot;k.top+$+W.height>Re.height?(nt=k.top-je.top-W.height,l.style.transformOrigin="bottom",k.top+nt<0&&(nt=-1*k.top)):(nt=$+k.top-je.top,l.style.transformOrigin="top");const pt=k.left+W.width-Re.width;ot=W.width>Re.width?-1*(k.left-je.left):pt>0?k.left-je.left-pt:k.left-je.left,l.style.top=nt+"px",l.style.left=ot+"px"}static absolutePosition(l,V){const O=l.offsetParent?{width:l.offsetWidth,height:l.offsetHeight}:this.getHiddenElementDimensions(l),W=O.height,$=O.width,k=V.offsetHeight,K=V.offsetWidth,ue=V.getBoundingClientRect(),Re=this.getWindowScrollTop(),we=this.getWindowScrollLeft(),je=this.getViewport();let nt,ot;ue.top+k+W>je.height?(nt=ue.top+Re-W,l.style.transformOrigin="bottom",nt<0&&(nt=Re)):(nt=k+ue.top+Re,l.style.transformOrigin="top"),ot=ue.left+$>je.width?Math.max(0,ue.left+we+K-$):ue.left+we,l.style.top=nt+"px",l.style.left=ot+"px"}static getParents(l,V=[]){return null===l.parentNode?V:this.getParents(l.parentNode,V.concat([l.parentNode]))}static getScrollableParents(l){let V=[];if(l){let O=this.getParents(l);const W=/(auto|scroll)/,$=k=>{let K=window.getComputedStyle(k,null);return W.test(K.getPropertyValue("overflow"))||W.test(K.getPropertyValue("overflowX"))||W.test(K.getPropertyValue("overflowY"))};for(let k of O){let K=1===k.nodeType&&k.dataset.scrollselectors;if(K){let ue=K.split(",");for(let Re of ue){let we=this.findSingle(k,Re);we&&$(we)&&V.push(we)}}9!==k.nodeType&&$(k)&&V.push(k)}}return V}static getHiddenElementOuterHeight(l){l.style.visibility="hidden",l.style.display="block";let V=l.offsetHeight;return l.style.display="none",l.style.visibility="visible",V}static getHiddenElementOuterWidth(l){l.style.visibility="hidden",l.style.display="block";let V=l.offsetWidth;return l.style.display="none",l.style.visibility="visible",V}static getHiddenElementDimensions(l){let V={};return l.style.visibility="hidden",l.style.display="block",V.width=l.offsetWidth,V.height=l.offsetHeight,l.style.display="none",l.style.visibility="visible",V}static scrollInView(l,V){let O=getComputedStyle(l).getPropertyValue("borderTopWidth"),W=O?parseFloat(O):0,$=getComputedStyle(l).getPropertyValue("paddingTop"),k=$?parseFloat($):0,K=l.getBoundingClientRect(),Re=V.getBoundingClientRect().top+document.body.scrollTop-(K.top+document.body.scrollTop)-W-k,we=l.scrollTop,je=l.clientHeight,nt=this.getOuterHeight(V);Re<0?l.scrollTop=we+Re:Re+nt>je&&(l.scrollTop=we+Re-je+nt)}static fadeIn(l,V){l.style.opacity=0;let O=+new Date,W=0,$=function(){W=+l.style.opacity.replace(",",".")+((new Date).getTime()-O)/V,l.style.opacity=W,O=+new Date,+W<1&&(window.requestAnimationFrame&&requestAnimationFrame($)||setTimeout($,16))};$()}static fadeOut(l,V){var O=1,k=50/V;let K=setInterval(()=>{(O-=k)<=0&&(O=0,clearInterval(K)),l.style.opacity=O},50)}static getWindowScrollTop(){let l=document.documentElement;return(window.pageYOffset||l.scrollTop)-(l.clientTop||0)}static getWindowScrollLeft(){let l=document.documentElement;return(window.pageXOffset||l.scrollLeft)-(l.clientLeft||0)}static matches(l,V){var O=Element.prototype;return(O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.msMatchesSelector||function($){return-1!==[].indexOf.call(document.querySelectorAll($),this)}).call(l,V)}static getOuterWidth(l,V){let O=l.offsetWidth;if(V){let W=getComputedStyle(l);O+=parseFloat(W.marginLeft)+parseFloat(W.marginRight)}return O}static getHorizontalPadding(l){let V=getComputedStyle(l);return parseFloat(V.paddingLeft)+parseFloat(V.paddingRight)}static getHorizontalMargin(l){let V=getComputedStyle(l);return parseFloat(V.marginLeft)+parseFloat(V.marginRight)}static innerWidth(l){let V=l.offsetWidth,O=getComputedStyle(l);return V+=parseFloat(O.paddingLeft)+parseFloat(O.paddingRight),V}static width(l){let V=l.offsetWidth,O=getComputedStyle(l);return V-=parseFloat(O.paddingLeft)+parseFloat(O.paddingRight),V}static getInnerHeight(l){let V=l.offsetHeight,O=getComputedStyle(l);return V+=parseFloat(O.paddingTop)+parseFloat(O.paddingBottom),V}static getOuterHeight(l,V){let O=l.offsetHeight;if(V){let W=getComputedStyle(l);O+=parseFloat(W.marginTop)+parseFloat(W.marginBottom)}return O}static getHeight(l){let V=l.offsetHeight,O=getComputedStyle(l);return V-=parseFloat(O.paddingTop)+parseFloat(O.paddingBottom)+parseFloat(O.borderTopWidth)+parseFloat(O.borderBottomWidth),V}static getWidth(l){let V=l.offsetWidth,O=getComputedStyle(l);return V-=parseFloat(O.paddingLeft)+parseFloat(O.paddingRight)+parseFloat(O.borderLeftWidth)+parseFloat(O.borderRightWidth),V}static getViewport(){let l=window,V=document,O=V.documentElement,W=V.getElementsByTagName("body")[0];return{width:l.innerWidth||O.clientWidth||W.clientWidth,height:l.innerHeight||O.clientHeight||W.clientHeight}}static getOffset(l){var V=l.getBoundingClientRect();return{top:V.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:V.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(l,V){let O=l.parentNode;if(!O)throw"Can't replace element";return O.replaceChild(V,l)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var l=window.navigator.userAgent;return l.indexOf("MSIE ")>0||(l.indexOf("Trident/")>0?(l.indexOf("rv:"),!0):l.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(l,V){if(this.isElement(V))V.appendChild(l);else{if(!(V&&V.el&&V.el.nativeElement))throw"Cannot append "+V+" to "+l;V.el.nativeElement.appendChild(l)}}static removeChild(l,V){if(this.isElement(V))V.removeChild(l);else{if(!V.el||!V.el.nativeElement)throw"Cannot remove "+l+" from "+V;V.el.nativeElement.removeChild(l)}}static removeElement(l){"remove"in Element.prototype?l.remove():l.parentNode.removeChild(l)}static isElement(l){return"object"==typeof HTMLElement?l instanceof HTMLElement:l&&"object"==typeof l&&null!==l&&1===l.nodeType&&"string"==typeof l.nodeName}static calculateScrollbarWidth(l){if(l){let V=getComputedStyle(l);return l.offsetWidth-l.clientWidth-parseFloat(V.borderLeftWidth)-parseFloat(V.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let V=document.createElement("div");V.className="p-scrollbar-measure",document.body.appendChild(V);let O=V.offsetWidth-V.clientWidth;return document.body.removeChild(V),this.calculatedScrollbarWidth=O,O}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let l=document.createElement("div");l.className="p-scrollbar-measure",document.body.appendChild(l);let V=l.offsetHeight-l.clientHeight;return document.body.removeChild(l),this.calculatedScrollbarWidth=V,V}static invokeElementMethod(l,V,O){l[V].apply(l,O)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let l=this.resolveUserAgent();this.browser={},l.browser&&(this.browser[l.browser]=!0,this.browser.version=l.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let l=navigator.userAgent.toLowerCase(),V=/(chrome)[ \/]([\w.]+)/.exec(l)||/(webkit)[ \/]([\w.]+)/.exec(l)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(l)||/(msie) ([\w.]+)/.exec(l)||l.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(l)||[];return{browser:V[1]||"",version:V[2]||"0"}}static isInteger(l){return Number.isInteger?Number.isInteger(l):"number"==typeof l&&isFinite(l)&&Math.floor(l)===l}static isHidden(l){return!l||null===l.offsetParent}static isVisible(l){return l&&null!=l.offsetParent}static isExist(l){return null!==l&&typeof l<"u"&&l.nodeName&&l.parentNode}static focus(l,V){l&&document.activeElement!==l&&l.focus(V)}static getFocusableElements(l,V=""){let O=this.find(l,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${V}`),W=[];for(let $ of O)"none"!=getComputedStyle($).display&&"hidden"!=getComputedStyle($).visibility&&W.push($);return W}static getFirstFocusableElement(l,V){const O=this.getFocusableElements(l,V);return O.length>0?O[0]:null}static getLastFocusableElement(l,V){const O=this.getFocusableElements(l,V);return O.length>0?O[O.length-1]:null}static getNextFocusableElement(l,V=!1){const O=X.getFocusableElements(l);let W=0;if(O&&O.length>0){const $=O.indexOf(O[0].ownerDocument.activeElement);V?W=-1==$||0===$?O.length-1:$-1:-1!=$&&$!==O.length-1&&(W=$+1)}return O[W]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(l,V){if(!l)return null;switch(l){case"document":return document;case"window":return window;case"@next":return V?.nextElementSibling;case"@prev":return V?.previousElementSibling;case"@parent":return V?.parentElement;case"@grandparent":return V?.parentElement.parentElement;default:const O=typeof l;if("string"===O)return document.querySelector(l);if("object"===O&&l.hasOwnProperty("nativeElement"))return this.isExist(l.nativeElement)?l.nativeElement:void 0;const $=(k=l)&&k.constructor&&k.call&&k.apply?l():l;return $&&9===$.nodeType||this.isExist($)?$:null}var k}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(l,V){if(l){const O=l.getAttribute(V);return isNaN(O)?"true"===O||"false"===O?"true"===O:O:+O}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(l="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,l)}static unblockBodyScroll(l="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,l)}}return X})();class E{element;listener;scrollableParents;constructor(le,l=(()=>{})){this.element=le,this.listener=l}bindScrollListener(){this.scrollableParents=m.getScrollableParents(this.element);for(let le=0;le{F.d(Ie,{N:()=>le});var m=F(4438),E=F(461),X=F(4420);let le=(()=>{class l extends E.h{pathId;ngOnInit(){this.pathId="url(#"+(0,X._Y)()+")"}static \u0275fac=(()=>{let O;return function($){return(O||(O=m.xGo(l)))($||l)}})();static \u0275cmp=m.VBU({type:l,selectors:[["SpinnerIcon"]],standalone:!0,features:[m.Vt3,m.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(W,$){1&W&&(m.qSk(),m.j41(0,"svg",0)(1,"g"),m.nrm(2,"path",1),m.k0s(),m.j41(3,"defs")(4,"clipPath",2),m.nrm(5,"rect",3),m.k0s()()()),2&W&&(m.HbH($.getClassNames()),m.BMQ("aria-label",$.ariaLabel)("aria-hidden",$.ariaHidden)("role",$.role),m.R7$(),m.BMQ("clip-path",$.pathId),m.R7$(3),m.Y8G("id",$.pathId))},encapsulation:2})}return l})()},1512:(Je,Ie,F)=>{F.d(Ie,{A:()=>X});var m=F(4438),E=F(461);let X=(()=>{class le extends E.h{static \u0275fac=(()=>{let V;return function(W){return(V||(V=m.xGo(le)))(W||le)}})();static \u0275cmp=m.VBU({type:le,selectors:[["TimesIcon"]],standalone:!0,features:[m.Vt3,m.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(O,W){1&O&&(m.qSk(),m.j41(0,"svg",0),m.nrm(1,"path",1),m.k0s()),2&O&&(m.HbH(W.getClassNames()),m.BMQ("aria-label",W.ariaLabel)("aria-hidden",W.ariaHidden)("role",W.role))},encapsulation:2})}return le})()},2242:(Je,Ie,F)=>{F.d(Ie,{S:()=>le,u:()=>l});var m=F(4438),E=F(177),X=F(4341);let le=(()=>{class V{el;ngModel;cd;filled;constructor(W,$,k){this.el=W,this.ngModel=$,this.cd=k}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}static \u0275fac=function($){return new($||V)(m.rXU(m.aKT),m.rXU(X.vS,8),m.rXU(m.gRc))};static \u0275dir=m.FsC({type:V,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function($,k){1&$&&m.bIt("input",function(ue){return k.onInput(ue)}),2&$&&m.AVh("p-filled",k.filled)}})}return V})(),l=(()=>{class V{static \u0275fac=function($){return new($||V)};static \u0275mod=m.$C({type:V});static \u0275inj=m.G2t({imports:[E.MD]})}return V})()},563:(Je,Ie,F)=>{F.d(Ie,{Z:()=>V,n:()=>l});var m=F(177),E=F(4438),X=F(1455),le=F(5779);let l=(()=>{class O{document;platformId;renderer;el;zone;config;constructor($,k,K,ue,Re,we){this.document=$,this.platformId=k,this.renderer=K,this.el=ue,this.zone=Re,this.config=we}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,m.UE)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown($){let k=this.getInk();if(!k||"none"===this.document.defaultView?.getComputedStyle(k,null).display)return;if(X.D.removeClass(k,"p-ink-active"),!X.D.getHeight(k)&&!X.D.getWidth(k)){let we=Math.max(X.D.getOuterWidth(this.el.nativeElement),X.D.getOuterHeight(this.el.nativeElement));k.style.height=we+"px",k.style.width=we+"px"}let K=X.D.getOffset(this.el.nativeElement),ue=$.pageX-K.left+this.document.body.scrollTop-X.D.getWidth(k)/2,Re=$.pageY-K.top+this.document.body.scrollLeft-X.D.getHeight(k)/2;this.renderer.setStyle(k,"top",Re+"px"),this.renderer.setStyle(k,"left",ue+"px"),X.D.addClass(k,"p-ink-active"),this.timeout=setTimeout(()=>{let we=this.getInk();we&&X.D.removeClass(we,"p-ink-active")},401)}getInk(){const $=this.el.nativeElement.children;for(let k=0;k<$.length;k++)if("string"==typeof $[k].className&&-1!==$[k].className.indexOf("p-ink"))return $[k];return null}resetInk(){let $=this.getInk();$&&X.D.removeClass($,"p-ink-active")}onAnimationEnd($){this.timeout&&clearTimeout(this.timeout),X.D.removeClass($.currentTarget,"p-ink-active")}create(){let $=this.renderer.createElement("span");this.renderer.addClass($,"p-ink"),this.renderer.appendChild(this.el.nativeElement,$),this.renderer.setAttribute($,"aria-hidden","true"),this.renderer.setAttribute($,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen($,"animationend",this.onAnimationEnd.bind(this)))}remove(){let $=this.getInk();$&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,X.D.removeElement($))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(k){return new(k||O)(E.rXU(m.qQ),E.rXU(E.Agw),E.rXU(E.sFG),E.rXU(E.aKT),E.rXU(E.SKi),E.rXU(le.r1,8))};static \u0275dir=E.FsC({type:O,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]})}return O})(),V=(()=>{class O{static \u0275fac=function(k){return new(k||O)};static \u0275mod=E.$C({type:O});static \u0275inj=E.G2t({imports:[m.MD]})}return O})()},8542:(Je,Ie,F)=>{F.d(Ie,{S:()=>O,m:()=>V});var m=F(177),E=F(4438),X=F(1455),le=F(4420),l=F(5779);let V=(()=>{class W{platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(k){this._disabled=k,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:(0,le._Y)()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(k,K,ue,Re,we,je){this.platformId=k,this.el=K,this.zone=ue,this.config=Re,this.renderer=we,this.viewContainer=je}ngAfterViewInit(){(0,m.UE)(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let k=this.getTarget(this.el.nativeElement);k.addEventListener("focus",this.focusListener),k.addEventListener("blur",this.blurListener)}})}ngOnChanges(k){k.tooltipPosition&&this.setOption({tooltipPosition:k.tooltipPosition.currentValue}),k.tooltipEvent&&this.setOption({tooltipEvent:k.tooltipEvent.currentValue}),k.appendTo&&this.setOption({appendTo:k.appendTo.currentValue}),k.positionStyle&&this.setOption({positionStyle:k.positionStyle.currentValue}),k.tooltipStyleClass&&this.setOption({tooltipStyleClass:k.tooltipStyleClass.currentValue}),k.tooltipZIndex&&this.setOption({tooltipZIndex:k.tooltipZIndex.currentValue}),k.escape&&this.setOption({escape:k.escape.currentValue}),k.showDelay&&this.setOption({showDelay:k.showDelay.currentValue}),k.hideDelay&&this.setOption({hideDelay:k.hideDelay.currentValue}),k.life&&this.setOption({life:k.life.currentValue}),k.positionTop&&this.setOption({positionTop:k.positionTop.currentValue}),k.positionLeft&&this.setOption({positionLeft:k.positionLeft.currentValue}),k.disabled&&this.setOption({disabled:k.disabled.currentValue}),k.content&&(this.setOption({tooltipLabel:k.content.currentValue}),this.active&&(k.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),k.autoHide&&this.setOption({autoHide:k.autoHide.currentValue}),k.id&&this.setOption({id:k.id.currentValue}),k.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...k.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(k){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(k){(this.isAutoHide()||!(X.D.hasClass(k.relatedTarget,"p-tooltip")||X.D.hasClass(k.relatedTarget,"p-tooltip-text")||X.D.hasClass(k.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(k){this.activate()}onBlur(k){this.deactivate()}onInputClick(k){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let k=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},k)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let k=document.createElement("div");k.className="p-tooltip-arrow",this.container.appendChild(k),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?X.D.appendChild(this.container,this.el.nativeElement):X.D.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",K=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),X.D.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?le.Q$.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&le.Q$.clear(this.container),this.remove()}updateText(){const k=this.getOption("tooltipLabel");if(k instanceof E.C4Q){const K=this.viewContainer.createEmbeddedView(k);K.detectChanges(),K.rootNodes.forEach(ue=>this.tooltipText.appendChild(ue))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(k))):this.tooltipText.innerHTML=k}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let k=this.el.nativeElement.getBoundingClientRect();return{left:k.left+X.D.getWindowScrollLeft(),top:k.top+X.D.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let k=this.getHostOffset(),K=k.left+X.D.getOuterWidth(this.el.nativeElement),ue=k.top+(X.D.getOuterHeight(this.el.nativeElement)-X.D.getOuterHeight(this.container))/2;this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ue+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let k=this.getHostOffset(),K=k.left-X.D.getOuterWidth(this.container),ue=k.top+(X.D.getOuterHeight(this.el.nativeElement)-X.D.getOuterHeight(this.container))/2;this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ue+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let k=this.getHostOffset(),K=k.left+(X.D.getOuterWidth(this.el.nativeElement)-X.D.getOuterWidth(this.container))/2,ue=k.top-X.D.getOuterHeight(this.container);this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ue+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let k=this.getHostOffset(),K=k.left+(X.D.getOuterWidth(this.el.nativeElement)-X.D.getOuterWidth(this.container))/2,ue=k.top+X.D.getOuterHeight(this.el.nativeElement);this.container.style.left=K+this.getOption("positionLeft")+"px",this.container.style.top=ue+this.getOption("positionTop")+"px"}setOption(k){this._tooltipOptions={...this._tooltipOptions,...k}}getOption(k){return this._tooltipOptions[k]}getTarget(k){return X.D.hasClass(k,"p-inputwrapper")?X.D.findSingle(k,"input"):k}preAlign(k){this.container.style.left="-999px",this.container.style.top="-999px";let K="p-tooltip p-component p-tooltip-"+k;this.container.className=this.getOption("tooltipStyleClass")?K+" "+this.getOption("tooltipStyleClass"):K}isOutOfBounds(){let k=this.container.getBoundingClientRect(),K=k.top,ue=k.left,Re=X.D.getOuterWidth(this.container),we=X.D.getOuterHeight(this.container),je=X.D.getViewport();return ue+Re>je.width||ue<0||K<0||K+we>je.height}onWindowResize(k){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new X.b(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let k=this.getTarget(this.el.nativeElement);k.removeEventListener("focus",this.focusListener),k.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):X.D.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&le.Q$.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(K){return new(K||W)(E.rXU(E.Agw),E.rXU(E.aKT),E.rXU(E.SKi),E.rXU(l.r1),E.rXU(E.sFG),E.rXU(E.c1b))};static \u0275dir=E.FsC({type:W,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(K,ue){1&K&&E.bIt("keydown.escape",function(we){return ue.onPressEscape(we)},!1,E.EBC)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[E.Mj6.None,"pTooltip","content"],disabled:[E.Mj6.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[E.OA$]})}return W})(),O=(()=>{class W{static \u0275fac=function(K){return new(K||W)};static \u0275mod=E.$C({type:W});static \u0275inj=E.G2t({imports:[m.MD]})}return W})()},4420:(Je,Ie,F)=>{F.d(Ie,{BF:()=>m,Q$:()=>l,_Y:()=>X});class m{static equals(O,W,$){return $?this.resolveFieldData(O,$)===this.resolveFieldData(W,$):this.equalsByValue(O,W)}static equalsByValue(O,W){if(O===W)return!0;if(O&&W&&"object"==typeof O&&"object"==typeof W){var K,ue,Re,$=Array.isArray(O),k=Array.isArray(W);if($&&k){if((ue=O.length)!=W.length)return!1;for(K=ue;0!=K--;)if(!this.equalsByValue(O[K],W[K]))return!1;return!0}if($!=k)return!1;var we=this.isDate(O),je=this.isDate(W);if(we!=je)return!1;if(we&&je)return O.getTime()==W.getTime();var nt=O instanceof RegExp,ot=W instanceof RegExp;if(nt!=ot)return!1;if(nt&&ot)return O.toString()==W.toString();var pt=Object.keys(O);if((ue=pt.length)!==Object.keys(W).length)return!1;for(K=ue;0!=K--;)if(!Object.prototype.hasOwnProperty.call(W,pt[K]))return!1;for(K=ue;0!=K--;)if(!this.equalsByValue(O[Re=pt[K]],W[Re]))return!1;return!0}return O!=O&&W!=W}static resolveFieldData(O,W){if(O&&W){if(this.isFunction(W))return W(O);if(-1==W.indexOf("."))return O[W];{let $=W.split("."),k=O;for(let K=0,ue=$.length;K=O.length&&($%=O.length,W%=O.length),O.splice($,0,O.splice(W,1)[0]))}static insertIntoOrderedArray(O,W,$,k){if($.length>0){let K=!1;for(let ue=0;ue<$.length;ue++)if(this.findIndexInList($[ue],k)>W){$.splice(ue,0,O),K=!0;break}K||$.push(O)}else $.push(O)}static findIndexInList(O,W){let $=-1;if(W)for(let k=0;k-1&&(O=O.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),O}static isDate(O){return"[object Date]"===Object.prototype.toString.call(O)}static isEmpty(O){return null==O||""===O||Array.isArray(O)&&0===O.length||!this.isDate(O)&&"object"==typeof O&&0===Object.keys(O).length}static isNotEmpty(O){return!this.isEmpty(O)}static compare(O,W,$,k=1){let K=-1;const ue=this.isEmpty(O),Re=this.isEmpty(W);return K=ue&&Re?0:ue?k:Re?-k:"string"==typeof O&&"string"==typeof W?O.localeCompare(W,$,{numeric:!0}):OW?1:0,K}static sort(O,W,$=1,k,K=1){const ue=m.compare(O,W,k,$);let Re=$;return(m.isEmpty(O)||m.isEmpty(W))&&(Re=1===K?$:K),Re*ue}static merge(O,W){if(null!=O||null!=W)return null!=O&&"object"!=typeof O||null!=W&&"object"!=typeof W?null!=O&&"string"!=typeof O||null!=W&&"string"!=typeof W?W||O:[O||"",W||""].join(" "):{...O||{},...W||{}}}static isPrintableCharacter(O=""){return this.isNotEmpty(O)&&1===O.length&&O.match(/\S| /)}static getItemValue(O,...W){return this.isFunction(O)?O(...W):O}static findLastIndex(O,W){let $=-1;if(this.isNotEmpty(O))try{$=O.findLastIndex(W)}catch{$=O.lastIndexOf([...O].reverse().find(W))}return $}static findLast(O,W){let $;if(this.isNotEmpty(O))try{$=O.findLast(W)}catch{$=[...O].reverse().find(W)}return $}}var E=0;function X(V="pn_id_"){return`${V}${++E}`}var l=function le(){let V=[];const k=K=>K&&parseInt(K.style.zIndex,10)||0;return{get:k,set:(K,ue,Re)=>{ue&&(ue.style.zIndex=String(((K,ue)=>{let Re=V.length>0?V[V.length-1]:{key:K,value:ue},we=Re.value+(Re.key===K?0:ue)+2;return V.push({key:K,value:we}),we})(K,Re)))},clear:K=>{K&&((K=>{V=V.filter(ue=>ue.value!==K)})(k(K)),K.style.zIndex="")},getCurrent:()=>V.length>0?V[V.length-1].value:0}}()},467:(Je,Ie,F)=>{function m(X,le,l,V,O,W,$){try{var k=X[W]($),K=k.value}catch(ue){return void l(ue)}k.done?le(K):Promise.resolve(K).then(V,O)}function E(X){return function(){var le=this,l=arguments;return new Promise(function(V,O){var W=X.apply(le,l);function $(K){m(W,V,O,$,k,"next",K)}function k(K){m(W,V,O,$,k,"throw",K)}$(void 0)})}}F.d(Ie,{A:()=>E})},1635:(Je,Ie,F)=>{function ue(he,ge,ye,Ce){return new(ye||(ye=Promise))(function(Pe,Ze){function Rt(kt){try{ut(Ce.next(kt))}catch(nn){Ze(nn)}}function yn(kt){try{ut(Ce.throw(kt))}catch(nn){Ze(nn)}}function ut(kt){kt.done?Pe(kt.value):function Fe(Pe){return Pe instanceof ye?Pe:new ye(function(Ze){Ze(Pe)})}(kt.value).then(Rt,yn)}ut((Ce=Ce.apply(he,ge||[])).next())})}function Le(he){return this instanceof Le?(this.v=he,this):new Le(he)}function de(he,ge,ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,Ce=ye.apply(he,ge||[]),Pe=[];return Fe={},Ze("next"),Ze("throw"),Ze("return"),Fe[Symbol.asyncIterator]=function(){return this},Fe;function Ze(Et){Ce[Et]&&(Fe[Et]=function(pn){return new Promise(function(Mn,Jn){Pe.push([Et,pn,Mn,Jn])>1||Rt(Et,pn)})})}function Rt(Et,pn){try{!function yn(Et){Et.value instanceof Le?Promise.resolve(Et.value.v).then(ut,kt):nn(Pe[0][2],Et)}(Ce[Et](pn))}catch(Mn){nn(Pe[0][3],Mn)}}function ut(Et){Rt("next",Et)}function kt(Et){Rt("throw",Et)}function nn(Et,pn){Et(pn),Pe.shift(),Pe.length&&Rt(Pe[0][0],Pe[0][1])}}function ie(he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,ge=he[Symbol.asyncIterator];return ge?ge.call(he):(he=function nt(he){var ge="function"==typeof Symbol&&Symbol.iterator,ye=ge&&he[ge],Ce=0;if(ye)return ye.call(he);if(he&&"number"==typeof he.length)return{next:function(){return he&&Ce>=he.length&&(he=void 0),{value:he&&he[Ce++],done:!he}}};throw new TypeError(ge?"Object is not iterable.":"Symbol.iterator is not defined.")}(he),ye={},Ce("next"),Ce("throw"),Ce("return"),ye[Symbol.asyncIterator]=function(){return this},ye);function Ce(Pe){ye[Pe]=he[Pe]&&function(Ze){return new Promise(function(Rt,yn){!function Fe(Pe,Ze,Rt,yn){Promise.resolve(yn).then(function(ut){Pe({value:ut,done:Rt})},Ze)}(Rt,yn,(Ze=he[Pe](Ze)).done,Ze.value)})}}}F.d(Ie,{AQ:()=>de,N3:()=>Le,sH:()=>ue,xN:()=>ie}),"function"==typeof SuppressedError&&SuppressedError}},Je=>{Je(Je.s=6050)}]); \ No newline at end of file diff --git a/runtime.c73d5642a0f84691.js b/runtime.c73d5642a0f84691.js new file mode 100644 index 0000000..1f01889 --- /dev/null +++ b/runtime.c73d5642a0f84691.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(o,t,i,u)=>{if(!t){var a=1/0;for(n=0;n=u)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(s=!1,u0&&e[n-1][2]>u;n--)e[n]=e[n-1];e[n]=[t,i,u]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>e+"."+{503:"8c56916b50d1c4ca",726:"5cc06c9e00a442b0",811:"a412848c3bf809f6"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="gpw-literature:";r.l=(t,i,u,n)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==u)for(var d=document.getElementsByTagName("script"),f=0;f{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,u)=>{var n=r.o(e,i)?e[i]:void 0;if(0!==n)if(n)u.push(n[2]);else if(121!=i){var a=new Promise((l,c)=>n=e[i]=[l,c]);u.push(n[2]=a);var s=r.p+r.u(i),d=new Error;r.l(s,l=>{if(r.o(e,i)&&(0!==(n=e[i])&&(e[i]=void 0),n)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;d.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",d.name="ChunkLoadError",d.type=c,d.request=p,n[1](d)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var o=(i,u)=>{var d,f,[n,a,s]=u,l=0;if(n.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(s)var c=s(r)}for(i&&i(u);l{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(o,t,i,u)=>{if(!t){var a=1/0;for(n=0;n=u)&&Object.keys(r.O).every(b=>r.O[b](t[l]))?t.splice(l--,1):(c=!1,u0&&e[n-1][2]>u;n--)e[n]=e[n-1];e[n]=[t,i,u]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>e+"."+{562:"ae83378281918014",811:"5320d0f98b60de9d"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="gpw-literature:";r.l=(t,i,u,n)=>{if(e[t])e[t].push(i);else{var a,c;if(void 0!==u)for(var l=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,u)=>{var n=r.o(e,i)?e[i]:void 0;if(0!==n)if(n)u.push(n[2]);else if(121!=i){var a=new Promise((f,s)=>n=e[i]=[f,s]);u.push(n[2]=a);var c=r.p+r.u(i),l=new Error;r.l(c,f=>{if(r.o(e,i)&&(0!==(n=e[i])&&(e[i]=void 0),n)){var s=f&&("load"===f.type?"missing":f.type),p=f&&f.target&&f.target.src;l.message="Loading chunk "+i+" failed.\n("+s+": "+p+")",l.name="ChunkLoadError",l.type=s,l.request=p,n[1](l)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var o=(i,u)=>{var l,d,[n,a,c]=u,f=0;if(n.some(p=>0!==e[p])){for(l in a)r.o(a,l)&&(r.m[l]=a[l]);if(c)var s=c(r)}for(i&&i(u);f