Repository: mbair/Zichy2
Pull request #67: Development
Author: login: mbair
Created: 2025-03-13T08:54:22Z | Merged: 2025-03-13T08:54:29Z



<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **New Features**
	- Revamped conference management for smoother interactions.
	- Introduced interactive room selection options, including new bathroom and floor selectors.
	- Enabled a family room option in room settings and made the guest room number field editable.
- **Style**
	- Improved layout and alignment of conference toggles with clear on/off labels.
- **Chores**
	- Updated underlying scripts and bumped the application version for enhanced stability.

<!-- end of auto-generated comment: release notes by coderabbit.ai --> 
 <div id='description'>
<h3>Summary by Bito</h3>
This pull request enhances the application by adding a familyRoom property to the Room API and UI, while also refining form handling and UI presentation in conference and guest components. It updates runtime scripts with newer bundle references and maintains previous cleanups in the docs modules.
<br>
<br>
<b>Unit tests added</b>: False
<br>
<br>
<b>Estimated effort to review (1-5, lower is better)</b>: 3
</div>


Diff:
diff --git a/docs/3487.52395f2ddd48a322.js b/docs/3487.75ffe7ddae679135.js
similarity index 76%
rename from docs/3487.52395f2ddd48a322.js
rename to docs/3487.75ffe7ddae679135.js
index eebb9ef7..f3dae493 100644
--- a/docs/3487.52395f2ddd48a322.js
+++ b/docs/3487.75ffe7ddae679135.js
@@ -1 +1 @@
-(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[3487],{3487:(G,N,s)=>{"use strict";s.r(N),s.d(N,{GuestModule:()=>ri});var p=s(6814),d=s(6223),Z=s(1640),T=s(7582),e=s(2029),I=s(8645),h=s(3620),x=s(3997),S=s(7398),c=s(4279),u=s(5219),y=s(1116),m=s(217),_=s(6676),L=s(9474),Q=s(9862),U=s(746),H=s(1206),O=s(2835),M=s(219),$=s(5619),ye=s(8814);let Ze=(()=>{class i{constructor(t){this.apiService=t,this.genderData$=new $.X(null),this.serviceMessage$=new $.X(null)}get genderObs(){return this.genderData$.asObservable()}get serviceMessageObs(){return this.serviceMessage$.asObservable()}getGenders(t,n,o){this.genderData$.next([{code:1,name:"F\xe9rfi"},{code:2,name:"N\u0151"}])}static#e=this.\u0275fac=function(n){return new(n||i)(e.LFG(ye.s))};static#t=this.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var xe=s(7159),Ie=s(7744),we=s(3763),D=s(9664),W=s(2610),F=s(707),Ae=s(9502),R=s(4480),X=s(4104),ee=s(3714),te=s(2160),ne=s(1865),ie=s(7213),oe=s(7680),ae=s(4204),le=s(9246),se=s(6263),v=s(6825),C=s(2076),re=s(5865),Y=s(4713),w=s(2332);let ue=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["RefreshIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})(),pe=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["SearchMinusIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})(),ce=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["SearchPlusIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})();var de=s(7778);let me=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["UndoIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})();const Ee=["mask"];function ke(i,a){1&i&&e.GkF(0)}function Me(i,a){if(1&i&&(e.ynx(0),e.YNc(1,ke,1,0,"ng-container",7),e.BQk()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.indicatorTemplate)}}function De(i,a){1&i&&e._UZ(0,"EyeIcon",8),2&i&&e.Q6J("styleClass","p-image-preview-icon")}function Ne(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",4),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onImageClick())}),e.YNc(1,Me,2,1,"ng-container",5),e.YNc(2,De,1,1,"ng-template",null,6,e.W1O),e.qZA()}if(2&i){const t=e.MAs(3),n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.indicatorTemplate)("ngIfElse",t)}}function Se(i,a){1&i&&e._UZ(0,"RefreshIcon")}function Fe(i,a){}function Ue(i,a){1&i&&e.YNc(0,Fe,0,0,"ng-template")}function Oe(i,a){1&i&&e._UZ(0,"UndoIcon")}function qe(i,a){}function ze(i,a){1&i&&e.YNc(0,qe,0,0,"ng-template")}function Je(i,a){1&i&&e._UZ(0,"SearchMinusIcon")}function Ge(i,a){}function Le(i,a){1&i&&e.YNc(0,Ge,0,0,"ng-template")}function Qe(i,a){1&i&&e._UZ(0,"SearchPlusIcon")}function He(i,a){}function Re(i,a){1&i&&e.YNc(0,He,0,0,"ng-template")}function Ye(i,a){1&i&&e._UZ(0,"TimesIcon")}function Be(i,a){}function Ke(i,a){1&i&&e.YNc(0,Be,0,0,"ng-template")}const Pe=function(i,a){return{showTransitionParams:i,hideTransitionParams:a}},je=function(i){return{value:"visible",params:i}};function Ve(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div"),e.NdJ("@animation.start",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onAnimationStart(o))})("@animation.done",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onAnimationEnd(o))}),e.TgZ(1,"img",15),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onPreviewImageClick())}),e.qZA()()}if(2&i){const t=e.oxw(2);e.Q6J("@animation",e.VKq(6,je,e.WLB(3,Pe,t.showTransitionOptions,t.hideTransitionOptions))),e.xp6(1),e.Q6J("ngStyle",t.imagePreviewStyle()),e.uIk("src",t.src,e.LSH)}}function $e(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",9,10),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onMaskClick())}),e.TgZ(2,"div",11),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.handleToolbarClick(o))}),e.TgZ(3,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rotateRight())}),e.YNc(4,Se,1,0,"RefreshIcon",13),e.YNc(5,Ue,1,0,null,7),e.qZA(),e.TgZ(6,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rotateLeft())}),e.YNc(7,Oe,1,0,"UndoIcon",13),e.YNc(8,ze,1,0,null,7),e.qZA(),e.TgZ(9,"button",14),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.zoomOut())}),e.YNc(10,Je,1,0,"SearchMinusIcon",13),e.YNc(11,Le,1,0,null,7),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.zoomIn())}),e.YNc(13,Qe,1,0,"SearchPlusIcon",13),e.YNc(14,Re,1,0,null,7),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closePreview())}),e.YNc(16,Ye,1,0,"TimesIcon",13),e.YNc(17,Ke,1,0,null,7),e.qZA()(),e.YNc(18,Ve,2,8,"div",13),e.qZA()}if(2&i){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",!t.rotateRightIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.rotateRightIconTemplate),e.xp6(2),e.Q6J("ngIf",!t.rotateLeftIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.rotateLeftIconTemplate),e.xp6(1),e.Q6J("disabled",t.isZoomOutDisabled),e.xp6(1),e.Q6J("ngIf",!t.zoomOutIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.zoomOutIconTemplate),e.xp6(1),e.Q6J("disabled",t.isZoomInDisabled),e.xp6(1),e.Q6J("ngIf",!t.zoomInIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.zoomInIconTemplate),e.xp6(2),e.Q6J("ngIf",!t.closeIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.closeIconTemplate),e.xp6(1),e.Q6J("ngIf",t.previewVisible)}}let We=(()=>{class i{document;config;cd;imageClass;imageStyle;styleClass;style;src;alt;width;height;appendTo;preview=!1;showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";onShow=new e.vpe;onHide=new e.vpe;onImageError=new e.vpe;mask;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,n,o){this.document=t,this.config=n,this.cd=o}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)}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}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();break;case"void":C.p.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":w.P9.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(){w.P9.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.wrapper):C.p.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}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}imageError(t){this.onImageError.emit(t)}static \u0275fac=function(n){return new(n||i)(e.Y36(p.K0),e.Y36(u.b4),e.Y36(e.sBO))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-image"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,u.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},viewQuery:function(n,o){if(1&n&&e.Gf(Ee,5),2&n){let l;e.iGM(l=e.CRH())&&(o.mask=l.first)}},hostAttrs:[1,"p-element"],inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",alt:"alt",width:"width",height:"height",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:13,consts:[[3,"ngClass","ngStyle"],[3,"ngStyle","error"],["class","p-image-preview-indicator",3,"click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter",3,"click",4,"ngIf"],[1,"p-image-preview-indicator",3,"click"],[4,"ngIf","ngIfElse"],["defaultTemplate",""],[4,"ngTemplateOutlet"],[3,"styleClass"],[1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click"],["mask",""],[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,"disabled","click"],[1,"p-image-preview",3,"ngStyle","click"]],template:function(n,o){1&n&&(e.TgZ(0,"span",0)(1,"img",1),e.NdJ("error",function(r){return o.imageError(r)}),e.qZA(),e.YNc(2,Ne,4,2,"div",2),e.YNc(3,$e,19,13,"div",3),e.qZA()),2&n&&(e.Tol(o.styleClass),e.Q6J("ngClass",o.containerClass())("ngStyle",o.style),e.xp6(1),e.Tol(o.imageClass),e.Q6J("ngStyle",o.imageStyle),e.uIk("src",o.src,e.LSH)("alt",o.alt)("width",o.width)("height",o.height),e.xp6(1),e.Q6J("ngIf",o.preview),e.xp6(1),e.Q6J("ngIf",o.maskVisible))},dependencies:function(){return[p.mk,p.O5,p.tP,p.PC,ue,re.t,me,pe,ce,de.q]},styles:[".p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;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.X$)("animation",[(0,v.eR)("void => visible",[(0,v.oB)({transform:"scale(0.7)",opacity:0}),(0,v.jt)("{{showTransitionParams}}")]),(0,v.eR)("visible => void",[(0,v.jt)("{{hideTransitionParams}}",(0,v.oB)({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0})}return i})(),Xe=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[p.ez,u.m8,ue,re.t,me,pe,ce,de.q,u.m8]})}return i})();var q=s(3259),ge=s(3212),_e=s(4227),fe=s(6005),he=s(1239);const et=["sublist"],tt=function(i){return{"p-hidden":i}};function nt(i,a){if(1&i&&e._UZ(0,"li",5),2&i){const t=e.oxw().$implicit;e.Q6J("ngClass",e.VKq(1,tt,!1===t.visible))}}function it(i,a){if(1&i&&e._UZ(0,"span",17),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.icon)("ngStyle",t.iconStyle)}}function ot(i,a){if(1&i&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.label)}}function at(i,a){if(1&i&&e._UZ(0,"span",19),2&i){const t=e.oxw(3).$implicit;e.Q6J("innerHTML",t.label,e.oJD)}}function lt(i,a){if(1&i&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.badgeStyleClass),e.xp6(1),e.Oqu(t.badge)}}function st(i,a){1&i&&e._UZ(0,"AngleRightIcon",23),2&i&&e.Q6J("styleClass","p-submenu-icon")}function rt(i,a){}function ut(i,a){1&i&&e.YNc(0,rt,0,0,"ng-template")}function pt(i,a){if(1&i&&(e.ynx(0),e.YNc(1,st,1,1,"AngleRightIcon",21),e.YNc(2,ut,1,0,null,22),e.BQk()),2&i){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!t.tieredMenu.submenuIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.tieredMenu.submenuIconTemplate)}}const Ce=function(i){return{"p-menuitem-link":!0,"p-disabled":i}};function ct(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"a",11),e.NdJ("keydown",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemKeyDown(o,l))})("click",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemClick(o,l))})("mouseenter",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemMouseEnter(o,l))}),e.YNc(1,it,1,2,"span",12),e.YNc(2,ot,2,1,"span",13),e.YNc(3,at,1,1,"ng-template",null,14,e.W1O),e.YNc(5,lt,2,2,"span",15),e.YNc(6,pt,3,2,"ng-container",16),e.qZA()}if(2&i){const t=e.MAs(4),n=e.oxw(2).$implicit,o=e.oxw();e.Q6J("target",n.target)("ngClass",e.VKq(14,Ce,n.disabled)),e.uIk("href",n.url,e.LSH)("data-automationid",n.automationId)("title",n.title)("id",n.id)("tabindex",n.disabled?null:"0")("aria-haspopup",null!=o.item.items)("aria-expanded",o.item===o.activeItem),e.xp6(1),e.Q6J("ngIf",n.icon),e.xp6(1),e.Q6J("ngIf",!1!==n.escape)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",n.badge),e.xp6(1),e.Q6J("ngIf",n.items)}}function dt(i,a){if(1&i&&e._UZ(0,"span",17),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.icon)("ngStyle",t.iconStyle)}}function mt(i,a){if(1&i&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.label)}}function gt(i,a){if(1&i&&e._UZ(0,"span",19),2&i){const t=e.oxw(3).$implicit;e.Q6J("innerHTML",t.label,e.oJD)}}function _t(i,a){if(1&i&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.badgeStyleClass),e.xp6(1),e.Oqu(t.badge)}}function ft(i,a){1&i&&e._UZ(0,"AngleRightIcon",23),2&i&&e.Q6J("styleClass","p-submenu-icon")}function ht(i,a){}function Ct(i,a){1&i&&e.YNc(0,ht,0,0,"ng-template")}function vt(i,a){if(1&i&&(e.ynx(0),e.YNc(1,ft,1,1,"AngleRightIcon",21),e.YNc(2,Ct,1,0,null,22),e.BQk()),2&i){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!t.tieredMenu.submenuIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.tieredMenu.submenuIconTemplate)}}const bt=function(){return{exact:!1}};function Tt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"a",24),e.NdJ("keydown",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemKeyDown(o,l))})("click",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemClick(o,l))})("mouseenter",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemMouseEnter(o,l))}),e.YNc(1,dt,1,2,"span",12),e.YNc(2,mt,2,1,"span",13),e.YNc(3,gt,1,1,"ng-template",null,25,e.W1O),e.YNc(5,_t,2,2,"span",15),e.YNc(6,vt,3,2,"ng-container",16),e.qZA()}if(2&i){const t=e.MAs(4),n=e.oxw(2).$implicit;e.Q6J("routerLink",n.routerLink)("queryParams",n.queryParams)("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",n.routerLinkActiveOptions||e.DdM(21,bt))("target",n.target)("ngClass",e.VKq(22,Ce,n.disabled))("fragment",n.fragment)("queryParamsHandling",n.queryParamsHandling)("preserveFragment",n.preserveFragment)("skipLocationChange",n.skipLocationChange)("replaceUrl",n.replaceUrl)("state",n.state),e.uIk("data-automationid",n.automationId)("title",n.title)("id",n.id)("tabindex",n.disabled?null:"0"),e.xp6(1),e.Q6J("ngIf",n.icon),e.xp6(1),e.Q6J("ngIf",!1!==n.escape)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",n.badge),e.xp6(1),e.Q6J("ngIf",n.items)}}function yt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-tieredMenuSub",26),e.NdJ("keydownItem",function(o){e.CHM(t);const l=e.oxw(3);return e.KtG(l.onChildItemKeyDown(o))})("leafClick",function(){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onLeafClick())}),e.qZA()}if(2&i){const t=e.oxw(2).$implicit,n=e.oxw();e.Q6J("parentActive",t===n.activeItem)("item",t)("mobileActive",n.mobileActive)("autoDisplay",n.autoDisplay)("popup",n.popup)}}const Zt=function(i,a){return{"p-menuitem":!0,"p-menuitem-active":i,"p-hidden":a}};function xt(i,a){if(1&i&&(e.TgZ(0,"li",6,7),e.YNc(2,ct,7,16,"a",8),e.YNc(3,Tt,7,24,"a",9),e.YNc(4,yt,1,5,"p-tieredMenuSub",10),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw();e.Tol(t.styleClass),e.Q6J("ngClass",e.WLB(8,Zt,t===n.activeItem,!1===t.visible))("ngStyle",t.style)("tooltipOptions",t.tooltipOptions),e.xp6(2),e.Q6J("ngIf",!t.routerLink),e.xp6(1),e.Q6J("ngIf",t.routerLink),e.xp6(1),e.Q6J("ngIf",t.items)}}function It(i,a){if(1&i&&(e.YNc(0,nt,1,3,"li",3),e.YNc(1,xt,5,11,"li",4)),2&i){const t=a.$implicit;e.Q6J("ngIf",t.separator),e.xp6(1),e.Q6J("ngIf",!t.separator)}}const wt=function(i){return{"p-submenu-list":i}},At=function(i){return{"p-tieredmenu p-component":!0,"p-tieredmenu-overlay":i}},Et=function(i,a){return{showTransitionParams:i,hideTransitionParams:a}},kt=function(i){return{value:"visible",params:i}};function Mt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",1),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onOverlayClick(o))})("@overlayAnimation.start",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onOverlayAnimationStart(o))})("@overlayAnimation.done",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onOverlayAnimationEnd(o))}),e.TgZ(1,"p-tieredMenuSub",2),e.NdJ("leafClick",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onLeafClick())}),e.qZA()()}if(2&i){const t=e.oxw();e.Tol(t.styleClass),e.Q6J("ngClass",e.VKq(12,At,t.popup))("ngStyle",t.style)("@overlayAnimation",e.VKq(17,kt,e.WLB(14,Et,t.showTransitionOptions,t.hideTransitionOptions)))("@.disabled",!0!==t.popup),e.xp6(1),e.Q6J("item",t.model)("parentActive",t.parentActive)("baseZIndex",t.baseZIndex)("autoZIndex",t.autoZIndex)("autoDisplay",t.autoDisplay)("popup",t.popup)}}let Dt=(()=>{class i{document;el;renderer;cd;tieredMenu;item;root;autoDisplay;autoZIndex=!0;baseZIndex=0;mobileActive;popup;get parentActive(){return this._parentActive}set parentActive(t){this.root||(this._parentActive=t,t?this.positionSubmenu():this.activeItem=null)}sublistViewChild;leafClick=new e.vpe;keydownItem=new e.vpe;_parentActive;documentClickListener;menuHoverActive=!1;activeItem;constructor(t,n,o,l,r){this.document=t,this.el=n,this.renderer=o,this.cd=l,this.tieredMenu=r}onItemClick(t,n){n.disabled?t.preventDefault():(!n.url&&!n.routerLink&&t.preventDefault(),n.command&&n.command({originalEvent:t,item:n}),n.items&&(this.activeItem&&n===this.activeItem?(this.activeItem=null,this.unbindDocumentClickListener()):(this.activeItem=n,this.root&&this.bindDocumentClickListener())),n.items||this.onLeafClick())}onItemMouseEnter(t,n){n.disabled||this.mobileActive?t.preventDefault():this.root?(this.activeItem||this.autoDisplay||this.popup)&&(this.activeItem=n,this.bindDocumentClickListener()):(this.activeItem=n,this.bindDocumentClickListener())}onLeafClick(){this.activeItem=null,this.root&&this.unbindDocumentClickListener(),this.leafClick.emit()}onItemKeyDown(t,n){let o=t.currentTarget.parentElement;switch(t.key){case"ArrowDown":const l=this.findNextItem(o);l&&l.children[0].focus(),t.preventDefault();break;case"ArrowUp":const r=this.findPrevItem(o);r&&r.children[0].focus(),t.preventDefault();break;case"ArrowRight":n.items&&(this.activeItem=n,this.root&&this.bindDocumentClickListener(),setTimeout(()=>{(o?.children[1].children[0].children[0].children[0]).focus()},50)),t.preventDefault();break;case"Enter":n.routerLink||this.onItemClick(t,n)}this.keydownItem.emit({originalEvent:t,element:o})}positionSubmenu(){let t=this.sublistViewChild&&this.sublistViewChild.nativeElement;if(t){const n=t.parentElement.parentElement,o=C.p.getOffset(n),l=C.p.getViewport(),r=t.offsetParent?t.offsetWidth:C.p.getHiddenElementOuterWidth(t),g=C.p.getOuterWidth(n.children[0]);parseInt(o.left,10)+g+r>l.width-C.p.calculateScrollbarWidth()&&C.p.addClass(t,"p-submenu-list-flipped")}}findNextItem(t){let n=t.nextElementSibling;return n?C.p.hasClass(n,"p-disabled")||!C.p.hasClass(n,"p-menuitem")?this.findNextItem(n):n:null}findPrevItem(t){let n=t.previousElementSibling;return n?C.p.hasClass(n,"p-disabled")||!C.p.hasClass(n,"p-menuitem")?this.findPrevItem(n):n:null}onChildItemKeyDown(t){if("ArrowLeft"===t.key&&(this.activeItem=null,this.root&&this.unbindDocumentClickListener(),t.target)){const n=t.target.parentElement;n&&n.parentElement&&n.parentElement.parentElement&&n.parentElement.parentElement.children[0].focus()}}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{this.el&&!this.el.nativeElement.contains(t.target)&&(this.activeItem=null,this.cd.markForCheck(),this.unbindDocumentClickListener())}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}ngOnDestroy(){this.unbindDocumentClickListener()}static \u0275fac=function(n){return new(n||i)(e.Y36(p.K0),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(ve))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-tieredMenuSub"]],viewQuery:function(n,o){if(1&n&&e.Gf(et,5),2&n){let l;e.iGM(l=e.CRH())&&(o.sublistViewChild=l.first)}},hostAttrs:[1,"p-element"],inputs:{item:"item",root:"root",autoDisplay:"autoDisplay",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",mobileActive:"mobileActive",popup:"popup",parentActive:"parentActive"},outputs:{leafClick:"leafClick",keydownItem:"keydownItem"},decls:3,vars:4,consts:[[3,"ngClass"],["sublist",""],["ngFor","",3,"ngForOf"],["class","p-menu-separator",3,"ngClass",4,"ngIf"],["pTooltip","",3,"ngClass","ngStyle","class","tooltipOptions",4,"ngIf"],[1,"p-menu-separator",3,"ngClass"],["pTooltip","",3,"ngClass","ngStyle","tooltipOptions"],["listItem",""],["pRipple","",3,"target","ngClass","keydown","click","mouseenter",4,"ngIf"],["role","menuitem","pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","keydown","click","mouseenter",4,"ngIf"],[3,"parentActive","item","mobileActive","autoDisplay","popup","keydownItem","leafClick",4,"ngIf"],["pRipple","",3,"target","ngClass","keydown","click","mouseenter"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["htmlLabel",""],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[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"],[3,"styleClass",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"styleClass"],["role","menuitem","pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","keydown","click","mouseenter"],["htmlRouteLabel",""],[3,"parentActive","item","mobileActive","autoDisplay","popup","keydownItem","leafClick"]],template:function(n,o){1&n&&(e.TgZ(0,"ul",0,1),e.YNc(2,It,2,2,"ng-template",2),e.qZA()),2&n&&(e.Q6J("ngClass",e.VKq(2,wt,!o.root)),e.xp6(2),e.Q6J("ngForOf",o.root?o.item:null==o.item?null:o.item.items))},dependencies:function(){return[p.mk,p.sg,p.O5,p.tP,p.PC,Z.rH,Z.Od,R.H,q.u,he.o,i]},encapsulation:2})}return i})(),ve=(()=>{class i{document;el;renderer;cd;config;overlayService;model;popup;style;styleClass;appendTo;autoZIndex=!0;baseZIndex=0;autoDisplay;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";onShow=new e.vpe;onHide=new e.vpe;templates;submenuIconTemplate;parentActive;container;documentClickListener;documentResizeListener;preventDocumentDefault;scrollHandler;target;visible;relativeAlign;window;constructor(t,n,o,l,r,g){this.document=t,this.el=n,this.renderer=o,this.cd=l,this.config=r,this.overlayService=g,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{"submenuicon"===t.getType()&&(this.submenuIconTemplate=t.template)})}toggle(t){this.visible?this.hide():this.show(t),this.preventDocumentDefault=!0}show(t){this.target=t.currentTarget,this.relativeAlign=t.relativeAlign,this.visible=!0,this.parentActive=!0,this.preventDocumentDefault=!0,this.cd.markForCheck()}onOverlayClick(t){this.popup&&this.overlayService.add({originalEvent:t,target:this.el.nativeElement}),this.preventDocumentDefault=!0}onOverlayAnimationStart(t){switch(t.toState){case"visible":this.popup&&(this.container=t.element,this.moveOnTop(),this.onShow.emit({}),this.appendOverlay(),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener());break;case"void":this.onOverlayHide(),this.onHide.emit({})}}alignOverlay(){this.relativeAlign?C.p.relativePosition(this.container,this.target):C.p.absolutePosition(this.container,this.target)}onOverlayAnimationEnd(t){"void"===t.toState&&w.P9.clear(t.element)}appendOverlay(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):C.p.appendChild(this.container,this.appendTo))}restoreOverlayAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.container)}moveOnTop(){this.autoZIndex&&w.P9.set("menu",this.container,this.baseZIndex+this.config.zIndex.menu)}hide(){this.visible=!1,this.relativeAlign=!1,this.parentActive=!1,this.cd.markForCheck()}onWindowResize(){this.visible&&!C.p.isTouchDevice()&&this.hide()}onLeafClick(){this.popup&&this.hide(),this.unbindDocumentClickListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",()=>{!this.preventDocumentDefault&&this.popup&&this.hide(),this.preventDocumentDefault=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(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 C.V(this.target,()=>{this.visible&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.preventDocumentDefault=!1,this.cd.destroyed||(this.target=null)}ngOnDestroy(){this.popup&&(this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.container&&this.autoZIndex&&w.P9.clear(this.container),this.restoreOverlayAppend(),this.onOverlayHide())}static \u0275fac=function(n){return new(n||i)(e.Y36(p.K0),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(u.b4),e.Y36(u.F0))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-tieredMenu"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,u.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},hostAttrs:[1,"p-element"],inputs:{model:"model",popup:"popup",style:"style",styleClass:"styleClass",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide"},decls:1,vars:1,consts:[[3,"ngClass","class","ngStyle","click",4,"ngIf"],[3,"ngClass","ngStyle","click"],["root","root",3,"item","parentActive","baseZIndex","autoZIndex","autoDisplay","popup","leafClick"]],template:function(n,o){1&n&&e.YNc(0,Mt,2,19,"div",0),2&n&&e.Q6J("ngIf",!o.popup||o.visible)},dependencies:[p.mk,p.O5,p.PC,Dt],styles:[".p-tieredmenu-overlay{position:absolute;top:0;left:0}.p-tieredmenu ul{margin:0;padding:0;list-style:none}.p-tieredmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1;display:none}.p-tieredmenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-tieredmenu .p-menuitem-text{line-height:1}.p-tieredmenu .p-menuitem{position:relative}.p-tieredmenu .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-tieredmenu .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-tieredmenu .p-menuitem-active>p-tieredmenusub>.p-submenu-list{display:block;left:100%;top:0}.p-tieredmenu .p-menuitem-active>p-tieredmenusub>.p-submenu-list.p-submenu-list-flipped{left:-100%}\n"],encapsulation:2,data:{animation:[(0,v.X$)("overlayAnimation",[(0,v.eR)(":enter",[(0,v.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,v.jt)("{{showTransitionParams}}")]),(0,v.eR)(":leave",[(0,v.jt)("{{hideTransitionParams}}",(0,v.oB)({opacity:0}))])])]},changeDetection:0})}return i})(),be=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[p.ez,Z.Bz,R.T,q.z,he.o,u.m8,Z.Bz,q.z,u.m8]})}return i})();const Nt=["container"],St=["defaultbtn"],Ft=["menu"];function Ut(i,a){1&i&&e.GkF(0)}function Ot(i,a){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",9),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onDefaultButtonClick(o))}),e.YNc(2,Ut,1,0,"ng-container",6),e.qZA(),e.BQk()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("icon",t.icon)("iconPos",t.iconPos)("disabled",t.disabled),e.uIk("tabindex",t.tabindex),e.xp6(1),e.Q6J("ngTemplateOutlet",t.contentTemplate)}}function qt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",10,11),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onDefaultButtonClick(o))}),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("icon",t.icon)("iconPos",t.iconPos)("label",t.label)("disabled",t.disabled),e.uIk("tabindex",t.tabindex)}}function zt(i,a){1&i&&e._UZ(0,"ChevronDownIcon")}function Jt(i,a){}function Gt(i,a){1&i&&e.YNc(0,Jt,0,0,"ng-template")}let Lt=(()=>{class i{model;icon;iconPos="left";label;style;styleClass;menuStyle;menuStyleClass;disabled;tabindex;appendTo;dir;expandAriaLabel;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";onClick=new e.vpe;onDropdownClick=new e.vpe;containerViewChild;buttonViewChild;menu;templates;contentTemplate;dropdownIconTemplate;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":default:this.contentTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template}})}onDefaultButtonClick(t){this.onClick.emit(t)}onDropdownButtonClick(t){this.onDropdownClick.emit(t),this.menu?.toggle({currentTarget:this.containerViewChild?.nativeElement,relativeAlign:null==this.appendTo})}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=e.Xpm({type:i,selectors:[["p-splitButton"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,u.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},viewQuery:function(n,o){if(1&n&&(e.Gf(Nt,5),e.Gf(St,5),e.Gf(Ft,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.containerViewChild=l.first),e.iGM(l=e.CRH())&&(o.buttonViewChild=l.first),e.iGM(l=e.CRH())&&(o.menu=l.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",icon:"icon",iconPos:"iconPos",label:"label",style:"style",styleClass:"styleClass",menuStyle:"menuStyle",menuStyleClass:"menuStyleClass",disabled:"disabled",tabindex:"tabindex",appendTo:"appendTo",dir:"dir",expandAriaLabel:"expandAriaLabel",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onClick:"onClick",onDropdownClick:"onDropdownClick"},decls:10,vars:18,consts:[[3,"ngClass","ngStyle"],["container",""],[4,"ngIf","ngIfElse"],["defaultButton",""],["type","button","pButton","",1,"p-splitbutton-menubutton","p-button-icon-only",3,"disabled","click"],[4,"ngIf"],[4,"ngTemplateOutlet"],[3,"popup","model","styleClass","appendTo","showTransitionOptions","hideTransitionOptions"],["menu",""],["type","button","pButton","",1,"p-splitbutton-defaultbutton",3,"icon","iconPos","disabled","click"],["type","button","pButton","",1,"p-splitbutton-defaultbutton",3,"icon","iconPos","label","disabled","click"],["defaultbtn",""]],template:function(n,o){if(1&n&&(e.TgZ(0,"div",0,1),e.YNc(2,Ot,3,5,"ng-container",2),e.YNc(3,qt,2,5,"ng-template",null,3,e.W1O),e.TgZ(5,"button",4),e.NdJ("click",function(r){return o.onDropdownButtonClick(r)}),e.YNc(6,zt,1,0,"ChevronDownIcon",5),e.YNc(7,Gt,1,0,null,6),e.qZA(),e._UZ(8,"p-tieredMenu",7,8),e.qZA()),2&n){const l=e.MAs(4);e.Tol(o.styleClass),e.Q6J("ngClass","p-splitbutton p-component")("ngStyle",o.style),e.xp6(2),e.Q6J("ngIf",o.contentTemplate)("ngIfElse",l),e.xp6(3),e.Q6J("disabled",o.disabled),e.uIk("aria-label",o.expandAriaLabel),e.xp6(1),e.Q6J("ngIf",!o.dropdownIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",o.dropdownIconTemplate),e.xp6(1),e.Akn(o.menuStyle),e.Q6J("popup",!0)("model",o.model)("styleClass",o.menuStyleClass)("appendTo",o.appendTo)("showTransitionOptions",o.showTransitionOptions)("hideTransitionOptions",o.hideTransitionOptions)}},dependencies:function(){return[p.mk,p.O5,p.tP,p.PC,F.Hq,ve,fe.v]},styles:[".p-splitbutton{display:inline-flex;position:relative}.p-splitbutton .p-splitbutton-defaultbutton,.p-splitbutton.p-button-rounded>.p-splitbutton-defaultbutton.p-button,.p-splitbutton.p-button-outlined>.p-splitbutton-defaultbutton.p-button{flex:1 1 auto;border-top-right-radius:0;border-bottom-right-radius:0;border-right:0 none}.p-splitbutton-menubutton,.p-splitbutton.p-button-rounded>.p-splitbutton-menubutton.p-button,.p-splitbutton.p-button-outlined>.p-splitbutton-menubutton.p-button{display:flex;align-items:center;justify-content:center;border-top-left-radius:0;border-bottom-left-radius:0}.p-splitbutton .p-menu{min-width:100%}.p-fluid .p-splitbutton{display:flex}\n"],encapsulation:2,changeDetection:0})}return i})(),Qt=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[p.ez,F.hJ,be,fe.v,F.hJ,be]})}return i})();var Ht=s(8611),Rt=s(1645),Yt=s(7939),Bt=s(7592),Kt=s(1496),Pt=s(1872),jt=s(5668);const Vt=["identifier"],$t=["dt"],Wt=function(){return{minWidth:"35rem"}};function Xt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",84)(1,"h5",85),e._uU(2,"Vend\xe9gek"),e.qZA(),e.TgZ(3,"span",86)(4,"app-conference-selector",87),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedConferences=o)})("ngModelChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onConferenceSelectionChange(o))}),e.qZA()(),e.TgZ(5,"span",88),e._UZ(6,"i",89),e.TgZ(7,"input",90),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw(),r=e.MAs(4);return e.KtG(l.onGlobalFilter(r,o))}),e.qZA()(),e.TgZ(8,"span",91)(9,"button",92),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.create())}),e.qZA(),e.TgZ(10,"button",93),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.bulkDeleteDialog=!0)}),e.qZA(),e.TgZ(11,"p-fileUpload",94,95),e.NdJ("onSend",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onSend(o))})("onError",function(o){e.CHM(t);const l=e.MAs(12),r=e.oxw();return e.KtG(r.onExcelUploadError(o,l))})("onUpload",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onExcelUpload(o))}),e.qZA(),e._UZ(13,"p-splitButton",96),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(4),e.Akn(e.DdM(13,Wt)),e.Q6J("ngModel",t.selectedConferences)("showClear",!0)("selectionLimit",1)("selectFirstOption",t.isOrganizer),e.xp6(5),e.Q6J("disabled",!t.canCreate),e.xp6(1),e.Q6J("disabled",!t.selected||!t.selected.length||!t.canDelete),e.xp6(1),e.MGl("url","",t.apiURL,"/guest/import"),e.Q6J("auto",!0)("maxFileSize",9999999)("disabled",!t.canImport),e.xp6(2),e.Q6J("model",t.exportButtonItems)}}function en(i,a){if(1&i&&(e.TgZ(0,"th",118),e._uU(1,"NFC "),e.TgZ(2,"span",119),e._uU(3),e.qZA(),e._UZ(4,"p-sortIcon",120),e.qZA()),2&i){const t=e.oxw(2);e.xp6(3),e.AsE("(",t.totalTaggedGuests,"/",t.totalRecords,")")}}function tn(i,a){1&i&&(e.TgZ(0,"th",121),e._uU(1,"El\u0151leget fizetett "),e._UZ(2,"p-sortIcon",122),e.qZA())}function nn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"input",123),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.rfidFilterValue=o)})("input",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onFilter(o,"rfid"))}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("ngModel",t.rfidFilterValue)}}function on(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-dropdown",124),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.prepaidFilterValue=o)})("onChange",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onFilter(o,"prepaid"))}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("options",t.prepaidOptions)("ngModel",t.prepaidFilterValue)("showClear",!0)}}function an(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th")(2,"th",97),e.TgZ(3,"th",98),e._uU(4,"N\xe9v "),e._UZ(5,"p-sortIcon",99),e.qZA(),e.TgZ(6,"th",100),e._uU(7,"Szoba "),e._UZ(8,"p-sortIcon",101),e.qZA(),e.TgZ(9,"th",102),e._uU(10,"\xc9trend "),e._UZ(11,"p-sortIcon",103),e.qZA(),e.YNc(12,en,5,2,"th",104),e.YNc(13,tn,3,0,"th",105),e.TgZ(14,"th",106),e._uU(15,"NFC haszn\xe1lat"),e._UZ(16,"p-sortIcon",107),e.qZA(),e.TgZ(17,"th",108),e._uU(18,"\xc9rkez\xe9s "),e._UZ(19,"p-sortIcon",109),e.qZA(),e.TgZ(20,"th",110),e._uU(21,"T\xe1voz\xe1s "),e._UZ(22,"p-sortIcon",111),e.qZA(),e._UZ(23,"th"),e.qZA(),e.TgZ(24,"tr")(25,"th",97),e._UZ(26,"p-tableHeaderCheckbox"),e.qZA(),e._UZ(27,"th"),e.TgZ(28,"th")(29,"input",112),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"lastName"))}),e.qZA()(),e.TgZ(30,"th")(31,"input",113),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"roomNum"))}),e.qZA()(),e.TgZ(32,"th")(33,"app-diet-selector",114),e.NdJ("change",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"diet"))}),e.qZA()(),e.TgZ(34,"th"),e.YNc(35,nn,1,1,"input",115),e.YNc(36,on,1,3,"p-dropdown",116),e.qZA(),e.TgZ(37,"th")(38,"p-calendar",117),e.NdJ("onSelect",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"lastRfidUsage"))})("onClearClick",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"lastRfidUsage"))}),e.qZA()(),e.TgZ(39,"th")(40,"p-calendar",117),e.NdJ("onSelect",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfArrival"))})("onClearClick",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfArrival"))}),e.qZA()(),e.TgZ(41,"th")(42,"p-calendar",117),e.NdJ("onSelect",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfDeparture"))})("onClearClick",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfDeparture"))}),e.qZA()(),e._UZ(43,"th"),e.qZA()}if(2&i){const t=e.oxw();e.xp6(12),e.Q6J("ngIf",!t.isOrganizer),e.xp6(1),e.Q6J("ngIf",t.isOrganizer),e.xp6(20),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("ngIf",!t.isOrganizer),e.xp6(1),e.Q6J("ngIf",t.isOrganizer),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showButtonBar",!0)}}function ln(i,a){1&i&&e._UZ(0,"span",140)}function sn(i,a){if(1&i&&(e.TgZ(0,"span",141),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.Q6J("ngClass","color-badge "+(null==t||null==t.dietDetails?null:t.dietDetails.color)),e.xp6(1),e.hij(" ",t.diet," ")}}function rn(i,a){1&i&&e._UZ(0,"p-tag",142)}function un(i,a){if(1&i&&(e.TgZ(0,"td")(1,"span",127),e._uU(2,"NFC"),e.qZA(),e._uU(3),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",t.rfid," ")}}function pn(i,a){if(1&i&&(e.TgZ(0,"td")(1,"span",127),e._uU(2,"El\u0151leget fizetett"),e.qZA(),e._uU(3),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",t.prepaid?"Igen":"Nem"," ")}}function cn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",125),e.qZA(),e.TgZ(3,"td"),e._UZ(4,"p-button",126),e.qZA(),e.TgZ(5,"td")(6,"span",127),e._uU(7,"N\xe9v"),e.qZA(),e._uU(8),e.YNc(9,ln,1,0,"span",128),e.qZA(),e.TgZ(10,"td",129)(11,"span",127),e._uU(12,"Szoba"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"td"),e.YNc(15,sn,2,2,"span",130),e.TgZ(16,"span",127),e._uU(17,"\xc9trend"),e.qZA(),e.YNc(18,rn,1,0,"p-tag",131),e.qZA(),e.YNc(19,un,4,1,"td",80),e.YNc(20,pn,4,1,"td",80),e.TgZ(21,"td",132)(22,"span",127),e._uU(23,"Utols\xf3 NFC haszn\xe1lat"),e.qZA(),e._uU(24),e.ALo(25,"date"),e.qZA(),e.TgZ(26,"td",133)(27,"span",127),e._uU(28,"\xc9rkez\xe9s"),e.qZA(),e.TgZ(29,"span",134),e._UZ(30,"i",135),e._uU(31),e.ALo(32,"date"),e.qZA()(),e.TgZ(33,"td",133)(34,"span",127),e._uU(35,"T\xe1voz\xe1s"),e.qZA(),e.TgZ(36,"span",134),e._UZ(37,"i",135),e._uU(38),e.ALo(39,"date"),e.qZA()(),e.TgZ(40,"td")(41,"div",136)(42,"button",137),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return e.KtG(r.assignTag(l))}),e.qZA(),e.TgZ(43,"button",138),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return e.KtG(r.edit(l))}),e.qZA(),e.TgZ(44,"button",139),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return r.tableItem=l,e.KtG(r.deleteDialog=!0)}),e.qZA()()()()}if(2&i){const t=a.$implicit,n=a.expanded,o=e.oxw();e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("pRowToggler",t)("icon",n?"pi pi-chevron-down":"pi pi-chevron-right"),e.xp6(4),e.lnq(" ",t.lastName," ",t.firstName," (",o.getAge(t.birthDate),") "),e.xp6(1),e.Q6J("ngIf",t.rfid),e.xp6(4),e.hij(" ",t.roomNum," "),e.xp6(2),e.Q6J("ngIf",o.hasDietName(t.diet)),e.xp6(3),e.Q6J("ngIf",!o.hasDietName(t.diet)),e.xp6(1),e.Q6J("ngIf",!o.isOrganizer),e.xp6(1),e.Q6J("ngIf",o.isOrganizer),e.xp6(4),e.hij(" ",e.xi3(25,18,t.lastRfidUsage,"yyyy.MM.dd HH:mm:ss")," "),e.xp6(7),e.hij(" ",e.xi3(32,21,t.dateOfArrival,"yyyy.MM.dd")," "),e.xp6(7),e.hij(" ",e.xi3(39,24,t.dateOfDeparture,"yyyy.MM.dd")," "),e.xp6(4),e.Q6J("disabled",!o.canAssign),e.xp6(1),e.Q6J("disabled",!o.canEdit),e.xp6(1),e.Q6J("disabled",!o.canDelete)}}function dn(i,a){1&i&&(e.TgZ(0,"span"),e._uU(1,"?"),e.qZA())}function mn(i,a){if(1&i&&(e.TgZ(0,"div")(1,"div",153)(2,"div",154),e._uU(3),e.YNc(4,dn,2,0,"span",80),e.qZA(),e.TgZ(5,"div"),e._uU(6),e.qZA()()()),2&i){const t=a.$implicit;e.xp6(3),e.hij(" ",t.hu," "),e.xp6(1),e.Q6J("ngIf",!t.hu.trim().endsWith("?")),e.xp6(2),e.Oqu(t.answers)}}function gn(i,a){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,mn,7,3,"div",152),e.qZA()),2&i){const t=a.$implicit;e.xp6(1),e.Q6J("ngForOf",t.translations)}}function _n(i,a){1&i&&e._UZ(0,"p-skeleton",158)}function fn(i,a){if(1&i&&e._UZ(0,"p-image",159),2&i){const t=e.oxw(2);e.Q6J("src",t.imageUrl)("preview",!0)}}function hn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td",143)(2,"div",144)(3,"div",145)(4,"div",146)(5,"div",147)(6,"table",148)(7,"tr")(8,"td",149),e._uU(9,"Sz\xfclet\xe9si d\xe1tum"),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"date"),e.qZA()(),e.TgZ(13,"tr")(14,"td",149),e._uU(15,"Nem:"),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",149),e._uU(20,"Nemzetis\xe9g:"),e.qZA(),e.TgZ(21,"td"),e._UZ(22,"img",150),e._uU(23),e.qZA()(),e.TgZ(24,"tr")(25,"td",149),e._uU(26,"Orsz\xe1g:"),e.qZA(),e.TgZ(27,"td"),e._UZ(28,"img",150),e._uU(29),e.qZA()(),e.TgZ(30,"tr")(31,"td",149),e._uU(32,"Telefon:"),e.qZA(),e.TgZ(33,"td"),e._uU(34),e.qZA()(),e.TgZ(35,"tr")(36,"td",149),e._uU(37,"Email:"),e.qZA(),e.TgZ(38,"td"),e._uU(39),e.qZA()(),e.TgZ(40,"tr")(41,"td",149),e._uU(42,"Ir\xe1ny\xedt\xf3sz\xe1m:"),e.qZA(),e.TgZ(43,"td"),e._uU(44),e.qZA()(),e.TgZ(45,"tr")(46,"td",149),e._uU(47,"Fizet\xe9si m\xf3d:"),e.qZA(),e.TgZ(48,"td"),e._uU(49),e.qZA()(),e.TgZ(50,"tr")(51,"td",149),e._uU(52,"Els\u0151 \xe9tkez\xe9s:"),e.qZA(),e.TgZ(53,"td"),e._uU(54),e.qZA()(),e.TgZ(55,"tr")(56,"td",149),e._uU(57,"Utols\xf3 \xe9tkez\xe9s:"),e.qZA(),e.TgZ(58,"td"),e._uU(59),e.qZA()(),e.TgZ(60,"tr")(61,"td",149),e._uU(62,"Konferencia:"),e.qZA(),e.TgZ(63,"td"),e._uU(64),e.qZA()(),e.TgZ(65,"tr")(66,"td",149),e._uU(67,"Szoba t\xedpus:"),e.qZA(),e.TgZ(68,"td"),e._uU(69),e.qZA()(),e.TgZ(70,"tr")(71,"td",149),e._uU(72,"Kivel lakn\xe1l egy szob\xe1ban:"),e.qZA(),e.TgZ(73,"td"),e._uU(74),e.qZA()(),e.TgZ(75,"tr")(76,"td",149),e._uU(77,"Baba\xe1gyat k\xe9r:"),e.qZA(),e.TgZ(78,"td"),e._uU(79),e.qZA()(),e.TgZ(80,"tr")(81,"td",149),e._uU(82,"Kl\xedm\xe1t k\xe9r:"),e.qZA(),e.TgZ(83,"td"),e._uU(84),e.qZA()()()(),e.TgZ(85,"div",151),e.YNc(86,gn,2,1,"div",152),e.TgZ(87,"div",153)(88,"div",154),e._uU(89,"Szem\xe9lyi igazolv\xe1ny"),e.qZA(),e.TgZ(90,"div")(91,"button",155),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return e.KtG(r.downloadIdCard(l.idcard))}),e.qZA()(),e.TgZ(92,"div"),e.YNc(93,_n,1,0,"p-skeleton",156),e.YNc(94,fn,1,2,"p-image",157),e.qZA()()()()()()()()}if(2&i){const t=a.$implicit,n=e.oxw();e.xp6(11),e.Oqu(e.xi3(12,22,t.birthDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(1==t.gender?"F\xe9rfi":"N\u0151"),e.xp6(5),e.Tol("mr-2 flag flag-"+(null==t.nationality?null:t.nationality.toLowerCase())),e.xp6(1),e.hij(" ",n.getNationalityInHungarian(t.nationality)," "),e.xp6(5),e.Tol("mr-2 flag flag-"+n.getCountryCode(t.country)),e.xp6(1),e.hij(" ",n.getCountryNameInHungarian(t.country)," "),e.xp6(5),e.Oqu(t.telephone),e.xp6(5),e.Oqu(t.email),e.xp6(5),e.Oqu(t.zipCode),e.xp6(5),e.Oqu(t.payment),e.xp6(5),e.Oqu(t.firstMeal),e.xp6(5),e.Oqu(t.lastMeal),e.xp6(5),e.Oqu(t.conferenceName),e.xp6(5),e.Oqu(t.roomType),e.xp6(5),e.Oqu(t.roomMate),e.xp6(5),e.Oqu(1==t.babyBed?"Igen":"Nem"),e.xp6(5),e.Oqu(1==t.climate?"Igen":"Nem"),e.xp6(2),e.Q6J("ngForOf",t.answers),e.xp6(7),e.Q6J("ngIf",!n.imageUrl),e.xp6(1),e.Q6J("ngIf",n.imageUrl)}}function Cn(i,a){if(1&i&&(e.TgZ(0,"tr")(1,"td",160),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&i){const t=e.oxw();e.xp6(1),e.uIk("colspan",t.cols.length+3)}}function vn(i,a){if(1&i&&(e.TgZ(0,"span",161),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",null!=t.id&&t.id.value?"Vend\xe9g adatai":"\xdaj vend\xe9g"," ")}}function bn(i,a){1&i&&(e.TgZ(0,"div",162),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Tn(i,a){1&i&&(e.TgZ(0,"div",162),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function yn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Neme k\xf6telez\u0151 "),e.qZA())}function Zn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Sz\xfclet\xe9si d\xe1tum k\xf6telez\u0151 "),e.qZA())}function xn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," \xc1llampolg\xe1rs\xe1g k\xf6telez\u0151 "),e.qZA())}function In(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Orsz\xe1g k\xf6telez\u0151 "),e.qZA())}function wn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Ir\xe1ny\xedt\xf3sz\xe1m k\xf6telez\u0151 "),e.qZA())}function An(i,a){1&i&&(e.TgZ(0,"div"),e._uU(1," Email k\xf6telez\u0151 "),e.qZA())}function En(i,a){1&i&&(e.TgZ(0,"div"),e._uU(1," Nem megfelel\u0151 email form\xe1tum "),e.qZA())}function kn(i,a){if(1&i&&(e.TgZ(0,"div",163),e.YNc(1,An,2,0,"div",80),e.YNc(2,En,2,0,"div",80),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null==t.email||null==t.email.errors?null:t.email.errors.required),e.xp6(1),e.Q6J("ngIf",null==t.email||null==t.email.errors?null:t.email.errors.email)}}function Mn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Telefon k\xf6telez\u0151 "),e.qZA())}function Dn(i,a){1&i&&(e.TgZ(0,"div",162),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Nn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, adja meg az \xe9rkez\xe9s d\xe1tum\xe1t! "),e.qZA())}function Sn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Az \xe9rkez\xe9s d\xe1tum\xe1nak kor\xe1bbinak kell lennie, mint a t\xe1voz\xe1si d\xe1tum! "),e.qZA())}function Fn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, v\xe1lassza ki az els\u0151 \xe9tkez\xe9s\xe9t! "),e.qZA())}function Un(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, v\xe1lassza ki az \xe9trendj\xe9t! "),e.qZA())}function On(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, adja meg a t\xe1voz\xe1s d\xe1tum\xe1t! "),e.qZA())}function qn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," A t\xe1voz\xe1s d\xe1tum\xe1nak k\xe9s\u0151bbinek kell lennie, mint az \xe9rkez\xe9si d\xe1tum! "),e.qZA())}function zn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, v\xe1lassza ki az utols\xf3 \xe9tkez\xe9s\xe9t! "),e.qZA())}function Jn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function Gn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki a sz\xe1ll\xe1st\xedpust! "),e.qZA())}function Ln(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki a fizet\xe9si m\xf3dot! "),e.qZA())}function Qn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, t\xf6ltse fel a szem\xe9lyi igazolv\xe1ny\xe1nak m\xe1solat\xe1t! "),e.qZA())}function Hn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function Rn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function Yn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",164)(1,"button",165),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.cancel())}),e.qZA(),e.TgZ(2,"button",166),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.save())}),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("disabled",!t.guestForm.dirty),e.xp6(1),e.Q6J("disabled",!t.guestForm.valid||!t.guestForm.dirty)}}function Bn(i,a){if(1&i&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4,"-t?"),e.qZA()),2&i){const t=e.oxw();e.xp6(3),e.AsE("",t.guest.lastName," ",t.guest.firstName,"")}}function Kn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",167),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.deleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",168),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.delete())}),e.qZA()}}function Pn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",167),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",168),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.deleteSelected())}),e.qZA()}}function jn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-messages",169),e.NdJ("valueChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.messages=o)}),e.qZA(),e.TgZ(1,"div",170)(2,"div",171)(3,"label",172),e._uU(4,"C\xedmke azonos\xedt\xf3"),e.qZA(),e.TgZ(5,"input",173,174),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.scannedCode=o)}),e.qZA()()(),e.TgZ(7,"div",160)(8,"button",175),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.unAssignTag())}),e.qZA()()}if(2&i){const t=e.oxw();e.Q6J("value",t.messages)("enableService",!1)("closable",!1),e.xp6(5),e.Q6J("ngModel",t.scannedCode),e.xp6(3),e.Q6J("disabled",!(null!=t.guest.rfid&&t.guest.rfid.length))}}function Vn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",176),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.hideTagDialog())}),e.qZA(),e.TgZ(1,"button",177),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.saveTag())}),e.qZA()}}const $n=function(){return["firstName","lastName","rfid","roomNum","diet","birthDate","dateOfArrival","dateOfDeparture","firstMeal","lastMeal"]},Wn=function(){return{"min-height":"calc(100vh - 320px)"}},Te=function(i){return{"ng-invalid":i}},B=function(){return{width:"450px"}};_.locale("hu");let K=class V{constructor(a,t,n,o,l,r,g,b,f,z,A,E){this.http=a,this.guestService=t,this.userService=n,this.tagService=o,this.conferenceService=l,this.genderService=r,this.dietService=g,this.countryService=b,this.messageService=f,this.logService=z,this.cdRef=A,this.fb=E,this.loading=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100,9999],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.canAssign=!1,this.canImport=!1,this.isMobile=!1,this.messages=[],this.successfulMessage=[],this.tag={},this.tagDialog=!1,this.conferences=[],this.selectedConferences=[],this.guest={},this.guestDialog=!1,this.cols=[],this.diets=[],this.meals=[],this.genders=[],this.countries=[],this.scanTemp="",this.scannedCode="",this.totalTaggedGuests=0,this.isOrganizer=!1,this.imageUrl=null,this.prepaidOptions=[],this.formChanges$=new I.x,this.guestForm=this.fb.group({id:[""],firstName:["",d.kI.required],lastName:["",d.kI.required],gender:["",d.kI.required],nationality:["",d.kI.required],country:["",d.kI.required],zipCode:["",d.kI.required],roomNum:[""],dateOfArrival:["",d.kI.required],firstMeal:["",d.kI.required],dateOfDeparture:["",d.kI.required],lastMeal:["",d.kI.required],szepCard:["",[]],accommodationExtra:["",[]],birthDate:["",d.kI.required],rfid:["",[]],rfidColor:["",[]],enabled:[!0,[]],conference:new d.NI([]),conferenceName:["",[]],conferenceid:["",[]],diet:["",d.kI.required],diet_id:["",[]],lastRfidUsage:["",[]],is_test:["",[]],email:["",[]],telephone:["",[]],roomType:["",[]],payment:["",[]],babyBed:["",[]],prepaid:["",[]],roomMate:["",[]],idCard:[null],climate:["",[]]},{validators:(0,y.W)("dateOfArrival","dateOfDeparture")}),this.exportButtonItems=[{label:"\xdcres sablon",icon:"pi pi-file-excel",command:()=>{this.downloadImportTemplate()}},{label:"T\xe1bl\xe1zat Excel",icon:"pi pi-file-excel",command:()=>{this.exportExcel()}}]}ngOnInit(){this.apiURL=this.guestService.apiURL,this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canCreate=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin","Szervezo"]).subscribe(a=>this.canEdit=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canDelete=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canAssign=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canImport=a),this.userService.hasRole(["Szervezo"]).subscribe(a=>this.isOrganizer=a),this.guestObs$=this.guestService.guestObs,this.guestObs$.subscribe(a=>{this.loading=!1,a&&a.rows&&(this.tableData=a.rows||[],this.totalRecords=a.totalItems||0,this.page=a.currentPage||0,(0,e.X6Q)()||(this.tableData=a.rows?.filter(t=>!0!==t.is_test)||[]),this.totalTaggedGuests=a.rfidCount||0)}),this.genderObs$=this.genderService.genderObs,this.genderObs$.subscribe(a=>{this.genders=a}),this.genderService.getGenders(0,999,{sortField:"id",sortOrder:1}),this.dietService.getDietsForSelector().subscribe({next:a=>{this.diets=a}}),this.countryService.getCountries().subscribe(a=>{this.countries=a}),this.messageObs$=this.guestService.messageObs,this.messageObs$.subscribe(a=>{this.loading=!1,"ERROR"==a?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):this.messages=this.successfulMessage}),this.cols=[{field:"name",header:"N\xe9v"},{field:"roomNum",header:"Szoba"},{field:"diet",header:"\xc9trend"},{field:"rfid",header:"NFC"},{field:"lastRfidUsage",header:"NFC haszn\xe1lat"},{field:"dateOfArrival",header:"\xc9rkez\xe9s"},{field:"dateOfDeparture",header:"T\xe1voz\xe1s"}],this.prepaidOptions=[{name:"Igen",value:"true"},{name:"Nem",value:"false"}],this.isFormValid$=this.formChanges$.pipe((0,h.b)(300),(0,x.x)(),(0,S.U)(()=>this.guestForm.valid)),this.guestForm.valueChanges.pipe((0,h.b)(300)).subscribe(()=>this.formChanges$.next()),this.guestForm.get("dateOfArrival")?.valueChanges.subscribe(()=>{this.getEarliestFirstMeal(),this.getLatestFirstMeal(),this.cdRef.detectChanges()}),this.guestForm.get("dateOfDeparture")?.valueChanges.subscribe(()=>{this.getEarliestLastMeal(),this.getLatestLastMeal(),this.cdRef.detectChanges()}),this.guestForm.get("diet")?.valueChanges.subscribe(()=>{const a=this.guestForm.get("diet")?.value,t=this.diets.find(n=>n.name===a)?.id||null;this.guestForm.patchValue({diet_id:t})})}get id(){return this.guestForm.get("id")}get firstName(){return this.guestForm.get("firstName")}get lastName(){return this.guestForm.get("lastName")}get gender(){return this.guestForm.get("gender")}get nationality(){return this.guestForm.get("nationality")}get country(){return this.guestForm.get("country")}get zipCode(){return this.guestForm.get("zipCode")}get roomNum(){return this.guestForm.get("roomNum")}get dateOfArrival(){return this.guestForm.get("dateOfArrival")}get firstMeal(){return this.guestForm.get("firstMeal")}get dateOfDeparture(){return this.guestForm.get("dateOfDeparture")}get lastMeal(){return this.guestForm.get("lastMeal")}get szepCard(){return this.guestForm.get("szepCard")}get accommodationExtra(){return this.guestForm.get("accommodationExtra")}get birthDate(){return this.guestForm.get("birthDate")}get rfidColor(){return this.guestForm.get("rfidColor")}get enabled(){return this.guestForm.get("enabled")}get conference(){return this.guestForm.get("conference")}get diet(){return this.guestForm.get("diet")}get lastRfidUsage(){return this.guestForm.get("lastRfidUsage")}get is_test(){return this.guestForm.get("is_test")}get email(){return this.guestForm.get("email")}get telephone(){return this.guestForm.get("telephone")}get roomType(){return this.guestForm.get("roomType")}get payment(){return this.guestForm.get("payment")}get babyBed(){return this.guestForm.get("babyBed")}get prepaid(){return this.guestForm.get("prepaid")}get roomMate(){return this.guestForm.get("roomMate")}get idCard(){return this.guestForm.get("idCard")}get climate(){return this.guestForm.get("climate")}doQuery(){if(this.isOrganizer&&!this.selectedConferences.length)return;this.loading=!0;const t=Object.keys(this.filterValues).map(n=>this.filterValues[n].length>0?`${n}=${this.filterValues[n]}`:"").filter(n=>n.length>0).join("&");return""!==this.globalFilter?this.guestService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.guestService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(a,t){if(this.isOrganizer&&!this.selectedConferences)return;let o="";a instanceof Date?o=_(a).format("YYYY.MM.DD"):a&&(a.value||a.target?.value)&&("rfid"==t?(o=a.target?.value.replaceAll("\xf6","0").replaceAll("\xd6","0"),this.rfidFilterValue=o):o=a.value||a.target?.value),this.filterValues[t]=o,["diet","lastRfidUsage","dateOfArrival","dateOfDeparture","prepaid"].includes(t)?this.filterValues[t]===o&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===o&&this.doQuery()},500))}onLazyLoad(a){this.page=a.first/a.rows,this.rowsPerPage=a.rows??this.rowsPerPage,this.sortField=a.sortField??"",this.sortOrder=a.sortOrder??1,this.globalFilter=a.globalFilter??"",this.doQuery()}onGlobalFilter(a,t){a.filterGlobal(t.target.value,"contains")}onRowExpand(a){this.imageUrl=null,this.getIdCardURL(a.idcard||"")}create(){this.guestForm.reset(),this.sidebar=!0}edit(a){if(this.guestForm.reset(),this.originalFormValues=this.guestForm.value,this.sidebar=!0,a.conferenceid){const t=this.conferenceSelector.conferences.find(n=>n.id===a.conferenceid);a.conference=t?[t]:[],setTimeout(()=>{this.guestForm.patchValue(a)}),this.beginDate=t?.beginDate?new Date(t.beginDate):void 0,this.endDate=t?.endDate?new Date(t.endDate):void 0,this.getEarliestFirstMeal(),this.getLatestFirstMeal(),this.getEarliestLastMeal(),this.getLatestLastMeal(),this.cdRef.detectChanges()}}delete(){this.loading=!0,this.deleteDialog=!1,this.guestService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.bulkDeleteDialog=!1,this.guestService.bulkdelete(this.selected)}hideDialog(){this.guestDialog=!1}hideTagDialog(){this.tagDialog=!1}save(){if(this.guestForm.valid){this.loading=!0;const a=this.guestForm.value;if(a.id){this.guestService.update(a);const t=this.tableData.findIndex(n=>n.id===a.id);-1!==t&&(this.tableData[t]={...a})}else this.guestService.create(a,[]);this.sidebar=!1}}cancel(){this.guestForm.reset(this.originalFormValues)}findIndexById(a){let t=-1;for(let n=0;n<this.tableData.length;n++)if(this.tableData[n].id===a){t=n;break}return t}assignTag(a){this.scanTemp="",this.scannedCode=this.guest.rfid||"",this.guest={...a},this.messages=[{severity:"info",summary:"",detail:"Tartsa a "+a.diet+" \xe9trendhez tartoz\xf3 NFC c\xedmk\xe9t az olvas\xf3hoz..."}],this.tagDialog=!0}unAssignTag(){this.guest.rfid=null,this.guest.lastRfidUsage=null,this.guestService.update(this.guest);let a=JSON.parse(JSON.stringify(this.tableData));a[this.findIndexById(this.guest.id)]=this.guest,this.tableData=a,this.successfulMessage=[{severity:"success",summary:"",detail:"A c\xedmk\xe9t elt\xe1vol\xedtottuk a vend\xe9gt\u0151l!"}],this.totalTaggedGuests--,setTimeout(()=>{this.tagDialog=!1},200),this.logService.create({action_type:"unassign",table_name:"guest",original_data:"Unassign Tag from "+this.guest.lastName+" "+this.guest.firstName})}saveTag(){this.scannedCode&&this.tagService.getByRFID(this.scannedCode).subscribe({next:a=>{if(a.rows&&a.rows.length>0){let t=a.rows[0].color;if("gray"==t&&(t="black"),"green"===t&&(t="teal"),this.diets.find(o=>o.name==this.guest.diet).color!==t)return this.messages=[{severity:"error",summary:"",detail:"Nem megfelel\u0151 a karszalag sz\xedne!"}],void this.identifierElement.nativeElement.focus();this.guestService.getByRFID(this.scannedCode).subscribe({next:o=>{this.messages=[{severity:"error",summary:"",detail:o.lastName+" "+o.firstName+" m\xe1r haszn\xe1lja a karszalagot!"}],this.logService.create({action_type:"tag duplicate",table_name:"guest",original_data:"Tag duplicate: "+o.rfid+" is used by "+o.lastName+" "+o.firstName})},error:o=>{this.guest.rfid=this.scannedCode,this.guestService.updateGuest2(this.guest).subscribe(()=>{let l=JSON.parse(JSON.stringify(this.tableData));l[this.findIndexById(this.guest.id)]=this.guest,this.tableData=l,this.successfulMessage=[{severity:"success",summary:"",detail:"Sikeresen hozz\xe1rendelte a c\xedmk\xe9t a vend\xe9ghez!"}],this.totalTaggedGuests++,setTimeout(()=>{this.tagDialog=!1},200),this.logService.create({action_type:"assign Tag",table_name:"guest",original_data:"Assign Tag "+this.guest.rfid+" to "+this.guest.lastName+" "+this.guest.firstName}),this.scannedCode="",this.guest={}})}})}},error:a=>{console.log("tagService.getByRFID error",a)}})}onSend(a){this.loading=!0}onExcelUploadError(a,t){this.loading=!1,this.messageService.add({severity:"error",summary:"Hib\xe1s Excel!",detail:"K\xe9rlek pr\xf3b\xe1ld a megfelel\u0151 Excelt import\xe1lni",life:3e3}),t.clear(),this.logService.create({action_type:"import",table_name:"guest",original_data:"Error while importing Excel | File: "+a.files[0].name+", Size: "+a.files[0].size,status:500})}onExcelUpload(a){this.loading=!1,this.doQuery(),this.messageService.add({severity:"success",summary:"",detail:"Sikeres vend\xe9g import\xe1l\xe1s",life:3e3}),this.logService.create({action_type:"import",table_name:"guest",original_data:a.files[0].name})}onFileSelected(a){this.selectedFile=a.target.files[0]}getIdCardURL(a){if(!a)return;const t=a.endsWith(",")?a.slice(0,-1):a;this.http.get(this.apiURL+"/guest/idcardimage/"+t,{responseType:"blob"}).subscribe(n=>(this.imageUrl=window.URL.createObjectURL(n),this.imageUrl))}downloadIdCard(a){if(!a)return;const t=a.endsWith(",")?a.slice(0,-1):a;this.http.get(this.apiURL+"/guest/idcardimage/"+t,{responseType:"blob"}).subscribe(n=>{const o=window.URL.createObjectURL(n),l=document.createElement("a");l.href=o,l.download=t,document.body.appendChild(l),l.click(),document.body.removeChild(l)})}hasDietName(a){return this.diets.some(t=>t.name===a)}getAge(a){if(!a)return"";const t=_(a);return _().diff(t,"years").toString()}getCountryCode(a){const t=this.countries.find(n=>n.name.toLowerCase()===a?.toLowerCase());return t?t.code?.toLowerCase():null}getNationalityInHungarian(a){return this.countryService.getHuNationality(a)}getCountryNameInHungarian(a){return this.countryService.getHuCountryName(a)}getEarliestFirstMeal(){const a=this.guestForm.get("dateOfArrival")?.value,t=this.beginDate?.toISOString().split("T")[0];this.earliestFirstMeal=a===t?this.guestConference?.firstMeal:void 0}getLatestFirstMeal(){const a=this.guestForm.get("dateOfArrival")?.value,t=this.endDate?.toISOString().split("T")[0];this.latestFirstMeal=a===t?this.guestConference?.lastMeal:void 0}getEarliestLastMeal(){const a=this.guestForm.get("dateOfDeparture")?.value,t=this.beginDate?.toISOString().split("T")[0];this.earliestLastMeal=a===t?this.guestConference?.firstMeal:void 0}getLatestLastMeal(){const a=this.guestForm.get("dateOfDeparture")?.value,t=this.endDate?.toISOString().split("T")[0];this.latestLastMeal=a===t?this.guestConference?.lastMeal:void 0}onConferenceSelectionChange(a){this.selectedConferences=a||[],this.filterValues.conferenceName=this.selectedConferences.map(t=>t.name).join(", ")||"",this.isOrganizer&&this.selectedConferences.length>0&&(this.canEdit=this.selectedConferences.some(t=>t.guestEditEndDate&&_().isSameOrBefore(_(t.guestEditEndDate),"day"))),this.tableData=[],this.doQuery()}exportExcel(){s.e(1486).then(s.bind(s,1486)).then(a=>{let t=this.selected.map(g=>{const{id:b,answers:f,...z}=g,A={};let E=1;return Array.isArray(f)&&f.forEach(J=>{Array.isArray(J.translations)&&J.translations.forEach(k=>{const P=k.hu.trim().endsWith("?")?k.hu:k.hu+"?",j=k.answers;A[`question_${E}`]=P,A[`answer_${E}`]=j,E++})}),{...z,...A}});0===t.length&&(console.warn("No rows selected for export. Exporting filtered or full data."),t=(this.table.filteredValue||this.tableData).map(g=>{const{id:b,answers:f,...z}=g,A={};let E=1;return Array.isArray(f)&&f.forEach(J=>{Array.isArray(J.translations)&&J.translations.forEach(k=>{const P=k.hu.trim().endsWith("?")?k.hu:k.hu+"?",j=k.answers;A[`question_${E}`]=P,A[`answer_${E}`]=j,E++})}),{...z,...A}}));let n=0;t.forEach(g=>{const b=Object.keys(g).filter(f=>f.startsWith("question_")).length;b>n&&(n=b)}),t=t.map(g=>{const b=g;for(let f=1;f<=n;f++)b.hasOwnProperty(`question_${f}`)||(b[`question_${f}`]=""),b.hasOwnProperty(`answer_${f}`)||(b[`answer_${f}`]="");return b}),t.forEach(g=>{delete g.is_test,delete g.userid,delete g.rfid_id,delete g.diet_id,delete g.room_id,delete g.conferenceid,delete g.dietDetails});const l={Sheets:{data:a.utils.json_to_sheet(t)},SheetNames:["data"]},r=a.write(l,{bookType:"xlsx",type:"array"});this.saveAsExcelFile(r,"guests")})}saveAsExcelFile(a,t){const l=new Blob([a],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});m.saveAs(l,t+"_export_"+_().format("YYYYMMDD")+".xlsx")}downloadImportTemplate(){s.e(1486).then(s.bind(s,1486)).then(a=>{const t=Object.keys(this.tableData[0]||{}).filter(f=>"id"!==f),o={Sheets:{data:a.utils.aoa_to_sheet([t])},SheetNames:["data"]},l=a.write(o,{bookType:"xlsx",type:"array"}),b=new Blob([l],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});m.saveAs(b,"NFCReserve_import_template.xlsx")})}keyEvent(a){if("Enter"===a.key)this.scannedCode=this.scanTemp,this.scanTemp="",console.log("scannedCode",this.scannedCode);else if("\xf6"===a.key||"\xd6"===a.key)this.scanTemp+="0";else{if(!/^[0-9]$/i.test(a.key))return;this.scanTemp+=a.key}}ngOnDestroy(){}static#e=this.\u0275fac=function(t){return new(t||V)(e.Y36(Q.eN),e.Y36(U.Q),e.Y36(H.K),e.Y36(O.c),e.Y36(M.Z),e.Y36(Ze),e.Y36(xe.F),e.Y36(Ie.T),e.Y36(u.ez),e.Y36(we.$),e.Y36(e.sBO),e.Y36(d.qu))};static#t=this.\u0275cmp=e.Xpm({type:V,selectors:[["guest-component"]],viewQuery:function(t,n){if(1&t&&(e.Gf(L.w,5),e.Gf(Vt,5),e.Gf($t,5)),2&t){let o;e.iGM(o=e.CRH())&&(n.conferenceSelector=o.first),e.iGM(o=e.CRH())&&(n.identifierElement=o.first),e.iGM(o=e.CRH())&&(n.table=o.first)}},hostBindings:function(t,n){1&t&&e.NdJ("keypress",function(l){return n.keyEvent(l)},!1,e.Jf7)},features:[e._Bn([u.ez])],decls:174,vars:91,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","columns","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onRowExpand","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","rowexpansion"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-lg",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-12","lg:col-4"],["for","lastName",1,"font-medium","text-900"],["id","lastName","type","text","pInputText","","formControlName","lastName"],["class","block p-error",4,"ngIf"],["for","firstName",1,"font-medium","text-900"],["id","firstName","type","text","pInputText","","formControlName","firstName"],["for","gender",1,"font-medium","text-900"],[1,"flex","flex-wrap","gap-3","my-3"],[1,"flex","align-items-center"],["name","gender","value","1","formControlName","gender","inputId","gender1"],["for","gender1",1,"ml-2"],["name","gender","value","2","formControlName","gender","inputId","gender2"],["for","gender2",1,"ml-2"],["class","p-error",4,"ngIf"],["for","birthDate",1,"font-medium","text-900"],["id","birthDate","formControlName","birthDate","dateFormat","yy-mm-dd","dataType","string","appendTo","body",3,"defaultDate","minDate","maxDate"],["for","nationality",1,"font-medium","text-900"],["controlName","nationality",3,"parentForm"],["for","country",1,"font-medium","text-900"],["controlName","country",3,"parentForm"],["for","zipCode",1,"font-medium","text-900"],["id","zipCode","type","text","pInputText","","formControlName","zipCode"],["for","email",1,"font-medium","text-900"],["id","email","type","email","pInputText","","formControlName","email","autocomplete","email"],["for","telephone",1,"font-medium","text-900"],["id","telephone","type","text","pInputText","","formControlName","telephone"],[1,"field","mb-4","col-8"],["for","conference",1,"font-medium","text-900"],["formControlName","conference","placeholder","V\xe1lasszon konferenci\xe1t...",3,"selectionLimit","showClear"],["for","roomNum",1,"font-medium","text-900"],["id","roomNum","type","text","pInputText","","formControlName","roomNum",3,"readonly"],["for","dateOfArrival",1,"font-medium","text-900"],["id","dateOfArrival","formControlName","dateOfArrival","dateFormat","yy-mm-dd","dataType","string","appendTo","body",3,"ngClass","defaultDate","minDate","maxDate"],["for","firstMeal",1,"font-medium","text-900"],["controlName","firstMeal",3,"parentForm","earliestMeal","latestMeal","showNothing"],["for","diet",1,"font-medium","text-900"],["controlName","diet",3,"parentForm"],["for","dateOfDeparture",1,"font-medium","text-900"],["id","dateOfDeparture","formControlName","dateOfDeparture","dateFormat","yy-mm-dd","dataType","string","appendTo","body",3,"ngClass","defaultDate","minDate","maxDate"],["for","lastMeal",1,"font-medium","text-900"],["controlName","lastMeal",3,"parentForm","earliestMeal","latestMeal","showNothing"],["for","babyBed",1,"font-medium","text-900"],["name","babyBed","value","1","formControlName","babyBed","inputId","baby-bed-yes"],["for","baby-bed-yes",1,"ml-2"],["name","babyBed","value","0","formControlName","babyBed","inputId","baby-bed-no"],["for","baby-bed-no",1,"ml-2"],[1,"field","mb-4","col-12","lg:col-8"],["for","roomType",1,"font-medium","text-900"],["controlName","roomType",3,"parentForm"],["for","payment",1,"font-medium","text-900"],["controlName","payment",3,"parentForm"],["for","idCard",1,"font-medium","text-900"],["name","idCard","formControlName","idCard","accept",".jpg,.jpeg,.png","chooseLabel","Tall\xf3z\xe1s","cancelLabel","M\xe9gsem"],["for","climate",1,"font-medium","text-900"],["name","climate","value","1","formControlName","climate","inputId","climate-yes"],["for","climate-yes",1,"ml-2"],["name","climate","value","0","formControlName","climate","inputId","climate-no"],["for","climate-no",1,"ml-2"],["for","prepaid",1,"font-medium","text-900"],["name","prepaid","value","1","formControlName","prepaid","inputId","prepaid-yes"],["for","prepaid-yes",1,"ml-2"],["name","prepaid","value","0","formControlName","prepaid","inputId","prepaid-no"],["for","prepaid-no",1,"ml-2"],["pTemplate","footer"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],["header","NFC c\xedmke vend\xe9ghez rendel\xe9s",1,"p-fluid",3,"visible","modal","visibleChange"],["pTemplate","content"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0"],["placeholder","V\xe1lasszon konferenci\xe1t...",3,"ngModel","showClear","selectionLimit","selectFirstOption","ngModelChange"],[1,"block","mt-2","md:mt-0","p-input-icon-left","w-full","sm:w-auto"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s b\xe1rmely vend\xe9gadatra...","pTooltip","NFC c\xedmk\xe9t a saj\xe1t keres\u0151mez\u0151j\xe9be csippantsd",2,"min-width","300px",3,"input"],[1,"block","mt-2","md:mt-0","flex","align-items-center","flex-wrap"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","label","T\xf6rl\xe9s","icon","pi pi-trash",1,"p-button-danger","mr-2",3,"disabled","click"],["mode","basic","label","Import","chooseLabel","Import","chooseIcon","pi pi-upload","name","file","accept",".xlsx","pTooltip","Kiz\xe1r\xf3lag a t\xe1bl\xe1zathoz tartoz\xf3 Excel f\xe1jl import\xe1lhat\xf3","tooltipPosition","top",1,"mr-2","inline-block",3,"url","auto","maxFileSize","disabled","onSend","onError","onUpload"],["fileUpload",""],["icon","pi pi-download","label","Export","styleClass","p-button-help","severity","help",3,"model"],[2,"width","3rem"],["pSortableColumn","lastName"],["field","lastName"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","diet"],["field","diet"],["pSortableColumn","rfid",4,"ngIf"],["pSortableColumn","prepaid",4,"ngIf"],["pSortableColumn","lastRfidUsage"],["field","lastRfidUsage"],["pSortableColumn","dateOfArrival"],["field","dateOfArrival"],["pSortableColumn","dateOfDeparture"],["field","dateOfDeparture"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","14%","min-width","10rem",3,"input"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","8%","min-width","6rem",3,"input"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...","pTooltip","NFC c\xedmk\xe9re kereshet csippant\xe1ssal \xe9s manu\xe1lis g\xe9pel\xe9ssel","tooltipPosition","top","style","width:12%; min-width:9rem;",3,"ngModel","ngModelChange","input",4,"ngIf"],["optionLabel","name","optionValue","value","placeholder","V\xe1lasszon...",3,"options","ngModel","showClear","ngModelChange","onChange",4,"ngIf"],["appendTo","body","dataType","string","placeholder","Keres\xe9s...",3,"showButtonBar","onSelect","onClearClick"],["pSortableColumn","rfid"],[1,"font-light"],["field","rfid"],["pSortableColumn","prepaid"],["field","prepaid"],["pInputText","","type","text","placeholder","Keres\xe9s...","pTooltip","NFC c\xedmk\xe9re kereshet csippant\xe1ssal \xe9s manu\xe1lis g\xe9pel\xe9ssel","tooltipPosition","top",2,"width","12%","min-width","9rem",3,"ngModel","ngModelChange","input"],["optionLabel","name","optionValue","value","placeholder","V\xe1lasszon...",3,"options","ngModel","showClear","ngModelChange","onChange"],[3,"value"],["type","button","styleClass","p-button-rounded p-button-text","pRipple","",3,"pRowToggler","icon"],[1,"p-column-title"],["class","pi pi-tag",4,"ngIf"],[1,"text-center",2,"white-space","break-spaces"],[3,"ngClass",4,"ngIf"],["icon","pi pi-exclamation-triangle","severity","warning","value","Hib\xe1s \xe9trend","pTooltip","K\xe9rem m\xf3dos\xedtsa az \xe9trendet!",4,"ngIf"],[2,"width","14%","min-width","10rem"],[2,"width","9%","min-width","8rem"],[1,"calendar-badge"],[1,"pi","pi-calendar","mr-1"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-tags",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-pencil",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash",1,"p-button-rounded","p-button-warning",3,"disabled","click"],[1,"pi","pi-tag"],[3,"ngClass"],["icon","pi pi-exclamation-triangle","severity","warning","value","Hib\xe1s \xe9trend","pTooltip","K\xe9rem m\xf3dos\xedtsa az \xe9trendet!"],["colspan","10"],[1,"p-2"],[1,"w-full"],[1,"grid","w-full"],[1,"col-5"],["cellspacing","0","cellpadding","5"],[1,"font-medium"],["src","assets/demo/images/flag/flag_placeholder.png",2,"width","18px"],[1,"col-7"],[4,"ngFor","ngForOf"],[1,"flex","flex-column","w-full","mb-4"],[1,"font-medium","mb-1"],["pButton","","type","button","icon","pi pi-download","pTooltip","Szem\xe9lyi igazolv\xe1ny let\xf6lt\xe9se","tooltipPosition","bottom",1,"p-button-rounded","p-button-outlined",3,"click"],["width","250px","height","164px",4,"ngIf"],["alt","Image","width","250",3,"src","preview",4,"ngIf"],["width","250px","height","164px"],["alt","Image","width","250",3,"src","preview"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"],[3,"value","enableService","closable","valueChange"],[1,"formgrid","grid"],[1,"field","col"],["for","identifier"],["pInputText","","type","text","readonly","","autofocus","",3,"ngModel","ngModelChange"],["identifier",""],["pButton","","pRipple","","label","C\xedmke visszav\xe9tel","icon","pi pi-trash",1,"p-button-danger",3,"disabled","click"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-text",3,"click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button-text",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return n.selected=l})("onRowExpand",function(l){return n.onRowExpand(l.data)})("onLazyLoad",function(l){return n.onLazyLoad(l)}),e.YNc(5,Xt,14,14,"ng-template",5),e.YNc(6,an,44,8,"ng-template",6),e.YNc(7,cn,45,27,"ng-template",7),e.YNc(8,hn,95,25,"ng-template",8),e.YNc(9,Cn,3,1,"ng-template",9),e.qZA()(),e.TgZ(10,"p-sidebar",10),e.NdJ("visibleChange",function(l){return n.sidebar=l}),e.YNc(11,vn,2,1,"ng-template",6),e.TgZ(12,"form",11),e.NdJ("ngSubmit",function(){return n.save()}),e._UZ(13,"input",12),e.TgZ(14,"div",13)(15,"label",14),e._uU(16,"Vezet\xe9kn\xe9v"),e.qZA(),e._UZ(17,"input",15),e.YNc(18,bn,2,0,"div",16),e.qZA(),e.TgZ(19,"div",13)(20,"label",17),e._uU(21,"Keresztn\xe9v"),e.qZA(),e._UZ(22,"input",18),e.YNc(23,Tn,2,0,"div",16),e.qZA(),e.TgZ(24,"div",13)(25,"label",19),e._uU(26,"Neme"),e.qZA(),e.TgZ(27,"div",20)(28,"div",21),e._UZ(29,"p-radioButton",22),e.TgZ(30,"label",23),e._uU(31,"F\xe9rfi"),e.qZA()(),e.TgZ(32,"div",21),e._UZ(33,"p-radioButton",24),e.TgZ(34,"label",25),e._uU(35,"N\u0151"),e.qZA()()(),e.YNc(36,yn,2,0,"div",26),e.qZA(),e.TgZ(37,"div",13)(38,"label",27),e._uU(39,"Sz\xfclet\xe9si d\xe1tum"),e.qZA(),e._UZ(40,"p-calendar",28),e.YNc(41,Zn,2,0,"div",26),e.qZA(),e.TgZ(42,"div",13)(43,"label",29),e._uU(44,"\xc1llampolg\xe1rs\xe1g"),e.qZA(),e._UZ(45,"app-nationality-selector",30),e.YNc(46,xn,2,0,"div",26),e.qZA(),e.TgZ(47,"div",13)(48,"label",31),e._uU(49,"Lak\xf3hely - orsz\xe1g"),e.qZA(),e._UZ(50,"app-country-selector",32),e.YNc(51,In,2,0,"div",26),e.qZA(),e.TgZ(52,"div",13)(53,"label",33),e._uU(54,"Lak\xf3hely - ir\xe1ny\xedt\xf3sz\xe1m"),e.qZA(),e._UZ(55,"input",34),e.YNc(56,wn,2,0,"div",26),e.qZA(),e.TgZ(57,"div",13)(58,"label",35),e._uU(59,"Email"),e.qZA(),e._UZ(60,"input",36),e.YNc(61,kn,3,2,"div",26),e.qZA(),e.TgZ(62,"div",13)(63,"label",37),e._uU(64,"Telefon"),e.qZA(),e._UZ(65,"input",38),e.YNc(66,Mn,2,0,"div",26),e.qZA(),e.TgZ(67,"div",39)(68,"label",40),e._uU(69,"Konferencia"),e.qZA(),e._UZ(70,"app-conference-selector",41),e.YNc(71,Dn,2,0,"div",16),e.qZA(),e.TgZ(72,"div",13)(73,"label",42),e._uU(74,"Szoba"),e.qZA(),e._UZ(75,"input",43),e.qZA(),e.TgZ(76,"div",13)(77,"label",44),e._uU(78,"\xc9rkez\xe9s d\xe1tuma"),e.qZA(),e._UZ(79,"p-calendar",45),e.YNc(80,Nn,2,0,"div",26),e.YNc(81,Sn,2,0,"div",26),e.qZA(),e.TgZ(82,"div",13)(83,"label",46),e._uU(84,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e._UZ(85,"app-meal-selector",47),e.YNc(86,Fn,2,0,"div",26),e.qZA(),e.TgZ(87,"div",13)(88,"label",48),e._uU(89,"\xc9trend"),e.qZA(),e._UZ(90,"app-diet-selector",49),e.YNc(91,Un,2,0,"div",26),e.qZA(),e.TgZ(92,"div",13)(93,"label",50),e._uU(94,"T\xe1voz\xe1s d\xe1tuma"),e.qZA(),e._UZ(95,"p-calendar",51),e.YNc(96,On,2,0,"div",26),e.YNc(97,qn,2,0,"div",26),e.qZA(),e.TgZ(98,"div",13)(99,"label",52),e._uU(100,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e._UZ(101,"app-meal-selector",53),e.YNc(102,zn,2,0,"div",26),e.qZA(),e.TgZ(103,"div",13)(104,"label",54),e._uU(105,"Baba\xe1gyat k\xe9rsz?"),e.qZA(),e.TgZ(106,"div",20)(107,"div",21),e._UZ(108,"p-radioButton",55),e.TgZ(109,"label",56),e._uU(110,"Igen"),e.qZA()(),e.TgZ(111,"div",21),e._UZ(112,"p-radioButton",57),e.TgZ(113,"label",58),e._uU(114,"Nem"),e.qZA()()(),e.YNc(115,Jn,2,0,"div",26),e.qZA(),e.TgZ(116,"div",59)(117,"label",60),e._uU(118,"Sz\xe1ll\xe1st\xedpus"),e.qZA(),e._UZ(119,"app-roomtype-selector",61),e.YNc(120,Gn,2,0,"div",26),e.qZA(),e.TgZ(121,"div",13)(122,"label",62),e._uU(123,"Fizet\xe9si m\xf3d"),e.qZA(),e._UZ(124,"app-payment-selector",63),e.YNc(125,Ln,2,0,"div",26),e.qZA(),e.TgZ(126,"div",59)(127,"label",64),e._uU(128,"Szem\xe9lyi igazolv\xe1ny"),e.qZA(),e._UZ(129,"app-reactive-file-upload",65),e.YNc(130,Qn,2,0,"div",26),e.qZA(),e.TgZ(131,"div",13)(132,"label",66),e._uU(133,"Kl\xedm\xe1t k\xe9rsz?"),e.qZA(),e.TgZ(134,"div",20)(135,"div",21),e._UZ(136,"p-radioButton",67),e.TgZ(137,"label",68),e._uU(138,"Igen"),e.qZA()(),e.TgZ(139,"div",21),e._UZ(140,"p-radioButton",69),e.TgZ(141,"label",70),e._uU(142,"Nem"),e.qZA()()(),e.YNc(143,Hn,2,0,"div",26),e.TgZ(144,"label",71),e._uU(145,"El\u0151leget fizetett?"),e.qZA(),e.TgZ(146,"div",20)(147,"div",21),e._UZ(148,"p-radioButton",72),e.TgZ(149,"label",73),e._uU(150,"Igen"),e.qZA()(),e.TgZ(151,"div",21),e._UZ(152,"p-radioButton",74),e.TgZ(153,"label",75),e._uU(154,"Nem"),e.qZA()()(),e.YNc(155,Rn,2,0,"div",26),e.qZA()(),e.YNc(156,Yn,3,2,"ng-template",76),e.qZA(),e.TgZ(157,"p-dialog",77),e.NdJ("visibleChange",function(l){return n.deleteDialog=l}),e.TgZ(158,"div",78),e._UZ(159,"i",79),e.YNc(160,Bn,5,2,"span",80),e.qZA(),e.YNc(161,Kn,2,0,"ng-template",76),e.qZA(),e.TgZ(162,"p-dialog",77),e.NdJ("visibleChange",function(l){return n.bulkDeleteDialog=l}),e.TgZ(163,"div",78),e._UZ(164,"i",79),e.TgZ(165,"span"),e._uU(166,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott vend\xe9geket?"),e.qZA()(),e.YNc(167,Pn,2,0,"ng-template",76),e.qZA(),e.TgZ(168,"p-dialog",81),e.NdJ("visibleChange",function(l){return n.tagDialog=l}),e.YNc(169,jn,9,5,"ng-template",82),e.YNc(170,Vn,2,0,"ng-template",76),e.qZA()()(),e.TgZ(171,"p-blockUI",83),e._UZ(172,"p-progressSpinner"),e.qZA(),e._UZ(173,"p-toast")),2&t&&(e.xp6(3),e.Q6J("value",n.tableData)("columns",n.cols)("rows",n.rowsPerPage)("totalRecords",n.totalRecords)("globalFilterFields",e.DdM(82,$n))("paginator",!0)("rowsPerPageOptions",n.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",n.selected)("tableStyle",e.DdM(83,Wn))("rowHover",!0)("lazy",!0),e.xp6(7),e.Q6J("visible",n.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",n.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",n.guestForm),e.xp6(6),e.Q6J("ngIf",(null==n.lastName?null:n.lastName.dirty)&&(null==n.lastName||null==n.lastName.errors?null:n.lastName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.firstName?null:n.firstName.dirty)&&(null==n.firstName||null==n.firstName.errors?null:n.firstName.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.gender?null:n.gender.dirty)&&(null==n.gender||null==n.gender.errors?null:n.gender.errors.required)),e.xp6(4),e.Q6J("defaultDate",n.birthDateMax)("minDate",n.birthDateMin)("maxDate",n.birthDateMax),e.xp6(1),e.Q6J("ngIf",(null==n.birthDate?null:n.birthDate.dirty)&&(null==n.birthDate||null==n.birthDate.errors?null:n.birthDate.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.nationality?null:n.nationality.dirty)&&(null==n.nationality||null==n.nationality.errors?null:n.nationality.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.country?null:n.country.dirty)&&(null==n.country||null==n.country.errors?null:n.country.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.zipCode?null:n.zipCode.dirty)&&(null==n.zipCode||null==n.zipCode.errors?null:n.zipCode.errors.required)),e.xp6(5),e.Q6J("ngIf",null==n.email?null:n.email.dirty),e.xp6(5),e.Q6J("ngIf",(null==n.telephone?null:n.telephone.dirty)&&(null==n.telephone||null==n.telephone.errors?null:n.telephone.errors.required)),e.xp6(4),e.Q6J("selectionLimit",1)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.conference?null:n.conference.dirty)&&(null==n.conference||null==n.conference.errors?null:n.conference.errors.required)),e.xp6(4),e.Q6J("readonly",n.isOrganizer),e.xp6(4),e.Q6J("ngClass",e.VKq(84,Te,null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid))("defaultDate",n.beginDate)("minDate",n.beginDate)("maxDate",n.endDate),e.xp6(1),e.Q6J("ngIf",(null==n.dateOfArrival?null:n.dateOfArrival.dirty)&&(null==n.dateOfArrival||null==n.dateOfArrival.errors?null:n.dateOfArrival.errors.required)),e.xp6(1),e.Q6J("ngIf",null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid),e.xp6(4),e.Q6J("parentForm",n.guestForm)("earliestMeal",n.earliestFirstMeal)("latestMeal",n.latestFirstMeal)("showNothing",!0),e.xp6(1),e.Q6J("ngIf",(null==n.firstMeal?null:n.firstMeal.dirty)&&(null==n.firstMeal||null==n.firstMeal.errors?null:n.firstMeal.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.diet?null:n.diet.dirty)&&(null==n.diet||null==n.diet.errors?null:n.diet.errors.required)),e.xp6(4),e.Q6J("ngClass",e.VKq(86,Te,null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid))("defaultDate",n.beginDate)("minDate",n.beginDate)("maxDate",n.endDate),e.xp6(1),e.Q6J("ngIf",(null==n.dateOfDeparture?null:n.dateOfDeparture.dirty)&&(null==n.dateOfDeparture||null==n.dateOfDeparture.errors?null:n.dateOfDeparture.errors.required)),e.xp6(1),e.Q6J("ngIf",null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid),e.xp6(4),e.Q6J("parentForm",n.guestForm)("earliestMeal",n.earliestLastMeal)("latestMeal",n.latestLastMeal)("showNothing",!0),e.xp6(1),e.Q6J("ngIf",(null==n.lastMeal?null:n.lastMeal.dirty)&&(null==n.lastMeal||null==n.lastMeal.errors?null:n.lastMeal.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.babyBed?null:n.babyBed.dirty)&&(null==n.babyBed||null==n.babyBed.errors?null:n.babyBed.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.roomType?null:n.roomType.dirty)&&(null==n.roomType||null==n.roomType.errors?null:n.roomType.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.payment?null:n.payment.dirty)&&(null==n.payment||null==n.payment.errors?null:n.payment.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.idCard?null:n.idCard.dirty)&&(null==n.idCard||null==n.idCard.errors?null:n.idCard.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.climate?null:n.climate.dirty)&&(null==n.climate||null==n.climate.errors?null:n.climate.errors.required)),e.xp6(12),e.Q6J("ngIf",(null==n.prepaid?null:n.prepaid.dirty)&&(null==n.prepaid||null==n.prepaid.errors?null:n.prepaid.errors.required)),e.xp6(2),e.Akn(e.DdM(88,B)),e.Q6J("visible",n.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",n.guest),e.xp6(2),e.Akn(e.DdM(89,B)),e.Q6J("visible",n.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Akn(e.DdM(90,B)),e.Q6J("visible",n.tagDialog)("modal",!0),e.xp6(3),e.Q6J("autoZIndex",!0)("blocked",n.loading))},dependencies:[p.mk,p.sg,p.O5,D.iA,u.jx,D.lQ,D.jB,D.fz,D.UA,D.Mo,W.p,F.Hq,F.zx,Ae.V,d._Y,d.Fj,d.JJ,d.JL,d.On,d.sg,d.u,R.H,X.FN,ee.o,te.Lt,ne.EU,ie.V,oe.G,ae.b,le.Y,se.V,We,q.u,ge.f,_e.O,Lt,Ht.I,Rt.S,Yt.H,Bt.a,Kt.y,Pt.F,L.w,jt.Q,p.uU],encapsulation:2})};K=(0,T.gn)([(0,c.k)()],K);let Xn=(()=>{class i{static#e=this.\u0275fac=function(n){return new(n||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[Z.Bz.forChild([{path:"",component:K}]),Z.Bz]})}return i})();var ei=s(6340),ti=s(6022),ni=s(6218),ii=s(9653),oi=s(5389),ai=s(8057),li=s(2285),si=s(9444);let ri=(()=>{class i{static#e=this.\u0275fac=function(n){return new(n||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[p.ez,Xn,D.U$,W.O,d.u5,d.UX,F.hJ,R.T,X.EV,ei.V,ti.Xt,ee.j,ni.A,te.kW,ne.cc,ii.L$,ie.S,oe.L,ae.u,le.l,se.W,Xe,oi.dp,q.z,ai.nD,ge._8,_e.m,Qt,li.L,si.y]})}return i})()},217:function(G,N){var s,d;void 0!==(d="function"==typeof(s=function(){"use strict";function T(c,u,y){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){S(m.response,u,y)},m.onerror=function(){console.error("could not download file")},m.send()}function e(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function I(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var h="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,x=h.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),S=h.saveAs||("object"!=typeof window||window!==h?function(){}:"download"in HTMLAnchorElement.prototype&&!x?function(c,u,y){var m=h.URL||h.webkitURL,_=document.createElement("a");_.download=u=u||c.name||"download",_.rel="noopener","string"==typeof c?(_.href=c,_.origin===location.origin?I(_):e(_.href)?T(c,u,y):I(_,_.target="_blank")):(_.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(_.href)},4e4),setTimeout(function(){I(_)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,y){if(u=u||c.name||"download","string"!=typeof c)navigator.msSaveOrOpenBlob(function Z(c,u){return typeof u>"u"?u={autoBom:!1}:"object"!=typeof u&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\ufeff",c],{type:c.type}):c}(c,y),u);else if(e(c))T(c,u,y);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){I(m)})}}:function(c,u,y,m){if((m=m||open("","_blank"))&&(m.document.title=m.document.body.innerText="downloading..."),"string"==typeof c)return T(c,u,y);var _="application/octet-stream"===c.type,L=/constructor/i.test(h.HTMLElement)||h.safari,Q=/CriOS\/[\d]+/.test(navigator.userAgent);if((Q||_&&L||x)&&typeof FileReader<"u"){var U=new FileReader;U.onloadend=function(){var M=U.result;M=Q?M:M.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=M:location=M,m=null},U.readAsDataURL(c)}else{var H=h.URL||h.webkitURL,O=H.createObjectURL(c);m?m.location=O:location.href=O,m=null,setTimeout(function(){H.revokeObjectURL(O)},4e4)}});h.saveAs=S.saveAs=S,G.exports=S})?s.apply(N,[]):s)&&(G.exports=d)},5865:(G,N,s)=>{"use strict";s.d(N,{t:()=>Z});var p=s(2029),d=s(4713);let Z=(()=>{class T extends d.s{static \u0275fac=function(){let I;return function(x){return(I||(I=p.n5z(T)))(x||T)}}();static \u0275cmp=p.Xpm({type:T,selectors:[["EyeIcon"]],standalone:!0,features:[p.qOj,p.jDz],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(h,x){1&h&&(p.O4$(),p.TgZ(0,"svg",0),p._UZ(1,"path",1),p.qZA()),2&h&&(p.Tol(x.getClassNames()),p.uIk("aria-label",x.ariaLabel)("aria-hidden",x.ariaHidden)("role",x.role))},encapsulation:2})}return T})()}}]);
\ No newline at end of file
+(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[3487],{3487:(G,N,s)=>{"use strict";s.r(N),s.d(N,{GuestModule:()=>ri});var p=s(6814),d=s(6223),Z=s(1640),T=s(7582),e=s(2029),I=s(8645),h=s(3620),x=s(3997),S=s(7398),c=s(4279),u=s(5219),y=s(1116),m=s(217),_=s(6676),L=s(9474),Q=s(9862),U=s(746),H=s(1206),O=s(2835),M=s(219),$=s(5619),ye=s(8814);let Ze=(()=>{class i{constructor(t){this.apiService=t,this.genderData$=new $.X(null),this.serviceMessage$=new $.X(null)}get genderObs(){return this.genderData$.asObservable()}get serviceMessageObs(){return this.serviceMessage$.asObservable()}getGenders(t,n,o){this.genderData$.next([{code:1,name:"F\xe9rfi"},{code:2,name:"N\u0151"}])}static#e=this.\u0275fac=function(n){return new(n||i)(e.LFG(ye.s))};static#t=this.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var xe=s(7159),Ie=s(7744),we=s(3763),D=s(9664),W=s(2610),F=s(707),Ae=s(9502),R=s(4480),X=s(4104),ee=s(3714),te=s(2160),ne=s(1865),ie=s(7213),oe=s(7680),ae=s(4204),le=s(9246),se=s(6263),v=s(6825),C=s(2076),re=s(5865),Y=s(4713),w=s(2332);let ue=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["RefreshIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})(),pe=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["SearchMinusIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})(),ce=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["SearchPlusIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})();var de=s(7778);let me=(()=>{class i extends Y.s{pathId;ngOnInit(){this.pathId="url(#"+(0,w.Th)()+")"}static \u0275fac=function(){let t;return function(o){return(t||(t=e.n5z(i)))(o||i)}}();static \u0275cmp=e.Xpm({type:i,selectors:[["UndoIcon"]],standalone:!0,features:[e.qOj,e.jDz],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(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(o.getClassNames()),e.uIk("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),e.xp6(1),e.uIk("clip-path",o.pathId),e.xp6(3),e.Q6J("id",o.pathId))},encapsulation:2})}return i})();const Ee=["mask"];function ke(i,a){1&i&&e.GkF(0)}function Me(i,a){if(1&i&&(e.ynx(0),e.YNc(1,ke,1,0,"ng-container",7),e.BQk()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.indicatorTemplate)}}function De(i,a){1&i&&e._UZ(0,"EyeIcon",8),2&i&&e.Q6J("styleClass","p-image-preview-icon")}function Ne(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",4),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onImageClick())}),e.YNc(1,Me,2,1,"ng-container",5),e.YNc(2,De,1,1,"ng-template",null,6,e.W1O),e.qZA()}if(2&i){const t=e.MAs(3),n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.indicatorTemplate)("ngIfElse",t)}}function Se(i,a){1&i&&e._UZ(0,"RefreshIcon")}function Fe(i,a){}function Ue(i,a){1&i&&e.YNc(0,Fe,0,0,"ng-template")}function Oe(i,a){1&i&&e._UZ(0,"UndoIcon")}function qe(i,a){}function ze(i,a){1&i&&e.YNc(0,qe,0,0,"ng-template")}function Je(i,a){1&i&&e._UZ(0,"SearchMinusIcon")}function Ge(i,a){}function Le(i,a){1&i&&e.YNc(0,Ge,0,0,"ng-template")}function Qe(i,a){1&i&&e._UZ(0,"SearchPlusIcon")}function He(i,a){}function Re(i,a){1&i&&e.YNc(0,He,0,0,"ng-template")}function Ye(i,a){1&i&&e._UZ(0,"TimesIcon")}function Be(i,a){}function Ke(i,a){1&i&&e.YNc(0,Be,0,0,"ng-template")}const Pe=function(i,a){return{showTransitionParams:i,hideTransitionParams:a}},je=function(i){return{value:"visible",params:i}};function Ve(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div"),e.NdJ("@animation.start",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onAnimationStart(o))})("@animation.done",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onAnimationEnd(o))}),e.TgZ(1,"img",15),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onPreviewImageClick())}),e.qZA()()}if(2&i){const t=e.oxw(2);e.Q6J("@animation",e.VKq(6,je,e.WLB(3,Pe,t.showTransitionOptions,t.hideTransitionOptions))),e.xp6(1),e.Q6J("ngStyle",t.imagePreviewStyle()),e.uIk("src",t.src,e.LSH)}}function $e(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",9,10),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onMaskClick())}),e.TgZ(2,"div",11),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.handleToolbarClick(o))}),e.TgZ(3,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rotateRight())}),e.YNc(4,Se,1,0,"RefreshIcon",13),e.YNc(5,Ue,1,0,null,7),e.qZA(),e.TgZ(6,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rotateLeft())}),e.YNc(7,Oe,1,0,"UndoIcon",13),e.YNc(8,ze,1,0,null,7),e.qZA(),e.TgZ(9,"button",14),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.zoomOut())}),e.YNc(10,Je,1,0,"SearchMinusIcon",13),e.YNc(11,Le,1,0,null,7),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.zoomIn())}),e.YNc(13,Qe,1,0,"SearchPlusIcon",13),e.YNc(14,Re,1,0,null,7),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closePreview())}),e.YNc(16,Ye,1,0,"TimesIcon",13),e.YNc(17,Ke,1,0,null,7),e.qZA()(),e.YNc(18,Ve,2,8,"div",13),e.qZA()}if(2&i){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",!t.rotateRightIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.rotateRightIconTemplate),e.xp6(2),e.Q6J("ngIf",!t.rotateLeftIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.rotateLeftIconTemplate),e.xp6(1),e.Q6J("disabled",t.isZoomOutDisabled),e.xp6(1),e.Q6J("ngIf",!t.zoomOutIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.zoomOutIconTemplate),e.xp6(1),e.Q6J("disabled",t.isZoomInDisabled),e.xp6(1),e.Q6J("ngIf",!t.zoomInIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.zoomInIconTemplate),e.xp6(2),e.Q6J("ngIf",!t.closeIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.closeIconTemplate),e.xp6(1),e.Q6J("ngIf",t.previewVisible)}}let We=(()=>{class i{document;config;cd;imageClass;imageStyle;styleClass;style;src;alt;width;height;appendTo;preview=!1;showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";onShow=new e.vpe;onHide=new e.vpe;onImageError=new e.vpe;mask;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,n,o){this.document=t,this.config=n,this.cd=o}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)}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}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();break;case"void":C.p.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":w.P9.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(){w.P9.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.wrapper):C.p.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}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}imageError(t){this.onImageError.emit(t)}static \u0275fac=function(n){return new(n||i)(e.Y36(p.K0),e.Y36(u.b4),e.Y36(e.sBO))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-image"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,u.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},viewQuery:function(n,o){if(1&n&&e.Gf(Ee,5),2&n){let l;e.iGM(l=e.CRH())&&(o.mask=l.first)}},hostAttrs:[1,"p-element"],inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",alt:"alt",width:"width",height:"height",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:13,consts:[[3,"ngClass","ngStyle"],[3,"ngStyle","error"],["class","p-image-preview-indicator",3,"click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter",3,"click",4,"ngIf"],[1,"p-image-preview-indicator",3,"click"],[4,"ngIf","ngIfElse"],["defaultTemplate",""],[4,"ngTemplateOutlet"],[3,"styleClass"],[1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click"],["mask",""],[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,"disabled","click"],[1,"p-image-preview",3,"ngStyle","click"]],template:function(n,o){1&n&&(e.TgZ(0,"span",0)(1,"img",1),e.NdJ("error",function(r){return o.imageError(r)}),e.qZA(),e.YNc(2,Ne,4,2,"div",2),e.YNc(3,$e,19,13,"div",3),e.qZA()),2&n&&(e.Tol(o.styleClass),e.Q6J("ngClass",o.containerClass())("ngStyle",o.style),e.xp6(1),e.Tol(o.imageClass),e.Q6J("ngStyle",o.imageStyle),e.uIk("src",o.src,e.LSH)("alt",o.alt)("width",o.width)("height",o.height),e.xp6(1),e.Q6J("ngIf",o.preview),e.xp6(1),e.Q6J("ngIf",o.maskVisible))},dependencies:function(){return[p.mk,p.O5,p.tP,p.PC,ue,re.t,me,pe,ce,de.q]},styles:[".p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;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.X$)("animation",[(0,v.eR)("void => visible",[(0,v.oB)({transform:"scale(0.7)",opacity:0}),(0,v.jt)("{{showTransitionParams}}")]),(0,v.eR)("visible => void",[(0,v.jt)("{{hideTransitionParams}}",(0,v.oB)({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0})}return i})(),Xe=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[p.ez,u.m8,ue,re.t,me,pe,ce,de.q,u.m8]})}return i})();var q=s(3259),ge=s(3212),_e=s(4227),fe=s(6005),he=s(1239);const et=["sublist"],tt=function(i){return{"p-hidden":i}};function nt(i,a){if(1&i&&e._UZ(0,"li",5),2&i){const t=e.oxw().$implicit;e.Q6J("ngClass",e.VKq(1,tt,!1===t.visible))}}function it(i,a){if(1&i&&e._UZ(0,"span",17),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.icon)("ngStyle",t.iconStyle)}}function ot(i,a){if(1&i&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.label)}}function at(i,a){if(1&i&&e._UZ(0,"span",19),2&i){const t=e.oxw(3).$implicit;e.Q6J("innerHTML",t.label,e.oJD)}}function lt(i,a){if(1&i&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.badgeStyleClass),e.xp6(1),e.Oqu(t.badge)}}function st(i,a){1&i&&e._UZ(0,"AngleRightIcon",23),2&i&&e.Q6J("styleClass","p-submenu-icon")}function rt(i,a){}function ut(i,a){1&i&&e.YNc(0,rt,0,0,"ng-template")}function pt(i,a){if(1&i&&(e.ynx(0),e.YNc(1,st,1,1,"AngleRightIcon",21),e.YNc(2,ut,1,0,null,22),e.BQk()),2&i){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!t.tieredMenu.submenuIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.tieredMenu.submenuIconTemplate)}}const Ce=function(i){return{"p-menuitem-link":!0,"p-disabled":i}};function ct(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"a",11),e.NdJ("keydown",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemKeyDown(o,l))})("click",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemClick(o,l))})("mouseenter",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemMouseEnter(o,l))}),e.YNc(1,it,1,2,"span",12),e.YNc(2,ot,2,1,"span",13),e.YNc(3,at,1,1,"ng-template",null,14,e.W1O),e.YNc(5,lt,2,2,"span",15),e.YNc(6,pt,3,2,"ng-container",16),e.qZA()}if(2&i){const t=e.MAs(4),n=e.oxw(2).$implicit,o=e.oxw();e.Q6J("target",n.target)("ngClass",e.VKq(14,Ce,n.disabled)),e.uIk("href",n.url,e.LSH)("data-automationid",n.automationId)("title",n.title)("id",n.id)("tabindex",n.disabled?null:"0")("aria-haspopup",null!=o.item.items)("aria-expanded",o.item===o.activeItem),e.xp6(1),e.Q6J("ngIf",n.icon),e.xp6(1),e.Q6J("ngIf",!1!==n.escape)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",n.badge),e.xp6(1),e.Q6J("ngIf",n.items)}}function dt(i,a){if(1&i&&e._UZ(0,"span",17),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.icon)("ngStyle",t.iconStyle)}}function mt(i,a){if(1&i&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.label)}}function gt(i,a){if(1&i&&e._UZ(0,"span",19),2&i){const t=e.oxw(3).$implicit;e.Q6J("innerHTML",t.label,e.oJD)}}function _t(i,a){if(1&i&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.Q6J("ngClass",t.badgeStyleClass),e.xp6(1),e.Oqu(t.badge)}}function ft(i,a){1&i&&e._UZ(0,"AngleRightIcon",23),2&i&&e.Q6J("styleClass","p-submenu-icon")}function ht(i,a){}function Ct(i,a){1&i&&e.YNc(0,ht,0,0,"ng-template")}function vt(i,a){if(1&i&&(e.ynx(0),e.YNc(1,ft,1,1,"AngleRightIcon",21),e.YNc(2,Ct,1,0,null,22),e.BQk()),2&i){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!t.tieredMenu.submenuIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",t.tieredMenu.submenuIconTemplate)}}const bt=function(){return{exact:!1}};function Tt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"a",24),e.NdJ("keydown",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemKeyDown(o,l))})("click",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemClick(o,l))})("mouseenter",function(o){e.CHM(t);const l=e.oxw(2).$implicit,r=e.oxw();return e.KtG(r.onItemMouseEnter(o,l))}),e.YNc(1,dt,1,2,"span",12),e.YNc(2,mt,2,1,"span",13),e.YNc(3,gt,1,1,"ng-template",null,25,e.W1O),e.YNc(5,_t,2,2,"span",15),e.YNc(6,vt,3,2,"ng-container",16),e.qZA()}if(2&i){const t=e.MAs(4),n=e.oxw(2).$implicit;e.Q6J("routerLink",n.routerLink)("queryParams",n.queryParams)("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",n.routerLinkActiveOptions||e.DdM(21,bt))("target",n.target)("ngClass",e.VKq(22,Ce,n.disabled))("fragment",n.fragment)("queryParamsHandling",n.queryParamsHandling)("preserveFragment",n.preserveFragment)("skipLocationChange",n.skipLocationChange)("replaceUrl",n.replaceUrl)("state",n.state),e.uIk("data-automationid",n.automationId)("title",n.title)("id",n.id)("tabindex",n.disabled?null:"0"),e.xp6(1),e.Q6J("ngIf",n.icon),e.xp6(1),e.Q6J("ngIf",!1!==n.escape)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",n.badge),e.xp6(1),e.Q6J("ngIf",n.items)}}function yt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-tieredMenuSub",26),e.NdJ("keydownItem",function(o){e.CHM(t);const l=e.oxw(3);return e.KtG(l.onChildItemKeyDown(o))})("leafClick",function(){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onLeafClick())}),e.qZA()}if(2&i){const t=e.oxw(2).$implicit,n=e.oxw();e.Q6J("parentActive",t===n.activeItem)("item",t)("mobileActive",n.mobileActive)("autoDisplay",n.autoDisplay)("popup",n.popup)}}const Zt=function(i,a){return{"p-menuitem":!0,"p-menuitem-active":i,"p-hidden":a}};function xt(i,a){if(1&i&&(e.TgZ(0,"li",6,7),e.YNc(2,ct,7,16,"a",8),e.YNc(3,Tt,7,24,"a",9),e.YNc(4,yt,1,5,"p-tieredMenuSub",10),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw();e.Tol(t.styleClass),e.Q6J("ngClass",e.WLB(8,Zt,t===n.activeItem,!1===t.visible))("ngStyle",t.style)("tooltipOptions",t.tooltipOptions),e.xp6(2),e.Q6J("ngIf",!t.routerLink),e.xp6(1),e.Q6J("ngIf",t.routerLink),e.xp6(1),e.Q6J("ngIf",t.items)}}function It(i,a){if(1&i&&(e.YNc(0,nt,1,3,"li",3),e.YNc(1,xt,5,11,"li",4)),2&i){const t=a.$implicit;e.Q6J("ngIf",t.separator),e.xp6(1),e.Q6J("ngIf",!t.separator)}}const wt=function(i){return{"p-submenu-list":i}},At=function(i){return{"p-tieredmenu p-component":!0,"p-tieredmenu-overlay":i}},Et=function(i,a){return{showTransitionParams:i,hideTransitionParams:a}},kt=function(i){return{value:"visible",params:i}};function Mt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",1),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onOverlayClick(o))})("@overlayAnimation.start",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onOverlayAnimationStart(o))})("@overlayAnimation.done",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onOverlayAnimationEnd(o))}),e.TgZ(1,"p-tieredMenuSub",2),e.NdJ("leafClick",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onLeafClick())}),e.qZA()()}if(2&i){const t=e.oxw();e.Tol(t.styleClass),e.Q6J("ngClass",e.VKq(12,At,t.popup))("ngStyle",t.style)("@overlayAnimation",e.VKq(17,kt,e.WLB(14,Et,t.showTransitionOptions,t.hideTransitionOptions)))("@.disabled",!0!==t.popup),e.xp6(1),e.Q6J("item",t.model)("parentActive",t.parentActive)("baseZIndex",t.baseZIndex)("autoZIndex",t.autoZIndex)("autoDisplay",t.autoDisplay)("popup",t.popup)}}let Dt=(()=>{class i{document;el;renderer;cd;tieredMenu;item;root;autoDisplay;autoZIndex=!0;baseZIndex=0;mobileActive;popup;get parentActive(){return this._parentActive}set parentActive(t){this.root||(this._parentActive=t,t?this.positionSubmenu():this.activeItem=null)}sublistViewChild;leafClick=new e.vpe;keydownItem=new e.vpe;_parentActive;documentClickListener;menuHoverActive=!1;activeItem;constructor(t,n,o,l,r){this.document=t,this.el=n,this.renderer=o,this.cd=l,this.tieredMenu=r}onItemClick(t,n){n.disabled?t.preventDefault():(!n.url&&!n.routerLink&&t.preventDefault(),n.command&&n.command({originalEvent:t,item:n}),n.items&&(this.activeItem&&n===this.activeItem?(this.activeItem=null,this.unbindDocumentClickListener()):(this.activeItem=n,this.root&&this.bindDocumentClickListener())),n.items||this.onLeafClick())}onItemMouseEnter(t,n){n.disabled||this.mobileActive?t.preventDefault():this.root?(this.activeItem||this.autoDisplay||this.popup)&&(this.activeItem=n,this.bindDocumentClickListener()):(this.activeItem=n,this.bindDocumentClickListener())}onLeafClick(){this.activeItem=null,this.root&&this.unbindDocumentClickListener(),this.leafClick.emit()}onItemKeyDown(t,n){let o=t.currentTarget.parentElement;switch(t.key){case"ArrowDown":const l=this.findNextItem(o);l&&l.children[0].focus(),t.preventDefault();break;case"ArrowUp":const r=this.findPrevItem(o);r&&r.children[0].focus(),t.preventDefault();break;case"ArrowRight":n.items&&(this.activeItem=n,this.root&&this.bindDocumentClickListener(),setTimeout(()=>{(o?.children[1].children[0].children[0].children[0]).focus()},50)),t.preventDefault();break;case"Enter":n.routerLink||this.onItemClick(t,n)}this.keydownItem.emit({originalEvent:t,element:o})}positionSubmenu(){let t=this.sublistViewChild&&this.sublistViewChild.nativeElement;if(t){const n=t.parentElement.parentElement,o=C.p.getOffset(n),l=C.p.getViewport(),r=t.offsetParent?t.offsetWidth:C.p.getHiddenElementOuterWidth(t),g=C.p.getOuterWidth(n.children[0]);parseInt(o.left,10)+g+r>l.width-C.p.calculateScrollbarWidth()&&C.p.addClass(t,"p-submenu-list-flipped")}}findNextItem(t){let n=t.nextElementSibling;return n?C.p.hasClass(n,"p-disabled")||!C.p.hasClass(n,"p-menuitem")?this.findNextItem(n):n:null}findPrevItem(t){let n=t.previousElementSibling;return n?C.p.hasClass(n,"p-disabled")||!C.p.hasClass(n,"p-menuitem")?this.findPrevItem(n):n:null}onChildItemKeyDown(t){if("ArrowLeft"===t.key&&(this.activeItem=null,this.root&&this.unbindDocumentClickListener(),t.target)){const n=t.target.parentElement;n&&n.parentElement&&n.parentElement.parentElement&&n.parentElement.parentElement.children[0].focus()}}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{this.el&&!this.el.nativeElement.contains(t.target)&&(this.activeItem=null,this.cd.markForCheck(),this.unbindDocumentClickListener())}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}ngOnDestroy(){this.unbindDocumentClickListener()}static \u0275fac=function(n){return new(n||i)(e.Y36(p.K0),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(ve))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-tieredMenuSub"]],viewQuery:function(n,o){if(1&n&&e.Gf(et,5),2&n){let l;e.iGM(l=e.CRH())&&(o.sublistViewChild=l.first)}},hostAttrs:[1,"p-element"],inputs:{item:"item",root:"root",autoDisplay:"autoDisplay",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",mobileActive:"mobileActive",popup:"popup",parentActive:"parentActive"},outputs:{leafClick:"leafClick",keydownItem:"keydownItem"},decls:3,vars:4,consts:[[3,"ngClass"],["sublist",""],["ngFor","",3,"ngForOf"],["class","p-menu-separator",3,"ngClass",4,"ngIf"],["pTooltip","",3,"ngClass","ngStyle","class","tooltipOptions",4,"ngIf"],[1,"p-menu-separator",3,"ngClass"],["pTooltip","",3,"ngClass","ngStyle","tooltipOptions"],["listItem",""],["pRipple","",3,"target","ngClass","keydown","click","mouseenter",4,"ngIf"],["role","menuitem","pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","keydown","click","mouseenter",4,"ngIf"],[3,"parentActive","item","mobileActive","autoDisplay","popup","keydownItem","leafClick",4,"ngIf"],["pRipple","",3,"target","ngClass","keydown","click","mouseenter"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["htmlLabel",""],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[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"],[3,"styleClass",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"styleClass"],["role","menuitem","pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","keydown","click","mouseenter"],["htmlRouteLabel",""],[3,"parentActive","item","mobileActive","autoDisplay","popup","keydownItem","leafClick"]],template:function(n,o){1&n&&(e.TgZ(0,"ul",0,1),e.YNc(2,It,2,2,"ng-template",2),e.qZA()),2&n&&(e.Q6J("ngClass",e.VKq(2,wt,!o.root)),e.xp6(2),e.Q6J("ngForOf",o.root?o.item:null==o.item?null:o.item.items))},dependencies:function(){return[p.mk,p.sg,p.O5,p.tP,p.PC,Z.rH,Z.Od,R.H,q.u,he.o,i]},encapsulation:2})}return i})(),ve=(()=>{class i{document;el;renderer;cd;config;overlayService;model;popup;style;styleClass;appendTo;autoZIndex=!0;baseZIndex=0;autoDisplay;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";onShow=new e.vpe;onHide=new e.vpe;templates;submenuIconTemplate;parentActive;container;documentClickListener;documentResizeListener;preventDocumentDefault;scrollHandler;target;visible;relativeAlign;window;constructor(t,n,o,l,r,g){this.document=t,this.el=n,this.renderer=o,this.cd=l,this.config=r,this.overlayService=g,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{"submenuicon"===t.getType()&&(this.submenuIconTemplate=t.template)})}toggle(t){this.visible?this.hide():this.show(t),this.preventDocumentDefault=!0}show(t){this.target=t.currentTarget,this.relativeAlign=t.relativeAlign,this.visible=!0,this.parentActive=!0,this.preventDocumentDefault=!0,this.cd.markForCheck()}onOverlayClick(t){this.popup&&this.overlayService.add({originalEvent:t,target:this.el.nativeElement}),this.preventDocumentDefault=!0}onOverlayAnimationStart(t){switch(t.toState){case"visible":this.popup&&(this.container=t.element,this.moveOnTop(),this.onShow.emit({}),this.appendOverlay(),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener());break;case"void":this.onOverlayHide(),this.onHide.emit({})}}alignOverlay(){this.relativeAlign?C.p.relativePosition(this.container,this.target):C.p.absolutePosition(this.container,this.target)}onOverlayAnimationEnd(t){"void"===t.toState&&w.P9.clear(t.element)}appendOverlay(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):C.p.appendChild(this.container,this.appendTo))}restoreOverlayAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.container)}moveOnTop(){this.autoZIndex&&w.P9.set("menu",this.container,this.baseZIndex+this.config.zIndex.menu)}hide(){this.visible=!1,this.relativeAlign=!1,this.parentActive=!1,this.cd.markForCheck()}onWindowResize(){this.visible&&!C.p.isTouchDevice()&&this.hide()}onLeafClick(){this.popup&&this.hide(),this.unbindDocumentClickListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",()=>{!this.preventDocumentDefault&&this.popup&&this.hide(),this.preventDocumentDefault=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(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 C.V(this.target,()=>{this.visible&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.preventDocumentDefault=!1,this.cd.destroyed||(this.target=null)}ngOnDestroy(){this.popup&&(this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.container&&this.autoZIndex&&w.P9.clear(this.container),this.restoreOverlayAppend(),this.onOverlayHide())}static \u0275fac=function(n){return new(n||i)(e.Y36(p.K0),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(u.b4),e.Y36(u.F0))};static \u0275cmp=e.Xpm({type:i,selectors:[["p-tieredMenu"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,u.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},hostAttrs:[1,"p-element"],inputs:{model:"model",popup:"popup",style:"style",styleClass:"styleClass",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide"},decls:1,vars:1,consts:[[3,"ngClass","class","ngStyle","click",4,"ngIf"],[3,"ngClass","ngStyle","click"],["root","root",3,"item","parentActive","baseZIndex","autoZIndex","autoDisplay","popup","leafClick"]],template:function(n,o){1&n&&e.YNc(0,Mt,2,19,"div",0),2&n&&e.Q6J("ngIf",!o.popup||o.visible)},dependencies:[p.mk,p.O5,p.PC,Dt],styles:[".p-tieredmenu-overlay{position:absolute;top:0;left:0}.p-tieredmenu ul{margin:0;padding:0;list-style:none}.p-tieredmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1;display:none}.p-tieredmenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-tieredmenu .p-menuitem-text{line-height:1}.p-tieredmenu .p-menuitem{position:relative}.p-tieredmenu .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-tieredmenu .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-tieredmenu .p-menuitem-active>p-tieredmenusub>.p-submenu-list{display:block;left:100%;top:0}.p-tieredmenu .p-menuitem-active>p-tieredmenusub>.p-submenu-list.p-submenu-list-flipped{left:-100%}\n"],encapsulation:2,data:{animation:[(0,v.X$)("overlayAnimation",[(0,v.eR)(":enter",[(0,v.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,v.jt)("{{showTransitionParams}}")]),(0,v.eR)(":leave",[(0,v.jt)("{{hideTransitionParams}}",(0,v.oB)({opacity:0}))])])]},changeDetection:0})}return i})(),be=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[p.ez,Z.Bz,R.T,q.z,he.o,u.m8,Z.Bz,q.z,u.m8]})}return i})();const Nt=["container"],St=["defaultbtn"],Ft=["menu"];function Ut(i,a){1&i&&e.GkF(0)}function Ot(i,a){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",9),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onDefaultButtonClick(o))}),e.YNc(2,Ut,1,0,"ng-container",6),e.qZA(),e.BQk()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("icon",t.icon)("iconPos",t.iconPos)("disabled",t.disabled),e.uIk("tabindex",t.tabindex),e.xp6(1),e.Q6J("ngTemplateOutlet",t.contentTemplate)}}function qt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",10,11),e.NdJ("click",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onDefaultButtonClick(o))}),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("icon",t.icon)("iconPos",t.iconPos)("label",t.label)("disabled",t.disabled),e.uIk("tabindex",t.tabindex)}}function zt(i,a){1&i&&e._UZ(0,"ChevronDownIcon")}function Jt(i,a){}function Gt(i,a){1&i&&e.YNc(0,Jt,0,0,"ng-template")}let Lt=(()=>{class i{model;icon;iconPos="left";label;style;styleClass;menuStyle;menuStyleClass;disabled;tabindex;appendTo;dir;expandAriaLabel;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";onClick=new e.vpe;onDropdownClick=new e.vpe;containerViewChild;buttonViewChild;menu;templates;contentTemplate;dropdownIconTemplate;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":default:this.contentTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template}})}onDefaultButtonClick(t){this.onClick.emit(t)}onDropdownButtonClick(t){this.onDropdownClick.emit(t),this.menu?.toggle({currentTarget:this.containerViewChild?.nativeElement,relativeAlign:null==this.appendTo})}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=e.Xpm({type:i,selectors:[["p-splitButton"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,u.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},viewQuery:function(n,o){if(1&n&&(e.Gf(Nt,5),e.Gf(St,5),e.Gf(Ft,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.containerViewChild=l.first),e.iGM(l=e.CRH())&&(o.buttonViewChild=l.first),e.iGM(l=e.CRH())&&(o.menu=l.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",icon:"icon",iconPos:"iconPos",label:"label",style:"style",styleClass:"styleClass",menuStyle:"menuStyle",menuStyleClass:"menuStyleClass",disabled:"disabled",tabindex:"tabindex",appendTo:"appendTo",dir:"dir",expandAriaLabel:"expandAriaLabel",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onClick:"onClick",onDropdownClick:"onDropdownClick"},decls:10,vars:18,consts:[[3,"ngClass","ngStyle"],["container",""],[4,"ngIf","ngIfElse"],["defaultButton",""],["type","button","pButton","",1,"p-splitbutton-menubutton","p-button-icon-only",3,"disabled","click"],[4,"ngIf"],[4,"ngTemplateOutlet"],[3,"popup","model","styleClass","appendTo","showTransitionOptions","hideTransitionOptions"],["menu",""],["type","button","pButton","",1,"p-splitbutton-defaultbutton",3,"icon","iconPos","disabled","click"],["type","button","pButton","",1,"p-splitbutton-defaultbutton",3,"icon","iconPos","label","disabled","click"],["defaultbtn",""]],template:function(n,o){if(1&n&&(e.TgZ(0,"div",0,1),e.YNc(2,Ot,3,5,"ng-container",2),e.YNc(3,qt,2,5,"ng-template",null,3,e.W1O),e.TgZ(5,"button",4),e.NdJ("click",function(r){return o.onDropdownButtonClick(r)}),e.YNc(6,zt,1,0,"ChevronDownIcon",5),e.YNc(7,Gt,1,0,null,6),e.qZA(),e._UZ(8,"p-tieredMenu",7,8),e.qZA()),2&n){const l=e.MAs(4);e.Tol(o.styleClass),e.Q6J("ngClass","p-splitbutton p-component")("ngStyle",o.style),e.xp6(2),e.Q6J("ngIf",o.contentTemplate)("ngIfElse",l),e.xp6(3),e.Q6J("disabled",o.disabled),e.uIk("aria-label",o.expandAriaLabel),e.xp6(1),e.Q6J("ngIf",!o.dropdownIconTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",o.dropdownIconTemplate),e.xp6(1),e.Akn(o.menuStyle),e.Q6J("popup",!0)("model",o.model)("styleClass",o.menuStyleClass)("appendTo",o.appendTo)("showTransitionOptions",o.showTransitionOptions)("hideTransitionOptions",o.hideTransitionOptions)}},dependencies:function(){return[p.mk,p.O5,p.tP,p.PC,F.Hq,ve,fe.v]},styles:[".p-splitbutton{display:inline-flex;position:relative}.p-splitbutton .p-splitbutton-defaultbutton,.p-splitbutton.p-button-rounded>.p-splitbutton-defaultbutton.p-button,.p-splitbutton.p-button-outlined>.p-splitbutton-defaultbutton.p-button{flex:1 1 auto;border-top-right-radius:0;border-bottom-right-radius:0;border-right:0 none}.p-splitbutton-menubutton,.p-splitbutton.p-button-rounded>.p-splitbutton-menubutton.p-button,.p-splitbutton.p-button-outlined>.p-splitbutton-menubutton.p-button{display:flex;align-items:center;justify-content:center;border-top-left-radius:0;border-bottom-left-radius:0}.p-splitbutton .p-menu{min-width:100%}.p-fluid .p-splitbutton{display:flex}\n"],encapsulation:2,changeDetection:0})}return i})(),Qt=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[p.ez,F.hJ,be,fe.v,F.hJ,be]})}return i})();var Ht=s(8611),Rt=s(1645),Yt=s(7939),Bt=s(7592),Kt=s(1496),Pt=s(1872),jt=s(5668);const Vt=["identifier"],$t=["dt"],Wt=function(){return{minWidth:"35rem"}};function Xt(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",84)(1,"h5",85),e._uU(2,"Vend\xe9gek"),e.qZA(),e.TgZ(3,"span",86)(4,"app-conference-selector",87),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedConferences=o)})("ngModelChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onConferenceSelectionChange(o))}),e.qZA()(),e.TgZ(5,"span",88),e._UZ(6,"i",89),e.TgZ(7,"input",90),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw(),r=e.MAs(4);return e.KtG(l.onGlobalFilter(r,o))}),e.qZA()(),e.TgZ(8,"span",91)(9,"button",92),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.create())}),e.qZA(),e.TgZ(10,"button",93),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.bulkDeleteDialog=!0)}),e.qZA(),e.TgZ(11,"p-fileUpload",94,95),e.NdJ("onSend",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onSend(o))})("onError",function(o){e.CHM(t);const l=e.MAs(12),r=e.oxw();return e.KtG(r.onExcelUploadError(o,l))})("onUpload",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onExcelUpload(o))}),e.qZA(),e._UZ(13,"p-splitButton",96),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(4),e.Akn(e.DdM(13,Wt)),e.Q6J("ngModel",t.selectedConferences)("showClear",!0)("selectionLimit",1)("selectFirstOption",t.isOrganizer),e.xp6(5),e.Q6J("disabled",!t.canCreate),e.xp6(1),e.Q6J("disabled",!t.selected||!t.selected.length||!t.canDelete),e.xp6(1),e.MGl("url","",t.apiURL,"/guest/import"),e.Q6J("auto",!0)("maxFileSize",9999999)("disabled",!t.canImport),e.xp6(2),e.Q6J("model",t.exportButtonItems)}}function en(i,a){if(1&i&&(e.TgZ(0,"th",118),e._uU(1,"NFC "),e.TgZ(2,"span",119),e._uU(3),e.qZA(),e._UZ(4,"p-sortIcon",120),e.qZA()),2&i){const t=e.oxw(2);e.xp6(3),e.AsE("(",t.totalTaggedGuests,"/",t.totalRecords,")")}}function tn(i,a){1&i&&(e.TgZ(0,"th",121),e._uU(1,"El\u0151leget fizetett "),e._UZ(2,"p-sortIcon",122),e.qZA())}function nn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"input",123),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.rfidFilterValue=o)})("input",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onFilter(o,"rfid"))}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("ngModel",t.rfidFilterValue)}}function on(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-dropdown",124),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.prepaidFilterValue=o)})("onChange",function(o){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onFilter(o,"prepaid"))}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("options",t.prepaidOptions)("ngModel",t.prepaidFilterValue)("showClear",!0)}}function an(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th")(2,"th",97),e.TgZ(3,"th",98),e._uU(4,"N\xe9v "),e._UZ(5,"p-sortIcon",99),e.qZA(),e.TgZ(6,"th",100),e._uU(7,"Szoba "),e._UZ(8,"p-sortIcon",101),e.qZA(),e.TgZ(9,"th",102),e._uU(10,"\xc9trend "),e._UZ(11,"p-sortIcon",103),e.qZA(),e.YNc(12,en,5,2,"th",104),e.YNc(13,tn,3,0,"th",105),e.TgZ(14,"th",106),e._uU(15,"NFC haszn\xe1lat"),e._UZ(16,"p-sortIcon",107),e.qZA(),e.TgZ(17,"th",108),e._uU(18,"\xc9rkez\xe9s "),e._UZ(19,"p-sortIcon",109),e.qZA(),e.TgZ(20,"th",110),e._uU(21,"T\xe1voz\xe1s "),e._UZ(22,"p-sortIcon",111),e.qZA(),e._UZ(23,"th"),e.qZA(),e.TgZ(24,"tr")(25,"th",97),e._UZ(26,"p-tableHeaderCheckbox"),e.qZA(),e._UZ(27,"th"),e.TgZ(28,"th")(29,"input",112),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"lastName"))}),e.qZA()(),e.TgZ(30,"th")(31,"input",113),e.NdJ("input",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"roomNum"))}),e.qZA()(),e.TgZ(32,"th")(33,"app-diet-selector",114),e.NdJ("change",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"diet"))}),e.qZA()(),e.TgZ(34,"th"),e.YNc(35,nn,1,1,"input",115),e.YNc(36,on,1,3,"p-dropdown",116),e.qZA(),e.TgZ(37,"th")(38,"p-calendar",117),e.NdJ("onSelect",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"lastRfidUsage"))})("onClearClick",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"lastRfidUsage"))}),e.qZA()(),e.TgZ(39,"th")(40,"p-calendar",117),e.NdJ("onSelect",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfArrival"))})("onClearClick",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfArrival"))}),e.qZA()(),e.TgZ(41,"th")(42,"p-calendar",117),e.NdJ("onSelect",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfDeparture"))})("onClearClick",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(o,"dateOfDeparture"))}),e.qZA()(),e._UZ(43,"th"),e.qZA()}if(2&i){const t=e.oxw();e.xp6(12),e.Q6J("ngIf",!t.isOrganizer),e.xp6(1),e.Q6J("ngIf",t.isOrganizer),e.xp6(20),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("ngIf",!t.isOrganizer),e.xp6(1),e.Q6J("ngIf",t.isOrganizer),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showButtonBar",!0)}}function ln(i,a){1&i&&e._UZ(0,"span",140)}function sn(i,a){if(1&i&&(e.TgZ(0,"span",141),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.Q6J("ngClass","color-badge "+(null==t||null==t.dietDetails?null:t.dietDetails.color)),e.xp6(1),e.hij(" ",t.diet," ")}}function rn(i,a){1&i&&e._UZ(0,"p-tag",142)}function un(i,a){if(1&i&&(e.TgZ(0,"td")(1,"span",127),e._uU(2,"NFC"),e.qZA(),e._uU(3),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",t.rfid," ")}}function pn(i,a){if(1&i&&(e.TgZ(0,"td")(1,"span",127),e._uU(2,"El\u0151leget fizetett"),e.qZA(),e._uU(3),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",t.prepaid?"Igen":"Nem"," ")}}function cn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",125),e.qZA(),e.TgZ(3,"td"),e._UZ(4,"p-button",126),e.qZA(),e.TgZ(5,"td")(6,"span",127),e._uU(7,"N\xe9v"),e.qZA(),e._uU(8),e.YNc(9,ln,1,0,"span",128),e.qZA(),e.TgZ(10,"td",129)(11,"span",127),e._uU(12,"Szoba"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"td"),e.YNc(15,sn,2,2,"span",130),e.TgZ(16,"span",127),e._uU(17,"\xc9trend"),e.qZA(),e.YNc(18,rn,1,0,"p-tag",131),e.qZA(),e.YNc(19,un,4,1,"td",80),e.YNc(20,pn,4,1,"td",80),e.TgZ(21,"td",132)(22,"span",127),e._uU(23,"Utols\xf3 NFC haszn\xe1lat"),e.qZA(),e._uU(24),e.ALo(25,"date"),e.qZA(),e.TgZ(26,"td",133)(27,"span",127),e._uU(28,"\xc9rkez\xe9s"),e.qZA(),e.TgZ(29,"span",134),e._UZ(30,"i",135),e._uU(31),e.ALo(32,"date"),e.qZA()(),e.TgZ(33,"td",133)(34,"span",127),e._uU(35,"T\xe1voz\xe1s"),e.qZA(),e.TgZ(36,"span",134),e._UZ(37,"i",135),e._uU(38),e.ALo(39,"date"),e.qZA()(),e.TgZ(40,"td")(41,"div",136)(42,"button",137),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return e.KtG(r.assignTag(l))}),e.qZA(),e.TgZ(43,"button",138),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return e.KtG(r.edit(l))}),e.qZA(),e.TgZ(44,"button",139),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return r.tableItem=l,e.KtG(r.deleteDialog=!0)}),e.qZA()()()()}if(2&i){const t=a.$implicit,n=a.expanded,o=e.oxw();e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("pRowToggler",t)("icon",n?"pi pi-chevron-down":"pi pi-chevron-right"),e.xp6(4),e.lnq(" ",t.lastName," ",t.firstName," (",o.getAge(t.birthDate),") "),e.xp6(1),e.Q6J("ngIf",t.rfid),e.xp6(4),e.hij(" ",t.roomNum," "),e.xp6(2),e.Q6J("ngIf",o.hasDietName(t.diet)),e.xp6(3),e.Q6J("ngIf",!o.hasDietName(t.diet)),e.xp6(1),e.Q6J("ngIf",!o.isOrganizer),e.xp6(1),e.Q6J("ngIf",o.isOrganizer),e.xp6(4),e.hij(" ",e.xi3(25,18,t.lastRfidUsage,"yyyy.MM.dd HH:mm:ss")," "),e.xp6(7),e.hij(" ",e.xi3(32,21,t.dateOfArrival,"yyyy.MM.dd")," "),e.xp6(7),e.hij(" ",e.xi3(39,24,t.dateOfDeparture,"yyyy.MM.dd")," "),e.xp6(4),e.Q6J("disabled",!o.canAssign),e.xp6(1),e.Q6J("disabled",!o.canEdit),e.xp6(1),e.Q6J("disabled",!o.canDelete)}}function dn(i,a){1&i&&(e.TgZ(0,"span"),e._uU(1,"?"),e.qZA())}function mn(i,a){if(1&i&&(e.TgZ(0,"div")(1,"div",153)(2,"div",154),e._uU(3),e.YNc(4,dn,2,0,"span",80),e.qZA(),e.TgZ(5,"div"),e._uU(6),e.qZA()()()),2&i){const t=a.$implicit;e.xp6(3),e.hij(" ",t.hu," "),e.xp6(1),e.Q6J("ngIf",!t.hu.trim().endsWith("?")),e.xp6(2),e.Oqu(t.answers)}}function gn(i,a){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,mn,7,3,"div",152),e.qZA()),2&i){const t=a.$implicit;e.xp6(1),e.Q6J("ngForOf",t.translations)}}function _n(i,a){1&i&&e._UZ(0,"p-skeleton",158)}function fn(i,a){if(1&i&&e._UZ(0,"p-image",159),2&i){const t=e.oxw(2);e.Q6J("src",t.imageUrl)("preview",!0)}}function hn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td",143)(2,"div",144)(3,"div",145)(4,"div",146)(5,"div",147)(6,"table",148)(7,"tr")(8,"td",149),e._uU(9,"Sz\xfclet\xe9si d\xe1tum"),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"date"),e.qZA()(),e.TgZ(13,"tr")(14,"td",149),e._uU(15,"Nem:"),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",149),e._uU(20,"Nemzetis\xe9g:"),e.qZA(),e.TgZ(21,"td"),e._UZ(22,"img",150),e._uU(23),e.qZA()(),e.TgZ(24,"tr")(25,"td",149),e._uU(26,"Orsz\xe1g:"),e.qZA(),e.TgZ(27,"td"),e._UZ(28,"img",150),e._uU(29),e.qZA()(),e.TgZ(30,"tr")(31,"td",149),e._uU(32,"Telefon:"),e.qZA(),e.TgZ(33,"td"),e._uU(34),e.qZA()(),e.TgZ(35,"tr")(36,"td",149),e._uU(37,"Email:"),e.qZA(),e.TgZ(38,"td"),e._uU(39),e.qZA()(),e.TgZ(40,"tr")(41,"td",149),e._uU(42,"Ir\xe1ny\xedt\xf3sz\xe1m:"),e.qZA(),e.TgZ(43,"td"),e._uU(44),e.qZA()(),e.TgZ(45,"tr")(46,"td",149),e._uU(47,"Fizet\xe9si m\xf3d:"),e.qZA(),e.TgZ(48,"td"),e._uU(49),e.qZA()(),e.TgZ(50,"tr")(51,"td",149),e._uU(52,"Els\u0151 \xe9tkez\xe9s:"),e.qZA(),e.TgZ(53,"td"),e._uU(54),e.qZA()(),e.TgZ(55,"tr")(56,"td",149),e._uU(57,"Utols\xf3 \xe9tkez\xe9s:"),e.qZA(),e.TgZ(58,"td"),e._uU(59),e.qZA()(),e.TgZ(60,"tr")(61,"td",149),e._uU(62,"Konferencia:"),e.qZA(),e.TgZ(63,"td"),e._uU(64),e.qZA()(),e.TgZ(65,"tr")(66,"td",149),e._uU(67,"Szoba t\xedpus:"),e.qZA(),e.TgZ(68,"td"),e._uU(69),e.qZA()(),e.TgZ(70,"tr")(71,"td",149),e._uU(72,"Kivel lakn\xe1l egy szob\xe1ban:"),e.qZA(),e.TgZ(73,"td"),e._uU(74),e.qZA()(),e.TgZ(75,"tr")(76,"td",149),e._uU(77,"Baba\xe1gyat k\xe9r:"),e.qZA(),e.TgZ(78,"td"),e._uU(79),e.qZA()(),e.TgZ(80,"tr")(81,"td",149),e._uU(82,"Kl\xedm\xe1t k\xe9r:"),e.qZA(),e.TgZ(83,"td"),e._uU(84),e.qZA()()()(),e.TgZ(85,"div",151),e.YNc(86,gn,2,1,"div",152),e.TgZ(87,"div",153)(88,"div",154),e._uU(89,"Szem\xe9lyi igazolv\xe1ny"),e.qZA(),e.TgZ(90,"div")(91,"button",155),e.NdJ("click",function(){const l=e.CHM(t).$implicit,r=e.oxw();return e.KtG(r.downloadIdCard(l.idcard))}),e.qZA()(),e.TgZ(92,"div"),e.YNc(93,_n,1,0,"p-skeleton",156),e.YNc(94,fn,1,2,"p-image",157),e.qZA()()()()()()()()}if(2&i){const t=a.$implicit,n=e.oxw();e.xp6(11),e.Oqu(e.xi3(12,22,t.birthDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(1==t.gender?"F\xe9rfi":"N\u0151"),e.xp6(5),e.Tol("mr-2 flag flag-"+(null==t.nationality?null:t.nationality.toLowerCase())),e.xp6(1),e.hij(" ",n.getNationalityInHungarian(t.nationality)," "),e.xp6(5),e.Tol("mr-2 flag flag-"+n.getCountryCode(t.country)),e.xp6(1),e.hij(" ",n.getCountryNameInHungarian(t.country)," "),e.xp6(5),e.Oqu(t.telephone),e.xp6(5),e.Oqu(t.email),e.xp6(5),e.Oqu(t.zipCode),e.xp6(5),e.Oqu(t.payment),e.xp6(5),e.Oqu(t.firstMeal),e.xp6(5),e.Oqu(t.lastMeal),e.xp6(5),e.Oqu(t.conferenceName),e.xp6(5),e.Oqu(t.roomType),e.xp6(5),e.Oqu(t.roomMate),e.xp6(5),e.Oqu(1==t.babyBed?"Igen":"Nem"),e.xp6(5),e.Oqu(1==t.climate?"Igen":"Nem"),e.xp6(2),e.Q6J("ngForOf",t.answers),e.xp6(7),e.Q6J("ngIf",!n.imageUrl),e.xp6(1),e.Q6J("ngIf",n.imageUrl)}}function Cn(i,a){if(1&i&&(e.TgZ(0,"tr")(1,"td",160),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&i){const t=e.oxw();e.xp6(1),e.uIk("colspan",t.cols.length+3)}}function vn(i,a){if(1&i&&(e.TgZ(0,"span",161),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",null!=t.id&&t.id.value?"Vend\xe9g adatai":"\xdaj vend\xe9g"," ")}}function bn(i,a){1&i&&(e.TgZ(0,"div",162),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Tn(i,a){1&i&&(e.TgZ(0,"div",162),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function yn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Neme k\xf6telez\u0151 "),e.qZA())}function Zn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Sz\xfclet\xe9si d\xe1tum k\xf6telez\u0151 "),e.qZA())}function xn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," \xc1llampolg\xe1rs\xe1g k\xf6telez\u0151 "),e.qZA())}function In(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Orsz\xe1g k\xf6telez\u0151 "),e.qZA())}function wn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Ir\xe1ny\xedt\xf3sz\xe1m k\xf6telez\u0151 "),e.qZA())}function An(i,a){1&i&&(e.TgZ(0,"div"),e._uU(1," Email k\xf6telez\u0151 "),e.qZA())}function En(i,a){1&i&&(e.TgZ(0,"div"),e._uU(1," Nem megfelel\u0151 email form\xe1tum "),e.qZA())}function kn(i,a){if(1&i&&(e.TgZ(0,"div",163),e.YNc(1,An,2,0,"div",80),e.YNc(2,En,2,0,"div",80),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null==t.email||null==t.email.errors?null:t.email.errors.required),e.xp6(1),e.Q6J("ngIf",null==t.email||null==t.email.errors?null:t.email.errors.email)}}function Mn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Telefon k\xf6telez\u0151 "),e.qZA())}function Dn(i,a){1&i&&(e.TgZ(0,"div",162),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Nn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, adja meg az \xe9rkez\xe9s d\xe1tum\xe1t! "),e.qZA())}function Sn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," Az \xe9rkez\xe9s d\xe1tum\xe1nak kor\xe1bbinak kell lennie, mint a t\xe1voz\xe1si d\xe1tum! "),e.qZA())}function Fn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, v\xe1lassza ki az els\u0151 \xe9tkez\xe9s\xe9t! "),e.qZA())}function Un(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, v\xe1lassza ki az \xe9trendj\xe9t! "),e.qZA())}function On(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, adja meg a t\xe1voz\xe1s d\xe1tum\xe1t! "),e.qZA())}function qn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," A t\xe1voz\xe1s d\xe1tum\xe1nak k\xe9s\u0151bbinek kell lennie, mint az \xe9rkez\xe9si d\xe1tum! "),e.qZA())}function zn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, v\xe1lassza ki az utols\xf3 \xe9tkez\xe9s\xe9t! "),e.qZA())}function Jn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function Gn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki a sz\xe1ll\xe1st\xedpust! "),e.qZA())}function Ln(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki a fizet\xe9si m\xf3dot! "),e.qZA())}function Qn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck, t\xf6ltse fel a szem\xe9lyi igazolv\xe1ny\xe1nak m\xe1solat\xe1t! "),e.qZA())}function Hn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function Rn(i,a){1&i&&(e.TgZ(0,"div",163),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function Yn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"div",164)(1,"button",165),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.cancel())}),e.qZA(),e.TgZ(2,"button",166),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.save())}),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("disabled",!t.guestForm.dirty),e.xp6(1),e.Q6J("disabled",!t.guestForm.valid||!t.guestForm.dirty)}}function Bn(i,a){if(1&i&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4,"-t?"),e.qZA()),2&i){const t=e.oxw();e.xp6(3),e.AsE("",t.guest.lastName," ",t.guest.firstName,"")}}function Kn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",167),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.deleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",168),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.delete())}),e.qZA()}}function Pn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",167),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",168),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.deleteSelected())}),e.qZA()}}function jn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"p-messages",169),e.NdJ("valueChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.messages=o)}),e.qZA(),e.TgZ(1,"div",170)(2,"div",171)(3,"label",172),e._uU(4,"C\xedmke azonos\xedt\xf3"),e.qZA(),e.TgZ(5,"input",173,174),e.NdJ("ngModelChange",function(o){e.CHM(t);const l=e.oxw();return e.KtG(l.scannedCode=o)}),e.qZA()()(),e.TgZ(7,"div",160)(8,"button",175),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.unAssignTag())}),e.qZA()()}if(2&i){const t=e.oxw();e.Q6J("value",t.messages)("enableService",!1)("closable",!1),e.xp6(5),e.Q6J("ngModel",t.scannedCode),e.xp6(3),e.Q6J("disabled",!(null!=t.guest.rfid&&t.guest.rfid.length))}}function Vn(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",176),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.hideTagDialog())}),e.qZA(),e.TgZ(1,"button",177),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.saveTag())}),e.qZA()}}const $n=function(){return["firstName","lastName","rfid","roomNum","diet","birthDate","dateOfArrival","dateOfDeparture","firstMeal","lastMeal"]},Wn=function(){return{"min-height":"calc(100vh - 320px)"}},Te=function(i){return{"ng-invalid":i}},B=function(){return{width:"450px"}};_.locale("hu");let K=class V{constructor(a,t,n,o,l,r,g,b,f,z,A,E){this.http=a,this.guestService=t,this.userService=n,this.tagService=o,this.conferenceService=l,this.genderService=r,this.dietService=g,this.countryService=b,this.messageService=f,this.logService=z,this.cdRef=A,this.fb=E,this.loading=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100,9999],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.canAssign=!1,this.canImport=!1,this.isMobile=!1,this.messages=[],this.successfulMessage=[],this.tag={},this.tagDialog=!1,this.conferences=[],this.selectedConferences=[],this.guest={},this.guestDialog=!1,this.cols=[],this.diets=[],this.meals=[],this.genders=[],this.countries=[],this.scanTemp="",this.scannedCode="",this.totalTaggedGuests=0,this.isOrganizer=!1,this.imageUrl=null,this.prepaidOptions=[],this.formChanges$=new I.x,this.guestForm=this.fb.group({id:[""],firstName:["",d.kI.required],lastName:["",d.kI.required],gender:["",d.kI.required],nationality:["",d.kI.required],country:["",d.kI.required],zipCode:["",d.kI.required],roomNum:[""],dateOfArrival:["",d.kI.required],firstMeal:["",d.kI.required],dateOfDeparture:["",d.kI.required],lastMeal:["",d.kI.required],szepCard:["",[]],accommodationExtra:["",[]],birthDate:["",d.kI.required],rfid:["",[]],rfidColor:["",[]],enabled:[!0,[]],conference:new d.NI([]),conferenceName:["",[]],conferenceid:["",[]],diet:["",d.kI.required],diet_id:["",[]],lastRfidUsage:["",[]],is_test:["",[]],email:["",[]],telephone:["",[]],roomType:["",[]],payment:["",[]],babyBed:["",[]],prepaid:["",[]],roomMate:["",[]],idCard:[null],climate:["",[]]},{validators:(0,y.W)("dateOfArrival","dateOfDeparture")}),this.exportButtonItems=[{label:"\xdcres sablon",icon:"pi pi-file-excel",command:()=>{this.downloadImportTemplate()}},{label:"T\xe1bl\xe1zat Excel",icon:"pi pi-file-excel",command:()=>{this.exportExcel()}}]}ngOnInit(){this.apiURL=this.guestService.apiURL,this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canCreate=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin","Szervezo"]).subscribe(a=>this.canEdit=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canDelete=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canAssign=a),this.userService.hasRole(["Super Admin","Nagy Admin","Kis Admin"]).subscribe(a=>this.canImport=a),this.userService.hasRole(["Szervezo"]).subscribe(a=>this.isOrganizer=a),this.guestObs$=this.guestService.guestObs,this.guestObs$.subscribe(a=>{this.loading=!1,a&&a.rows&&(this.tableData=a.rows||[],this.totalRecords=a.totalItems||0,this.page=a.currentPage||0,(0,e.X6Q)()||(this.tableData=a.rows?.filter(t=>!0!==t.is_test)||[]),this.totalTaggedGuests=a.rfidCount||0)}),this.genderObs$=this.genderService.genderObs,this.genderObs$.subscribe(a=>{this.genders=a}),this.genderService.getGenders(0,999,{sortField:"id",sortOrder:1}),this.dietService.getDietsForSelector().subscribe({next:a=>{this.diets=a}}),this.countryService.getCountries().subscribe(a=>{this.countries=a}),this.messageObs$=this.guestService.messageObs,this.messageObs$.subscribe(a=>{this.loading=!1,"ERROR"==a?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):this.messages=this.successfulMessage}),this.cols=[{field:"name",header:"N\xe9v"},{field:"roomNum",header:"Szoba"},{field:"diet",header:"\xc9trend"},{field:"rfid",header:"NFC"},{field:"lastRfidUsage",header:"NFC haszn\xe1lat"},{field:"dateOfArrival",header:"\xc9rkez\xe9s"},{field:"dateOfDeparture",header:"T\xe1voz\xe1s"}],this.prepaidOptions=[{name:"Igen",value:"true"},{name:"Nem",value:"false"}],this.isFormValid$=this.formChanges$.pipe((0,h.b)(300),(0,x.x)(),(0,S.U)(()=>this.guestForm.valid)),this.guestForm.valueChanges.pipe((0,h.b)(300)).subscribe(()=>this.formChanges$.next()),this.guestForm.get("dateOfArrival")?.valueChanges.subscribe(()=>{this.getEarliestFirstMeal(),this.getLatestFirstMeal(),this.cdRef.detectChanges()}),this.guestForm.get("dateOfDeparture")?.valueChanges.subscribe(()=>{this.getEarliestLastMeal(),this.getLatestLastMeal(),this.cdRef.detectChanges()}),this.guestForm.get("diet")?.valueChanges.subscribe(()=>{const a=this.guestForm.get("diet")?.value,t=this.diets.find(n=>n.name===a)?.id||null;this.guestForm.patchValue({diet_id:t})})}get id(){return this.guestForm.get("id")}get firstName(){return this.guestForm.get("firstName")}get lastName(){return this.guestForm.get("lastName")}get gender(){return this.guestForm.get("gender")}get nationality(){return this.guestForm.get("nationality")}get country(){return this.guestForm.get("country")}get zipCode(){return this.guestForm.get("zipCode")}get roomNum(){return this.guestForm.get("roomNum")}get dateOfArrival(){return this.guestForm.get("dateOfArrival")}get firstMeal(){return this.guestForm.get("firstMeal")}get dateOfDeparture(){return this.guestForm.get("dateOfDeparture")}get lastMeal(){return this.guestForm.get("lastMeal")}get szepCard(){return this.guestForm.get("szepCard")}get accommodationExtra(){return this.guestForm.get("accommodationExtra")}get birthDate(){return this.guestForm.get("birthDate")}get rfidColor(){return this.guestForm.get("rfidColor")}get enabled(){return this.guestForm.get("enabled")}get conference(){return this.guestForm.get("conference")}get diet(){return this.guestForm.get("diet")}get lastRfidUsage(){return this.guestForm.get("lastRfidUsage")}get is_test(){return this.guestForm.get("is_test")}get email(){return this.guestForm.get("email")}get telephone(){return this.guestForm.get("telephone")}get roomType(){return this.guestForm.get("roomType")}get payment(){return this.guestForm.get("payment")}get babyBed(){return this.guestForm.get("babyBed")}get prepaid(){return this.guestForm.get("prepaid")}get roomMate(){return this.guestForm.get("roomMate")}get idCard(){return this.guestForm.get("idCard")}get climate(){return this.guestForm.get("climate")}doQuery(){if(this.isOrganizer&&!this.selectedConferences.length)return;this.loading=!0;const t=Object.keys(this.filterValues).map(n=>this.filterValues[n].length>0?`${n}=${this.filterValues[n]}`:"").filter(n=>n.length>0).join("&");return""!==this.globalFilter?this.guestService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.guestService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(a,t){if(this.isOrganizer&&!this.selectedConferences)return;let o="";a instanceof Date?o=_(a).format("YYYY.MM.DD"):a&&(a.value||a.target?.value)&&("rfid"==t?(o=a.target?.value.replaceAll("\xf6","0").replaceAll("\xd6","0"),this.rfidFilterValue=o):o=a.value||a.target?.value),this.filterValues[t]=o,["diet","lastRfidUsage","dateOfArrival","dateOfDeparture","prepaid"].includes(t)?this.filterValues[t]===o&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===o&&this.doQuery()},500))}onLazyLoad(a){this.page=a.first/a.rows,this.rowsPerPage=a.rows??this.rowsPerPage,this.sortField=a.sortField??"",this.sortOrder=a.sortOrder??1,this.globalFilter=a.globalFilter??"",this.doQuery()}onGlobalFilter(a,t){a.filterGlobal(t.target.value,"contains")}onRowExpand(a){this.imageUrl=null,this.getIdCardURL(a.idcard||"")}create(){this.guestForm.reset(),this.sidebar=!0}edit(a){if(this.guestForm.reset(),this.originalFormValues=this.guestForm.value,this.sidebar=!0,a.conferenceid){const t=this.conferenceSelector.conferences.find(n=>n.id===a.conferenceid);a.conference=t?[t]:[],setTimeout(()=>{this.guestForm.patchValue(a)}),this.beginDate=t?.beginDate?new Date(t.beginDate):void 0,this.endDate=t?.endDate?new Date(t.endDate):void 0,this.getEarliestFirstMeal(),this.getLatestFirstMeal(),this.getEarliestLastMeal(),this.getLatestLastMeal(),this.cdRef.detectChanges()}}delete(){this.loading=!0,this.deleteDialog=!1,this.guestService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.bulkDeleteDialog=!1,this.guestService.bulkdelete(this.selected)}hideDialog(){this.guestDialog=!1}hideTagDialog(){this.tagDialog=!1}save(){if(this.guestForm.valid){this.loading=!0;const a=this.guestForm.value;if(a.id){this.guestService.update(a);const t=this.tableData.findIndex(n=>n.id===a.id);-1!==t&&(this.tableData[t]={...a})}else this.guestService.create(a,[]);this.sidebar=!1}}cancel(){this.guestForm.reset(this.originalFormValues)}findIndexById(a){let t=-1;for(let n=0;n<this.tableData.length;n++)if(this.tableData[n].id===a){t=n;break}return t}assignTag(a){this.scanTemp="",this.scannedCode=this.guest.rfid||"",this.guest={...a},this.messages=[{severity:"info",summary:"",detail:"Tartsa a "+a.diet+" \xe9trendhez tartoz\xf3 NFC c\xedmk\xe9t az olvas\xf3hoz..."}],this.tagDialog=!0}unAssignTag(){this.guest.rfid=null,this.guest.lastRfidUsage=null,this.guestService.update(this.guest);let a=JSON.parse(JSON.stringify(this.tableData));a[this.findIndexById(this.guest.id)]=this.guest,this.tableData=a,this.successfulMessage=[{severity:"success",summary:"",detail:"A c\xedmk\xe9t elt\xe1vol\xedtottuk a vend\xe9gt\u0151l!"}],this.totalTaggedGuests--,setTimeout(()=>{this.tagDialog=!1},200),this.logService.create({action_type:"unassign",table_name:"guest",original_data:"Unassign Tag from "+this.guest.lastName+" "+this.guest.firstName})}saveTag(){this.scannedCode&&this.tagService.getByRFID(this.scannedCode).subscribe({next:a=>{if(a.rows&&a.rows.length>0){let t=a.rows[0].color;if("gray"==t&&(t="black"),"green"===t&&(t="teal"),this.diets.find(o=>o.name==this.guest.diet).color!==t)return this.messages=[{severity:"error",summary:"",detail:"Nem megfelel\u0151 a karszalag sz\xedne!"}],void this.identifierElement.nativeElement.focus();this.guestService.getByRFID(this.scannedCode).subscribe({next:o=>{this.messages=[{severity:"error",summary:"",detail:o.lastName+" "+o.firstName+" m\xe1r haszn\xe1lja a karszalagot!"}],this.logService.create({action_type:"tag duplicate",table_name:"guest",original_data:"Tag duplicate: "+o.rfid+" is used by "+o.lastName+" "+o.firstName})},error:o=>{this.guest.rfid=this.scannedCode,this.guestService.updateGuest2(this.guest).subscribe(()=>{let l=JSON.parse(JSON.stringify(this.tableData));l[this.findIndexById(this.guest.id)]=this.guest,this.tableData=l,this.successfulMessage=[{severity:"success",summary:"",detail:"Sikeresen hozz\xe1rendelte a c\xedmk\xe9t a vend\xe9ghez!"}],this.totalTaggedGuests++,setTimeout(()=>{this.tagDialog=!1},200),this.logService.create({action_type:"assign Tag",table_name:"guest",original_data:"Assign Tag "+this.guest.rfid+" to "+this.guest.lastName+" "+this.guest.firstName}),this.scannedCode="",this.guest={}})}})}},error:a=>{console.log("tagService.getByRFID error",a)}})}onSend(a){this.loading=!0}onExcelUploadError(a,t){this.loading=!1,this.messageService.add({severity:"error",summary:"Hib\xe1s Excel!",detail:"K\xe9rlek pr\xf3b\xe1ld a megfelel\u0151 Excelt import\xe1lni",life:3e3}),t.clear(),this.logService.create({action_type:"import",table_name:"guest",original_data:"Error while importing Excel | File: "+a.files[0].name+", Size: "+a.files[0].size,status:500})}onExcelUpload(a){this.loading=!1,this.doQuery(),this.messageService.add({severity:"success",summary:"",detail:"Sikeres vend\xe9g import\xe1l\xe1s",life:3e3}),this.logService.create({action_type:"import",table_name:"guest",original_data:a.files[0].name})}onFileSelected(a){this.selectedFile=a.target.files[0]}getIdCardURL(a){if(!a)return;const t=a.endsWith(",")?a.slice(0,-1):a;this.http.get(this.apiURL+"/guest/idcardimage/"+t,{responseType:"blob"}).subscribe(n=>(this.imageUrl=window.URL.createObjectURL(n),this.imageUrl))}downloadIdCard(a){if(!a)return;const t=a.endsWith(",")?a.slice(0,-1):a;this.http.get(this.apiURL+"/guest/idcardimage/"+t,{responseType:"blob"}).subscribe(n=>{const o=window.URL.createObjectURL(n),l=document.createElement("a");l.href=o,l.download=t,document.body.appendChild(l),l.click(),document.body.removeChild(l)})}hasDietName(a){return this.diets.some(t=>t.name===a)}getAge(a){if(!a)return"";const t=_(a);return _().diff(t,"years").toString()}getCountryCode(a){const t=this.countries.find(n=>n.name.toLowerCase()===a?.toLowerCase());return t?t.code?.toLowerCase():null}getNationalityInHungarian(a){return this.countryService.getHuNationality(a)}getCountryNameInHungarian(a){return this.countryService.getHuCountryName(a)}getEarliestFirstMeal(){const a=this.guestForm.get("dateOfArrival")?.value,t=this.beginDate?.toISOString().split("T")[0];this.earliestFirstMeal=a===t?this.guestConference?.firstMeal:void 0}getLatestFirstMeal(){const a=this.guestForm.get("dateOfArrival")?.value,t=this.endDate?.toISOString().split("T")[0];this.latestFirstMeal=a===t?this.guestConference?.lastMeal:void 0}getEarliestLastMeal(){const a=this.guestForm.get("dateOfDeparture")?.value,t=this.beginDate?.toISOString().split("T")[0];this.earliestLastMeal=a===t?this.guestConference?.firstMeal:void 0}getLatestLastMeal(){const a=this.guestForm.get("dateOfDeparture")?.value,t=this.endDate?.toISOString().split("T")[0];this.latestLastMeal=a===t?this.guestConference?.lastMeal:void 0}onConferenceSelectionChange(a){this.selectedConferences=a||[],this.filterValues.conferenceName=this.selectedConferences.map(t=>t.name).join(", ")||"",this.isOrganizer&&this.selectedConferences.length>0&&(this.canEdit=this.selectedConferences.some(t=>t.guestEditEndDate&&_().isSameOrBefore(_(t.guestEditEndDate),"day"))),this.tableData=[],this.doQuery()}exportExcel(){s.e(1486).then(s.bind(s,1486)).then(a=>{let t=this.selected.map(g=>{const{id:b,answers:f,...z}=g,A={};let E=1;return Array.isArray(f)&&f.forEach(J=>{Array.isArray(J.translations)&&J.translations.forEach(k=>{const P=k.hu.trim().endsWith("?")?k.hu:k.hu+"?",j=k.answers;A[`question_${E}`]=P,A[`answer_${E}`]=j,E++})}),{...z,...A}});0===t.length&&(console.warn("No rows selected for export. Exporting filtered or full data."),t=(this.table.filteredValue||this.tableData).map(g=>{const{id:b,answers:f,...z}=g,A={};let E=1;return Array.isArray(f)&&f.forEach(J=>{Array.isArray(J.translations)&&J.translations.forEach(k=>{const P=k.hu.trim().endsWith("?")?k.hu:k.hu+"?",j=k.answers;A[`question_${E}`]=P,A[`answer_${E}`]=j,E++})}),{...z,...A}}));let n=0;t.forEach(g=>{const b=Object.keys(g).filter(f=>f.startsWith("question_")).length;b>n&&(n=b)}),t=t.map(g=>{const b=g;for(let f=1;f<=n;f++)b.hasOwnProperty(`question_${f}`)||(b[`question_${f}`]=""),b.hasOwnProperty(`answer_${f}`)||(b[`answer_${f}`]="");return b}),t.forEach(g=>{delete g.is_test,delete g.userid,delete g.rfid_id,delete g.diet_id,delete g.room_id,delete g.conferenceid,delete g.dietDetails});const l={Sheets:{data:a.utils.json_to_sheet(t)},SheetNames:["data"]},r=a.write(l,{bookType:"xlsx",type:"array"});this.saveAsExcelFile(r,"guests")})}saveAsExcelFile(a,t){const l=new Blob([a],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});m.saveAs(l,t+"_export_"+_().format("YYYYMMDD")+".xlsx")}downloadImportTemplate(){s.e(1486).then(s.bind(s,1486)).then(a=>{const t=Object.keys(this.tableData[0]||{}).filter(f=>"id"!==f),o={Sheets:{data:a.utils.aoa_to_sheet([t])},SheetNames:["data"]},l=a.write(o,{bookType:"xlsx",type:"array"}),b=new Blob([l],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});m.saveAs(b,"NFCReserve_import_template.xlsx")})}keyEvent(a){if("Enter"===a.key)this.scannedCode=this.scanTemp,this.scanTemp="",console.log("scannedCode",this.scannedCode);else if("\xf6"===a.key||"\xd6"===a.key)this.scanTemp+="0";else{if(!/^[0-9]$/i.test(a.key))return;this.scanTemp+=a.key}}ngOnDestroy(){}static#e=this.\u0275fac=function(t){return new(t||V)(e.Y36(Q.eN),e.Y36(U.Q),e.Y36(H.K),e.Y36(O.c),e.Y36(M.Z),e.Y36(Ze),e.Y36(xe.F),e.Y36(Ie.T),e.Y36(u.ez),e.Y36(we.$),e.Y36(e.sBO),e.Y36(d.qu))};static#t=this.\u0275cmp=e.Xpm({type:V,selectors:[["guest-component"]],viewQuery:function(t,n){if(1&t&&(e.Gf(L.w,5),e.Gf(Vt,5),e.Gf($t,5)),2&t){let o;e.iGM(o=e.CRH())&&(n.conferenceSelector=o.first),e.iGM(o=e.CRH())&&(n.identifierElement=o.first),e.iGM(o=e.CRH())&&(n.table=o.first)}},hostBindings:function(t,n){1&t&&e.NdJ("keypress",function(l){return n.keyEvent(l)},!1,e.Jf7)},features:[e._Bn([u.ez])],decls:174,vars:90,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","columns","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onRowExpand","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","rowexpansion"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-lg",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-12","lg:col-4"],["for","lastName",1,"font-medium","text-900"],["id","lastName","type","text","pInputText","","formControlName","lastName"],["class","block p-error",4,"ngIf"],["for","firstName",1,"font-medium","text-900"],["id","firstName","type","text","pInputText","","formControlName","firstName"],["for","gender",1,"font-medium","text-900"],[1,"flex","flex-wrap","gap-3","my-3"],[1,"flex","align-items-center"],["name","gender","value","1","formControlName","gender","inputId","gender1"],["for","gender1",1,"ml-2"],["name","gender","value","2","formControlName","gender","inputId","gender2"],["for","gender2",1,"ml-2"],["class","p-error",4,"ngIf"],["for","birthDate",1,"font-medium","text-900"],["id","birthDate","formControlName","birthDate","dateFormat","yy-mm-dd","dataType","string","appendTo","body",3,"defaultDate","minDate","maxDate"],["for","nationality",1,"font-medium","text-900"],["controlName","nationality",3,"parentForm"],["for","country",1,"font-medium","text-900"],["controlName","country",3,"parentForm"],["for","zipCode",1,"font-medium","text-900"],["id","zipCode","type","text","pInputText","","formControlName","zipCode"],["for","email",1,"font-medium","text-900"],["id","email","type","email","pInputText","","formControlName","email","autocomplete","email"],["for","telephone",1,"font-medium","text-900"],["id","telephone","type","text","pInputText","","formControlName","telephone"],[1,"field","mb-4","col-8"],["for","conference",1,"font-medium","text-900"],["formControlName","conference","placeholder","V\xe1lasszon konferenci\xe1t...",3,"selectionLimit","showClear"],["for","roomNum",1,"font-medium","text-900"],["id","roomNum","type","text","pInputText","","formControlName","roomNum"],["for","dateOfArrival",1,"font-medium","text-900"],["id","dateOfArrival","formControlName","dateOfArrival","dateFormat","yy-mm-dd","dataType","string","appendTo","body",3,"ngClass","defaultDate","minDate","maxDate"],["for","firstMeal",1,"font-medium","text-900"],["controlName","firstMeal",3,"parentForm","earliestMeal","latestMeal","showNothing"],["for","diet",1,"font-medium","text-900"],["controlName","diet",3,"parentForm"],["for","dateOfDeparture",1,"font-medium","text-900"],["id","dateOfDeparture","formControlName","dateOfDeparture","dateFormat","yy-mm-dd","dataType","string","appendTo","body",3,"ngClass","defaultDate","minDate","maxDate"],["for","lastMeal",1,"font-medium","text-900"],["controlName","lastMeal",3,"parentForm","earliestMeal","latestMeal","showNothing"],["for","babyBed",1,"font-medium","text-900"],["name","babyBed","value","1","formControlName","babyBed","inputId","baby-bed-yes"],["for","baby-bed-yes",1,"ml-2"],["name","babyBed","value","0","formControlName","babyBed","inputId","baby-bed-no"],["for","baby-bed-no",1,"ml-2"],[1,"field","mb-4","col-12","lg:col-8"],["for","roomType",1,"font-medium","text-900"],["controlName","roomType",3,"parentForm"],["for","payment",1,"font-medium","text-900"],["controlName","payment",3,"parentForm"],["for","idCard",1,"font-medium","text-900"],["name","idCard","formControlName","idCard","accept",".jpg,.jpeg,.png","chooseLabel","Tall\xf3z\xe1s","cancelLabel","M\xe9gsem"],["for","climate",1,"font-medium","text-900"],["name","climate","value","1","formControlName","climate","inputId","climate-yes"],["for","climate-yes",1,"ml-2"],["name","climate","value","0","formControlName","climate","inputId","climate-no"],["for","climate-no",1,"ml-2"],["for","prepaid",1,"font-medium","text-900"],["name","prepaid","value","1","formControlName","prepaid","inputId","prepaid-yes"],["for","prepaid-yes",1,"ml-2"],["name","prepaid","value","0","formControlName","prepaid","inputId","prepaid-no"],["for","prepaid-no",1,"ml-2"],["pTemplate","footer"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],["header","NFC c\xedmke vend\xe9ghez rendel\xe9s",1,"p-fluid",3,"visible","modal","visibleChange"],["pTemplate","content"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0"],["placeholder","V\xe1lasszon konferenci\xe1t...",3,"ngModel","showClear","selectionLimit","selectFirstOption","ngModelChange"],[1,"block","mt-2","md:mt-0","p-input-icon-left","w-full","sm:w-auto"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s b\xe1rmely vend\xe9gadatra...","pTooltip","NFC c\xedmk\xe9t a saj\xe1t keres\u0151mez\u0151j\xe9be csippantsd",2,"min-width","300px",3,"input"],[1,"block","mt-2","md:mt-0","flex","align-items-center","flex-wrap"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","label","T\xf6rl\xe9s","icon","pi pi-trash",1,"p-button-danger","mr-2",3,"disabled","click"],["mode","basic","label","Import","chooseLabel","Import","chooseIcon","pi pi-upload","name","file","accept",".xlsx","pTooltip","Kiz\xe1r\xf3lag a t\xe1bl\xe1zathoz tartoz\xf3 Excel f\xe1jl import\xe1lhat\xf3","tooltipPosition","top",1,"mr-2","inline-block",3,"url","auto","maxFileSize","disabled","onSend","onError","onUpload"],["fileUpload",""],["icon","pi pi-download","label","Export","styleClass","p-button-help","severity","help",3,"model"],[2,"width","3rem"],["pSortableColumn","lastName"],["field","lastName"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","diet"],["field","diet"],["pSortableColumn","rfid",4,"ngIf"],["pSortableColumn","prepaid",4,"ngIf"],["pSortableColumn","lastRfidUsage"],["field","lastRfidUsage"],["pSortableColumn","dateOfArrival"],["field","dateOfArrival"],["pSortableColumn","dateOfDeparture"],["field","dateOfDeparture"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","14%","min-width","10rem",3,"input"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","8%","min-width","6rem",3,"input"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...","pTooltip","NFC c\xedmk\xe9re kereshet csippant\xe1ssal \xe9s manu\xe1lis g\xe9pel\xe9ssel","tooltipPosition","top","style","width:12%; min-width:9rem;",3,"ngModel","ngModelChange","input",4,"ngIf"],["optionLabel","name","optionValue","value","placeholder","V\xe1lasszon...",3,"options","ngModel","showClear","ngModelChange","onChange",4,"ngIf"],["appendTo","body","dataType","string","placeholder","Keres\xe9s...",3,"showButtonBar","onSelect","onClearClick"],["pSortableColumn","rfid"],[1,"font-light"],["field","rfid"],["pSortableColumn","prepaid"],["field","prepaid"],["pInputText","","type","text","placeholder","Keres\xe9s...","pTooltip","NFC c\xedmk\xe9re kereshet csippant\xe1ssal \xe9s manu\xe1lis g\xe9pel\xe9ssel","tooltipPosition","top",2,"width","12%","min-width","9rem",3,"ngModel","ngModelChange","input"],["optionLabel","name","optionValue","value","placeholder","V\xe1lasszon...",3,"options","ngModel","showClear","ngModelChange","onChange"],[3,"value"],["type","button","styleClass","p-button-rounded p-button-text","pRipple","",3,"pRowToggler","icon"],[1,"p-column-title"],["class","pi pi-tag",4,"ngIf"],[1,"text-center",2,"white-space","break-spaces"],[3,"ngClass",4,"ngIf"],["icon","pi pi-exclamation-triangle","severity","warning","value","Hib\xe1s \xe9trend","pTooltip","K\xe9rem m\xf3dos\xedtsa az \xe9trendet!",4,"ngIf"],[2,"width","14%","min-width","10rem"],[2,"width","9%","min-width","8rem"],[1,"calendar-badge"],[1,"pi","pi-calendar","mr-1"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-tags",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-pencil",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash",1,"p-button-rounded","p-button-warning",3,"disabled","click"],[1,"pi","pi-tag"],[3,"ngClass"],["icon","pi pi-exclamation-triangle","severity","warning","value","Hib\xe1s \xe9trend","pTooltip","K\xe9rem m\xf3dos\xedtsa az \xe9trendet!"],["colspan","10"],[1,"p-2"],[1,"w-full"],[1,"grid","w-full"],[1,"col-5"],["cellspacing","0","cellpadding","5"],[1,"font-medium"],["src","assets/demo/images/flag/flag_placeholder.png",2,"width","18px"],[1,"col-7"],[4,"ngFor","ngForOf"],[1,"flex","flex-column","w-full","mb-4"],[1,"font-medium","mb-1"],["pButton","","type","button","icon","pi pi-download","pTooltip","Szem\xe9lyi igazolv\xe1ny let\xf6lt\xe9se","tooltipPosition","bottom",1,"p-button-rounded","p-button-outlined",3,"click"],["width","250px","height","164px",4,"ngIf"],["alt","Image","width","250",3,"src","preview",4,"ngIf"],["width","250px","height","164px"],["alt","Image","width","250",3,"src","preview"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"],[3,"value","enableService","closable","valueChange"],[1,"formgrid","grid"],[1,"field","col"],["for","identifier"],["pInputText","","type","text","readonly","","autofocus","",3,"ngModel","ngModelChange"],["identifier",""],["pButton","","pRipple","","label","C\xedmke visszav\xe9tel","icon","pi pi-trash",1,"p-button-danger",3,"disabled","click"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-text",3,"click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button-text",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return n.selected=l})("onRowExpand",function(l){return n.onRowExpand(l.data)})("onLazyLoad",function(l){return n.onLazyLoad(l)}),e.YNc(5,Xt,14,14,"ng-template",5),e.YNc(6,an,44,8,"ng-template",6),e.YNc(7,cn,45,27,"ng-template",7),e.YNc(8,hn,95,25,"ng-template",8),e.YNc(9,Cn,3,1,"ng-template",9),e.qZA()(),e.TgZ(10,"p-sidebar",10),e.NdJ("visibleChange",function(l){return n.sidebar=l}),e.YNc(11,vn,2,1,"ng-template",6),e.TgZ(12,"form",11),e.NdJ("ngSubmit",function(){return n.save()}),e._UZ(13,"input",12),e.TgZ(14,"div",13)(15,"label",14),e._uU(16,"Vezet\xe9kn\xe9v"),e.qZA(),e._UZ(17,"input",15),e.YNc(18,bn,2,0,"div",16),e.qZA(),e.TgZ(19,"div",13)(20,"label",17),e._uU(21,"Keresztn\xe9v"),e.qZA(),e._UZ(22,"input",18),e.YNc(23,Tn,2,0,"div",16),e.qZA(),e.TgZ(24,"div",13)(25,"label",19),e._uU(26,"Neme"),e.qZA(),e.TgZ(27,"div",20)(28,"div",21),e._UZ(29,"p-radioButton",22),e.TgZ(30,"label",23),e._uU(31,"F\xe9rfi"),e.qZA()(),e.TgZ(32,"div",21),e._UZ(33,"p-radioButton",24),e.TgZ(34,"label",25),e._uU(35,"N\u0151"),e.qZA()()(),e.YNc(36,yn,2,0,"div",26),e.qZA(),e.TgZ(37,"div",13)(38,"label",27),e._uU(39,"Sz\xfclet\xe9si d\xe1tum"),e.qZA(),e._UZ(40,"p-calendar",28),e.YNc(41,Zn,2,0,"div",26),e.qZA(),e.TgZ(42,"div",13)(43,"label",29),e._uU(44,"\xc1llampolg\xe1rs\xe1g"),e.qZA(),e._UZ(45,"app-nationality-selector",30),e.YNc(46,xn,2,0,"div",26),e.qZA(),e.TgZ(47,"div",13)(48,"label",31),e._uU(49,"Lak\xf3hely - orsz\xe1g"),e.qZA(),e._UZ(50,"app-country-selector",32),e.YNc(51,In,2,0,"div",26),e.qZA(),e.TgZ(52,"div",13)(53,"label",33),e._uU(54,"Lak\xf3hely - ir\xe1ny\xedt\xf3sz\xe1m"),e.qZA(),e._UZ(55,"input",34),e.YNc(56,wn,2,0,"div",26),e.qZA(),e.TgZ(57,"div",13)(58,"label",35),e._uU(59,"Email"),e.qZA(),e._UZ(60,"input",36),e.YNc(61,kn,3,2,"div",26),e.qZA(),e.TgZ(62,"div",13)(63,"label",37),e._uU(64,"Telefon"),e.qZA(),e._UZ(65,"input",38),e.YNc(66,Mn,2,0,"div",26),e.qZA(),e.TgZ(67,"div",39)(68,"label",40),e._uU(69,"Konferencia"),e.qZA(),e._UZ(70,"app-conference-selector",41),e.YNc(71,Dn,2,0,"div",16),e.qZA(),e.TgZ(72,"div",13)(73,"label",42),e._uU(74,"Szoba"),e.qZA(),e._UZ(75,"input",43),e.qZA(),e.TgZ(76,"div",13)(77,"label",44),e._uU(78,"\xc9rkez\xe9s d\xe1tuma"),e.qZA(),e._UZ(79,"p-calendar",45),e.YNc(80,Nn,2,0,"div",26),e.YNc(81,Sn,2,0,"div",26),e.qZA(),e.TgZ(82,"div",13)(83,"label",46),e._uU(84,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e._UZ(85,"app-meal-selector",47),e.YNc(86,Fn,2,0,"div",26),e.qZA(),e.TgZ(87,"div",13)(88,"label",48),e._uU(89,"\xc9trend"),e.qZA(),e._UZ(90,"app-diet-selector",49),e.YNc(91,Un,2,0,"div",26),e.qZA(),e.TgZ(92,"div",13)(93,"label",50),e._uU(94,"T\xe1voz\xe1s d\xe1tuma"),e.qZA(),e._UZ(95,"p-calendar",51),e.YNc(96,On,2,0,"div",26),e.YNc(97,qn,2,0,"div",26),e.qZA(),e.TgZ(98,"div",13)(99,"label",52),e._uU(100,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e._UZ(101,"app-meal-selector",53),e.YNc(102,zn,2,0,"div",26),e.qZA(),e.TgZ(103,"div",13)(104,"label",54),e._uU(105,"Baba\xe1gyat k\xe9rsz?"),e.qZA(),e.TgZ(106,"div",20)(107,"div",21),e._UZ(108,"p-radioButton",55),e.TgZ(109,"label",56),e._uU(110,"Igen"),e.qZA()(),e.TgZ(111,"div",21),e._UZ(112,"p-radioButton",57),e.TgZ(113,"label",58),e._uU(114,"Nem"),e.qZA()()(),e.YNc(115,Jn,2,0,"div",26),e.qZA(),e.TgZ(116,"div",59)(117,"label",60),e._uU(118,"Sz\xe1ll\xe1st\xedpus"),e.qZA(),e._UZ(119,"app-roomtype-selector",61),e.YNc(120,Gn,2,0,"div",26),e.qZA(),e.TgZ(121,"div",13)(122,"label",62),e._uU(123,"Fizet\xe9si m\xf3d"),e.qZA(),e._UZ(124,"app-payment-selector",63),e.YNc(125,Ln,2,0,"div",26),e.qZA(),e.TgZ(126,"div",59)(127,"label",64),e._uU(128,"Szem\xe9lyi igazolv\xe1ny"),e.qZA(),e._UZ(129,"app-reactive-file-upload",65),e.YNc(130,Qn,2,0,"div",26),e.qZA(),e.TgZ(131,"div",13)(132,"label",66),e._uU(133,"Kl\xedm\xe1t k\xe9rsz?"),e.qZA(),e.TgZ(134,"div",20)(135,"div",21),e._UZ(136,"p-radioButton",67),e.TgZ(137,"label",68),e._uU(138,"Igen"),e.qZA()(),e.TgZ(139,"div",21),e._UZ(140,"p-radioButton",69),e.TgZ(141,"label",70),e._uU(142,"Nem"),e.qZA()()(),e.YNc(143,Hn,2,0,"div",26),e.TgZ(144,"label",71),e._uU(145,"El\u0151leget fizetett?"),e.qZA(),e.TgZ(146,"div",20)(147,"div",21),e._UZ(148,"p-radioButton",72),e.TgZ(149,"label",73),e._uU(150,"Igen"),e.qZA()(),e.TgZ(151,"div",21),e._UZ(152,"p-radioButton",74),e.TgZ(153,"label",75),e._uU(154,"Nem"),e.qZA()()(),e.YNc(155,Rn,2,0,"div",26),e.qZA()(),e.YNc(156,Yn,3,2,"ng-template",76),e.qZA(),e.TgZ(157,"p-dialog",77),e.NdJ("visibleChange",function(l){return n.deleteDialog=l}),e.TgZ(158,"div",78),e._UZ(159,"i",79),e.YNc(160,Bn,5,2,"span",80),e.qZA(),e.YNc(161,Kn,2,0,"ng-template",76),e.qZA(),e.TgZ(162,"p-dialog",77),e.NdJ("visibleChange",function(l){return n.bulkDeleteDialog=l}),e.TgZ(163,"div",78),e._UZ(164,"i",79),e.TgZ(165,"span"),e._uU(166,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott vend\xe9geket?"),e.qZA()(),e.YNc(167,Pn,2,0,"ng-template",76),e.qZA(),e.TgZ(168,"p-dialog",81),e.NdJ("visibleChange",function(l){return n.tagDialog=l}),e.YNc(169,jn,9,5,"ng-template",82),e.YNc(170,Vn,2,0,"ng-template",76),e.qZA()()(),e.TgZ(171,"p-blockUI",83),e._UZ(172,"p-progressSpinner"),e.qZA(),e._UZ(173,"p-toast")),2&t&&(e.xp6(3),e.Q6J("value",n.tableData)("columns",n.cols)("rows",n.rowsPerPage)("totalRecords",n.totalRecords)("globalFilterFields",e.DdM(81,$n))("paginator",!0)("rowsPerPageOptions",n.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",n.selected)("tableStyle",e.DdM(82,Wn))("rowHover",!0)("lazy",!0),e.xp6(7),e.Q6J("visible",n.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",n.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",n.guestForm),e.xp6(6),e.Q6J("ngIf",(null==n.lastName?null:n.lastName.dirty)&&(null==n.lastName||null==n.lastName.errors?null:n.lastName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.firstName?null:n.firstName.dirty)&&(null==n.firstName||null==n.firstName.errors?null:n.firstName.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.gender?null:n.gender.dirty)&&(null==n.gender||null==n.gender.errors?null:n.gender.errors.required)),e.xp6(4),e.Q6J("defaultDate",n.birthDateMax)("minDate",n.birthDateMin)("maxDate",n.birthDateMax),e.xp6(1),e.Q6J("ngIf",(null==n.birthDate?null:n.birthDate.dirty)&&(null==n.birthDate||null==n.birthDate.errors?null:n.birthDate.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.nationality?null:n.nationality.dirty)&&(null==n.nationality||null==n.nationality.errors?null:n.nationality.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.country?null:n.country.dirty)&&(null==n.country||null==n.country.errors?null:n.country.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.zipCode?null:n.zipCode.dirty)&&(null==n.zipCode||null==n.zipCode.errors?null:n.zipCode.errors.required)),e.xp6(5),e.Q6J("ngIf",null==n.email?null:n.email.dirty),e.xp6(5),e.Q6J("ngIf",(null==n.telephone?null:n.telephone.dirty)&&(null==n.telephone||null==n.telephone.errors?null:n.telephone.errors.required)),e.xp6(4),e.Q6J("selectionLimit",1)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.conference?null:n.conference.dirty)&&(null==n.conference||null==n.conference.errors?null:n.conference.errors.required)),e.xp6(8),e.Q6J("ngClass",e.VKq(83,Te,null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid))("defaultDate",n.beginDate)("minDate",n.beginDate)("maxDate",n.endDate),e.xp6(1),e.Q6J("ngIf",(null==n.dateOfArrival?null:n.dateOfArrival.dirty)&&(null==n.dateOfArrival||null==n.dateOfArrival.errors?null:n.dateOfArrival.errors.required)),e.xp6(1),e.Q6J("ngIf",null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid),e.xp6(4),e.Q6J("parentForm",n.guestForm)("earliestMeal",n.earliestFirstMeal)("latestMeal",n.latestFirstMeal)("showNothing",!0),e.xp6(1),e.Q6J("ngIf",(null==n.firstMeal?null:n.firstMeal.dirty)&&(null==n.firstMeal||null==n.firstMeal.errors?null:n.firstMeal.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.diet?null:n.diet.dirty)&&(null==n.diet||null==n.diet.errors?null:n.diet.errors.required)),e.xp6(4),e.Q6J("ngClass",e.VKq(85,Te,null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid))("defaultDate",n.beginDate)("minDate",n.beginDate)("maxDate",n.endDate),e.xp6(1),e.Q6J("ngIf",(null==n.dateOfDeparture?null:n.dateOfDeparture.dirty)&&(null==n.dateOfDeparture||null==n.dateOfDeparture.errors?null:n.dateOfDeparture.errors.required)),e.xp6(1),e.Q6J("ngIf",null==n.guestForm.errors?null:n.guestForm.errors.dateRangeInvalid),e.xp6(4),e.Q6J("parentForm",n.guestForm)("earliestMeal",n.earliestLastMeal)("latestMeal",n.latestLastMeal)("showNothing",!0),e.xp6(1),e.Q6J("ngIf",(null==n.lastMeal?null:n.lastMeal.dirty)&&(null==n.lastMeal||null==n.lastMeal.errors?null:n.lastMeal.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.babyBed?null:n.babyBed.dirty)&&(null==n.babyBed||null==n.babyBed.errors?null:n.babyBed.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.roomType?null:n.roomType.dirty)&&(null==n.roomType||null==n.roomType.errors?null:n.roomType.errors.required)),e.xp6(4),e.Q6J("parentForm",n.guestForm),e.xp6(1),e.Q6J("ngIf",(null==n.payment?null:n.payment.dirty)&&(null==n.payment||null==n.payment.errors?null:n.payment.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.idCard?null:n.idCard.dirty)&&(null==n.idCard||null==n.idCard.errors?null:n.idCard.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.climate?null:n.climate.dirty)&&(null==n.climate||null==n.climate.errors?null:n.climate.errors.required)),e.xp6(12),e.Q6J("ngIf",(null==n.prepaid?null:n.prepaid.dirty)&&(null==n.prepaid||null==n.prepaid.errors?null:n.prepaid.errors.required)),e.xp6(2),e.Akn(e.DdM(87,B)),e.Q6J("visible",n.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",n.guest),e.xp6(2),e.Akn(e.DdM(88,B)),e.Q6J("visible",n.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Akn(e.DdM(89,B)),e.Q6J("visible",n.tagDialog)("modal",!0),e.xp6(3),e.Q6J("autoZIndex",!0)("blocked",n.loading))},dependencies:[p.mk,p.sg,p.O5,D.iA,u.jx,D.lQ,D.jB,D.fz,D.UA,D.Mo,W.p,F.Hq,F.zx,Ae.V,d._Y,d.Fj,d.JJ,d.JL,d.On,d.sg,d.u,R.H,X.FN,ee.o,te.Lt,ne.EU,ie.V,oe.G,ae.b,le.Y,se.V,We,q.u,ge.f,_e.O,Lt,Ht.I,Rt.S,Yt.H,Bt.a,Kt.y,Pt.F,L.w,jt.Q,p.uU],encapsulation:2})};K=(0,T.gn)([(0,c.k)()],K);let Xn=(()=>{class i{static#e=this.\u0275fac=function(n){return new(n||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[Z.Bz.forChild([{path:"",component:K}]),Z.Bz]})}return i})();var ei=s(6340),ti=s(6022),ni=s(6218),ii=s(9653),oi=s(5389),ai=s(8057),li=s(2285),si=s(9444);let ri=(()=>{class i{static#e=this.\u0275fac=function(n){return new(n||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[p.ez,Xn,D.U$,W.O,d.u5,d.UX,F.hJ,R.T,X.EV,ei.V,ti.Xt,ee.j,ni.A,te.kW,ne.cc,ii.L$,ie.S,oe.L,ae.u,le.l,se.W,Xe,oi.dp,q.z,ai.nD,ge._8,_e.m,Qt,li.L,si.y]})}return i})()},217:function(G,N){var s,d;void 0!==(d="function"==typeof(s=function(){"use strict";function T(c,u,y){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){S(m.response,u,y)},m.onerror=function(){console.error("could not download file")},m.send()}function e(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function I(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var h="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,x=h.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),S=h.saveAs||("object"!=typeof window||window!==h?function(){}:"download"in HTMLAnchorElement.prototype&&!x?function(c,u,y){var m=h.URL||h.webkitURL,_=document.createElement("a");_.download=u=u||c.name||"download",_.rel="noopener","string"==typeof c?(_.href=c,_.origin===location.origin?I(_):e(_.href)?T(c,u,y):I(_,_.target="_blank")):(_.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(_.href)},4e4),setTimeout(function(){I(_)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,y){if(u=u||c.name||"download","string"!=typeof c)navigator.msSaveOrOpenBlob(function Z(c,u){return typeof u>"u"?u={autoBom:!1}:"object"!=typeof u&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\ufeff",c],{type:c.type}):c}(c,y),u);else if(e(c))T(c,u,y);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){I(m)})}}:function(c,u,y,m){if((m=m||open("","_blank"))&&(m.document.title=m.document.body.innerText="downloading..."),"string"==typeof c)return T(c,u,y);var _="application/octet-stream"===c.type,L=/constructor/i.test(h.HTMLElement)||h.safari,Q=/CriOS\/[\d]+/.test(navigator.userAgent);if((Q||_&&L||x)&&typeof FileReader<"u"){var U=new FileReader;U.onloadend=function(){var M=U.result;M=Q?M:M.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=M:location=M,m=null},U.readAsDataURL(c)}else{var H=h.URL||h.webkitURL,O=H.createObjectURL(c);m?m.location=O:location.href=O,m=null,setTimeout(function(){H.revokeObjectURL(O)},4e4)}});h.saveAs=S.saveAs=S,G.exports=S})?s.apply(N,[]):s)&&(G.exports=d)},5865:(G,N,s)=>{"use strict";s.d(N,{t:()=>Z});var p=s(2029),d=s(4713);let Z=(()=>{class T extends d.s{static \u0275fac=function(){let I;return function(x){return(I||(I=p.n5z(T)))(x||T)}}();static \u0275cmp=p.Xpm({type:T,selectors:[["EyeIcon"]],standalone:!0,features:[p.qOj,p.jDz],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(h,x){1&h&&(p.O4$(),p.TgZ(0,"svg",0),p._UZ(1,"path",1),p.qZA()),2&h&&(p.Tol(x.getClassNames()),p.uIk("aria-label",x.ariaLabel)("aria-hidden",x.ariaHidden)("role",x.role))},encapsulation:2})}return T})()}}]);
\ No newline at end of file
diff --git a/docs/5780.719aab57f94bbc63.js b/docs/5780.719aab57f94bbc63.js
deleted file mode 100644
index 3da5aca1..00000000
--- a/docs/5780.719aab57f94bbc63.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[5780],{5780:(Zt,A,s)=>{s.r(A),s.d(A,{ConferenceModule:()=>mt});var p=s(6814),c=s(6223),_=s(1640),I=s(7582),e=s(2029),R=s(8645),b=s(5619),Q=s(3620),B=s(3997),O=s(7398),$=s(4279),K=s(1836),g=s(5219),f=s(6676),Y=s(1206),U=s(219),E=s(8814);let P=(()=>{class r{constructor(n){this.apiService=n,this.apiURL=n.apiURL,this.data$=new b.X(null),this.message$=new b.X(null)}get questionObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(n,t,i,l){let a="";""!==i&&(a=""!=i.sortField?`sort=${i.sortField}&order=${1===i.sortOrder?"ASC":"DESC"}`:"");const d=""!==a&&""!==l?a+"&"+l:""!==a&&""===l?a:""===a&&""!==l?l:"";this.apiService.get(`questions/get/${n}/${t}${""!==d?"?"+d:""}`).subscribe({next:m=>{this.data$.next(m)},error:m=>{this.message$.next(m)}})}getBySearch(n,t){let i="";""!==t&&(i=""!=t.sortField?`?sort=${t.sortField}&order=${1===t.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`questions/search/${n}${i}`).subscribe({next:l=>{this.data$.next(l)},error:l=>{this.message$.next(l)}})}getBySearchQuery(n){this.apiService.get(`questions/searchquery?${n}`).subscribe({next:t=>{this.data$.next(t)},error:t=>{this.message$.next(t)}})}create(n){this.apiService.post("questions/create/",n).subscribe({next:t=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s r\xf6gz\xedt\xe9s"})},error:t=>{this.message$.next(t)}})}update(n){this.apiService.put(`questions/update/${n.id}`,n).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s m\xf3dos\xedt\xe1s"})},error:t=>{this.message$.next(t)}})}delete(n){this.apiService.delete(`questions/delete/${n.id}`).subscribe({next:t=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s t\xf6rl\xe9s"})},error:t=>{this.message$.next(t)}})}bulkdelete(n){let t={ids:n.map(i=>i.id)};this.apiService.post("question/bulkdelete",t).subscribe({next:i=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s t\xf6rl\xe9s"})},error:i=>{this.message$.next(i)}})}static#e=this.\u0275fac=function(t){return new(t||r)(e.LFG(E.s))};static#t=this.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var G=s(3139),L=s(8022),u=s(9664),h=s(707),y=s(4480),N=s(4104),Z=s(3714),S=s(7213),C=s(9246),z=s(7680),k=s(4204),v=s(3259),w=s(3212),J=s(4227),M=s(5609),j=s(7939),H=s(117),V=s(4520),X=s(8913),W=s(3069),ee=s(2991),te=s(4055),ne=s(2169),oe=s(9515);function re(r,o){1&r&&(e.TgZ(0,"span",11),e._uU(1," Szoba konferenci\xe1hoz rendel\xe9s "),e.qZA())}function ie(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",12),e._uU(3,"Szoba "),e._UZ(4,"p-sortIcon",13),e.qZA(),e.TgZ(5,"th",14),e._uU(6,"P\xf3t\xe1gy "),e._UZ(7,"p-sortIcon",15),e.qZA(),e.TgZ(8,"th",16),e._uU(9,"Konferenci\xe1k "),e._UZ(10,"p-sortIcon",17),e.qZA()(),e.TgZ(11,"tr")(12,"th",18),e._UZ(13,"p-tableHeaderCheckbox"),e.qZA(),e.TgZ(14,"th")(15,"input",19),e.NdJ("input",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"roomNum"))}),e.qZA(),e.TgZ(16,"app-building-selector",20),e.NdJ("change",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"building"))}),e.qZA(),e.TgZ(17,"app-bedtype-selector",21),e.NdJ("change",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"bedType"))}),e.qZA()(),e.TgZ(18,"th")(19,"app-sparebed-selector",22),e.NdJ("change",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"spareBeds"))}),e.qZA()(),e.TgZ(20,"th")(21,"input",23),e.NdJ("input",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"comment"))}),e.qZA()()()}2&r&&(e.xp6(16),e.Q6J("showClear",!0),e.xp6(1),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("showClear",!0))}function le(r,o){if(1&r&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&r){const n=e.oxw().$implicit;e.xp6(1),e.hij("(",n.floor,")")}}function se(r,o){1&r&&(e.TgZ(0,"span",40),e._uU(1,"\u2744\ufe0f"),e.qZA())}function ae(r,o){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const n=e.oxw().$implicit;e.xp6(1),e.hij(", ",n.bathroom,"")}}function ce(r,o){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const n=e.oxw().$implicit;e.Gre("sparebed-badge ",n.spareBeds,""),e.xp6(1),e.hij(" ",e.lcZ(2,4,"SPAREBEDS."+(null==n.spareBeds?null:n.spareBeds.toUpperCase()))," ")}}function ue(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"div")(1,"p-chip",41),e.NdJ("onRemove",function(i){const a=e.CHM(n).$implicit,d=e.oxw(2);return e.KtG(d.onRemove(i,a))}),e.qZA()()}if(2&r){const n=o.$implicit;e.xp6(1),e.Q6J("label",n.name)("removable",!0)}}function pe(r,o){if(1&r&&(e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",24),e.qZA(),e.TgZ(3,"td")(4,"span",25),e._uU(5,"Szoba sz\xe1m"),e.qZA(),e.TgZ(6,"div")(7,"div",26)(8,"div",27),e._UZ(9,"i",28),e.TgZ(10,"span",29),e._uU(11),e.qZA()(),e.TgZ(12,"div",30)(13,"div",31)(14,"span",32),e._uU(15),e.ALo(16,"translate"),e.YNc(17,le,2,1,"span",33),e.YNc(18,se,2,0,"span",34),e.qZA(),e.TgZ(19,"span",35),e._uU(20),e.YNc(21,ae,2,1,"span",36),e._uU(22,") "),e.qZA()()()()()(),e.TgZ(23,"td")(24,"span",25),e._uU(25,"P\xf3t\xe1gy"),e.qZA(),e.YNc(26,ce,3,6,"span",37),e.qZA(),e.TgZ(27,"td")(28,"span",25),e._uU(29,"Konferenci\xe1k"),e.qZA(),e.YNc(30,ue,2,2,"div",38),e.qZA()()),2&r){const n=o.$implicit;e.xp6(2),e.Q6J("value",n),e.xp6(4),e.Gre("building-badge ",n.building," border-round-xl w-min p-0"),e.xp6(4),e.MGl("pTooltip","Szoba sz\xe1m: ",n.roomNum,""),e.xp6(1),e.hij(" ",n.roomNum," "),e.xp6(1),e.MGl("pTooltip","Szoba k\xf3d: ",n.roomCode,""),e.xp6(3),e.hij(" ",e.lcZ(16,15,"BUILDINGS."+n.building.toUpperCase())," "),e.xp6(2),e.Q6J("ngIf",n.floor),e.xp6(1),e.Q6J("ngIf",n.climate),e.xp6(2),e.AsE(" ",n.beds," SZEM\xc9LYES (",n.bedType,""),e.xp6(1),e.Q6J("ngIf",n.bathroom),e.xp6(5),e.Q6J("ngIf",n.spareBeds),e.xp6(4),e.Q6J("ngForOf",n.conferences)}}function de(r,o){1&r&&(e.TgZ(0,"tr")(1,"td",42),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&r&&(e.xp6(1),e.uIk("colspan",4))}const me=function(){return{minWidth:"50rem"}},ge=function(){return["roomNum"]},fe=function(){return{"min-height":"calc(100vh - 320px)"}};f.locale("hu");let he=(()=>{class r{constructor(n,t){this.roomService=n,this.conferenceService=t,this.visible=!!(0,e.X6Q)(),this.close=new e.vpe,this.assign=new e.vpe,this.loading=!0,this.loadingConferences=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100,9999],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.conferences=[],this.rooms=[],this.selected=[],this.selectedConferences=[],this.selectedRooms=[],this.canBindRoomToConference=!0,this.selectedConference={}}ngOnInit(){this.setConferences(),this.roomObs$=this.roomService.roomObs,this.roomObs$.subscribe(n=>{this.loading=!1,n&&(this.tableData=n.rows||[],this.totalRecords=n.totalItems||0,this.page=n.currentPage||0)})}setConferences(){this.conferenceService.getConferencesForSelector().subscribe(n=>{this.conferences=n,this.selectFirstOption&&this.conferences.length>0&&(this.selectedConference=this.conferences[0],this.onConferenceChange())})}loadAvailableRooms(){this.selectedConferences&&this.roomService.getAvailableRooms(this.selectedConferences).subscribe(n=>{this.tableData=n})}showDialog(){this.loadAvailableRooms(),this.canBindRoomToConference=!0,this.visible=!0}setSelectedConference(n){}onConferenceChange(){this.selectedRooms=[],this.loadAvailableRooms()}doQuery(){this.loading=!0;const t=Object.keys(this.filterValues).map(i=>this.filterValues[i].length>0?`${i}=${this.filterValues[i]}`:"").filter(i=>i.length>0).join("&");return""!==this.globalFilter?this.roomService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.roomService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(n,t){let l="";n instanceof Date?l=f(n).format("YYYY.MM.DD"):n&&(n.value||n.target?.value)?(l=n.value||n.target?.value,l=l.toString()):this.filterValues[t]="",this.filterValues[t]=l,["roomNum","building","bedType","spareBeds"].includes(t)?this.filterValues[t]===l&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===l&&this.doQuery()},500))}onLazyLoad(n){this.page=n.first/n.rows,this.rowsPerPage=n.rows??this.rowsPerPage,this.sortField=n.sortField??"",this.sortOrder=n.sortOrder??1,this.globalFilter=n.globalFilter??"",this.doQuery()}onGlobalFilter(n,t){n.filterGlobal(t.target.value,"contains")}onAssign(){const n=Number(this.selectedConferences[0].id),t=this.selectedRooms.map(i=>Number(i.id));this.conferenceService.assignRooms(n,t)}onRemove(n,t){console.log("onConferenceRemove",t),confirm(`Biztosan elt\xe1vol\xedtod a k\xf6vetkez\u0151 konferenci\xe1t: ${t.name}?`)}static#e=this.\u0275fac=function(t){return new(t||r)(e.Y36(V.X),e.Y36(U.Z))};static#t=this.\u0275cmp=e.Xpm({type:r,selectors:[["app-room-conference-binder"]],inputs:{visible:"visible"},outputs:{close:"close",assign:"assign"},features:[e._Bn([g.ez])],decls:12,vars:29,consts:[["pButton","","pRipple","","label","Szoba konferenci\xe1hoz rendel\xe9s","icon","pi pi-list-check","severity","help",1,"p-button","mr-2",3,"disabled","click"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","showCloseIcon","blockScroll","visibleChange"],["pTemplate","header"],[1,"flex","w-full","mb-2"],["display","chip","placeholder","V\xe1lasszon konferenci\xe1t, amihez szob\xe1t rendelne...","optionLabel","name",1,"multiselect-custom-virtual-scroll",3,"options","ngModel","showClear","selectionLimit","virtualScroll","virtualScrollItemSize","ngModelChange"],["pButton","","pRipple","","label","\xd6sszerendel\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],[1,"flex","w-full"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} szoba a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onLazyLoad"],["dt",""],["pTemplate","body"],["pTemplate","emptymessage"],[1,"font-semibold","text-xl"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","spareBed"],["field","spareBed"],["pSortableColumn","conferences"],["field","conferences"],["styleClass","w-3rem"],["pInputText","","type","text","placeholder","Szobasz\xe1m...",1,"mr-2",2,"width","8rem",3,"input"],["placeholder","\xc9p\xfclet...",1,"mr-2",3,"showClear","change"],["placeholder","\xc1gytipus...",3,"showClear","change"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","40rem",3,"input"],[3,"value"],[1,"p-column-title"],[1,"flex","align-items-center","justify-content-center","py-1","px-1"],[1,"flex","align-items-center","justify-content-center","gap-2","px-2"],[1,"pi","pi-key","vertical-align-middle"],["tooltipPosition","top",1,"text-2xl","font-semibold","white-space-nowrap","vertical-align-middle",3,"pTooltip"],["tooltipPosition","top",1,"block","min-w-max","border-left-1","px-2",3,"pTooltip"],[1,"flex","flex-column","align-items-left","justify-content-center"],[1,"text-base","font-semibold","uppercase"],["class","font-normal text-sm uppercase",4,"ngIf"],["class","pl-1",4,"ngIf"],[1,"font-light","text-xs","uppercase"],[4,"ngIf"],[3,"class",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"font-normal","text-sm","uppercase"],[1,"pl-1"],["styleClass","m-1","icon","pi pi-calendar",3,"label","removable","onRemove"],[1,"text-center"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.showDialog()}),e.qZA(),e.TgZ(1,"p-sidebar",1),e.NdJ("visibleChange",function(a){return i.visible=a}),e.YNc(2,re,2,0,"ng-template",2),e.TgZ(3,"div",3)(4,"p-multiSelect",4),e.NdJ("ngModelChange",function(a){return i.selectedConferences=a}),e.qZA(),e.TgZ(5,"button",5),e.NdJ("click",function(){return i.onAssign()}),e.qZA()(),e.TgZ(6,"div",6)(7,"p-table",7,8),e.NdJ("selectionChange",function(a){return i.selectedRooms=a})("onLazyLoad",function(a){return i.onLazyLoad(a)}),e.YNc(9,ie,22,3,"ng-template",2),e.YNc(10,pe,31,17,"ng-template",9),e.YNc(11,de,3,1,"ng-template",10),e.qZA()()()),2&t&&(e.Q6J("disabled",!i.canBindRoomToConference),e.xp6(1),e.Q6J("visible",i.visible)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",!0)("showCloseIcon",!0)("blockScroll",!0),e.xp6(3),e.Akn(e.DdM(26,me)),e.Q6J("options",i.conferences)("ngModel",i.selectedConferences)("showClear",!0)("selectionLimit",1)("virtualScroll",!0)("virtualScrollItemSize",43),e.xp6(1),e.Q6J("disabled",!i.selectedRooms||!i.selectedRooms.length||!i.selectedConferences),e.xp6(2),e.Q6J("value",i.tableData)("rows",i.rowsPerPage)("totalRecords",i.totalRecords)("globalFilterFields",e.DdM(27,ge))("paginator",!0)("rowsPerPageOptions",i.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",i.selectedRooms)("tableStyle",e.DdM(28,fe))("rowHover",!0)("lazy",!0))},dependencies:[p.sg,p.O5,c.JJ,c.On,g.jx,h.Hq,C.Y,X.q,W.n,ee.p,u.iA,u.lQ,u.fz,u.UA,u.Mo,te.NU,Z.o,v.u,ne.A,oe.X$],encapsulation:2})}return r})();function _e(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"div",63)(1,"h5",64),e._uU(2,"Konferenci\xe1k"),e.qZA(),e.TgZ(3,"span",65),e._UZ(4,"i",66),e.TgZ(5,"input",67),e.NdJ("input",function(i){e.CHM(n);const l=e.oxw(),a=e.MAs(4);return e.KtG(l.onGlobalFilter(a,i))}),e.qZA()(),e.TgZ(6,"span",68),e._UZ(7,"app-room-conference-binder"),e.TgZ(8,"button",69),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.create())}),e.qZA()()()}if(2&r){const n=e.oxw();e.xp6(8),e.Q6J("disabled",!n.canCreate)}}function be(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",70),e._uU(3,"N\xe9v "),e._UZ(4,"p-sortIcon",71),e.qZA(),e.TgZ(5,"th",72),e._uU(6,"Kezdete "),e._UZ(7,"p-sortIcon",73),e.qZA(),e.TgZ(8,"th",74),e._uU(9,"Els\u0151 \xe9tkez\xe9s "),e._UZ(10,"p-sortIcon",73),e.qZA(),e.TgZ(11,"th",75),e._uU(12,"V\xe9ge "),e._UZ(13,"p-sortIcon",76),e.qZA(),e.TgZ(14,"th",77),e._uU(15,"Utols\xf3 \xe9tkez\xe9s "),e._UZ(16,"p-sortIcon",76),e.qZA(),e.TgZ(17,"th"),e._uU(18,"Enged\xe9lyezve "),e.qZA()(),e.TgZ(19,"tr"),e._UZ(20,"th"),e.TgZ(21,"th")(22,"input",78),e.NdJ("input",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"name"))}),e.qZA()(),e.TgZ(23,"th")(24,"p-calendar",79),e.NdJ("onSelect",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"beginDate"))})("onClearClick",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"beginDate"))}),e.qZA()(),e.TgZ(25,"th")(26,"app-meal-selector",80),e.NdJ("change",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"firstMeal"))}),e.qZA()(),e.TgZ(27,"th")(28,"p-calendar",79),e.NdJ("onSelect",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"endDate"))})("onClearClick",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"endDate"))}),e.qZA()(),e.TgZ(29,"th")(30,"app-meal-selector",80),e.NdJ("change",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"lastMeal"))}),e.qZA()(),e.TgZ(31,"th")(32,"p-inputSwitch",81),e.NdJ("onChange",function(i){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(i,"enabled"))}),e.qZA()()()}if(2&r){const n=e.oxw();e.xp6(24),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showNothing",!1)("showClear",!0),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showNothing",!1)("showClear",!0),e.xp6(2),e.Q6J("ngModel","1"===n.filterValues.enabled)}}function Ze(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"tr")(1,"td",82),e._UZ(2,"p-button",83),e.qZA(),e.TgZ(3,"td",84)(4,"span",85),e._uU(5,"N\xe9v"),e.qZA(),e._uU(6),e.qZA(),e.TgZ(7,"td",86)(8,"span",85),e._uU(9,"Kezdete"),e.qZA(),e.TgZ(10,"span",87),e._UZ(11,"i",88),e._uU(12),e.ALo(13,"date"),e.qZA()(),e.TgZ(14,"td",86)(15,"span",85),e._uU(16,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e.TgZ(17,"span",89),e._uU(18),e.qZA()(),e.TgZ(19,"td",86)(20,"span",85),e._uU(21,"V\xe9ge"),e.qZA(),e.TgZ(22,"span",87),e._UZ(23,"i",88),e._uU(24),e.ALo(25,"date"),e.qZA()(),e.TgZ(26,"td",86)(27,"span",85),e._uU(28,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e.TgZ(29,"span",89),e._uU(30),e.qZA()(),e.TgZ(31,"td")(32,"div",90)(33,"button",91),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.copyUrl(l.formUrl))}),e.qZA(),e.TgZ(34,"button",92),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.navigateToConferenceForm(l))}),e.qZA(),e.TgZ(35,"button",93),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.editQuestions(l))}),e.qZA(),e.TgZ(36,"button",94),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.edit(l))}),e.qZA(),e.TgZ(37,"button",95),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return a.tableItem=l,e.KtG(a.deleteDialog=!0)}),e.qZA()()()()}if(2&r){const n=o.$implicit,t=o.expanded,i=e.oxw();e.xp6(2),e.Q6J("pRowToggler",n)("icon",t?"pi pi-chevron-down":"pi pi-chevron-right"),e.xp6(4),e.hij(" ",n.name," "),e.xp6(6),e.hij(" ",e.xi3(13,13,n.beginDate,"yyyy.MM.dd")," "),e.xp6(5),e.Q6J("ngClass","meal-badge "+i.getMealStyle(n.firstMeal)),e.xp6(1),e.hij(" ",n.firstMeal," "),e.xp6(6),e.hij(" ",e.xi3(25,16,n.endDate,"yyyy.MM.dd")," "),e.xp6(5),e.Q6J("ngClass","meal-badge "+i.getMealStyle(n.lastMeal)),e.xp6(1),e.hij(" ",n.lastMeal," "),e.xp6(3),e.Q6J("disabled",!n.formUrl),e.xp6(2),e.Q6J("disabled",i.isOrganizer&&n.organizer_user_id!==i.loggedInUserId),e.xp6(1),e.Q6J("disabled",!i.canEdit),e.xp6(1),e.Q6J("disabled",!i.canDelete)}}function Ce(r,o){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const n=e.oxw(2);e.xp6(1),e.Oqu(n.organizer.fullname)}}function ve(r,o){1&r&&(e.TgZ(0,"span"),e._UZ(1,"p-skeleton",106),e.qZA())}function Te(r,o){if(1&r&&(e.TgZ(0,"div",108)(1,"div",109),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"img",110),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._UZ(7,"img",111),e._uU(8),e.qZA()()),2&r){const n=e.oxw(),t=n.index,i=n.$implicit;e.xp6(2),e.hij("",t+1,". k\xe9rd\xe9s"),e.xp6(3),e.hij(" ",i.hu," "),e.xp6(3),e.hij(" ",i.en," ")}}function xe(r,o){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,Te,9,3,"div",107),e.qZA()),2&r){const n=o.$implicit;e.xp6(1),e.Q6J("ngIf",""!==n.hu||""!==n.en)}}function Fe(r,o){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,xe,2,1,"div",105),e.qZA()),2&r){const n=o.$implicit;e.xp6(1),e.Q6J("ngForOf",n.translations)}}function Ae(r,o){if(1&r&&(e.TgZ(0,"tr")(1,"td",96)(2,"div",97)(3,"div",98)(4,"div",99)(5,"div",100)(6,"table",101)(7,"tr")(8,"td",102),e._uU(9,"Regisztr\xe1ci\xf3s \u0171rlap link:"),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.qZA()(),e.TgZ(12,"tr")(13,"td",102),e._uU(14,"Szerz\u0151d\u0151 neve:"),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.qZA()(),e.TgZ(17,"tr")(18,"td",102),e._uU(19,"Szerz\u0151d\u0151 ad\xf3sz\xe1ma:"),e.qZA(),e.TgZ(20,"td"),e._uU(21),e.qZA()(),e.TgZ(22,"tr")(23,"td",102),e._uU(24,"Szerz\u0151d\u0151 c\xedme:"),e.qZA(),e.TgZ(25,"td"),e._uU(26),e.qZA()(),e.TgZ(27,"tr")(28,"td",102),e._uU(29,"Szervez\u0151:"),e.qZA(),e.TgZ(30,"td"),e.YNc(31,Ce,2,1,"span",61),e.YNc(32,ve,2,0,"span",61),e.qZA()(),e.TgZ(33,"tr")(34,"td",102),e._uU(35,"Kapcsolattart\xf3 neve:"),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()(),e.TgZ(38,"tr")(39,"td",102),e._uU(40,"Kapcsolattart\xf3 telefonsz\xe1ma:"),e.qZA(),e.TgZ(41,"td")(42,"a",103),e._uU(43),e.qZA()()(),e.TgZ(44,"tr")(45,"td",102),e._uU(46,"Kapcsolattart\xf3 e-mail c\xedme:"),e.qZA(),e.TgZ(47,"td")(48,"a",103),e._uU(49),e.qZA()()(),e.TgZ(50,"tr")(51,"td",102),e._uU(52,"Regisztr\xe1ci\xf3 v\xe9ge"),e.qZA(),e.TgZ(53,"td"),e._uU(54),e.ALo(55,"date"),e.qZA()(),e.TgZ(56,"tr")(57,"td",102),e._uU(58,"Vend\xe9g m\xf3dos\xedt\xe1s hat\xe1rideje"),e.qZA(),e.TgZ(59,"td"),e._uU(60),e.ALo(61,"date"),e.qZA()(),e.TgZ(62,"tr")(63,"td",102),e._uU(64,"Enged\xe9lyezve"),e.qZA(),e.TgZ(65,"td"),e._uU(66),e.qZA()()()(),e.TgZ(67,"div",104),e.YNc(68,Fe,2,1,"div",105),e.qZA()()()()()()),2&r){const n=o.$implicit,t=e.oxw();e.xp6(11),e.Oqu(n.formUrl),e.xp6(5),e.Oqu(n.contractorName),e.xp6(5),e.Oqu(n.contractorTaxNumber),e.xp6(5),e.Oqu(n.contractorAdress),e.xp6(5),e.Q6J("ngIf",t.organizer),e.xp6(1),e.Q6J("ngIf",n.organizer_user_id&&!t.organizer),e.xp6(5),e.Oqu(n.contactName),e.xp6(5),e.MGl("href","tel:",n.contactPhone,"",e.LSH),e.xp6(1),e.Oqu(n.contactPhone),e.xp6(5),e.MGl("href","mailto:",n.contactEmail,"",e.LSH),e.xp6(1),e.Oqu(n.contactEmail),e.xp6(5),e.Oqu(e.xi3(55,15,n.registrationEndDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(e.xi3(61,18,n.guestEditEndDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(n.enabled?"Igen":"Nem"),e.xp6(2),e.Q6J("ngForOf",n.questions)}}function qe(r,o){1&r&&(e.TgZ(0,"tr")(1,"td",112),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&r&&(e.xp6(1),e.uIk("colspan",7))}function Ue(r,o){if(1&r&&(e.TgZ(0,"span",113),e._uU(1),e.qZA()),2&r){const n=e.oxw();e.xp6(1),e.hij(" ",null!=n.id&&n.id.value?"Konferencia adatai":"\xdaj konferencia"," ")}}function Ee(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function ye(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Ne(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Se(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function ze(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function ke(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function we(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Je(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Me(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function De(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Ie(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Re(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Qe(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"Nem megfelel\u0151 email form\xe1tum"),e.qZA())}function Be(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Oe(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function $e(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Ke(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"div",115)(1,"button",116),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.cancel())}),e.qZA(),e.TgZ(2,"button",117),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.save())}),e.qZA()()}if(2&r){const n=e.oxw();e.xp6(1),e.Q6J("disabled",!n.conferenceForm.dirty),e.xp6(1),e.Q6J("disabled",!n.conferenceForm.valid||!n.conferenceForm.dirty)}}function Ye(r,o){1&r&&(e.TgZ(0,"span",113),e._uU(1,"Szerverz\u0151 k\xe9rd\xe9sei"),e.qZA())}function Pe(r,o){1&r&&(e.TgZ(0,"div",114),e._uU(1," Mindk\xe9t nyelven meg kell adni a k\xe9rd\xe9st! "),e.qZA())}function Ge(r,o){if(1&r&&(e.TgZ(0,"div",118)(1,"label",119),e._uU(2),e.qZA(),e.TgZ(3,"div",120)(4,"i"),e._UZ(5,"img",121),e.qZA(),e._UZ(6,"input",122),e.qZA(),e.TgZ(7,"div",120)(8,"i"),e._UZ(9,"img",123),e.qZA(),e._UZ(10,"input",124),e.qZA(),e.YNc(11,Pe,2,0,"div",16),e.qZA()),2&r){const n=o.$implicit,t=o.index;e.Q6J("formGroupName",t),e.xp6(1),e.MGl("for","en-",t,""),e.xp6(1),e.hij(" ",t+1,". k\xe9rd\xe9s "),e.xp6(4),e.MGl("id","hu-",t,""),e.xp6(4),e.MGl("id","en-",t,""),e.xp6(1),e.Q6J("ngIf",null==n.errors?null:n.errors.bothLanguagesRequired)}}function Le(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"div",115)(1,"button",116),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.cancelQuestions())}),e.qZA(),e.TgZ(2,"button",117),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.saveQuestions())}),e.qZA()()}if(2&r){const n=e.oxw();e.xp6(1),e.Q6J("disabled",!n.questionsForm.dirty),e.xp6(1),e.Q6J("disabled",!n.questionsForm.valid||!n.questionsForm.dirty)}}function je(r,o){if(1&r&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja a(z) "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4," konferenci\xe1t?"),e.qZA()),2&r){const n=e.oxw();e.xp6(3),e.Oqu(n.tableItem.name)}}function He(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"div",115)(1,"button",125),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.deleteDialog=!1)}),e.qZA(),e.TgZ(2,"button",126),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.delete())}),e.qZA()()}}function Ve(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"div",115)(1,"button",125),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(2,"button",126),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.deleteSelected())}),e.qZA()()}}const Xe=function(){return["name","beginDate","endDate","contractorName","contactName"]},We=function(){return{"min-height":"calc(100vh - 320px)"}},D=function(){return{width:"450px"}};f.locale("hu");let T=class F{constructor(o,n,t,i,l,a,d,x,m){this.userService=o,this.router=n,this.formBuilder=t,this.conferenceService=i,this.questionService=l,this.mealService=a,this.apiService=d,this.messageService=x,this.responsiveService=m,this.loading=!0,this.cols=[],this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.questionsSidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.meals=[],this.organizer=null,this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.isOrganizer=!1,this.isMobile=!1,this.formChanges$=new R.x,this.conferenceForm=this.formBuilder.group({id:[""],name:["",c.kI.required],beginDate:["",c.kI.required],endDate:["",c.kI.required],firstMeal:["",c.kI.required],lastMeal:["",c.kI.required],contractorName:["",c.kI.required],contractorAdress:["",c.kI.required],contractorTaxNumber:["",[c.kI.required]],contactName:["",c.kI.required],contactEmail:["",[c.kI.required,(0,K.u)()]],contactPhone:["",c.kI.required],formUrl:["",c.kI.required],registrationEndDate:["",c.kI.required],guestEditEndDate:["",c.kI.required],organizer_user_id:[""],enabled:["1",[]]}),this.isFormValid$=new b.X(!1),this.conferenceForm.get("name")?.valueChanges.subscribe(gt=>{const ft=this.apiService.productionURL,ht=this.apiService.developmentURL,_t=(0,e.X6Q)()?ht:ft;let bt=this.slugify(gt);this.conferenceForm.patchValue({formUrl:`${_t}/#/conference-form/${bt}`})}),this.initializeQuestionsForm()}ngOnInit(){this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canCreate=o),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canEdit=o),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canDelete=o),this.userService.hasRole(["Szervezo"]).subscribe(o=>this.isOrganizer=o),this.loggedInUserId=this.userService.getLoggedInUserId(),this.filterValues.enabled="1",this.conferenceObs$=this.conferenceService.conferenceObs,this.conferenceObs$.subscribe(o=>{this.loading=!1,o&&(this.tableData=o.rows||[],this.totalRecords=o.totalItems||0,this.page=o.currentPage||0)}),this.meals=this.mealService.getMealsForSelector(),this.responsiveService.isMobile$.subscribe(o=>{this.isMobile=o}),this.isFormValid$=this.formChanges$.pipe((0,Q.b)(300),(0,B.x)(),(0,O.U)(()=>this.conferenceForm.valid)),this.conferenceForm.valueChanges.subscribe(()=>this.formChanges$.next()),this.serviceMessageObs$=this.conferenceService.messageObs,this.serviceMessageObs$.subscribe(o=>this.handleMessage(o)),this.questionMessageObs$=this.questionService.messageObs,this.questionMessageObs$.subscribe(o=>this.handleMessage(o))}get id(){return this.conferenceForm.get("id")}get name(){return this.conferenceForm.get("name")}get beginDate(){return this.conferenceForm.get("beginDate")}get endDate(){return this.conferenceForm.get("endDate")}get firstMeal(){return this.conferenceForm.get("firstMeal")}get lastMeal(){return this.conferenceForm.get("lastMeal")}get contractorName(){return this.conferenceForm.get("contractorName")}get contractorAdress(){return this.conferenceForm.get("contractorAdress")}get contractorTaxNumber(){return this.conferenceForm.get("contractorTaxNumber")}get contactName(){return this.conferenceForm.get("contactName")}get contactEmail(){return this.conferenceForm.get("contactEmail")}get contactPhone(){return this.conferenceForm.get("contactPhone")}get formUrl(){return this.conferenceForm.get("formUrl")}get registrationEndDate(){return this.conferenceForm.get("registrationEndDate")}get guestEditEndDate(){return this.conferenceForm.get("guestEditEndDate")}get enabled(){return this.conferenceForm.get("enabled")}get questions(){return this.questionsForm.get("questions")}doQuery(){this.loading=!0;const n=Object.keys(this.filterValues).map(t=>this.filterValues[t].length>0?`${t}=${this.filterValues[t]}`:"").filter(t=>t.length>0).join("&");return""!==this.globalFilter?this.conferenceService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.conferenceService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},n)}onFilter(o,n){let i="";"enabled"===n?i=o.checked?"1":"0":o instanceof Date?i=f(o).format("YYYY.MM.DD"):o&&(o.value||o.target?.value)?(i=o.value||o.target?.value,i=i.toString()):this.filterValues[n]="",this.filterValues[n]=i,["beginDate","endDate","firstMeal","lastMeal","enabled"].includes(n)?this.filterValues[n]===i&&this.doQuery():(this.debounce[n]&&clearTimeout(this.debounce[n]),this.debounce[n]=setTimeout(()=>{this.filterValues[n]===i&&this.doQuery()},500))}onLazyLoad(o){this.page=o.first/o.rows,this.rowsPerPage=o.rows??this.rowsPerPage,this.sortField=o.sortField??"",this.sortOrder=o.sortOrder??1,this.globalFilter=o.globalFilter??"",this.doQuery()}onGlobalFilter(o,n){o.filterGlobal(n.target.value,"contains")}onRowExpand(o){this.organizer=null;const n=o?.organizer_user_id;n&&this.userService.getUserById(n).subscribe(t=>{this.organizer=t})}handleMessage(o){o&&(this.loading=!1,"ERROR"==o?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):(this.messageService.add(o),this.tableItem={},this.selected=[],this.doQuery()))}initializeQuestionsForm(){const o=this.tableItem.questions,t=o&&o.length&&o[0].translations?o[0].translations:[];this.questionsForm=this.formBuilder.group({conferenceid:[this.tableItem.id],questions:this.formBuilder.array([])}),t.forEach(l=>{this.questions.push(this.formBuilder.group({hu:[l.hu],en:[l.en]},{validators:r=>{const o=r.get("hu")?.value,n=r.get("en")?.value;return o&&!n||!o&&n?{bothLanguagesRequired:!0}:null}}))});const i=5-this.questions.length;for(let l=0;l<i;l++)this.questions.push(this.formBuilder.group({hu:[""],en:[""]},{validators:r=>{const o=r.get("hu")?.value,n=r.get("en")?.value;return o&&!n||!o&&n?{bothLanguagesRequired:!0}:null}}));this.originalQuestionsFormValues=this.questionsForm.value}setFormUrl(){let o=this.tableItem.name||"";o=this.slugify(o),this.tableItem.formUrl=`/conference-form/${o}`}navigateToConferenceForm(o){const n=this.slugify(o.name);this.router.navigate(["/conference-form",n])}create(){this.conferenceForm.reset(),this.sidebar=!0}edit(o){this.conferenceForm.reset(),this.conferenceForm.patchValue(o),this.originalFormValues=this.conferenceForm.value,this.sidebar=!0}delete(){this.loading=!0,this.deleteDialog=!1,this.conferenceService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.deleteDialog=!1,this.conferenceService.bulkdelete(this.selected)}save(){if(this.conferenceForm.valid){this.loading=!0;const o=this.conferenceForm.value;o.id?this.conferenceService.update(o):this.conferenceService.create(o),this.sidebar=!1}}cancel(){this.conferenceForm.reset(this.originalFormValues)}editQuestions(o){this.tableItem=o,this.questionsForm.reset(),this.initializeQuestionsForm(),this.questionsSidebar=!0}saveQuestions(){this.loading=!0;const o={id:this.tableItem.questions&&this.tableItem.questions[0]?.id?this.tableItem.questions[0].id:null,conferenceid:this.tableItem.id,translations:this.questionsForm.value.questions};null==o.id?this.questionService.create(o):this.questionService.update(o),this.questionsSidebar=!1}cancelQuestions(){this.questionsForm.reset(this.originalQuestionsFormValues)}slugify(o){if(!o)return"";const n={\u00e1:"a",\u00e9:"e",\u00ed:"i",\u00f3:"o",\u00f6:"o",\u0151:"o",\u00fa:"u",\u00fc:"u",\u0171:"u",\u00c1:"A",\u00c9:"E",\u00cd:"I",\u00d3:"O",\u00d6:"O",\u0150:"O",\u00da:"U",\u00dc:"U",\u0170:"U"};return(o=o.split("").map(t=>n[t]||t).join("")).trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}copyUrl(o){navigator.clipboard.writeText(o),this.messageService.add({severity:"success",summary:"Regisztr\xe1ci\xf3s link v\xe1g\xf3lapra m\xe1solva",detail:o})}getMealStyle(o){switch(o){case"reggeli":return"breakfast";case"eb\xe9d":return"lunch";case"vacsora":return"dinner";default:return"nothing"}}ngOnDestroy(){}static#e=this.\u0275fac=function(n){return new(n||F)(e.Y36(Y.K),e.Y36(_.F0),e.Y36(c.qu),e.Y36(U.Z),e.Y36(P),e.Y36(G.Q),e.Y36(E.s),e.Y36(g.ez),e.Y36(L.k))};static#t=this.\u0275cmp=e.Xpm({type:F,selectors:[["conference"]],features:[e._Bn([g.ez])],decls:123,vars:61,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onRowExpand","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","rowexpansion"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-12"],["for","name",1,"font-medium","text-900"],["id","name","type","text","pInputText","","formControlName","name"],["class","block p-error",4,"ngIf"],["for","formUrl",1,"font-medium","text-900"],[1,"block","mt-2","md:mt-0","p-input-icon-right"],[1,"pi","pi-copy","cursor-pointer","hover:text-blue-500",3,"click"],["id","formUrl","type","text","pInputText","","formControlName","formUrl","readonly",""],[1,"field","mb-4","col-12","lg:col-6"],["for","beginDate",1,"font-medium","text-900"],["formControlName","beginDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","firstMeal",1,"font-medium","text-900"],["controlName","firstMeal",3,"parentForm"],["for","endDate",1,"font-medium","text-900"],["formControlName","endDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","lastMeal",1,"font-medium","text-900"],["controlName","lastMeal",3,"parentForm"],["for","contractorName",1,"font-medium","text-900"],["id","contractorName","type","text","pInputText","","formControlName","contractorName"],["for","contractorTaxNumber",1,"font-medium","text-900"],["id","contractorTaxNumber","type","text","pInputText","","formControlName","contractorTaxNumber"],["for","contractorAdress",1,"font-medium","text-900"],["id","contractorAdress","type","text","pInputText","","formControlName","contractorAdress"],["for","organizer",1,"font-medium","text-900"],["controlName","organizer_user_id",3,"parentForm","user_rolesid"],["for","contactName",1,"font-medium","text-900"],["id","contactName","type","text","pInputText","","formControlName","contactName"],["for","contactPhone",1,"font-medium","text-900"],["id","contactPhone","type","text","pInputText","","formControlName","contactPhone"],["for","contactEmail",1,"font-medium","text-900"],["id","contactEmail","type","text","pInputText","","formControlName","contactEmail"],["for","registrationEndDate",1,"font-medium","text-900"],["formControlName","registrationEndDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","guestEditEndDate",1,"font-medium","text-900"],["formControlName","guestEditEndDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","enabled",1,"font-medium","text-900"],[1,"block"],["id","enabled","formControlName","enabled"],["pTemplate","footer"],["id","questionsSidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],[1,"block","text-sm","mb-0"],["novalidate","",1,"p-fluid",3,"formGroup","ngSubmit"],["formControlName","conferenceid","type","hidden"],["formArrayName","questions",1,"flex","flex-wrap","w-full"],["class","w-full mt-3",3,"formGroupName",4,"ngFor","ngForOf"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0","p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s...",1,"w-full","sm:w-auto",3,"input"],[1,"block","mt-2","md:mt-0"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pSortableColumn","name"],["field","name"],["pSortableColumn","beginDate"],["field","beginDate"],["pSortableColumn","firstMeal"],["pSortableColumn","endDate"],["field","endDate"],["pSortableColumn","lastMeal"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","40%","min-width","22rem",3,"input"],["appendTo","body","dataType","string","placeholder","Keres\xe9s...",3,"showButtonBar","onSelect","onClearClick"],["placeholder","Keres\xe9s...",3,"showNothing","showClear","change"],["id","enabled",3,"ngModel","onChange"],[1,"pr-0"],["type","button","styleClass","p-button-rounded p-button-text","pRipple","",3,"pRowToggler","icon"],[2,"width","30%","min-width","15rem"],[1,"p-column-title"],[2,"width","14%","min-width","10rem"],[1,"calendar-badge"],[1,"pi","pi-calendar","mr-1"],[3,"ngClass"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-copy","pTooltip","Regisztr\xe1ci\xf3s link m\xe1sol\xe1sa v\xe1g\xf3lapra","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-search","pTooltip","Regisztr\xe1ci\xf3s \u0171rlap megnyit\xe1sa","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"click"],["pButton","","pRipple","","icon","pi pi-question","pTooltip","Extra k\xe9rd\xe9sek be\xe1ll\xedt\xe1sa","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-pencil","pTooltip","Konferencia szerkeszt\xe9se","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash","pTooltip","Konferencia t\xf6rl\xe9se","tooltipPosition","top",1,"p-button-rounded","p-button-warning",3,"disabled","click"],["colspan","10"],[1,"p-2"],[1,"w-full"],[1,"grid","w-full"],[1,"col-6"],["cellspacing","0","cellpadding","7"],[1,"font-medium"],[3,"href"],[1,"col-5"],[4,"ngFor","ngForOf"],["width","10rem","styleClass","mb-2"],["class","flex flex-column w-full mb-3",4,"ngIf"],[1,"flex","flex-column","w-full","mb-3"],[1,"font-medium","text-900"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-hu","mr-1",2,"width","18px"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-gb","mr-1",2,"width","18px"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],[1,"w-full","mt-3",3,"formGroupName"],[1,"font-medium","text-900","mb-2",3,"for"],[1,"block","mt-2","p-input-icon-left"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-hu",2,"width","18px","margin-top","-8px"],["type","text","pInputText","","formControlName","hu",1,"w-full",3,"id"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-gb",2,"width","18px","margin-top","-8px"],["type","text","pInputText","","formControlName","en",1,"w-full",3,"id"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"]],template:function(n,t){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return t.selected=l})("onRowExpand",function(l){return t.onRowExpand(l.data)})("onLazyLoad",function(l){return t.onLazyLoad(l)}),e.YNc(5,_e,9,1,"ng-template",5),e.YNc(6,be,33,7,"ng-template",6),e.YNc(7,Ze,38,19,"ng-template",7),e.YNc(8,Ae,69,21,"ng-template",8),e.YNc(9,qe,3,1,"ng-template",9),e.qZA()(),e.TgZ(10,"p-sidebar",10),e.NdJ("visibleChange",function(l){return t.sidebar=l}),e.YNc(11,Ue,2,1,"ng-template",6),e.TgZ(12,"form",11),e.NdJ("ngSubmit",function(){return t.save()}),e._UZ(13,"input",12),e.TgZ(14,"div",13)(15,"label",14),e._uU(16,"Konferencia neve"),e.qZA(),e._UZ(17,"input",15),e.YNc(18,Ee,2,0,"div",16),e.qZA(),e.TgZ(19,"div",13)(20,"label",17),e._uU(21,"Regisztr\xe1ci\xf3s \u0171rlap link"),e.qZA(),e.TgZ(22,"span",18)(23,"i",19),e.NdJ("click",function(){return t.copyUrl(null==t.formUrl?null:t.formUrl.value)}),e.qZA(),e._UZ(24,"input",20),e.qZA(),e.YNc(25,ye,2,0,"div",16),e.qZA(),e.TgZ(26,"div",21)(27,"label",22),e._uU(28,"Kezdete"),e.qZA(),e._UZ(29,"p-calendar",23),e.YNc(30,Ne,2,0,"div",16),e.qZA(),e.TgZ(31,"div",21)(32,"label",24),e._uU(33,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e._UZ(34,"app-meal-selector",25),e.YNc(35,Se,2,0,"div",16),e.qZA(),e.TgZ(36,"div",21)(37,"label",26),e._uU(38,"V\xe9ge"),e.qZA(),e._UZ(39,"p-calendar",27),e.YNc(40,ze,2,0,"div",16),e.qZA(),e.TgZ(41,"div",21)(42,"label",28),e._uU(43,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e._UZ(44,"app-meal-selector",29),e.YNc(45,ke,2,0,"div",16),e.qZA(),e.TgZ(46,"div",21)(47,"label",30),e._uU(48,"Szerz\u0151d\u0151 neve"),e.qZA(),e._UZ(49,"input",31),e.YNc(50,we,2,0,"div",16),e.qZA(),e.TgZ(51,"div",21)(52,"label",32),e._uU(53,"Szerz\u0151d\u0151 ad\xf3sz\xe1ma"),e.qZA(),e._UZ(54,"input",33),e.YNc(55,Je,2,0,"div",16),e.qZA(),e.TgZ(56,"div",21)(57,"label",34),e._uU(58,"Szerz\u0151d\u0151 c\xedme"),e.qZA(),e._UZ(59,"input",35),e.YNc(60,Me,2,0,"div",16),e.qZA(),e.TgZ(61,"div",21)(62,"label",36),e._uU(63,"Szervez\u0151"),e.qZA(),e._UZ(64,"app-user-selector",37),e.qZA(),e.TgZ(65,"div",21)(66,"label",38),e._uU(67,"Kapcsolattart\xf3 neve"),e.qZA(),e._UZ(68,"input",39),e.YNc(69,De,2,0,"div",16),e.qZA(),e.TgZ(70,"div",21)(71,"label",40),e._uU(72,"Kapcsolattart\xf3 telefonsz\xe1ma"),e.qZA(),e._UZ(73,"input",41),e.YNc(74,Ie,2,0,"div",16),e.qZA(),e.TgZ(75,"div",21)(76,"label",42),e._uU(77,"Kapcsolattart\xf3 e-mail c\xedme"),e.qZA(),e._UZ(78,"input",43),e.YNc(79,Re,2,0,"div",16),e.YNc(80,Qe,2,0,"div",16),e.qZA(),e.TgZ(81,"div",21)(82,"label",44),e._uU(83,"Regisztr\xe1ci\xf3 v\xe9ge"),e.qZA(),e._UZ(84,"p-calendar",45),e.YNc(85,Be,2,0,"div",16),e.qZA(),e.TgZ(86,"div",21)(87,"label",46),e._uU(88,"Vend\xe9g m\xf3dos\xedt\xe1s hat\xe1rideje"),e.qZA(),e._UZ(89,"p-calendar",47),e.YNc(90,Oe,2,0,"div",16),e.qZA(),e.TgZ(91,"div",21)(92,"label",48),e._uU(93,"Enged\xe9lyezve"),e.qZA(),e.TgZ(94,"div",49),e._UZ(95,"p-inputSwitch",50),e.qZA(),e.YNc(96,$e,2,0,"div",16),e.qZA()(),e.YNc(97,Ke,3,2,"ng-template",51),e.qZA(),e.TgZ(98,"p-sidebar",52),e.NdJ("visibleChange",function(l){return t.questionsSidebar=l}),e.YNc(99,Ye,2,0,"ng-template",6),e.TgZ(100,"p",53),e._uU(101," \u0170rlaponk\xe9nt az alap\xe9rtelmezett mez\u0151k\xf6n fel\xfcl 5 extra k\xe9rd\xe9s tehet\u0151 fel."),e._UZ(102,"br"),e._uU(103," Az \xfcresen hagyott k\xe9rd\xe9sek nem fognak megjelenni az \u0171rlapon. "),e.qZA(),e.TgZ(104,"form",54),e.NdJ("ngSubmit",function(){return t.saveQuestions()}),e._UZ(105,"input",55),e.TgZ(106,"div",56),e.YNc(107,Ge,12,6,"div",57),e.qZA()(),e.YNc(108,Le,3,2,"ng-template",51),e.qZA(),e.TgZ(109,"p-dialog",58),e.NdJ("visibleChange",function(l){return t.deleteDialog=l}),e.TgZ(110,"div",59),e._UZ(111,"i",60),e.YNc(112,je,5,1,"span",61),e.qZA(),e.YNc(113,He,3,0,"ng-template",51),e.qZA(),e.TgZ(114,"p-dialog",58),e.NdJ("visibleChange",function(l){return t.bulkDeleteDialog=l}),e.TgZ(115,"div",59),e._UZ(116,"i",60),e.TgZ(117,"span"),e._uU(118,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott konferenci\xe1kat?"),e.qZA()(),e.YNc(119,Ve,3,0,"ng-template",51),e.qZA()()(),e.TgZ(120,"p-blockUI",62),e._UZ(121,"p-progressSpinner"),e.qZA(),e._UZ(122,"p-toast")),2&n&&(e.xp6(3),e.Q6J("value",t.tableData)("rows",t.rowsPerPage)("totalRecords",t.totalRecords)("globalFilterFields",e.DdM(57,Xe))("paginator",!0)("rowsPerPageOptions",t.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",t.selected)("tableStyle",e.DdM(58,We))("rowHover",!0)("lazy",!0),e.xp6(7),e.Q6J("visible",t.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",t.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",t.conferenceForm),e.xp6(6),e.Q6J("ngIf",(null==t.name?null:t.name.dirty)&&(null==t.name||null==t.name.errors?null:t.name.errors.required)),e.xp6(7),e.Q6J("ngIf",(null==t.formUrl?null:t.formUrl.dirty)&&(null==t.formUrl||null==t.formUrl.errors?null:t.formUrl.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.beginDate?null:t.beginDate.dirty)&&(null==t.beginDate||null==t.beginDate.errors?null:t.beginDate.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm),e.xp6(1),e.Q6J("ngIf",(null==t.firstMeal?null:t.firstMeal.dirty)&&(null==t.firstMeal||null==t.firstMeal.errors?null:t.firstMeal.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.endDate?null:t.endDate.dirty)&&(null==t.endDate||null==t.endDate.errors?null:t.endDate.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm),e.xp6(1),e.Q6J("ngIf",(null==t.lastMeal?null:t.lastMeal.dirty)&&(null==t.lastMeal||null==t.lastMeal.errors?null:t.lastMeal.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorName?null:t.contractorName.dirty)&&(null==t.contractorName||null==t.contractorName.errors?null:t.contractorName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorTaxNumber?null:t.contractorTaxNumber.dirty)&&(null==t.contractorTaxNumber||null==t.contractorTaxNumber.errors?null:t.contractorTaxNumber.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorAdress?null:t.contractorAdress.dirty)&&(null==t.contractorAdress||null==t.contractorAdress.errors?null:t.contractorAdress.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm)("user_rolesid",4),e.xp6(5),e.Q6J("ngIf",(null==t.contactName?null:t.contactName.dirty)&&(null==t.contactName||null==t.contactName.errors?null:t.contactName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contactPhone?null:t.contactPhone.dirty)&&(null==t.contactPhone||null==t.contactPhone.errors?null:t.contactPhone.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contactEmail?null:t.contactEmail.dirty)&&(null==t.contactEmail||null==t.contactEmail.errors?null:t.contactEmail.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==t.contactEmail?null:t.contactEmail.dirty)&&(null==t.contactEmail||null==t.contactEmail.errors?null:t.contactEmail.errors.invalidEmail)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.registrationEndDate?null:t.registrationEndDate.dirty)&&(null==t.registrationEndDate||null==t.registrationEndDate.errors?null:t.registrationEndDate.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.guestEditEndDate?null:t.guestEditEndDate.dirty)&&(null==t.guestEditEndDate||null==t.guestEditEndDate.errors?null:t.guestEditEndDate.errors.required)),e.xp6(6),e.Q6J("ngIf",(null==t.enabled?null:t.enabled.dirty)&&(null==t.enabled||null==t.enabled.errors?null:t.enabled.errors.required)),e.xp6(2),e.Q6J("visible",t.questionsSidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",t.isMobile)("blockScroll",!0),e.xp6(6),e.Q6J("formGroup",t.questionsForm),e.xp6(3),e.Q6J("ngForOf",t.questions.controls),e.xp6(2),e.Akn(e.DdM(59,D)),e.Q6J("visible",t.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",t.tableItem),e.xp6(2),e.Akn(e.DdM(60,D)),e.Q6J("visible",t.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Q6J("autoZIndex",!0)("blocked",t.loading))},dependencies:[p.mk,p.sg,p.O5,u.iA,g.jx,u.lQ,u.jB,u.fz,h.Hq,h.zx,c._Y,c.Fj,c.JJ,c.JL,c.On,c.sg,c.u,c.x0,c.CE,y.H,N.FN,Z.o,S.V,C.Y,z.G,k.b,v.u,w.f,J.O,M.Ql,j.H,H.T,he,p.uU],encapsulation:2})};T=(0,I.gn)([(0,$.k)()],T);let et=(()=>{class r{static#e=this.\u0275fac=function(t){return new(t||r)};static#t=this.\u0275mod=e.oAB({type:r});static#n=this.\u0275inj=e.cJS({imports:[_.Bz.forChild([{path:"",component:T}]),_.Bz]})}return r})();var tt=s(2610),nt=s(6340),ot=s(6022),rt=s(6218),it=s(2160),lt=s(1865),st=s(9653),at=s(6263),ct=s(5389),ut=s(8057),pt=s(2285),dt=s(9444);let mt=(()=>{class r{static#e=this.\u0275fac=function(t){return new(t||r)};static#t=this.\u0275mod=e.oAB({type:r});static#n=this.\u0275inj=e.cJS({imports:[p.ez,et,u.U$,tt.O,c.u5,c.UX,h.hJ,y.T,N.EV,nt.V,ot.Xt,Z.j,rt.A,it.kW,lt.cc,st.L$,S.S,C.l,z.L,k.u,at.W,ct.dp,v.z,ut.nD,w._8,J.m,M.Iu,pt.L,dt.y]})}return r})()}}]);
\ No newline at end of file
diff --git a/docs/5780.b402e2c08aa7cbb5.js b/docs/5780.b402e2c08aa7cbb5.js
new file mode 100644
index 00000000..b5dfb546
--- /dev/null
+++ b/docs/5780.b402e2c08aa7cbb5.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[5780],{5780:(vt,A,s)=>{s.r(A),s.d(A,{ConferenceModule:()=>ft});var p=s(6814),c=s(6223),_=s(1640),I=s(7582),e=s(2029),R=s(8645),b=s(5619),Q=s(3620),B=s(3997),O=s(7398),$=s(4279),K=s(1836),g=s(5219),f=s(6676),Y=s(1206),E=s(219),U=s(8814);let P=(()=>{class i{constructor(n){this.apiService=n,this.apiURL=n.apiURL,this.data$=new b.X(null),this.message$=new b.X(null)}get questionObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(n,t,r,l){let a="";""!==r&&(a=""!=r.sortField?`sort=${r.sortField}&order=${1===r.sortOrder?"ASC":"DESC"}`:"");const d=""!==a&&""!==l?a+"&"+l:""!==a&&""===l?a:""===a&&""!==l?l:"";this.apiService.get(`questions/get/${n}/${t}${""!==d?"?"+d:""}`).subscribe({next:m=>{this.data$.next(m)},error:m=>{this.message$.next(m)}})}getBySearch(n,t){let r="";""!==t&&(r=""!=t.sortField?`?sort=${t.sortField}&order=${1===t.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`questions/search/${n}${r}`).subscribe({next:l=>{this.data$.next(l)},error:l=>{this.message$.next(l)}})}getBySearchQuery(n){this.apiService.get(`questions/searchquery?${n}`).subscribe({next:t=>{this.data$.next(t)},error:t=>{this.message$.next(t)}})}create(n){this.apiService.post("questions/create/",n).subscribe({next:t=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s r\xf6gz\xedt\xe9s"})},error:t=>{this.message$.next(t)}})}update(n){this.apiService.put(`questions/update/${n.id}`,n).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s m\xf3dos\xedt\xe1s"})},error:t=>{this.message$.next(t)}})}delete(n){this.apiService.delete(`questions/delete/${n.id}`).subscribe({next:t=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s t\xf6rl\xe9s"})},error:t=>{this.message$.next(t)}})}bulkdelete(n){let t={ids:n.map(r=>r.id)};this.apiService.post("question/bulkdelete",t).subscribe({next:r=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s t\xf6rl\xe9s"})},error:r=>{this.message$.next(r)}})}static#e=this.\u0275fac=function(t){return new(t||i)(e.LFG(U.s))};static#t=this.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var V=s(3139),G=s(8022),u=s(9664),h=s(707),y=s(4480),N=s(4104),Z=s(3714),S=s(7213),C=s(9246),z=s(7680),k=s(4204),v=s(3259),D=s(3212),M=s(4227),J=s(5609),L=s(7939),j=s(117),H=s(4520),X=s(8913),W=s(3069),ee=s(2991),te=s(4055),ne=s(2169),oe=s(9515);function ie(i,o){1&i&&(e.TgZ(0,"span",11),e._uU(1," Szoba konferenci\xe1hoz rendel\xe9s "),e.qZA())}function re(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",12),e._uU(3,"Szoba "),e._UZ(4,"p-sortIcon",13),e.qZA(),e.TgZ(5,"th",14),e._uU(6,"P\xf3t\xe1gy "),e._UZ(7,"p-sortIcon",15),e.qZA(),e.TgZ(8,"th",16),e._uU(9,"Konferenci\xe1k "),e._UZ(10,"p-sortIcon",17),e.qZA()(),e.TgZ(11,"tr")(12,"th",18),e._UZ(13,"p-tableHeaderCheckbox"),e.qZA(),e.TgZ(14,"th")(15,"input",19),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"roomNum"))}),e.qZA(),e.TgZ(16,"app-building-selector",20),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"building"))}),e.qZA(),e.TgZ(17,"app-bedtype-selector",21),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"bedType"))}),e.qZA()(),e.TgZ(18,"th")(19,"app-sparebed-selector",22),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"spareBeds"))}),e.qZA()(),e.TgZ(20,"th")(21,"input",23),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"comment"))}),e.qZA()()()}2&i&&(e.xp6(16),e.Q6J("showClear",!0),e.xp6(1),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("showClear",!0))}function le(i,o){if(1&i&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&i){const n=e.oxw().$implicit;e.xp6(1),e.hij("(",n.floor,")")}}function se(i,o){1&i&&(e.TgZ(0,"span",40),e._uU(1,"\u2744\ufe0f"),e.qZA())}function ae(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const n=e.oxw().$implicit;e.xp6(1),e.hij(", ",n.bathroom,"")}}function ce(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const n=e.oxw().$implicit;e.Gre("sparebed-badge ",n.spareBeds,""),e.xp6(1),e.hij(" ",e.lcZ(2,4,"SPAREBEDS."+(null==n.spareBeds?null:n.spareBeds.toUpperCase()))," ")}}function ue(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div")(1,"p-chip",41),e.NdJ("onRemove",function(r){const a=e.CHM(n).$implicit,d=e.oxw(2);return e.KtG(d.onRemove(r,a))}),e.qZA()()}if(2&i){const n=o.$implicit;e.xp6(1),e.Q6J("label",n.name)("removable",!0)}}function pe(i,o){if(1&i&&(e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",24),e.qZA(),e.TgZ(3,"td")(4,"span",25),e._uU(5,"Szoba sz\xe1m"),e.qZA(),e.TgZ(6,"div")(7,"div",26)(8,"div",27),e._UZ(9,"i",28),e.TgZ(10,"span",29),e._uU(11),e.qZA()(),e.TgZ(12,"div",30)(13,"div",31)(14,"span",32),e._uU(15),e.ALo(16,"translate"),e.YNc(17,le,2,1,"span",33),e.YNc(18,se,2,0,"span",34),e.qZA(),e.TgZ(19,"span",35),e._uU(20),e.YNc(21,ae,2,1,"span",36),e._uU(22,") "),e.qZA()()()()()(),e.TgZ(23,"td")(24,"span",25),e._uU(25,"P\xf3t\xe1gy"),e.qZA(),e.YNc(26,ce,3,6,"span",37),e.qZA(),e.TgZ(27,"td")(28,"span",25),e._uU(29,"Konferenci\xe1k"),e.qZA(),e.YNc(30,ue,2,2,"div",38),e.qZA()()),2&i){const n=o.$implicit;e.xp6(2),e.Q6J("value",n),e.xp6(4),e.Gre("building-badge ",n.building," border-round-xl w-min p-0"),e.xp6(4),e.MGl("pTooltip","Szoba sz\xe1m: ",n.roomNum,""),e.xp6(1),e.hij(" ",n.roomNum," "),e.xp6(1),e.MGl("pTooltip","Szoba k\xf3d: ",n.roomCode,""),e.xp6(3),e.hij(" ",e.lcZ(16,15,"BUILDINGS."+n.building.toUpperCase())," "),e.xp6(2),e.Q6J("ngIf",n.floor),e.xp6(1),e.Q6J("ngIf",n.climate),e.xp6(2),e.AsE(" ",n.beds," SZEM\xc9LYES (",n.bedType,""),e.xp6(1),e.Q6J("ngIf",n.bathroom),e.xp6(5),e.Q6J("ngIf",n.spareBeds),e.xp6(4),e.Q6J("ngForOf",n.conferences)}}function de(i,o){1&i&&(e.TgZ(0,"tr")(1,"td",42),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&i&&(e.xp6(1),e.uIk("colspan",4))}const me=function(){return{minWidth:"50rem"}},ge=function(){return["roomNum"]},fe=function(){return{"min-height":"calc(100vh - 320px)"}};f.locale("hu");let he=(()=>{class i{constructor(n,t){this.roomService=n,this.conferenceService=t,this.visible=!!(0,e.X6Q)(),this.close=new e.vpe,this.assign=new e.vpe,this.loading=!0,this.loadingConferences=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100,9999],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.conferences=[],this.rooms=[],this.selected=[],this.selectedConferences=[],this.selectedRooms=[],this.canBindRoomToConference=!0,this.selectedConference={}}ngOnInit(){this.setConferences(),this.roomObs$=this.roomService.roomObs,this.roomObs$.subscribe(n=>{this.loading=!1,n&&(this.tableData=n.rows||[],this.totalRecords=n.totalItems||0,this.page=n.currentPage||0)})}setConferences(){this.conferenceService.getConferencesForSelector().subscribe(n=>{this.conferences=n,this.selectFirstOption&&this.conferences.length>0&&(this.selectedConference=this.conferences[0],this.onConferenceChange())})}loadAvailableRooms(){this.selectedConferences&&this.roomService.getAvailableRooms(this.selectedConferences).subscribe(n=>{this.tableData=n})}showDialog(){this.loadAvailableRooms(),this.canBindRoomToConference=!0,this.visible=!0}setSelectedConference(n){}onConferenceChange(){this.selectedRooms=[],this.loadAvailableRooms()}doQuery(){this.loading=!0;const t=Object.keys(this.filterValues).map(r=>this.filterValues[r].length>0?`${r}=${this.filterValues[r]}`:"").filter(r=>r.length>0).join("&");return""!==this.globalFilter?this.roomService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.roomService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(n,t){let l="";n instanceof Date?l=f(n).format("YYYY.MM.DD"):n&&(n.value||n.target?.value)?(l=n.value||n.target?.value,l=l.toString()):this.filterValues[t]="",this.filterValues[t]=l,["roomNum","building","bedType","spareBeds"].includes(t)?this.filterValues[t]===l&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===l&&this.doQuery()},500))}onLazyLoad(n){this.page=n.first/n.rows,this.rowsPerPage=n.rows??this.rowsPerPage,this.sortField=n.sortField??"",this.sortOrder=n.sortOrder??1,this.globalFilter=n.globalFilter??"",this.doQuery()}onGlobalFilter(n,t){n.filterGlobal(t.target.value,"contains")}onAssign(){const n=Number(this.selectedConferences[0].id),t=this.selectedRooms.map(r=>Number(r.id));this.conferenceService.assignRooms(n,t)}onRemove(n,t){console.log("onConferenceRemove",t),confirm(`Biztosan elt\xe1vol\xedtod a k\xf6vetkez\u0151 konferenci\xe1t: ${t.name}?`)}static#e=this.\u0275fac=function(t){return new(t||i)(e.Y36(H.X),e.Y36(E.Z))};static#t=this.\u0275cmp=e.Xpm({type:i,selectors:[["app-room-conference-binder"]],inputs:{visible:"visible"},outputs:{close:"close",assign:"assign"},features:[e._Bn([g.ez])],decls:12,vars:29,consts:[["pButton","","pRipple","","label","Szoba konferenci\xe1hoz rendel\xe9s","icon","pi pi-list-check","severity","help",1,"p-button","mr-2",3,"disabled","click"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","showCloseIcon","blockScroll","visibleChange"],["pTemplate","header"],[1,"flex","w-full","mb-2"],["display","chip","placeholder","V\xe1lasszon konferenci\xe1t, amihez szob\xe1t rendelne...","optionLabel","name",1,"multiselect-custom-virtual-scroll",3,"options","ngModel","showClear","selectionLimit","virtualScroll","virtualScrollItemSize","ngModelChange"],["pButton","","pRipple","","label","\xd6sszerendel\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],[1,"flex","w-full"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} szoba a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onLazyLoad"],["dt",""],["pTemplate","body"],["pTemplate","emptymessage"],[1,"font-semibold","text-xl"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","spareBed"],["field","spareBed"],["pSortableColumn","conferences"],["field","conferences"],["styleClass","w-3rem"],["pInputText","","type","text","placeholder","Szobasz\xe1m...",1,"mr-2",2,"width","8rem",3,"input"],["placeholder","\xc9p\xfclet...",1,"mr-2",3,"showClear","change"],["placeholder","\xc1gytipus...",3,"showClear","change"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","40rem",3,"input"],[3,"value"],[1,"p-column-title"],[1,"flex","align-items-center","justify-content-center","py-1","px-1"],[1,"flex","align-items-center","justify-content-center","gap-2","px-2"],[1,"pi","pi-key","vertical-align-middle"],["tooltipPosition","top",1,"text-2xl","font-semibold","white-space-nowrap","vertical-align-middle",3,"pTooltip"],["tooltipPosition","top",1,"block","min-w-max","border-left-1","px-2",3,"pTooltip"],[1,"flex","flex-column","align-items-left","justify-content-center"],[1,"text-base","font-semibold","uppercase"],["class","font-normal text-sm uppercase",4,"ngIf"],["class","pl-1",4,"ngIf"],[1,"font-light","text-xs","uppercase"],[4,"ngIf"],[3,"class",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"font-normal","text-sm","uppercase"],[1,"pl-1"],["styleClass","m-1","icon","pi pi-calendar",3,"label","removable","onRemove"],[1,"text-center"]],template:function(t,r){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return r.showDialog()}),e.qZA(),e.TgZ(1,"p-sidebar",1),e.NdJ("visibleChange",function(a){return r.visible=a}),e.YNc(2,ie,2,0,"ng-template",2),e.TgZ(3,"div",3)(4,"p-multiSelect",4),e.NdJ("ngModelChange",function(a){return r.selectedConferences=a}),e.qZA(),e.TgZ(5,"button",5),e.NdJ("click",function(){return r.onAssign()}),e.qZA()(),e.TgZ(6,"div",6)(7,"p-table",7,8),e.NdJ("selectionChange",function(a){return r.selectedRooms=a})("onLazyLoad",function(a){return r.onLazyLoad(a)}),e.YNc(9,re,22,3,"ng-template",2),e.YNc(10,pe,31,17,"ng-template",9),e.YNc(11,de,3,1,"ng-template",10),e.qZA()()()),2&t&&(e.Q6J("disabled",!r.canBindRoomToConference),e.xp6(1),e.Q6J("visible",r.visible)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",!0)("showCloseIcon",!0)("blockScroll",!0),e.xp6(3),e.Akn(e.DdM(26,me)),e.Q6J("options",r.conferences)("ngModel",r.selectedConferences)("showClear",!0)("selectionLimit",1)("virtualScroll",!0)("virtualScrollItemSize",43),e.xp6(1),e.Q6J("disabled",!r.selectedRooms||!r.selectedRooms.length||!r.selectedConferences),e.xp6(2),e.Q6J("value",r.tableData)("rows",r.rowsPerPage)("totalRecords",r.totalRecords)("globalFilterFields",e.DdM(27,ge))("paginator",!0)("rowsPerPageOptions",r.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",r.selectedRooms)("tableStyle",e.DdM(28,fe))("rowHover",!0)("lazy",!0))},dependencies:[p.sg,p.O5,c.JJ,c.On,g.jx,h.Hq,C.Y,X.q,W.n,ee.p,u.iA,u.lQ,u.fz,u.UA,u.Mo,te.NU,Z.o,v.u,ne.A,oe.X$],encapsulation:2})}return i})();function _e(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",65)(1,"h5",66),e._uU(2,"Konferenci\xe1k"),e.qZA(),e.TgZ(3,"span",67),e._UZ(4,"i",68),e.TgZ(5,"input",69),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw(),a=e.MAs(4);return e.KtG(l.onGlobalFilter(a,r))}),e.qZA()(),e.TgZ(6,"span",70),e._UZ(7,"app-room-conference-binder"),e.TgZ(8,"button",71),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.create())}),e.qZA()()()}if(2&i){const n=e.oxw();e.xp6(8),e.Q6J("disabled",!n.canCreate)}}const be=function(){return{lineHeight:"30.5px"}};function Ze(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",72),e._uU(3,"N\xe9v "),e._UZ(4,"p-sortIcon",73),e.qZA(),e.TgZ(5,"th",74),e._uU(6,"Kezdete "),e._UZ(7,"p-sortIcon",75),e.qZA(),e.TgZ(8,"th",76),e._uU(9,"Els\u0151 \xe9tkez\xe9s "),e._UZ(10,"p-sortIcon",75),e.qZA(),e.TgZ(11,"th",77),e._uU(12,"V\xe9ge "),e._UZ(13,"p-sortIcon",78),e.qZA(),e.TgZ(14,"th",79),e._uU(15,"Utols\xf3 \xe9tkez\xe9s "),e._UZ(16,"p-sortIcon",78),e.qZA(),e.TgZ(17,"th"),e._uU(18,"Enged\xe9lyezve "),e.qZA()(),e.TgZ(19,"tr"),e._UZ(20,"th"),e.TgZ(21,"th")(22,"input",80),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"name"))}),e.qZA()(),e.TgZ(23,"th")(24,"p-calendar",81),e.NdJ("onSelect",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"beginDate"))})("onClearClick",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"beginDate"))}),e.qZA()(),e.TgZ(25,"th")(26,"app-meal-selector",82),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"firstMeal"))}),e.qZA()(),e.TgZ(27,"th")(28,"p-calendar",81),e.NdJ("onSelect",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"endDate"))})("onClearClick",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"endDate"))}),e.qZA()(),e.TgZ(29,"th")(30,"app-meal-selector",82),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"lastMeal"))}),e.qZA()(),e.TgZ(31,"th")(32,"div",83)(33,"p-inputSwitch",84),e.NdJ("onChange",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"enabled"))}),e.qZA(),e.TgZ(34,"span",52),e._uU(35),e.qZA()()()()}if(2&i){const n=e.oxw();e.xp6(24),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showNothing",!1)("showClear",!0),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showNothing",!1)("showClear",!0),e.xp6(3),e.Akn(e.DdM(11,be)),e.Q6J("ngModel","1"===n.filterValues.enabled)("styleClass","vertical-align-middle"),e.xp6(2),e.hij(" ","1"===n.filterValues.enabled?"Igen":"Nem"," ")}}function Ce(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tr")(1,"td",85),e._UZ(2,"p-button",86),e.qZA(),e.TgZ(3,"td",87)(4,"span",88),e._uU(5,"N\xe9v"),e.qZA(),e._uU(6),e.qZA(),e.TgZ(7,"td",89)(8,"span",88),e._uU(9,"Kezdete"),e.qZA(),e.TgZ(10,"span",90),e._UZ(11,"i",91),e._uU(12),e.ALo(13,"date"),e.qZA()(),e.TgZ(14,"td",89)(15,"span",88),e._uU(16,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e.TgZ(17,"span",92),e._uU(18),e.qZA()(),e.TgZ(19,"td",89)(20,"span",88),e._uU(21,"V\xe9ge"),e.qZA(),e.TgZ(22,"span",90),e._UZ(23,"i",91),e._uU(24),e.ALo(25,"date"),e.qZA()(),e.TgZ(26,"td",89)(27,"span",88),e._uU(28,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e.TgZ(29,"span",92),e._uU(30),e.qZA()(),e.TgZ(31,"td")(32,"div",93)(33,"button",94),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.copyUrl(l.formUrl))}),e.qZA(),e.TgZ(34,"button",95),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.navigateToConferenceForm(l))}),e.qZA(),e.TgZ(35,"button",96),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.editQuestions(l))}),e.qZA(),e.TgZ(36,"button",97),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.edit(l))}),e.qZA(),e.TgZ(37,"button",98),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return a.tableItem=l,e.KtG(a.deleteDialog=!0)}),e.qZA()()()()}if(2&i){const n=o.$implicit,t=o.expanded,r=e.oxw();e.xp6(2),e.Q6J("pRowToggler",n)("icon",t?"pi pi-chevron-down":"pi pi-chevron-right"),e.xp6(4),e.hij(" ",n.name," "),e.xp6(6),e.hij(" ",e.xi3(13,13,n.beginDate,"yyyy.MM.dd")," "),e.xp6(5),e.Q6J("ngClass","meal-badge "+r.getMealStyle(n.firstMeal)),e.xp6(1),e.hij(" ",n.firstMeal," "),e.xp6(6),e.hij(" ",e.xi3(25,16,n.endDate,"yyyy.MM.dd")," "),e.xp6(5),e.Q6J("ngClass","meal-badge "+r.getMealStyle(n.lastMeal)),e.xp6(1),e.hij(" ",n.lastMeal," "),e.xp6(3),e.Q6J("disabled",!n.formUrl),e.xp6(2),e.Q6J("disabled",r.isOrganizer&&n.organizer_user_id!==r.loggedInUserId),e.xp6(1),e.Q6J("disabled",!r.canEdit),e.xp6(1),e.Q6J("disabled",!r.canDelete)}}function ve(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Oqu(n.organizer.fullname)}}function Te(i,o){1&i&&(e.TgZ(0,"span"),e._UZ(1,"p-skeleton",109),e.qZA())}function xe(i,o){if(1&i&&(e.TgZ(0,"div",111)(1,"div",112),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"img",113),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._UZ(7,"img",114),e._uU(8),e.qZA()()),2&i){const n=e.oxw(),t=n.index,r=n.$implicit;e.xp6(2),e.hij("",t+1,". k\xe9rd\xe9s"),e.xp6(3),e.hij(" ",r.hu," "),e.xp6(3),e.hij(" ",r.en," ")}}function Fe(i,o){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,xe,9,3,"div",110),e.qZA()),2&i){const n=o.$implicit;e.xp6(1),e.Q6J("ngIf",""!==n.hu||""!==n.en)}}function Ae(i,o){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,Fe,2,1,"div",108),e.qZA()),2&i){const n=o.$implicit;e.xp6(1),e.Q6J("ngForOf",n.translations)}}function qe(i,o){if(1&i&&(e.TgZ(0,"tr")(1,"td",99)(2,"div",100)(3,"div",101)(4,"div",102)(5,"div",103)(6,"table",104)(7,"tr")(8,"td",105),e._uU(9,"Regisztr\xe1ci\xf3s \u0171rlap link:"),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.qZA()(),e.TgZ(12,"tr")(13,"td",105),e._uU(14,"Szerz\u0151d\u0151 neve:"),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.qZA()(),e.TgZ(17,"tr")(18,"td",105),e._uU(19,"Szerz\u0151d\u0151 ad\xf3sz\xe1ma:"),e.qZA(),e.TgZ(20,"td"),e._uU(21),e.qZA()(),e.TgZ(22,"tr")(23,"td",105),e._uU(24,"Szerz\u0151d\u0151 c\xedme:"),e.qZA(),e.TgZ(25,"td"),e._uU(26),e.qZA()(),e.TgZ(27,"tr")(28,"td",105),e._uU(29,"Szervez\u0151:"),e.qZA(),e.TgZ(30,"td"),e.YNc(31,ve,2,1,"span",63),e.YNc(32,Te,2,0,"span",63),e.qZA()(),e.TgZ(33,"tr")(34,"td",105),e._uU(35,"Kapcsolattart\xf3 neve:"),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()(),e.TgZ(38,"tr")(39,"td",105),e._uU(40,"Kapcsolattart\xf3 telefonsz\xe1ma:"),e.qZA(),e.TgZ(41,"td")(42,"a",106),e._uU(43),e.qZA()()(),e.TgZ(44,"tr")(45,"td",105),e._uU(46,"Kapcsolattart\xf3 e-mail c\xedme:"),e.qZA(),e.TgZ(47,"td")(48,"a",106),e._uU(49),e.qZA()()(),e.TgZ(50,"tr")(51,"td",105),e._uU(52,"Regisztr\xe1ci\xf3 v\xe9ge"),e.qZA(),e.TgZ(53,"td"),e._uU(54),e.ALo(55,"date"),e.qZA()(),e.TgZ(56,"tr")(57,"td",105),e._uU(58,"Vend\xe9g m\xf3dos\xedt\xe1s hat\xe1rideje"),e.qZA(),e.TgZ(59,"td"),e._uU(60),e.ALo(61,"date"),e.qZA()(),e.TgZ(62,"tr")(63,"td",105),e._uU(64,"Enged\xe9lyezve"),e.qZA(),e.TgZ(65,"td"),e._uU(66),e.qZA()()()(),e.TgZ(67,"div",107),e.YNc(68,Ae,2,1,"div",108),e.qZA()()()()()()),2&i){const n=o.$implicit,t=e.oxw();e.xp6(11),e.Oqu(n.formUrl),e.xp6(5),e.Oqu(n.contractorName),e.xp6(5),e.Oqu(n.contractorTaxNumber),e.xp6(5),e.Oqu(n.contractorAdress),e.xp6(5),e.Q6J("ngIf",t.organizer),e.xp6(1),e.Q6J("ngIf",n.organizer_user_id&&!t.organizer),e.xp6(5),e.Oqu(n.contactName),e.xp6(5),e.MGl("href","tel:",n.contactPhone,"",e.LSH),e.xp6(1),e.Oqu(n.contactPhone),e.xp6(5),e.MGl("href","mailto:",n.contactEmail,"",e.LSH),e.xp6(1),e.Oqu(n.contactEmail),e.xp6(5),e.Oqu(e.xi3(55,15,n.registrationEndDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(e.xi3(61,18,n.guestEditEndDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(n.enabled?"Igen":"Nem"),e.xp6(2),e.Q6J("ngForOf",n.questions)}}function Ee(i,o){1&i&&(e.TgZ(0,"tr")(1,"td",115),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&i&&(e.xp6(1),e.uIk("colspan",7))}function Ue(i,o){if(1&i&&(e.TgZ(0,"span",116),e._uU(1),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.hij(" ",null!=n.id&&n.id.value?"Konferencia adatai":"\xdaj konferencia"," ")}}function ye(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Ne(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Se(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function ze(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function ke(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function De(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Me(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Je(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function we(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Ie(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Re(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Qe(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Be(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"Nem megfelel\u0151 email form\xe1tum"),e.qZA())}function Oe(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function $e(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Ke(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Ye(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",119),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.cancel())}),e.qZA(),e.TgZ(2,"button",120),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.save())}),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("disabled",!n.conferenceForm.dirty),e.xp6(1),e.Q6J("disabled",!n.conferenceForm.valid||!n.conferenceForm.dirty)}}function Pe(i,o){1&i&&(e.TgZ(0,"span",116),e._uU(1,"Szerverz\u0151 k\xe9rd\xe9sei"),e.qZA())}function Ve(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," Mindk\xe9t nyelven meg kell adni a k\xe9rd\xe9st! "),e.qZA())}function Ge(i,o){if(1&i&&(e.TgZ(0,"div",121)(1,"label",122),e._uU(2),e.qZA(),e.TgZ(3,"div",123)(4,"i"),e._UZ(5,"img",124),e.qZA(),e._UZ(6,"input",125),e.qZA(),e.TgZ(7,"div",123)(8,"i"),e._UZ(9,"img",126),e.qZA(),e._UZ(10,"input",127),e.qZA(),e.YNc(11,Ve,2,0,"div",16),e.qZA()),2&i){const n=o.$implicit,t=o.index;e.Q6J("formGroupName",t),e.xp6(1),e.MGl("for","en-",t,""),e.xp6(1),e.hij(" ",t+1,". k\xe9rd\xe9s "),e.xp6(4),e.MGl("id","hu-",t,""),e.xp6(4),e.MGl("id","en-",t,""),e.xp6(1),e.Q6J("ngIf",null==n.errors?null:n.errors.bothLanguagesRequired)}}function Le(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",119),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.cancelQuestions())}),e.qZA(),e.TgZ(2,"button",120),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.saveQuestions())}),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("disabled",!n.questionsForm.dirty),e.xp6(1),e.Q6J("disabled",!n.questionsForm.valid||!n.questionsForm.dirty)}}function je(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja a(z) "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4," konferenci\xe1t?"),e.qZA()),2&i){const n=e.oxw();e.xp6(3),e.Oqu(n.tableItem.name)}}function He(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",128),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.deleteDialog=!1)}),e.qZA(),e.TgZ(2,"button",129),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.delete())}),e.qZA()()}}function Xe(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",128),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(2,"button",129),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.deleteSelected())}),e.qZA()()}}const We=function(){return["name","beginDate","endDate","contractorName","contactName"]},et=function(){return{"min-height":"calc(100vh - 320px)"}},tt=function(){return{lineHeight:"44px"}},w=function(){return{width:"450px"}};f.locale("hu");let T=class F{constructor(o,n,t,r,l,a,d,x,m){this.userService=o,this.router=n,this.formBuilder=t,this.conferenceService=r,this.questionService=l,this.mealService=a,this.apiService=d,this.messageService=x,this.responsiveService=m,this.loading=!0,this.cols=[],this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.questionsSidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.meals=[],this.organizer=null,this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.isOrganizer=!1,this.isMobile=!1,this.initialFormValues={id:null,name:"",beginDate:"",endDate:"",firstMeal:"",lastMeal:"",contractorName:"",contractorAdress:"",contractorTaxNumber:"",contactName:"",contactEmail:"",contactPhone:"",formUrl:"",registrationEndDate:"",guestEditEndDate:"",organizer_user_id:"",enabled:!0},this.formChanges$=new R.x,this.conferenceForm=this.formBuilder.group({id:[this.initialFormValues.id],name:[this.initialFormValues.name,c.kI.required],beginDate:[this.initialFormValues.beginDate,c.kI.required],endDate:[this.initialFormValues.endDate,c.kI.required],firstMeal:[this.initialFormValues.firstMeal,c.kI.required],lastMeal:[this.initialFormValues.lastMeal,c.kI.required],contractorName:[this.initialFormValues.contractorName,c.kI.required],contractorAdress:[this.initialFormValues.contractorAdress,c.kI.required],contractorTaxNumber:[this.initialFormValues.contractorTaxNumber,[c.kI.required]],contactName:[this.initialFormValues.contactName,c.kI.required],contactEmail:[this.initialFormValues.contactEmail,[c.kI.required,(0,K.u)()]],contactPhone:[this.initialFormValues.contactPhone,c.kI.required],formUrl:[this.initialFormValues.formUrl,c.kI.required],registrationEndDate:[this.initialFormValues.registrationEndDate,c.kI.required],guestEditEndDate:[this.initialFormValues.guestEditEndDate,c.kI.required],organizer_user_id:[this.initialFormValues.organizer_user_id],enabled:[this.initialFormValues.enabled]}),this.isFormValid$=new b.X(!1),this.conferenceForm.get("name")?.valueChanges.subscribe(ht=>{const _t=this.apiService.productionURL,bt=this.apiService.developmentURL,Zt=(0,e.X6Q)()?bt:_t;let Ct=this.slugify(ht);this.conferenceForm.patchValue({formUrl:`${Zt}/#/conference-form/${Ct}`})}),this.initializeQuestionsForm()}ngOnInit(){this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canCreate=o),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canEdit=o),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canDelete=o),this.userService.hasRole(["Szervezo"]).subscribe(o=>this.isOrganizer=o),this.loggedInUserId=this.userService.getLoggedInUserId(),this.filterValues.enabled="1",this.conferenceObs$=this.conferenceService.conferenceObs,this.conferenceObs$.subscribe(o=>{this.loading=!1,o&&(this.tableData=o.rows||[],this.totalRecords=o.totalItems||0,this.page=o.currentPage||0)}),this.meals=this.mealService.getMealsForSelector(),this.responsiveService.isMobile$.subscribe(o=>{this.isMobile=o}),this.isFormValid$=this.formChanges$.pipe((0,Q.b)(300),(0,B.x)(),(0,O.U)(()=>this.conferenceForm.valid)),this.conferenceForm.valueChanges.subscribe(()=>this.formChanges$.next()),this.serviceMessageObs$=this.conferenceService.messageObs,this.serviceMessageObs$.subscribe(o=>this.handleMessage(o)),this.questionMessageObs$=this.questionService.messageObs,this.questionMessageObs$.subscribe(o=>this.handleMessage(o))}get id(){return this.conferenceForm.get("id")}get name(){return this.conferenceForm.get("name")}get beginDate(){return this.conferenceForm.get("beginDate")}get endDate(){return this.conferenceForm.get("endDate")}get firstMeal(){return this.conferenceForm.get("firstMeal")}get lastMeal(){return this.conferenceForm.get("lastMeal")}get contractorName(){return this.conferenceForm.get("contractorName")}get contractorAdress(){return this.conferenceForm.get("contractorAdress")}get contractorTaxNumber(){return this.conferenceForm.get("contractorTaxNumber")}get contactName(){return this.conferenceForm.get("contactName")}get contactEmail(){return this.conferenceForm.get("contactEmail")}get contactPhone(){return this.conferenceForm.get("contactPhone")}get formUrl(){return this.conferenceForm.get("formUrl")}get registrationEndDate(){return this.conferenceForm.get("registrationEndDate")}get guestEditEndDate(){return this.conferenceForm.get("guestEditEndDate")}get enabled(){return this.conferenceForm.get("enabled")}get questions(){return this.questionsForm.get("questions")}doQuery(){this.loading=!0;const n=Object.keys(this.filterValues).map(t=>this.filterValues[t].length>0?`${t}=${this.filterValues[t]}`:"").filter(t=>t.length>0).join("&");return""!==this.globalFilter?this.conferenceService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.conferenceService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},n)}onFilter(o,n){let r="";"enabled"===n?r=o.checked?"1":"0":o instanceof Date?r=f(o).format("YYYY.MM.DD"):o&&(o.value||o.target?.value)?(r=o.value||o.target?.value,r=r.toString()):this.filterValues[n]="",this.filterValues[n]=r,["beginDate","endDate","firstMeal","lastMeal","enabled"].includes(n)?this.filterValues[n]===r&&this.doQuery():(this.debounce[n]&&clearTimeout(this.debounce[n]),this.debounce[n]=setTimeout(()=>{this.filterValues[n]===r&&this.doQuery()},500))}onLazyLoad(o){this.page=o.first/o.rows,this.rowsPerPage=o.rows??this.rowsPerPage,this.sortField=o.sortField??"",this.sortOrder=o.sortOrder??1,this.globalFilter=o.globalFilter??"",this.doQuery()}onGlobalFilter(o,n){o.filterGlobal(n.target.value,"contains")}onRowExpand(o){this.organizer=null;const n=o?.organizer_user_id;n&&this.userService.getUserById(n).subscribe(t=>{this.organizer=t})}handleMessage(o){o&&(this.loading=!1,"ERROR"==o?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):(this.messageService.add(o),this.tableItem={},this.selected=[],this.doQuery()))}initializeQuestionsForm(){const o=this.tableItem.questions,t=o&&o.length&&o[0].translations?o[0].translations:[];this.questionsForm=this.formBuilder.group({conferenceid:[this.tableItem.id],questions:this.formBuilder.array([])}),t.forEach(l=>{this.questions.push(this.formBuilder.group({hu:[l.hu],en:[l.en]},{validators:i=>{const o=i.get("hu")?.value,n=i.get("en")?.value;return o&&!n||!o&&n?{bothLanguagesRequired:!0}:null}}))});const r=5-this.questions.length;for(let l=0;l<r;l++)this.questions.push(this.formBuilder.group({hu:[""],en:[""]},{validators:i=>{const o=i.get("hu")?.value,n=i.get("en")?.value;return o&&!n||!o&&n?{bothLanguagesRequired:!0}:null}}));this.originalQuestionsFormValues=this.questionsForm.value}setFormUrl(){let o=this.tableItem.name||"";o=this.slugify(o),this.tableItem.formUrl=`/conference-form/${o}`}navigateToConferenceForm(o){const n=this.slugify(o.name);this.router.navigate(["/conference-form",n])}create(){this.conferenceForm.reset(this.initialFormValues),this.sidebar=!0}edit(o){this.conferenceForm.reset(this.initialFormValues),this.conferenceForm.patchValue(o),this.originalFormValues=this.conferenceForm.value,this.sidebar=!0}delete(){this.loading=!0,this.deleteDialog=!1,this.conferenceService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.deleteDialog=!1,this.conferenceService.bulkdelete(this.selected)}save(){if(this.conferenceForm.valid){this.loading=!0;const o=this.conferenceForm.value;o.id?this.conferenceService.update(o):this.conferenceService.create(o),this.sidebar=!1}}cancel(){this.conferenceForm.reset(this.originalFormValues)}editQuestions(o){this.tableItem=o,this.questionsForm.reset(),this.initializeQuestionsForm(),this.questionsSidebar=!0}saveQuestions(){this.loading=!0;const o={id:this.tableItem.questions&&this.tableItem.questions[0]?.id?this.tableItem.questions[0].id:null,conferenceid:this.tableItem.id,translations:this.questionsForm.value.questions};null==o.id?this.questionService.create(o):this.questionService.update(o),this.questionsSidebar=!1}cancelQuestions(){this.questionsForm.reset(this.originalQuestionsFormValues)}slugify(o){if(!o)return"";const n={\u00e1:"a",\u00e9:"e",\u00ed:"i",\u00f3:"o",\u00f6:"o",\u0151:"o",\u00fa:"u",\u00fc:"u",\u0171:"u",\u00c1:"A",\u00c9:"E",\u00cd:"I",\u00d3:"O",\u00d6:"O",\u0150:"O",\u00da:"U",\u00dc:"U",\u0170:"U"};return(o=o.split("").map(t=>n[t]||t).join("")).trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}copyUrl(o){navigator.clipboard.writeText(o),this.messageService.add({severity:"success",summary:"Regisztr\xe1ci\xf3s link v\xe1g\xf3lapra m\xe1solva",detail:o})}getMealStyle(o){switch(o){case"reggeli":return"breakfast";case"eb\xe9d":return"lunch";case"vacsora":return"dinner";default:return"nothing"}}ngOnDestroy(){}static#e=this.\u0275fac=function(n){return new(n||F)(e.Y36(Y.K),e.Y36(_.F0),e.Y36(c.qu),e.Y36(E.Z),e.Y36(P),e.Y36(V.Q),e.Y36(U.s),e.Y36(g.ez),e.Y36(G.k))};static#t=this.\u0275cmp=e.Xpm({type:F,selectors:[["conference"]],features:[e._Bn([g.ez])],decls:126,vars:66,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onRowExpand","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","rowexpansion"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-12"],["for","name",1,"font-medium","text-900"],["id","name","type","text","pInputText","","formControlName","name"],["class","block p-error",4,"ngIf"],["for","formUrl",1,"font-medium","text-900"],[1,"block","mt-2","md:mt-0","p-input-icon-right"],[1,"pi","pi-copy","cursor-pointer","hover:text-blue-500",3,"click"],["id","formUrl","type","text","pInputText","","formControlName","formUrl","readonly",""],[1,"field","mb-4","col-12","lg:col-6"],["for","beginDate",1,"font-medium","text-900"],["formControlName","beginDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","firstMeal",1,"font-medium","text-900"],["controlName","firstMeal",3,"parentForm"],["for","endDate",1,"font-medium","text-900"],["formControlName","endDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","lastMeal",1,"font-medium","text-900"],["controlName","lastMeal",3,"parentForm"],["for","contractorName",1,"font-medium","text-900"],["id","contractorName","type","text","pInputText","","formControlName","contractorName"],["for","contractorTaxNumber",1,"font-medium","text-900"],["id","contractorTaxNumber","type","text","pInputText","","formControlName","contractorTaxNumber"],["for","contractorAdress",1,"font-medium","text-900"],["id","contractorAdress","type","text","pInputText","","formControlName","contractorAdress"],["for","organizer",1,"font-medium","text-900"],["controlName","organizer_user_id",3,"parentForm","user_rolesid"],["for","contactName",1,"font-medium","text-900"],["id","contactName","type","text","pInputText","","formControlName","contactName"],["for","contactPhone",1,"font-medium","text-900"],["id","contactPhone","type","text","pInputText","","formControlName","contactPhone"],["for","contactEmail",1,"font-medium","text-900"],["id","contactEmail","type","text","pInputText","","formControlName","contactEmail"],["for","registrationEndDate",1,"font-medium","text-900"],["formControlName","registrationEndDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","guestEditEndDate",1,"font-medium","text-900"],["formControlName","guestEditEndDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","enabled",1,"font-medium","text-900"],[1,"block"],[1,"flex","align-items-center","vertical-align-middle",2,"min-height","44px"],["id","enabled","formControlName","enabled",3,"styleClass"],[1,"pl-2","font-normal","vertical-align-middle"],["pTemplate","footer"],["id","questionsSidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],[1,"block","text-sm","mb-0"],["novalidate","",1,"p-fluid",3,"formGroup","ngSubmit"],["formControlName","conferenceid","type","hidden"],["formArrayName","questions",1,"flex","flex-wrap","w-full"],["class","w-full mt-3",3,"formGroupName",4,"ngFor","ngForOf"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0","p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s...",1,"w-full","sm:w-auto",3,"input"],[1,"block","mt-2","md:mt-0"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pSortableColumn","name"],["field","name"],["pSortableColumn","beginDate"],["field","beginDate"],["pSortableColumn","firstMeal"],["pSortableColumn","endDate"],["field","endDate"],["pSortableColumn","lastMeal"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","40%","min-width","22rem",3,"input"],["appendTo","body","dataType","string","placeholder","Keres\xe9s...",3,"showButtonBar","onSelect","onClearClick"],["placeholder","Keres\xe9s...",3,"showNothing","showClear","change"],[1,"flex","align-items-center","vertical-align-middle"],["id","enabled",3,"ngModel","styleClass","onChange"],[1,"pr-0"],["type","button","styleClass","p-button-rounded p-button-text","pRipple","",3,"pRowToggler","icon"],[2,"width","30%","min-width","15rem"],[1,"p-column-title"],[2,"width","14%","min-width","10rem"],[1,"calendar-badge"],[1,"pi","pi-calendar","mr-1"],[3,"ngClass"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-copy","pTooltip","Regisztr\xe1ci\xf3s link m\xe1sol\xe1sa v\xe1g\xf3lapra","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-search","pTooltip","Regisztr\xe1ci\xf3s \u0171rlap megnyit\xe1sa","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"click"],["pButton","","pRipple","","icon","pi pi-question","pTooltip","Extra k\xe9rd\xe9sek be\xe1ll\xedt\xe1sa","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-pencil","pTooltip","Konferencia szerkeszt\xe9se","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash","pTooltip","Konferencia t\xf6rl\xe9se","tooltipPosition","top",1,"p-button-rounded","p-button-warning",3,"disabled","click"],["colspan","10"],[1,"p-2"],[1,"w-full"],[1,"grid","w-full"],[1,"col-6"],["cellspacing","0","cellpadding","7"],[1,"font-medium"],[3,"href"],[1,"col-5"],[4,"ngFor","ngForOf"],["width","10rem","styleClass","mb-2"],["class","flex flex-column w-full mb-3",4,"ngIf"],[1,"flex","flex-column","w-full","mb-3"],[1,"font-medium","text-900"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-hu","mr-1",2,"width","18px"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-gb","mr-1",2,"width","18px"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],[1,"w-full","mt-3",3,"formGroupName"],[1,"font-medium","text-900","mb-2",3,"for"],[1,"block","mt-2","p-input-icon-left"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-hu",2,"width","18px","margin-top","-8px"],["type","text","pInputText","","formControlName","hu",1,"w-full",3,"id"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-gb",2,"width","18px","margin-top","-8px"],["type","text","pInputText","","formControlName","en",1,"w-full",3,"id"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"]],template:function(n,t){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return t.selected=l})("onRowExpand",function(l){return t.onRowExpand(l.data)})("onLazyLoad",function(l){return t.onLazyLoad(l)}),e.YNc(5,_e,9,1,"ng-template",5),e.YNc(6,Ze,36,12,"ng-template",6),e.YNc(7,Ce,38,19,"ng-template",7),e.YNc(8,qe,69,21,"ng-template",8),e.YNc(9,Ee,3,1,"ng-template",9),e.qZA()(),e.TgZ(10,"p-sidebar",10),e.NdJ("visibleChange",function(l){return t.sidebar=l}),e.YNc(11,Ue,2,1,"ng-template",6),e.TgZ(12,"form",11),e.NdJ("ngSubmit",function(){return t.save()}),e._UZ(13,"input",12),e.TgZ(14,"div",13)(15,"label",14),e._uU(16,"Konferencia neve"),e.qZA(),e._UZ(17,"input",15),e.YNc(18,ye,2,0,"div",16),e.qZA(),e.TgZ(19,"div",13)(20,"label",17),e._uU(21,"Regisztr\xe1ci\xf3s \u0171rlap link"),e.qZA(),e.TgZ(22,"span",18)(23,"i",19),e.NdJ("click",function(){return t.copyUrl(null==t.formUrl?null:t.formUrl.value)}),e.qZA(),e._UZ(24,"input",20),e.qZA(),e.YNc(25,Ne,2,0,"div",16),e.qZA(),e.TgZ(26,"div",21)(27,"label",22),e._uU(28,"Kezdete"),e.qZA(),e._UZ(29,"p-calendar",23),e.YNc(30,Se,2,0,"div",16),e.qZA(),e.TgZ(31,"div",21)(32,"label",24),e._uU(33,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e._UZ(34,"app-meal-selector",25),e.YNc(35,ze,2,0,"div",16),e.qZA(),e.TgZ(36,"div",21)(37,"label",26),e._uU(38,"V\xe9ge"),e.qZA(),e._UZ(39,"p-calendar",27),e.YNc(40,ke,2,0,"div",16),e.qZA(),e.TgZ(41,"div",21)(42,"label",28),e._uU(43,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e._UZ(44,"app-meal-selector",29),e.YNc(45,De,2,0,"div",16),e.qZA(),e.TgZ(46,"div",21)(47,"label",30),e._uU(48,"Szerz\u0151d\u0151 neve"),e.qZA(),e._UZ(49,"input",31),e.YNc(50,Me,2,0,"div",16),e.qZA(),e.TgZ(51,"div",21)(52,"label",32),e._uU(53,"Szerz\u0151d\u0151 ad\xf3sz\xe1ma"),e.qZA(),e._UZ(54,"input",33),e.YNc(55,Je,2,0,"div",16),e.qZA(),e.TgZ(56,"div",21)(57,"label",34),e._uU(58,"Szerz\u0151d\u0151 c\xedme"),e.qZA(),e._UZ(59,"input",35),e.YNc(60,we,2,0,"div",16),e.qZA(),e.TgZ(61,"div",21)(62,"label",36),e._uU(63,"Szervez\u0151"),e.qZA(),e._UZ(64,"app-user-selector",37),e.qZA(),e.TgZ(65,"div",21)(66,"label",38),e._uU(67,"Kapcsolattart\xf3 neve"),e.qZA(),e._UZ(68,"input",39),e.YNc(69,Ie,2,0,"div",16),e.qZA(),e.TgZ(70,"div",21)(71,"label",40),e._uU(72,"Kapcsolattart\xf3 telefonsz\xe1ma"),e.qZA(),e._UZ(73,"input",41),e.YNc(74,Re,2,0,"div",16),e.qZA(),e.TgZ(75,"div",21)(76,"label",42),e._uU(77,"Kapcsolattart\xf3 e-mail c\xedme"),e.qZA(),e._UZ(78,"input",43),e.YNc(79,Qe,2,0,"div",16),e.YNc(80,Be,2,0,"div",16),e.qZA(),e.TgZ(81,"div",21)(82,"label",44),e._uU(83,"Regisztr\xe1ci\xf3 v\xe9ge"),e.qZA(),e._UZ(84,"p-calendar",45),e.YNc(85,Oe,2,0,"div",16),e.qZA(),e.TgZ(86,"div",21)(87,"label",46),e._uU(88,"Vend\xe9g m\xf3dos\xedt\xe1s hat\xe1rideje"),e.qZA(),e._UZ(89,"p-calendar",47),e.YNc(90,$e,2,0,"div",16),e.qZA(),e.TgZ(91,"div",21)(92,"label",48),e._uU(93,"Enged\xe9lyezve"),e.qZA(),e.TgZ(94,"div",49)(95,"div",50),e._UZ(96,"p-inputSwitch",51),e.TgZ(97,"span",52),e._uU(98),e.qZA()()(),e.YNc(99,Ke,2,0,"div",16),e.qZA()(),e.YNc(100,Ye,3,2,"ng-template",53),e.qZA(),e.TgZ(101,"p-sidebar",54),e.NdJ("visibleChange",function(l){return t.questionsSidebar=l}),e.YNc(102,Pe,2,0,"ng-template",6),e.TgZ(103,"p",55),e._uU(104," \u0170rlaponk\xe9nt az alap\xe9rtelmezett mez\u0151k\xf6n fel\xfcl 5 extra k\xe9rd\xe9s tehet\u0151 fel."),e._UZ(105,"br"),e._uU(106," Az \xfcresen hagyott k\xe9rd\xe9sek nem fognak megjelenni az \u0171rlapon. "),e.qZA(),e.TgZ(107,"form",56),e.NdJ("ngSubmit",function(){return t.saveQuestions()}),e._UZ(108,"input",57),e.TgZ(109,"div",58),e.YNc(110,Ge,12,6,"div",59),e.qZA()(),e.YNc(111,Le,3,2,"ng-template",53),e.qZA(),e.TgZ(112,"p-dialog",60),e.NdJ("visibleChange",function(l){return t.deleteDialog=l}),e.TgZ(113,"div",61),e._UZ(114,"i",62),e.YNc(115,je,5,1,"span",63),e.qZA(),e.YNc(116,He,3,0,"ng-template",53),e.qZA(),e.TgZ(117,"p-dialog",60),e.NdJ("visibleChange",function(l){return t.bulkDeleteDialog=l}),e.TgZ(118,"div",61),e._UZ(119,"i",62),e.TgZ(120,"span"),e._uU(121,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott konferenci\xe1kat?"),e.qZA()(),e.YNc(122,Xe,3,0,"ng-template",53),e.qZA()()(),e.TgZ(123,"p-blockUI",64),e._UZ(124,"p-progressSpinner"),e.qZA(),e._UZ(125,"p-toast")),2&n&&(e.xp6(3),e.Q6J("value",t.tableData)("rows",t.rowsPerPage)("totalRecords",t.totalRecords)("globalFilterFields",e.DdM(61,We))("paginator",!0)("rowsPerPageOptions",t.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",t.selected)("tableStyle",e.DdM(62,et))("rowHover",!0)("lazy",!0),e.xp6(7),e.Q6J("visible",t.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",t.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",t.conferenceForm),e.xp6(6),e.Q6J("ngIf",(null==t.name?null:t.name.dirty)&&(null==t.name||null==t.name.errors?null:t.name.errors.required)),e.xp6(7),e.Q6J("ngIf",(null==t.formUrl?null:t.formUrl.dirty)&&(null==t.formUrl||null==t.formUrl.errors?null:t.formUrl.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.beginDate?null:t.beginDate.dirty)&&(null==t.beginDate||null==t.beginDate.errors?null:t.beginDate.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm),e.xp6(1),e.Q6J("ngIf",(null==t.firstMeal?null:t.firstMeal.dirty)&&(null==t.firstMeal||null==t.firstMeal.errors?null:t.firstMeal.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.endDate?null:t.endDate.dirty)&&(null==t.endDate||null==t.endDate.errors?null:t.endDate.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm),e.xp6(1),e.Q6J("ngIf",(null==t.lastMeal?null:t.lastMeal.dirty)&&(null==t.lastMeal||null==t.lastMeal.errors?null:t.lastMeal.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorName?null:t.contractorName.dirty)&&(null==t.contractorName||null==t.contractorName.errors?null:t.contractorName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorTaxNumber?null:t.contractorTaxNumber.dirty)&&(null==t.contractorTaxNumber||null==t.contractorTaxNumber.errors?null:t.contractorTaxNumber.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorAdress?null:t.contractorAdress.dirty)&&(null==t.contractorAdress||null==t.contractorAdress.errors?null:t.contractorAdress.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm)("user_rolesid",4),e.xp6(5),e.Q6J("ngIf",(null==t.contactName?null:t.contactName.dirty)&&(null==t.contactName||null==t.contactName.errors?null:t.contactName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contactPhone?null:t.contactPhone.dirty)&&(null==t.contactPhone||null==t.contactPhone.errors?null:t.contactPhone.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contactEmail?null:t.contactEmail.dirty)&&(null==t.contactEmail||null==t.contactEmail.errors?null:t.contactEmail.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==t.contactEmail?null:t.contactEmail.dirty)&&(null==t.contactEmail||null==t.contactEmail.errors?null:t.contactEmail.errors.invalidEmail)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.registrationEndDate?null:t.registrationEndDate.dirty)&&(null==t.registrationEndDate||null==t.registrationEndDate.errors?null:t.registrationEndDate.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.guestEditEndDate?null:t.guestEditEndDate.dirty)&&(null==t.guestEditEndDate||null==t.guestEditEndDate.errors?null:t.guestEditEndDate.errors.required)),e.xp6(6),e.Akn(e.DdM(63,tt)),e.Q6J("styleClass","vertical-align-middle"),e.xp6(2),e.hij(" ",null!=t.enabled&&t.enabled.value?"Igen":"Nem"," "),e.xp6(1),e.Q6J("ngIf",(null==t.enabled?null:t.enabled.dirty)&&(null==t.enabled||null==t.enabled.errors?null:t.enabled.errors.required)),e.xp6(2),e.Q6J("visible",t.questionsSidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",t.isMobile)("blockScroll",!0),e.xp6(6),e.Q6J("formGroup",t.questionsForm),e.xp6(3),e.Q6J("ngForOf",t.questions.controls),e.xp6(2),e.Akn(e.DdM(64,w)),e.Q6J("visible",t.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",t.tableItem),e.xp6(2),e.Akn(e.DdM(65,w)),e.Q6J("visible",t.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Q6J("autoZIndex",!0)("blocked",t.loading))},dependencies:[p.mk,p.sg,p.O5,u.iA,g.jx,u.lQ,u.jB,u.fz,h.Hq,h.zx,c._Y,c.Fj,c.JJ,c.JL,c.On,c.sg,c.u,c.x0,c.CE,y.H,N.FN,Z.o,S.V,C.Y,z.G,k.b,v.u,D.f,M.O,J.Ql,L.H,j.T,he,p.uU],encapsulation:2})};T=(0,I.gn)([(0,$.k)()],T);let nt=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[_.Bz.forChild([{path:"",component:T}]),_.Bz]})}return i})();var ot=s(2610),it=s(6340),rt=s(6022),lt=s(6218),st=s(2160),at=s(1865),ct=s(9653),ut=s(6263),pt=s(5389),dt=s(8057),mt=s(2285),gt=s(9444);let ft=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[p.ez,nt,u.U$,ot.O,c.u5,c.UX,h.hJ,y.T,N.EV,it.V,rt.Xt,Z.j,lt.A,st.kW,at.cc,ct.L$,S.S,C.l,z.L,k.u,ut.W,pt.dp,v.z,dt.nD,D._8,M.m,J.Iu,mt.L,gt.y]})}return i})()}}]);
\ No newline at end of file
diff --git a/docs/7883.4fb186bf3de38bc2.js b/docs/7883.4fb186bf3de38bc2.js
new file mode 100644
index 00000000..24cea785
--- /dev/null
+++ b/docs/7883.4fb186bf3de38bc2.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[7883],{3227:(M,y,r)=>{r.r(y),r.d(y,{RoomModule:()=>Ct});var d=r(6814),a=r(6223),T=r(1640),x=r(7582),_=r(8645),w=r(5619),Z=r(3620),h=r(3997),c=r(7398),u=r(4279),p=r(5219),m=r(6676),e=r(2029),F=r(4520),f=r(1206),g=r(8022),b=r(9664),S=r(707),C=r(4480),R=r(4104),D=r(3714),B=r(7213),O=r(7680),J=r(4204),V=r(9246),Y=r(9474),$=r(8913),P=r(3069),G=r(2991),A=r(9515),k=r(2160);function j(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function W(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function X(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",2),e.NdJ("onChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(i))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,j,2,2,"ng-template",3),e.YNc(4,W,2,2,"ng-template",4),e.qZA()}if(2&o){const t=s.ngIf,n=e.oxw();e.s9C("placeholder",e.lcZ(1,5,n.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("formControl",t)("options",n.bathrooms)("showClear",n.showClear)}}function ee(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function te(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function ne(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",6),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedBathroom=i)})("onChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(i))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,ee,2,2,"ng-template",3),e.YNc(4,te,2,2,"ng-template",4),e.qZA()}if(2&o){const t=e.oxw();e.s9C("placeholder",e.lcZ(1,5,t.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("ngModel",t.selectedBathroom)("options",t.bathrooms)("showClear",t.showClear)}}let oe=(()=>{class o{constructor(t){this.translate=t,this.change=new e.vpe,this.bathrooms=[],this.selectedBathroom="",this.placeholder||(this.placeholder="V\xe1lasszon...")}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.setBathrooms()})}ngOnChanges(t){this.setBathrooms()}getFormControl(){return this.parentForm&&this.controlName?this.parentForm.get(this.controlName):null}setBathrooms(){this.bathrooms=[{label:this.translate.instant("BATHROOMS.OWN"),value:"saj\xe1t f\xfcrd\u0151szoba",color:"teal"},{label:this.translate.instant("BATHROOMS.DORMITORY"),value:"koll\xe9giumi f\xfcrd\u0151szoba",color:"yellow"},{label:this.translate.instant("BATHROOMS.BARRIER-FREE"),value:"akad\xe1lyment. f\xfcrd\u0151szoba",color:"red"}]}handleOnChange(t){this.change.emit({value:t.value,field:this.controlName})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(A.sK))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-bathroom-selector"]],inputs:{parentForm:"parentForm",controlName:"controlName",placeholder:"placeholder",showClear:"showClear"},outputs:{change:"change"},features:[e.TTD],decls:3,vars:2,consts:[["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange",4,"ngIf","ngIfElse"],["useNgModel",""],["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange"],["pTemplate","item"],["pTemplate","selectedItem"],[3,"ngClass"],["optionLabel","label","optionValue","value","appendTo","body",3,"ngModel","options","placeholder","emptyMessage","showClear","ngModelChange","onChange"]],template:function(n,i){if(1&n&&(e.YNc(0,X,5,9,"p-dropdown",0),e.YNc(1,ne,5,9,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",i.getFormControl())("ngIfElse",l)}},dependencies:[d.mk,d.O5,a.JJ,a.On,a.oH,p.jx,k.Lt,A.X$],encapsulation:2})}return o})();function ie(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function se(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function le(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",2),e.NdJ("onChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(i))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,ie,2,2,"ng-template",3),e.YNc(4,se,2,2,"ng-template",4),e.qZA()}if(2&o){const t=s.ngIf,n=e.oxw();e.s9C("placeholder",e.lcZ(1,5,n.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("formControl",t)("options",n.floors)("showClear",n.showClear)}}function ae(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function re(o,s){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function pe(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",6),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedFloor=i)})("onChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(i))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,ae,2,2,"ng-template",3),e.YNc(4,re,2,2,"ng-template",4),e.qZA()}if(2&o){const t=e.oxw();e.s9C("placeholder",e.lcZ(1,5,t.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("ngModel",t.selectedFloor)("options",t.floors)("showClear",t.showClear)}}let ue=(()=>{class o{constructor(t){this.translate=t,this.change=new e.vpe,this.floors=[],this.selectedFloor="",this.placeholder||(this.placeholder="V\xe1lasszon...")}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.setFloors()})}ngOnChanges(t){this.setFloors()}getFormControl(){return this.parentForm&&this.controlName?this.parentForm.get(this.controlName):null}setFloors(){this.floors=[{label:this.translate.instant("FLOORS.BASEMENT"),value:"szuter\xe9n",color:"indigo"},{label:this.translate.instant("FLOORS.GROUND"),value:"fsz.",color:"blue"},{label:this.translate.instant("FLOORS.I-FLOOR"),value:"I. em.",color:"cyan"},{label:this.translate.instant("FLOORS.II-FLOOR"),value:"II. em.",color:"green"},{label:this.translate.instant("FLOORS.GATE"),value:"Kapu els\u0151",color:"yellow"},{label:this.translate.instant("FLOORS.CARETAKER"),value:"Gondnoki emelet",color:"orange"}]}handleOnChange(t){this.change.emit({value:t.value,field:this.controlName})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(A.sK))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-floor-selector"]],inputs:{parentForm:"parentForm",controlName:"controlName",placeholder:"placeholder",showClear:"showClear"},outputs:{change:"change"},features:[e.TTD],decls:3,vars:2,consts:[["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange",4,"ngIf","ngIfElse"],["useNgModel",""],["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange"],["pTemplate","item"],["pTemplate","selectedItem"],[3,"ngClass"],["optionLabel","label","optionValue","value","appendTo","body",3,"ngModel","options","placeholder","emptyMessage","showClear","ngModelChange","onChange"]],template:function(n,i){if(1&n&&(e.YNc(0,le,5,9,"p-dropdown",0),e.YNc(1,pe,5,9,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",i.getFormControl())("ngIfElse",l)}},dependencies:[d.mk,d.O5,a.JJ,a.On,a.oH,p.jx,k.Lt,A.X$],encapsulation:2})}return o})();var z=r(3259),H=r(6651);function de(o,s){if(1&o&&(e.TgZ(0,"span",4),e._uU(1),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function ce(o,s){if(1&o&&e._UZ(0,"span",6),2&o){const t=e.oxw(2);e.Tol(t.icon),e.Q6J("ngClass","p-avatar-icon")}}function me(o,s){if(1&o&&e.YNc(0,ce,1,3,"span",5),2&o){const t=e.oxw(),n=e.MAs(6);e.Q6J("ngIf",t.icon)("ngIfElse",n)}}function he(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"img",8),e.NdJ("error",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.imageError(i))}),e.qZA()}if(2&o){const t=e.oxw(2);e.Q6J("src",t.image,e.LSH)}}function ge(o,s){if(1&o&&e.YNc(0,he,1,1,"img",7),2&o){const t=e.oxw();e.Q6J("ngIf",t.image)}}const _e=["*"];let fe=(()=>{class o{label;icon;image;size="normal";shape="square";style;styleClass;onImageError=new e.vpe;containerClass(){return{"p-avatar p-component":!0,"p-avatar-image":null!=this.image,"p-avatar-circle":"circle"===this.shape,"p-avatar-lg":"large"===this.size,"p-avatar-xl":"xlarge"===this.size}}imageError(t){this.onImageError.emit(t)}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=e.Xpm({type:o,selectors:[["p-avatar"]],hostAttrs:[1,"p-element"],inputs:{label:"label",icon:"icon",image:"image",size:"size",shape:"shape",style:"style",styleClass:"styleClass"},outputs:{onImageError:"onImageError"},ngContentSelectors:_e,decls:7,vars:6,consts:[[3,"ngClass","ngStyle"],["class","p-avatar-text",4,"ngIf","ngIfElse"],["iconTemplate",""],["imageTemplate",""],[1,"p-avatar-text"],[3,"class","ngClass",4,"ngIf","ngIfElse"],[3,"ngClass"],[3,"src","error",4,"ngIf"],[3,"src","error"]],template:function(n,i){if(1&n&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.YNc(2,de,2,1,"span",1),e.YNc(3,me,1,2,"ng-template",null,2,e.W1O),e.YNc(5,ge,1,1,"ng-template",null,3,e.W1O),e.qZA()),2&n){const l=e.MAs(4);e.Tol(i.styleClass),e.Q6J("ngClass",i.containerClass())("ngStyle",i.style),e.xp6(2),e.Q6J("ngIf",i.label)("ngIfElse",l)}},dependencies:[d.mk,d.O5,d.PC],styles:[".p-avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1rem}.p-avatar.p-avatar-image{background-color:transparent}.p-avatar.p-avatar-circle{border-radius:50%;overflow:hidden}.p-avatar .p-avatar-icon{font-size:1rem}.p-avatar img{width:100%;height:100%}\n"],encapsulation:2,changeDetection:0})}return o})(),be=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[d.ez]})}return o})();const ve=["*"];let Ce=(()=>{class o{styleClass;style;static \u0275fac=function(n){return new(n||o)};static \u0275cmp=e.Xpm({type:o,selectors:[["p-avatarGroup"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style"},ngContentSelectors:ve,decls:2,vars:4,consts:[[3,"ngClass","ngStyle"]],template:function(n,i){1&n&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA()),2&n&&(e.Tol(i.styleClass),e.Q6J("ngClass","p-avatar-group p-component")("ngStyle",i.style))},dependencies:[d.mk,d.PC],styles:[".p-avatar-group p-avatar+p-avatar{margin-left:-1rem}.p-avatar-group{display:flex;align-items:center}\n"],encapsulation:2,changeDetection:0})}return o})(),Te=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[d.ez]})}return o})();var E=r(2076);const ye=["sliderHandle"],xe=["sliderHandleStart"],Ze=["sliderHandleEnd"],Fe=function(o,s){return{left:o,width:s}};function we(o,s){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.WLB(1,Fe,null!=t.offset?t.offset+"%":t.handleValues[0]+"%",t.diff?t.diff+"%":t.handleValues[1]-t.handleValues[0]+"%"))}}const Se=function(o,s){return{bottom:o,height:s}};function Ae(o,s){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.WLB(1,Se,null!=t.offset?t.offset+"%":t.handleValues[0]+"%",t.diff?t.diff+"%":t.handleValues[1]-t.handleValues[0]+"%"))}}const Ee=function(o){return{height:o}};function Me(o,s){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,Ee,t.handleValue+"%"))}}const ke=function(o){return{width:o}};function Ie(o,s){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,ke,t.handleValue+"%"))}}const I=function(o,s){return{left:o,bottom:s}};function Ne(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",5,6),e.NdJ("keydown",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onHandleKeydown(i))})("mousedown",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onMouseDown(i))})("touchstart",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchStart(i))})("touchmove",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchMove(i))})("touchend",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchEnd(i))}),e.qZA()}if(2&o){const t=e.oxw();e.Udp("transition",t.dragging?"none":null),e.Q6J("ngStyle",e.WLB(8,I,"horizontal"==t.orientation?t.handleValue+"%":null,"vertical"==t.orientation?t.handleValue+"%":null)),e.uIk("tabindex",t.disabled?null:t.tabindex)("aria-valuemin",t.min)("aria-valuenow",t.value)("aria-valuemax",t.max)("aria-labelledby",t.ariaLabelledBy)}}const L=function(o){return{"p-slider-handle-active":o}};function Ue(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",7,8),e.NdJ("keydown",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onHandleKeydown(i,0))})("mousedown",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onMouseDown(i,0))})("touchstart",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchStart(i,0))})("touchmove",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchMove(i,0))})("touchend",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchEnd(i))}),e.qZA()}if(2&o){const t=e.oxw();e.Udp("transition",t.dragging?"none":null),e.Q6J("ngStyle",e.WLB(9,I,t.rangeStartLeft,t.rangeStartBottom))("ngClass",e.VKq(12,L,0==t.handleIndex)),e.uIk("tabindex",t.disabled?null:t.tabindex)("aria-valuemin",t.min)("aria-valuenow",t.value?t.value[0]:null)("aria-valuemax",t.max)("aria-labelledby",t.ariaLabelledBy)}}function Re(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",7,9),e.NdJ("keydown",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onHandleKeydown(i,1))})("mousedown",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onMouseDown(i,1))})("touchstart",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchStart(i,1))})("touchmove",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchMove(i,1))})("touchend",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchEnd(i))}),e.qZA()}if(2&o){const t=e.oxw();e.Udp("transition",t.dragging?"none":null),e.Q6J("ngStyle",e.WLB(9,I,t.rangeEndLeft,t.rangeEndBottom))("ngClass",e.VKq(12,L,1==t.handleIndex)),e.uIk("tabindex",t.disabled?null:t.tabindex)("aria-valuemin",t.min)("aria-valuenow",t.value?t.value[1]:null)("aria-valuemax",t.max)("aria-labelledby",t.ariaLabelledBy)}}const De=function(o,s,t,n){return{"p-slider p-component":!0,"p-disabled":o,"p-slider-horizontal":s,"p-slider-vertical":t,"p-slider-animate":n}},Be={provide:a.JU,useExisting:(0,e.Gpc)(()=>Q),multi:!0};let Q=(()=>{class o{document;platformId;el;renderer;ngZone;cd;animate;disabled;min=0;max=100;orientation="horizontal";step;range;style;styleClass;ariaLabelledBy;tabindex=0;onChange=new e.vpe;onSlideEnd=new e.vpe;sliderHandle;sliderHandleStart;sliderHandleEnd;value;values;handleValue;handleValues=[];diff;offset;bottom;onModelChange=()=>{};onModelTouched=()=>{};dragging;dragListener;mouseupListener;initX;initY;barWidth;barHeight;sliderHandleClick;handleIndex=0;startHandleValue;startx;starty;constructor(t,n,i,l,v,Tt){this.document=t,this.platformId=n,this.el=i,this.renderer=l,this.ngZone=v,this.cd=Tt}onMouseDown(t,n){this.disabled||(this.dragging=!0,this.updateDomData(),this.sliderHandleClick=!0,this.handleIndex=this.range&&this.handleValues&&this.handleValues[0]===this.max?0:n,this.bindDragListeners(),t.target.focus(),t.preventDefault(),this.animate&&E.p.removeClass(this.el.nativeElement.children[0],"p-slider-animate"))}onTouchStart(t,n){if(!this.disabled){var i=t.changedTouches[0];this.startHandleValue=this.range?this.handleValues[n]:this.handleValue,this.dragging=!0,this.handleIndex=this.range&&this.handleValues&&this.handleValues[0]===this.max?0:n,"horizontal"===this.orientation?(this.startx=parseInt(i.clientX,10),this.barWidth=this.el.nativeElement.children[0].offsetWidth):(this.starty=parseInt(i.clientY,10),this.barHeight=this.el.nativeElement.children[0].offsetHeight),this.animate&&E.p.removeClass(this.el.nativeElement.children[0],"p-slider-animate"),t.preventDefault()}}onTouchMove(t){if(!this.disabled){var i,n=t.changedTouches[0];i="horizontal"===this.orientation?Math.floor(100*(parseInt(n.clientX,10)-this.startx)/this.barWidth)+this.startHandleValue:Math.floor(100*(this.starty-parseInt(n.clientY,10))/this.barHeight)+this.startHandleValue,this.setValueFromHandle(t,i),t.preventDefault()}}onTouchEnd(t){this.disabled||(this.dragging=!1,this.onSlideEnd.emit(this.range?{originalEvent:t,values:this.values}:{originalEvent:t,value:this.value}),this.animate&&E.p.addClass(this.el.nativeElement.children[0],"p-slider-animate"),t.preventDefault())}onBarClick(t){this.disabled||(this.sliderHandleClick||(this.updateDomData(),this.handleChange(t)),this.sliderHandleClick=!1)}onHandleKeydown(t,n){this.disabled||(38==t.which||39==t.which?this.spin(t,1,n):(37==t.which||40==t.which)&&this.spin(t,-1,n))}spin(t,n,i){let l=(this.step||1)*n;this.range?(this.handleIndex=i,this.updateValue(this.values[this.handleIndex]+l),this.updateHandleValue()):(this.updateValue(this.value+l),this.updateHandleValue()),t.preventDefault()}handleChange(t){let n=this.calculateHandleValue(t);this.setValueFromHandle(t,n)}bindDragListeners(){(0,d.NF)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{const t=this.el?this.el.nativeElement.ownerDocument:this.document;this.dragListener||(this.dragListener=this.renderer.listen(t,"mousemove",n=>{this.dragging&&this.ngZone.run(()=>{this.handleChange(n)})})),this.mouseupListener||(this.mouseupListener=this.renderer.listen(t,"mouseup",n=>{this.dragging&&(this.dragging=!1,this.ngZone.run(()=>{this.onSlideEnd.emit(this.range?{originalEvent:n,values:this.values}:{originalEvent:n,value:this.value}),this.animate&&E.p.addClass(this.el.nativeElement.children[0],"p-slider-animate")}))}))})}unbindDragListeners(){this.dragListener&&(this.dragListener(),this.dragListener=null),this.mouseupListener&&(this.mouseupListener(),this.mouseupListener=null)}setValueFromHandle(t,n){this.sliderHandleClick=!1;let i=this.getValueFromHandle(n);this.range?this.step?this.handleStepChange(i,this.values[this.handleIndex]):(this.handleValues[this.handleIndex]=n,this.updateValue(i,t)):this.step?this.handleStepChange(i,this.value):(this.handleValue=n,this.updateValue(i,t)),this.cd.markForCheck()}handleStepChange(t,n){let i=t-n,l=n,v=this.step;i<0?l=n+Math.ceil(t/v-n/v)*v:i>0&&(l=n+Math.floor(t/v-n/v)*v),this.updateValue(l),this.updateHandleValue()}writeValue(t){this.range?this.values=t||[0,0]:this.value=t||0,this.updateHandleValue(),this.updateDiffAndOffset(),this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}get rangeStartLeft(){return this.isVertical()?null:this.handleValues[0]>100?"100%":this.handleValues[0]+"%"}get rangeStartBottom(){return this.isVertical()?this.handleValues[0]+"%":"auto"}get rangeEndLeft(){return this.isVertical()?null:this.handleValues[1]+"%"}get rangeEndBottom(){return this.isVertical()?this.handleValues[1]+"%":"auto"}isVertical(){return"vertical"===this.orientation}updateDomData(){let t=this.el.nativeElement.children[0].getBoundingClientRect();this.initX=t.left+E.p.getWindowScrollLeft(),this.initY=t.top+E.p.getWindowScrollTop(),this.barWidth=this.el.nativeElement.children[0].offsetWidth,this.barHeight=this.el.nativeElement.children[0].offsetHeight}calculateHandleValue(t){return"horizontal"===this.orientation?100*(t.pageX-this.initX)/this.barWidth:100*(this.initY+this.barHeight-t.pageY)/this.barHeight}updateHandleValue(){this.range?(this.handleValues[0]=100*(this.values[0]<this.min?0:this.values[0]-this.min)/(this.max-this.min),this.handleValues[1]=100*(this.values[1]>this.max?100:this.values[1]-this.min)/(this.max-this.min)):this.handleValue=this.value<this.min?0:this.value>this.max?100:100*(this.value-this.min)/(this.max-this.min),this.step&&this.updateDiffAndOffset()}updateDiffAndOffset(){this.diff=this.getDiff(),this.offset=this.getOffset()}getDiff(){return Math.abs(this.handleValues[0]-this.handleValues[1])}getOffset(){return Math.min(this.handleValues[0],this.handleValues[1])}updateValue(t,n){if(this.range){let i=t;0==this.handleIndex?(i<this.min?(i=this.min,this.handleValues[0]=0):i>this.values[1]&&i>this.max&&(i=this.max,this.handleValues[0]=100),this.sliderHandleStart?.nativeElement.focus()):(i>this.max?(i=this.max,this.handleValues[1]=100,this.offset=this.handleValues[1]):i<this.min?(i=this.min,this.handleValues[1]=0):i<this.values[0]&&(this.offset=this.handleValues[1]),this.sliderHandleEnd?.nativeElement.focus()),this.step?this.updateHandleValue():this.updateDiffAndOffset(),this.values[this.handleIndex]=this.getNormalizedValue(i),this.onModelChange([this.minVal,this.maxVal]),this.onChange.emit({event:n,values:this.values})}else t<this.min?(t=this.min,this.handleValue=0):t>this.max&&(t=this.max,this.handleValue=100),this.value=this.getNormalizedValue(t),this.onModelChange(this.value),this.onChange.emit({event:n,value:this.value}),this.sliderHandle?.nativeElement.focus()}getValueFromHandle(t){return t/100*(this.max-this.min)+this.min}getDecimalsCount(t){return t&&Math.floor(t)!==t&&t.toString().split(".")[1].length||0}getNormalizedValue(t){let n=this.getDecimalsCount(this.step);return n>0?+parseFloat(t.toString()).toFixed(n):Math.floor(t)}ngOnDestroy(){this.unbindDragListeners()}get minVal(){return Math.min(this.values[1],this.values[0])}get maxVal(){return Math.max(this.values[1],this.values[0])}static \u0275fac=function(n){return new(n||o)(e.Y36(d.K0),e.Y36(e.Lbi),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(e.sBO))};static \u0275cmp=e.Xpm({type:o,selectors:[["p-slider"]],viewQuery:function(n,i){if(1&n&&(e.Gf(ye,5),e.Gf(xe,5),e.Gf(Ze,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.sliderHandle=l.first),e.iGM(l=e.CRH())&&(i.sliderHandleStart=l.first),e.iGM(l=e.CRH())&&(i.sliderHandleEnd=l.first)}},hostAttrs:[1,"p-element"],inputs:{animate:"animate",disabled:"disabled",min:"min",max:"max",orientation:"orientation",step:"step",range:"range",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex"},outputs:{onChange:"onChange",onSlideEnd:"onSlideEnd"},features:[e._Bn([Be])],decls:8,vars:16,consts:[[3,"ngStyle","ngClass","click"],["class","p-slider-range",3,"ngStyle",4,"ngIf"],["class","p-slider-handle",3,"transition","ngStyle","keydown","mousedown","touchstart","touchmove","touchend",4,"ngIf"],["class","p-slider-handle",3,"transition","ngStyle","ngClass","keydown","mousedown","touchstart","touchmove","touchend",4,"ngIf"],[1,"p-slider-range",3,"ngStyle"],[1,"p-slider-handle",3,"ngStyle","keydown","mousedown","touchstart","touchmove","touchend"],["sliderHandle",""],[1,"p-slider-handle",3,"ngStyle","ngClass","keydown","mousedown","touchstart","touchmove","touchend"],["sliderHandleStart",""],["sliderHandleEnd",""]],template:function(n,i){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(v){return i.onBarClick(v)}),e.YNc(1,we,1,4,"span",1),e.YNc(2,Ae,1,4,"span",1),e.YNc(3,Me,1,3,"span",1),e.YNc(4,Ie,1,3,"span",1),e.YNc(5,Ne,2,11,"span",2),e.YNc(6,Ue,2,14,"span",3),e.YNc(7,Re,2,14,"span",3),e.qZA()),2&n&&(e.Tol(i.styleClass),e.Q6J("ngStyle",i.style)("ngClass",e.l5B(11,De,i.disabled,"horizontal"==i.orientation,"vertical"==i.orientation,i.animate)),e.xp6(1),e.Q6J("ngIf",i.range&&"horizontal"==i.orientation),e.xp6(1),e.Q6J("ngIf",i.range&&"vertical"==i.orientation),e.xp6(1),e.Q6J("ngIf",!i.range&&"vertical"==i.orientation),e.xp6(1),e.Q6J("ngIf",!i.range&&"horizontal"==i.orientation),e.xp6(1),e.Q6J("ngIf",!i.range),e.xp6(1),e.Q6J("ngIf",i.range),e.xp6(1),e.Q6J("ngIf",i.range))},dependencies:[d.mk,d.O5,d.PC],styles:[".p-slider{position:relative}.p-slider .p-slider-handle{position:absolute;cursor:grab;touch-action:none;display:block}.p-slider-range{position:absolute;display:block}.p-slider-horizontal .p-slider-range{top:0;left:0;height:100%}.p-slider-horizontal .p-slider-handle{top:50%}.p-slider-vertical{height:100px}.p-slider-vertical .p-slider-handle{left:50%}.p-slider-vertical .p-slider-range{bottom:0;left:0;width:100%}\n"],encapsulation:2,changeDetection:0})}return o})(),Oe=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[d.ez]})}return o})();var K=r(1865);const Je=function(){return{minWidth:"35rem"}};function Ve(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",53)(1,"h5",54),e._uU(2,"Szob\xe1k"),e.qZA(),e.TgZ(3,"span",55)(4,"app-conference-selector",56),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedConferences=i)})("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"conferenceName"))}),e.qZA()(),e.TgZ(5,"span",57),e._UZ(6,"i",58),e.TgZ(7,"input",59),e.NdJ("input",function(i){e.CHM(t);const l=e.oxw(),v=e.MAs(4);return e.KtG(l.onGlobalFilter(v,i))}),e.qZA()(),e.TgZ(8,"span",55)(9,"button",60),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.create())}),e.qZA(),e.TgZ(10,"button",61),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.bulkDeleteDialog=!0)}),e.qZA()()()}if(2&o){const t=e.oxw();e.xp6(4),e.Akn(e.DdM(7,Je)),e.Q6J("ngModel",t.selectedConferences)("selectionLimit",1)("showClear",!0),e.xp6(5),e.Q6J("disabled",!t.canCreate),e.xp6(1),e.Q6J("disabled",!t.selected||!t.selected.length||!t.canDelete)}}function ze(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",62),e._uU(3,"Szoba "),e._UZ(4,"p-sortIcon",63),e.qZA(),e.TgZ(5,"th",64),e._uU(6,"P\xf3t\xe1gy "),e._UZ(7,"p-sortIcon",65),e.qZA(),e.TgZ(8,"th",66),e._uU(9,"Komment "),e._UZ(10,"p-sortIcon",67),e.qZA(),e.TgZ(11,"th",68),e._uU(12,"Vend\xe9gek "),e._UZ(13,"p-sortIcon",69),e.qZA(),e.TgZ(14,"th",70),e._uU(15,"Tel\xedtetts\xe9g "),e._UZ(16,"p-sortIcon",71),e.qZA(),e._UZ(17,"th"),e.qZA(),e.TgZ(18,"tr")(19,"th",72),e._UZ(20,"p-tableHeaderCheckbox"),e.qZA(),e.TgZ(21,"th")(22,"input",73),e.NdJ("input",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"roomNum"))}),e.qZA(),e.TgZ(23,"app-building-selector",74),e.NdJ("change",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"building"))}),e.qZA(),e.TgZ(24,"app-bedtype-selector",75),e.NdJ("change",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"bedType"))}),e.qZA()(),e.TgZ(25,"th")(26,"app-sparebed-selector",76),e.NdJ("change",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"spareBeds"))}),e.qZA()(),e.TgZ(27,"th")(28,"input",77),e.NdJ("input",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"comment"))}),e.qZA()(),e.TgZ(29,"th")(30,"input",78),e.NdJ("input",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"guests"))}),e.qZA()(),e.TgZ(31,"th")(32,"p-slider",79),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.occupancyFilter=i)})("input",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(i,"occupancy"))}),e.qZA()(),e._UZ(33,"th"),e.qZA()}if(2&o){const t=e.oxw();e.xp6(23),e.Q6J("showClear",!0),e.xp6(1),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("showClear",!0),e.xp6(6),e.Q6J("ngModel",t.occupancyFilter)("step",20)}}function He(o,s){if(1&o&&(e.TgZ(0,"span",98),e._uU(1),e.qZA()),2&o){const t=e.oxw().$implicit;e.xp6(1),e.hij("(",t.floor,")")}}function Le(o,s){1&o&&(e.TgZ(0,"span",99),e._uU(1,"\u2744\ufe0f"),e.qZA())}function Qe(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().$implicit;e.xp6(1),e.hij(", ",t.bathroom,"")}}function Ke(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o){const t=e.oxw().$implicit;e.Gre("sparebed-badge ",t.spareBeds,""),e.xp6(1),e.hij(" ",e.lcZ(2,4,"SPAREBEDS."+(null==t.spareBeds?null:t.spareBeds.toUpperCase()))," ")}}function qe(o,s){1&o&&e._UZ(0,"p-avatar",100),2&o&&e.s9C("pTooltip",s.$implicit.guestName)}const Ye=function(){return{height:".5rem"}};function $e(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",80),e.qZA(),e.TgZ(3,"td")(4,"span",81),e._uU(5,"Szoba sz\xe1m"),e.qZA(),e.TgZ(6,"div")(7,"div",82)(8,"div",83),e._UZ(9,"i",84),e.TgZ(10,"span",85),e._uU(11),e.qZA()(),e.TgZ(12,"div",86)(13,"div",87)(14,"span",88),e._uU(15),e.ALo(16,"translate"),e.YNc(17,He,2,1,"span",89),e.YNc(18,Le,2,0,"span",90),e.qZA(),e.TgZ(19,"span",91),e._uU(20),e.YNc(21,Qe,2,1,"span",51),e._uU(22,") "),e.qZA()()()()()(),e.TgZ(23,"td")(24,"span",81),e._uU(25,"P\xf3t\xe1gy"),e.qZA(),e.YNc(26,Ke,3,6,"span",92),e.qZA(),e.TgZ(27,"td")(28,"span",81),e._uU(29,"Komment"),e.qZA(),e._uU(30),e.qZA(),e.TgZ(31,"td")(32,"span",81),e._uU(33,"Vend\xe9gek"),e.qZA(),e.TgZ(34,"p-avatarGroup"),e.YNc(35,qe,1,1,"p-avatar",93),e.qZA()(),e.TgZ(36,"td")(37,"span",81),e._uU(38,"Tel\xedtetts\xe9g"),e.qZA(),e._UZ(39,"p-progressBar",94),e.qZA(),e.TgZ(40,"td")(41,"div",95)(42,"button",96),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.edit(l))}),e.qZA(),e.TgZ(43,"button",97),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return v.tableItem=l,e.KtG(v.deleteDialog=!0)}),e.qZA()()()()}if(2&o){const t=s.$implicit,n=e.oxw();e.xp6(2),e.Q6J("value",t),e.xp6(4),e.Gre("building-badge ",t.building," border-round-xl w-min p-0"),e.xp6(4),e.MGl("pTooltip","Szoba sz\xe1m: ",t.roomNum,""),e.xp6(1),e.hij(" ",t.roomNum," "),e.xp6(1),e.MGl("pTooltip","Szoba k\xf3d: ",t.roomCode,""),e.xp6(3),e.hij(" ",e.lcZ(16,24,"BUILDINGS."+t.building.toUpperCase())," "),e.xp6(2),e.Q6J("ngIf",t.floor),e.xp6(1),e.Q6J("ngIf",t.climate),e.xp6(2),e.AsE(" ",t.beds," SZEM\xc9LYES (",t.bedType,""),e.xp6(1),e.Q6J("ngIf",t.bathroom),e.xp6(5),e.Q6J("ngIf",t.spareBeds),e.xp6(4),e.hij(" ",t.comment," "),e.xp6(5),e.Q6J("ngForOf",t.guests),e.xp6(4),e.Akn(e.DdM(26,Ye)),e.hYB("pTooltip","\xc1gy/vend\xe9g: ",t.beds,"/",null==t.guests?null:t.guests.length,""),e.Q6J("value",(null==t.guests?null:t.guests.length)/t.beds*100)("showValue",!1),e.xp6(3),e.Q6J("disabled",!n.canEdit),e.xp6(1),e.Q6J("disabled",!n.canDelete)}}function Pe(o,s){1&o&&(e.TgZ(0,"tr")(1,"td",101),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&o&&(e.xp6(1),e.uIk("colspan",6))}function Ge(o,s){if(1&o&&(e.TgZ(0,"span",102),e._uU(1),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.hij(" ",null!=t.id&&t.id.value?"Szoba adatai":"\xdaj szoba"," ")}}function je(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function We(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Xe(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function et(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function tt(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function nt(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function ot(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function it(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function st(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function lt(o,s){1&o&&(e.TgZ(0,"div",103),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function at(o,s){1&o&&(e.TgZ(0,"div",104),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy klimatiz\xe1lt e a szoba! "),e.qZA())}function rt(o,s){1&o&&(e.TgZ(0,"div",104),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy a szoba csal\xe1di szoba e! "),e.qZA())}function pt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",105)(1,"button",106),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.cancel())}),e.qZA(),e.TgZ(2,"button",107),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.save())}),e.qZA()()}if(2&o){const t=e.oxw();e.xp6(1),e.Q6J("disabled",!t.roomForm.dirty),e.xp6(1),e.Q6J("disabled",!t.roomForm.valid||!t.roomForm.dirty)}}function ut(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja a(z) "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4," szob\xe1t?"),e.qZA()),2&o){const t=e.oxw();e.xp6(3),e.Oqu(t.tableItem.roomNum)}}function dt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"button",108),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.deleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",109),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.delete())}),e.qZA()}}function ct(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"button",108),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",109),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.deleteSelected())}),e.qZA()}}const mt=function(){return["roomNum"]},ht=function(){return{"min-height":"calc(100vh - 320px)"}},q=function(){return{width:"450px"}};m.locale("hu");let N=class U{constructor(s,t,n,i,l){this.roomService=s,this.userService=t,this.messageService=n,this.responsiveService=i,this.fb=l,this.loading=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="roomNum",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.isMobile=!1,this.selectedConferences=[],this.initialFormValues={id:null,roomNum:"",roomCode:"",beds:"",spareBeds:"",bathroom:"",building:"",floor:"",bedType:"",climate:0,familyRoom:0,comment:"",extraBeds:0},this.formChanges$=new _.x,this.roomForm=this.fb.group({id:[this.initialFormValues.id],roomNum:[this.initialFormValues.roomNum,a.kI.required],roomCode:[this.initialFormValues.roomCode,a.kI.required],beds:[this.initialFormValues.beds,a.kI.required],spareBeds:[this.initialFormValues.spareBeds],bathroom:[this.initialFormValues.bathroom],building:[this.initialFormValues.building,a.kI.required],floor:[this.initialFormValues.floor],bedType:[this.initialFormValues.bedType],climate:[this.initialFormValues.climate],familyRoom:[this.initialFormValues.familyRoom],comment:[this.initialFormValues.comment],extraBeds:[this.initialFormValues.extraBeds]}),this.isFormValid$=new w.X(!1)}ngOnInit(){this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(s=>this.canCreate=s),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(s=>this.canEdit=s),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(s=>this.canDelete=s),this.roomObs$=this.roomService.roomObs,this.roomObs$.subscribe(s=>{this.loading=!1,s&&(this.tableData=s.rows||[],this.totalRecords=s.totalItems||0,this.page=s.currentPage||0)}),this.responsiveService.isMobile$.subscribe(s=>{this.isMobile=s}),this.isFormValid$=this.formChanges$.pipe((0,Z.b)(300),(0,h.x)(),(0,c.U)(()=>this.roomForm.valid)),this.serviceMessageObs$=this.roomService.messageObs,this.serviceMessageObs$.subscribe(s=>this.handleMessage(s))}get id(){return this.roomForm.get("id")}get roomNum(){return this.roomForm.get("roomNum")}get roomCode(){return this.roomForm.get("roomCode")}get beds(){return this.roomForm.get("beds")}get spareBeds(){return this.roomForm.get("spareBeds")}get bathroom(){return this.roomForm.get("bathroom")}get building(){return this.roomForm.get("building")}get floor(){return this.roomForm.get("floor")}get bedType(){return this.roomForm.get("bedType")}get climate(){return this.roomForm.get("climate")}get familyRoom(){return this.roomForm.get("familyRoom")}get comment(){return this.roomForm.get("comment")}get extraBeds(){return this.roomForm.get("extraBeds")}doQuery(){this.loading=!0;const t=Object.keys(this.filterValues).map(n=>this.filterValues[n].length>0?`${n}=${this.filterValues[n]}`:"").filter(n=>n.length>0).join("&");return""!==this.globalFilter?this.roomService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.roomService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(s,t){let i="";s instanceof Date?i=m(s).format("YYYY.MM.DD"):s&&(s.value||s.target?.value)?(i=s.value||s.target?.value,i=i.toString()):this.filterValues[t]="",this.filterValues[t]=i,["conferenceName","spareBeds"].includes(t)?this.filterValues[t]===i&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===i&&this.doQuery()},500))}onLazyLoad(s){this.page=s.first/s.rows,this.rowsPerPage=s.rows??this.rowsPerPage,this.globalFilter=s.globalFilter??"",this.doQuery()}onGlobalFilter(s,t){s.filterGlobal(t.target.value,"contains")}create(){this.roomForm.reset(this.initialFormValues),this.sidebar=!0}edit(s){this.roomForm.reset(this.initialFormValues),this.roomForm.patchValue(s),this.originalFormValues=this.roomForm.value,this.sidebar=!0}delete(){this.loading=!0,this.deleteDialog=!1,this.roomService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.bulkDeleteDialog=!1,this.roomService.bulkdelete(this.selected)}save(){if(this.roomForm.valid){this.loading=!0;const s=this.roomForm.value;s.id?this.roomService.update(s):this.roomService.create(s),this.sidebar=!1}}cancel(){this.roomForm.reset(this.originalFormValues)}handleMessage(s){s&&(this.loading=!1,"ERROR"==s?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):(this.messageService.add(s),this.tableItem={},this.selected=[],this.doQuery()))}ngOnDestroy(){}static#e=this.\u0275fac=function(t){return new(t||U)(e.Y36(F.X),e.Y36(f.K),e.Y36(p.ez),e.Y36(g.k),e.Y36(a.qu))};static#t=this.\u0275cmp=e.Xpm({type:U,selectors:[["room-component"]],features:[e._Bn([p.ez])],decls:104,vars:53,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-6"],["for","roomNum",1,"font-medium","text-900"],["id","roomNum","type","text","pInputText","","formControlName","roomNum"],["class","block p-error",4,"ngIf"],["for","roomCode",1,"font-medium","text-900"],["id","roomCode","type","text","pInputText","","formControlName","roomCode"],["for","beds",1,"font-medium","text-900"],["id","beds","type","text","pInputText","","formControlName","beds"],["for","bedType",1,"font-medium","text-900"],["controlName","bedType",3,"parentForm","showClear"],["for","spareBeds",1,"font-medium","text-900"],["controlName","spareBeds",3,"parentForm","showClear"],["for","bathroom",1,"font-medium","text-900"],["controlName","bathroom",3,"parentForm","showClear"],["for","building",1,"font-medium","text-900"],["controlName","building",3,"parentForm","showClear"],["for","floor",1,"font-medium","text-900"],["controlName","floor",3,"parentForm","showClear"],["for","comment",1,"font-medium","text-900"],["id","comment","type","text","pInputText","","formControlName","comment"],["for","extraBeds",1,"font-medium","text-900"],["id","extraBeds","type","text","pInputText","","formControlName","extraBeds"],["for","climate",1,"font-medium","text-900"],[1,"flex","flex-wrap","gap-3","my-3"],[1,"flex","align-items-center"],["name","climate","value","1","formControlName","climate","inputId","climate-yes"],["for","climate-yes",1,"ml-2"],["name","climate","value","0","formControlName","climate","inputId","climate-no"],["for","climate-no",1,"ml-2"],["class","p-error",4,"ngIf"],["for","familyRoom",1,"font-medium","text-900"],["name","familyRoom","value","1","formControlName","familyRoom","inputId","familyRoom-yes"],["for","familyRoom-yes",1,"ml-2"],["name","familyRoom","value","0","formControlName","familyRoom","inputId","familyRoom-no"],["for","familyRoom-no",1,"ml-2"],["pTemplate","footer"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0"],["placeholder","V\xe1lasszon konferenci\xe1t...",3,"ngModel","selectionLimit","showClear","ngModelChange"],[1,"block","mt-2","md:mt-0","p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s...",1,"w-full","sm:w-auto",3,"input"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","label","T\xf6rl\xe9s","icon","pi pi-trash",1,"p-button-danger","mr-2",3,"disabled","click"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","spareBeds"],["field","spareBeds"],["pSortableColumn","comment"],["field","comment"],["pSortableColumn","guests"],["field","guests"],["pSortableColumn","occupancy"],["field","occupancy"],["styleClass","w-3rem"],["pInputText","","type","text","placeholder","Szobasz\xe1m...",1,"mr-2",2,"width","8rem",3,"input"],["placeholder","\xc9p\xfclet...",1,"mr-2",3,"showClear","change"],["placeholder","\xc1gytipus...",3,"showClear","change"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","7rem",3,"input"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","10rem",3,"input"],["styleClass","w-7rem",3,"ngModel","step","ngModelChange","input"],[3,"value"],[1,"p-column-title"],[1,"flex","align-items-center","justify-content-center","py-1","px-1"],[1,"flex","align-items-center","justify-content-center","gap-2","px-2"],[1,"pi","pi-key","vertical-align-middle"],["tooltipPosition","top",1,"text-2xl","font-semibold","white-space-nowrap","vertical-align-middle",3,"pTooltip"],["tooltipPosition","top",1,"block","min-w-max","border-left-1","px-2",3,"pTooltip"],[1,"flex","flex-column","align-items-left","justify-content-center"],[1,"text-base","font-semibold","uppercase"],["class","font-normal text-sm uppercase",4,"ngIf"],["class","pl-1",4,"ngIf"],[1,"font-light","text-xs","uppercase"],[3,"class",4,"ngIf"],["icon","pi pi-user","size","large","shape","circle","tooltipPosition","top",3,"pTooltip",4,"ngFor","ngForOf"],["tooltipPosition","top",3,"value","showValue","pTooltip"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-pencil",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash",1,"p-button-rounded","p-button-warning",3,"disabled","click"],[1,"font-normal","text-sm","uppercase"],[1,"pl-1"],["icon","pi pi-user","size","large","shape","circle","tooltipPosition","top",3,"pTooltip"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return n.selected=l})("onLazyLoad",function(l){return n.onLazyLoad(l)}),e.YNc(5,Ve,11,8,"ng-template",5),e.YNc(6,ze,34,5,"ng-template",6),e.YNc(7,$e,44,27,"ng-template",7),e.YNc(8,Pe,3,1,"ng-template",8),e.qZA()(),e.TgZ(9,"p-sidebar",9),e.NdJ("visibleChange",function(l){return n.sidebar=l}),e.YNc(10,Ge,2,1,"ng-template",6),e.TgZ(11,"form",10),e.NdJ("ngSubmit",function(){return n.save()}),e._UZ(12,"input",11),e.TgZ(13,"div",12)(14,"label",13),e._uU(15,"Szoba sz\xe1m"),e.qZA(),e._UZ(16,"input",14),e.YNc(17,je,2,0,"div",15),e.qZA(),e.TgZ(18,"div",12)(19,"label",16),e._uU(20,"Szoba k\xf3d"),e.qZA(),e._UZ(21,"input",17),e.YNc(22,We,2,0,"div",15),e.qZA(),e.TgZ(23,"div",12)(24,"label",18),e._uU(25,"\xc1gyak sz\xe1ma"),e.qZA(),e._UZ(26,"input",19),e.YNc(27,Xe,2,0,"div",15),e.qZA(),e.TgZ(28,"div",12)(29,"label",20),e._uU(30,"\xc1gyt\xedpus"),e.qZA(),e._UZ(31,"app-bedtype-selector",21),e.YNc(32,et,2,0,"div",15),e.qZA(),e.TgZ(33,"div",12)(34,"label",22),e._uU(35,"P\xf3t\xe1gy"),e.qZA(),e._UZ(36,"app-sparebed-selector",23),e.YNc(37,tt,2,0,"div",15),e.qZA(),e.TgZ(38,"div",12)(39,"label",24),e._uU(40,"F\xfcrd\u0151szoba"),e.qZA(),e._UZ(41,"app-bathroom-selector",25),e.YNc(42,nt,2,0,"div",15),e.qZA(),e.TgZ(43,"div",12)(44,"label",26),e._uU(45,"\xc9p\xfclet"),e.qZA(),e._UZ(46,"app-building-selector",27),e.YNc(47,ot,2,0,"div",15),e.qZA(),e.TgZ(48,"div",12)(49,"label",28),e._uU(50,"Emelet"),e.qZA(),e._UZ(51,"app-floor-selector",29),e.YNc(52,it,2,0,"div",15),e.qZA(),e.TgZ(53,"div",12)(54,"label",30),e._uU(55,"Megjegyz\xe9s"),e.qZA(),e._UZ(56,"input",31),e.YNc(57,st,2,0,"div",15),e.qZA(),e.TgZ(58,"div",12)(59,"label",32),e._uU(60,"Extra f\xe9r\u0151hely"),e.qZA(),e._UZ(61,"input",33),e.YNc(62,lt,2,0,"div",15),e.qZA(),e.TgZ(63,"div",12)(64,"label",34),e._uU(65,"Klimatiz\xe1lt?"),e.qZA(),e.TgZ(66,"div",35)(67,"div",36),e._UZ(68,"p-radioButton",37),e.TgZ(69,"label",38),e._uU(70,"Igen"),e.qZA()(),e.TgZ(71,"div",36),e._UZ(72,"p-radioButton",39),e.TgZ(73,"label",40),e._uU(74,"Nem"),e.qZA()()(),e.YNc(75,at,2,0,"div",41),e.qZA(),e.TgZ(76,"div",12)(77,"label",42),e._uU(78,"Csal\xe1di szoba?"),e.qZA(),e.TgZ(79,"div",35)(80,"div",36),e._UZ(81,"p-radioButton",43),e.TgZ(82,"label",44),e._uU(83,"Igen"),e.qZA()(),e.TgZ(84,"div",36),e._UZ(85,"p-radioButton",45),e.TgZ(86,"label",46),e._uU(87,"Nem"),e.qZA()()(),e.YNc(88,rt,2,0,"div",41),e.qZA()(),e.YNc(89,pt,3,2,"ng-template",47),e.qZA(),e.TgZ(90,"p-dialog",48),e.NdJ("visibleChange",function(l){return n.deleteDialog=l}),e.TgZ(91,"div",49),e._UZ(92,"i",50),e.YNc(93,ut,5,1,"span",51),e.qZA(),e.YNc(94,dt,2,0,"ng-template",47),e.qZA(),e.TgZ(95,"p-dialog",48),e.NdJ("visibleChange",function(l){return n.bulkDeleteDialog=l}),e.TgZ(96,"div",49),e._UZ(97,"i",50),e.TgZ(98,"span"),e._uU(99,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott szob\xe1kat?"),e.qZA()(),e.YNc(100,ct,2,0,"ng-template",47),e.qZA()()(),e.TgZ(101,"p-blockUI",52),e._UZ(102,"p-progressSpinner"),e.qZA(),e._UZ(103,"p-toast")),2&t&&(e.xp6(3),e.Q6J("value",n.tableData)("rows",n.rowsPerPage)("totalRecords",n.totalRecords)("globalFilterFields",e.DdM(49,mt))("paginator",!0)("rowsPerPageOptions",n.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",n.selected)("tableStyle",e.DdM(50,ht))("rowHover",!0)("lazy",!0),e.xp6(6),e.Q6J("visible",n.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",n.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",n.roomForm),e.xp6(6),e.Q6J("ngIf",(null==n.roomNum?null:n.roomNum.dirty)&&(null==n.roomNum||null==n.roomNum.errors?null:n.roomNum.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.roomCode?null:n.roomCode.dirty)&&(null==n.roomCode||null==n.roomCode.errors?null:n.roomCode.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.beds?null:n.beds.dirty)&&(null==n.beds||null==n.beds.errors?null:n.beds.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.bedType?null:n.bedType.dirty)&&(null==n.bedType||null==n.bedType.errors?null:n.bedType.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.spareBeds?null:n.spareBeds.dirty)&&(null==n.spareBeds||null==n.spareBeds.errors?null:n.spareBeds.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.bathroom?null:n.bathroom.dirty)&&(null==n.bathroom||null==n.bathroom.errors?null:n.bathroom.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.building?null:n.building.dirty)&&(null==n.building||null==n.building.errors?null:n.building.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.floor?null:n.floor.dirty)&&(null==n.floor||null==n.floor.errors?null:n.floor.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.comment?null:n.comment.dirty)&&(null==n.comment||null==n.comment.errors?null:n.comment.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.extraBeds?null:n.extraBeds.dirty)&&(null==n.extraBeds||null==n.extraBeds.errors?null:n.extraBeds.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.climate?null:n.climate.dirty)&&(null==n.climate||null==n.climate.errors?null:n.climate.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.familyRoom?null:n.familyRoom.dirty)&&(null==n.familyRoom||null==n.familyRoom.errors?null:n.familyRoom.errors.required)),e.xp6(2),e.Akn(e.DdM(51,q)),e.Q6J("visible",n.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",n.tableItem),e.xp6(2),e.Akn(e.DdM(52,q)),e.Q6J("visible",n.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Q6J("autoZIndex",!0)("blocked",n.loading))},dependencies:[d.sg,d.O5,b.iA,p.jx,b.lQ,b.fz,b.UA,b.Mo,a._Y,a.Fj,a.JJ,a.JL,a.On,a.sg,a.u,S.Hq,C.H,R.FN,D.o,B.V,O.G,J.b,V.Y,Y.w,$.q,P.n,G.p,oe,ue,z.u,H.k,fe,Ce,Q,K.EU,A.X$],encapsulation:2})};N=(0,x.gn)([(0,u.k)()],N);let gt=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[T.Bz.forChild([{path:"",component:N}]),T.Bz]})}return o})();var _t=r(6263),ft=r(9502),bt=r(5609),vt=r(2285);let Ct=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({providers:[F.X],imports:[d.ez,gt,b.U$,a.u5,a.UX,S.hJ,C.T,R.EV,D.j,k.kW,B.S,_t.W,ft.$,O.L,J.u,V.l,vt.L,bt.Iu,z.z,H.q,be,Te,Oe,K.cc,A.aw]})}return o})()},219:(M,y,r)=>{r.d(y,{Z:()=>Z});var d=r(5619),a=r(7398),T=r(6306),x=r(2096),_=r(2029),w=r(8814);let Z=(()=>{class h{constructor(u){this.apiService=u,this.cache=[],this.apiURL=u.apiURL,this.data$=new d.X(null),this.message$=new d.X(null)}get conferenceObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(u,p,m,e){const F=localStorage.getItem("userrole"),f=localStorage.getItem("userid");if("Szervezo"===F&&f){const C=`organizer_user_id=${f}`;e=e?`${e}&${C}`:C}e.includes("enabled=")||(e=e?`${e}&enabled=1`:"enabled=1");let g="";""!==m&&(g=""!=m.sortField?`sort=${m.sortField}&order=${1===m.sortOrder?"ASC":"DESC"}`:"");const b=""!==g&&""!==e?g+"&"+e:""!==g&&""===e?g:""===g&&""!==e?e:"";this.apiService.get(`conference/get/${u}/${p}${""!==b?"?"+b:""}`).subscribe({next:C=>{this.data$.next(C)},error:C=>{this.message$.next(C)}})}getBySearch(u,p){let m="";""!==p&&(m=""!=p.sortField?`?sort=${p.sortField}&order=${1===p.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`conference/search/${u}${m}`).subscribe({next:e=>{this.data$.next(e)},error:e=>{this.message$.next(e)}})}getBySearchQuery(u){this.apiService.get(`conference/searchquery?${u}`).subscribe({next:p=>{this.data$.next(p)},error:p=>{this.message$.next(p)}})}create(u){this.apiService.post("conference/create/",u).subscribe({next:p=>{this.message$.next({severity:"success",summary:"Sikeres konferencia r\xf6gz\xedt\xe9s",detail:`${u.name} r\xf6gz\xedtve`})},error:p=>{this.message$.next(p)}})}update(u){this.apiService.put(`conference/update/${u.id}`,u).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres konferencia m\xf3dos\xedt\xe1s",detail:`${u.name} m\xf3dos\xedtva`})},error:p=>{this.message$.next(p)}})}delete(u){this.apiService.delete(`conference/delete/${u.id}`).subscribe({next:p=>{this.message$.next({severity:"success",summary:"Sikeres konferencia t\xf6rl\xe9s",detail:`${u.name} t\xf6r\xf6lve`})},error:p=>{this.message$.next(p)}})}bulkdelete(u){let p={ids:u.map(m=>m.id)};this.apiService.post("conference/bulkdelete",p).subscribe({next:m=>{this.message$.next({severity:"success",summary:"Sikeres konferencia t\xf6rl\xe9s",detail:`${u.length} konferencia t\xf6r\xf6lve`})},error:m=>{this.message$.next(m)}})}getConferencesForSelector(){return this.get(0,999,{sortField:"id",sortOrder:1},""),this.data$.asObservable().pipe((0,a.U)(p=>{const m=p?p.rows:[];return this.cache=m,m}))}getById(u){return this.apiService.get(`conference/getbyid/${u}`)}isSlugValid(u){return this.get(0,20,"slug=","sort"),this.data$.pipe((0,a.U)(p=>(console.log("isSlugValid response",p),p&&p.data&&p.rows.length>0)),(0,T.K)(()=>(0,x.of)(!1)))}assignRooms(u,p){this.apiService.post(`conferencesroom/addroom/${u}`,{roomIds:p}).subscribe({next:m=>{this.message$.next({severity:"success",summary:"Sikeres szoba hozz\xe1rendel\xe9s",detail:"Szob\xe1k hozz\xe1rendelve"})},error:m=>{this.message$.next(m)}})}static#e=this.\u0275fac=function(p){return new(p||h)(_.LFG(w.s))};static#t=this.\u0275prov=_.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},3620:(M,y,r)=>{r.d(y,{b:()=>x});var d=r(2832),a=r(9360),T=r(8251);function x(_,w=d.z){return(0,a.e)((Z,h)=>{let c=null,u=null,p=null;const m=()=>{if(c){c.unsubscribe(),c=null;const F=u;u=null,h.next(F)}};function e(){const F=p+_,f=w.now();if(f<F)return c=this.schedule(void 0,F-f),void h.add(c);m()}Z.subscribe((0,T.x)(h,F=>{u=F,p=w.now(),c||(c=w.schedule(e,_),h.add(c))},()=>{m(),h.complete()},void 0,()=>{u=c=null}))})}},4204:(M,y,r)=>{r.d(y,{b:()=>p,u:()=>m});var d=r(6814),a=r(2029),T=r(5219),x=r(2076),_=r(2332);const w=["mask"];function Z(e,F){1&e&&a.GkF(0)}const h=function(e){return{"p-blockui-document":e,"p-blockui p-component-overlay p-component-overlay-enter":!0}},c=function(e){return{display:e}},u=["*"];let p=(()=>{class e{document;el;cd;config;renderer;target;autoZIndex=!0;baseZIndex=0;styleClass;get blocked(){return this._blocked}set blocked(f){this.mask&&this.mask.nativeElement?f?this.block():this.unblock():this._blocked=f}templates;mask;_blocked=!1;animationEndListener;contentTemplate;constructor(f,g,b,S,C){this.document=f,this.el=g,this.cd=b,this.config=S,this.renderer=C}ngAfterViewInit(){if(this.target&&!this.target.getBlockableElement)throw"Target of BlockUI must implement BlockableUI interface"}ngAfterContentInit(){this.templates.forEach(f=>{f.getType(),this.contentTemplate=f.template})}block(){this._blocked=!0,this.target?(this.target.getBlockableElement().appendChild(this.mask.nativeElement),this.target.getBlockableElement().style.position="relative"):this.renderer.appendChild(this.document.body,this.mask.nativeElement),this.autoZIndex&&_.P9.set("modal",this.mask.nativeElement,this.baseZIndex+this.config.zIndex.modal)}unblock(){this.mask&&(this.animationEndListener=this.renderer.listen(this.mask.nativeElement,"animationend",this.destroyModal.bind(this)),x.p.addClass(this.mask.nativeElement,"p-component-overlay-leave"))}destroyModal(){this._blocked=!1,this.mask&&(x.p.removeClass(this.mask.nativeElement,"p-component-overlay-leave"),_.P9.clear(this.mask.nativeElement),this.renderer.appendChild(this.el.nativeElement,this.mask.nativeElement)),this.unbindAnimationEndListener(),this.cd.markForCheck()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.unblock(),this.destroyModal()}static \u0275fac=function(g){return new(g||e)(a.Y36(d.K0),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(T.b4),a.Y36(a.Qsj))};static \u0275cmp=a.Xpm({type:e,selectors:[["p-blockUI"]],contentQueries:function(g,b,S){if(1&g&&a.Suo(S,T.jx,4),2&g){let C;a.iGM(C=a.CRH())&&(b.templates=C)}},viewQuery:function(g,b){if(1&g&&a.Gf(w,5),2&g){let S;a.iGM(S=a.CRH())&&(b.mask=S.first)}},hostAttrs:[1,"p-element"],inputs:{target:"target",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",styleClass:"styleClass",blocked:"blocked"},ngContentSelectors:u,decls:4,vars:9,consts:[[3,"ngClass","ngStyle"],["mask",""],[4,"ngTemplateOutlet"]],template:function(g,b){1&g&&(a.F$t(),a.TgZ(0,"div",0,1),a.Hsn(2),a.YNc(3,Z,1,0,"ng-container",2),a.qZA()),2&g&&(a.Tol(b.styleClass),a.Q6J("ngClass",a.VKq(5,h,!b.target))("ngStyle",a.VKq(7,c,b.blocked?"flex":"none")),a.xp6(3),a.Q6J("ngTemplateOutlet",b.contentTemplate))},dependencies:[d.mk,d.tP,d.PC],styles:[".p-blockui{position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent;transition-property:background-color;display:flex;align-items:center;justify-content:center}.p-blockui.p-component-overlay{position:absolute}.p-blockui-document.p-component-overlay{position:fixed}.p-blockui-leave.p-component-overlay{background-color:transparent}\n"],encapsulation:2,changeDetection:0})}return e})(),m=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.oAB({type:e});static \u0275inj=a.cJS({imports:[d.ez]})}return e})()},6651:(M,y,r)=>{r.d(y,{k:()=>Z,q:()=>h});var d=r(6814),a=r(2029);function T(c,u){if(1&c&&(a.TgZ(0,"div",5),a._uU(1),a.qZA()),2&c){const p=a.oxw(2);a.Udp("display",null!=p.value&&0!==p.value?"flex":"none"),a.xp6(1),a.AsE("",p.value,"",p.unit,"")}}function x(c,u){if(1&c&&(a.TgZ(0,"div",3),a.YNc(1,T,2,4,"div",4),a.qZA()),2&c){const p=a.oxw();a.Udp("width",p.value+"%")("background",p.color),a.xp6(1),a.Q6J("ngIf",p.showValue)}}function _(c,u){if(1&c&&(a.TgZ(0,"div",6),a._UZ(1,"div",7),a.qZA()),2&c){const p=a.oxw();a.xp6(1),a.Udp("background",p.color)}}const w=function(c,u){return{"p-progressbar p-component":!0,"p-progressbar-determinate":c,"p-progressbar-indeterminate":u}};let Z=(()=>{class c{value;showValue=!0;styleClass;style;unit="%";mode="determinate";color;static \u0275fac=function(m){return new(m||c)};static \u0275cmp=a.Xpm({type:c,selectors:[["p-progressBar"]],hostAttrs:[1,"p-element"],inputs:{value:"value",showValue:"showValue",styleClass:"styleClass",style:"style",unit:"unit",mode:"mode",color:"color"},decls:3,vars:10,consts:[["role","progressbar","aria-valuemin","0","aria-valuemax","100",3,"ngStyle","ngClass"],["class","p-progressbar-value p-progressbar-value-animate","style","display:flex",3,"width","background",4,"ngIf"],["class","p-progressbar-indeterminate-container",4,"ngIf"],[1,"p-progressbar-value","p-progressbar-value-animate",2,"display","flex"],["class","p-progressbar-label",3,"display",4,"ngIf"],[1,"p-progressbar-label"],[1,"p-progressbar-indeterminate-container"],[1,"p-progressbar-value","p-progressbar-value-animate"]],template:function(m,e){1&m&&(a.TgZ(0,"div",0),a.YNc(1,x,2,5,"div",1),a.YNc(2,_,2,2,"div",2),a.qZA()),2&m&&(a.Tol(e.styleClass),a.Q6J("ngStyle",e.style)("ngClass",a.WLB(7,w,"determinate"===e.mode,"indeterminate"===e.mode)),a.uIk("aria-valuenow",e.value),a.xp6(1),a.Q6J("ngIf","determinate"===e.mode),a.xp6(1),a.Q6J("ngIf","indeterminate"===e.mode))},dependencies:[d.mk,d.O5,d.PC],styles:['.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n'],encapsulation:2,changeDetection:0})}return c})(),h=(()=>{class c{static \u0275fac=function(m){return new(m||c)};static \u0275mod=a.oAB({type:c});static \u0275inj=a.cJS({imports:[d.ez]})}return c})()},7680:(M,y,r)=>{r.d(y,{G:()=>T,L:()=>x});var d=r(6814),a=r(2029);let T=(()=>{class _{styleClass;style;strokeWidth="2";fill="none";animationDuration="2s";static \u0275fac=function(h){return new(h||_)};static \u0275cmp=a.Xpm({type:_,selectors:[["p-progressSpinner"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",strokeWidth:"strokeWidth",fill:"fill",animationDuration:"animationDuration"},decls:3,vars:6,consts:[["role","alert","aria-busy","true",1,"p-progress-spinner",3,"ngStyle","ngClass"],["viewBox","25 25 50 50",1,"p-progress-spinner-svg"],["cx","50","cy","50","r","20","stroke-miterlimit","10",1,"p-progress-spinner-circle"]],template:function(h,c){1&h&&(a.TgZ(0,"div",0),a.O4$(),a.TgZ(1,"svg",1),a._UZ(2,"circle",2),a.qZA()()),2&h&&(a.Q6J("ngStyle",c.style)("ngClass",c.styleClass),a.xp6(1),a.Udp("animation-duration",c.animationDuration),a.xp6(1),a.uIk("fill",c.fill)("stroke-width",c.strokeWidth))},dependencies:[d.mk,d.PC],styles:['.p-progress-spinner{position:relative;margin:0 auto;width:100px;height:100px;display:inline-block}.p-progress-spinner:before{content:"";display:block;padding-top:100%}.p-progress-spinner-svg{animation:p-progress-spinner-rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;inset:0;margin:auto}.p-progress-spinner-circle{stroke-dasharray:89,200;stroke-dashoffset:0;stroke:#d62d20;animation:p-progress-spinner-dash 1.5s ease-in-out infinite,p-progress-spinner-color 6s ease-in-out infinite;stroke-linecap:round}@keyframes p-progress-spinner-rotate{to{transform:rotate(360deg)}}@keyframes p-progress-spinner-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes p-progress-spinner-color{to,0%{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}\n'],encapsulation:2,changeDetection:0})}return _})(),x=(()=>{class _{static \u0275fac=function(h){return new(h||_)};static \u0275mod=a.oAB({type:_});static \u0275inj=a.cJS({imports:[d.ez]})}return _})()}}]);
\ No newline at end of file
diff --git a/docs/7883.7c4f95d933064119.js b/docs/7883.7c4f95d933064119.js
deleted file mode 100644
index c83555a9..00000000
--- a/docs/7883.7c4f95d933064119.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[7883],{3227:(M,T,r)=>{r.r(T),r.d(T,{RoomModule:()=>vt});var d=r(6814),a=r(6223),x=r(1640),y=r(7582),_=r(8645),w=r(5619),Z=r(3620),h=r(3997),c=r(7398),u=r(4279),p=r(5219),m=r(6676),e=r(2029),F=r(4520),f=r(1206),g=r(8022),b=r(9664),S=r(707),C=r(4480),B=r(4104),R=r(3714),U=r(7213),O=r(7680),J=r(4204),V=r(9246),q=r(9474),$=r(8913),P=r(3069),G=r(2991),A=r(9515),k=r(2160);function j(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function W(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function X(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",2),e.NdJ("onChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(s))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,j,2,2,"ng-template",3),e.YNc(4,W,2,2,"ng-template",4),e.qZA()}if(2&o){const t=i.ngIf,n=e.oxw();e.s9C("placeholder",e.lcZ(1,5,n.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("formControl",t)("options",n.bathrooms)("showClear",n.showClear)}}function ee(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function te(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function ne(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",6),e.NdJ("ngModelChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedBathroom=s)})("onChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(s))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,ee,2,2,"ng-template",3),e.YNc(4,te,2,2,"ng-template",4),e.qZA()}if(2&o){const t=e.oxw();e.s9C("placeholder",e.lcZ(1,5,t.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("ngModel",t.selectedBathroom)("options",t.bathrooms)("showClear",t.showClear)}}let oe=(()=>{class o{constructor(t){this.translate=t,this.change=new e.vpe,this.bathrooms=[],this.selectedBathroom="",this.placeholder||(this.placeholder="V\xe1lasszon...")}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.setBathrooms()})}ngOnChanges(t){this.setBathrooms()}getFormControl(){return this.parentForm&&this.controlName?this.parentForm.get(this.controlName):null}setBathrooms(){this.bathrooms=[{label:this.translate.instant("BATHROOMS.OWN"),value:"saj\xe1t f\xfcrd\u0151szoba",color:"teal"},{label:this.translate.instant("BATHROOMS.DORMITORY"),value:"koll\xe9giumi f\xfcrd\u0151szoba",color:"yellow"},{label:this.translate.instant("BATHROOMS.BARRIER-FREE"),value:"akad\xe1lyment. f\xfcrd\u0151szoba",color:"red"}]}handleOnChange(t){this.change.emit({value:t.value,field:this.controlName})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(A.sK))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-bathroom-selector"]],inputs:{parentForm:"parentForm",controlName:"controlName",placeholder:"placeholder",showClear:"showClear"},outputs:{change:"change"},features:[e.TTD],decls:3,vars:2,consts:[["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange",4,"ngIf","ngIfElse"],["useNgModel",""],["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange"],["pTemplate","item"],["pTemplate","selectedItem"],[3,"ngClass"],["optionLabel","label","optionValue","value","appendTo","body",3,"ngModel","options","placeholder","emptyMessage","showClear","ngModelChange","onChange"]],template:function(n,s){if(1&n&&(e.YNc(0,X,5,9,"p-dropdown",0),e.YNc(1,ne,5,9,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",s.getFormControl())("ngIfElse",l)}},dependencies:[d.mk,d.O5,a.JJ,a.On,a.oH,p.jx,k.Lt,A.X$],encapsulation:2})}return o})();function se(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function ie(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function le(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",2),e.NdJ("onChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(s))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,se,2,2,"ng-template",3),e.YNc(4,ie,2,2,"ng-template",4),e.qZA()}if(2&o){const t=i.ngIf,n=e.oxw();e.s9C("placeholder",e.lcZ(1,5,n.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("formControl",t)("options",n.floors)("showClear",n.showClear)}}function ae(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",t.label," ")}}function re(o,i){if(1&o&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&o){const t=i.$implicit;e.Q6J("ngClass","color-badge "+(null==t?null:t.color)),e.xp6(1),e.hij(" ",null==t?null:t.label," ")}}function pe(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"p-dropdown",6),e.NdJ("ngModelChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedFloor=s)})("onChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOnChange(s))}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.YNc(3,ae,2,2,"ng-template",3),e.YNc(4,re,2,2,"ng-template",4),e.qZA()}if(2&o){const t=e.oxw();e.s9C("placeholder",e.lcZ(1,5,t.placeholder)),e.s9C("emptyMessage",e.lcZ(2,7,"Nincs tal\xe1lat...")),e.Q6J("ngModel",t.selectedFloor)("options",t.floors)("showClear",t.showClear)}}let ue=(()=>{class o{constructor(t){this.translate=t,this.change=new e.vpe,this.floors=[],this.selectedFloor="",this.placeholder||(this.placeholder="V\xe1lasszon...")}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.setFloors()})}ngOnChanges(t){this.setFloors()}getFormControl(){return this.parentForm&&this.controlName?this.parentForm.get(this.controlName):null}setFloors(){this.floors=[{label:this.translate.instant("FLOORS.BASEMENT"),value:"szuter\xe9n",color:"indigo"},{label:this.translate.instant("FLOORS.GROUND"),value:"fsz.",color:"blue"},{label:this.translate.instant("FLOORS.I-FLOOR"),value:"I. em.",color:"cyan"},{label:this.translate.instant("FLOORS.II-FLOOR"),value:"II. em.",color:"green"},{label:this.translate.instant("FLOORS.GATE"),value:"Kapu els\u0151",color:"yellow"},{label:this.translate.instant("FLOORS.CARETAKER"),value:"Gondnoki emelet",color:"orange"}]}handleOnChange(t){this.change.emit({value:t.value,field:this.controlName})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(A.sK))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-floor-selector"]],inputs:{parentForm:"parentForm",controlName:"controlName",placeholder:"placeholder",showClear:"showClear"},outputs:{change:"change"},features:[e.TTD],decls:3,vars:2,consts:[["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange",4,"ngIf","ngIfElse"],["useNgModel",""],["optionLabel","label","optionValue","value","appendTo","body",3,"formControl","options","placeholder","emptyMessage","showClear","onChange"],["pTemplate","item"],["pTemplate","selectedItem"],[3,"ngClass"],["optionLabel","label","optionValue","value","appendTo","body",3,"ngModel","options","placeholder","emptyMessage","showClear","ngModelChange","onChange"]],template:function(n,s){if(1&n&&(e.YNc(0,le,5,9,"p-dropdown",0),e.YNc(1,pe,5,9,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",s.getFormControl())("ngIfElse",l)}},dependencies:[d.mk,d.O5,a.JJ,a.On,a.oH,p.jx,k.Lt,A.X$],encapsulation:2})}return o})();var H=r(3259),L=r(6651);function de(o,i){if(1&o&&(e.TgZ(0,"span",4),e._uU(1),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function ce(o,i){if(1&o&&e._UZ(0,"span",6),2&o){const t=e.oxw(2);e.Tol(t.icon),e.Q6J("ngClass","p-avatar-icon")}}function me(o,i){if(1&o&&e.YNc(0,ce,1,3,"span",5),2&o){const t=e.oxw(),n=e.MAs(6);e.Q6J("ngIf",t.icon)("ngIfElse",n)}}function he(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"img",8),e.NdJ("error",function(s){e.CHM(t);const l=e.oxw(2);return e.KtG(l.imageError(s))}),e.qZA()}if(2&o){const t=e.oxw(2);e.Q6J("src",t.image,e.LSH)}}function ge(o,i){if(1&o&&e.YNc(0,he,1,1,"img",7),2&o){const t=e.oxw();e.Q6J("ngIf",t.image)}}const _e=["*"];let fe=(()=>{class o{label;icon;image;size="normal";shape="square";style;styleClass;onImageError=new e.vpe;containerClass(){return{"p-avatar p-component":!0,"p-avatar-image":null!=this.image,"p-avatar-circle":"circle"===this.shape,"p-avatar-lg":"large"===this.size,"p-avatar-xl":"xlarge"===this.size}}imageError(t){this.onImageError.emit(t)}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=e.Xpm({type:o,selectors:[["p-avatar"]],hostAttrs:[1,"p-element"],inputs:{label:"label",icon:"icon",image:"image",size:"size",shape:"shape",style:"style",styleClass:"styleClass"},outputs:{onImageError:"onImageError"},ngContentSelectors:_e,decls:7,vars:6,consts:[[3,"ngClass","ngStyle"],["class","p-avatar-text",4,"ngIf","ngIfElse"],["iconTemplate",""],["imageTemplate",""],[1,"p-avatar-text"],[3,"class","ngClass",4,"ngIf","ngIfElse"],[3,"ngClass"],[3,"src","error",4,"ngIf"],[3,"src","error"]],template:function(n,s){if(1&n&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.YNc(2,de,2,1,"span",1),e.YNc(3,me,1,2,"ng-template",null,2,e.W1O),e.YNc(5,ge,1,1,"ng-template",null,3,e.W1O),e.qZA()),2&n){const l=e.MAs(4);e.Tol(s.styleClass),e.Q6J("ngClass",s.containerClass())("ngStyle",s.style),e.xp6(2),e.Q6J("ngIf",s.label)("ngIfElse",l)}},dependencies:[d.mk,d.O5,d.PC],styles:[".p-avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1rem}.p-avatar.p-avatar-image{background-color:transparent}.p-avatar.p-avatar-circle{border-radius:50%;overflow:hidden}.p-avatar .p-avatar-icon{font-size:1rem}.p-avatar img{width:100%;height:100%}\n"],encapsulation:2,changeDetection:0})}return o})(),be=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[d.ez]})}return o})();const ve=["*"];let Ce=(()=>{class o{styleClass;style;static \u0275fac=function(n){return new(n||o)};static \u0275cmp=e.Xpm({type:o,selectors:[["p-avatarGroup"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style"},ngContentSelectors:ve,decls:2,vars:4,consts:[[3,"ngClass","ngStyle"]],template:function(n,s){1&n&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA()),2&n&&(e.Tol(s.styleClass),e.Q6J("ngClass","p-avatar-group p-component")("ngStyle",s.style))},dependencies:[d.mk,d.PC],styles:[".p-avatar-group p-avatar+p-avatar{margin-left:-1rem}.p-avatar-group{display:flex;align-items:center}\n"],encapsulation:2,changeDetection:0})}return o})(),xe=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[d.ez]})}return o})();var E=r(2076);const Te=["sliderHandle"],ye=["sliderHandleStart"],Ze=["sliderHandleEnd"],Fe=function(o,i){return{left:o,width:i}};function we(o,i){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.WLB(1,Fe,null!=t.offset?t.offset+"%":t.handleValues[0]+"%",t.diff?t.diff+"%":t.handleValues[1]-t.handleValues[0]+"%"))}}const Se=function(o,i){return{bottom:o,height:i}};function Ae(o,i){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.WLB(1,Se,null!=t.offset?t.offset+"%":t.handleValues[0]+"%",t.diff?t.diff+"%":t.handleValues[1]-t.handleValues[0]+"%"))}}const Ee=function(o){return{height:o}};function Me(o,i){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,Ee,t.handleValue+"%"))}}const ke=function(o){return{width:o}};function Ie(o,i){if(1&o&&e._UZ(0,"span",4),2&o){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,ke,t.handleValue+"%"))}}const I=function(o,i){return{left:o,bottom:i}};function Ne(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"span",5,6),e.NdJ("keydown",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onHandleKeydown(s))})("mousedown",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onMouseDown(s))})("touchstart",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchStart(s))})("touchmove",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchMove(s))})("touchend",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchEnd(s))}),e.qZA()}if(2&o){const t=e.oxw();e.Udp("transition",t.dragging?"none":null),e.Q6J("ngStyle",e.WLB(8,I,"horizontal"==t.orientation?t.handleValue+"%":null,"vertical"==t.orientation?t.handleValue+"%":null)),e.uIk("tabindex",t.disabled?null:t.tabindex)("aria-valuemin",t.min)("aria-valuenow",t.value)("aria-valuemax",t.max)("aria-labelledby",t.ariaLabelledBy)}}const z=function(o){return{"p-slider-handle-active":o}};function De(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"span",7,8),e.NdJ("keydown",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onHandleKeydown(s,0))})("mousedown",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onMouseDown(s,0))})("touchstart",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchStart(s,0))})("touchmove",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchMove(s,0))})("touchend",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchEnd(s))}),e.qZA()}if(2&o){const t=e.oxw();e.Udp("transition",t.dragging?"none":null),e.Q6J("ngStyle",e.WLB(9,I,t.rangeStartLeft,t.rangeStartBottom))("ngClass",e.VKq(12,z,0==t.handleIndex)),e.uIk("tabindex",t.disabled?null:t.tabindex)("aria-valuemin",t.min)("aria-valuenow",t.value?t.value[0]:null)("aria-valuemax",t.max)("aria-labelledby",t.ariaLabelledBy)}}function Be(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"span",7,9),e.NdJ("keydown",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onHandleKeydown(s,1))})("mousedown",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onMouseDown(s,1))})("touchstart",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchStart(s,1))})("touchmove",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchMove(s,1))})("touchend",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onTouchEnd(s))}),e.qZA()}if(2&o){const t=e.oxw();e.Udp("transition",t.dragging?"none":null),e.Q6J("ngStyle",e.WLB(9,I,t.rangeEndLeft,t.rangeEndBottom))("ngClass",e.VKq(12,z,1==t.handleIndex)),e.uIk("tabindex",t.disabled?null:t.tabindex)("aria-valuemin",t.min)("aria-valuenow",t.value?t.value[1]:null)("aria-valuemax",t.max)("aria-labelledby",t.ariaLabelledBy)}}const Re=function(o,i,t,n){return{"p-slider p-component":!0,"p-disabled":o,"p-slider-horizontal":i,"p-slider-vertical":t,"p-slider-animate":n}},Ue={provide:a.JU,useExisting:(0,e.Gpc)(()=>Q),multi:!0};let Q=(()=>{class o{document;platformId;el;renderer;ngZone;cd;animate;disabled;min=0;max=100;orientation="horizontal";step;range;style;styleClass;ariaLabelledBy;tabindex=0;onChange=new e.vpe;onSlideEnd=new e.vpe;sliderHandle;sliderHandleStart;sliderHandleEnd;value;values;handleValue;handleValues=[];diff;offset;bottom;onModelChange=()=>{};onModelTouched=()=>{};dragging;dragListener;mouseupListener;initX;initY;barWidth;barHeight;sliderHandleClick;handleIndex=0;startHandleValue;startx;starty;constructor(t,n,s,l,v,Ct){this.document=t,this.platformId=n,this.el=s,this.renderer=l,this.ngZone=v,this.cd=Ct}onMouseDown(t,n){this.disabled||(this.dragging=!0,this.updateDomData(),this.sliderHandleClick=!0,this.handleIndex=this.range&&this.handleValues&&this.handleValues[0]===this.max?0:n,this.bindDragListeners(),t.target.focus(),t.preventDefault(),this.animate&&E.p.removeClass(this.el.nativeElement.children[0],"p-slider-animate"))}onTouchStart(t,n){if(!this.disabled){var s=t.changedTouches[0];this.startHandleValue=this.range?this.handleValues[n]:this.handleValue,this.dragging=!0,this.handleIndex=this.range&&this.handleValues&&this.handleValues[0]===this.max?0:n,"horizontal"===this.orientation?(this.startx=parseInt(s.clientX,10),this.barWidth=this.el.nativeElement.children[0].offsetWidth):(this.starty=parseInt(s.clientY,10),this.barHeight=this.el.nativeElement.children[0].offsetHeight),this.animate&&E.p.removeClass(this.el.nativeElement.children[0],"p-slider-animate"),t.preventDefault()}}onTouchMove(t){if(!this.disabled){var s,n=t.changedTouches[0];s="horizontal"===this.orientation?Math.floor(100*(parseInt(n.clientX,10)-this.startx)/this.barWidth)+this.startHandleValue:Math.floor(100*(this.starty-parseInt(n.clientY,10))/this.barHeight)+this.startHandleValue,this.setValueFromHandle(t,s),t.preventDefault()}}onTouchEnd(t){this.disabled||(this.dragging=!1,this.onSlideEnd.emit(this.range?{originalEvent:t,values:this.values}:{originalEvent:t,value:this.value}),this.animate&&E.p.addClass(this.el.nativeElement.children[0],"p-slider-animate"),t.preventDefault())}onBarClick(t){this.disabled||(this.sliderHandleClick||(this.updateDomData(),this.handleChange(t)),this.sliderHandleClick=!1)}onHandleKeydown(t,n){this.disabled||(38==t.which||39==t.which?this.spin(t,1,n):(37==t.which||40==t.which)&&this.spin(t,-1,n))}spin(t,n,s){let l=(this.step||1)*n;this.range?(this.handleIndex=s,this.updateValue(this.values[this.handleIndex]+l),this.updateHandleValue()):(this.updateValue(this.value+l),this.updateHandleValue()),t.preventDefault()}handleChange(t){let n=this.calculateHandleValue(t);this.setValueFromHandle(t,n)}bindDragListeners(){(0,d.NF)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{const t=this.el?this.el.nativeElement.ownerDocument:this.document;this.dragListener||(this.dragListener=this.renderer.listen(t,"mousemove",n=>{this.dragging&&this.ngZone.run(()=>{this.handleChange(n)})})),this.mouseupListener||(this.mouseupListener=this.renderer.listen(t,"mouseup",n=>{this.dragging&&(this.dragging=!1,this.ngZone.run(()=>{this.onSlideEnd.emit(this.range?{originalEvent:n,values:this.values}:{originalEvent:n,value:this.value}),this.animate&&E.p.addClass(this.el.nativeElement.children[0],"p-slider-animate")}))}))})}unbindDragListeners(){this.dragListener&&(this.dragListener(),this.dragListener=null),this.mouseupListener&&(this.mouseupListener(),this.mouseupListener=null)}setValueFromHandle(t,n){this.sliderHandleClick=!1;let s=this.getValueFromHandle(n);this.range?this.step?this.handleStepChange(s,this.values[this.handleIndex]):(this.handleValues[this.handleIndex]=n,this.updateValue(s,t)):this.step?this.handleStepChange(s,this.value):(this.handleValue=n,this.updateValue(s,t)),this.cd.markForCheck()}handleStepChange(t,n){let s=t-n,l=n,v=this.step;s<0?l=n+Math.ceil(t/v-n/v)*v:s>0&&(l=n+Math.floor(t/v-n/v)*v),this.updateValue(l),this.updateHandleValue()}writeValue(t){this.range?this.values=t||[0,0]:this.value=t||0,this.updateHandleValue(),this.updateDiffAndOffset(),this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}get rangeStartLeft(){return this.isVertical()?null:this.handleValues[0]>100?"100%":this.handleValues[0]+"%"}get rangeStartBottom(){return this.isVertical()?this.handleValues[0]+"%":"auto"}get rangeEndLeft(){return this.isVertical()?null:this.handleValues[1]+"%"}get rangeEndBottom(){return this.isVertical()?this.handleValues[1]+"%":"auto"}isVertical(){return"vertical"===this.orientation}updateDomData(){let t=this.el.nativeElement.children[0].getBoundingClientRect();this.initX=t.left+E.p.getWindowScrollLeft(),this.initY=t.top+E.p.getWindowScrollTop(),this.barWidth=this.el.nativeElement.children[0].offsetWidth,this.barHeight=this.el.nativeElement.children[0].offsetHeight}calculateHandleValue(t){return"horizontal"===this.orientation?100*(t.pageX-this.initX)/this.barWidth:100*(this.initY+this.barHeight-t.pageY)/this.barHeight}updateHandleValue(){this.range?(this.handleValues[0]=100*(this.values[0]<this.min?0:this.values[0]-this.min)/(this.max-this.min),this.handleValues[1]=100*(this.values[1]>this.max?100:this.values[1]-this.min)/(this.max-this.min)):this.handleValue=this.value<this.min?0:this.value>this.max?100:100*(this.value-this.min)/(this.max-this.min),this.step&&this.updateDiffAndOffset()}updateDiffAndOffset(){this.diff=this.getDiff(),this.offset=this.getOffset()}getDiff(){return Math.abs(this.handleValues[0]-this.handleValues[1])}getOffset(){return Math.min(this.handleValues[0],this.handleValues[1])}updateValue(t,n){if(this.range){let s=t;0==this.handleIndex?(s<this.min?(s=this.min,this.handleValues[0]=0):s>this.values[1]&&s>this.max&&(s=this.max,this.handleValues[0]=100),this.sliderHandleStart?.nativeElement.focus()):(s>this.max?(s=this.max,this.handleValues[1]=100,this.offset=this.handleValues[1]):s<this.min?(s=this.min,this.handleValues[1]=0):s<this.values[0]&&(this.offset=this.handleValues[1]),this.sliderHandleEnd?.nativeElement.focus()),this.step?this.updateHandleValue():this.updateDiffAndOffset(),this.values[this.handleIndex]=this.getNormalizedValue(s),this.onModelChange([this.minVal,this.maxVal]),this.onChange.emit({event:n,values:this.values})}else t<this.min?(t=this.min,this.handleValue=0):t>this.max&&(t=this.max,this.handleValue=100),this.value=this.getNormalizedValue(t),this.onModelChange(this.value),this.onChange.emit({event:n,value:this.value}),this.sliderHandle?.nativeElement.focus()}getValueFromHandle(t){return t/100*(this.max-this.min)+this.min}getDecimalsCount(t){return t&&Math.floor(t)!==t&&t.toString().split(".")[1].length||0}getNormalizedValue(t){let n=this.getDecimalsCount(this.step);return n>0?+parseFloat(t.toString()).toFixed(n):Math.floor(t)}ngOnDestroy(){this.unbindDragListeners()}get minVal(){return Math.min(this.values[1],this.values[0])}get maxVal(){return Math.max(this.values[1],this.values[0])}static \u0275fac=function(n){return new(n||o)(e.Y36(d.K0),e.Y36(e.Lbi),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(e.sBO))};static \u0275cmp=e.Xpm({type:o,selectors:[["p-slider"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Te,5),e.Gf(ye,5),e.Gf(Ze,5)),2&n){let l;e.iGM(l=e.CRH())&&(s.sliderHandle=l.first),e.iGM(l=e.CRH())&&(s.sliderHandleStart=l.first),e.iGM(l=e.CRH())&&(s.sliderHandleEnd=l.first)}},hostAttrs:[1,"p-element"],inputs:{animate:"animate",disabled:"disabled",min:"min",max:"max",orientation:"orientation",step:"step",range:"range",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex"},outputs:{onChange:"onChange",onSlideEnd:"onSlideEnd"},features:[e._Bn([Ue])],decls:8,vars:16,consts:[[3,"ngStyle","ngClass","click"],["class","p-slider-range",3,"ngStyle",4,"ngIf"],["class","p-slider-handle",3,"transition","ngStyle","keydown","mousedown","touchstart","touchmove","touchend",4,"ngIf"],["class","p-slider-handle",3,"transition","ngStyle","ngClass","keydown","mousedown","touchstart","touchmove","touchend",4,"ngIf"],[1,"p-slider-range",3,"ngStyle"],[1,"p-slider-handle",3,"ngStyle","keydown","mousedown","touchstart","touchmove","touchend"],["sliderHandle",""],[1,"p-slider-handle",3,"ngStyle","ngClass","keydown","mousedown","touchstart","touchmove","touchend"],["sliderHandleStart",""],["sliderHandleEnd",""]],template:function(n,s){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(v){return s.onBarClick(v)}),e.YNc(1,we,1,4,"span",1),e.YNc(2,Ae,1,4,"span",1),e.YNc(3,Me,1,3,"span",1),e.YNc(4,Ie,1,3,"span",1),e.YNc(5,Ne,2,11,"span",2),e.YNc(6,De,2,14,"span",3),e.YNc(7,Be,2,14,"span",3),e.qZA()),2&n&&(e.Tol(s.styleClass),e.Q6J("ngStyle",s.style)("ngClass",e.l5B(11,Re,s.disabled,"horizontal"==s.orientation,"vertical"==s.orientation,s.animate)),e.xp6(1),e.Q6J("ngIf",s.range&&"horizontal"==s.orientation),e.xp6(1),e.Q6J("ngIf",s.range&&"vertical"==s.orientation),e.xp6(1),e.Q6J("ngIf",!s.range&&"vertical"==s.orientation),e.xp6(1),e.Q6J("ngIf",!s.range&&"horizontal"==s.orientation),e.xp6(1),e.Q6J("ngIf",!s.range),e.xp6(1),e.Q6J("ngIf",s.range),e.xp6(1),e.Q6J("ngIf",s.range))},dependencies:[d.mk,d.O5,d.PC],styles:[".p-slider{position:relative}.p-slider .p-slider-handle{position:absolute;cursor:grab;touch-action:none;display:block}.p-slider-range{position:absolute;display:block}.p-slider-horizontal .p-slider-range{top:0;left:0;height:100%}.p-slider-horizontal .p-slider-handle{top:50%}.p-slider-vertical{height:100px}.p-slider-vertical .p-slider-handle{left:50%}.p-slider-vertical .p-slider-range{bottom:0;left:0;width:100%}\n"],encapsulation:2,changeDetection:0})}return o})(),Oe=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[d.ez]})}return o})();var K=r(1865);const Je=function(){return{minWidth:"35rem"}};function Ve(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"div",48)(1,"h5",49),e._uU(2,"Szob\xe1k"),e.qZA(),e.TgZ(3,"span",50)(4,"app-conference-selector",51),e.NdJ("ngModelChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedConferences=s)})("ngModelChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"conferenceName"))}),e.qZA()(),e.TgZ(5,"span",52),e._UZ(6,"i",53),e.TgZ(7,"input",54),e.NdJ("input",function(s){e.CHM(t);const l=e.oxw(),v=e.MAs(4);return e.KtG(l.onGlobalFilter(v,s))}),e.qZA()(),e.TgZ(8,"span",50)(9,"button",55),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.create())}),e.qZA(),e.TgZ(10,"button",56),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.bulkDeleteDialog=!0)}),e.qZA()()()}if(2&o){const t=e.oxw();e.xp6(4),e.Akn(e.DdM(7,Je)),e.Q6J("ngModel",t.selectedConferences)("selectionLimit",1)("showClear",!0),e.xp6(5),e.Q6J("disabled",!t.canCreate),e.xp6(1),e.Q6J("disabled",!t.selected||!t.selected.length||!t.canDelete)}}function He(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",57),e._uU(3,"Szoba "),e._UZ(4,"p-sortIcon",58),e.qZA(),e.TgZ(5,"th",59),e._uU(6,"P\xf3t\xe1gy "),e._UZ(7,"p-sortIcon",60),e.qZA(),e.TgZ(8,"th",61),e._uU(9,"Komment "),e._UZ(10,"p-sortIcon",62),e.qZA(),e.TgZ(11,"th",63),e._uU(12,"Vend\xe9gek "),e._UZ(13,"p-sortIcon",64),e.qZA(),e.TgZ(14,"th",65),e._uU(15,"Tel\xedtetts\xe9g "),e._UZ(16,"p-sortIcon",66),e.qZA(),e._UZ(17,"th"),e.qZA(),e.TgZ(18,"tr")(19,"th",67),e._UZ(20,"p-tableHeaderCheckbox"),e.qZA(),e.TgZ(21,"th")(22,"input",68),e.NdJ("input",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"roomNum"))}),e.qZA(),e.TgZ(23,"app-building-selector",69),e.NdJ("change",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"building"))}),e.qZA(),e.TgZ(24,"app-bedtype-selector",70),e.NdJ("change",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"bedType"))}),e.qZA()(),e.TgZ(25,"th")(26,"app-sparebed-selector",71),e.NdJ("change",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"spareBeds"))}),e.qZA()(),e.TgZ(27,"th")(28,"input",72),e.NdJ("input",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"comment"))}),e.qZA()(),e.TgZ(29,"th")(30,"input",73),e.NdJ("input",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"guests"))}),e.qZA()(),e.TgZ(31,"th")(32,"p-slider",74),e.NdJ("ngModelChange",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.occupancyFilter=s)})("input",function(s){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilter(s,"occupancy"))}),e.qZA()(),e._UZ(33,"th"),e.qZA()}if(2&o){const t=e.oxw();e.xp6(23),e.Q6J("showClear",!0),e.xp6(1),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("showClear",!0),e.xp6(6),e.Q6J("ngModel",t.occupancyFilter)("step",20)}}function Le(o,i){if(1&o&&(e.TgZ(0,"span",93),e._uU(1),e.qZA()),2&o){const t=e.oxw().$implicit;e.xp6(1),e.hij("(",t.floor,")")}}function ze(o,i){1&o&&(e.TgZ(0,"span",94),e._uU(1,"\u2744\ufe0f"),e.qZA())}function Qe(o,i){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().$implicit;e.xp6(1),e.hij(", ",t.bathroom,"")}}function Ke(o,i){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o){const t=e.oxw().$implicit;e.Gre("sparebed-badge ",t.spareBeds,""),e.xp6(1),e.hij(" ",e.lcZ(2,4,"SPAREBEDS."+(null==t.spareBeds?null:t.spareBeds.toUpperCase()))," ")}}function Ye(o,i){1&o&&e._UZ(0,"p-avatar",95),2&o&&e.s9C("pTooltip",i.$implicit.guestName)}const qe=function(){return{height:".5rem"}};function $e(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",75),e.qZA(),e.TgZ(3,"td")(4,"span",76),e._uU(5,"Szoba sz\xe1m"),e.qZA(),e.TgZ(6,"div")(7,"div",77)(8,"div",78),e._UZ(9,"i",79),e.TgZ(10,"span",80),e._uU(11),e.qZA()(),e.TgZ(12,"div",81)(13,"div",82)(14,"span",83),e._uU(15),e.ALo(16,"translate"),e.YNc(17,Le,2,1,"span",84),e.YNc(18,ze,2,0,"span",85),e.qZA(),e.TgZ(19,"span",86),e._uU(20),e.YNc(21,Qe,2,1,"span",46),e._uU(22,") "),e.qZA()()()()()(),e.TgZ(23,"td")(24,"span",76),e._uU(25,"P\xf3t\xe1gy"),e.qZA(),e.YNc(26,Ke,3,6,"span",87),e.qZA(),e.TgZ(27,"td")(28,"span",76),e._uU(29,"Komment"),e.qZA(),e._uU(30),e.qZA(),e.TgZ(31,"td")(32,"span",76),e._uU(33,"Vend\xe9gek"),e.qZA(),e.TgZ(34,"p-avatarGroup"),e.YNc(35,Ye,1,1,"p-avatar",88),e.qZA()(),e.TgZ(36,"td")(37,"span",76),e._uU(38,"Tel\xedtetts\xe9g"),e.qZA(),e._UZ(39,"p-progressBar",89),e.qZA(),e.TgZ(40,"td")(41,"div",90)(42,"button",91),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.edit(l))}),e.qZA(),e.TgZ(43,"button",92),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return v.tableItem=l,e.KtG(v.deleteDialog=!0)}),e.qZA()()()()}if(2&o){const t=i.$implicit,n=e.oxw();e.xp6(2),e.Q6J("value",t),e.xp6(4),e.Gre("building-badge ",t.building," border-round-xl w-min p-0"),e.xp6(4),e.MGl("pTooltip","Szoba sz\xe1m: ",t.roomNum,""),e.xp6(1),e.hij(" ",t.roomNum," "),e.xp6(1),e.MGl("pTooltip","Szoba k\xf3d: ",t.roomCode,""),e.xp6(3),e.hij(" ",e.lcZ(16,24,"BUILDINGS."+t.building.toUpperCase())," "),e.xp6(2),e.Q6J("ngIf",t.floor),e.xp6(1),e.Q6J("ngIf",t.climate),e.xp6(2),e.AsE(" ",t.beds," SZEM\xc9LYES (",t.bedType,""),e.xp6(1),e.Q6J("ngIf",t.bathroom),e.xp6(5),e.Q6J("ngIf",t.spareBeds),e.xp6(4),e.hij(" ",t.comment," "),e.xp6(5),e.Q6J("ngForOf",t.guests),e.xp6(4),e.Akn(e.DdM(26,qe)),e.hYB("pTooltip","\xc1gy/vend\xe9g: ",t.beds,"/",null==t.guests?null:t.guests.length,""),e.Q6J("value",(null==t.guests?null:t.guests.length)/t.beds*100)("showValue",!1),e.xp6(3),e.Q6J("disabled",!n.canEdit),e.xp6(1),e.Q6J("disabled",!n.canDelete)}}function Pe(o,i){1&o&&(e.TgZ(0,"tr")(1,"td",96),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&o&&(e.xp6(1),e.uIk("colspan",6))}function Ge(o,i){if(1&o&&(e.TgZ(0,"span",97),e._uU(1),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.hij(" ",null!=t.id&&t.id.value?"Szoba adatai":"\xdaj szoba"," ")}}function je(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function We(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Xe(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function et(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function tt(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function nt(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function ot(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function st(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function it(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function lt(o,i){1&o&&(e.TgZ(0,"div",98),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function at(o,i){1&o&&(e.TgZ(0,"div",99),e._uU(1," K\xe9rj\xfck v\xe1lassza ki, hogy k\xe9r-e baba\xe1gyat! "),e.qZA())}function rt(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"div",100)(1,"button",101),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.cancel())}),e.qZA(),e.TgZ(2,"button",102),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.save())}),e.qZA()()}if(2&o){const t=e.oxw();e.xp6(1),e.Q6J("disabled",!t.roomForm.dirty),e.xp6(1),e.Q6J("disabled",!t.roomForm.valid||!t.roomForm.dirty)}}function pt(o,i){if(1&o&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja a(z) "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4," szob\xe1t?"),e.qZA()),2&o){const t=e.oxw();e.xp6(3),e.Oqu(t.tableItem.roomNum)}}function ut(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"button",103),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.deleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",104),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.delete())}),e.qZA()}}function dt(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"button",103),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(1,"button",104),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.deleteSelected())}),e.qZA()}}const ct=function(){return["roomNum"]},mt=function(){return{"min-height":"calc(100vh - 320px)"}},Y=function(){return{width:"450px"}};m.locale("hu");let N=class D{constructor(i,t,n,s,l){this.roomService=i,this.userService=t,this.messageService=n,this.responsiveService=s,this.fb=l,this.loading=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="roomNum",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.isMobile=!1,this.selectedConferences=[],this.defaultRoomFormValues={id:null,roomNum:"",roomCode:"",beds:"",spareBeds:"",bathroom:"",building:"",floor:"",bedType:"",climate:0,comment:"",extraBeds:0},this.formChanges$=new _.x,this.roomForm=this.fb.group({id:[this.defaultRoomFormValues.id],roomNum:[this.defaultRoomFormValues.roomNum,a.kI.required],roomCode:[this.defaultRoomFormValues.roomCode,a.kI.required],beds:[this.defaultRoomFormValues.beds,a.kI.required],spareBeds:[this.defaultRoomFormValues.spareBeds],bathroom:[this.defaultRoomFormValues.bathroom],building:[this.defaultRoomFormValues.building,a.kI.required],floor:[this.defaultRoomFormValues.floor],bedType:[this.defaultRoomFormValues.bedType],climate:[this.defaultRoomFormValues.climate],comment:[this.defaultRoomFormValues.comment],extraBeds:[this.defaultRoomFormValues.extraBeds]}),this.isFormValid$=new w.X(!1)}ngOnInit(){this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(i=>this.canCreate=i),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(i=>this.canEdit=i),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(i=>this.canDelete=i),this.roomObs$=this.roomService.roomObs,this.roomObs$.subscribe(i=>{this.loading=!1,i&&(this.tableData=i.rows||[],this.totalRecords=i.totalItems||0,this.page=i.currentPage||0)}),this.responsiveService.isMobile$.subscribe(i=>{this.isMobile=i}),this.isFormValid$=this.formChanges$.pipe((0,Z.b)(300),(0,h.x)(),(0,c.U)(()=>this.roomForm.valid)),this.serviceMessageObs$=this.roomService.messageObs,this.serviceMessageObs$.subscribe(i=>this.handleMessage(i))}get id(){return this.roomForm.get("id")}get roomNum(){return this.roomForm.get("roomNum")}get roomCode(){return this.roomForm.get("roomCode")}get beds(){return this.roomForm.get("beds")}get spareBeds(){return this.roomForm.get("spareBeds")}get bathroom(){return this.roomForm.get("bathroom")}get building(){return this.roomForm.get("building")}get floor(){return this.roomForm.get("floor")}get bedType(){return this.roomForm.get("bedType")}get climate(){return this.roomForm.get("climate")}get comment(){return this.roomForm.get("comment")}get extraBeds(){return this.roomForm.get("extraBeds")}doQuery(){this.loading=!0;const t=Object.keys(this.filterValues).map(n=>this.filterValues[n].length>0?`${n}=${this.filterValues[n]}`:"").filter(n=>n.length>0).join("&");return""!==this.globalFilter?this.roomService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.roomService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(i,t){let s="";i instanceof Date?s=m(i).format("YYYY.MM.DD"):i&&(i.value||i.target?.value)?(s=i.value||i.target?.value,s=s.toString()):this.filterValues[t]="",this.filterValues[t]=s,["conferenceName","spareBeds"].includes(t)?this.filterValues[t]===s&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===s&&this.doQuery()},500))}onLazyLoad(i){this.page=i.first/i.rows,this.rowsPerPage=i.rows??this.rowsPerPage,this.globalFilter=i.globalFilter??"",this.doQuery()}onGlobalFilter(i,t){i.filterGlobal(t.target.value,"contains")}create(){this.roomForm.reset(this.defaultRoomFormValues),this.sidebar=!0}edit(i){this.roomForm.reset(this.defaultRoomFormValues),this.roomForm.patchValue(i),this.originalFormValues=this.roomForm.value,this.sidebar=!0}delete(){this.loading=!0,this.deleteDialog=!1,this.roomService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.bulkDeleteDialog=!1,this.roomService.bulkdelete(this.selected)}save(){if(this.roomForm.valid){this.loading=!0;const i=this.roomForm.value;i.id?this.roomService.update(i):this.roomService.create(i),this.sidebar=!1}}cancel(){this.roomForm.reset(this.originalFormValues)}handleMessage(i){i&&(this.loading=!1,"ERROR"==i?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):(this.messageService.add(i),this.tableItem={},this.selected=[],this.doQuery()))}ngOnDestroy(){}static#e=this.\u0275fac=function(t){return new(t||D)(e.Y36(F.X),e.Y36(f.K),e.Y36(p.ez),e.Y36(g.k),e.Y36(a.qu))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["room-component"]],features:[e._Bn([p.ez])],decls:91,vars:52,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-6"],["for","roomNum",1,"font-medium","text-900"],["id","roomNum","type","text","pInputText","","formControlName","roomNum"],["class","block p-error",4,"ngIf"],["for","roomCode",1,"font-medium","text-900"],["id","roomCode","type","text","pInputText","","formControlName","roomCode"],["for","beds",1,"font-medium","text-900"],["id","beds","type","text","pInputText","","formControlName","beds"],["for","bedType",1,"font-medium","text-900"],["controlName","bedType",3,"parentForm","showClear"],["for","spareBeds",1,"font-medium","text-900"],["controlName","spareBeds",3,"parentForm","showClear"],["for","bathroom",1,"font-medium","text-900"],["controlName","bathroom",3,"parentForm","showClear"],["for","building",1,"font-medium","text-900"],["controlName","building",3,"parentForm","showClear"],["for","floor",1,"font-medium","text-900"],["controlName","floor",3,"parentForm","showClear"],["for","comment",1,"font-medium","text-900"],["id","comment","type","text","pInputText","","formControlName","comment"],["for","extraBeds",1,"font-medium","text-900"],["id","extraBeds","type","text","pInputText","","formControlName","extraBeds"],["for","climate",1,"font-medium","text-900"],[1,"flex","flex-wrap","gap-3","my-3"],[1,"flex","align-items-center"],["name","climate","value","1","formControlName","climate","inputId","climate-yes"],["for","climate-yes",1,"ml-2"],["name","climate","value","0","formControlName","climate","inputId","climate-no"],["for","climate-no",1,"ml-2"],["class","p-error",4,"ngIf"],["pTemplate","footer"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0"],["placeholder","V\xe1lasszon konferenci\xe1t...",3,"ngModel","selectionLimit","showClear","ngModelChange"],[1,"block","mt-2","md:mt-0","p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s...",1,"w-full","sm:w-auto",3,"input"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","label","T\xf6rl\xe9s","icon","pi pi-trash",1,"p-button-danger","mr-2",3,"disabled","click"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","spareBeds"],["field","spareBeds"],["pSortableColumn","comment"],["field","comment"],["pSortableColumn","guests"],["field","guests"],["pSortableColumn","occupancy"],["field","occupancy"],["styleClass","w-3rem"],["pInputText","","type","text","placeholder","Szobasz\xe1m...",1,"mr-2",2,"width","8rem",3,"input"],["placeholder","\xc9p\xfclet...",1,"mr-2",3,"showClear","change"],["placeholder","\xc1gytipus...",3,"showClear","change"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","7rem",3,"input"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","10rem",3,"input"],["styleClass","w-7rem",3,"ngModel","step","ngModelChange","input"],[3,"value"],[1,"p-column-title"],[1,"flex","align-items-center","justify-content-center","py-1","px-1"],[1,"flex","align-items-center","justify-content-center","gap-2","px-2"],[1,"pi","pi-key","vertical-align-middle"],["tooltipPosition","top",1,"text-2xl","font-semibold","white-space-nowrap","vertical-align-middle",3,"pTooltip"],["tooltipPosition","top",1,"block","min-w-max","border-left-1","px-2",3,"pTooltip"],[1,"flex","flex-column","align-items-left","justify-content-center"],[1,"text-base","font-semibold","uppercase"],["class","font-normal text-sm uppercase",4,"ngIf"],["class","pl-1",4,"ngIf"],[1,"font-light","text-xs","uppercase"],[3,"class",4,"ngIf"],["icon","pi pi-user","size","large","shape","circle","tooltipPosition","top",3,"pTooltip",4,"ngFor","ngForOf"],["tooltipPosition","top",3,"value","showValue","pTooltip"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-pencil",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash",1,"p-button-rounded","p-button-warning",3,"disabled","click"],[1,"font-normal","text-sm","uppercase"],[1,"pl-1"],["icon","pi pi-user","size","large","shape","circle","tooltipPosition","top",3,"pTooltip"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return n.selected=l})("onLazyLoad",function(l){return n.onLazyLoad(l)}),e.YNc(5,Ve,11,8,"ng-template",5),e.YNc(6,He,34,5,"ng-template",6),e.YNc(7,$e,44,27,"ng-template",7),e.YNc(8,Pe,3,1,"ng-template",8),e.qZA()(),e.TgZ(9,"p-sidebar",9),e.NdJ("visibleChange",function(l){return n.sidebar=l}),e.YNc(10,Ge,2,1,"ng-template",6),e.TgZ(11,"form",10),e.NdJ("ngSubmit",function(){return n.save()}),e._UZ(12,"input",11),e.TgZ(13,"div",12)(14,"label",13),e._uU(15,"Szoba sz\xe1m"),e.qZA(),e._UZ(16,"input",14),e.YNc(17,je,2,0,"div",15),e.qZA(),e.TgZ(18,"div",12)(19,"label",16),e._uU(20,"Szoba k\xf3d"),e.qZA(),e._UZ(21,"input",17),e.YNc(22,We,2,0,"div",15),e.qZA(),e.TgZ(23,"div",12)(24,"label",18),e._uU(25,"\xc1gyak sz\xe1ma"),e.qZA(),e._UZ(26,"input",19),e.YNc(27,Xe,2,0,"div",15),e.qZA(),e.TgZ(28,"div",12)(29,"label",20),e._uU(30,"\xc1gyt\xedpus"),e.qZA(),e._UZ(31,"app-bedtype-selector",21),e.YNc(32,et,2,0,"div",15),e.qZA(),e.TgZ(33,"div",12)(34,"label",22),e._uU(35,"P\xf3t\xe1gy"),e.qZA(),e._UZ(36,"app-sparebed-selector",23),e.YNc(37,tt,2,0,"div",15),e.qZA(),e.TgZ(38,"div",12)(39,"label",24),e._uU(40,"F\xfcrd\u0151szoba"),e.qZA(),e._UZ(41,"app-bathroom-selector",25),e.YNc(42,nt,2,0,"div",15),e.qZA(),e.TgZ(43,"div",12)(44,"label",26),e._uU(45,"\xc9p\xfclet"),e.qZA(),e._UZ(46,"app-building-selector",27),e.YNc(47,ot,2,0,"div",15),e.qZA(),e.TgZ(48,"div",12)(49,"label",28),e._uU(50,"Emelet"),e.qZA(),e._UZ(51,"app-floor-selector",29),e.YNc(52,st,2,0,"div",15),e.qZA(),e.TgZ(53,"div",12)(54,"label",30),e._uU(55,"Megjegyz\xe9s"),e.qZA(),e._UZ(56,"input",31),e.YNc(57,it,2,0,"div",15),e.qZA(),e.TgZ(58,"div",12)(59,"label",32),e._uU(60,"Extra f\xe9r\u0151hely"),e.qZA(),e._UZ(61,"input",33),e.YNc(62,lt,2,0,"div",15),e.qZA(),e.TgZ(63,"div",12)(64,"label",34),e._uU(65,"Klimatiz\xe1lt?"),e.qZA(),e.TgZ(66,"div",35)(67,"div",36),e._UZ(68,"p-radioButton",37),e.TgZ(69,"label",38),e._uU(70,"Igen"),e.qZA()(),e.TgZ(71,"div",36),e._UZ(72,"p-radioButton",39),e.TgZ(73,"label",40),e._uU(74,"Nem"),e.qZA()()(),e.YNc(75,at,2,0,"div",41),e.qZA()(),e.YNc(76,rt,3,2,"ng-template",42),e.qZA(),e.TgZ(77,"p-dialog",43),e.NdJ("visibleChange",function(l){return n.deleteDialog=l}),e.TgZ(78,"div",44),e._UZ(79,"i",45),e.YNc(80,pt,5,1,"span",46),e.qZA(),e.YNc(81,ut,2,0,"ng-template",42),e.qZA(),e.TgZ(82,"p-dialog",43),e.NdJ("visibleChange",function(l){return n.bulkDeleteDialog=l}),e.TgZ(83,"div",44),e._UZ(84,"i",45),e.TgZ(85,"span"),e._uU(86,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott szob\xe1kat?"),e.qZA()(),e.YNc(87,dt,2,0,"ng-template",42),e.qZA()()(),e.TgZ(88,"p-blockUI",47),e._UZ(89,"p-progressSpinner"),e.qZA(),e._UZ(90,"p-toast")),2&t&&(e.xp6(3),e.Q6J("value",n.tableData)("rows",n.rowsPerPage)("totalRecords",n.totalRecords)("globalFilterFields",e.DdM(48,ct))("paginator",!0)("rowsPerPageOptions",n.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",n.selected)("tableStyle",e.DdM(49,mt))("rowHover",!0)("lazy",!0),e.xp6(6),e.Q6J("visible",n.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",n.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",n.roomForm),e.xp6(6),e.Q6J("ngIf",(null==n.roomNum?null:n.roomNum.dirty)&&(null==n.roomNum||null==n.roomNum.errors?null:n.roomNum.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.roomCode?null:n.roomCode.dirty)&&(null==n.roomCode||null==n.roomCode.errors?null:n.roomCode.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.beds?null:n.beds.dirty)&&(null==n.beds||null==n.beds.errors?null:n.beds.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.bedType?null:n.bedType.dirty)&&(null==n.bedType||null==n.bedType.errors?null:n.bedType.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.spareBeds?null:n.spareBeds.dirty)&&(null==n.spareBeds||null==n.spareBeds.errors?null:n.spareBeds.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.bathroom?null:n.bathroom.dirty)&&(null==n.bathroom||null==n.bathroom.errors?null:n.bathroom.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.building?null:n.building.dirty)&&(null==n.building||null==n.building.errors?null:n.building.errors.required)),e.xp6(4),e.Q6J("parentForm",n.roomForm)("showClear",!0),e.xp6(1),e.Q6J("ngIf",(null==n.floor?null:n.floor.dirty)&&(null==n.floor||null==n.floor.errors?null:n.floor.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.comment?null:n.comment.dirty)&&(null==n.comment||null==n.comment.errors?null:n.comment.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==n.extraBeds?null:n.extraBeds.dirty)&&(null==n.extraBeds||null==n.extraBeds.errors?null:n.extraBeds.errors.required)),e.xp6(13),e.Q6J("ngIf",(null==n.climate?null:n.climate.dirty)&&(null==n.climate||null==n.climate.errors?null:n.climate.errors.required)),e.xp6(2),e.Akn(e.DdM(50,Y)),e.Q6J("visible",n.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",n.tableItem),e.xp6(2),e.Akn(e.DdM(51,Y)),e.Q6J("visible",n.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Q6J("autoZIndex",!0)("blocked",n.loading))},dependencies:[d.sg,d.O5,b.iA,p.jx,b.lQ,b.fz,b.UA,b.Mo,a._Y,a.Fj,a.JJ,a.JL,a.On,a.sg,a.u,S.Hq,C.H,B.FN,R.o,U.V,O.G,J.b,V.Y,q.w,$.q,P.n,G.p,oe,ue,H.u,L.k,fe,Ce,Q,K.EU,A.X$],encapsulation:2})};N=(0,y.gn)([(0,u.k)()],N);let ht=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[x.Bz.forChild([{path:"",component:N}]),x.Bz]})}return o})();var gt=r(6263),_t=r(9502),ft=r(5609),bt=r(2285);let vt=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({providers:[F.X],imports:[d.ez,ht,b.U$,a.u5,a.UX,S.hJ,C.T,B.EV,R.j,k.kW,U.S,gt.W,_t.$,O.L,J.u,V.l,bt.L,ft.Iu,H.z,L.q,be,xe,Oe,K.cc,A.aw]})}return o})()},219:(M,T,r)=>{r.d(T,{Z:()=>Z});var d=r(5619),a=r(7398),x=r(6306),y=r(2096),_=r(2029),w=r(8814);let Z=(()=>{class h{constructor(u){this.apiService=u,this.cache=[],this.apiURL=u.apiURL,this.data$=new d.X(null),this.message$=new d.X(null)}get conferenceObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(u,p,m,e){const F=localStorage.getItem("userrole"),f=localStorage.getItem("userid");if("Szervezo"===F&&f){const C=`organizer_user_id=${f}`;e=e?`${e}&${C}`:C}e.includes("enabled=")||(e=e?`${e}&enabled=1`:"enabled=1");let g="";""!==m&&(g=""!=m.sortField?`sort=${m.sortField}&order=${1===m.sortOrder?"ASC":"DESC"}`:"");const b=""!==g&&""!==e?g+"&"+e:""!==g&&""===e?g:""===g&&""!==e?e:"";this.apiService.get(`conference/get/${u}/${p}${""!==b?"?"+b:""}`).subscribe({next:C=>{this.data$.next(C)},error:C=>{this.message$.next(C)}})}getBySearch(u,p){let m="";""!==p&&(m=""!=p.sortField?`?sort=${p.sortField}&order=${1===p.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`conference/search/${u}${m}`).subscribe({next:e=>{this.data$.next(e)},error:e=>{this.message$.next(e)}})}getBySearchQuery(u){this.apiService.get(`conference/searchquery?${u}`).subscribe({next:p=>{this.data$.next(p)},error:p=>{this.message$.next(p)}})}create(u){this.apiService.post("conference/create/",u).subscribe({next:p=>{this.message$.next({severity:"success",summary:"Sikeres konferencia r\xf6gz\xedt\xe9s",detail:`${u.name} r\xf6gz\xedtve`})},error:p=>{this.message$.next(p)}})}update(u){this.apiService.put(`conference/update/${u.id}`,u).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres konferencia m\xf3dos\xedt\xe1s",detail:`${u.name} m\xf3dos\xedtva`})},error:p=>{this.message$.next(p)}})}delete(u){this.apiService.delete(`conference/delete/${u.id}`).subscribe({next:p=>{this.message$.next({severity:"success",summary:"Sikeres konferencia t\xf6rl\xe9s",detail:`${u.name} t\xf6r\xf6lve`})},error:p=>{this.message$.next(p)}})}bulkdelete(u){let p={ids:u.map(m=>m.id)};this.apiService.post("conference/bulkdelete",p).subscribe({next:m=>{this.message$.next({severity:"success",summary:"Sikeres konferencia t\xf6rl\xe9s",detail:`${u.length} konferencia t\xf6r\xf6lve`})},error:m=>{this.message$.next(m)}})}getConferencesForSelector(){return this.get(0,999,{sortField:"id",sortOrder:1},""),this.data$.asObservable().pipe((0,a.U)(p=>{const m=p?p.rows:[];return this.cache=m,m}))}getById(u){return this.apiService.get(`conference/getbyid/${u}`)}isSlugValid(u){return this.get(0,20,"slug=","sort"),this.data$.pipe((0,a.U)(p=>(console.log("isSlugValid response",p),p&&p.data&&p.rows.length>0)),(0,x.K)(()=>(0,y.of)(!1)))}assignRooms(u,p){this.apiService.post(`conferencesroom/addroom/${u}`,{roomIds:p}).subscribe({next:m=>{this.message$.next({severity:"success",summary:"Sikeres szoba hozz\xe1rendel\xe9s",detail:"Szob\xe1k hozz\xe1rendelve"})},error:m=>{this.message$.next(m)}})}static#e=this.\u0275fac=function(p){return new(p||h)(_.LFG(w.s))};static#t=this.\u0275prov=_.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},3620:(M,T,r)=>{r.d(T,{b:()=>y});var d=r(2832),a=r(9360),x=r(8251);function y(_,w=d.z){return(0,a.e)((Z,h)=>{let c=null,u=null,p=null;const m=()=>{if(c){c.unsubscribe(),c=null;const F=u;u=null,h.next(F)}};function e(){const F=p+_,f=w.now();if(f<F)return c=this.schedule(void 0,F-f),void h.add(c);m()}Z.subscribe((0,x.x)(h,F=>{u=F,p=w.now(),c||(c=w.schedule(e,_),h.add(c))},()=>{m(),h.complete()},void 0,()=>{u=c=null}))})}},4204:(M,T,r)=>{r.d(T,{b:()=>p,u:()=>m});var d=r(6814),a=r(2029),x=r(5219),y=r(2076),_=r(2332);const w=["mask"];function Z(e,F){1&e&&a.GkF(0)}const h=function(e){return{"p-blockui-document":e,"p-blockui p-component-overlay p-component-overlay-enter":!0}},c=function(e){return{display:e}},u=["*"];let p=(()=>{class e{document;el;cd;config;renderer;target;autoZIndex=!0;baseZIndex=0;styleClass;get blocked(){return this._blocked}set blocked(f){this.mask&&this.mask.nativeElement?f?this.block():this.unblock():this._blocked=f}templates;mask;_blocked=!1;animationEndListener;contentTemplate;constructor(f,g,b,S,C){this.document=f,this.el=g,this.cd=b,this.config=S,this.renderer=C}ngAfterViewInit(){if(this.target&&!this.target.getBlockableElement)throw"Target of BlockUI must implement BlockableUI interface"}ngAfterContentInit(){this.templates.forEach(f=>{f.getType(),this.contentTemplate=f.template})}block(){this._blocked=!0,this.target?(this.target.getBlockableElement().appendChild(this.mask.nativeElement),this.target.getBlockableElement().style.position="relative"):this.renderer.appendChild(this.document.body,this.mask.nativeElement),this.autoZIndex&&_.P9.set("modal",this.mask.nativeElement,this.baseZIndex+this.config.zIndex.modal)}unblock(){this.mask&&(this.animationEndListener=this.renderer.listen(this.mask.nativeElement,"animationend",this.destroyModal.bind(this)),y.p.addClass(this.mask.nativeElement,"p-component-overlay-leave"))}destroyModal(){this._blocked=!1,this.mask&&(y.p.removeClass(this.mask.nativeElement,"p-component-overlay-leave"),_.P9.clear(this.mask.nativeElement),this.renderer.appendChild(this.el.nativeElement,this.mask.nativeElement)),this.unbindAnimationEndListener(),this.cd.markForCheck()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.unblock(),this.destroyModal()}static \u0275fac=function(g){return new(g||e)(a.Y36(d.K0),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(x.b4),a.Y36(a.Qsj))};static \u0275cmp=a.Xpm({type:e,selectors:[["p-blockUI"]],contentQueries:function(g,b,S){if(1&g&&a.Suo(S,x.jx,4),2&g){let C;a.iGM(C=a.CRH())&&(b.templates=C)}},viewQuery:function(g,b){if(1&g&&a.Gf(w,5),2&g){let S;a.iGM(S=a.CRH())&&(b.mask=S.first)}},hostAttrs:[1,"p-element"],inputs:{target:"target",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",styleClass:"styleClass",blocked:"blocked"},ngContentSelectors:u,decls:4,vars:9,consts:[[3,"ngClass","ngStyle"],["mask",""],[4,"ngTemplateOutlet"]],template:function(g,b){1&g&&(a.F$t(),a.TgZ(0,"div",0,1),a.Hsn(2),a.YNc(3,Z,1,0,"ng-container",2),a.qZA()),2&g&&(a.Tol(b.styleClass),a.Q6J("ngClass",a.VKq(5,h,!b.target))("ngStyle",a.VKq(7,c,b.blocked?"flex":"none")),a.xp6(3),a.Q6J("ngTemplateOutlet",b.contentTemplate))},dependencies:[d.mk,d.tP,d.PC],styles:[".p-blockui{position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent;transition-property:background-color;display:flex;align-items:center;justify-content:center}.p-blockui.p-component-overlay{position:absolute}.p-blockui-document.p-component-overlay{position:fixed}.p-blockui-leave.p-component-overlay{background-color:transparent}\n"],encapsulation:2,changeDetection:0})}return e})(),m=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.oAB({type:e});static \u0275inj=a.cJS({imports:[d.ez]})}return e})()},6651:(M,T,r)=>{r.d(T,{k:()=>Z,q:()=>h});var d=r(6814),a=r(2029);function x(c,u){if(1&c&&(a.TgZ(0,"div",5),a._uU(1),a.qZA()),2&c){const p=a.oxw(2);a.Udp("display",null!=p.value&&0!==p.value?"flex":"none"),a.xp6(1),a.AsE("",p.value,"",p.unit,"")}}function y(c,u){if(1&c&&(a.TgZ(0,"div",3),a.YNc(1,x,2,4,"div",4),a.qZA()),2&c){const p=a.oxw();a.Udp("width",p.value+"%")("background",p.color),a.xp6(1),a.Q6J("ngIf",p.showValue)}}function _(c,u){if(1&c&&(a.TgZ(0,"div",6),a._UZ(1,"div",7),a.qZA()),2&c){const p=a.oxw();a.xp6(1),a.Udp("background",p.color)}}const w=function(c,u){return{"p-progressbar p-component":!0,"p-progressbar-determinate":c,"p-progressbar-indeterminate":u}};let Z=(()=>{class c{value;showValue=!0;styleClass;style;unit="%";mode="determinate";color;static \u0275fac=function(m){return new(m||c)};static \u0275cmp=a.Xpm({type:c,selectors:[["p-progressBar"]],hostAttrs:[1,"p-element"],inputs:{value:"value",showValue:"showValue",styleClass:"styleClass",style:"style",unit:"unit",mode:"mode",color:"color"},decls:3,vars:10,consts:[["role","progressbar","aria-valuemin","0","aria-valuemax","100",3,"ngStyle","ngClass"],["class","p-progressbar-value p-progressbar-value-animate","style","display:flex",3,"width","background",4,"ngIf"],["class","p-progressbar-indeterminate-container",4,"ngIf"],[1,"p-progressbar-value","p-progressbar-value-animate",2,"display","flex"],["class","p-progressbar-label",3,"display",4,"ngIf"],[1,"p-progressbar-label"],[1,"p-progressbar-indeterminate-container"],[1,"p-progressbar-value","p-progressbar-value-animate"]],template:function(m,e){1&m&&(a.TgZ(0,"div",0),a.YNc(1,y,2,5,"div",1),a.YNc(2,_,2,2,"div",2),a.qZA()),2&m&&(a.Tol(e.styleClass),a.Q6J("ngStyle",e.style)("ngClass",a.WLB(7,w,"determinate"===e.mode,"indeterminate"===e.mode)),a.uIk("aria-valuenow",e.value),a.xp6(1),a.Q6J("ngIf","determinate"===e.mode),a.xp6(1),a.Q6J("ngIf","indeterminate"===e.mode))},dependencies:[d.mk,d.O5,d.PC],styles:['.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n'],encapsulation:2,changeDetection:0})}return c})(),h=(()=>{class c{static \u0275fac=function(m){return new(m||c)};static \u0275mod=a.oAB({type:c});static \u0275inj=a.cJS({imports:[d.ez]})}return c})()},7680:(M,T,r)=>{r.d(T,{G:()=>x,L:()=>y});var d=r(6814),a=r(2029);let x=(()=>{class _{styleClass;style;strokeWidth="2";fill="none";animationDuration="2s";static \u0275fac=function(h){return new(h||_)};static \u0275cmp=a.Xpm({type:_,selectors:[["p-progressSpinner"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",strokeWidth:"strokeWidth",fill:"fill",animationDuration:"animationDuration"},decls:3,vars:6,consts:[["role","alert","aria-busy","true",1,"p-progress-spinner",3,"ngStyle","ngClass"],["viewBox","25 25 50 50",1,"p-progress-spinner-svg"],["cx","50","cy","50","r","20","stroke-miterlimit","10",1,"p-progress-spinner-circle"]],template:function(h,c){1&h&&(a.TgZ(0,"div",0),a.O4$(),a.TgZ(1,"svg",1),a._UZ(2,"circle",2),a.qZA()()),2&h&&(a.Q6J("ngStyle",c.style)("ngClass",c.styleClass),a.xp6(1),a.Udp("animation-duration",c.animationDuration),a.xp6(1),a.uIk("fill",c.fill)("stroke-width",c.strokeWidth))},dependencies:[d.mk,d.PC],styles:['.p-progress-spinner{position:relative;margin:0 auto;width:100px;height:100px;display:inline-block}.p-progress-spinner:before{content:"";display:block;padding-top:100%}.p-progress-spinner-svg{animation:p-progress-spinner-rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;inset:0;margin:auto}.p-progress-spinner-circle{stroke-dasharray:89,200;stroke-dashoffset:0;stroke:#d62d20;animation:p-progress-spinner-dash 1.5s ease-in-out infinite,p-progress-spinner-color 6s ease-in-out infinite;stroke-linecap:round}@keyframes p-progress-spinner-rotate{to{transform:rotate(360deg)}}@keyframes p-progress-spinner-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes p-progress-spinner-color{to,0%{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}\n'],encapsulation:2,changeDetection:0})}return _})(),y=(()=>{class _{static \u0275fac=function(h){return new(h||_)};static \u0275mod=a.oAB({type:_});static \u0275inj=a.cJS({imports:[d.ez]})}return _})()}}]);
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 2b8550fd..e36c4dbf 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -23,6 +23,6 @@
             </div>
         </div>
     </app-root>
-<script src="runtime.4dc42ebd7eb03dd2.js" type="module"></script><script src="polyfills.485141ba735566e0.js" type="module"></script><script src="main.dae82b35f72cc9d4.js" type="module"></script></body>
+<script src="runtime.7bc6bd97a8f467fa.js" type="module"></script><script src="polyfills.485141ba735566e0.js" type="module"></script><script src="main.7843a9f78862406f.js" type="module"></script></body>
 
 </html>
diff --git a/docs/main.dae82b35f72cc9d4.js b/docs/main.7843a9f78862406f.js
similarity index 99%
rename from docs/main.dae82b35f72cc9d4.js
rename to docs/main.7843a9f78862406f.js
index 0f5f8459..3280db1a 100644
--- a/docs/main.dae82b35f72cc9d4.js
+++ b/docs/main.7843a9f78862406f.js
@@ -1 +1 @@
-"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[179],{8814:(ze,me,_)=>{_.d(me,{s:()=>h});var o=_(2029),R=_(9862),V=_(8504),z=_(9397),T=_(7398),H=_(6306),N=_(6814);let h=(()=>{class j{constructor(B,U){this.document=B,this.http=U,this.productionURL="https://nfcreserve.hu",this.developmentURL="https://test.nfcreserve.hu",this.hostname=this.document.location.hostname,this.apiURL=(0,o.X6Q)()||"test.nfcreserve.hu"==this.hostname?`${this.developmentURL}/api`:`${this.productionURL}/api`}get(B){return this.http.get(`${this.apiURL}/${B}`,{observe:"response"}).pipe((0,z.b)(U=>this.refreshToken(U)),(0,T.U)(U=>U.body),(0,H.K)(this.handleError))}post(B,U){const le={observe:"response",responseType:"json"};return U instanceof FormData||(le.headers=new R.WM({"Content-Type":"application/json"})),this.http.post(`${this.apiURL}/${B}`,U,le).pipe((0,z.b)(G=>this.refreshToken(G)),(0,T.U)(G=>G.body),(0,H.K)(this.handleError))}put(B,U){return this.http.put(`${this.apiURL}/${B}`,U,{observe:"response"}).pipe((0,z.b)(ce=>this.refreshToken(ce)),(0,T.U)(ce=>ce.body),(0,H.K)(this.handleError))}delete(B){return this.http.delete(`${this.apiURL}/${B}`,{observe:"response"}).pipe((0,z.b)(U=>this.refreshToken(U)),(0,T.U)(U=>U.body),(0,H.K)(this.handleError))}refreshToken(B){const U=B.headers.get("Authorization");U&&localStorage.setItem("token",U)}handleError(B){return console.error("An error occurred:",B.message),(0,V._)("ERROR")}static#e=this.\u0275fac=function(U){return new(U||j)(o.LFG(N.K0),o.LFG(R.eN))};static#t=this.\u0275prov=o.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3763:(ze,me,_)=>{_.d(me,{$:()=>z});var o=_(5619),R=_(2029),V=_(8814);let z=(()=>{class T{constructor(N){this.apiService=N,this.apiURL=N.apiURL,this.data$=new o.X(null),this.message$=new o.X(null)}get logObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(N,h,j,A){let B="";""!==j&&(B=""!=j.sortField?`sort=${j.sortField}&order=${1===j.sortOrder?"ASC":"DESC"}`:"");const U=""!==B&&""!==A?B+"&"+A:""!==B&&""===A?B:""===B&&""!==A?A:"";this.apiService.get(`logs/get/${N}/${h}${""!==U?"?"+U:""}`).subscribe({next:le=>{le&&le.rows?.length&&(le.rows=le.rows.filter(G=>"updatelasttagusage"!==G.action_type),le.rows=le.rows.filter(G=>"questions"!==G.table_name),le.rows=le.rows.filter(G=>"answers"!==G.table_name),le.rows=le.rows.filter(G=>{if("update"==G.action_type){let we=JSON.parse(G.original_data),ge=JSON.parse(G.new_data);if(null==we.rfid&&null!==ge.rfid)return!1}return!0}),le.rows.forEach(G=>{if(G.expandable=this.isRowExpandable(G),G.status||(G.response_data=G.original_data),"{}"==G.new_data?G.new_data=null:"{}"==G.original_data?G.original_data=null:"{}"==G.response_data&&(G.response_data=null),200==G.status){let we=JSON.parse(G.response_data),ge=we?.message;if(ge){let Ve=JSON.parse(G.original_data);G.response_data="Success delete"==ge?`${Ve.lastName} ${Ve.firstName} t\xf6r\xf6lve`:"Update success"==ge?`${Ve.fullname} m\xf3dos\xedtva`:"Guest updated successfully"==ge?`${Ve.lastName} ${Ve.firstName} m\xf3dos\xedtva`:ge}}if(201==G.status){let we=JSON.parse(G.new_data),ge="";if("conference"==G.table_name)ge=`${we?.name} konferencia l\xe9trehozva`;else if("guest"==G.table_name)if(null==G.new_data){let lt=JSON.parse(JSON.stringify(JSON.parse(G.response_data))).guest||{};G.original_data=JSON.stringify(lt),ge=`${lt.lastName||"N\xe9v hi\xe1nyzik"} ${lt.firstName||"N\xe9v hi\xe1nyzik"} vend\xe9g regisztr\xe1lva`}else ge=`${we?.lastName} ${we?.firstName} vend\xe9g l\xe9trehozva`;else"users"==G.table_name&&(ge=`${we?.fullname} felhaszn\xe1l\xf3 l\xe9trehozva`);G.response_data=ge}if(400==G.status){let we=JSON.parse(G.response_data),ge=we.error,Ve=we.message;Ve&&(G.response_data=Ve),ge&&(G.original_data=JSON.stringify(ge))}})),this.data$.next(le)},error:le=>{this.message$.next(le)}})}getBySearch(N,h){let j="";""!==h&&(j=""!=h.sortField?`?sort=${h.sortField}&order=${1===h.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`logs/search/${N}${j}`).subscribe({next:A=>{this.data$.next(A)},error:A=>{this.message$.next(A)}})}getBySearchQuery(N){this.apiService.get(`logs/searchquery?${N}`).subscribe({next:h=>{this.data$.next(h)},error:h=>{this.message$.next(h)}})}create(N){N.userid=Number(localStorage.getItem("userid"))||1,N.user_fullname=localStorage.getItem("fullname")||"SYSTEM",N.user_email=localStorage.getItem("email")||"info@nfcreserve.com",this.apiService.post("logs/create/",N).subscribe({next:h=>{this.message$.next({severity:"success",summary:"Sikeres log r\xf6gz\xedt\xe9s",detail:"Log r\xf6gz\xedtve"})},error:h=>{this.message$.next(h)}})}update(N){this.apiService.put(`logs/update/${N.id}`,N).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres log m\xf3dos\xedt\xe1s",detail:"Log m\xf3dos\xedtva"})},error:h=>{this.message$.next(h)}})}delete(N){this.apiService.delete(`logs/delete/${N.id}`).subscribe({next:h=>{this.message$.next({severity:"success",summary:"Sikeres log t\xf6rl\xe9s",detail:"Log t\xf6r\xf6lve"})},error:h=>{this.message$.next(h)}})}bulkdelete(N){let h={ids:N.map(j=>j.id)};this.apiService.post("logs/bulkdelete",h).subscribe({next:j=>{this.message$.next({severity:"success",summary:"Sikeres log t\xf6rl\xe9s",detail:`${N.length} log t\xf6r\xf6lve`})},error:j=>{this.message$.next(j)}})}isRowExpandable(N){return!!N.action_type&&!["scanned code","assign tag","unassign","same code","tag duplicate","already received food","unknown device","import","login success","login failed","logout"].includes(N.action_type?.toLowerCase())}static#e=this.\u0275fac=function(h){return new(h||T)(R.LFG(V.s))};static#t=this.\u0275prov=R.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},6193:(ze,me,_)=>{_.d(me,{N:()=>N});var o=_(5619),R=_(2096),V=_(7398),z=_(2029),T=_(8814),H=_(1206);let N=(()=>{class h{constructor(A,B){this.apiService=A,this.userService=B,this.cache=[],this.apiURL=A.apiURL,this.data$=new o.X(null),this.message$=new o.X(null)}get roleObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(A,B,U,ce){let le="";""!==U&&(le=""!=U.sortField?`sort=${U.sortField}&order=${1===U.sortOrder?"ASC":"DESC"}`:"");const G=""!==le&&""!==ce?le+"&"+ce:""!==le&&""===ce?le:""===le&&""!==ce?ce:"";this.apiService.get(`userrole/get/${A}/${B}${""!==G?"?"+G:""}`).subscribe({next:ge=>{this.data$.next(ge)},error:ge=>{this.message$.next(ge)}})}getBySearch(A,B){let U="";""!==B&&(U=""!=B.sortField?`?sort=${B.sortField}&order=${1===B.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`userrole/search/${A}${U}`).subscribe({next:ce=>{this.data$.next(ce)},error:ce=>{this.message$.next(ce)}})}getBySearchQuery(A){this.apiService.get(`userrole/searchquery?${A}`).subscribe({next:B=>{this.data$.next(B)},error:B=>{this.message$.next(B)}})}create(A){this.apiService.post("userrole/create/",A).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r r\xf6gz\xedt\xe9s",detail:`${A.name} r\xf6gz\xedtve`})},error:B=>{this.message$.next(B)}})}update(A){this.apiService.put(`userrole/update/${A.id}`,A).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r m\xf3dos\xedt\xe1s",detail:`${A.name} m\xf3dos\xedtva`})},error:B=>{this.message$.next(B)}})}delete(A){this.apiService.delete(`userrole/delete/${A.id}`).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r t\xf6rl\xe9s",detail:`${A.name} t\xf6r\xf6lve`})},error:B=>{this.message$.next(B)}})}bulkdelete(A){let B={ids:A.map(U=>U.id)};this.apiService.post("userrole/bulkdelete",B).subscribe({next:U=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r t\xf6rl\xe9s",detail:`${A.length} szerepk\xf6r t\xf6r\xf6lve`})},error:U=>{this.message$.next(U)}})}getRolesForSelector(){return this.cache.length>0?(0,R.of)(this.cache):(this.get(0,999,{sortField:"id",sortOrder:1},""),this.data$.asObservable().pipe((0,V.U)(A=>{A&&!this.userService.hasRole(["Super Admin"])&&(A.rows=A.rows.filter(U=>"Super Admin"!==U.name));const B=A?A.rows:[];return this.cache=B,B})))}getRoleName(A){const B=this.cache.find(U=>Number(U.id)===Number(A));return B&&B.name?B.name:""}getRoleStyleClass(A){let B=A,U="";return isNaN(Number(A))||(B=this.getRoleName(A)),U=B.trim()?.toLowerCase().replace(/\s+/g,""),`user-role-badge role-${U}`}fetchRoles(){return this.cache.length>0?(0,R.of)(this.cache):(this.get(0,999,{sortField:"id",sortOrder:1},""),this.data$.pipe((0,V.U)(A=>A&&A.rows?(this.userService.hasRole(["Super Admin"])||(A.rows=A.rows.filter(B=>"Super Admin"!==B.name)),this.cache=A.rows,A.rows):[])))}static#e=this.\u0275fac=function(B){return new(B||h)(z.LFG(T.s),z.LFG(H.K))};static#t=this.\u0275prov=z.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},1206:(ze,me,_)=>{_.d(me,{K:()=>N});var o=_(5619),R=_(2096),V=_(7398),z=_(6306),T=_(2029),H=_(8814);let N=(()=>{class h{constructor(A){this.apiService=A,this.userCache={};const B=localStorage.getItem("userrole")||"No Role";this.apiURL=A.apiURL,this.data$=new o.X(null),this.message$=new o.X(null),this.userRole$=new o.X(B)}get userObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(A,B,U,ce){let le="";""!==U&&(le=""!=U.sortField?`sort=${U.sortField}&order=${1===U.sortOrder?"ASC":"DESC"}`:"");const G=""!==le&&""!==ce?le+"&"+ce:""!==le&&""===ce?le:""===le&&""!==ce?ce:"";this.apiService.get(`users/get/${A}/${B}${""!==G?"?"+G:""}`).subscribe({next:ge=>{ge&&ge.rows&&(this.hasRole(["Super Admin"])||(ge.rows=ge.rows.filter(Ve=>1!==Ve.user_rolesid))),this.data$.next(ge)},error:ge=>{this.message$.next(ge)}})}getBySearch(A,B){let U="";""!==B&&(U=""!=B.sortField?`?sort=${B.sortField}&order=${1===B.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`users/search/${A}${U}`).subscribe({next:ce=>{this.data$.next(ce)},error:ce=>{this.message$.next(ce)}})}getBySearchQuery(A){this.apiService.get(`users/searchquery?${A}`).subscribe({next:B=>{this.data$.next(B)},error:B=>{this.message$.next(B)}})}create(A){this.apiService.post("users/create/",A).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 r\xf6gz\xedt\xe9s",detail:`${A.fullname} r\xf6gz\xedtve`})},error:B=>{this.message$.next(B)}})}update(A){this.apiService.put(`users/update/${A.id}`,A).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 m\xf3dos\xedt\xe1s",detail:`${A.fullname} m\xf3dos\xedtva`})},error:B=>{this.message$.next(B)}})}delete(A){this.apiService.delete(`users/delete/${A.id}`).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 t\xf6rl\xe9s",detail:`${A.fullname} t\xf6r\xf6lve`})},error:B=>{this.message$.next(B)}})}bulkdelete(A){let B={ids:A.map(U=>U.id)};this.apiService.post("users/bulkdelete",B).subscribe({next:U=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 t\xf6rl\xe9s",detail:`${A.length} felhaszn\xe1l\xf3 t\xf6r\xf6lve`})},error:U=>{this.message$.next(U)}})}getOwnData(){this.apiService.get("users/getowndata").subscribe({next:A=>{this.data$.next(A)},error:A=>{this.message$.next(A)}})}getUserRole(){return this.userRole$.asObservable()}updateUserRole(A){localStorage.setItem("userrole",A),this.userRole$.next(A)}getLoggedInUserId(){return Number(localStorage.getItem("userid"))}hasRole(A=[]){return this.getUserRole().pipe((0,V.U)(B=>0===A.length||A.includes(B)))}getUsersForSelector(A){return this.get(0,999,{sortField:"fullname",sortOrder:1},A?`user_rolesid=${A}`:""),this.data$.asObservable().pipe((0,V.U)(U=>U?U.rows:[]))}getUserById(A){return this.userCache[A]?(0,R.of)(this.userCache[A]):this.apiService.get(`users/getbyid/${A}`).pipe((0,V.U)(B=>{const U=B.users||null;return U&&(this.userCache[A]=U),U}),(0,z.K)(B=>(console.error(`Hiba a szervez\u0151 adatainak lek\xe9rdez\xe9sekor: ${B}`),(0,R.of)(null))))}static#e=this.\u0275fac=function(B){return new(B||h)(T.LFG(H.s))};static#t=this.\u0275prov=T.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},704:(ze,me,_)=>{_.d(me,{h:()=>V});var o=_(8645),R=_(2029);let V=(()=>{class z{constructor(){this.menuSource=new o.x,this.resetSource=new o.x,this.menuSource$=this.menuSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onMenuStateChange(H){this.menuSource.next(H)}reset(){this.resetSource.next(!0)}static#e=this.\u0275fac=function(N){return new(N||z)};static#t=this.\u0275prov=R.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},1567:(ze,me,_)=>{_.d(me,{h:()=>h});var o=_(6814),R=_(6223),V=_(9246),z=_(1865),T=_(707),H=_(5609),N=_(2029);let h=(()=>{class j{static#e=this.\u0275fac=function(U){return new(U||j)};static#t=this.\u0275mod=N.oAB({type:j});static#n=this.\u0275inj=N.cJS({imports:[o.ez,R.u5,V.l,z.cc,T.hJ,H.Iu]})}return j})()},3859:(ze,me,_)=>{_.d(me,{P:()=>V});var o=_(8645),R=_(2029);let V=(()=>{class z{constructor(){this.config={ripple:!1,inputStyle:"outlined",menuMode:"static",colorScheme:"light",theme:"indigo",scale:14,menuTheme:"colorScheme"},this.state={staticMenuDesktopInactive:!1,overlayMenuActive:!1,profileSidebarVisible:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,sidebarActive:!1,anchored:!1},this.configUpdate=new o.x,this.overlayOpen=new o.x,this.configUpdate$=this.configUpdate.asObservable(),this.overlayOpen$=this.overlayOpen.asObservable()}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.configUpdate.next(this.config)}static#e=this.\u0275fac=function(N){return new(N||z)};static#t=this.\u0275prov=R.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},7550:(ze,me,_)=>{var o=_(6593),R=_(6814),V=_(9862),z=_(9515),T=_(5061),H=_(1640),N=_(2181),h=_(2029),j=_(3859),A=_(1206);function B(C,u){if(1&C&&(h.TgZ(0,"li")(1,"a",6),h._UZ(2,"i"),h.TgZ(3,"span"),h._uU(4),h.qZA()()()),2&C){const l=h.oxw().$implicit;h.xp6(1),h.Q6J("routerLink",l.routerLink),h.xp6(1),h.Tol(l.icon),h.xp6(2),h.Oqu(l.label)}}function U(C,u){if(1&C&&(h.ynx(0),h.YNc(1,B,5,4,"li",5),h.ALo(2,"async"),h.BQk()),2&C){const l=u.$implicit;h.xp6(1),h.Q6J("ngIf",h.lcZ(2,1,l.show$))}}function ce(C,u){if(1&C&&(h.TgZ(0,"li",4),h.YNc(1,U,3,3,"ng-container",1),h.qZA()),2&C){const l=h.oxw().$implicit;h.Q6J("item",l)("root",!0),h.xp6(1),h.Q6J("ngForOf",l.items)}}function le(C,u){1&C&&h._UZ(0,"li",7)}function G(C,u){if(1&C&&(h.ynx(0),h.YNc(1,ce,2,3,"li",2),h.YNc(2,le,1,0,"li",3),h.BQk()),2&C){const l=u.$implicit;h.xp6(1),h.Q6J("ngIf",!l.separator),h.xp6(1),h.Q6J("ngIf",l.separator)}}let we=(()=>{class C{constructor(l){this.userService=l,this.model=[],this.userRoles=[]}ngOnInit(){this.userService.getUserRole().subscribe(l=>{this.userRoles=l,this.model=[{label:"",items:[{label:"Vez\xe9rl\u0151pult",icon:"pi pi-fw pi-home",routerLink:["/"]}]},{label:"Hotel",items:this.getFilteredItems([{label:"Konferencia",icon:"pi pi-fw pi-calendar",routerLink:["/conference"],requiredRoles:[]},{label:"Vend\xe9g",icon:"pi pi-fw pi-user",routerLink:["/guest"],requiredRoles:[]},{label:"Szoba",icon:"pi pi-fw pi-building",routerLink:["/room"],requiredRoles:["Super Admin","Nagy Admin"]},{label:"NFC c\xedmke",icon:"pi pi-fw pi-tags",routerLink:["/nfc-tag"],requiredRoles:["Super Admin","Nagy Admin"]}])},{label:"\xc9tterem",items:[{label:"\xc9trend",icon:"pi pi-fw pi-pencil",routerLink:["/diet"],requiredRoles:["Super Admin","Nagy Admin"]},{label:"Konyhanapt\xe1r",icon:"pi pi-fw pi-calendar",routerLink:["/kitchen-calendar"]}]},{label:"Rendszer",items:[{label:"Felhaszn\xe1l\xf3",icon:"pi pi-fw pi-users",routerLink:["/user"],requiredRoles:["Super Admin","Nagy Admin"]},{label:"Napl\xf3",icon:"pi pi-fw pi-list",routerLink:["/logs"],requiredRoles:["Super Admin","Nagy Admin"]}]}],(0,h.X6Q)()&&this.model.push({label:"",items:[{label:"\xc9telpult",icon:"pi pi-fw pi-tablet",routerLink:["/food-counter"]}]},{label:"P\xe9nz\xfcgyek",icon:"pi pi-fw pi-money",items:[{label:"\xc1rak",icon:"pi pi-fw pi-dollar",routerLink:["/auth/login"]},{label:"Elsz\xe1mol\xf3lap",icon:"pi pi-fw pi-money-bill",routerLink:["/auth/error"]},{label:"Foglal\xf3k",icon:"pi pi-fw pi-dollar",routerLink:["/auth/access"]},{label:"V\xe9gsz\xe1ml\xe1k",icon:"pi pi-fw pi-money-bill",routerLink:["/auth/access"]}]},{label:"Statisztik\xe1k",icon:"pi pi-fw pi-money",items:[{label:"Szob\xe1k kihaszn\xe1lts\xe1ga",icon:"pi pi-fw pi-chart-bar",routerLink:["/auth/login"]},{label:"\xc9trendek szerint",icon:"pi pi-fw pi-chart-bar",routerLink:["/auth/error"]},{label:"Koroszt\xe1ly szerint",icon:"pi pi-fw pi-chart-bar",routerLink:["/auth/access"]}]},{label:"Authentik\xe1ci\xf3",icon:"pi pi-fw pi-user",items:[{label:"Bejelentkez\xe9s",icon:"pi pi-fw pi-sign-in",routerLink:["/auth/login"]},{label:"Hiba",icon:"pi pi-fw pi-times-circle",routerLink:["/auth/error"]},{label:"Jogosults\xe1g megtagadva",icon:"pi pi-fw pi-lock",routerLink:["/auth/access"]}]},{label:"Komponensek",items:[{label:"Komponensek",icon:"pi pi-info",items:[{label:"Dashboards",icon:"pi pi-home",items:[{label:"E-Commerce",icon:"pi pi-fw pi-home",routerLink:["/"]},{label:"Banking",icon:"pi pi-fw pi-image",routerLink:["/dashboard-banking"]}]},{label:"Pages",icon:"pi pi-fw pi-briefcase",items:[{label:"Landing",icon:"pi pi-fw pi-globe",routerLink:["/landing"]},{label:"Auth",icon:"pi pi-fw pi-user",items:[{label:"Login",icon:"pi pi-fw pi-sign-in",routerLink:["/auth/login"]},{label:"Error",icon:"pi pi-fw pi-times-circle",routerLink:["/auth/error"]},{label:"Access Denied",icon:"pi pi-fw pi-lock",routerLink:["/auth/access"]},{label:"Register",icon:"pi pi-fw pi-user-plus",routerLink:["/auth/register"]},{label:"Forgot Password",icon:"pi pi-fw pi-question",routerLink:["/auth/forgotpassword"]},{label:"New Password",icon:"pi pi-fw pi-cog",routerLink:["/auth/newpassword"]},{label:"Verification",icon:"pi pi-fw pi-envelope",routerLink:["/auth/verification"]},{label:"Lock Screen",icon:"pi pi-fw pi-eye-slash",routerLink:["/auth/lockscreen"]}]},{label:"Crud",icon:"pi pi-fw pi-pencil",routerLink:["/pages/crud"]},{label:"Invoice",icon:"pi pi-fw pi-dollar",routerLink:["/pages/invoice"]},{label:"Help",icon:"pi pi-fw pi-question-circle",routerLink:["/pages/help"]},{label:"Not Found",icon:"pi pi-fw pi-exclamation-circle",routerLink:["/pages/notfound"]},{label:"Empty",icon:"pi pi-fw pi-circle-off",routerLink:["/pages/empty"]},{label:"FAQ",icon:"pi pi-fw pi-question",routerLink:["/pages/faq"]}]},{label:"User Management",icon:"pi pi-fw pi-user",items:[{label:"List",icon:"pi pi-fw pi-list",routerLink:["profile/list"]},{label:"Create",icon:"pi pi-fw pi-plus",routerLink:["profile/create"]}]},{label:"Hierarchy",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1.1",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1.1.1",icon:"pi pi-fw pi-align-left"},{label:"Submenu 1.1.2",icon:"pi pi-fw pi-align-left"},{label:"Submenu 1.1.3",icon:"pi pi-fw pi-align-left"}]},{label:"Submenu 1.2",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1.2.1",icon:"pi pi-fw pi-align-left"}]}]},{label:"Submenu 2",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 2.1",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 2.1.1",icon:"pi pi-fw pi-align-left"},{label:"Submenu 2.1.2",icon:"pi pi-fw pi-align-left"}]},{label:"Submenu 2.2",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 2.2.1",icon:"pi pi-fw pi-align-left"}]}]}]},{label:"Start",icon:"pi pi-fw pi-download",items:[{label:"Documentation",icon:"pi pi-fw pi-info-circle",routerLink:["/documentation"]}]}]}]})})}getFilteredItems(l){return l.filter(v=>0===v.requiredRoles.length||v.requiredRoles.some(w=>this.userRoles.includes(w)))}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(A.K))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-menu"]],decls:2,vars:1,consts:[[1,"layout-menu"],[4,"ngFor","ngForOf"],["app-menuitem","",3,"item","root",4,"ngIf"],["class","menu-separator",4,"ngIf"],["app-menuitem","",3,"item","root"],[4,"ngIf"],[3,"routerLink"],[1,"menu-separator"]],template:function(v,w){1&v&&(h.TgZ(0,"ul",0),h.YNc(1,G,3,2,"ng-container",1),h.qZA()),2&v&&(h.xp6(1),h.Q6J("ngForOf",w.model))},encapsulation:2})}return C})();const ge=["menuContainer"],Ve=function(){return["/"]};let lt=(()=>{class C{constructor(l,v){this.layoutService=l,this.el=v,this.timeout=null,this.version="v"+localStorage.getItem("APP_VERSION")}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(v){return new(v||C)(h.Y36(j.P),h.Y36(h.SBq))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-sidebar"]],viewQuery:function(v,w){if(1&v&&h.Gf(ge,5),2&v){let F;h.iGM(F=h.CRH())&&(w.menuContainer=F.first)}},decls:12,vars:3,consts:[[1,"layout-sidebar",3,"mouseenter","mouseleave"],[1,"sidebar-header","pb-0"],[1,"app-logo",3,"routerLink"],["xmlns","http://www.w3.org/2000/svg","width","140","height","22","viewBox","0 0 140 22",1,"app-logo-normal"],["x","5","y","18","font-family","Poppins","font-size","22","fill","#6366f1"],["type","button",1,"layout-sidebar-anchor","p-link","z-2","mb-2",3,"click"],[1,"text-center","text-sm","text-indigo-500"],[1,"layout-menu-container"],["menuContainer",""]],template:function(v,w){1&v&&(h.TgZ(0,"div",0),h.NdJ("mouseenter",function(){return w.onMouseEnter()})("mouseleave",function(){return w.onMouseLeave()}),h.TgZ(1,"div",1)(2,"a",2),h.O4$(),h.TgZ(3,"svg",3)(4,"text",4),h._uU(5,"NFC Reserve"),h.qZA()()(),h.kcU(),h.TgZ(6,"button",5),h.NdJ("click",function(){return w.anchor()}),h.qZA()(),h.TgZ(7,"div",6),h._uU(8),h.qZA(),h.TgZ(9,"div",7,8),h._UZ(11,"app-menu"),h.qZA()()),2&v&&(h.xp6(2),h.Q6J("routerLink",h.DdM(2,Ve)),h.xp6(6),h.hij(" ",w.version," "))},dependencies:[H.rH,we],encapsulation:2})}return C})();var Ge=_(3714),se=_(707),de=_(5619);function He(C,u){1&C&&(h.TgZ(0,"li",3),h._uU(1," / "),h.qZA())}function fe(C,u){if(1&C&&(h.TgZ(0,"li"),h._uU(1),h.qZA(),h.YNc(2,He,2,0,"li",2)),2&C){const l=u.$implicit,v=u.last;h.xp6(1),h.Oqu(l.label),h.xp6(1),h.Q6J("ngIf",!v)}}let ee=(()=>{class C{constructor(l){this.router=l,this._breadcrumbs$=new de.X([]),this.breadcrumbs$=this._breadcrumbs$.asObservable(),this.router.events.pipe((0,N.h)(v=>v instanceof H.m2)).subscribe(v=>{const F=[];this.addBreadcrumb(this.router.routerState.snapshot.root,[],F),this._breadcrumbs$.next(F)})}addBreadcrumb(l,v,w){const F=v.concat(l.url.map(_e=>_e.path)),X=l.data.breadcrumb;X&&X!==(l.parent&&l.parent.data?l.parent.data.breadcrumb:null)&&w.push({label:l.data.breadcrumb,url:"/"+F.join("/")}),l.firstChild&&this.addBreadcrumb(l.firstChild,F,w)}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(H.F0))};static#t=this.\u0275cmp=h.Xpm({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(v,w){1&v&&(h.TgZ(0,"nav",0)(1,"ol"),h.YNc(2,fe,3,2,"ng-template",1),h.ALo(3,"async"),h.qZA()()),2&v&&(h.xp6(2),h.Q6J("ngForOf",h.lcZ(3,1,w.breadcrumbs$)))},dependencies:[R.sg,R.O5,R.Ov],encapsulation:2})}return C})();const J=["menubutton"];let We=(()=>{class C{constructor(l){this.layoutService=l}onMenuButtonClick(){this.layoutService.onMenuToggle()}onProfileButtonClick(){this.layoutService.showProfileSidebar()}onConfigButtonClick(){this.layoutService.showConfigSidebar()}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(j.P))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-topbar"]],viewQuery:function(v,w){if(1&v&&h.Gf(J,5),2&v){let F;h.iGM(F=h.CRH())&&(w.menuButton=F.first)}},decls:17,vars:0,consts:[[1,"layout-topbar"],[1,"topbar-start"],["type","button",1,"topbar-menubutton","p-link","p-trigger",3,"click"],["menubutton",""],[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"],["id","main-search","type","text","pInputText","","placeholder","Keres\xe9s",1,"w-12rem","sm:w-full"],[1,"ml-3"],["pButton","","type","button","icon","pi pi-cog",1,"p-button-text","p-button-secondary","p-button-rounded","flex-shrink-0",3,"click"],[1,"topbar-profile"],["type","button",1,"p-link",3,"click"],["src","assets/layout/images/avatar.png","alt","Profile"]],template:function(v,w){1&v&&(h.TgZ(0,"div",0)(1,"div",1)(2,"button",2,3),h.NdJ("click",function(){return w.onMenuButtonClick()}),h._UZ(4,"i",4),h.qZA(),h._UZ(5,"app-breadcrumb",5),h.qZA(),h.TgZ(6,"div",6)(7,"ul",7)(8,"li",8)(9,"span",9),h._UZ(10,"i",10)(11,"input",11),h.qZA()(),h.TgZ(12,"li",12)(13,"button",13),h.NdJ("click",function(){return w.onConfigButtonClick()}),h.qZA()(),h.TgZ(14,"li",14)(15,"button",15),h.NdJ("click",function(){return w.onProfileButtonClick()}),h._UZ(16,"img",16),h.qZA()()()()())},dependencies:[Ge.o,se.Hq,ee],encapsulation:2})}return C})();var q=_(704),Le=_(6193),be=_(3763),ot=_(9246),ft=_(5219);function ke(C,u){if(1&C&&(h.TgZ(0,"span",1),h._uU(1),h.qZA()),2&C){const l=h.oxw();h.Tol(l.styleClass),h.Q6J("ngClass",l.containerClass())("ngStyle",l.style),h.xp6(1),h.Oqu(l.value)}}let re=(()=>{class C{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(v){return new(v||C)};static \u0275cmp=h.Xpm({type:C,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(v,w){1&v&&h.YNc(0,ke,2,5,"span",0),2&v&&h.Q6J("ngIf",!w.badgeDisabled)},dependencies:[R.mk,R.O5,R.PC],styles:[".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 C})(),K=(()=>{class C{static \u0275fac=function(v){return new(v||C)};static \u0275mod=h.oAB({type:C});static \u0275inj=h.cJS({imports:[R.ez,ft.m8]})}return C})(),oe=(()=>{class C{constructor(l,v,w,F){this.router=l,this.layoutService=v,this.roleService=w,this.logService=F,this.fullname=localStorage.getItem("fullname")||"",this.userrole=localStorage.getItem("userrole")||""}get visible(){return this.layoutService.state.profileSidebarVisible}set visible(l){this.layoutService.state.profileSidebarVisible=l}logout(){this.logService.create({action_type:"logout",table_name:"users",original_data:`${localStorage.getItem("email")} logged out`}),localStorage.removeItem("email"),localStorage.removeItem("fullname"),localStorage.removeItem("phone"),localStorage.removeItem("token"),localStorage.removeItem("user_rolesid"),localStorage.removeItem("userid"),localStorage.removeItem("userrole"),this.router.navigate(["/auth/login"])}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(H.F0),h.Y36(j.P),h.Y36(Le.N),h.Y36(be.$))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-profilemenu"]],decls:114,vars:6,consts:[["position","right","styleClass","layout-profile-sidebar w-full sm:w-25rem",3,"visible","transitionOptions","blockScroll","visibleChange"],[1,"flex","flex-column","mx-auto","md:mx-0"],[1,"mb-2","font-semibold"],[1,"text-color-secondary","font-medium","mb-5"],[3,"ngClass"],[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",3,"click"],[1,"pi","pi-user","text-xl","text-primary"],[1,"ml-3"],[1,"text-color-secondary","m-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-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/layout/images/avatar.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","3",1,"ml-auto"],["value","1",1,"ml-auto"],["value","2",1,"ml-auto"]],template:function(v,w){1&v&&(h.TgZ(0,"p-sidebar",0),h.NdJ("visibleChange",function(X){return w.visible=X}),h.TgZ(1,"div",1)(2,"span",2),h._uU(3,"\xdcdv\xf6z\xf6lj\xfck"),h.qZA(),h.TgZ(4,"span",3),h._uU(5),h.TgZ(6,"span",4),h._uU(7),h.qZA()(),h.TgZ(8,"ul",5)(9,"li")(10,"a",6),h.NdJ("click",function(){return w.router.navigate(["/profile"])}),h.TgZ(11,"span"),h._UZ(12,"i",7),h.qZA(),h.TgZ(13,"div",8)(14,"span",2),h._uU(15,"Profil"),h.qZA(),h.TgZ(16,"p",9),h._uU(17,"Saj\xe1t adatok karbantart\xe1sa"),h.qZA()()()(),h.TgZ(18,"li")(19,"a",10)(20,"span"),h._UZ(21,"i",7),h.qZA(),h.TgZ(22,"div",8)(23,"span",2),h._uU(24,"Sz\xe1ml\xe1z\xe1s"),h.qZA(),h.TgZ(25,"p",9),h._uU(26,"P\xe9nz\xfcgyek kezel\xe9se"),h.qZA()()()(),h.TgZ(27,"li")(28,"a",10)(29,"span"),h._UZ(30,"i",11),h.qZA(),h.TgZ(31,"div",8)(32,"span",2),h._uU(33,"Be\xe1ll\xedt\xe1sok"),h.qZA(),h.TgZ(34,"p",9),h._uU(35,"Rendszer be\xe1ll\xedt\xe1sai"),h.qZA()()()(),h.TgZ(36,"li")(37,"a",6),h.NdJ("click",function(){return w.logout()}),h.TgZ(38,"span"),h._UZ(39,"i",12),h.qZA(),h.TgZ(40,"div",8)(41,"span",2),h._uU(42,"Kijelentkez\xe9s"),h.qZA(),h.TgZ(43,"p",9),h._uU(44,"Munkamenet bez\xe1r\xe1sa"),h.qZA()()()()()(),h.TgZ(45,"div",13)(46,"span",2),h._uU(47,"\xc9rtes\xedt\xe9sek"),h.qZA(),h.TgZ(48,"span",3),h._uU(49,"\xd6nnek 3 \xfaj \xe9rte\xedt\xe9se van"),h.qZA(),h.TgZ(50,"ul",5)(51,"li")(52,"a",10)(53,"span"),h._UZ(54,"i",14),h.qZA(),h.TgZ(55,"div",8)(56,"span",2),h._uU(57,"\xdczenet \xe9rkezett"),h.qZA(),h.TgZ(58,"p",9),h._uU(59,"5 perccel ezel\u0151tt"),h.qZA()()()(),h.TgZ(60,"li")(61,"a",10)(62,"span"),h._UZ(63,"i",15),h.qZA(),h.TgZ(64,"div",8)(65,"span",2),h._uU(66,"Egy foglal\xe1st t\xf6r\xf6ltek"),h.qZA(),h.TgZ(67,"p",9),h._uU(68,"15 perccel ezel\u0151tt"),h.qZA()()()(),h.TgZ(69,"li")(70,"a",10)(71,"span"),h._UZ(72,"i",16),h.qZA(),h.TgZ(73,"div",8)(74,"span",2),h._uU(75,"Konferenci\xe1t friss\xedtettek"),h.qZA(),h.TgZ(76,"p",9),h._uU(77,"3 \xf3r\xe1ja"),h.qZA()()()()()(),h.TgZ(78,"div",13)(79,"span",2),h._uU(80,"\xdczenetek"),h.qZA(),h.TgZ(81,"span",3),h._uU(82,"\xdaj \xfczenetek \xe9rkeztek"),h.qZA(),h.TgZ(83,"ul",5)(84,"li")(85,"a",10)(86,"span"),h._UZ(87,"img",17),h.qZA(),h.TgZ(88,"div",8)(89,"span",2),h._uU(90,"G\xe1bris Bal\xe1zs"),h.qZA(),h.TgZ(91,"p",9),h._uU(92,"10 perccel ezel\u0151tt"),h.qZA()(),h._UZ(93,"p-badge",18),h.qZA()(),h.TgZ(94,"li")(95,"a",10)(96,"span"),h._UZ(97,"img",17),h.qZA(),h.TgZ(98,"div",8)(99,"span",2),h._uU(100,"Schmalcz Andr\xe1s"),h.qZA(),h.TgZ(101,"p",9),h._uU(102,"15 perccel ezel\u0151tt"),h.qZA()(),h._UZ(103,"p-badge",19),h.qZA()(),h.TgZ(104,"li")(105,"a",10)(106,"span"),h._UZ(107,"img",17),h.qZA(),h.TgZ(108,"div",8)(109,"span",2),h._uU(110,"Luk\xe1cs M\xe1th\xe9"),h.qZA(),h.TgZ(111,"p",9),h._uU(112,"3 \xf3r\xe1ja"),h.qZA()(),h._UZ(113,"p-badge",20),h.qZA()()()()()),2&v&&(h.Q6J("visible",w.visible)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("blockScroll",!0),h.xp6(5),h.hij(" ",w.fullname," "),h.xp6(1),h.Q6J("ngClass",w.roleService.getRoleStyleClass(w.userrole)),h.xp6(1),h.hij(" ",w.userrole," "))},dependencies:[R.mk,ot.Y,re],encapsulation:2})}return C})(),pe=(()=>{class C{constructor(l,v,w,F){this.menuService=l,this.layoutService=v,this.renderer=w,this.router=F,this.overlayMenuOpenSubscription=this.layoutService.overlayOpen$.subscribe(()=>{this.menuOutsideClickListener||(this.menuOutsideClickListener=this.renderer.listen("document","click",X=>{!(this.appSidebar.el.nativeElement.isSameNode(X.target)||this.appSidebar.el.nativeElement.contains(X.target)||this.appTopbar.menuButton.nativeElement.isSameNode(X.target)||this.appTopbar.menuButton.nativeElement.contains(X.target))&&this.hideMenu()})),(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&!this.menuScrollListener&&(this.menuScrollListener=this.renderer.listen(this.appSidebar.menuContainer.nativeElement,"scroll",X=>{this.layoutService.isDesktop()&&this.hideMenu()})),this.layoutService.state.staticMenuMobileActive&&this.blockBodyScroll()}),this.router.events.pipe((0,N.h)(X=>X instanceof H.m2)).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(v){return new(v||C)(h.Y36(q.h),h.Y36(j.P),h.Y36(h.Qsj),h.Y36(H.F0))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-layout"]],viewQuery:function(v,w){if(1&v&&(h.Gf(lt,5),h.Gf(We,5)),2&v){let F;h.iGM(F=h.CRH())&&(w.appSidebar=F.first),h.iGM(F=h.CRH())&&(w.appTopbar=F.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(v,w){1&v&&(h.TgZ(0,"div",0),h._UZ(1,"app-sidebar"),h.TgZ(2,"div",1),h._UZ(3,"app-topbar")(4,"app-breadcrumb",2),h.TgZ(5,"div",3),h._UZ(6,"router-outlet"),h.qZA()(),h._UZ(7,"app-profilemenu")(8,"div",4),h.qZA()),2&v&&h.Q6J("ngClass",w.containerClass)},dependencies:[R.mk,H.lC,ee,lt,We,oe],encapsulation:2})}return C})();var ve=_(2096),xe=_(7398),Re=_(6306);const Je=(C,u)=>{const l=(0,h.f3M)(H.F0),v=(0,h.f3M)(A.K);if(!localStorage.getItem("token"))return l.navigate(["/auth/login"]),(0,ve.of)(!1);const F=C.data.requiredRoles||[];return 0===F.length?(0,ve.of)(!0):v.hasRole(F).pipe((0,xe.U)(X=>!!X||(l.navigate(["/auth/access"]),!1)),(0,Re.K)(()=>(l.navigate(["/auth/login"]),(0,ve.of)(!1))))},Ot={anchorScrolling:"enabled",useHash:!0},gn=[{path:"",component:pe,children:[{path:"",loadChildren:()=>_.e(3037).then(_.bind(_,3037)).then(C=>C.DashboardsModule),canActivate:[Je]},{path:"nfc-tag",data:{breadcrumb:"NFC c\xedmke",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7794),_.e(8250),_.e(315),_.e(8592),_.e(3401)]).then(_.bind(_,3401)).then(C=>C.NFCTagModule),canActivate:[Je]},{path:"user",data:{breadcrumb:"Felhaszn\xe1l\xf3",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7853),_.e(7794),_.e(8592),_.e(392)]).then(_.bind(_,392)).then(C=>C.UserModule),canActivate:[Je]},{path:"pages",data:{breadcrumb:"Pages"},loadChildren:()=>_.e(6426).then(_.bind(_,6426)).then(C=>C.PagesModule),canActivate:[Je]},{path:"conference",data:{breadcrumb:"Konferencia"},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7794),_.e(8250),_.e(8359),_.e(2448),_.e(8592),_.e(5780)]).then(_.bind(_,5780)).then(C=>C.ConferenceModule),canActivate:[Je]},{path:"profile",data:{breadcrumb:"Profil"},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(4104),_.e(2610),_.e(7853),_.e(8592),_.e(3221)]).then(_.bind(_,3221)).then(C=>C.ProfileModule),canActivate:[Je]},{path:"documentation",data:{breadcrumb:"Documentation"},loadChildren:()=>_.e(6942).then(_.bind(_,6942)).then(C=>C.DocumentationModule),canActivate:[Je]},{path:"logs",data:{breadcrumb:"Napl\xf3",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(8592),_.e(6904)]).then(_.bind(_,6904)).then(C=>C.LogsModule),canActivate:[Je]},{path:"guest",data:{breadcrumb:"Vend\xe9g"},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7794),_.e(8250),_.e(8359),_.e(4908),_.e(8592),_.e(3487)]).then(_.bind(_,3487)).then(C=>C.GuestModule),canActivate:[Je]},{path:"room",data:{breadcrumb:"Szoba",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2448),_.e(8592),_.e(7883)]).then(_.bind(_,3227)).then(C=>C.RoomModule),canActivate:[Je]},{path:"diet",data:{breadcrumb:"\xc9trend",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(315),_.e(6115)]).then(_.bind(_,6115)).then(C=>C.DietModule),canActivate:[Je]}]},{path:"auth",data:{breadcrumb:"Auth"},loadChildren:()=>Promise.all([_.e(6676),_.e(2043)]).then(_.bind(_,2043)).then(C=>C.AuthModule)},{path:"conference-form/:formUrl",loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(4908),_.e(8592),_.e(7799)]).then(_.bind(_,7799)).then(C=>C.ConferenceFormModule)},{path:"food-counter",loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(6676),_.e(4104),_.e(4133),_.e(2610),_.e(8592),_.e(750)]).then(_.bind(_,750)).then(C=>C.FoodCounterModule)},{path:"kitchen-calendar",loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(3223)]).then(_.bind(_,3223)).then(C=>C.KitchenCalendarModule)},{path:"landing",loadChildren:()=>Promise.all([_.e(1111),_.e(8592),_.e(3798)]).then(_.bind(_,3798)).then(C=>C.LandingModule)},{path:"notfound",loadChildren:()=>_.e(2827).then(_.bind(_,2827)).then(C=>C.NotfoundModule)},{path:"**",redirectTo:"/notfound"}];let ut=(()=>{class C{static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C});static#n=this.\u0275inj=h.cJS({imports:[H.Bz.forRoot(gn,Ot),H.Bz]})}return C})();var Jt=_(7582),kt=_(4279);let Ue=class tf{constructor(u,l){this.primengConfig=u,this.translateService=l,l.setDefaultLang("hu"),l.use("hu")}ngOnInit(){const u=_(4147).i8;u&&localStorage.setItem("APP_VERSION",u),this.primengConfig.ripple=!0,this.translateService.setDefaultLang("hu"),this.primengConfig.setTranslation({startsWith:"Kezd\u0151dik",contains:"Tartalmazza",notContains:"Nem tartalmazza",endsWith:"V\xe9gz\u0151dik",equals:"Egyenl\u0151",notEquals:"Nem egyenl\u0151",noFilter:"Nincs sz\u0171r\u0151",lt:"Kevesebb, mint",lte:"Kevesebb vagy egyenl\u0151",gt:"Nagyobb, mint",gte:"Nagyobb vagy egyenl\u0151",is:"Az",isNot:"Nem az",before:"El\u0151tt",after:"Ut\xe1n",dateIs:"A d\xe1tum",dateIsNot:"A d\xe1tum nem",dateBefore:"A d\xe1tum el\u0151tti",dateAfter:"A d\xe1tum ut\xe1ni",clear:"T\xf6rl\xe9s",apply:"Alkalmaz",matchAll:"Mindet illeszt",matchAny:"B\xe1rmelyiket illeszt",addRule:"Szab\xe1ly hozz\xe1ad\xe1sa",removeRule:"Szab\xe1ly elt\xe1vol\xedt\xe1sa",accept:"Igen",reject:"Nem",choose:"V\xe1laszt",upload:"Felt\xf6lt",cancel:"M\xe9gse",dayNames:["Vas\xe1rnap","H\xe9tf\u0151","Kedd","Szerda","Cs\xfct\xf6rt\xf6k","P\xe9ntek","Szombat"],dayNamesShort:["Vas","H\xe9t","Ked","Sze","Cs\xfc","P\xe9n","Szo"],dayNamesMin:["Va","H\xe9","Ke","Sz","Cs","P\xe9","Sz"],monthNames:["Janu\xe1r","Febru\xe1r","M\xe1rcius","\xc1prilis","M\xe1jus","J\xfanius","J\xfalius","Augusztus","Szeptember","Okt\xf3ber","November","December"],monthNamesShort:["Jan","Feb","M\xe1r","\xc1pr","M\xe1j","J\xfan","J\xfal","Aug","Sze","Okt","Nov","Dec"],dateFormat:"yy.mm.dd",firstDayOfWeek:1,today:"Ma",weekHeader:"Wk",weak:"Gyenge",medium:"K\xf6zepes",strong:"Er\u0151s",passwordPrompt:"Adja meg a jelsz\xf3t",emptyMessage:"Nincs tal\xe1lat",emptyFilterMessage:"Nincs tal\xe1lat"})}translate(u){this.translateService.use(u),this.translateService.get("primeng").subscribe(l=>this.primengConfig.setTranslation(l))}ngOnDestroy(){}static#e=this.\u0275fac=function(l){return new(l||tf)(h.Y36(ft.b4),h.Y36(z.sK))};static#t=this.\u0275cmp=h.Xpm({type:tf,selectors:[["app-root"]],decls:1,vars:0,template:function(l,v){1&l&&h._UZ(0,"router-outlet")},dependencies:[H.lC],encapsulation:2})};Ue=(0,Jt.gn)([(0,kt.k)()],Ue);var sn=_(6223),ht=_(6825);function Ht(C){return new h.vHH(3e3,!1)}function Ke(C){switch(C.length){case 0:return new ht.ZN;case 1:return C[0];default:return new ht.ZE(C)}}function st(C,u,l=new Map,v=new Map){const w=[],F=[];let X=-1,ie=null;if(u.forEach(_e=>{const Te=_e.get("offset"),Xe=Te==X,Qe=Xe&&ie||new Map;_e.forEach(($t,Nt)=>{let pt=Nt,Be=$t;if("offset"!==Nt)switch(pt=C.normalizePropertyName(pt,w),Be){case ht.k1:Be=l.get(Nt);break;case ht.l3:Be=v.get(Nt);break;default:Be=C.normalizeStyleValue(Nt,pt,Be,w)}Qe.set(pt,Be)}),Xe||F.push(Qe),ie=Qe,X=Te}),w.length)throw function Fn(C){return new h.vHH(3502,!1)}();return F}function Ut(C,u,l,v){switch(u){case"start":C.onStart(()=>v(l&&wt(l,"start",C)));break;case"done":C.onDone(()=>v(l&&wt(l,"done",C)));break;case"destroy":C.onDestroy(()=>v(l&&wt(l,"destroy",C)))}}function wt(C,u,l){const F=on(C.element,C.triggerName,C.fromState,C.toState,u||C.phaseName,l.totalTime??C.totalTime,!!l.disabled),X=C._data;return null!=X&&(F._data=X),F}function on(C,u,l,v,w="",F=0,X){return{element:C,triggerName:u,fromState:l,toState:v,phaseName:w,totalTime:F,disabled:!!X}}function Bt(C,u,l){let v=C.get(u);return v||C.set(u,v=l),v}function _i(C){const u=C.indexOf(":");return[C.substring(1,u),C.slice(u+1)]}const he=(()=>typeof document>"u"?null:document.documentElement)();function te(C){const u=C.parentNode||C.host||null;return u===he?null:u}let Ae=null,$e=!1;function Ct(C,u){for(;u;){if(u===C)return!0;u=te(u)}return!1}function zt(C,u,l){if(l)return Array.from(C.querySelectorAll(u));const v=C.querySelector(u);return v?[v]:[]}let mn=(()=>{class C{validateStyleProperty(l){return function Ye(C){Ae||(Ae=function an(){return typeof document<"u"?document.body:null}()||{},$e=!!Ae.style&&"WebkitAppearance"in Ae.style);let u=!0;return Ae.style&&!function ne(C){return"ebkit"==C.substring(1,6)}(C)&&(u=C in Ae.style,!u&&$e&&(u="Webkit"+C.charAt(0).toUpperCase()+C.slice(1)in Ae.style)),u}(l)}matchesElement(l,v){return!1}containsElement(l,v){return Ct(l,v)}getParentElement(l){return te(l)}query(l,v,w){return zt(l,v,w)}computeStyle(l,v,w){return w||""}animate(l,v,w,F,X,ie=[],_e){return new ht.ZN(w,F)}static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})(),un=(()=>{class C{static#e=this.NOOP=new mn}return C})();const Mt=1e3,Kt="ng-enter",Qn="ng-leave",kn="ng-trigger",Xt=".ng-trigger",si="ng-animating",Ai=".ng-animating";function jn(C){if("number"==typeof C)return C;const u=C.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:zi(parseFloat(u[1]),u[2])}function zi(C,u){return"s"===u?C*Mt:C}function $n(C,u,l){return C.hasOwnProperty("duration")?C:function wr(C,u,l){let w,F=0,X="";if("string"==typeof C){const ie=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ie)return u.push(Ht()),{duration:0,delay:0,easing:""};w=zi(parseFloat(ie[1]),ie[2]);const _e=ie[3];null!=_e&&(F=zi(parseFloat(_e),ie[4]));const Te=ie[5];Te&&(X=Te)}else w=C;if(!l){let ie=!1,_e=u.length;w<0&&(u.push(function Mi(){return new h.vHH(3100,!1)}()),ie=!0),F<0&&(u.push(function yt(){return new h.vHH(3101,!1)}()),ie=!0),ie&&u.splice(_e,0,Ht())}return{duration:w,delay:F,easing:X}}(C,u,l)}function Ii(C,u={}){return Object.keys(C).forEach(l=>{u[l]=C[l]}),u}function hr(C){const u=new Map;return Object.keys(C).forEach(l=>{u.set(l,C[l])}),u}function Oi(C,u=new Map,l){if(l)for(let[v,w]of l)u.set(v,w);for(let[v,w]of C)u.set(v,w);return u}function wn(C,u,l){u.forEach((v,w)=>{const F=es(w);l&&!l.has(w)&&l.set(w,C.style[F]),C.style[F]=v})}function Dn(C,u){u.forEach((l,v)=>{const w=es(v);C.style[w]=""})}function zn(C){return Array.isArray(C)?1==C.length?C[0]:(0,ht.vP)(C):C}const Gi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Nn(C){let u=[];if("string"==typeof C){let l;for(;l=Gi.exec(C);)u.push(l[1]);Gi.lastIndex=0}return u}function qi(C,u,l){const v=C.toString(),w=v.replace(Gi,(F,X)=>{let ie=u[X];return null==ie&&(l.push(function Ui(C){return new h.vHH(3003,!1)}()),ie=""),ie.toString()});return w==v?C:w}function zr(C){const u=[];let l=C.next();for(;!l.done;)u.push(l.value),l=C.next();return u}const Xr=/-+([a-z0-9])/g;function es(C){return C.replace(Xr,(...u)=>u[1].toUpperCase())}function Bn(C,u,l){switch(u.type){case 7:return C.visitTrigger(u,l);case 0:return C.visitState(u,l);case 1:return C.visitTransition(u,l);case 2:return C.visitSequence(u,l);case 3:return C.visitGroup(u,l);case 4:return C.visitAnimate(u,l);case 5:return C.visitKeyframes(u,l);case 6:return C.visitStyle(u,l);case 8:return C.visitReference(u,l);case 9:return C.visitAnimateChild(u,l);case 10:return C.visitAnimateRef(u,l);case 11:return C.visitQuery(u,l);case 12:return C.visitStagger(u,l);default:throw function Un(C){return new h.vHH(3004,!1)}()}}function ys(C,u){return window.getComputedStyle(C)[u]}const Lt="*";function cn(C,u){const l=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(v=>function Vn(C,u,l){if(":"==C[0]){const _e=function Ei(C,u){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,v)=>parseFloat(v)>parseFloat(l);case":decrement":return(l,v)=>parseFloat(v)<parseFloat(l);default:return u.push(function ni(C){return new h.vHH(3016,!1)}()),"* => *"}}(C,l);if("function"==typeof _e)return void u.push(_e);C=_e}const v=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return l.push(function jr(C){return new h.vHH(3015,!1)}()),u;const w=v[1],F=v[2],X=v[3];u.push(Ri(w,X));"<"==F[0]&&!(w==Lt&&X==Lt)&&u.push(Ri(X,w))}(v,l,u)):l.push(C),l}const Cn=new Set(["true","1"]),oi=new Set(["false","0"]);function Ri(C,u){const l=Cn.has(C)||oi.has(C),v=Cn.has(u)||oi.has(u);return(w,F)=>{let X=C==Lt||C==w,ie=u==Lt||u==F;return!X&&l&&"boolean"==typeof w&&(X=w?Cn.has(C):oi.has(C)),!ie&&v&&"boolean"==typeof F&&(ie=F?Cn.has(u):oi.has(u)),X&&ie}}const Mr=new RegExp("s*:selfs*,?","g");function Tr(C,u,l,v){return new qe(C).build(u,l,v)}class qe{constructor(u){this._driver=u}build(u,l,v){const w=new pi(l);return this._resetContextStyleTimingState(w),Bn(this,zn(u),w)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,l){let v=l.queryCount=0,w=l.depCount=0;const F=[],X=[];return"@"==u.name.charAt(0)&&l.errors.push(function Ln(){return new h.vHH(3006,!1)}()),u.definitions.forEach(ie=>{if(this._resetContextStyleTimingState(l),0==ie.type){const _e=ie,Te=_e.name;Te.toString().split(/\s*,\s*/).forEach(Xe=>{_e.name=Xe,F.push(this.visitState(_e,l))}),_e.name=Te}else if(1==ie.type){const _e=this.visitTransition(ie,l);v+=_e.queryCount,w+=_e.depCount,X.push(_e)}else l.errors.push(function vt(){return new h.vHH(3007,!1)}())}),{type:7,name:u.name,states:F,transitions:X,queryCount:v,depCount:w,options:null}}visitState(u,l){const v=this.visitStyle(u.styles,l),w=u.options&&u.options.params||null;if(v.containsDynamicStyles){const F=new Set,X=w||{};v.styles.forEach(ie=>{ie instanceof Map&&ie.forEach(_e=>{Nn(_e).forEach(Te=>{X.hasOwnProperty(Te)||F.add(Te)})})}),F.size&&(zr(F.values()),l.errors.push(function Rt(C,u){return new h.vHH(3008,!1)}()))}return{type:0,name:u.name,style:v,options:w?{params:w}:null}}visitTransition(u,l){l.queryCount=0,l.depCount=0;const v=Bn(this,zn(u.animation),l);return{type:1,matchers:cn(u.expr,l.errors),animation:v,queryCount:l.queryCount,depCount:l.depCount,options:Jn(u.options)}}visitSequence(u,l){return{type:2,steps:u.steps.map(v=>Bn(this,v,l)),options:Jn(u.options)}}visitGroup(u,l){const v=l.currentTime;let w=0;const F=u.steps.map(X=>{l.currentTime=v;const ie=Bn(this,X,l);return w=Math.max(w,l.currentTime),ie});return l.currentTime=w,{type:3,steps:F,options:Jn(u.options)}}visitAnimate(u,l){const v=function Mn(C,u){if(C.hasOwnProperty("duration"))return C;if("number"==typeof C)return nn($n(C,u).duration,0,"");const l=C;if(l.split(/\s+/).some(F=>"{"==F.charAt(0)&&"{"==F.charAt(1))){const F=nn(0,0,"");return F.dynamic=!0,F.strValue=l,F}const w=$n(l,u);return nn(w.duration,w.delay,w.easing)}(u.timings,l.errors);l.currentAnimateTimings=v;let w,F=u.styles?u.styles:(0,ht.oB)({});if(5==F.type)w=this.visitKeyframes(F,l);else{let X=u.styles,ie=!1;if(!X){ie=!0;const Te={};v.easing&&(Te.easing=v.easing),X=(0,ht.oB)(Te)}l.currentTime+=v.duration+v.delay;const _e=this.visitStyle(X,l);_e.isEmptyStep=ie,w=_e}return l.currentAnimateTimings=null,{type:4,timings:v,style:w,options:null}}visitStyle(u,l){const v=this._makeStyleAst(u,l);return this._validateStyleAst(v,l),v}_makeStyleAst(u,l){const v=[],w=Array.isArray(u.styles)?u.styles:[u.styles];for(let ie of w)"string"==typeof ie?ie===ht.l3?v.push(ie):l.errors.push(new h.vHH(3002,!1)):v.push(hr(ie));let F=!1,X=null;return v.forEach(ie=>{if(ie instanceof Map&&(ie.has("easing")&&(X=ie.get("easing"),ie.delete("easing")),!F))for(let _e of ie.values())if(_e.toString().indexOf("{{")>=0){F=!0;break}}),{type:6,styles:v,easing:X,offset:u.offset,containsDynamicStyles:F,options:null}}_validateStyleAst(u,l){const v=l.currentAnimateTimings;let w=l.currentTime,F=l.currentTime;v&&F>0&&(F-=v.duration+v.delay),u.styles.forEach(X=>{"string"!=typeof X&&X.forEach((ie,_e)=>{const Te=l.collectedStyles.get(l.currentQuerySelector),Xe=Te.get(_e);let Qe=!0;Xe&&(F!=w&&F>=Xe.startTime&&w<=Xe.endTime&&(l.errors.push(function Et(C,u,l,v,w){return new h.vHH(3010,!1)}()),Qe=!1),F=Xe.startTime),Qe&&Te.set(_e,{startTime:F,endTime:w}),l.options&&function Ji(C,u,l){const v=u.params||{},w=Nn(C);w.length&&w.forEach(F=>{v.hasOwnProperty(F)||l.push(function ti(C){return new h.vHH(3001,!1)}())})}(ie,l.options,l.errors)})})}visitKeyframes(u,l){const v={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Ti(){return new h.vHH(3011,!1)}()),v;let F=0;const X=[];let ie=!1,_e=!1,Te=0;const Xe=u.steps.map(li=>{const ui=this._makeStyleAst(li,l);let xi=null!=ui.offset?ui.offset:function gr(C){if("string"==typeof C)return null;let u=null;if(Array.isArray(C))C.forEach(l=>{if(l instanceof Map&&l.has("offset")){const v=l;u=parseFloat(v.get("offset")),v.delete("offset")}});else if(C instanceof Map&&C.has("offset")){const l=C;u=parseFloat(l.get("offset")),l.delete("offset")}return u}(ui.styles),ei=0;return null!=xi&&(F++,ei=ui.offset=xi),_e=_e||ei<0||ei>1,ie=ie||ei<Te,Te=ei,X.push(ei),ui});_e&&l.errors.push(function An(){return new h.vHH(3012,!1)}()),ie&&l.errors.push(function Rn(){return new h.vHH(3200,!1)}());const Qe=u.steps.length;let $t=0;F>0&&F<Qe?l.errors.push(function qt(){return new h.vHH(3202,!1)}()):0==F&&($t=1/(Qe-1));const Nt=Qe-1,pt=l.currentTime,Be=l.currentAnimateTimings,_n=Be.duration;return Xe.forEach((li,ui)=>{const xi=$t>0?ui==Nt?1:$t*ui:X[ui],ei=xi*_n;l.currentTime=pt+Be.delay+ei,Be.duration=ei,this._validateStyleAst(li,l),li.offset=xi,v.styles.push(li)}),v}visitReference(u,l){return{type:8,animation:Bn(this,zn(u.animation),l),options:Jn(u.options)}}visitAnimateChild(u,l){return l.depCount++,{type:9,options:Jn(u.options)}}visitAnimateRef(u,l){return{type:10,animation:this.visitReference(u.animation,l),options:Jn(u.options)}}visitQuery(u,l){const v=l.currentQuerySelector,w=u.options||{};l.queryCount++,l.currentQuery=u;const[F,X]=function bt(C){const u=!!C.split(/\s*,\s*/).find(l=>":self"==l);return u&&(C=C.replace(Mr,"")),C=C.replace(/@\*/g,Xt).replace(/@\w+/g,l=>Xt+"-"+l.slice(1)).replace(/:animating/g,Ai),[C,u]}(u.selector);l.currentQuerySelector=v.length?v+" "+F:F,Bt(l.collectedStyles,l.currentQuerySelector,new Map);const ie=Bn(this,zn(u.animation),l);return l.currentQuery=null,l.currentQuerySelector=v,{type:11,selector:F,limit:w.limit||0,optional:!!w.optional,includeSelf:X,animation:ie,originalSelector:u.selector,options:Jn(u.options)}}visitStagger(u,l){l.currentQuery||l.errors.push(function ps(){return new h.vHH(3013,!1)}());const v="full"===u.timings?{duration:0,delay:0,easing:"full"}:$n(u.timings,l.errors,!0);return{type:12,animation:Bn(this,zn(u.animation),l),timings:v,options:null}}}class pi{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 Jn(C){return C?(C=Ii(C)).params&&(C.params=function Qt(C){return C?Ii(C):null}(C.params)):C={},C}function nn(C,u,l){return{duration:C,delay:u,easing:l}}function gi(C,u,l,v,w,F,X=null,ie=!1){return{type:1,element:C,keyframes:u,preStyleProps:l,postStyleProps:v,duration:w,delay:F,totalTime:w+F,easing:X,subTimeline:ie}}class qn{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,l){let v=this._map.get(u);v||this._map.set(u,v=[]),v.push(...l)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const vs=new RegExp(":enter","g"),bn=new RegExp(":leave","g");function tr(C,u,l,v,w,F=new Map,X=new Map,ie,_e,Te=[]){return(new Pi).buildKeyframes(C,u,l,v,w,F,X,ie,_e,Te)}class Pi{buildKeyframes(u,l,v,w,F,X,ie,_e,Te,Xe=[]){Te=Te||new qn;const Qe=new nr(u,l,Te,w,F,Xe,[]);Qe.options=_e;const $t=_e.delay?jn(_e.delay):0;Qe.currentTimeline.delayNextStep($t),Qe.currentTimeline.setStyles([X],null,Qe.errors,_e),Bn(this,v,Qe);const Nt=Qe.timelines.filter(pt=>pt.containsAnimation());if(Nt.length&&ie.size){let pt;for(let Be=Nt.length-1;Be>=0;Be--){const _n=Nt[Be];if(_n.element===l){pt=_n;break}}pt&&!pt.allowOnlyTimelineStyles()&&pt.setStyles([ie],null,Qe.errors,_e)}return Nt.length?Nt.map(pt=>pt.buildKeyframes()):[gi(l,[],[],[],0,$t,"",!1)]}visitTrigger(u,l){}visitState(u,l){}visitTransition(u,l){}visitAnimateChild(u,l){const v=l.subInstructions.get(l.element);if(v){const w=l.createSubContext(u.options),F=l.currentTimeline.currentTime,X=this._visitSubInstructions(v,w,w.options);F!=X&&l.transformIntoNewTimeline(X)}l.previousNode=u}visitAnimateRef(u,l){const v=l.createSubContext(u.options);v.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],l,v),this.visitReference(u.animation,v),l.transformIntoNewTimeline(v.currentTimeline.currentTime),l.previousNode=u}_applyAnimationRefDelays(u,l,v){for(const w of u){const F=w?.delay;if(F){const X="number"==typeof F?F:jn(qi(F,w?.params??{},l.errors));v.delayNextStep(X)}}}_visitSubInstructions(u,l,v){let F=l.currentTimeline.currentTime;const X=null!=v.duration?jn(v.duration):null,ie=null!=v.delay?jn(v.delay):null;return 0!==X&&u.forEach(_e=>{const Te=l.appendInstructionToTimeline(_e,X,ie);F=Math.max(F,Te.duration+Te.delay)}),F}visitReference(u,l){l.updateOptions(u.options,!0),Bn(this,u.animation,l),l.previousNode=u}visitSequence(u,l){const v=l.subContextCount;let w=l;const F=u.options;if(F&&(F.params||F.delay)&&(w=l.createSubContext(F),w.transformIntoNewTimeline(),null!=F.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=xn);const X=jn(F.delay);w.delayNextStep(X)}u.steps.length&&(u.steps.forEach(X=>Bn(this,X,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>v&&w.transformIntoNewTimeline()),l.previousNode=u}visitGroup(u,l){const v=[];let w=l.currentTimeline.currentTime;const F=u.options&&u.options.delay?jn(u.options.delay):0;u.steps.forEach(X=>{const ie=l.createSubContext(u.options);F&&ie.delayNextStep(F),Bn(this,X,ie),w=Math.max(w,ie.currentTimeline.currentTime),v.push(ie.currentTimeline)}),v.forEach(X=>l.currentTimeline.mergeTimelineCollectedStyles(X)),l.transformIntoNewTimeline(w),l.previousNode=u}_visitTiming(u,l){if(u.dynamic){const v=u.strValue;return $n(l.params?qi(v,l.params,l.errors):v,l.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,l){const v=l.currentAnimateTimings=this._visitTiming(u.timings,l),w=l.currentTimeline;v.delay&&(l.incrementTime(v.delay),w.snapshotCurrentStyles());const F=u.style;5==F.type?this.visitKeyframes(F,l):(l.incrementTime(v.duration),this.visitStyle(F,l),w.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=u}visitStyle(u,l){const v=l.currentTimeline,w=l.currentAnimateTimings;!w&&v.hasCurrentStyleProperties()&&v.forwardFrame();const F=w&&w.easing||u.easing;u.isEmptyStep?v.applyEmptyStep(F):v.setStyles(u.styles,F,l.errors,l.options),l.previousNode=u}visitKeyframes(u,l){const v=l.currentAnimateTimings,w=l.currentTimeline.duration,F=v.duration,ie=l.createSubContext().currentTimeline;ie.easing=v.easing,u.styles.forEach(_e=>{ie.forwardTime((_e.offset||0)*F),ie.setStyles(_e.styles,_e.easing,l.errors,l.options),ie.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(ie),l.transformIntoNewTimeline(w+F),l.previousNode=u}visitQuery(u,l){const v=l.currentTimeline.currentTime,w=u.options||{},F=w.delay?jn(w.delay):0;F&&(6===l.previousNode.type||0==v&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=xn);let X=v;const ie=l.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!w.optional,l.errors);l.currentQueryTotal=ie.length;let _e=null;ie.forEach((Te,Xe)=>{l.currentQueryIndex=Xe;const Qe=l.createSubContext(u.options,Te);F&&Qe.delayNextStep(F),Te===l.element&&(_e=Qe.currentTimeline),Bn(this,u.animation,Qe),Qe.currentTimeline.applyStylesToKeyframe(),X=Math.max(X,Qe.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(X),_e&&(l.currentTimeline.mergeTimelineCollectedStyles(_e),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=u}visitStagger(u,l){const v=l.parentContext,w=l.currentTimeline,F=u.timings,X=Math.abs(F.duration),ie=X*(l.currentQueryTotal-1);let _e=X*l.currentQueryIndex;switch(F.duration<0?"reverse":F.easing){case"reverse":_e=ie-_e;break;case"full":_e=v.currentStaggerTime}const Xe=l.currentTimeline;_e&&Xe.delayNextStep(_e);const Qe=Xe.currentTime;Bn(this,u.animation,l),l.previousNode=u,v.currentStaggerTime=w.currentTime-Qe+(w.startTime-v.currentTimeline.startTime)}}const xn={};class nr{constructor(u,l,v,w,F,X,ie,_e){this._driver=u,this.element=l,this.subInstructions=v,this._enterClassName=w,this._leaveClassName=F,this.errors=X,this.timelines=ie,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=xn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_e||new ir(this._driver,l,0),ie.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,l){if(!u)return;const v=u;let w=this.options;null!=v.duration&&(w.duration=jn(v.duration)),null!=v.delay&&(w.delay=jn(v.delay));const F=v.params;if(F){let X=w.params;X||(X=this.options.params={}),Object.keys(F).forEach(ie=>{(!l||!X.hasOwnProperty(ie))&&(X[ie]=qi(F[ie],X,this.errors))})}}_copyOptions(){const u={};if(this.options){const l=this.options.params;if(l){const v=u.params={};Object.keys(l).forEach(w=>{v[w]=l[w]})}}return u}createSubContext(u=null,l,v){const w=l||this.element,F=new nr(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,v||0));return F.previousNode=this.previousNode,F.currentAnimateTimings=this.currentAnimateTimings,F.options=this._copyOptions(),F.updateOptions(u),F.currentQueryIndex=this.currentQueryIndex,F.currentQueryTotal=this.currentQueryTotal,F.parentContext=this,this.subContextCount++,F}transformIntoNewTimeline(u){return this.previousNode=xn,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,l,v){const w={duration:l??u.duration,delay:this.currentTimeline.currentTime+(v??0)+u.delay,easing:""},F=new ki(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,w,u.stretchStartingKeyframe);return this.timelines.push(F),w}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,l,v,w,F,X){let ie=[];if(w&&ie.push(this.element),u.length>0){u=(u=u.replace(vs,"."+this._enterClassName)).replace(bn,"."+this._leaveClassName);let Te=this._driver.query(this.element,u,1!=v);0!==v&&(Te=v<0?Te.slice(Te.length+v,Te.length):Te.slice(0,v)),ie.push(...Te)}return!F&&0==ie.length&&X.push(function gt(C){return new h.vHH(3014,!1)}()),ie}}class ir{constructor(u,l,v,w){this._driver=u,this.element=l,this.startTime=v,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 ir(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,v]of this._globalTimelineStyles)this._backFill.set(l,v||ht.l3),this._currentKeyframe.set(l,ht.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,l,v,w){l&&this._previousKeyframe.set("easing",l);const F=w&&w.params||{},X=function Wi(C,u){const l=new Map;let v;return C.forEach(w=>{if("*"===w){v=v||u.keys();for(let F of v)l.set(F,ht.l3)}else Oi(w,l)}),l}(u,this._globalTimelineStyles);for(let[ie,_e]of X){const Te=qi(_e,F,v);this._pendingStyles.set(ie,Te),this._localTimelineStyles.has(ie)||this._backFill.set(ie,this._globalTimelineStyles.get(ie)??ht.l3),this._updateStyle(ie,Te)}}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,v)=>{const w=this._styleSummary.get(v);(!w||l.time>w.time)&&this._updateStyle(v,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,l=new Set,v=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((ie,_e)=>{const Te=Oi(ie,new Map,this._backFill);Te.forEach((Xe,Qe)=>{Xe===ht.k1?u.add(Qe):Xe===ht.l3&&l.add(Qe)}),v||Te.set("offset",_e/this.duration),w.push(Te)});const F=u.size?zr(u.values()):[],X=l.size?zr(l.values()):[];if(v){const ie=w[0],_e=new Map(ie);ie.set("offset",0),_e.set("offset",1),w=[ie,_e]}return gi(this.element,w,F,X,this.duration,this.startTime,this.easing,!1)}}class ki extends ir{constructor(u,l,v,w,F,X,ie=!1){super(u,l,X.delay),this.keyframes=v,this.preStyleProps=w,this.postStyleProps=F,this._stretchStartingKeyframe=ie,this.timings={duration:X.duration,delay:X.delay,easing:X.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:l,duration:v,easing:w}=this.timings;if(this._stretchStartingKeyframe&&l){const F=[],X=v+l,ie=l/X,_e=Oi(u[0]);_e.set("offset",0),F.push(_e);const Te=Oi(u[0]);Te.set("offset",mi(ie)),F.push(Te);const Xe=u.length-1;for(let Qe=1;Qe<=Xe;Qe++){let $t=Oi(u[Qe]);const Nt=$t.get("offset");$t.set("offset",mi((l+Nt*v)/X)),F.push($t)}v=X,l=0,w="",u=F}return gi(this.element,u,this.preStyleProps,this.postStyleProps,v,l,w,!0)}}function mi(C,u=3){const l=Math.pow(10,u-1);return Math.round(C*l)/l}class Ft{}const Vs=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 qs extends Ft{normalizePropertyName(u,l){return es(u)}normalizeStyleValue(u,l,v,w){let F="";const X=v.toString().trim();if(Vs.has(l)&&0!==v&&"0"!==v)if("number"==typeof v)F="px";else{const ie=v.match(/^[+-]?[\d\.]+([a-z]*)$/);ie&&0==ie[1].length&&w.push(function Zn(C,u){return new h.vHH(3005,!1)}())}return X+F}}function Ki(C,u,l,v,w,F,X,ie,_e,Te,Xe,Qe,$t){return{type:0,element:C,triggerName:u,isRemovalTransition:w,fromState:l,fromStyles:F,toState:v,toStyles:X,timelines:ie,queriedElements:_e,preStyleProps:Te,postStyleProps:Xe,totalTime:Qe,errors:$t}}const rr={};class Bi{constructor(u,l,v){this._triggerName=u,this.ast=l,this._stateStyles=v}match(u,l,v,w){return function ln(C,u,l,v,w){return C.some(F=>F(u,l,v,w))}(this.ast.matchers,u,l,v,w)}buildStyles(u,l,v){let w=this._stateStyles.get("*");return void 0!==u&&(w=this._stateStyles.get(u?.toString())||w),w?w.buildStyles(l,v):new Map}build(u,l,v,w,F,X,ie,_e,Te,Xe){const Qe=[],$t=this.ast.options&&this.ast.options.params||rr,pt=this.buildStyles(v,ie&&ie.params||rr,Qe),Be=_e&&_e.params||rr,_n=this.buildStyles(w,Be,Qe),li=new Set,ui=new Map,xi=new Map,ei="void"===w,Zr={params:Xs(Be,$t),delay:this.ast.options?.delay},ci=Xe?[]:tr(u,l,this.ast.animation,F,X,pt,_n,Zr,Te,Qe);let bi=0;if(ci.forEach(Yr=>{bi=Math.max(Yr.duration+Yr.delay,bi)}),Qe.length)return Ki(l,this._triggerName,v,w,ei,pt,_n,[],[],ui,xi,bi,Qe);ci.forEach(Yr=>{const _r=Yr.element,Po=Bt(ui,_r,new Set);Yr.preStyleProps.forEach(jt=>Po.add(jt));const Ne=Bt(xi,_r,new Set);Yr.postStyleProps.forEach(jt=>Ne.add(jt)),_r!==l&&li.add(_r)});const Br=zr(li.values());return Ki(l,this._triggerName,v,w,ei,pt,_n,ci,Br,ui,xi,bi)}}function Xs(C,u){const l=Ii(u);for(const v in C)C.hasOwnProperty(v)&&null!=C[v]&&(l[v]=C[v]);return l}class In{constructor(u,l,v){this.styles=u,this.defaultParams=l,this.normalizer=v}buildStyles(u,l){const v=new Map,w=Ii(this.defaultParams);return Object.keys(u).forEach(F=>{const X=u[F];null!==X&&(w[F]=X)}),this.styles.styles.forEach(F=>{"string"!=typeof F&&F.forEach((X,ie)=>{X&&(X=qi(X,w,l));const _e=this.normalizer.normalizePropertyName(ie,l);X=this.normalizer.normalizeStyleValue(ie,_e,X,l),v.set(ie,X)})}),v}}class _s{constructor(u,l,v){this.name=u,this.ast=l,this._normalizer=v,this.transitionFactories=[],this.states=new Map,l.states.forEach(w=>{this.states.set(w.name,new In(w.style,w.options&&w.options.params||{},v))}),Rr(this.states,"true","1"),Rr(this.states,"false","0"),l.transitions.forEach(w=>{this.transitionFactories.push(new Bi(u,w,this.states))}),this.fallbackTransition=function Or(C,u,l){return new Bi(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(X,ie)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,l,v,w){return this.transitionFactories.find(X=>X.match(u,l,v,w))||null}matchStyles(u,l,v){return this.fallbackTransition.buildStyles(u,l,v)}}function Rr(C,u,l){C.has(u)?C.has(l)||C.set(l,C.get(u)):C.has(l)&&C.set(u,C.get(l))}const Xn=new qn;class M{constructor(u,l,v){this.bodyNode=u,this._driver=l,this._normalizer=v,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,l){const v=[],F=Tr(this._driver,l,v,[]);if(v.length)throw function Yn(C){return new h.vHH(3503,!1)}();this._animations.set(u,F)}_buildPlayer(u,l,v){const w=u.element,F=st(this._normalizer,u.keyframes,l,v);return this._driver.animate(w,F,u.duration,u.delay,u.easing,[],!0)}create(u,l,v={}){const w=[],F=this._animations.get(u);let X;const ie=new Map;if(F?(X=tr(this._driver,l,F,Kt,Qn,new Map,new Map,v,Xn,w),X.forEach(Xe=>{const Qe=Bt(ie,Xe.element,new Map);Xe.postStyleProps.forEach($t=>Qe.set($t,null))})):(w.push(function ji(){return new h.vHH(3300,!1)}()),X=[]),w.length)throw function ii(C){return new h.vHH(3504,!1)}();ie.forEach((Xe,Qe)=>{Xe.forEach(($t,Nt)=>{Xe.set(Nt,this._driver.computeStyle(Qe,Nt,ht.l3))})});const Te=Ke(X.map(Xe=>{const Qe=ie.get(Xe.element);return this._buildPlayer(Xe,new Map,Qe)}));return this._playersById.set(u,Te),Te.onDestroy(()=>this.destroy(u)),this.players.push(Te),Te}destroy(u){const l=this._getPlayer(u);l.destroy(),this._playersById.delete(u);const v=this.players.indexOf(l);v>=0&&this.players.splice(v,1)}_getPlayer(u){const l=this._playersById.get(u);if(!l)throw function $i(C){return new h.vHH(3301,!1)}();return l}listen(u,l,v,w){const F=on(l,"","","");return Ut(this._getPlayer(u),v,F,w),()=>{}}command(u,l,v,w){if("register"==v)return void this.register(u,w[0]);if("create"==v)return void this.create(u,l,w[0]||{});const F=this._getPlayer(u);switch(v){case"play":F.play();break;case"pause":F.pause();break;case"reset":F.reset();break;case"restart":F.restart();break;case"finish":F.finish();break;case"init":F.init();break;case"setPosition":F.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(u)}}}const O="ng-animate-queued",k="ng-animate-disabled",Ci=[],is={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sr="__ng_removed";class ao{get params(){return this.options.params}constructor(u,l=""){this.namespaceId=l;const v=u&&u.hasOwnProperty("value");if(this.value=function Pr(C){return C??null}(v?u.value:u),v){const F=Ii(u);delete F.value,this.options=F}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const l=u.params;if(l){const v=this.options.params;Object.keys(l).forEach(w=>{null==v[w]&&(v[w]=l[w])})}}}const Es="void",lo=new ao(Es);class cl{constructor(u,l,v){this.id=u,this.hostElement=l,this._engine=v,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,On(l,this._hostClassName)}listen(u,l,v,w){if(!this._triggers.has(l))throw function $r(C,u){return new h.vHH(3302,!1)}();if(null==v||0==v.length)throw function fr(C){return new h.vHH(3303,!1)}();if(!function Cs(C){return"start"==C||"done"==C}(v))throw function Fi(C,u){return new h.vHH(3400,!1)}();const F=Bt(this._elementListeners,u,[]),X={name:l,phase:v,callback:w};F.push(X);const ie=Bt(this._engine.statesByElement,u,new Map);return ie.has(l)||(On(u,kn),On(u,kn+"-"+l),ie.set(l,lo)),()=>{this._engine.afterFlush(()=>{const _e=F.indexOf(X);_e>=0&&F.splice(_e,1),this._triggers.has(l)||ie.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 Me(C){return new h.vHH(3401,!1)}();return l}trigger(u,l,v,w=!0){const F=this._getTrigger(l),X=new Ds(this.id,l,u);let ie=this._engine.statesByElement.get(u);ie||(On(u,kn),On(u,kn+"-"+l),this._engine.statesByElement.set(u,ie=new Map));let _e=ie.get(l);const Te=new ao(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&_e&&Te.absorbOptions(_e.options),ie.set(l,Te),_e||(_e=lo),Te.value!==Es&&_e.value===Te.value){if(!function Vi(C,u){const l=Object.keys(C),v=Object.keys(u);if(l.length!=v.length)return!1;for(let w=0;w<l.length;w++){const F=l[w];if(!u.hasOwnProperty(F)||C[F]!==u[F])return!1}return!0}(_e.params,Te.params)){const Be=[],_n=F.matchStyles(_e.value,_e.params,Be),li=F.matchStyles(Te.value,Te.params,Be);Be.length?this._engine.reportError(Be):this._engine.afterFlush(()=>{Dn(u,_n),wn(u,li)})}return}const $t=Bt(this._engine.playersByElement,u,[]);$t.forEach(Be=>{Be.namespaceId==this.id&&Be.triggerName==l&&Be.queued&&Be.destroy()});let Nt=F.matchTransition(_e.value,Te.value,u,Te.params),pt=!1;if(!Nt){if(!w)return;Nt=F.fallbackTransition,pt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:l,transition:Nt,fromState:_e,toState:Te,player:X,isFallbackTransition:pt}),pt||(On(u,O),X.onStart(()=>{bs(u,O)})),X.onDone(()=>{let Be=this.players.indexOf(X);Be>=0&&this.players.splice(Be,1);const _n=this._engine.playersByElement.get(u);if(_n){let li=_n.indexOf(X);li>=0&&_n.splice(li,1)}}),this.players.push(X),$t.push(X),X}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(l=>l.delete(u)),this._elementListeners.forEach((l,v)=>{this._elementListeners.set(v,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(v=>v.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,l){const v=this._engine.driver.query(u,Xt,!0);v.forEach(w=>{if(w[sr])return;const F=this._engine.fetchNamespacesByElement(w);F.size?F.forEach(X=>X.triggerLeaveAnimation(w,l,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(u,l,v,w){const F=this._engine.statesByElement.get(u),X=new Map;if(F){const ie=[];if(F.forEach((_e,Te)=>{if(X.set(Te,_e.value),this._triggers.has(Te)){const Xe=this.trigger(u,Te,Es,w);Xe&&ie.push(Xe)}}),ie.length)return this._engine.markElementAsRemoved(this.id,u,!0,l,X),v&&Ke(ie).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const l=this._elementListeners.get(u),v=this._engine.statesByElement.get(u);if(l&&v){const w=new Set;l.forEach(F=>{const X=F.name;if(w.has(X))return;w.add(X);const _e=this._triggers.get(X).fallbackTransition,Te=v.get(X)||lo,Xe=new ao(Es),Qe=new Ds(this.id,X,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:X,transition:_e,fromState:Te,toState:Xe,player:Qe,isFallbackTransition:!0})})}}removeNode(u,l){const v=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,l),this.triggerLeaveAnimation(u,l,!0))return;let w=!1;if(v.totalAnimations){const F=v.players.length?v.playersByQueriedElement.get(u):[];if(F&&F.length)w=!0;else{let X=u;for(;X=X.parentNode;)if(v.statesByElement.get(X)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(u),w)v.markElementAsRemoved(this.id,u,!1,l);else{const F=u[sr];(!F||F===is)&&(v.afterFlush(()=>this.clearElementCache(u)),v.destroyInnerAnimations(u),v._onRemovalComplete(u,l))}}insertNode(u,l){On(u,this._hostClassName)}drainQueuedTransitions(u){const l=[];return this._queue.forEach(v=>{const w=v.player;if(w.destroyed)return;const F=v.element,X=this._elementListeners.get(F);X&&X.forEach(ie=>{if(ie.name==v.triggerName){const _e=on(F,v.triggerName,v.fromState.value,v.toState.value);_e._data=u,Ut(v.player,ie.phase,_e,ie.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):l.push(v)}),this._queue=[],l.sort((v,w)=>{const F=v.transition.ast.depCount,X=w.transition.ast.depCount;return 0==F||0==X?F-X:this._engine.driver.containsElement(v.element,w.element)?1:-1})}destroy(u){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class Ea{_onRemovalComplete(u,l){this.onRemovalComplete(u,l)}constructor(u,l,v){this.bodyNode=u,this.driver=l,this._normalizer=v,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=(w,F)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(l=>{l.players.forEach(v=>{v.queued&&u.push(v)})}),u}createNamespace(u,l){const v=new cl(u,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(v,l):(this.newHostElements.set(l,v),this.collectEnterElement(l)),this._namespaceLookup[u]=v}_balanceNamespaceList(u,l){const v=this._namespaceList,w=this.namespacesByHostElement;if(v.length-1>=0){let X=!1,ie=this.driver.getParentElement(l);for(;ie;){const _e=w.get(ie);if(_e){const Te=v.indexOf(_e);v.splice(Te+1,0,u),X=!0;break}ie=this.driver.getParentElement(ie)}X||v.unshift(u)}else v.push(u);return w.set(l,u),u}register(u,l){let v=this._namespaceLookup[u];return v||(v=this.createNamespace(u,l)),v}registerTrigger(u,l,v){let w=this._namespaceLookup[u];w&&w.register(l,v)&&this.totalAnimations++}destroy(u,l){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const v=this._fetchNamespace(u);this.namespacesByHostElement.delete(v.hostElement);const w=this._namespaceList.indexOf(v);w>=0&&this._namespaceList.splice(w,1),v.destroy(l),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const l=new Set,v=this.statesByElement.get(u);if(v)for(let w of v.values())if(w.namespaceId){const F=this._fetchNamespace(w.namespaceId);F&&l.add(F)}return l}trigger(u,l,v,w){if(Nr(l)){const F=this._fetchNamespace(u);if(F)return F.trigger(l,v,w),!0}return!1}insertNode(u,l,v,w){if(!Nr(l))return;const F=l[sr];if(F&&F.setForRemoval){F.setForRemoval=!1,F.setForMove=!0;const X=this.collectedLeaveElements.indexOf(l);X>=0&&this.collectedLeaveElements.splice(X,1)}if(u){const X=this._fetchNamespace(u);X&&X.insertNode(l,v)}w&&this.collectEnterElement(l)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,l){l?this.disabledNodes.has(u)||(this.disabledNodes.add(u),On(u,k)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),bs(u,k))}removeNode(u,l,v){if(Nr(l)){const w=u?this._fetchNamespace(u):null;w?w.removeNode(l,v):this.markElementAsRemoved(u,l,!1,v);const F=this.namespacesByHostElement.get(l);F&&F.id!==u&&F.removeNode(l,v)}else this._onRemovalComplete(l,v)}markElementAsRemoved(u,l,v,w,F){this.collectedLeaveElements.push(l),l[sr]={namespaceId:u,setForRemoval:w,hasAnimation:v,removedBeforeQueried:!1,previousTriggersValues:F}}listen(u,l,v,w,F){return Nr(l)?this._fetchNamespace(u).listen(l,v,w,F):()=>{}}_buildInstruction(u,l,v,w,F){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,v,w,u.fromState.options,u.toState.options,l,F)}destroyInnerAnimations(u){let l=this.driver.query(u,Xt,!0);l.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(u,Ai,!0),l.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(u){const l=this.playersByElement.get(u);l&&l.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(u){const l=this.playersByQueriedElement.get(u);l&&l.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Ke(this.players).onDone(()=>u());u()})}processLeaveNode(u){const l=u[sr];if(l&&l.setForRemoval){if(u[sr]=is,l.namespaceId){this.destroyInnerAnimations(u);const v=this._fetchNamespace(l.namespaceId);v&&v.clearElementCache(u)}this._onRemovalComplete(u,l.setForRemoval)}u.classList?.contains(k)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(v=>{this.markElementAsDisabled(v,!1)})}flush(u=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,w)=>this._balanceNamespaceList(v,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;v<this.collectedEnterElements.length;v++)On(this.collectedEnterElements[v],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const v=[];try{l=this._flushAnimations(v,u)}finally{for(let w=0;w<v.length;w++)v[w]()}}else for(let v=0;v<this.collectedLeaveElements.length;v++)this.processLeaveNode(this.collectedLeaveElements[v]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(v=>v()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],l.length?Ke(l).onDone(()=>{v.forEach(w=>w())}):v.forEach(w=>w())}}reportError(u){throw function Ee(C){return new h.vHH(3402,!1)}()}_flushAnimations(u,l){const v=new qn,w=[],F=new Map,X=[],ie=new Map,_e=new Map,Te=new Map,Xe=new Set;this.disabledNodes.forEach(et=>{Xe.add(et);const ct=this.driver.query(et,".ng-animate-queued",!0);for(let mt=0;mt<ct.length;mt++)Xe.add(ct[mt])});const Qe=this.bodyNode,$t=Array.from(this.statesByElement.keys()),Nt=or($t,this.collectedEnterElements),pt=new Map;let Be=0;Nt.forEach((et,ct)=>{const mt=Kt+Be++;pt.set(ct,mt),et.forEach(xt=>On(xt,mt))});const _n=[],li=new Set,ui=new Set;for(let et=0;et<this.collectedLeaveElements.length;et++){const ct=this.collectedLeaveElements[et],mt=ct[sr];mt&&mt.setForRemoval&&(_n.push(ct),li.add(ct),mt.hasAnimation?this.driver.query(ct,".ng-star-inserted",!0).forEach(xt=>li.add(xt)):ui.add(ct))}const xi=new Map,ei=or($t,Array.from(li));ei.forEach((et,ct)=>{const mt=Qn+Be++;xi.set(ct,mt),et.forEach(xt=>On(xt,mt))}),u.push(()=>{Nt.forEach((et,ct)=>{const mt=pt.get(ct);et.forEach(xt=>bs(xt,mt))}),ei.forEach((et,ct)=>{const mt=xi.get(ct);et.forEach(xt=>bs(xt,mt))}),_n.forEach(et=>{this.processLeaveNode(et)})});const Zr=[],ci=[];for(let et=this._namespaceList.length-1;et>=0;et--)this._namespaceList[et].drainQueuedTransitions(l).forEach(mt=>{const xt=mt.player,Hn=mt.element;if(Zr.push(xt),this.collectedEnterElements.length){const di=Hn[sr];if(di&&di.setForMove){if(di.previousTriggersValues&&di.previousTriggersValues.has(mt.triggerName)){const lr=di.previousTriggersValues.get(mt.triggerName),Kn=this.statesByElement.get(mt.element);if(Kn&&Kn.has(mt.triggerName)){const mo=Kn.get(mt.triggerName);mo.value=lr,Kn.set(mt.triggerName,mo)}}return void xt.destroy()}}const Zi=!Qe||!this.driver.containsElement(Qe,Hn),Hi=xi.get(Hn),ls=pt.get(Hn),Sn=this._buildInstruction(mt,v,ls,Hi,Zi);if(Sn.errors&&Sn.errors.length)return void ci.push(Sn);if(Zi)return xt.onStart(()=>Dn(Hn,Sn.fromStyles)),xt.onDestroy(()=>wn(Hn,Sn.toStyles)),void w.push(xt);if(mt.isFallbackTransition)return xt.onStart(()=>Dn(Hn,Sn.fromStyles)),xt.onDestroy(()=>wn(Hn,Sn.toStyles)),void w.push(xt);const vi=[];Sn.timelines.forEach(di=>{di.stretchStartingKeyframe=!0,this.disabledNodes.has(di.element)||vi.push(di)}),Sn.timelines=vi,v.append(Hn,Sn.timelines),X.push({instruction:Sn,player:xt,element:Hn}),Sn.queriedElements.forEach(di=>Bt(ie,di,[]).push(xt)),Sn.preStyleProps.forEach((di,lr)=>{if(di.size){let Kn=_e.get(lr);Kn||_e.set(lr,Kn=new Set),di.forEach((mo,yo)=>Kn.add(yo))}}),Sn.postStyleProps.forEach((di,lr)=>{let Kn=Te.get(lr);Kn||Te.set(lr,Kn=new Set),di.forEach((mo,yo)=>Kn.add(yo))})});if(ci.length){const et=[];ci.forEach(ct=>{et.push(function ae(C,u){return new h.vHH(3505,!1)}())}),Zr.forEach(ct=>ct.destroy()),this.reportError(et)}const bi=new Map,Br=new Map;X.forEach(et=>{const ct=et.element;v.has(ct)&&(Br.set(ct,ct),this._beforeAnimationBuild(et.player.namespaceId,et.instruction,bi))}),w.forEach(et=>{const ct=et.element;this._getPreviousPlayers(ct,!1,et.namespaceId,et.triggerName,null).forEach(xt=>{Bt(bi,ct,[]).push(xt),xt.destroy()})});const Yr=_n.filter(et=>rs(et,_e,Te)),_r=new Map;Io(_r,this.driver,ui,Te,ht.l3).forEach(et=>{rs(et,_e,Te)&&Yr.push(et)});const Ne=new Map;Nt.forEach((et,ct)=>{Io(Ne,this.driver,new Set(et),_e,ht.k1)}),Yr.forEach(et=>{const ct=_r.get(et),mt=Ne.get(et);_r.set(et,new Map([...ct?.entries()??[],...mt?.entries()??[]]))});const jt=[],No=[],go={};X.forEach(et=>{const{element:ct,player:mt,instruction:xt}=et;if(v.has(ct)){if(Xe.has(ct))return mt.onDestroy(()=>wn(ct,xt.toStyles)),mt.disabled=!0,mt.overrideTotalTime(xt.totalTime),void w.push(mt);let Hn=go;if(Br.size>1){let Hi=ct;const ls=[];for(;Hi=Hi.parentNode;){const Sn=Br.get(Hi);if(Sn){Hn=Sn;break}ls.push(Hi)}ls.forEach(Sn=>Br.set(Sn,Hn))}const Zi=this._buildAnimation(mt.namespaceId,xt,bi,F,Ne,_r);if(mt.setRealPlayer(Zi),Hn===go)jt.push(mt);else{const Hi=this.playersByElement.get(Hn);Hi&&Hi.length&&(mt.parentPlayer=Ke(Hi)),w.push(mt)}}else Dn(ct,xt.fromStyles),mt.onDestroy(()=>wn(ct,xt.toStyles)),No.push(mt),Xe.has(ct)&&w.push(mt)}),No.forEach(et=>{const ct=F.get(et.element);if(ct&&ct.length){const mt=Ke(ct);et.setRealPlayer(mt)}}),w.forEach(et=>{et.parentPlayer?et.syncPlayerEvents(et.parentPlayer):et.destroy()});for(let et=0;et<_n.length;et++){const ct=_n[et],mt=ct[sr];if(bs(ct,Qn),mt&&mt.hasAnimation)continue;let xt=[];if(ie.size){let Zi=ie.get(ct);Zi&&Zi.length&&xt.push(...Zi);let Hi=this.driver.query(ct,Ai,!0);for(let ls=0;ls<Hi.length;ls++){let Sn=ie.get(Hi[ls]);Sn&&Sn.length&&xt.push(...Sn)}}const Hn=xt.filter(Zi=>!Zi.destroyed);Hn.length?Da(this,ct,Hn):this.processLeaveNode(ct)}return _n.length=0,jt.forEach(et=>{this.players.push(et),et.onDone(()=>{et.destroy();const ct=this.players.indexOf(et);this.players.splice(ct,1)}),et.play()}),jt}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,l,v,w,F){let X=[];if(l){const ie=this.playersByQueriedElement.get(u);ie&&(X=ie)}else{const ie=this.playersByElement.get(u);if(ie){const _e=!F||F==Es;ie.forEach(Te=>{Te.queued||!_e&&Te.triggerName!=w||X.push(Te)})}}return(v||w)&&(X=X.filter(ie=>!(v&&v!=ie.namespaceId||w&&w!=ie.triggerName))),X}_beforeAnimationBuild(u,l,v){const F=l.element,X=l.isRemovalTransition?void 0:u,ie=l.isRemovalTransition?void 0:l.triggerName;for(const _e of l.timelines){const Te=_e.element,Xe=Te!==F,Qe=Bt(v,Te,[]);this._getPreviousPlayers(Te,Xe,X,ie,l.toState).forEach(Nt=>{const pt=Nt.getRealPlayer();pt.beforeDestroy&&pt.beforeDestroy(),Nt.destroy(),Qe.push(Nt)})}Dn(F,l.fromStyles)}_buildAnimation(u,l,v,w,F,X){const ie=l.triggerName,_e=l.element,Te=[],Xe=new Set,Qe=new Set,$t=l.timelines.map(pt=>{const Be=pt.element;Xe.add(Be);const _n=Be[sr];if(_n&&_n.removedBeforeQueried)return new ht.ZN(pt.duration,pt.delay);const li=Be!==_e,ui=function Gn(C){const u=[];return xr(C,u),u}((v.get(Be)||Ci).map(bi=>bi.getRealPlayer())).filter(bi=>!!bi.element&&bi.element===Be),xi=F.get(Be),ei=X.get(Be),Zr=st(this._normalizer,pt.keyframes,xi,ei),ci=this._buildPlayer(pt,Zr,ui);if(pt.subTimeline&&w&&Qe.add(Be),li){const bi=new Ds(u,ie,Be);bi.setRealPlayer(ci),Te.push(bi)}return ci});Te.forEach(pt=>{Bt(this.playersByQueriedElement,pt.element,[]).push(pt),pt.onDone(()=>function Us(C,u,l){let v=C.get(u);if(v){if(v.length){const w=v.indexOf(l);v.splice(w,1)}0==v.length&&C.delete(u)}return v}(this.playersByQueriedElement,pt.element,pt))}),Xe.forEach(pt=>On(pt,si));const Nt=Ke($t);return Nt.onDestroy(()=>{Xe.forEach(pt=>bs(pt,si)),wn(_e,l.toStyles)}),Qe.forEach(pt=>{Bt(w,pt,[]).push(Nt)}),Nt}_buildPlayer(u,l,v){return l.length>0?this.driver.animate(u.element,l,u.duration,u.delay,u.easing,v):new ht.ZN(u.duration,u.delay)}}class Ds{constructor(u,l,v){this.namespaceId=u,this.triggerName=l,this.element=v,this._player=new ht.ZN,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,v)=>{l.forEach(w=>Ut(u,v,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){Bt(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 Nr(C){return C&&1===C.nodeType}function Ao(C,u){const l=C.style.display;return C.style.display=u??"none",l}function Io(C,u,l,v,w){const F=[];l.forEach(_e=>F.push(Ao(_e)));const X=[];v.forEach((_e,Te)=>{const Xe=new Map;_e.forEach(Qe=>{const $t=u.computeStyle(Te,Qe,w);Xe.set(Qe,$t),(!$t||0==$t.length)&&(Te[sr]=Hs,X.push(Te))}),C.set(Te,Xe)});let ie=0;return l.forEach(_e=>Ao(_e,F[ie++])),X}function or(C,u){const l=new Map;if(C.forEach(ie=>l.set(ie,[])),0==u.length)return l;const w=new Set(u),F=new Map;function X(ie){if(!ie)return 1;let _e=F.get(ie);if(_e)return _e;const Te=ie.parentNode;return _e=l.has(Te)?Te:w.has(Te)?1:X(Te),F.set(ie,_e),_e}return u.forEach(ie=>{const _e=X(ie);1!==_e&&l.get(_e).push(ie)}),l}function On(C,u){C.classList?.add(u)}function bs(C,u){C.classList?.remove(u)}function Da(C,u,l){Ke(l).onDone(()=>C.processLeaveNode(u))}function xr(C,u){for(let l=0;l<C.length;l++){const v=C[l];v instanceof ht.ZE?xr(v.players,u):u.push(v)}}function rs(C,u,l){const v=l.get(C);if(!v)return!1;let w=u.get(C);return w?v.forEach(F=>w.add(F)):u.set(C,v),l.delete(C),!0}class ss{constructor(u,l,v){this.bodyNode=u,this._driver=l,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(w,F)=>{},this._transitionEngine=new Ea(u,l,v),this._timelineEngine=new M(u,l,v),this._transitionEngine.onRemovalComplete=(w,F)=>this.onRemovalComplete(w,F)}registerTrigger(u,l,v,w,F){const X=u+"-"+w;let ie=this._triggerCache[X];if(!ie){const _e=[],Xe=Tr(this._driver,F,_e,[]);if(_e.length)throw function pn(C,u){return new h.vHH(3404,!1)}();ie=function ai(C,u,l){return new _s(C,u,l)}(w,Xe,this._normalizer),this._triggerCache[X]=ie}this._transitionEngine.registerTrigger(l,w,ie)}register(u,l){this._transitionEngine.register(u,l)}destroy(u,l){this._transitionEngine.destroy(u,l)}onInsert(u,l,v,w){this._transitionEngine.insertNode(u,l,v,w)}onRemove(u,l,v){this._transitionEngine.removeNode(u,l,v)}disableAnimations(u,l){this._transitionEngine.markElementAsDisabled(u,l)}process(u,l,v,w){if("@"==v.charAt(0)){const[F,X]=_i(v);this._timelineEngine.command(F,l,X,w)}else this._transitionEngine.trigger(u,l,v,w)}listen(u,l,v,w,F){if("@"==v.charAt(0)){const[X,ie]=_i(v);return this._timelineEngine.listen(X,l,ie,F)}return this._transitionEngine.listen(u,l,v,w,F)}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)}}let eo=(()=>{class C{static#e=this.initialStylesByElement=new WeakMap;constructor(l,v,w){this._element=l,this._startStyles=v,this._endStyles=w,this._state=0;let F=C.initialStylesByElement.get(l);F||C.initialStylesByElement.set(l,F=new Map),this._initialStyles=F}start(){this._state<1&&(this._startStyles&&wn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wn(this._element,this._initialStyles),this._endStyles&&(wn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(C.initialStylesByElement.delete(this._element),this._startStyles&&(Dn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Dn(this._element,this._endStyles),this._endStyles=null),wn(this._element,this._initialStyles),this._state=3)}}return C})();function Ss(C){let u=null;return C.forEach((l,v)=>{(function uo(C){return"display"===C||"position"===C})(v)&&(u=u||new Map,u.set(v,l))}),u}class js{constructor(u,l,v,w){this.element=u,this.keyframes=l,this.options=v,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=v.duration,this._delay=v.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(v=>{l.push(Object.fromEntries(v))}),l}_triggerWebAnimation(u,l,v){return u.animate(this._convertKeyframesToObject(l),v)}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((v,w)=>{"offset"!==w&&u.set(w,this._finished?v:ys(this.element,w))}),this.currentSnapshot=u}triggerCallback(u){const l="start"===u?this._onStartFns:this._onDoneFns;l.forEach(v=>v()),l.length=0}}class os{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,l){return!1}containsElement(u,l){return Ct(u,l)}getParentElement(u){return te(u)}query(u,l,v){return zt(u,l,v)}computeStyle(u,l,v){return window.getComputedStyle(u)[l]}animate(u,l,v,w,F,X=[]){const _e={duration:v,delay:w,fill:0==w?"both":"forwards"};F&&(_e.easing=F);const Te=new Map,Xe=X.filter(Nt=>Nt instanceof js);(function gs(C,u){return 0===C||0===u})(v,w)&&Xe.forEach(Nt=>{Nt.currentSnapshot.forEach((pt,Be)=>Te.set(Be,pt))});let Qe=function Fs(C){return C.length?C[0]instanceof Map?C:C.map(u=>hr(u)):[]}(l).map(Nt=>Oi(Nt));Qe=function ms(C,u,l){if(l.size&&u.length){let v=u[0],w=[];if(l.forEach((F,X)=>{v.has(X)||w.push(X),v.set(X,F)}),w.length)for(let F=1;F<u.length;F++){let X=u[F];w.forEach(ie=>X.set(ie,ys(C,ie)))}}return u}(u,Qe,Te);const $t=function Wr(C,u){let l=null,v=null;return Array.isArray(u)&&u.length?(l=Ss(u[0]),u.length>1&&(v=Ss(u[u.length-1]))):u instanceof Map&&(l=Ss(u)),l||v?new eo(C,l,v):null}(u,Qe);return new js(u,Qe,_e,$t)}}let co=(()=>{class C extends ht._j{constructor(l,v){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(v.body,{id:"0",encapsulation:h.ifc.None,styles:[],data:{animation:[]}})}build(l){const v=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(l)?(0,ht.vP)(l):l;return Ms(this._renderer,null,v,"register",[w]),new ws(v,this._renderer)}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(h.FYo),h.LFG(R.K0))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();class ws extends ht.LC{constructor(u,l){super(),this._id=u,this._renderer=l}create(u,l){return new $s(this._id,u,l||{},this._renderer)}}class $s{constructor(u,l,v,w){this.id=u,this.element=l,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(u,l){return this._renderer.listen(this.element,`@@${this.id}:${u}`,l)}_command(u,...l){return Ms(this._renderer,this.element,this.id,u,l)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ms(C,u,l,v,w){return C.setProperty(u,`@@${l}:${v}`,w)}const Kr="@.disabled";let fo=(()=>{class C{constructor(l,v,w){this.delegate=l,this.engine=v,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,v.onRemovalComplete=(F,X)=>{const ie=X?.parentNode(F);ie&&X.removeChild(ie,F)}}createRenderer(l,v){const F=this.delegate.createRenderer(l,v);if(!(l&&v&&v.data&&v.data.animation)){let Xe=this._rendererCache.get(F);return Xe||(Xe=new zs("",F,this.engine,()=>this._rendererCache.delete(F)),this._rendererCache.set(F,Xe)),Xe}const X=v.id,ie=v.id+"-"+this._currentId;this._currentId++,this.engine.register(ie,l);const _e=Xe=>{Array.isArray(Xe)?Xe.forEach(_e):this.engine.registerTrigger(X,ie,l,Xe.name,Xe)};return v.data.animation.forEach(_e),new Ca(this,ie,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,v,w){l>=0&&l<this._microtaskId?this._zone.run(()=>v(w)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(F=>{const[X,ie]=F;X(ie)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,w]))}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()}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(h.FYo),h.LFG(ss),h.LFG(h.R0b))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();class zs{constructor(u,l,v,w){this.namespaceId=u,this.delegate=l,this.engine=v,this._onDestroy=w}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,v,w=!0){this.delegate.insertBefore(u,l,v),this.engine.onInsert(this.namespaceId,l,u,w)}removeChild(u,l,v){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,v,w){this.delegate.setAttribute(u,l,v,w)}removeAttribute(u,l,v){this.delegate.removeAttribute(u,l,v)}addClass(u,l){this.delegate.addClass(u,l)}removeClass(u,l){this.delegate.removeClass(u,l)}setStyle(u,l,v,w){this.delegate.setStyle(u,l,v,w)}removeStyle(u,l,v){this.delegate.removeStyle(u,l,v)}setProperty(u,l,v){"@"==l.charAt(0)&&l==Kr?this.disableAnimations(u,!!v):this.delegate.setProperty(u,l,v)}setValue(u,l){this.delegate.setValue(u,l)}listen(u,l,v){return this.delegate.listen(u,l,v)}disableAnimations(u,l){this.engine.disableAnimations(u,l)}}class Ca extends zs{constructor(u,l,v,w,F){super(l,v,w,F),this.factory=u,this.namespaceId=l}setProperty(u,l,v){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Kr?this.disableAnimations(u,v=void 0===v||!!v):this.engine.process(this.namespaceId,u,l.slice(1),v):this.delegate.setProperty(u,l,v)}listen(u,l,v){if("@"==l.charAt(0)){const w=function ba(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(u);let F=l.slice(1),X="";return"@"!=F.charAt(0)&&([F,X]=function Oo(C){const u=C.indexOf(".");return[C.substring(0,u),C.slice(u+1)]}(F)),this.engine.listen(this.namespaceId,w,F,X,ie=>{this.factory.scheduleListenerCallback(ie._data||-1,v,ie)})}return this.delegate.listen(u,l,v)}}const Ts=[{provide:ht._j,useClass:co},{provide:Ft,useFactory:function Sa(){return new qs}},{provide:ss,useClass:(()=>{class C extends ss{constructor(l,v,w,F){super(l.body,v,w)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(R.K0),h.LFG(un),h.LFG(Ft),h.LFG(h.z2F))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})()},{provide:h.FYo,useFactory:function as(C,u,l){return new fo(C,u,l)},deps:[o.se,ss,h.R0b]}],p=[{provide:un,useFactory:()=>new os},{provide:h.QbO,useValue:"BrowserAnimations"},...Ts],P=[{provide:un,useClass:mn},{provide:h.QbO,useValue:"NoopAnimations"},...Ts];let D=(()=>{class C{static withConfig(l){return{ngModule:C,providers:l.disableAnimations?P:p}}static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C});static#n=this.\u0275inj=h.cJS({providers:p,imports:[o.b2]})}return C})();var Pe=_(1865),rt=_(5609),rn=_(3259),en=_(4480),Zt=_(1567),At=_(2076);const yn=["submenu"],dn=["app-menuitem",""];function Wn(C,u){if(1&C&&(h.TgZ(0,"div",4),h._uU(1),h.qZA()),2&C){const l=h.oxw();h.xp6(1),h.Oqu(l.item.label)}}function ar(C,u){1&C&&h._UZ(0,"i",9)}function yi(C,u){if(1&C){const l=h.EpF();h.TgZ(0,"a",5),h.NdJ("click",function(w){h.CHM(l);const F=h.oxw();return h.KtG(F.itemClick(w))})("mouseenter",function(){h.CHM(l);const w=h.oxw();return h.KtG(w.onMouseEnter())}),h._UZ(1,"i",6),h.TgZ(2,"span",7),h._uU(3),h.qZA(),h.YNc(4,ar,1,0,"i",8),h.qZA()}if(2&C){const l=h.oxw();h.Q6J("ngClass",l.item.class)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root&&!l.active)),h.uIk("href",l.item.url,h.LSH)("target",l.item.target),h.xp6(1),h.Q6J("ngClass",l.item.icon),h.xp6(2),h.Oqu(l.item.label),h.xp6(1),h.Q6J("ngIf",l.item.items)}}function mr(C,u){1&C&&h._UZ(0,"i",9)}const Ni=function(){return{paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"}};function Fr(C,u){if(1&C){const l=h.EpF();h.TgZ(0,"a",10),h.NdJ("click",function(w){h.CHM(l);const F=h.oxw();return h.KtG(F.itemClick(w))})("mouseenter",function(){h.CHM(l);const w=h.oxw();return h.KtG(w.onMouseEnter())}),h._UZ(1,"i",6),h.TgZ(2,"span",7),h._uU(3),h.qZA(),h.YNc(4,mr,1,0,"i",8),h.qZA()}if(2&C){const l=h.oxw();h.Q6J("ngClass",l.item.class)("routerLink",l.item.routerLink)("routerLinkActiveOptions",l.item.routerLinkActiveOptions||h.DdM(16,Ni))("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)),h.uIk("target",l.item.target),h.xp6(1),h.Q6J("ngClass",l.item.icon),h.xp6(2),h.Oqu(l.item.label),h.xp6(1),h.Q6J("ngIf",l.item.items)}}function yr(C,u){if(1&C&&h._UZ(0,"li",13),2&C){const l=u.$implicit,v=u.index,w=h.oxw(2);h.Tol(l.badgeClass),h.Q6J("item",l)("index",v)("parentKey",w.key)}}function kr(C,u){if(1&C){const l=h.EpF();h.TgZ(0,"ul",null,11),h.NdJ("@children.done",function(w){h.CHM(l);const F=h.oxw();return h.KtG(F.onSubmenuAnimated(w))}),h.YNc(2,yr,1,5,"ng-template",12),h.qZA()}if(2&C){const l=h.oxw();h.Q6J("@children",l.submenuAnimation),h.xp6(2),h.Q6J("ngForOf",l.item.items)}}let wa=(()=>{class C{constructor(l,v,w,F,X){this.layoutService=l,this.cd=v,this.router=w,this.appSidebar=F,this.menuService=X,this.active=!1,this.key="",this.menuSourceSubscription=this.menuService.menuSource$.subscribe(ie=>{Promise.resolve(null).then(()=>{ie.routeEvent?this.active=!(ie.key!==this.key&&!ie.key.startsWith(this.key+"-")):ie.key!==this.key&&!ie.key.startsWith(this.key+"-")&&(this.active=!1)})}),this.menuResetSubscription=this.menuService.resetSource$.subscribe(()=>{this.active=!1}),this.router.events.pipe((0,N.h)(ie=>ie instanceof H.m2)).subscribe(ie=>{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 v=l.element;this.calculatePosition(v,v.parentElement)}}calculatePosition(l,v){if(l){const{left:w,top:F}=v.getBoundingClientRect(),[X,ie]=[window.innerWidth,window.innerHeight],[_e,Te]=[l.offsetWidth,l.offsetHeight],Xe=At.p.calculateScrollbarWidth();if(l.style.top="",l.style.left="",this.layoutService.isHorizontal()){const Qe=w+_e+Xe;l.style.left=X<Qe?w-(Qe-X)+"px":`${w}px`}else if(this.layoutService.isSlim()||this.layoutService.isSlimPlus()){const Qe=F+Te;l.style.top=ie<Qe?F-(Qe-ie)+"px":`${F}px`}}}itemClick(l){this.item.disabled?l.preventDefault():((this.root&&this.isSlim||this.isHorizontal||this.isSlimPlus)&&(this.layoutService.state.menuHoverActive=!this.layoutService.state.menuHoverActive),this.item.command&&this.item.command({originalEvent:l,item:this.item}),this.item.items?(this.active=!this.active,this.root&&this.active&&(this.isSlim||this.isHorizontal||this.isSlimPlus)&&this.layoutService.onOverlaySubmenuOpen()):(this.layoutService.isMobile()&&(this.layoutService.state.staticMenuMobileActive=!1),(this.isSlim||this.isHorizontal||this.isSlimPlus)&&(this.menuService.reset(),this.layoutService.state.menuHoverActive=!1)),this.menuService.onMenuStateChange({key:this.key}))}onMouseEnter(){this.root&&(this.isSlim||this.isHorizontal||this.isSlimPlus)&&this.layoutService.isDesktop()&&this.layoutService.state.menuHoverActive&&(this.active=!0,this.menuService.onMenuStateChange({key:this.key}))}get submenuAnimation(){return this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())?this.active?"visible":"hidden":this.root||this.active?"expanded":"collapsed"}get isHorizontal(){return this.layoutService.isHorizontal()}get isSlim(){return this.layoutService.isSlim()}get isSlimPlus(){return this.layoutService.isSlimPlus()}get activeClass(){return this.active&&!this.root}ngOnDestroy(){this.menuSourceSubscription&&this.menuSourceSubscription.unsubscribe(),this.menuResetSubscription&&this.menuResetSubscription.unsubscribe()}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(j.P),h.Y36(h.sBO),h.Y36(H.F0),h.Y36(lt),h.Y36(q.h))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["","app-menuitem",""]],viewQuery:function(v,w){if(1&v&&h.Gf(yn,5),2&v){let F;h.iGM(F=h.CRH())&&(w.submenu=F.first)}},hostVars:4,hostBindings:function(v,w){2&v&&h.ekj("layout-root-menuitem",w.root)("active-menuitem",w.activeClass)},inputs:{item:"item",index:"index",root:"root",parentKey:"parentKey"},attrs:dn,decls:5,vars:4,consts:[["class","layout-menuitem-root-text",4,"ngIf"],["tabindex","0","pRipple","",3,"ngClass","pTooltip","tooltipDisabled","click","mouseenter",4,"ngIf"],["routerLinkActive","active-route","tabindex","0","pRipple","",3,"ngClass","routerLink","routerLinkActiveOptions","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","queryParams","pTooltip","tooltipDisabled","click","mouseenter",4,"ngIf"],[4,"ngIf"],[1,"layout-menuitem-root-text"],["tabindex","0","pRipple","",3,"ngClass","pTooltip","tooltipDisabled","click","mouseenter"],[1,"layout-menuitem-icon",3,"ngClass"],[1,"layout-menuitem-text"],["class","pi pi-fw pi-angle-down layout-submenu-toggler",4,"ngIf"],[1,"pi","pi-fw","pi-angle-down","layout-submenu-toggler"],["routerLinkActive","active-route","tabindex","0","pRipple","",3,"ngClass","routerLink","routerLinkActiveOptions","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","queryParams","pTooltip","tooltipDisabled","click","mouseenter"],["submenu",""],["ngFor","",3,"ngForOf"],["app-menuitem","",3,"item","index","parentKey"]],template:function(v,w){1&v&&(h.ynx(0),h.YNc(1,Wn,2,1,"div",0),h.YNc(2,yi,5,8,"a",1),h.YNc(3,Fr,5,17,"a",2),h.YNc(4,kr,3,2,"ul",3),h.BQk()),2&v&&(h.xp6(1),h.Q6J("ngIf",w.root&&!1!==w.item.visible),h.xp6(1),h.Q6J("ngIf",(!w.item.routerLink||w.item.items)&&!1!==w.item.visible),h.xp6(1),h.Q6J("ngIf",w.item.routerLink&&!w.item.items&&!1!==w.item.visible),h.xp6(1),h.Q6J("ngIf",w.item.items&&!1!==w.item.visible))},dependencies:[R.mk,R.sg,R.O5,rn.u,en.H,H.rH,H.Od,C],encapsulation:2,data:{animation:[(0,ht.X$)("children",[(0,ht.SB)("collapsed",(0,ht.oB)({height:"0"})),(0,ht.SB)("expanded",(0,ht.oB)({height:"*"})),(0,ht.SB)("hidden",(0,ht.oB)({display:"none"})),(0,ht.SB)("visible",(0,ht.oB)({display:"block"})),(0,ht.eR)("collapsed <=> expanded",(0,ht.jt)("400ms cubic-bezier(0.86, 0, 0.07, 1)"))])]}})}return C})();var As=_(6263);let Ma=(()=>{class C{static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C});static#n=this.\u0275inj=h.cJS({imports:[o.b2,sn.u5,V.JF,D,Ge.j,ot.l,K,Pe.cc,rt.Iu,se.hJ,rn.z,en.T,H.Bz,Zt.h,As.W]})}return C})();h.B6R(we,[R.sg,R.O5,H.rH,wa],[R.Ov]);var vr=_(8814);let Is=(()=>{class C{intercept(l,v){const w=localStorage.getItem("token");if(w){const F=l.clone({headers:l.headers.set("Authorization","Bearer "+w)});return v.handle(F)}return v.handle(l)}static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();var ho=_(8504);let vn=(()=>{class C{constructor(l){this.router=l}intercept(l,v){return v.handle(l).pipe((0,Re.K)(w=>{console.log("ErrorInterceptor status",w.status),401===w.status&&this.router.navigate(["/auth/login"]);let F="";return F=w.error instanceof ErrorEvent?`Error: ${w.error.message}`:`Error Code: ${w.status}\nMessage: ${w.message}`,console.error(F),(0,ho._)(F)}))}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(H.F0))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();function po(C){return new T.w(C,"../assets/i18n/",".json")}let to=(()=>{class C{static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C,bootstrap:[Ue]});static#n=this.\u0275inj=h.cJS({providers:[vr.s,{provide:V.TP,useClass:Is,multi:!0},{provide:V.TP,useClass:vn,multi:!0},{provide:R.S$,useClass:R.Do}],imports:[ut,Ma,V.JF,z.aw.forRoot({loader:{provide:z.Zw,useFactory:po,deps:[V.eN]}})]})}return C})();o.q6().bootstrapModule(to).catch(C=>console.error(C))},4279:(ze,me,_)=>{_.d(me,{k:()=>z});var o=function(T){return"function"==typeof T},R=function(T){T&&o(T.unsubscribe)&&T.unsubscribe()},V=function(T){Array.isArray(T)&&T.forEach(R)};function z(T){var H=void 0===T?{}:T,N=H.blackList,h=void 0===N?[]:N,j=H.arrayName,A=void 0===j?"":j,B=H.event,U=void 0===B?"ngOnDestroy":B;return function(ce){var le=ce.prototype[U];if(!o(le))throw new Error(ce.name+" is using @AutoUnsubscribe but does not implement OnDestroy");ce.prototype[U]=function(){if(o(le)&&le.apply(this,arguments),A)V(this[A]);else for(var G in this)h.includes(G)||R(this[G])}}}},5619:(ze,me,_)=>{_.d(me,{X:()=>R});var o=_(8645);class R extends o.x{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const T=super._subscribe(z);return!T.closed&&z.next(this._value),T}getValue(){const{hasError:z,thrownError:T,_value:H}=this;if(z)throw T;return this._throwIfClosed(),H}next(z){super.next(this._value=z)}}},5592:(ze,me,_)=>{_.d(me,{y:()=>h});var o=_(305),R=_(7394),V=_(4850),z=_(8407),T=_(2653),H=_(4674),N=_(1441);let h=(()=>{class U{constructor(le){le&&(this._subscribe=le)}lift(le){const G=new U;return G.source=this,G.operator=le,G}subscribe(le,G,we){const ge=function B(U){return U&&U instanceof o.Lv||function A(U){return U&&(0,H.m)(U.next)&&(0,H.m)(U.error)&&(0,H.m)(U.complete)}(U)&&(0,R.Nn)(U)}(le)?le:new o.Hp(le,G,we);return(0,N.x)(()=>{const{operator:Ve,source:lt}=this;ge.add(Ve?Ve.call(ge,lt):lt?this._subscribe(ge):this._trySubscribe(ge))}),ge}_trySubscribe(le){try{return this._subscribe(le)}catch(G){le.error(G)}}forEach(le,G){return new(G=j(G))((we,ge)=>{const Ve=new o.Hp({next:lt=>{try{le(lt)}catch(Ge){ge(Ge),Ve.unsubscribe()}},error:ge,complete:we});this.subscribe(Ve)})}_subscribe(le){var G;return null===(G=this.source)||void 0===G?void 0:G.subscribe(le)}[V.L](){return this}pipe(...le){return(0,z.U)(le)(this)}toPromise(le){return new(le=j(le))((G,we)=>{let ge;this.subscribe(Ve=>ge=Ve,Ve=>we(Ve),()=>G(ge))})}}return U.create=ce=>new U(ce),U})();function j(U){var ce;return null!==(ce=U??T.config.Promise)&&void 0!==ce?ce:Promise}},8645:(ze,me,_)=>{_.d(me,{x:()=>N});var o=_(5592),R=_(7394);const z=(0,_(2306).d)(j=>function(){j(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=_(9039),H=_(1441);let N=(()=>{class j extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const U=new h(this,this);return U.operator=B,U}_throwIfClosed(){if(this.closed)throw new z}next(B){(0,H.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const U of this.currentObservers)U.next(B)}})}error(B){(0,H.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:U}=this;for(;U.length;)U.shift().error(B)}})}complete(){(0,H.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:U,isStopped:ce,observers:le}=this;return U||ce?R.Lc:(this.currentObservers=null,le.push(B),new R.w0(()=>{this.currentObservers=null,(0,T.P)(le,B)}))}_checkFinalizedStatuses(B){const{hasError:U,thrownError:ce,isStopped:le}=this;U?B.error(ce):le&&B.complete()}asObservable(){const B=new o.y;return B.source=this,B}}return j.create=(A,B)=>new h(A,B),j})();class h extends N{constructor(A,B){super(),this.destination=A,this.source=B}next(A){var B,U;null===(U=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===U||U.call(B,A)}error(A){var B,U;null===(U=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===U||U.call(B,A)}complete(){var A,B;null===(B=null===(A=this.destination)||void 0===A?void 0:A.complete)||void 0===B||B.call(A)}_subscribe(A){var B,U;return null!==(U=null===(B=this.source)||void 0===B?void 0:B.subscribe(A))&&void 0!==U?U:R.Lc}}},305:(ze,me,_)=>{_.d(me,{Hp:()=>we,Lv:()=>U});var o=_(4674),R=_(7394),V=_(2653),z=_(3894),T=_(2420);const H=j("C",void 0,void 0);function j(se,de,He){return{kind:se,value:de,error:He}}var A=_(7599),B=_(1441);class U extends R.w0{constructor(de){super(),this.isStopped=!1,de?(this.destination=de,(0,R.Nn)(de)&&de.add(this)):this.destination=Ge}static create(de,He,fe){return new we(de,He,fe)}next(de){this.isStopped?lt(function h(se){return j("N",se,void 0)}(de),this):this._next(de)}error(de){this.isStopped?lt(function N(se){return j("E",void 0,se)}(de),this):(this.isStopped=!0,this._error(de))}complete(){this.isStopped?lt(H,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 ce=Function.prototype.bind;function le(se,de){return ce.call(se,de)}class G{constructor(de){this.partialObserver=de}next(de){const{partialObserver:He}=this;if(He.next)try{He.next(de)}catch(fe){ge(fe)}}error(de){const{partialObserver:He}=this;if(He.error)try{He.error(de)}catch(fe){ge(fe)}else ge(de)}complete(){const{partialObserver:de}=this;if(de.complete)try{de.complete()}catch(He){ge(He)}}}class we extends U{constructor(de,He,fe){let ee;if(super(),(0,o.m)(de)||!de)ee={next:de??void 0,error:He??void 0,complete:fe??void 0};else{let J;this&&V.config.useDeprecatedNextContext?(J=Object.create(de),J.unsubscribe=()=>this.unsubscribe(),ee={next:de.next&&le(de.next,J),error:de.error&&le(de.error,J),complete:de.complete&&le(de.complete,J)}):ee=de}this.destination=new G(ee)}}function ge(se){V.config.useDeprecatedSynchronousErrorHandling?(0,B.O)(se):(0,z.h)(se)}function lt(se,de){const{onStoppedNotification:He}=V.config;He&&A.z.setTimeout(()=>He(se,de))}const Ge={closed:!0,next:T.Z,error:function Ve(se){throw se},complete:T.Z}},7394:(ze,me,_)=>{_.d(me,{Lc:()=>H,w0:()=>T,Nn:()=>N});var o=_(4674);const V=(0,_(2306).d)(j=>function(B){j(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((U,ce)=>`${ce+1}) ${U.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=B});var z=_(9039);class T{constructor(A){this.initialTeardown=A,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let A;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const le of B)le.remove(this);else B.remove(this);const{initialTeardown:U}=this;if((0,o.m)(U))try{U()}catch(le){A=le instanceof V?le.errors:[le]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const le of ce)try{h(le)}catch(G){A=A??[],G instanceof V?A=[...A,...G.errors]:A.push(G)}}if(A)throw new V(A)}}add(A){var B;if(A&&A!==this)if(this.closed)h(A);else{if(A instanceof T){if(A.closed||A._hasParent(this))return;A._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(A)}}_hasParent(A){const{_parentage:B}=this;return B===A||Array.isArray(B)&&B.includes(A)}_addParent(A){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(A),B):B?[B,A]:A}_removeParent(A){const{_parentage:B}=this;B===A?this._parentage=null:Array.isArray(B)&&(0,z.P)(B,A)}remove(A){const{_finalizers:B}=this;B&&(0,z.P)(B,A),A instanceof T&&A._removeParent(this)}}T.EMPTY=(()=>{const j=new T;return j.closed=!0,j})();const H=T.EMPTY;function N(j){return j instanceof T||j&&"closed"in j&&(0,o.m)(j.remove)&&(0,o.m)(j.add)&&(0,o.m)(j.unsubscribe)}function h(j){(0,o.m)(j)?j():j.unsubscribe()}},2653:(ze,me,_)=>{_.d(me,{config:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5211:(ze,me,_)=>{_.d(me,{z:()=>T});var o=_(7537),V=_(9940),z=_(7715);function T(...H){return function R(){return(0,o.J)(1)}()((0,z.D)(H,(0,V.yG)(H)))}},4911:(ze,me,_)=>{_.d(me,{P:()=>V});var o=_(5592),R=_(4829);function V(z){return new o.y(T=>{(0,R.Xf)(z()).subscribe(T)})}},6232:(ze,me,_)=>{_.d(me,{E:()=>R});const R=new(_(5592).y)(T=>T.complete())},9315:(ze,me,_)=>{_.d(me,{D:()=>h});var o=_(5592),R=_(7453),V=_(4829),z=_(9940),T=_(8251),H=_(7400),N=_(2714);function h(...j){const A=(0,z.jO)(j),{args:B,keys:U}=(0,R.D)(j),ce=new o.y(le=>{const{length:G}=B;if(!G)return void le.complete();const we=new Array(G);let ge=G,Ve=G;for(let lt=0;lt<G;lt++){let Ge=!1;(0,V.Xf)(B[lt]).subscribe((0,T.x)(le,se=>{Ge||(Ge=!0,Ve--),we[lt]=se},()=>ge--,void 0,()=>{(!ge||!Ge)&&(Ve||le.next(U?(0,N.n)(U,we):we),le.complete())}))}});return A?ce.pipe((0,H.Z)(A)):ce}},7715:(ze,me,_)=>{_.d(me,{D:()=>fe});var o=_(4829),R=_(7103),V=_(9360),z=_(8251);function T(ee,J=0){return(0,V.e)((We,q)=>{We.subscribe((0,z.x)(q,Le=>(0,R.f)(q,ee,()=>q.next(Le),J),()=>(0,R.f)(q,ee,()=>q.complete(),J),Le=>(0,R.f)(q,ee,()=>q.error(Le),J)))})}function H(ee,J=0){return(0,V.e)((We,q)=>{q.add(ee.schedule(()=>We.subscribe(q),J))})}var j=_(5592),B=_(4971),U=_(4674);function le(ee,J){if(!ee)throw new Error("Iterable cannot be null");return new j.y(We=>{(0,R.f)(We,J,()=>{const q=ee[Symbol.asyncIterator]();(0,R.f)(We,J,()=>{q.next().then(Le=>{Le.done?We.complete():We.next(Le.value)})},0,!0)})})}var G=_(8382),we=_(4026),ge=_(4266),Ve=_(3664),lt=_(5726),Ge=_(9853),se=_(541);function fe(ee,J){return J?function He(ee,J){if(null!=ee){if((0,G.c)(ee))return function N(ee,J){return(0,o.Xf)(ee).pipe(H(J),T(J))}(ee,J);if((0,ge.z)(ee))return function A(ee,J){return new j.y(We=>{let q=0;return J.schedule(function(){q===ee.length?We.complete():(We.next(ee[q++]),We.closed||this.schedule())})})}(ee,J);if((0,we.t)(ee))return function h(ee,J){return(0,o.Xf)(ee).pipe(H(J),T(J))}(ee,J);if((0,lt.D)(ee))return le(ee,J);if((0,Ve.T)(ee))return function ce(ee,J){return new j.y(We=>{let q;return(0,R.f)(We,J,()=>{q=ee[B.h](),(0,R.f)(We,J,()=>{let Le,be;try{({value:Le,done:be}=q.next())}catch(ot){return void We.error(ot)}be?We.complete():We.next(Le)},0,!0)}),()=>(0,U.m)(q?.return)&&q.return()})}(ee,J);if((0,se.L)(ee))return function de(ee,J){return le((0,se.Q)(ee),J)}(ee,J)}throw(0,Ge.z)(ee)}(ee,J):(0,o.Xf)(ee)}},4829:(ze,me,_)=>{_.d(me,{Xf:()=>ce});var o=_(7582),R=_(4266),V=_(4026),z=_(5592),T=_(8382),H=_(5726),N=_(9853),h=_(3664),j=_(541),A=_(4674),B=_(3894),U=_(4850);function ce(se){if(se instanceof z.y)return se;if(null!=se){if((0,T.c)(se))return function le(se){return new z.y(de=>{const He=se[U.L]();if((0,A.m)(He.subscribe))return He.subscribe(de);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(se);if((0,R.z)(se))return function G(se){return new z.y(de=>{for(let He=0;He<se.length&&!de.closed;He++)de.next(se[He]);de.complete()})}(se);if((0,V.t)(se))return function we(se){return new z.y(de=>{se.then(He=>{de.closed||(de.next(He),de.complete())},He=>de.error(He)).then(null,B.h)})}(se);if((0,H.D)(se))return Ve(se);if((0,h.T)(se))return function ge(se){return new z.y(de=>{for(const He of se)if(de.next(He),de.closed)return;de.complete()})}(se);if((0,j.L)(se))return function lt(se){return Ve((0,j.Q)(se))}(se)}throw(0,N.z)(se)}function Ve(se){return new z.y(de=>{(function Ge(se,de){var He,fe,ee,J;return(0,o.mG)(this,void 0,void 0,function*(){try{for(He=(0,o.KL)(se);!(fe=yield He.next()).done;)if(de.next(fe.value),de.closed)return}catch(We){ee={error:We}}finally{try{fe&&!fe.done&&(J=He.return)&&(yield J.call(He))}finally{if(ee)throw ee.error}}de.complete()})})(se,de).catch(He=>de.error(He))})}},2096:(ze,me,_)=>{_.d(me,{of:()=>V});var o=_(9940),R=_(7715);function V(...z){const T=(0,o.yG)(z);return(0,R.D)(z,T)}},8504:(ze,me,_)=>{_.d(me,{_:()=>V});var o=_(5592),R=_(4674);function V(z,T){const H=(0,R.m)(z)?z:()=>z,N=h=>h.error(H());return new o.y(T?h=>T.schedule(N,0,h):N)}},8251:(ze,me,_)=>{_.d(me,{x:()=>R});var o=_(305);function R(z,T,H,N,h){return new V(z,T,H,N,h)}class V extends o.Lv{constructor(T,H,N,h,j,A){super(T),this.onFinalize=j,this.shouldUnsubscribe=A,this._next=H?function(B){try{H(B)}catch(U){T.error(U)}}:super._next,this._error=h?function(B){try{h(B)}catch(U){T.error(U)}finally{this.unsubscribe()}}:super._error,this._complete=N?function(){try{N()}catch(B){T.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:H}=this;super.unsubscribe(),!H&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}},6306:(ze,me,_)=>{_.d(me,{K:()=>z});var o=_(4829),R=_(8251),V=_(9360);function z(T){return(0,V.e)((H,N)=>{let A,h=null,j=!1;h=H.subscribe((0,R.x)(N,void 0,void 0,B=>{A=(0,o.Xf)(T(B,z(T)(H))),h?(h.unsubscribe(),h=null,A.subscribe(N)):j=!0})),j&&(h.unsubscribe(),h=null,A.subscribe(N))})}},6328:(ze,me,_)=>{_.d(me,{b:()=>V});var o=_(1631),R=_(4674);function V(z,T){return(0,R.m)(T)?(0,o.z)(z,T,1):(0,o.z)(z,1)}},3997:(ze,me,_)=>{_.d(me,{x:()=>z});var o=_(2737),R=_(9360),V=_(8251);function z(H,N=o.y){return H=H??T,(0,R.e)((h,j)=>{let A,B=!0;h.subscribe((0,V.x)(j,U=>{const ce=N(U);(B||!H(A,ce))&&(B=!1,A=ce,j.next(U))}))})}function T(H,N){return H===N}},2181:(ze,me,_)=>{_.d(me,{h:()=>V});var o=_(9360),R=_(8251);function V(z,T){return(0,o.e)((H,N)=>{let h=0;H.subscribe((0,R.x)(N,j=>z.call(T,j,h++)&&N.next(j)))})}},4716:(ze,me,_)=>{_.d(me,{x:()=>R});var o=_(9360);function R(V){return(0,o.e)((z,T)=>{try{z.subscribe(T)}finally{T.add(V)}})}},7398:(ze,me,_)=>{_.d(me,{U:()=>V});var o=_(9360),R=_(8251);function V(z,T){return(0,o.e)((H,N)=>{let h=0;H.subscribe((0,R.x)(N,j=>{N.next(z.call(T,j,h++))}))})}},7537:(ze,me,_)=>{_.d(me,{J:()=>V});var o=_(1631),R=_(2737);function V(z=1/0){return(0,o.z)(R.y,z)}},1631:(ze,me,_)=>{_.d(me,{z:()=>h});var o=_(7398),R=_(4829),V=_(9360),z=_(7103),T=_(8251),N=_(4674);function h(j,A,B=1/0){return(0,N.m)(A)?h((U,ce)=>(0,o.U)((le,G)=>A(U,le,ce,G))((0,R.Xf)(j(U,ce))),B):("number"==typeof A&&(B=A),(0,V.e)((U,ce)=>function H(j,A,B,U,ce,le,G,we){const ge=[];let Ve=0,lt=0,Ge=!1;const se=()=>{Ge&&!ge.length&&!Ve&&A.complete()},de=fe=>Ve<U?He(fe):ge.push(fe),He=fe=>{le&&A.next(fe),Ve++;let ee=!1;(0,R.Xf)(B(fe,lt++)).subscribe((0,T.x)(A,J=>{ce?.(J),le?de(J):A.next(J)},()=>{ee=!0},void 0,()=>{if(ee)try{for(Ve--;ge.length&&Ve<U;){const J=ge.shift();G?(0,z.f)(A,G,()=>He(J)):He(J)}se()}catch(J){A.error(J)}}))};return j.subscribe((0,T.x)(A,de,()=>{Ge=!0,se()})),()=>{we?.()}}(U,ce,j,B)))}},3020:(ze,me,_)=>{_.d(me,{B:()=>T});var o=_(4829),R=_(8645),V=_(305),z=_(9360);function T(N={}){const{connector:h=(()=>new R.x),resetOnError:j=!0,resetOnComplete:A=!0,resetOnRefCountZero:B=!0}=N;return U=>{let ce,le,G,we=0,ge=!1,Ve=!1;const lt=()=>{le?.unsubscribe(),le=void 0},Ge=()=>{lt(),ce=G=void 0,ge=Ve=!1},se=()=>{const de=ce;Ge(),de?.unsubscribe()};return(0,z.e)((de,He)=>{we++,!Ve&&!ge&&lt();const fe=G=G??h();He.add(()=>{we--,0===we&&!Ve&&!ge&&(le=H(se,B))}),fe.subscribe(He),!ce&&we>0&&(ce=new V.Hp({next:ee=>fe.next(ee),error:ee=>{Ve=!0,lt(),le=H(Ge,j,ee),fe.error(ee)},complete:()=>{ge=!0,lt(),le=H(Ge,A),fe.complete()}}),(0,o.Xf)(de).subscribe(ce))})(U)}}function H(N,h,...j){if(!0===h)return void N();if(!1===h)return;const A=new V.Hp({next:()=>{A.unsubscribe(),N()}});return(0,o.Xf)(h(...j)).subscribe(A)}},940:(ze,me,_)=>{_.d(me,{d:()=>T});var o=_(8645),R=_(4552);class V extends o.x{constructor(N=1/0,h=1/0,j=R.l){super(),this._bufferSize=N,this._windowTime=h,this._timestampProvider=j,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,N),this._windowTime=Math.max(1,h)}next(N){const{isStopped:h,_buffer:j,_infiniteTimeWindow:A,_timestampProvider:B,_windowTime:U}=this;h||(j.push(N),!A&&j.push(B.now()+U)),this._trimBuffer(),super.next(N)}_subscribe(N){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(N),{_infiniteTimeWindow:j,_buffer:A}=this,B=A.slice();for(let U=0;U<B.length&&!N.closed;U+=j?1:2)N.next(B[U]);return this._checkFinalizedStatuses(N),h}_trimBuffer(){const{_bufferSize:N,_timestampProvider:h,_buffer:j,_infiniteTimeWindow:A}=this,B=(A?1:2)*N;if(N<1/0&&B<j.length&&j.splice(0,j.length-B),!A){const U=h.now();let ce=0;for(let le=1;le<j.length&&j[le]<=U;le+=2)ce=le;ce&&j.splice(0,ce+1)}}}var z=_(3020);function T(H,N,h){let j,A=!1;return H&&"object"==typeof H?({bufferSize:j=1/0,windowTime:N=1/0,refCount:A=!1,scheduler:h}=H):j=H??1/0,(0,z.B)({connector:()=>new V(j,N,h),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:A})}},7921:(ze,me,_)=>{_.d(me,{O:()=>z});var o=_(5211),R=_(9940),V=_(9360);function z(...T){const H=(0,R.yG)(T);return(0,V.e)((N,h)=>{(H?(0,o.z)(T,N,H):(0,o.z)(T,N)).subscribe(h)})}},4664:(ze,me,_)=>{_.d(me,{w:()=>z});var o=_(4829),R=_(9360),V=_(8251);function z(T,H){return(0,R.e)((N,h)=>{let j=null,A=0,B=!1;const U=()=>B&&!j&&h.complete();N.subscribe((0,V.x)(h,ce=>{j?.unsubscribe();let le=0;const G=A++;(0,o.Xf)(T(ce,G)).subscribe(j=(0,V.x)(h,we=>h.next(H?H(ce,we,G,le++):we),()=>{j=null,U()}))},()=>{B=!0,U()}))})}},8180:(ze,me,_)=>{_.d(me,{q:()=>z});var o=_(6232),R=_(9360),V=_(8251);function z(T){return T<=0?()=>o.E:(0,R.e)((H,N)=>{let h=0;H.subscribe((0,V.x)(N,j=>{++h<=T&&(N.next(j),T<=h&&N.complete())}))})}},9397:(ze,me,_)=>{_.d(me,{b:()=>T});var o=_(4674),R=_(9360),V=_(8251),z=_(2737);function T(H,N,h){const j=(0,o.m)(H)||N||h?{next:H,error:N,complete:h}:H;return j?(0,R.e)((A,B)=>{var U;null===(U=j.subscribe)||void 0===U||U.call(j);let ce=!0;A.subscribe((0,V.x)(B,le=>{var G;null===(G=j.next)||void 0===G||G.call(j,le),B.next(le)},()=>{var le;ce=!1,null===(le=j.complete)||void 0===le||le.call(j),B.complete()},le=>{var G;ce=!1,null===(G=j.error)||void 0===G||G.call(j,le),B.error(le)},()=>{var le,G;ce&&(null===(le=j.unsubscribe)||void 0===le||le.call(j)),null===(G=j.finalize)||void 0===G||G.call(j)}))}):z.y}},4552:(ze,me,_)=>{_.d(me,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},7599:(ze,me,_)=>{_.d(me,{z:()=>o});const o={setTimeout(R,V,...z){const{delegate:T}=o;return T?.setTimeout?T.setTimeout(R,V,...z):setTimeout(R,V,...z)},clearTimeout(R){const{delegate:V}=o;return(V?.clearTimeout||clearTimeout)(R)},delegate:void 0}},4971:(ze,me,_)=>{_.d(me,{h:()=>R});const R=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ze,me,_)=>{_.d(me,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(ze,me,_)=>{_.d(me,{_6:()=>H,jO:()=>z,yG:()=>T});var o=_(4674),R=_(671);function V(N){return N[N.length-1]}function z(N){return(0,o.m)(V(N))?N.pop():void 0}function T(N){return(0,R.K)(V(N))?N.pop():void 0}function H(N,h){return"number"==typeof V(N)?N.pop():h}},7453:(ze,me,_)=>{_.d(me,{D:()=>T});const{isArray:o}=Array,{getPrototypeOf:R,prototype:V,keys:z}=Object;function T(N){if(1===N.length){const h=N[0];if(o(h))return{args:h,keys:null};if(function H(N){return N&&"object"==typeof N&&R(N)===V}(h)){const j=z(h);return{args:j.map(A=>h[A]),keys:j}}}return{args:N,keys:null}}},9039:(ze,me,_)=>{function o(R,V){if(R){const z=R.indexOf(V);0<=z&&R.splice(z,1)}}_.d(me,{P:()=>o})},2306:(ze,me,_)=>{function o(R){const z=R(T=>{Error.call(T),T.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}_.d(me,{d:()=>o})},2714:(ze,me,_)=>{function o(R,V){return R.reduce((z,T,H)=>(z[T]=V[H],z),{})}_.d(me,{n:()=>o})},1441:(ze,me,_)=>{_.d(me,{O:()=>z,x:()=>V});var o=_(2653);let R=null;function V(T){if(o.config.useDeprecatedSynchronousErrorHandling){const H=!R;if(H&&(R={errorThrown:!1,error:null}),T(),H){const{errorThrown:N,error:h}=R;if(R=null,N)throw h}}else T()}function z(T){o.config.useDeprecatedSynchronousErrorHandling&&R&&(R.errorThrown=!0,R.error=T)}},7103:(ze,me,_)=>{function o(R,V,z,T=0,H=!1){const N=V.schedule(function(){z(),H?R.add(this.schedule(null,T)):this.unsubscribe()},T);if(R.add(N),!H)return N}_.d(me,{f:()=>o})},2737:(ze,me,_)=>{function o(R){return R}_.d(me,{y:()=>o})},4266:(ze,me,_)=>{_.d(me,{z:()=>o});const o=R=>R&&"number"==typeof R.length&&"function"!=typeof R},5726:(ze,me,_)=>{_.d(me,{D:()=>R});var o=_(4674);function R(V){return Symbol.asyncIterator&&(0,o.m)(V?.[Symbol.asyncIterator])}},4674:(ze,me,_)=>{function o(R){return"function"==typeof R}_.d(me,{m:()=>o})},8382:(ze,me,_)=>{_.d(me,{c:()=>V});var o=_(4850),R=_(4674);function V(z){return(0,R.m)(z[o.L])}},3664:(ze,me,_)=>{_.d(me,{T:()=>V});var o=_(4971),R=_(4674);function V(z){return(0,R.m)(z?.[o.h])}},2664:(ze,me,_)=>{_.d(me,{b:()=>V});var o=_(5592),R=_(4674);function V(z){return!!z&&(z instanceof o.y||(0,R.m)(z.lift)&&(0,R.m)(z.subscribe))}},4026:(ze,me,_)=>{_.d(me,{t:()=>R});var o=_(4674);function R(V){return(0,o.m)(V?.then)}},541:(ze,me,_)=>{_.d(me,{L:()=>z,Q:()=>V});var o=_(7582),R=_(4674);function V(T){return(0,o.FC)(this,arguments,function*(){const N=T.getReader();try{for(;;){const{value:h,done:j}=yield(0,o.qq)(N.read());if(j)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(h)}}finally{N.releaseLock()}})}function z(T){return(0,R.m)(T?.getReader)}},671:(ze,me,_)=>{_.d(me,{K:()=>R});var o=_(4674);function R(V){return V&&(0,o.m)(V.schedule)}},9360:(ze,me,_)=>{_.d(me,{A:()=>R,e:()=>V});var o=_(4674);function R(z){return(0,o.m)(z?.lift)}function V(z){return T=>{if(R(T))return T.lift(function(H){try{return z(H,this)}catch(N){this.error(N)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ze,me,_)=>{_.d(me,{Z:()=>z});var o=_(7398);const{isArray:R}=Array;function z(T){return(0,o.U)(H=>function V(T,H){return R(H)?T(...H):T(H)}(T,H))}},2420:(ze,me,_)=>{function o(){}_.d(me,{Z:()=>o})},8407:(ze,me,_)=>{_.d(me,{U:()=>V,z:()=>R});var o=_(2737);function R(...z){return V(z)}function V(z){return 0===z.length?o.y:1===z.length?z[0]:function(H){return z.reduce((N,h)=>h(N),H)}}},3894:(ze,me,_)=>{_.d(me,{h:()=>V});var o=_(2653),R=_(7599);function V(z){R.z.setTimeout(()=>{const{onUnhandledError:T}=o.config;if(!T)throw z;T(z)})}},9853:(ze,me,_)=>{function o(R){return new TypeError(`You provided ${null!==R&&"object"==typeof R?"an invalid object":`'${R}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(me,{z:()=>o})},6825:(ze,me,_)=>{_.d(me,{IO:()=>G,LC:()=>R,SB:()=>j,X$:()=>z,ZE:()=>Ve,ZN:()=>ge,_7:()=>le,_j:()=>o,eR:()=>B,jt:()=>T,k1:()=>lt,l3:()=>V,oB:()=>h,oQ:()=>U,pV:()=>ce,vP:()=>N});class o{}class R{}const V="*";function z(Ge,se){return{type:7,name:Ge,definitions:se,options:{}}}function T(Ge,se=null){return{type:4,styles:se,timings:Ge}}function N(Ge,se=null){return{type:2,steps:Ge,options:se}}function h(Ge){return{type:6,styles:Ge,offset:null}}function j(Ge,se,de){return{type:0,name:Ge,styles:se,options:de}}function B(Ge,se,de=null){return{type:1,expr:Ge,animation:se,options:de}}function U(Ge,se=null){return{type:8,animation:Ge,options:se}}function ce(Ge=null){return{type:9,options:Ge}}function le(Ge,se=null){return{type:10,animation:Ge,options:se}}function G(Ge,se,de=null){return{type:11,selector:Ge,animation:se,options:de}}class ge{constructor(se=0,de=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=se+de}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}onStart(se){this._originalOnStartFns.push(se),this._onStartFns.push(se)}onDone(se){this._originalOnDoneFns.push(se),this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(se=>se()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(se){this._position=this.totalTime?se*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(se){const de="start"==se?this._onStartFns:this._onDoneFns;de.forEach(He=>He()),de.length=0}}class Ve{constructor(se){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=se;let de=0,He=0,fe=0;const ee=this.players.length;0==ee?queueMicrotask(()=>this._onFinish()):this.players.forEach(J=>{J.onDone(()=>{++de==ee&&this._onFinish()}),J.onDestroy(()=>{++He==ee&&this._onDestroy()}),J.onStart(()=>{++fe==ee&&this._onStart()})}),this.totalTime=this.players.reduce((J,We)=>Math.max(J,We.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}init(){this.players.forEach(se=>se.init())}onStart(se){this._onStartFns.push(se)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(se=>se()),this._onStartFns=[])}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(se=>se.play())}pause(){this.players.forEach(se=>se.pause())}restart(){this.players.forEach(se=>se.restart())}finish(){this._onFinish(),this.players.forEach(se=>se.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(se=>se.destroy()),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this.players.forEach(se=>se.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(se){const de=se*this.totalTime;this.players.forEach(He=>{const fe=He.totalTime?Math.min(1,de/He.totalTime):1;He.setPosition(fe)})}getPosition(){const se=this.players.reduce((de,He)=>null===de||He.totalTime>de.totalTime?He:de,null);return null!=se?se.getPosition():0}beforeDestroy(){this.players.forEach(se=>{se.beforeDestroy&&se.beforeDestroy()})}triggerCallback(se){const de="start"==se?this._onStartFns:this._onDoneFns;de.forEach(He=>He()),de.length=0}}const lt="!"},6814:(ze,me,_)=>{_.d(me,{Do:()=>we,EM:()=>er,H9:()=>Xi,HT:()=>z,JF:()=>tr,K0:()=>H,Mx:()=>Mt,NF:()=>Jn,O5:()=>zi,Ov:()=>Js,PC:()=>zn,PM:()=>nn,S$:()=>ce,V_:()=>h,Ye:()=>ge,b0:()=>G,bD:()=>Qt,ez:()=>bt,mk:()=>Kt,q:()=>V,rS:()=>Bn,sg:()=>si,tP:()=>Ji,uU:()=>pr,w_:()=>T});var o=_(2029);let R=null;function V(){return R}function z(p){R||(R=p)}class T{}const H=new o.OlP("DocumentToken");let N=(()=>{class p{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(j)},providedIn:"platform"})}return p})();const h=new o.OlP("Location Initialized");let j=(()=>{class p extends N{constructor(){super(),this._doc=(0,o.f3M)(H),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return V().getBaseHref(this._doc)}onPopState(D){const I=V().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",D,!1),()=>I.removeEventListener("popstate",D)}onHashChange(D){const I=V().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=o.Yz7({token:p,factory:function(){return new p},providedIn:"platform"})}return p})();function A(p,P){if(0==p.length)return P;if(0==P.length)return p;let D=0;return p.endsWith("/")&&D++,P.startsWith("/")&&D++,2==D?p+P.substring(1):1==D?p+P:p+"/"+P}function B(p){const P=p.match(/#|\?|$/),D=P&&P.index||p.length;return p.slice(0,D-("/"===p[D-1]?1:0))+p.slice(D)}function U(p){return p&&"?"!==p[0]?"?"+p:p}let ce=(()=>{class p{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(G)},providedIn:"root"})}return p})();const le=new o.OlP("appBaseHref");let G=(()=>{class p extends ce{constructor(D,I){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(H).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 A(this._baseHref,D)}path(D=!1){const I=this._platformLocation.pathname+U(this._platformLocation.search),Z=this._platformLocation.hash;return Z&&D?`${I}${Z}`:I}pushState(D,I,Z,Se){const Pe=this.prepareExternalUrl(Z+U(Se));this._platformLocation.pushState(D,I,Pe)}replaceState(D,I,Z,Se){const Pe=this.prepareExternalUrl(Z+U(Se));this._platformLocation.replaceState(D,I,Pe)}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)(o.LFG(N),o.LFG(le,8))};static#t=this.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),we=(()=>{class p extends ce{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){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(D){const I=A(this._baseHref,D);return I.length>0?"#"+I:I}pushState(D,I,Z,Se){let Pe=this.prepareExternalUrl(Z+U(Se));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.pushState(D,I,Pe)}replaceState(D,I,Z,Se){let Pe=this.prepareExternalUrl(Z+U(Se));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.replaceState(D,I,Pe)}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)(o.LFG(N),o.LFG(le,8))};static#t=this.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac})}return p})(),ge=(()=>{class p{constructor(D){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const I=this._locationStrategy.getBaseHref();this._basePath=function se(p){if(new RegExp("^(https?:)?//").test(p)){const[,D]=p.split(/\/\/[^\/]+/);return D}return p}(B(Ge(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+U(I))}normalize(D){return p.stripTrailingSlash(function lt(p,P){if(!p||!P.startsWith(p))return P;const D=P.substring(p.length);return""===D||["/",";","?","#"].includes(D[0])?D:P}(this._basePath,Ge(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+U(I)),Z)}replaceState(D,I="",Z=null){this._locationStrategy.replaceState(Z,"",D,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+U(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._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=U;static#t=this.joinWithSlash=A;static#n=this.stripTrailingSlash=B;static#i=this.\u0275fac=function(I){return new(I||p)(o.LFG(ce))};static#r=this.\u0275prov=o.Yz7({token:p,factory:function(){return function Ve(){return new ge((0,o.LFG)(ce))}()},providedIn:"root"})}return p})();function Ge(p){return p.replace(/\/index.html$/,"")}const de={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var He=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(He||{}),ee=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(ee||{}),J=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(J||{}),We=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(We||{}),q=function(p){return p[p.Decimal=0]="Decimal",p[p.Group=1]="Group",p[p.List=2]="List",p[p.PercentSign=3]="PercentSign",p[p.PlusSign=4]="PlusSign",p[p.MinusSign=5]="MinusSign",p[p.Exponential=6]="Exponential",p[p.SuperscriptingExponent=7]="SuperscriptingExponent",p[p.PerMille=8]="PerMille",p[p.Infinity=9]="Infinity",p[p.NaN=10]="NaN",p[p.TimeSeparator=11]="TimeSeparator",p[p.CurrencyDecimal=12]="CurrencyDecimal",p[p.CurrencyGroup=13]="CurrencyGroup",p}(q||{});function oe(p,P){return hn((0,o.cg1)(p)[o.wAp.DateFormat],P)}function pe(p,P){return hn((0,o.cg1)(p)[o.wAp.TimeFormat],P)}function ve(p,P){return hn((0,o.cg1)(p)[o.wAp.DateTimeFormat],P)}function xe(p,P){const D=(0,o.cg1)(p),I=D[o.wAp.NumberSymbols][P];if(typeof I>"u"){if(P===q.CurrencyDecimal)return D[o.wAp.NumberSymbols][q.Decimal];if(P===q.CurrencyGroup)return D[o.wAp.NumberSymbols][q.Group]}return I}function kt(p){if(!p[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hn(p,P){for(let D=P;D>-1;D--)if(typeof p[D]<"u")return p[D];throw new Error("Locale data API: locale data undefined")}function Ht(p){const[P,D]=p.split(":");return{hours:+P,minutes:+D}}const Ui=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},Zn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ln=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(Ln||{}),vt=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(vt||{}),Rt=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(Rt||{});function dr(p,P,D,I){let Z=function Me(p){if(Y(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[Z,Se=1,Pe=1]=p.split("-").map(rt=>+rt);return hi(Z,Se-1,Pe)}const D=parseFloat(p);if(!isNaN(p-D))return new Date(D);let I;if(I=p.match(Ui))return function Ee(p){const P=new Date(0);let D=0,I=0;const Z=p[8]?P.setUTCFullYear:P.setFullYear,Se=p[8]?P.setUTCHours:P.setHours;p[9]&&(D=Number(p[9]+p[10]),I=Number(p[9]+p[11])),Z.call(P,Number(p[1]),Number(p[2])-1,Number(p[3]));const Pe=Number(p[4]||0)-D,rt=Number(p[5]||0)-I,rn=Number(p[6]||0),en=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return Se.call(P,Pe,rt,rn,en),P}(I)}const P=new Date(p);if(!Y(P))throw new Error(`Unable to convert "${p}" into a date`);return P}(p);P=Et(D,P)||P;let rt,Pe=[];for(;P;){if(rt=Zn.exec(P),!rt){Pe.push(P);break}{Pe=Pe.concat(rt.slice(1));const Zt=Pe.pop();if(!Zt)break;P=Zt}}let rn=Z.getTimezoneOffset();I&&(rn=$r(I,rn),Z=function Fi(p,P,D){const I=D?-1:1,Z=p.getTimezoneOffset();return function fr(p,P){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+P),p}(p,I*($r(P,Z)-Z))}(Z,I,!0));let en="";return Pe.forEach(Zt=>{const At=function $i(p){if(ii[p])return ii[p];let P;switch(p){case"G":case"GG":case"GGG":P=gt(Rt.Eras,J.Abbreviated);break;case"GGGG":P=gt(Rt.Eras,J.Wide);break;case"GGGGG":P=gt(Rt.Eras,J.Narrow);break;case"y":P=qt(vt.FullYear,1,0,!1,!0);break;case"yy":P=qt(vt.FullYear,2,0,!0,!0);break;case"yyy":P=qt(vt.FullYear,3,0,!1,!0);break;case"yyyy":P=qt(vt.FullYear,4,0,!1,!0);break;case"Y":P=ji(1);break;case"YY":P=ji(2,!0);break;case"YYY":P=ji(3);break;case"YYYY":P=ji(4);break;case"M":case"L":P=qt(vt.Month,1,1);break;case"MM":case"LL":P=qt(vt.Month,2,1);break;case"MMM":P=gt(Rt.Months,J.Abbreviated);break;case"MMMM":P=gt(Rt.Months,J.Wide);break;case"MMMMM":P=gt(Rt.Months,J.Narrow);break;case"LLL":P=gt(Rt.Months,J.Abbreviated,ee.Standalone);break;case"LLLL":P=gt(Rt.Months,J.Wide,ee.Standalone);break;case"LLLLL":P=gt(Rt.Months,J.Narrow,ee.Standalone);break;case"w":P=Yn(1);break;case"ww":P=Yn(2);break;case"W":P=Yn(1,!0);break;case"d":P=qt(vt.Date,1);break;case"dd":P=qt(vt.Date,2);break;case"c":case"cc":P=qt(vt.Day,1);break;case"ccc":P=gt(Rt.Days,J.Abbreviated,ee.Standalone);break;case"cccc":P=gt(Rt.Days,J.Wide,ee.Standalone);break;case"ccccc":P=gt(Rt.Days,J.Narrow,ee.Standalone);break;case"cccccc":P=gt(Rt.Days,J.Short,ee.Standalone);break;case"E":case"EE":case"EEE":P=gt(Rt.Days,J.Abbreviated);break;case"EEEE":P=gt(Rt.Days,J.Wide);break;case"EEEEE":P=gt(Rt.Days,J.Narrow);break;case"EEEEEE":P=gt(Rt.Days,J.Short);break;case"a":case"aa":case"aaa":P=gt(Rt.DayPeriods,J.Abbreviated);break;case"aaaa":P=gt(Rt.DayPeriods,J.Wide);break;case"aaaaa":P=gt(Rt.DayPeriods,J.Narrow);break;case"b":case"bb":case"bbb":P=gt(Rt.DayPeriods,J.Abbreviated,ee.Standalone,!0);break;case"bbbb":P=gt(Rt.DayPeriods,J.Wide,ee.Standalone,!0);break;case"bbbbb":P=gt(Rt.DayPeriods,J.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":P=gt(Rt.DayPeriods,J.Abbreviated,ee.Format,!0);break;case"BBBB":P=gt(Rt.DayPeriods,J.Wide,ee.Format,!0);break;case"BBBBB":P=gt(Rt.DayPeriods,J.Narrow,ee.Format,!0);break;case"h":P=qt(vt.Hours,1,-12);break;case"hh":P=qt(vt.Hours,2,-12);break;case"H":P=qt(vt.Hours,1);break;case"HH":P=qt(vt.Hours,2);break;case"m":P=qt(vt.Minutes,1);break;case"mm":P=qt(vt.Minutes,2);break;case"s":P=qt(vt.Seconds,1);break;case"ss":P=qt(vt.Seconds,2);break;case"S":P=qt(vt.FractionalSeconds,1);break;case"SS":P=qt(vt.FractionalSeconds,2);break;case"SSS":P=qt(vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":P=ni(Ln.Short);break;case"ZZZZZ":P=ni(Ln.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":P=ni(Ln.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":P=ni(Ln.Long);break;default:return null}return ii[p]=P,P}(Zt);en+=At?At(Z,D,rn):"''"===Zt?"'":Zt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),en}function hi(p,P,D){const I=new Date(0);return I.setFullYear(p,P,D),I.setHours(0,0,0),I}function Et(p,P){const D=function be(p){return(0,o.cg1)(p)[o.wAp.LocaleId]}(p);if(Un[D]=Un[D]||{},Un[D][P])return Un[D][P];let I="";switch(P){case"shortDate":I=oe(p,We.Short);break;case"mediumDate":I=oe(p,We.Medium);break;case"longDate":I=oe(p,We.Long);break;case"fullDate":I=oe(p,We.Full);break;case"shortTime":I=pe(p,We.Short);break;case"mediumTime":I=pe(p,We.Medium);break;case"longTime":I=pe(p,We.Long);break;case"fullTime":I=pe(p,We.Full);break;case"short":const Z=Et(p,"shortTime"),Se=Et(p,"shortDate");I=Ti(ve(p,We.Short),[Z,Se]);break;case"medium":const Pe=Et(p,"mediumTime"),rt=Et(p,"mediumDate");I=Ti(ve(p,We.Medium),[Pe,rt]);break;case"long":const rn=Et(p,"longTime"),en=Et(p,"longDate");I=Ti(ve(p,We.Long),[rn,en]);break;case"full":const Zt=Et(p,"fullTime"),At=Et(p,"fullDate");I=Ti(ve(p,We.Full),[Zt,At])}return I&&(Un[D][P]=I),I}function Ti(p,P){return P&&(p=p.replace(/\{([^}]+)}/g,function(D,I){return null!=P&&I in P?P[I]:D})),p}function An(p,P,D="-",I,Z){let Se="";(p<0||Z&&p<=0)&&(Z?p=1-p:(p=-p,Se=D));let Pe=String(p);for(;Pe.length<P;)Pe="0"+Pe;return I&&(Pe=Pe.slice(Pe.length-P)),Se+Pe}function qt(p,P,D=0,I=!1,Z=!1){return function(Se,Pe){let rt=function ps(p,P){switch(p){case vt.FullYear:return P.getFullYear();case vt.Month:return P.getMonth();case vt.Date:return P.getDate();case vt.Hours:return P.getHours();case vt.Minutes:return P.getMinutes();case vt.Seconds:return P.getSeconds();case vt.FractionalSeconds:return P.getMilliseconds();case vt.Day:return P.getDay();default:throw new Error(`Unknown DateType value "${p}".`)}}(p,Se);if((D>0||rt>-D)&&(rt+=D),p===vt.Hours)0===rt&&-12===D&&(rt=12);else if(p===vt.FractionalSeconds)return function Rn(p,P){return An(p,3).substring(0,P)}(rt,P);const rn=xe(Pe,q.MinusSign);return An(rt,P,rn,I,Z)}}function gt(p,P,D=ee.Format,I=!1){return function(Z,Se){return function jr(p,P,D,I,Z,Se){switch(D){case Rt.Months:return function ke(p,P,D){const I=(0,o.cg1)(p),Se=hn([I[o.wAp.MonthsFormat],I[o.wAp.MonthsStandalone]],P);return hn(Se,D)}(P,Z,I)[p.getMonth()];case Rt.Days:return function ft(p,P,D){const I=(0,o.cg1)(p),Se=hn([I[o.wAp.DaysFormat],I[o.wAp.DaysStandalone]],P);return hn(Se,D)}(P,Z,I)[p.getDay()];case Rt.DayPeriods:const Pe=p.getHours(),rt=p.getMinutes();if(Se){const en=function Ue(p){const P=(0,o.cg1)(p);return kt(P),(P[o.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?Ht(I):[Ht(I[0]),Ht(I[1])])}(P),Zt=function sn(p,P,D){const I=(0,o.cg1)(p);kt(I);const Se=hn([I[o.wAp.ExtraData][0],I[o.wAp.ExtraData][1]],P)||[];return hn(Se,D)||[]}(P,Z,I),At=en.findIndex(yn=>{if(Array.isArray(yn)){const[dn,Wn]=yn,ar=Pe>=dn.hours&&rt>=dn.minutes,yi=Pe<Wn.hours||Pe===Wn.hours&&rt<Wn.minutes;if(dn.hours<Wn.hours){if(ar&&yi)return!0}else if(ar||yi)return!0}else if(yn.hours===Pe&&yn.minutes===rt)return!0;return!1});if(-1!==At)return Zt[At]}return function ot(p,P,D){const I=(0,o.cg1)(p),Se=hn([I[o.wAp.DayPeriodsFormat],I[o.wAp.DayPeriodsStandalone]],P);return hn(Se,D)}(P,Z,I)[Pe<12?0:1];case Rt.Eras:return function at(p,P){return hn((0,o.cg1)(p)[o.wAp.Eras],P)}(P,I)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${D}`)}}(Z,Se,p,P,D,I)}}function ni(p){return function(P,D,I){const Z=-1*I,Se=xe(D,q.MinusSign),Pe=Z>0?Math.floor(Z/60):Math.ceil(Z/60);switch(p){case Ln.Short:return(Z>=0?"+":"")+An(Pe,2,Se)+An(Math.abs(Z%60),2,Se);case Ln.ShortGMT:return"GMT"+(Z>=0?"+":"")+An(Pe,1,Se);case Ln.Long:return"GMT"+(Z>=0?"+":"")+An(Pe,2,Se)+":"+An(Math.abs(Z%60),2,Se);case Ln.Extended:return 0===I?"Z":(Z>=0?"+":"")+An(Pe,2,Se)+":"+An(Math.abs(Z%60),2,Se);default:throw new Error(`Unknown zone width "${p}"`)}}}const Dt=0,St=4;function Fn(p){return hi(p.getFullYear(),p.getMonth(),p.getDate()+(St-p.getDay()))}function Yn(p,P=!1){return function(D,I){let Z;if(P){const Se=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,Pe=D.getDate();Z=1+Math.floor((Pe+Se)/7)}else{const Se=Fn(D),Pe=function pn(p){const P=hi(p,Dt,1).getDay();return hi(p,0,1+(P<=St?St:St+7)-P)}(Se.getFullYear()),rt=Se.getTime()-Pe.getTime();Z=1+Math.round(rt/6048e5)}return An(Z,p,xe(I,q.MinusSign))}}function ji(p,P=!1){return function(D,I){return An(Fn(D).getFullYear(),p,xe(I,q.MinusSign),P)}}const ii={};function $r(p,P){p=p.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(D)?P:D}function Y(p){return p instanceof Date&&!isNaN(p.valueOf())}const ae=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ie=22,Ke=".",st="0",Ut=";",wt=",",on="#";function te(p,P,D,I,Z){const Pe=function $e(p,P="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=p.split(Ut),Z=I[0],Se=I[1],Pe=-1!==Z.indexOf(Ke)?Z.split(Ke):[Z.substring(0,Z.lastIndexOf(st)+1),Z.substring(Z.lastIndexOf(st)+1)],rt=Pe[0],rn=Pe[1]||"";D.posPre=rt.substring(0,rt.indexOf(on));for(let Zt=0;Zt<rn.length;Zt++){const At=rn.charAt(Zt);At===st?D.minFrac=D.maxFrac=Zt+1:At===on?D.maxFrac=Zt+1:D.posSuf+=At}const en=rt.split(wt);if(D.gSize=en[1]?en[1].length:0,D.lgSize=en[2]||en[1]?(en[2]||en[1]).length:0,Se){const Zt=Z.length-D.posPre.length-D.posSuf.length,At=Se.indexOf(on);D.negPre=Se.substring(0,At).replace(/'/g,""),D.negSuf=Se.slice(At+Zt).replace(/'/g,"")}else D.negPre=P+D.posPre,D.negSuf=D.posSuf;return D}(function Re(p,P){return(0,o.cg1)(p)[o.wAp.NumberFormats][P]}(P,He.Currency),xe(P,q.MinusSign));return Pe.minFrac=function ti(p){let P;const D=de[p];return D&&(P=D[2]),"number"==typeof P?P:2}(I),Pe.maxFrac=Pe.minFrac,function he(p,P,D,I,Z,Se,Pe=!1){let rt="",rn=!1;if(isFinite(p)){let en=function Ze(p){let I,Z,Se,Pe,rt,P=Math.abs(p)+"",D=0;for((Z=P.indexOf(Ke))>-1&&(P=P.replace(Ke,"")),(Se=P.search(/e/i))>0?(Z<0&&(Z=Se),Z+=+P.slice(Se+1),P=P.substring(0,Se)):Z<0&&(Z=P.length),Se=0;P.charAt(Se)===st;Se++);if(Se===(rt=P.length))I=[0],Z=1;else{for(rt--;P.charAt(rt)===st;)rt--;for(Z-=Se,I=[],Pe=0;Se<=rt;Se++,Pe++)I[Pe]=Number(P.charAt(Se))}return Z>Ie&&(I=I.splice(0,Ie-1),D=Z-1,Z=1),{digits:I,exponent:D,integerLen:Z}}(p);Pe&&(en=function Ye(p){if(0===p.digits[0])return p;const P=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===P?p.digits.push(0,0):1===P&&p.digits.push(0),p.integerLen+=2),p}(en));let Zt=P.minInt,At=P.minFrac,yn=P.maxFrac;if(Se){const Ni=Se.match(ae);if(null===Ni)throw new Error(`${Se} is not a valid digit info`);const Fr=Ni[1],yr=Ni[3],kr=Ni[5];null!=Fr&&(Zt=Ct(Fr)),null!=yr&&(At=Ct(yr)),null!=kr?yn=Ct(kr):null!=yr&&At>yn&&(yn=At)}!function an(p,P,D){if(P>D)throw new Error(`The minimum number of digits after fraction (${P}) is higher than the maximum (${D}).`);let I=p.digits,Z=I.length-p.integerLen;const Se=Math.min(Math.max(P,Z),D);let Pe=Se+p.integerLen,rt=I[Pe];if(Pe>0){I.splice(Math.max(p.integerLen,Pe));for(let At=Pe;At<I.length;At++)I[At]=0}else{Z=Math.max(0,Z),p.integerLen=1,I.length=Math.max(1,Pe=Se+1),I[0]=0;for(let At=1;At<Pe;At++)I[At]=0}if(rt>=5)if(Pe-1<0){for(let At=0;At>Pe;At--)I.unshift(0),p.integerLen++;I.unshift(1),p.integerLen++}else I[Pe-1]++;for(;Z<Math.max(0,Se);Z++)I.push(0);let rn=0!==Se;const en=P+p.integerLen,Zt=I.reduceRight(function(At,yn,dn,Wn){return Wn[dn]=(yn+=At)<10?yn:yn-10,rn&&(0===Wn[dn]&&dn>=en?Wn.pop():rn=!1),yn>=10?1:0},0);Zt&&(I.unshift(Zt),p.integerLen++)}(en,At,yn);let dn=en.digits,Wn=en.integerLen;const ar=en.exponent;let yi=[];for(rn=dn.every(Ni=>!Ni);Wn<Zt;Wn++)dn.unshift(0);for(;Wn<0;Wn++)dn.unshift(0);Wn>0?yi=dn.splice(Wn,dn.length):(yi=dn,dn=[0]);const mr=[];for(dn.length>=P.lgSize&&mr.unshift(dn.splice(-P.lgSize,dn.length).join(""));dn.length>P.gSize;)mr.unshift(dn.splice(-P.gSize,dn.length).join(""));dn.length&&mr.unshift(dn.join("")),rt=mr.join(xe(D,I)),yi.length&&(rt+=xe(D,Z)+yi.join("")),ar&&(rt+=xe(D,q.Exponential)+"+"+ar)}else rt=xe(D,q.Infinity);return rt=p<0&&!rn?P.negPre+rt+P.negSuf:P.posPre+rt+P.posSuf,rt}(p,Pe,P,q.CurrencyGroup,q.CurrencyDecimal,Z).replace("\xa4",D).replace("\xa4","").trim()}function Ct(p){const P=parseInt(p);if(isNaN(P))throw new Error("Invalid integer literal when parsing "+p);return P}function Mt(p,P){P=encodeURIComponent(P);for(const D of p.split(";")){const I=D.indexOf("="),[Z,Se]=-1==I?[D,""]:[D.slice(0,I),D.slice(I+1)];if(Z.trim()===P)return decodeURIComponent(Se)}return null}const Pn=/\s+/,Wt=[];let Kt=(()=>{class p{constructor(D,I,Z,Se){this._iterableDiffers=D,this._keyValueDiffers=I,this._ngEl=Z,this._renderer=Se,this.initialClasses=Wt,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(Pn):Wt}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(Pn):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(Pn).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)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class Xt{constructor(P,D,I,Z){this.$implicit=P,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 si=(()=>{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,Se,Pe)=>{if(null==Z.previousIndex)I.createEmbeddedView(this._template,new Xt(Z.item,this._ngForOf,-1,-1),null===Pe?void 0:Pe);else if(null==Pe)I.remove(null===Se?void 0:Se);else if(null!==Se){const rt=I.get(Se);I.move(rt,Pe),Ai(rt,Z)}});for(let Z=0,Se=I.length;Z<Se;Z++){const rt=I.get(Z).context;rt.index=Z,rt.count=Se,rt.ngForOf=this._ngForOf}D.forEachIdentityChange(Z=>{Ai(I.get(Z.currentIndex),Z)})}static ngTemplateContextGuard(D,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function Ai(p,P){p.context.$implicit=P.item}let zi=(()=>{class p{constructor(D,I){this._viewContainer=D,this._context=new $n,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)(o.Y36(o.s_b),o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class $n{constructor(){this.$implicit=null,this.ngIf=null}}function wr(p,P){if(P&&!P.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,o.AaK)(P)}'.`)}let zn=(()=>{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,Se]=D.split("."),Pe=-1===Z.indexOf("-")?void 0:o.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,Z,Se?`${I}${Se}`:I,Pe):this._renderer.removeStyle(this._ngEl.nativeElement,Z,Pe)}_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)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),Ji=(()=>{class p{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Z,ngTemplateOutletContext:Se,ngTemplateOutletInjector:Pe}=this;this._viewRef=I.createEmbeddedView(Z,Se,Pe?{injector:Pe}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.s_b))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]})}return p})();function Nn(p,P){return new o.vHH(2100,!1)}class qi{createSubscription(P,D){return(0,o.rg0)(()=>P.subscribe({next:D,error:I=>{throw I}}))}dispose(P){(0,o.rg0)(()=>P.unsubscribe())}}class zr{createSubscription(P,D){return P.then(D,I=>{throw I})}dispose(P){}}const Xr=new zr,es=new qi;let Js=(()=>{class p{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(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,o.QGY)(D))return Xr;if((0,o.F4k)(D))return es;throw Nn()}_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._ref.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.sBO,16))};static#t=this.\u0275pipe=o.Yjl({name:"async",type:p,pure:!1,standalone:!0})}return p})();const ms=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Bn=(()=>{class p{transform(D){if(null==D)return null;if("string"!=typeof D)throw Nn();return D.replace(ms,I=>I[0].toUpperCase()+I.slice(1).toLowerCase())}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=o.Yjl({name:"titlecase",type:p,pure:!0,standalone:!0})}return p})();const Gr=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Bs=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let pr=(()=>{class p{constructor(D,I,Z){this.locale=D,this.defaultTimezone=I,this.defaultOptions=Z}transform(D,I,Z,Se){if(null==D||""===D||D!=D)return null;try{return dr(D,I??this.defaultOptions?.dateFormat??"mediumDate",Se||this.locale,Z??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Pe){throw Nn()}}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.soG,16),o.Y36(Gr,24),o.Y36(Bs,24))};static#t=this.\u0275pipe=o.Yjl({name:"date",type:p,pure:!0,standalone:!0})}return p})(),Xi=(()=>{class p{constructor(D,I="USD"){this._locale=D,this._defaultCurrencyCode=I}transform(D,I=this._defaultCurrencyCode,Z="symbol",Se,Pe){if(!function Mr(p){return!(null==p||""===p||p!=p)}(D))return null;Pe=Pe||this._locale,"boolean"==typeof Z&&(Z=Z?"symbol":"code");let rt=I||this._defaultCurrencyCode;"code"!==Z&&(rt="symbol"===Z||"symbol-narrow"===Z?function Mi(p,P,D="en"){const I=function ut(p){return(0,o.cg1)(p)[o.wAp.Currencies]}(D)[p]||de[p]||[],Z=I[1];return"narrow"===P&&"string"==typeof Z?Z:I[0]||p}(rt,"symbol"===Z?"wide":"narrow",Pe):Z);try{return te(function Tr(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}(D),Pe,rt,I,Se)}catch(rn){throw Nn()}}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.soG,16),o.Y36(o.EJc,16))};static#t=this.\u0275pipe=o.Yjl({name:"currency",type:p,pure:!0,standalone:!0})}return p})();let bt=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=o.oAB({type:p});static#n=this.\u0275inj=o.cJS({})}return p})();const Qt="browser",pi="server";function Jn(p){return p===Qt}function nn(p){return p===pi}let er=(()=>{class p{static#e=this.\u0275prov=(0,o.Yz7)({token:p,providedIn:"root",factory:()=>new vs((0,o.LFG)(H),window)})}return p})();class vs{constructor(P,D){this.document=P,this.window=D,this.offset=()=>[0,0]}setOffset(P){this.offset=Array.isArray(P)?()=>P:P}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(P){this.supportsScrolling()&&this.window.scrollTo(P[0],P[1])}scrollToAnchor(P){if(!this.supportsScrolling())return;const D=function Di(p,P){const D=p.getElementById(P)||p.getElementsByName(P)[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 Se=Z.shadowRoot;if(Se){const Pe=Se.getElementById(P)||Se.querySelector(`[name="${P}"]`);if(Pe)return Pe}Z=I.nextNode()}}return null}(this.document,P);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(P){this.supportsScrolling()&&(this.window.history.scrollRestoration=P)}scrollToElement(P){const D=P.getBoundingClientRect(),I=D.left+this.window.pageXOffset,Z=D.top+this.window.pageYOffset,Se=this.offset();this.window.scrollTo(I-Se[0],Z-Se[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class tr{}},9862:(ze,me,_)=>{_.d(me,{JF:()=>ae,TP:()=>kt,WM:()=>ce,dt:()=>be,eN:()=>K});var o=_(2029),R=_(2096),V=_(7715),z=_(5592),T=_(6328),H=_(2181),N=_(7398),h=_(4716),j=_(4664),A=_(6814);class B{}class U{}class ce{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?"string"==typeof te?this.lazyInit=()=>{this.headers=new Map,te.split("\n").forEach(ne=>{const Ae=ne.indexOf(":");if(Ae>0){const $e=ne.slice(0,Ae),Ye=$e.toLowerCase(),Ze=ne.slice(Ae+1).trim();this.maybeSetNormalizedName($e,Ye),this.headers.has(Ye)?this.headers.get(Ye).push(Ze):this.headers.set(Ye,[Ze])}})}:typeof Headers<"u"&&te instanceof Headers?(this.headers=new Map,te.forEach((ne,Ae)=>{this.setHeaderEntries(Ae,ne)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(te).forEach(([ne,Ae])=>{this.setHeaderEntries(ne,Ae)})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const ne=this.headers.get(te.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,ne){return this.clone({name:te,value:ne,op:"a"})}set(te,ne){return this.clone({name:te,value:ne,op:"s"})}delete(te,ne){return this.clone({name:te,value:ne,op:"d"})}maybeSetNormalizedName(te,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,te)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(ne=>{this.headers.set(ne,te.headers.get(ne)),this.normalizedNames.set(ne,te.normalizedNames.get(ne))})}clone(te){const ne=new ce;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([te]),ne}applyUpdate(te){const ne=te.name.toLowerCase();switch(te.op){case"a":case"s":let Ae=te.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(te.name,ne);const $e=("a"===te.op?this.headers.get(ne):void 0)||[];$e.push(...Ae),this.headers.set(ne,$e);break;case"d":const Ye=te.value;if(Ye){let Ze=this.headers.get(ne);if(!Ze)return;Ze=Ze.filter(an=>-1===Ye.indexOf(an)),0===Ze.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,Ze)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}setHeaderEntries(te,ne){const Ae=(Array.isArray(ne)?ne:[ne]).map(Ye=>Ye.toString()),$e=te.toLowerCase();this.headers.set($e,Ae),this.maybeSetNormalizedName(te,$e)}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>te(this.normalizedNames.get(ne),this.headers.get(ne)))}}class G{encodeKey(te){return lt(te)}encodeValue(te){return lt(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const ge=/%(\d[a-f0-9])/gi,Ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lt(he){return encodeURIComponent(he).replace(ge,(te,ne)=>Ve[ne]??te)}function Ge(he){return`${he}`}class se{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new G,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function we(he,te){const ne=new Map;return he.length>0&&he.replace(/^\?/,"").split("&").forEach($e=>{const Ye=$e.indexOf("="),[Ze,an]=-1==Ye?[te.decodeKey($e),""]:[te.decodeKey($e.slice(0,Ye)),te.decodeValue($e.slice(Ye+1))],Ct=ne.get(Ze)||[];Ct.push(an),ne.set(Ze,Ct)}),ne}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(ne=>{const Ae=te.fromObject[ne],$e=Array.isArray(Ae)?Ae.map(Ge):[Ge(Ae)];this.map.set(ne,$e)})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const ne=this.map.get(te);return ne?ne[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,ne){return this.clone({param:te,value:ne,op:"a"})}appendAll(te){const ne=[];return Object.keys(te).forEach(Ae=>{const $e=te[Ae];Array.isArray($e)?$e.forEach(Ye=>{ne.push({param:Ae,value:Ye,op:"a"})}):ne.push({param:Ae,value:$e,op:"a"})}),this.clone(ne)}set(te,ne){return this.clone({param:te,value:ne,op:"s"})}delete(te,ne){return this.clone({param:te,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const ne=this.encoder.encodeKey(te);return this.map.get(te).map(Ae=>ne+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const ne=new se({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(te),ne}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const ne=("a"===te.op?this.map.get(te.param):void 0)||[];ne.push(Ge(te.value)),this.map.set(te.param,ne);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Ae=this.map.get(te.param)||[];const $e=Ae.indexOf(Ge(te.value));-1!==$e&&Ae.splice($e,1),Ae.length>0?this.map.set(te.param,Ae):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(te,ne){return this.map.set(te,ne),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function ee(he){return typeof ArrayBuffer<"u"&&he instanceof ArrayBuffer}function J(he){return typeof Blob<"u"&&he instanceof Blob}function We(he){return typeof FormData<"u"&&he instanceof FormData}class Le{constructor(te,ne,Ae,$e){let Ye;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function fe(he){switch(he){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||$e?(this.body=void 0!==Ae?Ae:null,Ye=$e):Ye=Ae,Ye&&(this.reportProgress=!!Ye.reportProgress,this.withCredentials=!!Ye.withCredentials,Ye.responseType&&(this.responseType=Ye.responseType),Ye.headers&&(this.headers=Ye.headers),Ye.context&&(this.context=Ye.context),Ye.params&&(this.params=Ye.params)),this.headers||(this.headers=new ce),this.context||(this.context=new He),this.params){const Ze=this.params.toString();if(0===Ze.length)this.urlWithParams=ne;else{const an=ne.indexOf("?");this.urlWithParams=ne+(-1===an?"?":an<ne.length-1?"&":"")+Ze}}else this.params=new se,this.urlWithParams=ne}serializeBody(){return null===this.body?null:ee(this.body)||J(this.body)||We(this.body)||function q(he){return typeof URLSearchParams<"u"&&he instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof se?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||We(this.body)?null:J(this.body)?this.body.type||null:ee(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof se?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(te={}){const ne=te.method||this.method,Ae=te.url||this.url,$e=te.responseType||this.responseType,Ye=void 0!==te.body?te.body:this.body,Ze=void 0!==te.withCredentials?te.withCredentials:this.withCredentials,an=void 0!==te.reportProgress?te.reportProgress:this.reportProgress;let Ct=te.headers||this.headers,zt=te.params||this.params;const ri=te.context??this.context;return void 0!==te.setHeaders&&(Ct=Object.keys(te.setHeaders).reduce((mn,un)=>mn.set(un,te.setHeaders[un]),Ct)),te.setParams&&(zt=Object.keys(te.setParams).reduce((mn,un)=>mn.set(un,te.setParams[un]),zt)),new Le(ne,Ae,Ye,{params:zt,headers:Ct,context:ri,reportProgress:an,responseType:$e,withCredentials:Ze})}}var be=function(he){return he[he.Sent=0]="Sent",he[he.UploadProgress=1]="UploadProgress",he[he.ResponseHeader=2]="ResponseHeader",he[he.DownloadProgress=3]="DownloadProgress",he[he.Response=4]="Response",he[he.User=5]="User",he}(be||{});class ot{constructor(te,ne=200,Ae="OK"){this.headers=te.headers||new ce,this.status=void 0!==te.status?te.status:ne,this.statusText=te.statusText||Ae,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ft extends ot{constructor(te={}){super(te),this.type=be.ResponseHeader}clone(te={}){return new ft({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class ke extends ot{constructor(te={}){super(te),this.type=be.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new ke({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class at extends ot{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function re(he,te){return{body:te,headers:he.headers,context:he.context,observe:he.observe,params:he.params,reportProgress:he.reportProgress,responseType:he.responseType,withCredentials:he.withCredentials}}let K=(()=>{class he{constructor(ne){this.handler=ne}request(ne,Ae,$e={}){let Ye;if(ne instanceof Le)Ye=ne;else{let Ct,zt;Ct=$e.headers instanceof ce?$e.headers:new ce($e.headers),$e.params&&(zt=$e.params instanceof se?$e.params:new se({fromObject:$e.params})),Ye=new Le(ne,Ae,void 0!==$e.body?$e.body:null,{headers:Ct,context:$e.context,params:zt,reportProgress:$e.reportProgress,responseType:$e.responseType||"json",withCredentials:$e.withCredentials})}const Ze=(0,R.of)(Ye).pipe((0,T.b)(Ct=>this.handler.handle(Ct)));if(ne instanceof Le||"events"===$e.observe)return Ze;const an=Ze.pipe((0,H.h)(Ct=>Ct instanceof ke));switch($e.observe||"body"){case"body":switch(Ye.responseType){case"arraybuffer":return an.pipe((0,N.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ct.body}));case"blob":return an.pipe((0,N.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof Blob))throw new Error("Response is not a Blob.");return Ct.body}));case"text":return an.pipe((0,N.U)(Ct=>{if(null!==Ct.body&&"string"!=typeof Ct.body)throw new Error("Response is not a string.");return Ct.body}));default:return an.pipe((0,N.U)(Ct=>Ct.body))}case"response":return an;default:throw new Error(`Unreachable: unhandled observe type ${$e.observe}}`)}}delete(ne,Ae={}){return this.request("DELETE",ne,Ae)}get(ne,Ae={}){return this.request("GET",ne,Ae)}head(ne,Ae={}){return this.request("HEAD",ne,Ae)}jsonp(ne,Ae){return this.request("JSONP",ne,{params:(new se).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Ae={}){return this.request("OPTIONS",ne,Ae)}patch(ne,Ae,$e={}){return this.request("PATCH",ne,re($e,Ae))}post(ne,Ae,$e={}){return this.request("POST",ne,re($e,Ae))}put(ne,Ae,$e={}){return this.request("PUT",ne,re($e,Ae))}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(B))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();function gn(he,te){return te(he)}function ut(he,te){return(ne,Ae)=>te.intercept(ne,{handle:$e=>he($e,Ae)})}const kt=new o.OlP(""),Ue=new o.OlP(""),sn=new o.OlP("");function ht(){let he=null;return(te,ne)=>{null===he&&(he=((0,o.f3M)(kt,{optional:!0})??[]).reduceRight(ut,gn));const Ae=(0,o.f3M)(o.HDt),$e=Ae.add();return he(te,ne).pipe((0,h.x)(()=>Ae.remove($e)))}}let hn=(()=>{class he extends B{constructor(ne,Ae){super(),this.backend=ne,this.injector=Ae,this.chain=null,this.pendingTasks=(0,o.f3M)(o.HDt)}handle(ne){if(null===this.chain){const $e=Array.from(new Set([...this.injector.get(Ue),...this.injector.get(sn,[])]));this.chain=$e.reduceRight((Ye,Ze)=>function Jt(he,te,ne){return(Ae,$e)=>ne.runInContext(()=>te(Ae,Ye=>he(Ye,$e)))}(Ye,Ze,this.injector),gn)}const Ae=this.pendingTasks.add();return this.chain(ne,$e=>this.backend.handle($e)).pipe((0,h.x)(()=>this.pendingTasks.remove(Ae)))}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(U),o.LFG(o.lqb))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();const hi=/^\)\]\}',?\n/;let Ti=(()=>{class he{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new o.vHH(-2800,!1);const Ae=this.xhrFactory;return(Ae.\u0275loadImpl?(0,V.D)(Ae.\u0275loadImpl()):(0,R.of)(null)).pipe((0,j.w)(()=>new z.y(Ye=>{const Ze=Ae.build();if(Ze.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Ze.withCredentials=!0),ne.headers.forEach((Wt,Kt)=>Ze.setRequestHeader(Wt,Kt.join(","))),ne.headers.has("Accept")||Ze.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const Wt=ne.detectContentTypeHeader();null!==Wt&&Ze.setRequestHeader("Content-Type",Wt)}if(ne.responseType){const Wt=ne.responseType.toLowerCase();Ze.responseType="json"!==Wt?Wt:"text"}const an=ne.serializeBody();let Ct=null;const zt=()=>{if(null!==Ct)return Ct;const Wt=Ze.statusText||"OK",Kt=new ce(Ze.getAllResponseHeaders()),Qn=function Et(he){return"responseURL"in he&&he.responseURL?he.responseURL:/^X-Request-URL:/m.test(he.getAllResponseHeaders())?he.getResponseHeader("X-Request-URL"):null}(Ze)||ne.url;return Ct=new ft({headers:Kt,status:Ze.status,statusText:Wt,url:Qn}),Ct},ri=()=>{let{headers:Wt,status:Kt,statusText:Qn,url:kn}=zt(),Xt=null;204!==Kt&&(Xt=typeof Ze.response>"u"?Ze.responseText:Ze.response),0===Kt&&(Kt=Xt?200:0);let si=Kt>=200&&Kt<300;if("json"===ne.responseType&&"string"==typeof Xt){const Ai=Xt;Xt=Xt.replace(hi,"");try{Xt=""!==Xt?JSON.parse(Xt):null}catch(jn){Xt=Ai,si&&(si=!1,Xt={error:jn,text:Xt})}}si?(Ye.next(new ke({body:Xt,headers:Wt,status:Kt,statusText:Qn,url:kn||void 0})),Ye.complete()):Ye.error(new at({error:Xt,headers:Wt,status:Kt,statusText:Qn,url:kn||void 0}))},mn=Wt=>{const{url:Kt}=zt(),Qn=new at({error:Wt,status:Ze.status||0,statusText:Ze.statusText||"Unknown Error",url:Kt||void 0});Ye.error(Qn)};let un=!1;const Mt=Wt=>{un||(Ye.next(zt()),un=!0);let Kt={type:be.DownloadProgress,loaded:Wt.loaded};Wt.lengthComputable&&(Kt.total=Wt.total),"text"===ne.responseType&&Ze.responseText&&(Kt.partialText=Ze.responseText),Ye.next(Kt)},Pn=Wt=>{let Kt={type:be.UploadProgress,loaded:Wt.loaded};Wt.lengthComputable&&(Kt.total=Wt.total),Ye.next(Kt)};return Ze.addEventListener("load",ri),Ze.addEventListener("error",mn),Ze.addEventListener("timeout",mn),Ze.addEventListener("abort",mn),ne.reportProgress&&(Ze.addEventListener("progress",Mt),null!==an&&Ze.upload&&Ze.upload.addEventListener("progress",Pn)),Ze.send(an),Ye.next({type:be.Sent}),()=>{Ze.removeEventListener("error",mn),Ze.removeEventListener("abort",mn),Ze.removeEventListener("load",ri),Ze.removeEventListener("timeout",mn),ne.reportProgress&&(Ze.removeEventListener("progress",Mt),null!==an&&Ze.upload&&Ze.upload.removeEventListener("progress",Pn)),Ze.readyState!==Ze.DONE&&Ze.abort()}})))}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(A.JF))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();const An=new o.OlP("XSRF_ENABLED"),qt=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),gt=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class jr{}let ni=(()=>{class he{constructor(ne,Ae,$e){this.doc=ne,this.platform=Ae,this.cookieName=$e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,A.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(A.K0),o.LFG(o.Lbi),o.LFG(qt))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();function Dt(he,te){const ne=he.url.toLowerCase();if(!(0,o.f3M)(An)||"GET"===he.method||"HEAD"===he.method||ne.startsWith("http://")||ne.startsWith("https://"))return te(he);const Ae=(0,o.f3M)(jr).getToken(),$e=(0,o.f3M)(gt);return null!=Ae&&!he.headers.has($e)&&(he=he.clone({headers:he.headers.set($e,Ae)})),te(he)}var pn=function(he){return he[he.Interceptors=0]="Interceptors",he[he.LegacyInterceptors=1]="LegacyInterceptors",he[he.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",he[he.NoXsrfProtection=3]="NoXsrfProtection",he[he.JsonpSupport=4]="JsonpSupport",he[he.RequestsMadeViaParent=5]="RequestsMadeViaParent",he[he.Fetch=6]="Fetch",he}(pn||{});function Yn(...he){const te=[K,Ti,hn,{provide:B,useExisting:hn},{provide:U,useExisting:Ti},{provide:Ue,useValue:Dt,multi:!0},{provide:An,useValue:!0},{provide:jr,useClass:ni}];for(const ne of he)te.push(...ne.\u0275providers);return(0,o.MR2)(te)}const ii=new o.OlP("LEGACY_INTERCEPTOR_FN");function $i(){return function Fn(he,te){return{\u0275kind:he,\u0275providers:te}}(pn.LegacyInterceptors,[{provide:ii,useFactory:ht},{provide:Ue,useExisting:ii,multi:!0}])}let ae=(()=>{class he{static#e=this.\u0275fac=function(Ae){return new(Ae||he)};static#t=this.\u0275mod=o.oAB({type:he});static#n=this.\u0275inj=o.cJS({providers:[Yn($i())]})}return he})()},2029:(ze,me,_)=>{_.d(me,{QbO:()=>DE,tb:()=>Gd,AFp:()=>Th,ip1:()=>xy,hGG:()=>Iw,z2F:()=>va,Ojb:()=>CE,sBO:()=>hw,Sil:()=>PS,EJc:()=>IS,Xts:()=>Ha,SBq:()=>$a,lqb:()=>Rs,qLn:()=>io,vpe:()=>Ps,XFs:()=>Et,OlP:()=>Dt,zs3:()=>cs,ZZ4:()=>Jd,aQg:()=>qd,soG:()=>bu,YKP:()=>Mm,h0i:()=>Mo,PXZ:()=>rw,R0b:()=>Li,FiY:()=>Dl,Lbi:()=>yc,g9A:()=>Ah,Qsj:()=>kE,FYo:()=>xh,JOm:()=>Il,q3G:()=>Do,tp0:()=>Cl,Rgc:()=>al,dDg:()=>ew,eoX:()=>jy,GfV:()=>Lh,s_b:()=>Du,ifc:()=>mn,VuI:()=>Hw,MMx:()=>Am,Lck:()=>S0,eFA:()=>Wy,Gpc:()=>Ge,f3M:()=>ne,X6Q:()=>fw,$WT:()=>Ei,MR2:()=>cc,_c5:()=>Aw,qFp:()=>jw,rg0:()=>Zt,c2e:()=>Ly,zSh:()=>hc,HDt:()=>Fy,wAp:()=>pa,vHH:()=>J,lri:()=>Hy,rWj:()=>Uy,JZr:()=>ee,EiD:()=>mh,mCW:()=>Bl,qzn:()=>Ko,JVY:()=>W_,pB0:()=>Q_,eBb:()=>Z_,L6k:()=>K_,LAX:()=>Y_,cg1:()=>vd,kL8:()=>Jg,dqk:()=>gt,Z0I:()=>Ui,eJc:()=>Ld,QGY:()=>sd,F4k:()=>ng,RDi:()=>V_,AaK:()=>ge,z3N:()=>Ws,qOj:()=>Kc,Xq5:()=>Fp,TTD:()=>yi,_Bn:()=>wm,jDz:()=>Im,xp6:()=>ap,uIk:()=>Yc,Tol:()=>Sg,Gre:()=>Vg,ekj:()=>hd,Suo:()=>fy,Xpm:()=>ms,lG2:()=>ts,Yz7:()=>Ht,cJS:()=>yt,oAB:()=>Gr,Yjl:()=>ns,Y36:()=>ta,_UZ:()=>id,GkF:()=>rd,BQk:()=>cu,ynx:()=>uu,qZA:()=>lu,TgZ:()=>au,EpF:()=>tg,n5z:()=>Ef,LFG:()=>he,$8M:()=>ku,$Z:()=>up,NdJ:()=>od,CRH:()=>hy,kcU:()=>sf,O4$:()=>Gs,oxw:()=>ag,ALo:()=>Qm,lcZ:()=>Jm,xi3:()=>qm,Hsn:()=>ug,F$t:()=>lg,Q6J:()=>td,s9C:()=>ad,MGl:()=>du,hYB:()=>ld,DdM:()=>Fm,VKq:()=>km,WLB:()=>Bm,kEZ:()=>Vm,l5B:()=>Hm,qbA:()=>Um,HTZ:()=>jm,Hh0:()=>$m,rFY:()=>zm,iGM:()=>cy,MAs:()=>qp,KtG:()=>go,evT:()=>Zh,Jf7:()=>Kh,CHM:()=>No,oJD:()=>yh,LSH:()=>lc,P3R:()=>_h,B6R:()=>Bn,Akn:()=>ds,Udp:()=>fd,YNc:()=>Yp,W1O:()=>yy,_uU:()=>Rg,Oqu:()=>gd,hij:()=>pu,AsE:()=>md,lnq:()=>yd,Gf:()=>dy});var o=_(8645),R=_(7394),V=_(5592),z=_(7537),T=_(4829),H=_(6232),N=_(9940),h=_(7715),A=_(5619),B=_(2096),U=_(3020),ce=_(4664),le=_(3997);function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).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 Ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const lt=G({__forward_ref__:G});function Ge(e){return e.__forward_ref__=Ge,e.toString=function(){return ge(this())},e}function se(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(lt)&&e.__forward_ref__===Ge}function He(e){return e&&!!e.\u0275providers}const ee="https://g.co/ng/security#xss";class J extends Error{constructor(t,n){super(function We(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function q(e){return"string"==typeof e?e:null==e?"":String(e)}function ke(e,t){throw new J(-201,!1)}function kt(e,t){null==e&&function Ue(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Ht(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ti(e){return Un(e,vt)||Un(e,dr)}function Ui(e){return null!==ti(e)}function Un(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ln(e){return e&&(e.hasOwnProperty(Rt)||e.hasOwnProperty(hi))?e[Rt]:null}const vt=G({\u0275prov:G}),Rt=G({\u0275inj:G}),dr=G({ngInjectableDef:G}),hi=G({ngInjectorDef:G});var Et=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}(Et||{});let Ti;function Rn(e){const t=Ti;return Ti=e,t}function qt(e,t,n){const i=ti(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Et.Optional?null:void 0!==t?t:void ke(ge(e))}const gt=globalThis;class Dt{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=Ht({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ee={},Y="__NG_DI_FLAG__",ae="ngTempTokenPath",Ke=/\n/gm,Ut="__source";let wt;function Bt(e){const t=wt;return wt=e,t}function _i(e,t=Et.Default){if(void 0===wt)throw new J(-203,!1);return null===wt?qt(e,void 0,t):wt.get(e,t&Et.Optional?null:void 0,t)}function he(e,t=Et.Default){return(function An(){return Ti}()||_i)(se(e),t)}function ne(e,t=Et.Default){return he(e,Ae(t))}function Ae(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $e(e){const t=[];for(let n=0;n<e.length;n++){const i=se(e[n]);if(Array.isArray(i)){if(0===i.length)throw new J(900,!1);let r,s=Et.Default;for(let a=0;a<i.length;a++){const d=i[a],m=Ze(d);"number"==typeof m?-1===m?r=d.token:s|=m:r=d}t.push(he(r,s))}else t.push(he(i))}return t}function Ye(e,t){return e[Y]=t,e.prototype[Y]=t,e}function Ze(e){return e[Y]}function zt(e){return{toString:e}.toString()}var ri=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ri||{}),mn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(mn||{});const un={},Mt=[],Pn=G({\u0275cmp:G}),Wt=G({\u0275dir:G}),Kt=G({\u0275pipe:G}),Qn=G({\u0275mod:G}),kn=G({\u0275fac:G}),Xt=G({__NG_ELEMENT_ID__:G}),si=G({__NG_ENV_ID__:G});function Ai(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}n=r+1}}function jn(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const s=n[i++],a=n[i++],d=n[i++];e.setAttribute(t,a,d,s)}else{const s=r,a=n[++i];$n(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),i++}}return i}function zi(e){return 3===e||4===e||6===e}function $n(e){return 64===e.charCodeAt(0)}function wr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Ii(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Ii(e,t,n,i,r){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const d=e[s++];if("number"==typeof d){if(d===t){a=-1;break}if(d>t){a=s-1;break}}}for(;s<e.length;){const d=e[s];if("number"==typeof d)break;if(d===n){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}const hr="ng-template";function Fs(e,t,n){let i=0,r=!0;for(;i<e.length;){let s=e[i++];if("string"==typeof s&&r){const a=e[i++];if(n&&"class"===s&&-1!==Ai(a.toLowerCase(),t,0))return!0}else{if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(r=!1)}}return!1}function qr(e){return 4===e.type&&e.value!==hr}function Oi(e,t,n){return t===(4!==e.type||n?e.value:hr)}function wn(e,t,n){let i=4;const r=e.attrs||[],s=function Nn(e){for(let t=0;t<e.length;t++)if(zi(e[t]))return t;return e.length}(r);let a=!1;for(let d=0;d<t.length;d++){const m=t[d];if("number"!=typeof m){if(!a)if(4&i){if(i=2|1&i,""!==m&&!Oi(e,m,n)||""===m&&1===t.length){if(Dn(i))return!1;a=!0}}else{const S=8&i?m:t[++d];if(8&i&&null!==e.attrs){if(!Fs(e.attrs,S,n)){if(Dn(i))return!1;a=!0}continue}const $=zn(8&i?"class":m,r,qr(e),n);if(-1===$){if(Dn(i))return!1;a=!0;continue}if(""!==S){let ue;ue=$>s?"":r[$+1].toLowerCase();const ye=8&i?ue:null;if(ye&&-1!==Ai(ye,S,0)||2&i&&S!==ue){if(Dn(i))return!1;a=!0}}}}else{if(!a&&!Dn(i)&&!Dn(m))return!1;if(a&&Dn(m))continue;a=!1,i=m|1&i}}return Dn(i)||a}function Dn(e){return 0==(1&e)}function zn(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r<t.length;){const a=t[r];if(a===e)return r;if(3===a||6===a)s=!0;else{if(1===a||2===a){let d=t[++r];for(;"string"==typeof d;)d=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=s?1:2}return-1}return function qi(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ji(e,t,n=!1){for(let i=0;i<t.length;i++)if(wn(e,t[i],n))return!0;return!1}function zr(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Xr(e,t){return e?":not("+t.trim()+")":t}function es(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const d=e[++n];r+="["+a+(d.length>0?'="'+d+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!Dn(a)&&(t+=Xr(s,r),r=""),i=a,s=s||!Dn(i);n++}return""!==r&&(t+=Xr(s,r)),t}function ms(e){return zt(()=>{const t=oi(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ri.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||mn.Emulated,styles:e.styles||Mt,_:null,schemas:e.schemas||null,tView:null,id:""};Ri(n);const i=e.dependencies;return n.directiveDefs=Xi(i,!1),n.pipeDefs=Xi(i,!0),n.id=function Tr(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 r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Bn(e,t,n){const i=e.\u0275cmp;i.directiveDefs=Xi(t,!1),i.pipeDefs=Xi(n,!0)}function ys(e){return Lt(e)||cn(e)}function ks(e){return null!==e}function Gr(e){return zt(()=>({type:e.type,bootstrap:e.bootstrap||Mt,declarations:e.declarations||Mt,imports:e.imports||Mt,exports:e.exports||Mt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pr(e,t){if(null==e)return un;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}function ts(e){return zt(()=>{const t=oi(e);return Ri(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 Lt(e){return e[Pn]||null}function cn(e){return e[Wt]||null}function Vn(e){return e[Kt]||null}function Ei(e){const t=Lt(e)||cn(e)||Vn(e);return null!==t&&t.standalone}function Cn(e,t){const n=e[Qn]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}function oi(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||un,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Mt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pr(e.inputs,t),outputs:pr(e.outputs)}}function Ri(e){e.features?.forEach(t=>t(e))}function Xi(e,t){if(!e)return null;const n=t?Vn:ys;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(ks)}const Yt=0,qe=1,bt=2,Qt=3,pi=4,gr=5,Mn=6,Jn=7,nn=8,gi=9,qn=10,_t=11,er=12,vs=13,Di=14,bn=15,tr=16,Pi=17,xn=18,nr=19,ir=20,ki=21,mi=22,Wi=23,Ar=24,Ft=25,Vs=1,qs=2,Ki=7,Bi=9,ln=11;function In(e){return Array.isArray(e)&&"object"==typeof e[Vs]}function ai(e){return Array.isArray(e)&&!0===e[Vs]}function _s(e){return 0!=(4&e.flags)}function Or(e){return e.componentOffset>-1}function Rr(e){return 1==(1&e.flags)}function Xn(e){return!!e.template}function M(e){return 0!=(512&e[bt])}function or(e,t){return e.hasOwnProperty(kn)?e[kn]:null}let Gn=null,xr=!1;function Vi(e){const t=Gn;return Gn=e,t}const rs={version: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:()=>{}};function Wr(e){if(!Lr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!co(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function uo(e){e.dirty=!0,function eo(e){if(void 0===e.liveConsumerNode)return;const t=xr;xr=!0;try{for(const n of e.liveConsumerNode)n.dirty||uo(n)}finally{xr=t}}(e),e.consumerMarkedDirty?.(e)}function js(e){return e&&(e.nextProducerIndex=0),Vi(e)}function os(e,t){if(Vi(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Lr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ms(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function co(e){Kr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Wr(n),i!==n.version))return!0}return!1}function ws(e){if(Kr(e),Lr(e))for(let t=0;t<e.producerNode.length;t++)Ms(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ms(e,t){if(function fo(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Kr(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Ms(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];Kr(r),r.producerIndexOfThis[i]=t}}function Lr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Kr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let as=null;function Zt(e){const t=Vi(null);try{return e()}finally{Vi(t)}}const yn=()=>{},dn=(()=>({...rs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:yn}))();class ar{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function yi(){return mr}function mr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Fr),Ni}function Ni(){const e=kr(this),t=e?.current;if(t){const n=e.previous;if(n===un)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Fr(e,t,n,i){const r=this.declaredInputs[n],s=kr(e)||function wa(e,t){return e[yr]=t}(e,{previous:un,current:null}),a=s.current||(s.current={}),d=s.previous,m=d[r];a[r]=new ar(m&&m.currentValue,t,d===un),e[i]=t}yi.ngInherit=!0;const yr="__ngSimpleChanges__";function kr(e){return e[yr]||null}const vr=function(e,t,n){},Is="svg";function vn(e){for(;Array.isArray(e);)e=e[Yt];return e}function to(e,t){return vn(t[e])}function C(e,t){return vn(t[e.index])}function l(e,t){return e.data[t]}function v(e,t){return e[t]}function w(e,t){const n=t[e];return In(n)?n:n[Yt]}function _e(e,t){return null==t?null:e[t]}function Te(e){e[Pi]=0}function Xe(e){1024&e[bt]||(e[bt]|=1024,$t(e,1))}function Qe(e){1024&e[bt]&&(e[bt]&=-1025,$t(e,-1))}function $t(e,t){let n=e[Qt];if(null===n)return;n[gr]+=t;let i=n;for(n=n[Qt];null!==n&&(1===t&&1===i[gr]||-1===t&&0===i[gr]);)n[gr]+=t,i=n,n=n[Qt]}const Be={lFrame:De(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zr(){return Be.bindingsEnabled}function ci(){return null!==Be.skipHydrationRootTNode}function Ne(){return Be.lFrame.lView}function jt(){return Be.lFrame.tView}function No(e){return Be.lFrame.contextLView=e,e[nn]}function go(e){return Be.lFrame.contextLView=null,e}function et(){let e=ct();for(;null!==e&&64===e.type;)e=e.parent;return e}function ct(){return Be.lFrame.currentTNode}function xt(e,t){const n=Be.lFrame;n.currentTNode=e,n.isParent=t}function Hn(){return Be.lFrame.isParent}function Zi(){Be.lFrame.isParent=!1}function vi(){const e=Be.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Er(){return Be.lFrame.bindingIndex}function lr(){return Be.lFrame.bindingIndex++}function Kn(e){const t=Be.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nf(e,t){const n=Be.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){Be.lFrame.currentDirectiveIndex=e}function c(){return Be.lFrame.currentQueryIndex}function y(e){Be.lFrame.currentQueryIndex=e}function b(e){const t=e[qe];return 2===t.type?t.declTNode:1===t.type?e[Mn]:null}function L(e,t,n){if(n&Et.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&Et.Host||(r=b(s),null===r||(s=s[Di],10&r.type))););if(null===r)return!1;t=r,e=s}const i=Be.lFrame=Ce();return i.currentTNode=t,i.lView=e,!0}function W(e){const t=Ce(),n=e[qe];Be.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ce(){const e=Be.lFrame,t=null===e?null:e.child;return null===t?De(e):t}function De(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 tt(){const e=Be.lFrame;return Be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const It=tt;function fn(){const e=tt();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 fi(){return Be.lFrame.selectedIndex}function Vr(e){Be.lFrame.selectedIndex=e}function Tn(){const e=Be.lFrame;return l(e.tView,e.selectedIndex)}function Gs(){Be.lFrame.currentNamespace=Is}function sf(){!function vv(){Be.lFrame.currentNamespace=null}()}let lf=!0;function dl(){return lf}function no(e){lf=e}function fl(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:d,ngAfterViewInit:m,ngAfterViewChecked:S,ngOnDestroy:x}=s;a&&(e.contentHooks??=[]).push(-n,a),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),m&&(e.viewHooks??=[]).push(-n,m),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=x&&(e.destroyHooks??=[]).push(n,x)}}function hl(e,t,n){uf(e,t,3,n)}function pl(e,t,n,i){(3&e[bt])===n&&uf(e,t,n,i)}function Ou(e,t){let n=e[bt];(3&n)===t&&(n&=8191,n+=1,e[bt]=n)}function uf(e,t,n,i){const s=i??-1,a=t.length-1;let d=0;for(let m=void 0!==i?65535&e[Pi]:0;m<a;m++)if("number"==typeof t[m+1]){if(d=t[m],null!=i&&d>=i)break}else t[m]<0&&(e[Pi]+=65536),(d<s||-1==s)&&(Ev(e,n,t,m),e[Pi]=(4294901760&e[Pi])+m+2),m++}function cf(e,t){vr(4,e,t);const n=Vi(null);try{t.call(e)}finally{Vi(n),vr(5,e,t)}}function Ev(e,t,n,i){const r=n[i]<0,s=n[i+1],d=e[r?-n[i]:n[i]];r?e[bt]>>13<e[Pi]>>16&&(3&e[bt])===t&&(e[bt]+=8192,cf(d,s)):cf(d,s)}const xo=-1;class Ta{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Pu(e){return e!==xo}function Aa(e){return 32767&e}function Ia(e,t){let n=function Sv(e){return e>>16}(e),i=t;for(;n>0;)i=i[Di],n--;return i}let Nu=!0;function gl(e){const t=Nu;return Nu=e,t}const df=255,ff=5;let wv=0;const Os={};function ml(e,t){const n=hf(e,t);if(-1!==n)return n;const i=t[qe];i.firstCreatePass&&(e.injectorIndex=t.length,xu(i.data,e),xu(t,null),xu(i.blueprint,null));const r=yl(e,t),s=e.injectorIndex;if(Pu(r)){const a=Aa(r),d=Ia(r,t),m=d[qe].data;for(let S=0;S<8;S++)t[s+S]=d[a+S]|m[a+S]}return t[s+8]=r,s}function xu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function yl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=Df(r),null===i)return xo;if(n++,r=r[Di],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return xo}function Lu(e,t,n){!function Mv(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(i=n[Xt]),null==i&&(i=n[Xt]=wv++);const r=i&df;t.data[e+(r>>ff)]|=1<<r}(e,t,n)}function pf(e,t,n){if(n&Et.Optional||void 0!==e)return e;ke()}function gf(e,t,n,i){if(n&Et.Optional&&void 0===i&&(i=null),!(n&(Et.Self|Et.Host))){const r=e[gi],s=Rn(void 0);try{return r?r.get(t,i,n&Et.Optional):qt(t,i,n&Et.Optional)}finally{Rn(s)}}return pf(i,0,n)}function mf(e,t,n,i=Et.Default,r){if(null!==e){if(2048&t[bt]&&!(i&Et.Self)){const a=function Pv(e,t,n,i,r){let s=e,a=t;for(;null!==s&&null!==a&&2048&a[bt]&&!(512&a[bt]);){const d=yf(s,a,n,i|Et.Self,Os);if(d!==Os)return d;let m=s.parent;if(!m){const S=a[ir];if(S){const x=S.get(n,Os,i);if(x!==Os)return x}m=Df(a),a=a[Di]}s=m}return r}(e,t,n,i,Os);if(a!==Os)return a}const s=yf(e,t,n,i,Os);if(s!==Os)return s}return gf(t,n,i,r)}function yf(e,t,n,i,r){const s=function Iv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Xt)?e[Xt]:void 0;return"number"==typeof t?t>=0?t&df:Rv:t}(n);if("function"==typeof s){if(!L(t,e,i))return i&Et.Host?pf(r,0,i):gf(t,n,i,r);try{let a;if(a=s(i),null!=a||i&Et.Optional)return a;ke()}finally{It()}}else if("number"==typeof s){let a=null,d=hf(e,t),m=xo,S=i&Et.Host?t[bn][Mn]:null;for((-1===d||i&Et.SkipSelf)&&(m=-1===d?yl(e,t):t[d+8],m!==xo&&_f(i,!1)?(a=t[qe],d=Aa(m),t=Ia(m,t)):d=-1);-1!==d;){const x=t[qe];if(vf(s,d,x.data)){const $=Av(d,t,n,a,i,S);if($!==Os)return $}m=t[d+8],m!==xo&&_f(i,t[qe].data[d+8]===S)&&vf(s,d,t)?(a=x,d=Aa(m),t=Ia(m,t)):d=-1}}return r}function Av(e,t,n,i,r,s){const a=t[qe],d=a.data[e+8],x=vl(d,a,n,null==i?Or(d)&&Nu:i!=a&&0!=(3&d.type),r&Et.Host&&s===d);return null!==x?vo(t,a,x,d):Os}function vl(e,t,n,i,r){const s=e.providerIndexes,a=t.data,d=1048575&s,m=e.directiveStart,x=s>>20,ue=r?d+x:e.directiveEnd;for(let ye=i?d:d+x;ye<ue;ye++){const Oe=a[ye];if(ye<m&&n===Oe||ye>=m&&Oe.type===n)return ye}if(r){const ye=a[m];if(ye&&Xn(ye)&&ye.type===n)return m}return null}function vo(e,t,n,i){let r=e[n];const s=t.data;if(function Dv(e){return e instanceof Ta}(r)){const a=r;a.resolving&&function be(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new J(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}(s[n]));const d=gl(a.canSeeViewProviders);a.resolving=!0;const S=a.injectImpl?Rn(a.injectImpl):null;L(e,i,Et.Default);try{r=e[n]=a.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function _v(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const a=mr(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==S&&Rn(S),gl(d),a.resolving=!1,It()}}return r}function vf(e,t,n){return!!(n[t+(e>>ff)]&1<<e)}function _f(e,t){return!(e&Et.Self||e&Et.Host&&t)}class ur{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return mf(this._tNode,this._lView,t,Ae(i),n)}}function Rv(){return new ur(et(),Ne())}function Ef(e){return zt(()=>{const t=e.prototype.constructor,n=t[kn]||Fu(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[kn]||Fu(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Fu(e){return de(e)?()=>{const t=Fu(se(e));return t&&t()}:or(e)}function Df(e){const t=e[qe],n=t.type;return 2===n?t.declTNode:1===n?e[Mn]:null}function ku(e){return function Tv(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const s=n[r];if(zi(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}(et(),e)}const Fo="__parameters__";function Bo(e,t,n){return zt(()=>{const i=function Bu(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const a=new r(...s);return d.annotation=a,d;function d(m,S,x){const $=m.hasOwnProperty(Fo)?m[Fo]:Object.defineProperty(m,Fo,{value:[]})[Fo];for(;$.length<=x;)$.push(null);return($[x]=$[x]||[]).push(a),m}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function bf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function _l(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pa(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Hr(e,t,n){let i=Uo(e,t);return i>=0?e[1|i]=n:(i=~i,function Vv(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Vu(e,t){const n=Uo(e,t);if(n>=0)return e[1|n]}function Uo(e,t){return function Sf(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),a=e[s<<n];if(t===a)return s<<n;a>t?r=s:i=s+1}return~(r<<n)}(e,t,1)}const Dl=Ye(Bo("Optional"),8),Cl=Ye(Bo("SkipSelf"),4);function Tl(e){return 128==(128&e.flags)}var Il=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Il||{});const o_=/^>|^->|<!--|-->|--!>|<!-$/g,a_=/(<|>)/g,l_="\u200b$1\u200b";const zu=new Map;let u_=0;const Wu="__ngContext__";function Yi(e,t){In(t)?(e[Wu]=t[nr],function d_(e){zu.set(e[nr],e)}(t)):e[Wu]=t}let Ku;function Zu(e,t){return Ku(e,t)}function La(e){const t=e[Qt];return ai(t)?t[Qt]:t}function zf(e){return Wf(e[er])}function Gf(e){return Wf(e[pi])}function Wf(e){for(;null!==e&&!ai(e);)e=e[pi];return e}function zo(e,t,n,i,r){if(null!=i){let s,a=!1;ai(i)?s=i:In(i)&&(a=!0,i=i[Yt]);const d=vn(i);0===e&&null!==n?null==r?Qf(t,n,d):_o(t,n,d,r||null,!0):1===e&&null!==n?_o(t,n,d,r||null,!0):2===e?function Ll(e,t,n){const i=Nl(e,t);i&&function O_(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,d,a):3===e&&t.destroyNode(d),null!=s&&function N_(e,t,n,i,r){const s=n[Ki];s!==vn(n)&&zo(t,e,i,s,r);for(let d=ln;d<n.length;d++){const m=n[d];ka(m[qe],m,e,t,i,s)}}(t,e,s,n,r)}}function Yu(e,t){return e.createComment(function Ff(e){return e.replace(o_,t=>t.replace(a_,l_))}(t))}function Rl(e,t,n){return e.createElement(t,n)}function Zf(e,t){const n=e[Bi],i=n.indexOf(t);Qe(t),n.splice(i,1)}function Pl(e,t){if(e.length<=ln)return;const n=ln+t,i=e[n];if(i){const r=i[tr];null!==r&&r!==e&&Zf(r,i),t>0&&(e[n-1][pi]=i[pi]);const s=_l(e,ln+t);!function C_(e,t){ka(e,t,t[_t],2,null,null),t[Yt]=null,t[Mn]=null}(i[qe],i);const a=s[xn];null!==a&&a.detachView(s[qe]),i[Qt]=null,i[pi]=null,i[bt]&=-129}return i}function Qu(e,t){if(!(256&t[bt])){const n=t[_t];t[Wi]&&ws(t[Wi]),t[Ar]&&ws(t[Ar]),n.destroyNode&&ka(e,t,n,3,null,null),function w_(e){let t=e[er];if(!t)return Ju(e[qe],e);for(;t;){let n=null;if(In(t))n=t[er];else{const i=t[ln];i&&(n=i)}if(!n){for(;t&&!t[pi]&&t!==e;)In(t)&&Ju(t[qe],t),t=t[Qt];null===t&&(t=e),In(t)&&Ju(t[qe],t),n=t&&t[pi]}t=n}}(t)}}function Ju(e,t){if(!(256&t[bt])){t[bt]&=-129,t[bt]|=256,function I_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof Ta)){const s=n[i+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const d=r[s[a]],m=s[a+1];vr(4,d,m);try{m.call(d)}finally{vr(5,d,m)}}else{vr(4,r,s);try{s.call(r)}finally{vr(5,r,s)}}}}}(e,t),function A_(e,t){const n=e.cleanup,i=t[Jn];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else n[s].call(i[n[s+1]]);null!==i&&(t[Jn]=null);const r=t[ki];if(null!==r){t[ki]=null;for(let s=0;s<r.length;s++)(0,r[s])()}}(e,t),1===t[qe].type&&t[_t].destroy();const n=t[tr];if(null!==n&&ai(t[Qt])){n!==t[Qt]&&Zf(n,t);const i=t[xn];null!==i&&i.detachView(e)}!function f_(e){zu.delete(e[nr])}(t)}}function qu(e,t,n){return function Yf(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Yt];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:s}=e.data[i.directiveStart+r];if(s===mn.None||s===mn.Emulated)return null}return C(i,n)}}(e,t.parent,n)}function _o(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Qf(e,t,n){e.appendChild(t,n)}function Jf(e,t,n,i,r){null!==i?_o(e,t,n,i,r):Qf(e,t,n)}function Nl(e,t){return e.parentNode(t)}function qf(e,t,n){return eh(e,t,n)}let Xu,Fl,ic,kl,eh=function Xf(e,t,n){return 40&e.type?C(e,n):null};function xl(e,t,n,i){const r=qu(e,i,t),s=t[_t],d=qf(i.parent||t[Mn],i,t);if(null!=r)if(Array.isArray(n))for(let m=0;m<n.length;m++)Jf(s,r,n[m],d,!1);else Jf(s,r,n,d,!1);void 0!==Xu&&Xu(s,i,t,n,r)}function Fa(e,t){if(null!==t){const n=t.type;if(3&n)return C(t,e);if(4&n)return ec(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Fa(e,i);{const r=e[t.index];return ai(r)?ec(-1,r):vn(r)}}if(32&n)return Zu(t,e)()||vn(e[t.index]);{const i=nh(e,t);return null!==i?Array.isArray(i)?i[0]:Fa(La(e[bn]),i):Fa(e,t.next)}}return null}function nh(e,t){return null!==t?e[bn][Mn].projection[t.projection]:null}function ec(e,t){const n=ln+e+1;if(n<t.length){const i=t[n],r=i[qe].firstChild;if(null!==r)return Fa(i,r)}return t[Ki]}function tc(e,t,n,i,r,s,a){for(;null!=n;){const d=i[n.index],m=n.type;if(a&&0===t&&(d&&Yi(vn(d),i),n.flags|=2),32!=(32&n.flags))if(8&m)tc(e,t,n.child,i,r,s,!1),zo(t,e,r,d,s);else if(32&m){const S=Zu(n,i);let x;for(;x=S();)zo(t,e,r,x,s);zo(t,e,r,d,s)}else 16&m?rh(e,t,i,n,r,s):zo(t,e,r,d,s);n=a?n.projectionNext:n.next}}function ka(e,t,n,i,r,s){tc(n,i,e.firstChild,t,r,s,!1)}function rh(e,t,n,i,r,s){const a=n[bn],m=a[Mn].projection[i.projection];if(Array.isArray(m))for(let S=0;S<m.length;S++)zo(t,e,r,m[S],s);else{let S=m;const x=a[Qt];Tl(i)&&(S.flags|=128),tc(e,t,S,x,r,s,!0)}}function sh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function oh(e,t,n){const{mergedAttrs:i,classes:r,styles:s}=n;null!==i&&jn(e,t,i),null!==r&&sh(e,t,r),null!==s&&function L_(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Go(e){return function nc(){if(void 0===Fl&&(Fl=null,gt.trustedTypes))try{Fl=gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fl}()?.createHTML(e)||e}function V_(e){ic=e}function Wo(){if(void 0!==ic)return ic;if(typeof document<"u")return document;throw new J(210,!1)}function rc(){if(void 0===kl&&(kl=null,gt.trustedTypes))try{kl=gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function ah(e){return rc()?.createHTML(e)||e}function uh(e){return rc()?.createScriptURL(e)||e}class Eo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ee})`}}class H_ extends Eo{getTypeName(){return"HTML"}}class U_ extends Eo{getTypeName(){return"Style"}}class j_ extends Eo{getTypeName(){return"Script"}}class $_ extends Eo{getTypeName(){return"URL"}}class z_ extends Eo{getTypeName(){return"ResourceURL"}}function Ws(e){return e instanceof Eo?e.changingThisBreaksApplicationSecurity:e}function Ko(e,t){const n=function G_(e){return e instanceof Eo&&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 ${ee})`)}return n===t}function W_(e){return new H_(e)}function K_(e){return new U_(e)}function Z_(e){return new j_(e)}function Y_(e){return new $_(e)}function Q_(e){return new z_(e)}class J_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Go(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class q_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Go(t),n}}const eE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Bl(e){return(e=String(e)).match(eE)?e:"unsafe:"+e}function Ks(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ba(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const dh=Ks("area,br,col,hr,img,wbr"),fh=Ks("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Ks("rp,rt"),sc=Ba(dh,Ba(fh,Ks("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")),Ba(hh,Ks("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")),Ba(hh,fh)),oc=Ks("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Ba(oc,Ks("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"),Ks("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")),tE=Ks("script,style,template");class nE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!sc.hasOwnProperty(n))return this.sanitizedSomething=!0,!tE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const s=i.item(r),a=s.name,d=a.toLowerCase();if(!ph.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let m=s.value;oc[d]&&(m=Bl(m)),this.buf.push(" ",a,'="',gh(m),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();sc.hasOwnProperty(n)&&!dh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(gh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const iE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rE=/([^\#-~ |!])/g;function gh(e){return e.replace(/&/g,"&amp;").replace(iE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(rE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Vl;function mh(e,t){let n=null;try{Vl=Vl||function ch(e){const t=new q_(e);return function X_(){try{return!!(new window.DOMParser).parseFromString(Go(""),"text/html")}catch{return!1}}()?new J_(t):t}(e);let i=t?String(t):"";n=Vl.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Vl.getInertBodyElement(i)}while(i!==s);return Go((new nE).sanitizeChildren(ac(n)||n))}finally{if(n){const i=ac(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function ac(e){return"content"in e&&function sE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Do=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}(Do||{});function yh(e){const t=Va();return t?ah(t.sanitize(Do.HTML,e)||""):Ko(e,"HTML")?ah(Ws(e)):mh(Wo(),q(e))}function lc(e){const t=Va();return t?t.sanitize(Do.URL,e)||"":Ko(e,"URL")?Ws(e):Bl(q(e))}function vh(e){const t=Va();if(t)return uh(t.sanitize(Do.RESOURCE_URL,e)||"");if(Ko(e,"ResourceURL"))return uh(Ws(e));throw new J(904,!1)}function _h(e,t,n){return function cE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vh:lc}(t,n)(e)}function Va(){const e=Ne();return e&&e[qn].sanitizer}const Ha=new Dt("ENVIRONMENT_INITIALIZER"),Eh=new Dt("INJECTOR",-1),Dh=new Dt("INJECTOR_DEF_TYPES");class uc{get(t,n=Ee){if(n===Ee){const i=new Error(`NullInjectorError: No provider for ${ge(t)}!`);throw i.name="NullInjectorError",i}return n}}function cc(e){return{\u0275providers:e}}function dE(...e){return{\u0275providers:Ch(0,e),\u0275fromNgModule:!0}}function Ch(e,...t){const n=[],i=new Set;let r;const s=a=>{n.push(a)};return Ho(t,a=>{const d=a;Hl(d,s,[],i)&&(r||=[],r.push(d))}),void 0!==r&&bh(r,s),n}function bh(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];dc(r,s=>{t(s,i)})}}function Hl(e,t,n,i){if(!(e=se(e)))return!1;let r=null,s=Ln(e);const a=!s&&Lt(e);if(s||a){if(a&&!a.standalone)return!1;r=e}else{const m=e.ngModule;if(s=Ln(m),!s)return!1;r=m}const d=i.has(r);if(a){if(d)return!1;if(i.add(r),a.dependencies){const m="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const S of m)Hl(S,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let S;i.add(r);try{Ho(s.imports,x=>{Hl(x,t,n,i)&&(S||=[],S.push(x))})}finally{}void 0!==S&&bh(S,t)}if(!d){const S=or(r)||(()=>new r);t({provide:r,useFactory:S,deps:Mt},r),t({provide:Dh,useValue:r,multi:!0},r),t({provide:Ha,useValue:()=>he(r),multi:!0},r)}const m=s.providers;if(null!=m&&!d){const S=e;dc(m,x=>{t(x,S)})}}}return r!==e&&void 0!==e.providers}function dc(e,t){for(let n of e)He(n)&&(n=n.\u0275providers),Array.isArray(n)?dc(n,t):t(n)}const fE=G({provide:String,useValue:G});function fc(e){return null!==e&&"object"==typeof e&&fE in e}function Co(e){return"function"==typeof e}const hc=new Dt("Set Injector scope."),Ul={},pE={};let pc;function jl(){return void 0===pc&&(pc=new uc),pc}class Rs{}class Zo extends Rs{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mc(t,a=>this.processProvider(a)),this.records.set(Eh,Yo(void 0,this)),r.has("environment")&&this.records.set(Rs,Yo(void 0,this));const s=this.records.get(hc);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Dh.multi,Mt,Et.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Bt(this),i=Rn(void 0);try{return t()}finally{Bt(n),Rn(i)}}get(t,n=Ee,i=Et.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(si))return t[si](this);i=Ae(i);const s=Bt(this),a=Rn(void 0);try{if(!(i&Et.SkipSelf)){let m=this.records.get(t);if(void 0===m){const S=function _E(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dt}(t)&&ti(t);m=S&&this.injectableDefInScope(S)?Yo(gc(t),Ul):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&Et.Self?jl():this.parent).get(t,n=i&Et.Optional&&n===Ee?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[ae]=d[ae]||[]).unshift(ge(t)),s)throw d;return function an(e,t,n,i){const r=e[ae];throw t[Ut]&&r.unshift(t[Ut]),e.message=function Ct(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=ge(t);if(Array.isArray(t))r=t.map(ge).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let d=t[a];s.push(a+":"+("string"==typeof d?JSON.stringify(d):ge(d)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Ke,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[ae]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Rn(a),Bt(s)}}resolveInjectorInitializers(){const t=Bt(this),n=Rn(void 0);try{const r=this.get(Ha.multi,Mt,Et.Self);for(const s of r)s()}finally{Bt(t),Rn(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ge(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processProvider(t){let n=Co(t=se(t))?t:se(t&&t.provide);const i=function mE(e){return fc(e)?Yo(void 0,e.useValue):Yo(Mh(e),Ul)}(t);if(Co(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Yo(void 0,Ul,!0),r.factory=()=>$e(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Ul&&(n.value=pE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}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 gc(e){const t=ti(e),n=null!==t?t.factory:or(e);if(null!==n)return n;if(e instanceof Dt)throw new J(204,!1);if(e instanceof Function)return function gE(e){const t=e.length;if(t>0)throw Pa(t,"?"),new J(204,!1);const n=function Zn(e){return e&&(e[vt]||e[dr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new J(204,!1)}function Mh(e,t,n){let i;if(Co(e)){const r=se(e);return or(r)||gc(r)}if(fc(e))i=()=>se(e.useValue);else if(function wh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...$e(e.deps||[]));else if(function Sh(e){return!(!e||!e.useExisting)}(e))i=()=>he(se(e.useExisting));else{const r=se(e&&(e.useClass||e.provide));if(!function yE(e){return!!e.deps}(e))return or(r)||gc(r);i=()=>new r(...$e(e.deps))}return i}function Yo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mc(e,t){for(const n of e)Array.isArray(n)?mc(n,t):n&&He(n)?mc(n.\u0275providers,t):t(n)}const Th=new Dt("AppId",{providedIn:"root",factory:()=>EE}),EE="ng",Ah=new Dt("Platform Initializer"),yc=new Dt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),DE=new Dt("AnimationModuleType"),CE=new Dt("CSP nonce",{providedIn:"root",factory:()=>Wo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ih=(e,t,n)=>null;function wc(e,t,n=!1){return Ih(e,t,n)}class PE{}class Ph{}class xE{resolveComponentFactory(t){throw function NE(e){const t=Error(`No component factory found for ${ge(e)}.`);return t.ngComponent=e,t}(t)}}let Zl=(()=>{class e{static#e=this.NULL=new xE}return e})();function LE(){return qo(et(),Ne())}function qo(e,t){return new $a(C(e,t))}let $a=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=LE}return e})();function FE(e){return e instanceof $a?e.nativeElement:e}class xh{}let kE=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BE(){const e=Ne(),n=w(et().index,e);return(In(n)?n:e)[_t]}()}return e})(),VE=(()=>{class e{static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:()=>null})}return e})();class Lh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const HE=new Lh("16.2.12"),Ac={};function Vh(e,t=null,n=null,i){const r=Hh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Hh(e,t=null,n=null,i,r=new Set){const s=[n||Mt,dE(e)];return i=i||("object"==typeof e?void 0:ge(e)),new Zo(s,t||jl(),i||null,r)}let cs=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ee;static#t=this.NULL=new uc;static create(n,i){if(Array.isArray(n))return Vh({name:""},i,n,"");{const r=n.name??"";return Vh({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=Ht({token:e,providedIn:"any",factory:()=>he(Eh)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Oc(e){return e.ngOriginalError}class io{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&&Oc(t);for(;n&&Oc(n);)n=Oc(n);return n||null}}function Pc(e){return t=>{setTimeout(e,void 0,t)}}const Ps=class KE extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,s=n||(()=>null),a=i;if(t&&"object"==typeof t){const m=t;r=m.next?.bind(m),s=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(s=Pc(s),r&&(r=Pc(r)),a&&(a=Pc(a)));const d=super.subscribe({next:r,error:s,complete:a});return t instanceof R.w0&&t.add(d),d}};function jh(...e){}class Li{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ps(!1),this.onMicrotaskEmpty=new Ps(!1),this.onStable=new Ps(!1),this.onError=new Ps(!1),typeof Zone>"u")throw new J(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function ZE(){const e="function"==typeof gt.requestAnimationFrame;let t=gt[e?"requestAnimationFrame":"setTimeout"],n=gt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function JE(e){const t=()=>{!function QE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(gt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,xc(e),e.isCheckStableRunning=!0,Nc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),xc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,a,d)=>{if(function XE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(d))return n.invokeTask(r,s,a,d);try{return $h(e),n.invokeTask(r,s,a,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),zh(e)}},onInvoke:(n,i,r,s,a,d,m)=>{try{return $h(e),n.invoke(r,s,a,d,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),zh(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,xc(e),Nc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Li.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(Li.isInAngularZone())throw new J(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+r,t,YE,jh,jh);try{return s.runTask(a,n,i)}finally{s.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const YE={};function Nc(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 xc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $h(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zh(e){e._nesting--,Nc(e)}class qE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ps,this.onMicrotaskEmpty=new Ps,this.onStable=new Ps,this.onError=new Ps}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const Gh=new Dt("",{providedIn:"root",factory:Wh});function Wh(){const e=ne(Li);let t=!0;return function j(...e){const t=(0,N.yG)(e),n=(0,N._6)(e,1/0),i=e;return i.length?1===i.length?(0,T.Xf)(i[0]):(0,z.J)(n)((0,h.D)(i,t)):H.E}(new V.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),new V.y(r=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Li.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe((0,U.B)()))}function Kh(e){return e.ownerDocument.defaultView}function Zh(e){return e.ownerDocument}function Zs(e){return e instanceof Function?e():e}let Lc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:()=>new e})}return e})();function za(e){for(;e;){e[bt]|=64;const t=La(e);if(M(e)&&!t)return e;e=t}return null}const Xh=new Dt("",{providedIn:"root",factory:()=>!1});let Ql=null;function ip(e,t){return e[t]??op()}function rp(e,t){const n=op();n.producerNode?.length&&(e[t]=Ql,n.lView=e,Ql=sp())}const aD={...rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{za(e.lView)},lView:null};function sp(){return Object.create(aD)}function op(){return Ql??=sp(),Ql}const Vt={};function ap(e){lp(jt(),Ne(),fi()+e,!1)}function lp(e,t,n,i){if(!i)if(3==(3&t[bt])){const s=e.preOrderCheckHooks;null!==s&&hl(t,s,n)}else{const s=e.preOrderHooks;null!==s&&pl(t,s,0,n)}Vr(n)}function ta(e,t=Et.Default){const n=Ne();return null===n?he(e,t):mf(et(),n,se(e),t)}function up(){throw new Error("invalid")}function Jl(e,t,n,i,r,s,a,d,m,S,x){const $=t.blueprint.slice();return $[Yt]=r,$[bt]=140|i,(null!==S||e&&2048&e[bt])&&($[bt]|=2048),Te($),$[Qt]=$[Di]=e,$[nn]=n,$[qn]=a||e&&e[qn],$[_t]=d||e&&e[_t],$[gi]=m||e&&e[gi]||null,$[Mn]=s,$[nr]=function c_(){return u_++}(),$[mi]=x,$[ir]=S,$[bn]=2==t.type?e[bn]:$,$}function na(e,t,n,i,r){let s=e.data[t];if(null===s)s=function Fc(e,t,n,i,r){const s=ct(),a=Hn(),m=e.data[t]=function gD(e,t,n,i,r,s){let a=t?t.injectorIndex:-1,d=0;return ci()&&(d|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=m),null!==s&&(a?null==s.child&&null!==m.parent&&(s.child=m):null===s.next&&(s.next=m,m.prev=s)),m}(e,t,n,i,r),function mo(){return Be.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const a=function mt(){const e=Be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return xt(s,!0),s}function Ga(e,t,n,i){if(0===n)return-1;const r=t.length;for(let s=0;s<n;s++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function cp(e,t,n,i,r){const s=ip(t,Wi),a=fi(),d=2&i;try{Vr(-1),d&&t.length>Ft&&lp(e,t,Ft,!1),vr(d?2:0,r);const S=d?s:null,x=js(S);try{null!==S&&(S.dirty=!1),n(i,r)}finally{os(S,x)}}finally{d&&null===t[Wi]&&rp(t,Wi),Vr(a),vr(d?3:1,r)}}function kc(e,t,n){if(_s(t)){const i=Vi(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const d=e.data[a];d.contentQueries&&d.contentQueries(1,n[a],a)}}finally{Vi(i)}}}function Bc(e,t,n){Zr()&&(function CD(e,t,n,i){const r=n.directiveStart,s=n.directiveEnd;Or(n)&&function ID(e,t,n){const i=C(t,e),r=dp(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const d=ql(e,Jl(e,r,null,a,i,t,null,e[qn].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=d}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ml(n,t),Yi(i,t);const a=n.initialInputs;for(let d=r;d<s;d++){const m=e.data[d],S=vo(t,e,d,n);Yi(S,t),null!==a&&OD(0,d-r,S,m,0,a),Xn(m)&&(w(n.index,t)[nn]=vo(t,e,d,n))}}(e,t,n,C(n,t)),64==(64&n.flags)&&mp(e,t,n))}function Vc(e,t,n=C){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const a=i[s+1],d=-1===a?n(t,e):e[a];e[r++]=d}}}function dp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Hc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Hc(e,t,n,i,r,s,a,d,m,S,x){const $=Ft+i,ue=$+r,ye=function uD(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Vt);return n}($,ue),Oe="function"==typeof S?S():S;return ye[qe]={type:e,blueprint:ye,template:n,queries:null,viewQuery:d,declTNode:t,data:ye.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:ue,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:m,consts:Oe,incompleteFirstPass:!1,ssrId:x}}let fp=e=>null;function hp(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const s=e[r];null===i?pp(n,t,r,s):i.hasOwnProperty(r)&&pp(n,t,i[r],s)}return n}function pp(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function Ur(e,t,n,i,r,s,a,d){const m=C(t,n);let x,S=t.inputs;!d&&null!=S&&(x=S[i])?(Gc(e,n,x,i,r),Or(t)&&function vD(e,t){const n=w(t,e);16&n[bt]||(n[bt]|=64)}(n,t.index)):3&t.type&&(i=function yD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=a?a(r,t.value||"",i):r,s.setProperty(m,i,r))}function Uc(e,t,n,i){if(Zr()){const r=null===i?null:{"":-1},s=function SD(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(Ji(t,a.selectors,!1))if(i||(i=[]),Xn(a))if(null!==a.findHostDirectiveDefs){const d=[];r=r||new Map,a.findHostDirectiveDefs(a,d,r),i.unshift(...d,a),jc(e,t,d.length)}else i.unshift(a),jc(e,t,0);else r=r||new Map,a.findHostDirectiveDefs?.(a,i,r),i.push(a)}return null===i?null:[i,r]}(e,n);let a,d;null===s?a=d=null:[a,d]=s,null!==a&&gp(e,t,n,a,r,d),r&&function wD(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const s=n[t[r+1]];if(null==s)throw new J(-301,!1);i.push(t[r],s)}}}(n,i,r)}n.mergedAttrs=wr(n.mergedAttrs,n.attrs)}function gp(e,t,n,i,r,s){for(let S=0;S<i.length;S++)Lu(ml(n,t),e,i[S].type);!function TD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let S=0;S<i.length;S++){const x=i[S];x.providersResolver&&x.providersResolver(x)}let a=!1,d=!1,m=Ga(e,t,i.length,null);for(let S=0;S<i.length;S++){const x=i[S];n.mergedAttrs=wr(n.mergedAttrs,x.hostAttrs),AD(e,n,t,m,x),MD(m,x,r),null!==x.contentQueries&&(n.flags|=4),(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)&&(n.flags|=64);const $=x.type.prototype;!a&&($.ngOnChanges||$.ngOnInit||$.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!d&&($.ngOnChanges||$.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),m++}!function mD(e,t,n){const r=t.directiveEnd,s=e.data,a=t.attrs,d=[];let m=null,S=null;for(let x=t.directiveStart;x<r;x++){const $=s[x],ue=n?n.get($):null,Oe=ue?ue.outputs:null;m=hp($.inputs,x,m,ue?ue.inputs:null),S=hp($.outputs,x,S,Oe);const je=null===m||null===a||qr(t)?null:RD(m,x,a);d.push(je)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=8),m.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=d,t.inputs=m,t.outputs=S}(e,n,s)}function mp(e,t,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,a=function rf(){return Be.lFrame.currentDirectiveIndex}();try{Vr(s);for(let d=i;d<r;d++){const m=e.data[d],S=t[d];f(d),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&bD(m,S)}}finally{Vr(-1),f(a)}}function bD(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function MD(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Xn(t)&&(n[""]=e)}}function AD(e,t,n,i,r){e.data[i]=r;const s=r.factory||(r.factory=or(r.type)),a=new Ta(s,Xn(r),ta);e.blueprint[i]=a,n[i]=a,function ED(e,t,n,i,r){const s=r.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const d=~t.index;(function DD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=d&&a.push(d),a.push(n,i,s)}}(e,t,i,Ga(e,n,r.hostVars,Vt),r)}function Ns(e,t,n,i,r,s){const a=C(e,t);!function $c(e,t,n,i,r,s,a){if(null==s)e.removeAttribute(t,r,n);else{const d=null==a?q(s):a(s,i||"",r);e.setAttribute(t,r,d,n)}}(t[_t],a,s,e.value,n,i,r)}function OD(e,t,n,i,r,s){const a=s[t];if(null!==a)for(let d=0;d<a.length;)yp(i,n,a[d++],a[d++],a[d++])}function yp(e,t,n,i,r){const s=Vi(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(i)&&(r=a[i].call(t,r)),null!==e.setInput?e.setInput(t,r,n,i):t[i]=r}finally{Vi(s)}}function RD(e,t,n){let i=null,r=0;for(;r<n.length;){const s=n[r];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===i&&(i=[]);const a=e[s];for(let d=0;d<a.length;d+=2)if(a[d]===t){i.push(s,a[d+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function vp(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}function _p(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const a=e.data[s];y(n[i]),a.contentQueries(2,t[s],s)}}}function ql(e,t){return e[er]?e[vs][pi]=t:e[er]=t,e[vs]=t,t}function zc(e,t,n){y(0);const i=Vi(null);try{t(e,n)}finally{Vi(i)}}function Ep(e){return e[Jn]||(e[Jn]=[])}function Dp(e){return e.cleanup||(e.cleanup=[])}function bp(e,t){const n=e[gi],i=n?n.get(io,null):null;i&&i.handleError(t)}function Gc(e,t,n,i,r){for(let s=0;s<n.length;){const a=n[s++],d=n[s++];yp(e.data[a],t[a],i,d,r)}}function Ys(e,t,n){const i=to(t,e);!function Kf(e,t,n){e.setValue(t,n)}(e[_t],i,n)}function PD(e,t){const n=w(t,e),i=n[qe];!function ND(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[Yt];null!==r&&null===n[mi]&&(n[mi]=wc(r,n[gi])),Wc(i,n,n[nn])}function Wc(e,t,n){W(t);try{const i=e.viewQuery;null!==i&&zc(1,i,n);const r=e.template;null!==r&&cp(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&_p(e,t),e.staticViewQueries&&zc(2,e.viewQuery,n);const s=e.components;null!==s&&function xD(e,t){for(let n=0;n<t.length;n++)PD(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[bt]&=-5,fn()}}let Sp=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,r){const s=typeof Zone>"u"?null:Zone.current,a=function At(e,t,n){const i=Object.create(dn);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=a=>{i.cleanupFn=a};return i.ref={notify:()=>uo(i),run:()=>{if(i.dirty=!1,i.hasRun&&!co(i))return;i.hasRun=!0;const a=js(i);try{i.cleanupFn(),i.cleanupFn=yn,i.fn(r)}finally{os(i,a)}},cleanup:()=>i.cleanupFn()},i.ref}(n,S=>{this.all.has(S)&&this.queue.set(S,s)},r);let d;this.all.add(a),a.notify();const m=()=>{a.cleanup(),d?.(),this.all.delete(a),this.queue.delete(a)};return d=i?.onDestroy(m),{destroy:m}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:()=>new e})}return e})();function Xl(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?s=d:1==s?r=Ve(r,d):2==s&&(i=Ve(i,d+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Wa(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];null!==s&&i.push(vn(s)),ai(s)&&wp(s,i);const a=n.type;if(8&a)Wa(e,t,n.child,i);else if(32&a){const d=Zu(n,t);let m;for(;m=d();)i.push(m)}else if(16&a){const d=nh(t,n);if(Array.isArray(d))i.push(...d);else{const m=La(t[bn]);Wa(m[qe],m,d,i,!0)}}n=r?n.projectionNext:n.next}return i}function wp(e,t){for(let n=ln;n<e.length;n++){const i=e[n],r=i[qe].firstChild;null!==r&&Wa(i[qe],i,r,t)}e[Ki]!==e[Yt]&&t.push(e[Ki])}function eu(e,t,n,i=!0){const r=t[qn],s=r.rendererFactory,a=r.afterRenderEventManager;s.begin?.(),a?.begin();try{Mp(e,t,e.template,n)}catch(m){throw i&&bp(t,m),m}finally{s.end?.(),r.effectManager?.flush(),a?.end()}}function Mp(e,t,n,i){const r=t[bt];if(256!=(256&r)){t[qn].effectManager?.flush(),W(t);try{Te(t),function di(e){return Be.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&cp(e,t,n,2,i);const a=3==(3&r);if(a){const S=e.preOrderCheckHooks;null!==S&&hl(t,S,null)}else{const S=e.preOrderHooks;null!==S&&pl(t,S,0,null),Ou(t,0)}if(function kD(e){for(let t=zf(e);null!==t;t=Gf(t)){if(!t[qs])continue;const n=t[Bi];for(let i=0;i<n.length;i++){Xe(n[i])}}}(t),Tp(t,2),null!==e.contentQueries&&_p(e,t),a){const S=e.contentCheckHooks;null!==S&&hl(t,S)}else{const S=e.contentHooks;null!==S&&pl(t,S,1),Ou(t,1)}!function lD(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=ip(t,Ar);try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)Vr(~s);else{const a=s,d=n[++r],m=n[++r];nf(d,a),i.dirty=!1;const S=js(i);try{m(2,t[a])}finally{os(i,S)}}}}finally{null===t[Ar]&&rp(t,Ar),Vr(-1)}}(e,t);const d=e.components;null!==d&&Ip(t,d,0);const m=e.viewQuery;if(null!==m&&zc(2,m,i),a){const S=e.viewCheckHooks;null!==S&&hl(t,S)}else{const S=e.viewHooks;null!==S&&pl(t,S,2),Ou(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[bt]&=-73,Qe(t)}finally{fn()}}}function Tp(e,t){for(let n=zf(e);null!==n;n=Gf(n))for(let i=ln;i<n.length;i++)Ap(n[i],t)}function BD(e,t,n){Ap(w(t,e),n)}function Ap(e,t){if(!function X(e){return 128==(128&e[bt])}(e))return;const n=e[qe],i=e[bt];if(80&i&&0===t||1024&i||2===t)Mp(n,e,n.template,e[nn]);else if(e[gr]>0){Tp(e,1);const r=n.components;null!==r&&Ip(e,r,1)}}function Ip(e,t,n){for(let i=0;i<t.length;i++)BD(e,t[i],n)}class Ka{get rootNodes(){const t=this._lView,n=t[qe];return Wa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[nn]}set context(t){this._lView[nn]=t}get destroyed(){return 256==(256&this._lView[bt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Qt];if(ai(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Pl(t,i),_l(n,i))}this._attachedToViewContainer=!1}Qu(this._lView[qe],this._lView)}onDestroy(t){!function Nt(e,t){if(256==(256&e[bt]))throw new J(911,!1);null===e[ki]&&(e[ki]=[]),e[ki].push(t)}(this._lView,t)}markForCheck(){za(this._cdRefInjectingView||this._lView)}detach(){this._lView[bt]&=-129}reattach(){this._lView[bt]|=128}detectChanges(){eu(this._lView[qe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function S_(e,t){ka(e,t,t[_t],2,null,null)}(this._lView[qe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=t}}class VD extends Ka{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;eu(t[qe],t,t[nn],!1)}checkNoChanges(){}get context(){return null}}class Op extends Zl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Lt(t);return new Za(n,this.ngModule)}}function Rp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class UD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Ae(i);const r=this.injector.get(t,Ac,i);return r!==Ac||n===Ac?r:this.parentInjector.get(t,n,i)}}class Za extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=Rp(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return Rp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Js(e){return e.map(es).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let s=(r=r||this.ngModule)instanceof Rs?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new UD(t,s):t,d=a.get(xh,null);if(null===d)throw new J(407,!1);const $={rendererFactory:d,sanitizer:a.get(VE,null),effectManager:a.get(Sp,null),afterRenderEventManager:a.get(Lc,null)},ue=d.createRenderer(null,this.componentDef),ye=this.componentDef.selectors[0][0]||"div",Oe=i?function cD(e,t,n,i){const s=i.get(Xh,!1)||n===mn.ShadowDom,a=e.selectRootElement(t,s);return function dD(e){fp(e)}(a),a}(ue,i,this.componentDef.encapsulation,a):Rl(ue,ye,function HD(e){const t=e.toLowerCase();return"svg"===t?Is:"math"===t?"math":null}(ye)),dt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Fe=null;null!==Oe&&(Fe=wc(Oe,a,!0));const Pt=Hc(0,null,null,1,0,null,null,null,null,null,null),Gt=Jl(null,Pt,null,dt,null,null,$,ue,a,null,Fe);let En,Sr;W(Gt);try{const Qs=this.componentDef;let _a,ef=null;Qs.findHostDirectiveDefs?(_a=[],ef=new Map,Qs.findHostDirectiveDefs(Qs,_a,ef),_a.push(Qs)):_a=[Qs];const $w=function $D(e,t){const n=e[qe],i=Ft;return e[i]=t,na(n,i,2,"#host",null)}(Gt,Oe),zw=function zD(e,t,n,i,r,s,a){const d=r[qe];!function GD(e,t,n,i){for(const r of e)t.mergedAttrs=wr(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Xl(t,t.mergedAttrs,!0),null!==n&&oh(i,n,t))}(i,e,t,a);let m=null;null!==t&&(m=wc(t,r[gi]));const S=s.rendererFactory.createRenderer(t,n);let x=16;n.signals?x=4096:n.onPush&&(x=64);const $=Jl(r,dp(n),null,x,r[e.index],e,s,S,null,null,m);return d.firstCreatePass&&jc(d,e,i.length-1),ql(r,$),r[e.index]=$}($w,Oe,Qs,_a,Gt,$,ue);Sr=l(Pt,Ft),Oe&&function KD(e,t,n,i){if(i)jn(e,n,["ng-version",HE.full]);else{const{attrs:r,classes:s}=function gs(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!Dn(r))break;r=s}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&jn(e,n,r),s&&s.length>0&&sh(e,n,s.join(" "))}}(ue,Qs,Oe,i),void 0!==n&&function ZD(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const s=n[r];i.push(null!=s?Array.from(s):null)}}(Sr,this.ngContentSelectors,n),En=function WD(e,t,n,i,r,s){const a=et(),d=r[qe],m=C(a,r);gp(d,r,a,n,null,i);for(let x=0;x<n.length;x++)Yi(vo(r,d,a.directiveStart+x,a),r);mp(d,r,a),m&&Yi(m,r);const S=vo(r,d,a.directiveStart+a.componentOffset,a);if(e[nn]=r[nn]=S,null!==s)for(const x of s)x(S,t);return kc(d,a,e),S}(zw,Qs,_a,ef,Gt,[YD]),Wc(Pt,Gt,null)}finally{fn()}return new jD(this.componentType,En,qo(Sr,Gt),Gt,Sr)}}class jD extends PE{constructor(t,n,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new VD(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Gc(s[qe],s,r,t,n),this.previousInputValues.set(t,n),za(w(this._tNode.index,s))}}get injector(){return new ur(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function YD(){const e=et();fl(Ne()[qe],e)}function Kc(e){let t=function Pp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Xn(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new J(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const a=e;a.inputs=tu(e.inputs),a.inputTransforms=tu(e.inputTransforms),a.declaredInputs=tu(e.declaredInputs),a.outputs=tu(e.outputs);const d=r.hostBindings;d&&XD(e,d);const m=r.viewQuery,S=r.contentQueries;if(m&&JD(e,m),S&&qD(e,S),we(e.inputs,r.inputs),we(e.declaredInputs,r.declaredInputs),we(e.outputs,r.outputs),null!==r.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),we(a.inputTransforms,r.inputTransforms)),Xn(r)&&r.data.animation){const x=e.data;x.animation=(x.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let a=0;a<s.length;a++){const d=s[a];d&&d.ngInherit&&d(e),d===Kc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function QD(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=wr(r.hostAttrs,n=wr(n,r.hostAttrs))}}(i)}function tu(e){return e===un?{}:e===Mt?[]:e}function JD(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function qD(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function XD(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function Fp(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[2]&&(n[i]=r[2])}e.inputTransforms=n}function nu(e){return!!Zc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Zc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xs(e,t,n){return e[t]=n}function Ya(e,t){return e[t]}function Qi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function bo(e,t,n,i){const r=Qi(e,t,n);return Qi(e,t+1,i)||r}function iu(e,t,n,i,r){const s=bo(e,t,n,i);return Qi(e,t+2,r)||s}function Jr(e,t,n,i,r,s){const a=bo(e,t,n,i);return bo(e,t+2,r,s)||a}function Yc(e,t,n,i){const r=Ne();return Qi(r,lr(),t)&&(jt(),Ns(Tn(),r,e,t,n,i)),Yc}function ra(e,t,n,i){return Qi(e,lr(),n)?t+q(n)+i:Vt}function sa(e,t,n,i,r,s){const d=bo(e,Er(),n,r);return Kn(2),d?t+q(n)+i+q(r)+s:Vt}function Yp(e,t,n,i,r,s,a,d){const m=Ne(),S=jt(),x=e+Ft,$=S.firstCreatePass?function SC(e,t,n,i,r,s,a,d,m){const S=t.consts,x=na(t,e,4,a||null,_e(S,d));Uc(t,n,x,_e(S,m)),fl(t,x);const $=x.tView=Hc(2,x,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,x),$.queries=t.queries.embeddedTView(x)),x}(x,S,m,t,n,i,r,s,a):S.data[x];xt($,!1);const ue=Qp(S,m,$,e);dl()&&xl(S,m,ue,$),Yi(ue,m),ql(m,m[x]=vp(ue,m,ue,$)),Rr($)&&Bc(S,m,$),null!=a&&Vc(m,$,d)}let Qp=function Jp(e,t,n,i){return no(!0),t[_t].createComment("")};function qp(e){return v(function Hi(){return Be.lFrame.contextLView}(),Ft+e)}function td(e,t,n){const i=Ne();return Qi(i,lr(),t)&&Ur(jt(),Tn(),i,e,t,i[_t],n,!1),td}function nd(e,t,n,i,r){const a=r?"class":"style";Gc(e,n,t.inputs[a],a,i)}function au(e,t,n,i){const r=Ne(),s=jt(),a=Ft+e,d=r[_t],m=s.firstCreatePass?function AC(e,t,n,i,r,s){const a=t.consts,m=na(t,e,2,i,_e(a,r));return Uc(t,n,m,_e(a,s)),null!==m.attrs&&Xl(m,m.attrs,!1),null!==m.mergedAttrs&&Xl(m,m.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,m),m}(a,s,r,t,n,i):s.data[a],S=Xp(s,r,m,d,t,e);r[a]=S;const x=Rr(m);return xt(m,!0),oh(d,S,m),32!=(32&m.flags)&&dl()&&xl(s,r,S,m),0===function ui(){return Be.lFrame.elementDepthCount}()&&Yi(S,r),function xi(){Be.lFrame.elementDepthCount++}(),x&&(Bc(s,r,m),kc(s,m,r)),null!==i&&Vc(r,m),au}function lu(){let e=et();Hn()?Zi():(e=e.parent,xt(e,!1));const t=e;(function bi(e){return Be.skipHydrationRootTNode===e})(t)&&function Po(){Be.skipHydrationRootTNode=null}(),function ei(){Be.lFrame.elementDepthCount--}();const n=jt();return n.firstCreatePass&&(fl(n,e),_s(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Cv(e){return 0!=(8&e.flags)}(t)&&nd(n,t,Ne(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function bv(e){return 0!=(16&e.flags)}(t)&&nd(n,t,Ne(),t.stylesWithoutHost,!1),lu}function id(e,t,n,i){return au(e,t,n,i),lu(),id}let Xp=(e,t,n,i,r,s)=>(no(!0),Rl(i,r,function af(){return Be.lFrame.currentNamespace}()));function uu(e,t,n){const i=Ne(),r=jt(),s=e+Ft,a=r.firstCreatePass?function RC(e,t,n,i,r){const s=t.consts,a=_e(s,i),d=na(t,e,8,"ng-container",a);return null!==a&&Xl(d,a,!0),Uc(t,n,d,_e(s,r)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,r,i,t,n):r.data[s];xt(a,!0);const d=eg(r,i,a,e);return i[s]=d,dl()&&xl(r,i,d,a),Yi(d,i),Rr(a)&&(Bc(r,i,a),kc(r,a,i)),null!=n&&Vc(i,a),uu}function cu(){let e=et();const t=jt();return Hn()?Zi():(e=e.parent,xt(e,!1)),t.firstCreatePass&&(fl(t,e),_s(e)&&t.queries.elementEnd(e)),cu}function rd(e,t,n){return uu(e,t,n),cu(),rd}let eg=(e,t,n,i)=>(no(!0),Yu(t[_t],""));function tg(){return Ne()}function sd(e){return!!e&&"function"==typeof e.then}function ng(e){return!!e&&"function"==typeof e.subscribe}function od(e,t,n,i){const r=Ne(),s=jt(),a=et();return function rg(e,t,n,i,r,s,a){const d=Rr(i),S=e.firstCreatePass&&Dp(e),x=t[nn],$=Ep(t);let ue=!0;if(3&i.type||a){const je=C(i,t),nt=a?a(je):je,dt=$.length,Fe=a?Gt=>a(vn(Gt[i.index])):i.index;let Pt=null;if(!a&&d&&(Pt=function xC(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const a=r[s];if(a===n&&r[s+1]===i){const d=t[Jn],m=r[s+2];return d.length>m?d[m]:null}"string"==typeof a&&(s+=2)}return null}(e,t,r,i.index)),null!==Pt)(Pt.__ngLastListenerFn__||Pt).__ngNextListenerFn__=s,Pt.__ngLastListenerFn__=s,ue=!1;else{s=og(i,t,x,s,!1);const Gt=n.listen(nt,r,s);$.push(s,Gt),S&&S.push(r,Fe,dt,dt+1)}}else s=og(i,t,x,s,!1);const ye=i.outputs;let Oe;if(ue&&null!==ye&&(Oe=ye[r])){const je=Oe.length;if(je)for(let nt=0;nt<je;nt+=2){const En=t[Oe[nt]][Oe[nt+1]].subscribe(s),Sr=$.length;$.push(s,En),S&&S.push(r,i.index,Sr,-(Sr+1))}}}(s,r,r[_t],a,e,t,i),od}function sg(e,t,n,i){try{return vr(6,t,n),!1!==n(i)}catch(r){return bp(e,r),!1}finally{vr(7,t,n)}}function og(e,t,n,i,r){return function s(a){if(a===Function)return i;za(e.componentOffset>-1?w(e.index,t):t);let m=sg(t,n,i,a),S=s.__ngNextListenerFn__;for(;S;)m=sg(t,n,S,a)&&m,S=S.__ngNextListenerFn__;return r&&!1===m&&a.preventDefault(),m}}function ag(e=1){return function tn(e){return(Be.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[Di],e--;return t}(e,Be.lFrame.contextLView))[nn]}(e)}function LC(e,t){let n=null;const i=function Gi(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 r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?Ji(e,s,!0):zr(i,s))return r}else n=r}return n}function lg(e){const t=Ne()[bn][Mn];if(!t.projection){const i=t.projection=Pa(e?e.length:1,null),r=i.slice();let s=t.child;for(;null!==s;){const a=e?LC(s,e):0;null!==a&&(r[a]?r[a].projectionNext=s:i[a]=s,r[a]=s),s=s.next}}}function ug(e,t=0,n){const i=Ne(),r=jt(),s=na(r,Ft+e,16,null,n||null);null===s.projection&&(s.projection=t),Zi(),(!i[mi]||ci())&&32!=(32&s.flags)&&function P_(e,t,n){rh(t[_t],0,t,n,qu(e,n,t),qf(n.parent||t[Mn],n,t))}(r,i,s)}function ad(e,t,n){return du(e,"",t,"",n),ad}function du(e,t,n,i,r){const s=Ne(),a=ra(s,t,n,i);return a!==Vt&&Ur(jt(),Tn(),s,e,a,s[_t],r,!1),du}function ld(e,t,n,i,r,s,a){const d=Ne(),m=sa(d,t,n,i,r,s);return m!==Vt&&Ur(jt(),Tn(),d,e,m,d[_t],a,!1),ld}function fu(e,t){return e<<17|t<<2}function ro(e){return e>>17&32767}function ud(e){return 2|e}function So(e){return(131068&e)>>2}function cd(e,t){return-131069&e|t<<2}function dd(e){return 1|e}function yg(e,t,n,i,r){const s=e[n+1],a=null===t;let d=i?ro(s):So(s),m=!1;for(;0!==d&&(!1===m||a);){const x=e[d+1];UC(e[d],t)&&(m=!0,e[d+1]=i?dd(x):ud(x)),d=i?ro(x):So(x)}m&&(e[n+1]=i?ud(s):dd(s))}function UC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Uo(e,t)>=0}const wi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vg(e){return e.substring(wi.key,wi.keyEnd)}function jC(e){return e.substring(wi.value,wi.valueEnd)}function _g(e,t){const n=wi.textEnd;return n===t?-1:(t=wi.keyEnd=function GC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wi.key=t,n),fa(e,t,n))}function Eg(e,t){const n=wi.textEnd;let i=wi.key=fa(e,t,n);return n===i?-1:(i=wi.keyEnd=function WC(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Cg(e,i,n),i=wi.value=fa(e,i,n),i=wi.valueEnd=function KC(e,t,n){let i=-1,r=-1,s=-1,a=t,d=a;for(;a<n;){const m=e.charCodeAt(a++);if(59===m)return d;34===m||39===m?d=a=bg(e,m,a,n):t===a-4&&85===s&&82===r&&76===i&&40===m?d=a=bg(e,41,a,n):m>32&&(d=a),s=r,r=i,i=-33&m}return d}(e,i,n),Cg(e,i,n))}function Dg(e){wi.key=0,wi.keyEnd=0,wi.value=0,wi.valueEnd=0,wi.textEnd=e.length}function fa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Cg(e,t,n,i){return(t=fa(e,t,n))<n&&t++,t}function bg(e,t,n,i){let r=-1,s=n;for(;s<i;){const a=e.charCodeAt(s++);if(a==t&&92!==r)return s;r=92==a&&92===r?0:a}throw new Error}function fd(e,t,n){return fs(e,t,n,!1),fd}function hd(e,t){return fs(e,t,null,!0),hd}function ds(e){hs(Tg,ZC,e,!1)}function ZC(e,t){for(let n=function zC(e){return Dg(e),Eg(e,fa(e,0,wi.textEnd))}(t);n>=0;n=Eg(t,n))Tg(e,vg(t),jC(t))}function Sg(e){hs(eb,Ls,e,!0)}function Ls(e,t){for(let n=function $C(e){return Dg(e),_g(e,fa(e,0,wi.textEnd))}(t);n>=0;n=_g(t,n))Hr(e,vg(t),!0)}function fs(e,t,n,i){const r=Ne(),s=jt(),a=Kn(2);s.firstUpdatePass&&Mg(s,e,a,i),t!==Vt&&Qi(r,a,t)&&Ag(s,s.data[fi()],r,r[_t],e,r[a+1]=function nb(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ge(Ws(e)))),e}(t,n),i,a)}function hs(e,t,n,i){const r=jt(),s=Kn(2);r.firstUpdatePass&&Mg(r,null,s,i);const a=Ne();if(n!==Vt&&Qi(a,s,n)){const d=r.data[fi()];if(Og(d,i)&&!wg(r,s)){let m=i?d.classesWithoutHost:d.stylesWithoutHost;null!==m&&(n=Ve(m,n||"")),nd(r,d,a,n,i)}else!function tb(e,t,n,i,r,s,a,d){r===Vt&&(r=Mt);let m=0,S=0,x=0<r.length?r[0]:null,$=0<s.length?s[0]:null;for(;null!==x||null!==$;){const ue=m<r.length?r[m+1]:void 0,ye=S<s.length?s[S+1]:void 0;let je,Oe=null;x===$?(m+=2,S+=2,ue!==ye&&(Oe=$,je=ye)):null===$||null!==x&&x<$?(m+=2,Oe=x):(S+=2,Oe=$,je=ye),null!==Oe&&Ag(e,t,n,i,Oe,je,a,d),x=m<r.length?r[m]:null,$=S<s.length?s[S]:null}}(r,d,a,a[_t],a[s+1],a[s+1]=function XC(e,t,n){if(null==n||""===n)return Mt;const i=[],r=Ws(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(i,s,r[s]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,s)}}function wg(e,t){return t>=e.expandoStartIndex}function Mg(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[fi()],a=wg(e,n);Og(s,i)&&null===t&&!a&&(t=!1),t=function YC(e,t,n,i){const r=function g(e){const t=Be.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Xa(n=pd(null,e,t,n,i),t.attrs,i),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=pd(r,e,t,n,i),null===s){let m=function QC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==So(i))return e[ro(i)]}(e,t,i);void 0!==m&&Array.isArray(m)&&(m=pd(null,e,t,m[1],i),m=Xa(m,t.attrs,i),function JC(e,t,n,i){e[ro(n?t.classBindings:t.styleBindings)]=i}(e,t,i,m))}else s=function qC(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++)i=Xa(i,e[s].hostAttrs,n);return Xa(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,i),function VC(e,t,n,i,r,s){let a=s?t.classBindings:t.styleBindings,d=ro(a),m=So(a);e[i]=n;let x,S=!1;if(Array.isArray(n)?(x=n[1],(null===x||Uo(n,x)>0)&&(S=!0)):x=n,r)if(0!==m){const ue=ro(e[d+1]);e[i+1]=fu(ue,d),0!==ue&&(e[ue+1]=cd(e[ue+1],i)),e[d+1]=function kC(e,t){return 131071&e|t<<17}(e[d+1],i)}else e[i+1]=fu(d,0),0!==d&&(e[d+1]=cd(e[d+1],i)),d=i;else e[i+1]=fu(m,0),0===d?d=i:e[m+1]=cd(e[m+1],i),m=i;S&&(e[i+1]=ud(e[i+1])),yg(e,x,i,!0),yg(e,x,i,!1),function HC(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Uo(s,t)>=0&&(n[i+1]=dd(n[i+1]))}(t,x,e,i,s),a=fu(d,m),s?t.classBindings=a:t.styleBindings=a}(r,s,t,n,a,i)}}function pd(e,t,n,i,r){let s=null;const a=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<a&&(s=t[d],i=Xa(i,s.hostAttrs,r),s!==e);)d++;return null!==e&&(n.directiveStylingLast=d),i}function Xa(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Hr(e,a,!!n||t[++s]))}return void 0===e?null:e}function Tg(e,t,n){Hr(e,t,Ws(n))}function eb(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Hr(e,i,n)}function Ag(e,t,n,i,r,s,a,d){if(!(3&t.type))return;const m=e.data,S=m[d+1],x=function BC(e){return 1==(1&e)}(S)?Ig(m,t,n,r,So(S),a):void 0;hu(x)||(hu(s)||function FC(e){return 2==(2&e)}(S)&&(s=Ig(m,null,n,r,d,a)),function x_(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let s=-1===i.indexOf("-")?void 0:Il.DashCase;null==r?e.removeStyle(n,i,s):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),s|=Il.Important),e.setStyle(n,i,r,s))}}(i,a,to(fi(),n),r,s))}function Ig(e,t,n,i,r,s){const a=null===t;let d;for(;r>0;){const m=e[r],S=Array.isArray(m),x=S?m[1]:m,$=null===x;let ue=n[r+1];ue===Vt&&(ue=$?Mt:void 0);let ye=$?Vu(ue,i):x===i?ue:void 0;if(S&&!hu(ye)&&(ye=Vu(m,i)),hu(ye)&&(d=ye,a))return d;const Oe=e[r+1];r=a?ro(Oe):So(Oe)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(d=Vu(m,i))}return d}function hu(e){return void 0!==e}function Og(e,t){return 0!=(e.flags&(t?8:16))}function Rg(e,t=""){const n=Ne(),i=jt(),r=e+Ft,s=i.firstCreatePass?na(i,r,1,t,null):i.data[r],a=Pg(i,n,s,t,e);n[r]=a,dl()&&xl(i,n,a,s),xt(s,!1)}let Pg=(e,t,n,i,r)=>(no(!0),function Ol(e,t){return e.createText(t)}(t[_t],i));function gd(e){return pu("",e,""),gd}function pu(e,t,n){const i=Ne(),r=ra(i,e,t,n);return r!==Vt&&Ys(i,fi(),r),pu}function md(e,t,n,i,r){const s=Ne(),a=sa(s,e,t,n,i,r);return a!==Vt&&Ys(s,fi(),a),md}function yd(e,t,n,i,r,s,a){const d=Ne(),m=function oa(e,t,n,i,r,s,a,d){const S=iu(e,Er(),n,r,a);return Kn(3),S?t+q(n)+i+q(r)+s+q(a)+d:Vt}(d,e,t,n,i,r,s,a);return m!==Vt&&Ys(d,fi(),m),yd}function Vg(e,t,n){hs(Hr,Ls,ra(Ne(),e,t,n),!0)}const wo=void 0;var bb=["en",[["a","p"],["AM","PM"],wo],[["AM","PM"],wo,wo],[["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"]],wo,[["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"]],wo,[["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}",wo,"{1} 'at' {0}",wo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Cb(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ha={};function vd(e){const t=function Sb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qg(t);if(n)return n;const i=t.split("-")[0];if(n=qg(i),n)return n;if("en"===i)return bb;throw new J(701,!1)}function Jg(e){return vd(e)[pa.PluralCase]}function qg(e){return e in ha||(ha[e]=gt.ng&&gt.ng.common&&gt.ng.common.locales&&gt.ng.common.locales[e]),ha[e]}var pa=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}(pa||{});const ga="en-US";let Xg=ga;function Dd(e,t,n,i,r){if(e=se(e),Array.isArray(e))for(let s=0;s<e.length;s++)Dd(e[s],t,n,i,r);else{const s=jt(),a=Ne(),d=et();let m=Co(e)?e:se(e.provide);const S=Mh(e),x=1048575&d.providerIndexes,$=d.directiveStart,ue=d.providerIndexes>>20;if(Co(e)||!e.multi){const ye=new Ta(S,r,ta),Oe=bd(m,t,r?x:x+ue,$);-1===Oe?(Lu(ml(d,a),s,m),Cd(s,e,t.length),t.push(m),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),n.push(ye),a.push(ye)):(n[Oe]=ye,a[Oe]=ye)}else{const ye=bd(m,t,x+ue,$),Oe=bd(m,t,x,x+ue),nt=Oe>=0&&n[Oe];if(r&&!nt||!r&&!(ye>=0&&n[ye])){Lu(ml(d,a),s,m);const dt=function b0(e,t,n,i,r){const s=new Ta(e,n,ta);return s.multi=[],s.index=t,s.componentProviders=0,Sm(s,r,i&&!n),s}(r?C0:D0,n.length,r,i,S);!r&&nt&&(n[Oe].providerFactory=dt),Cd(s,e,t.length,0),t.push(m),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),n.push(dt),a.push(dt)}else Cd(s,e,ye>-1?ye:Oe,Sm(n[r?Oe:ye],S,!r&&i));!r&&i&&nt&&n[Oe].componentProviders++}}}function Cd(e,t,n,i){const r=Co(t),s=function hE(e){return!!e.useClass}(t);if(r||s){const m=(s?se(t.useClass):t).prototype.ngOnDestroy;if(m){const S=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const x=S.indexOf(n);-1===x?S.push(n,[i,m]):S[x+1].push(i,m)}else S.push(n,m)}}}function Sm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bd(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function D0(e,t,n,i){return Sd(this.multi,[])}function C0(e,t,n,i){const r=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,d=vo(n,n[qe],this.providerFactory.index,i);s=d.slice(0,a),Sd(r,s);for(let m=a;m<d.length;m++)s.push(d[m])}else s=[],Sd(r,s);return s}function Sd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function wm(e,t=[]){return n=>{n.providersResolver=(i,r)=>function E0(e,t,n){const i=jt();if(i.firstCreatePass){const r=Xn(e);Dd(n,i.data,i.blueprint,r,!0),Dd(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Mo{}class Mm{}function S0(e,t){return new wd(e,t??null,[])}class wd extends Mo{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Op(this);const r=Cn(t);this._bootstrapComponents=Zs(r.bootstrap),this._r3Injector=Hh(t,n,[{provide:Mo,useValue:this},{provide:Zl,useValue:this.componentFactoryResolver},...i],ge(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 Md extends Mm{constructor(t){super(),this.moduleType=t}create(t){return new wd(this.moduleType,t,[])}}class Tm extends Mo{constructor(t){super(),this.componentFactoryResolver=new Op(this),this.instance=null;const n=new Zo([...t.providers,{provide:Mo,useValue:this},{provide:Zl,useValue:this.componentFactoryResolver}],t.parent||jl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Am(e,t,n=null){return new Tm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let M0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=Ch(0,n.type),r=i.length>0?Am([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}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=Ht({token:e,providedIn:"environment",factory:()=>new e(he(Rs))})}return e})();function Im(e){e.getStandaloneInjector=t=>t.get(M0).getOrCreateStandaloneInjector(e)}function Fm(e,t,n){const i=vi()+e,r=Ne();return r[i]===Vt?xs(r,i,n?t.call(n):t()):Ya(r,i)}function km(e,t,n,i){return Gm(Ne(),vi(),e,t,n,i)}function Bm(e,t,n,i,r){return Wm(Ne(),vi(),e,t,n,i,r)}function Vm(e,t,n,i,r,s){return function Km(e,t,n,i,r,s,a,d){const m=t+n;return iu(e,m,r,s,a)?xs(e,m+3,d?i.call(d,r,s,a):i(r,s,a)):sl(e,m+3)}(Ne(),vi(),e,t,n,i,r,s)}function Hm(e,t,n,i,r,s,a){return function Zm(e,t,n,i,r,s,a,d,m){const S=t+n;return Jr(e,S,r,s,a,d)?xs(e,S+4,m?i.call(m,r,s,a,d):i(r,s,a,d)):sl(e,S+4)}(Ne(),vi(),e,t,n,i,r,s,a)}function Um(e,t,n,i,r,s,a,d){const m=vi()+e,S=Ne(),x=Jr(S,m,n,i,r,s);return Qi(S,m+4,a)||x?xs(S,m+5,d?t.call(d,n,i,r,s,a):t(n,i,r,s,a)):Ya(S,m+5)}function jm(e,t,n,i,r,s,a,d,m){const S=vi()+e,x=Ne(),$=Jr(x,S,n,i,r,s);return bo(x,S+4,a,d)||$?xs(x,S+6,m?t.call(m,n,i,r,s,a,d):t(n,i,r,s,a,d)):Ya(x,S+6)}function $m(e,t,n,i,r,s,a,d,m,S){const x=vi()+e,$=Ne();let ue=Jr($,x,n,i,r,s);return iu($,x+4,a,d,m)||ue?xs($,x+7,S?t.call(S,n,i,r,s,a,d,m):t(n,i,r,s,a,d,m)):Ya($,x+7)}function zm(e,t,n,i){return function Ym(e,t,n,i,r,s){let a=t+n,d=!1;for(let m=0;m<r.length;m++)Qi(e,a++,r[m])&&(d=!0);return d?xs(e,a,i.apply(s,r)):sl(e,a)}(Ne(),vi(),e,t,n,i)}function sl(e,t){const n=e[t];return n===Vt?void 0:n}function Gm(e,t,n,i,r,s){const a=t+n;return Qi(e,a,r)?xs(e,a+1,s?i.call(s,r):i(r)):sl(e,a+1)}function Wm(e,t,n,i,r,s,a){const d=t+n;return bo(e,d,r,s)?xs(e,d+2,a?i.call(a,r,s):i(r,s)):sl(e,d+2)}function Qm(e,t){const n=jt();let i;const r=e+Ft;n.firstCreatePass?(i=function F0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=or(i.type)),d=Rn(ta);try{const m=gl(!1),S=s();return gl(m),function TC(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Ne(),r,S),S}finally{Rn(d)}}function Jm(e,t,n){const i=e+Ft,r=Ne(),s=v(r,i);return ol(r,i)?Gm(r,vi(),t,s.transform,n,s):s.transform(n)}function qm(e,t,n,i){const r=e+Ft,s=Ne(),a=v(s,r);return ol(s,r)?Wm(s,vi(),t,a.transform,n,i,a):a.transform(n,i)}function ol(e,t){return e[qe].data[t].pure}function H0(){return this._results[Symbol.iterator]()}class Ad{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Ps)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Ad.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=H0)}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){const i=this;i.dirty=!1;const r=function Qr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function kv(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function j0(e,t,n,i=!0){const r=t[qe];if(function M_(e,t,n,i){const r=ln+i,s=n.length;i>0&&(n[r-1][pi]=t),i<s-ln?(t[pi]=n[r],bf(n,ln+i,t)):(n.push(t),t[pi]=null),t[Qt]=n;const a=t[tr];null!==a&&n!==a&&function T_(e,t){const n=e[Bi];t[bn]!==t[Qt][Qt][bn]&&(e[qs]=!0),null===n?e[Bi]=[t]:n.push(t)}(a,t);const d=t[xn];null!==d&&d.insertView(e),t[bt]|=128}(r,t,e,n),i){const s=ec(n,e),a=t[_t],d=Nl(a,e[Ki]);null!==d&&function b_(e,t,n,i,r,s){i[Yt]=r,i[Mn]=t,ka(e,i,n,1,r,s)}(r,e[Mn],a,t,d,s)}}let al=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=G0}return e})();const $0=al,z0=class extends $0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=function U0(e,t,n,i){const r=t.tView,d=Jl(e,r,n,4096&e[bt]?4096:16,null,t,null,null,null,i?.injector??null,i?.hydrationInfo??null);d[tr]=e[t.index];const S=e[xn];return null!==S&&(d[xn]=S.createEmbeddedView(r)),Wc(r,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:i});return new Ka(r)}};function G0(){return _u(et(),Ne())}function _u(e,t){return 4&e.type?new z0(t,e,qo(e,t)):null}let Du=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=J0}return e})();function J0(){return sy(et(),Ne())}const q0=Du,iy=class extends q0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return qo(this._hostTNode,this._hostLView)}get injector(){return new ur(this._hostTNode,this._hostLView)}get parentInjector(){const t=yl(this._hostTNode,this._hostLView);if(Pu(t)){const n=Ia(t,this._hostLView),i=Aa(t);return new ur(n[qe].data[i+8],n)}return new ur(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ry(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ln}createEmbeddedView(t,n,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const d=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(d,r,false),d}createComponent(t,n,i,r,s){const a=t&&!function Ra(e){return"function"==typeof e}(t);let d;if(a)d=n;else{const je=n||{};d=je.index,i=je.injector,r=je.projectableNodes,s=je.environmentInjector||je.ngModuleRef}const m=a?t:new Za(Lt(t)),S=i||this.parentInjector;if(!s&&null==m.ngModule){const nt=(a?S:this.parentInjector).get(Rs,null);nt&&(s=nt)}Lt(m.componentType??{});const ye=m.create(S,r,null,s);return this.insertImpl(ye.hostView,d,false),ye}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const r=t._lView;if(function ie(e){return ai(e[Qt])}(r)){const m=this.indexOf(t);if(-1!==m)this.detach(m);else{const S=r[Qt],x=new iy(S,S[Mn],S[Qt]);x.detach(x.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return j0(d,r,a,!i),t.attachToViewContainerRef(),bf(Id(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ry(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Pl(this._lContainer,n);i&&(_l(Id(this._lContainer),n),Qu(i[qe],i))}detach(t){const n=this._adjustIndex(t,-1),i=Pl(this._lContainer,n);return i&&null!=_l(Id(this._lContainer),n)?new Ka(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function ry(e){return e[8]}function Id(e){return e[8]||(e[8]=[])}function sy(e,t){let n;const i=t[e.index];return ai(i)?n=i:(n=vp(i,t,null,e),t[e.index]=n,ql(t,n)),oy(n,t,e,i),new iy(n,e,t)}let oy=function ay(e,t,n,i){if(e[Ki])return;let r;r=8&n.type?vn(i):function X0(e,t){const n=e[_t],i=n.createComment(""),r=C(t,e);return _o(n,Nl(n,r),i,function R_(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[Ki]=r};class Od{constructor(t){this.queryList=t,this.matches=null}clone(){return new Od(this.queryList)}setDirty(){this.queryList.setDirty()}}class Rd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let s=0;s<i;s++){const a=n.getByIndex(s);r.push(this.queries[a.indexInDeclarationView].clone())}return new Rd(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==my(t,n).matches&&this.queries[n].setDirty()}}class ly{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Pd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,s=this.getByIndex(i).embeddedTView(t,r);s&&(s.indexInDeclarationView=i,null!==n?n.push(s):n=[s])}return null!==n?new Pd(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nd{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Nd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(t,n,nS(n,s)),this.matchTNodeWithReadOption(t,n,vl(n,t,s,!1,!1))}else i===al?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,vl(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===$a||r===Du||r===al&&4&n.type)this.addMatch(n.index,-2);else{const s=vl(n,t,r,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function nS(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function rS(e,t,n,i){return-1===n?function iS(e,t){return 11&e.type?qo(e,t):4&e.type?_u(e,t):null}(t,e):-2===n?function sS(e,t,n){return n===$a?qo(t,e):n===al?_u(t,e):n===Du?sy(t,e):void 0}(e,t,i):vo(e,e[qe],n,t)}function uy(e,t,n,i){const r=t[xn].queries[i];if(null===r.matches){const s=e.data,a=n.matches,d=[];for(let m=0;m<a.length;m+=2){const S=a[m];d.push(S<0?null:rS(t,s[S],a[m+1],n.metadata.read))}r.matches=d}return r.matches}function xd(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const a=uy(e,t,r,n);for(let d=0;d<s.length;d+=2){const m=s[d];if(m>0)i.push(a[d/2]);else{const S=s[d+1],x=t[-m];for(let $=ln;$<x.length;$++){const ue=x[$];ue[tr]===ue[Qt]&&xd(ue[qe],ue,S,i)}if(null!==x[Bi]){const $=x[Bi];for(let ue=0;ue<$.length;ue++){const ye=$[ue];xd(ye[qe],ye,S,i)}}}}}return i}function cy(e){const t=Ne(),n=jt(),i=c();y(i+1);const r=my(n,i);if(e.dirty&&function F(e){return 4==(4&e[bt])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const s=r.crossesNgTemplate?xd(n,t,i,[]):uy(n,t,r,i);e.reset(s,FE),e.notifyOnChanges()}return!0}return!1}function dy(e,t,n){const i=jt();i.firstCreatePass&&(gy(i,new ly(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),py(i,Ne(),t)}function fy(e,t,n,i){const r=jt();if(r.firstCreatePass){const s=et();gy(r,new ly(t,n,i),s.index),function aS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}py(r,Ne(),n)}function hy(){return function oS(e,t){return e[xn].queries[t].queryList}(Ne(),c())}function py(e,t,n){const i=new Ad(4==(4&n));(function pD(e,t,n,i){const r=Ep(t);r.push(n),e.firstCreatePass&&Dp(e).push(i,r.length-1)})(e,t,i,i.destroy),null===t[xn]&&(t[xn]=new Rd),t[xn].queries.push(new Od(i))}function gy(e,t,n){null===e.queries&&(e.queries=new Pd),e.queries.track(new Nd(t,n))}function my(e,t){return e.queries.getByIndex(t)}function yy(e,t){return _u(e,t)}function Ld(e){return!!Cn(e)}const xy=new Dt("Application Initializer");let Hd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=ne(xy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const s=r();if(sd(s))n.push(s);else if(ng(s)){const a=new Promise((d,m)=>{s.subscribe({complete:d,error:m})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ly=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const bu=new Dt("LocaleId",{providedIn:"root",factory:()=>ne(bu,Et.Optional|Et.SkipSelf)||function AS(){return typeof $localize<"u"&&$localize.locale||ga}()}),IS=new Dt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Fy=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new A.X(!1)}add(){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.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class RS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let PS=(()=>{class e{compileModuleSync(n){return new Md(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=Zs(Cn(n).declarations).reduce((a,d)=>{const m=Lt(d);return m&&a.push(new Za(m)),a},[]);return new RS(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Hy=new Dt(""),Uy=new Dt("");let $d,ew=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$d||(function tw(e){$d=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(he(Li),he(jy),he(Uy))};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}return e})(),jy=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return $d?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),so=null;const $y=new Dt("AllowMultipleToken"),zd=new Dt("PlatformDestroyListeners"),Gd=new Dt("appBootstrapListener");class rw{constructor(t,n){this.name=t,this.token=n}}function Wy(e,t,n=[]){const i=`Platform: ${t}`,r=new Dt(i);return(s=[])=>{let a=Wd();if(!a||a.injector.get($y,!1)){const d=[...n,...s,{provide:r,useValue:!0}];e?e(d):function sw(e){if(so&&!so.get($y,!1))throw new J(400,!1);(function zy(){!function p(e){as=e}(()=>{throw new J(600,!1)})})(),so=e;const t=e.get(Zy);(function Gy(e){e.get(Ah,null)?.forEach(n=>n())})(e)}(function Ky(e=[],t){return cs.create({name:t,providers:[{provide:hc,useValue:"platform"},{provide:zd,useValue:new Set([()=>so=null])},...e]})}(d,i))}return function aw(e){const t=Wd();if(!t)throw new J(401,!1);return t}()}}function Wd(){return so?.get(Zy)??null}let Zy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function lw(e="zone.js",t){return"noop"===e?new qE:"zone.js"===e?new Li(t):e}(i?.ngZone,function Yy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const s=function w0(e,t,n){return new wd(e,t,n)}(n.moduleType,this.injector,function ev(e){return[{provide:Li,useFactory:e},{provide:Ha,multi:!0,useFactory:()=>{const t=ne(cw,{optional:!0});return()=>t.initialize()}},{provide:Xy,useFactory:uw},{provide:Gh,useFactory:Wh}]}(()=>r)),a=s.injector.get(io,null);return r.runOutsideAngular(()=>{const d=r.onError.subscribe({next:m=>{a.handleError(m)}});s.onDestroy(()=>{wu(this._modules,s),d.unsubscribe()})}),function Qy(e,t,n){try{const i=n();return sd(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(a,r,()=>{const d=s.injector.get(Hd);return d.runInitializers(),d.donePromise.then(()=>(function em(e){kt(e,"Expected localeId to be defined"),"string"==typeof e&&(Xg=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(bu,ga)||ga),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,i=[]){const r=Jy({},i);return function nw(e,t,n){const i=new Md(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(va);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new J(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(zd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(he(cs))};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Jy(e,t){return Array.isArray(t)?t.reduce(Jy,e):{...e,...t}}let va=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ne(Xy),this.zoneIsStable=ne(Gh),this.componentTypes=[],this.components=[],this.isStable=ne(Fy).hasPendingTasks.pipe((0,ce.w)(n=>n?(0,B.of)(!1):this.zoneIsStable),(0,le.x)(),(0,U.B)()),this._injector=ne(Rs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Ph;if(!this._injector.get(Hd).done)throw!r&&Ei(n),new J(405,!1);let a;a=r?n:this._injector.get(Zl).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const d=function iw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Mo),S=a.create(cs.NULL,[],i||a.selector,d),x=S.location.nativeElement,$=S.injector.get(Hy,null);return $?.registerApplication(x),S.onDestroy(()=>{this.detachView(S.hostView),wu(this.components,S),$?.unregisterApplication(x)}),this._loadComponent(S),S}tick(){if(this._runningTick)throw new J(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;wu(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Gd,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(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 J(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Xy=new Dt("",{providedIn:"root",factory:()=>ne(io).handleError.bind(void 0)});function uw(){const e=ne(Li),t=ne(io);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cw=(()=>{class e{constructor(){this.zone=ne(Li),this.applicationRef=ne(va)}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(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fw(){return!1}let hw=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pw}return e})();function pw(e){return function gw(e,t,n){if(Or(e)&&!n){const i=w(e.index,t);return new Ka(i,i)}return 47&e.type?new Ka(t[bn],t):null}(et(),Ne(),16==(16&e))}class rv{constructor(){}supports(t){return nu(t)}create(t){return new Dw(t)}}const Ew=(e,t)=>t;class Dw{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||Ew}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const a=!i||n&&n.currentIndex<ov(i,r,s)?n:i,d=ov(a,r,s),m=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)r++;else{s||(s=[]);const S=d-r,x=m-r;if(S!=x){for(let ue=0;ue<S;ue++){const ye=ue<s.length?s[ue]:s[ue]=0,Oe=ye+ue;x<=Oe&&Oe<S&&(s[ue]=ye+1)}s[a.previousIndex]=x-S}}d!==m&&t(a,d,m)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!nu(t))throw new J(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,s,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)s=t[d],a=this._trackByFn(d,s),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,s,a,d)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,d),i=!0),n=n._next}else r=0,function oC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,d=>{a=this._trackByFn(r,d),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,d,a,r)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,a,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new Cw(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new sv),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 sv),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 Cw{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 bw{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class sv{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new bw,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 ov(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class av{constructor(){}supports(t){return t instanceof Map||Zc(t)}create(){return new Sw}}class Sw{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Zc(t)))throw new J(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,a=r._next;return s&&(s._next=a),a&&(a._prev=s),r._next=null,r._prev=null,r}const i=new ww(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class ww{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 lv(){return new Jd([new rv])}let Jd=(()=>{class e{static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:lv});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||lv()),deps:[[e,new Cl,new Dl]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new J(901,!1)}}return e})();function uv(){return new qd([new av])}let qd=(()=>{class e{static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:uv});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||uv()),deps:[[e,new Cl,new Dl]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new J(901,!1)}}return e})();const Aw=Wy(null,"core",[]);let Iw=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(he(va))};static#t=this.\u0275mod=Gr({type:e});static#n=this.\u0275inj=yt({})}return e})();function Hw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function jw(e){const t=Lt(e);if(!t)return null;const n=new Za(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}}}},6223:(ze,me,_)=>{_.d(me,{CE:()=>Ei,Cf:()=>ge,Fj:()=>le,JJ:()=>Mi,JL:()=>yt,JU:()=>h,NI:()=>$n,Oe:()=>Bi,On:()=>Nn,Q7:()=>Pi,UX:()=>Xn,_Y:()=>qi,a5:()=>sn,kI:()=>Ge,nD:()=>Ar,oH:()=>pr,on:()=>ir,qu:()=>In,sg:()=>ns,u:()=>Ri,u5:()=>Rr,x0:()=>cn});var o=_(2029),R=_(6814),V=_(7715),z=_(9315),T=_(7398);let H=(()=>{class M{constructor(E,k){this._renderer=E,this._elementRef=k,this.onChange=Q=>{},this.onTouched=()=>{}}setProperty(E,k){this._renderer.setProperty(this._elementRef.nativeElement,E,k)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(o.Qsj),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:M})}return M})(),N=(()=>{class M extends H{static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,features:[o.qOj]})}return M})();const h=new o.OlP("NgValueAccessor"),B={provide:h,useExisting:(0,o.Gpc)(()=>le),multi:!0},ce=new o.OlP("CompositionEventMode");let le=(()=>{class M extends H{constructor(E,k,Q){super(E,k),this._compositionMode=Q,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function U(){const M=(0,R.q)()?(0,R.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(ce,8))};static#t=this.\u0275dir=o.lG2({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(k,Q){1&k&&o.NdJ("input",function(Tt){return Q._handleInput(Tt.target.value)})("blur",function(){return Q.onTouched()})("compositionstart",function(){return Q._compositionStart()})("compositionend",function(Tt){return Q._compositionEnd(Tt.target.value)})},features:[o._Bn([B]),o.qOj]})}return M})();function G(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}function we(M){return null!=M&&"number"==typeof M.length}const ge=new o.OlP("NgValidators"),Ve=new o.OlP("NgAsyncValidators"),lt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ge{static min(O){return function se(M){return O=>{if(G(O.value)||G(M))return null;const E=parseFloat(O.value);return!isNaN(E)&&E<M?{min:{min:M,actual:O.value}}:null}}(O)}static max(O){return function de(M){return O=>{if(G(O.value)||G(M))return null;const E=parseFloat(O.value);return!isNaN(E)&&E>M?{max:{max:M,actual:O.value}}:null}}(O)}static required(O){return He(O)}static requiredTrue(O){return function fe(M){return!0===M.value?null:{required:!0}}(O)}static email(O){return ee(O)}static minLength(O){return function J(M){return O=>G(O.value)||!we(O.value)?null:O.value.length<M?{minlength:{requiredLength:M,actualLength:O.value.length}}:null}(O)}static maxLength(O){return We(O)}static pattern(O){return function q(M){if(!M)return Le;let O,E;return"string"==typeof M?(E="","^"!==M.charAt(0)&&(E+="^"),E+=M,"$"!==M.charAt(M.length-1)&&(E+="$"),O=new RegExp(E)):(E=M.toString(),O=M),k=>{if(G(k.value))return null;const Q=k.value;return O.test(Q)?null:{pattern:{requiredPattern:E,actualValue:Q}}}}(O)}static nullValidator(O){return null}static compose(O){return K(O)}static composeAsync(O){return pe(O)}}function He(M){return G(M.value)?{required:!0}:null}function ee(M){return G(M.value)||lt.test(M.value)?null:{email:!0}}function We(M){return O=>we(O.value)&&O.value.length>M?{maxlength:{requiredLength:M,actualLength:O.value.length}}:null}function Le(M){return null}function be(M){return null!=M}function ot(M){return(0,o.QGY)(M)?(0,V.D)(M):M}function ft(M){let O={};return M.forEach(E=>{O=null!=E?{...O,...E}:O}),0===Object.keys(O).length?null:O}function ke(M,O){return O.map(E=>E(M))}function re(M){return M.map(O=>function at(M){return!M.validate}(O)?O:E=>O.validate(E))}function K(M){if(!M)return null;const O=M.filter(be);return 0==O.length?null:function(E){return ft(ke(E,O))}}function oe(M){return null!=M?K(re(M)):null}function pe(M){if(!M)return null;const O=M.filter(be);return 0==O.length?null:function(E){const k=ke(E,O).map(ot);return(0,z.D)(k).pipe((0,T.U)(ft))}}function ve(M){return null!=M?pe(re(M)):null}function xe(M,O){return null===M?[O]:Array.isArray(M)?[...M,O]:[M,O]}function Re(M){return M._rawValidators}function Je(M){return M._rawAsyncValidators}function Ot(M){return M?Array.isArray(M)?M:[M]:[]}function gn(M,O){return Array.isArray(M)?M.includes(O):M===O}function ut(M,O){const E=Ot(O);return Ot(M).forEach(Q=>{gn(E,Q)||E.push(Q)}),E}function Jt(M,O){return Ot(O).filter(E=>!gn(M,E))}class kt{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(O){this._rawValidators=O||[],this._composedValidatorFn=oe(this._rawValidators)}_setAsyncValidators(O){this._rawAsyncValidators=O||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(O){this._onDestroyCallbacks.push(O)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(O=>O()),this._onDestroyCallbacks=[]}reset(O=void 0){this.control&&this.control.reset(O)}hasError(O,E){return!!this.control&&this.control.hasError(O,E)}getError(O,E){return this.control?this.control.getError(O,E):null}}class Ue extends kt{get formDirective(){return null}get path(){return null}}class sn extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ht{constructor(O){this._cd=O}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 Mi=(()=>{class M extends ht{constructor(E){super(E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(sn,2))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(k,Q){2&k&&o.ekj("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)},features:[o.qOj]})}return M})(),yt=(()=>{class M extends ht{constructor(E){super(E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,10))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(k,Q){2&k&&o.ekj("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)("ng-submitted",Q.isSubmitted)},features:[o.qOj]})}return M})();const ni="VALID",Dt="INVALID",St="PENDING",pn="DISABLED";function Fn(M){return($i(M)?M.validators:M)||null}function ji(M,O){return($i(O)?O.asyncValidators:M)||null}function $i(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}function $r(M,O,E){const k=M.controls;if(!(O?Object.keys(k):k).length)throw new o.vHH(1e3,"");if(!k[E])throw new o.vHH(1001,"")}function fr(M,O,E){M._forEachChild((k,Q)=>{if(void 0===E[Q])throw new o.vHH(1002,"")})}class Fi{constructor(O,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(O),this._assignAsyncValidators(E)}get validator(){return this._composedValidatorFn}set validator(O){this._rawValidators=this._composedValidatorFn=O}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(O){this._rawAsyncValidators=this._composedAsyncValidatorFn=O}get parent(){return this._parent}get valid(){return this.status===ni}get invalid(){return this.status===Dt}get pending(){return this.status==St}get disabled(){return this.status===pn}get enabled(){return this.status!==pn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(O){this._assignValidators(O)}setAsyncValidators(O){this._assignAsyncValidators(O)}addValidators(O){this.setValidators(ut(O,this._rawValidators))}addAsyncValidators(O){this.setAsyncValidators(ut(O,this._rawAsyncValidators))}removeValidators(O){this.setValidators(Jt(O,this._rawValidators))}removeAsyncValidators(O){this.setAsyncValidators(Jt(O,this._rawAsyncValidators))}hasValidator(O){return gn(this._rawValidators,O)}hasAsyncValidator(O){return gn(this._rawAsyncValidators,O)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(O={}){this.touched=!0,this._parent&&!O.onlySelf&&this._parent.markAsTouched(O)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(O=>O.markAllAsTouched())}markAsUntouched(O={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}markAsDirty(O={}){this.pristine=!1,this._parent&&!O.onlySelf&&this._parent.markAsDirty(O)}markAsPristine(O={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}markAsPending(O={}){this.status=St,!1!==O.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!O.onlySelf&&this._parent.markAsPending(O)}disable(O={}){const E=this._parentMarkedDirty(O.onlySelf);this.status=pn,this.errors=null,this._forEachChild(k=>{k.disable({...O,onlySelf:!0})}),this._updateValue(),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...O,skipPristineCheck:E}),this._onDisabledChange.forEach(k=>k(!0))}enable(O={}){const E=this._parentMarkedDirty(O.onlySelf);this.status=ni,this._forEachChild(k=>{k.enable({...O,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent}),this._updateAncestors({...O,skipPristineCheck:E}),this._onDisabledChange.forEach(k=>k(!1))}_updateAncestors(O){this._parent&&!O.onlySelf&&(this._parent.updateValueAndValidity(O),O.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(O){this._parent=O}getRawValue(){return this.value}updateValueAndValidity(O={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ni||this.status===St)&&this._runAsyncValidator(O.emitEvent)),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!O.onlySelf&&this._parent.updateValueAndValidity(O)}_updateTreeValidity(O={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(O)),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pn:ni}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(O){if(this.asyncValidator){this.status=St,this._hasOwnPendingAsyncValidator=!0;const E=ot(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(k=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(k,{emitEvent:O})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(O,E={}){this.errors=O,this._updateControlsErrors(!1!==E.emitEvent)}get(O){let E=O;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce((k,Q)=>k&&k._find(Q),this)}getError(O,E){const k=E?this.get(E):this;return k&&k.errors?k.errors[O]:null}hasError(O,E){return!!this.getError(O,E)}get root(){let O=this;for(;O._parent;)O=O._parent;return O}_updateControlsErrors(O){this.status=this._calculateStatus(),O&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(O)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?pn:this.errors?Dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(St)?St:this._anyControlsHaveStatus(Dt)?Dt:ni}_anyControlsHaveStatus(O){return this._anyControls(E=>E.status===O)}_anyControlsDirty(){return this._anyControls(O=>O.dirty)}_anyControlsTouched(){return this._anyControls(O=>O.touched)}_updatePristine(O={}){this.pristine=!this._anyControlsDirty(),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}_updateTouched(O={}){this.touched=this._anyControlsTouched(),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}_registerOnCollectionChange(O){this._onCollectionChange=O}_setUpdateStrategy(O){$i(O)&&null!=O.updateOn&&(this._updateOn=O.updateOn)}_parentMarkedDirty(O){return!O&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(O){return null}_assignValidators(O){this._rawValidators=Array.isArray(O)?O.slice():O,this._composedValidatorFn=function Yn(M){return Array.isArray(M)?oe(M):M||null}(this._rawValidators)}_assignAsyncValidators(O){this._rawAsyncValidators=Array.isArray(O)?O.slice():O,this._composedAsyncValidatorFn=function ii(M){return Array.isArray(M)?ve(M):M||null}(this._rawAsyncValidators)}}class Me extends Fi{constructor(O,E,k){super(Fn(E),ji(k,E)),this.controls=O,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(O,E){return this.controls[O]?this.controls[O]:(this.controls[O]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(O,E,k={}){this.registerControl(O,E),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}removeControl(O,E={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(O,E,k={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],E&&this.registerControl(O,E),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}contains(O){return this.controls.hasOwnProperty(O)&&this.controls[O].enabled}setValue(O,E={}){fr(this,0,O),Object.keys(O).forEach(k=>{$r(this,!0,k),this.controls[k].setValue(O[k],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(O,E={}){null!=O&&(Object.keys(O).forEach(k=>{const Q=this.controls[k];Q&&Q.patchValue(O[k],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(O={},E={}){this._forEachChild((k,Q)=>{k.reset(O?O[Q]:null,{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this._reduceChildren({},(O,E,k)=>(O[k]=E.getRawValue(),O))}_syncPendingControls(){let O=this._reduceChildren(!1,(E,k)=>!!k._syncPendingControls()||E);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){Object.keys(this.controls).forEach(E=>{const k=this.controls[E];k&&O(k,E)})}_setUpControls(){this._forEachChild(O=>{O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(O){for(const[E,k]of Object.entries(this.controls))if(this.contains(E)&&O(k))return!0;return!1}_reduceValue(){return this._reduceChildren({},(E,k,Q)=>((k.enabled||this.disabled)&&(E[Q]=k.value),E))}_reduceChildren(O,E){let k=O;return this._forEachChild((Q,it)=>{k=E(k,Q,it)}),k}_allControlsDisabled(){for(const O of Object.keys(this.controls))if(this.controls[O].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(O){return this.controls.hasOwnProperty(O)?this.controls[O]:null}}class ae extends Me{}const Ke=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>st}),st="always";function Ut(M,O){return[...O.path,M]}function wt(M,O,E=st){he(M,O),O.valueAccessor.writeValue(M.value),(M.disabled||"always"===E)&&O.valueAccessor.setDisabledState?.(M.disabled),function ne(M,O){O.valueAccessor.registerOnChange(E=>{M._pendingValue=E,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&$e(M,O)})}(M,O),function Ye(M,O){const E=(k,Q)=>{O.valueAccessor.writeValue(k),Q&&O.viewToModelUpdate(k)};M.registerOnChange(E),O._registerOnDestroy(()=>{M._unregisterOnChange(E)})}(M,O),function Ae(M,O){O.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&$e(M,O),"submit"!==M.updateOn&&M.markAsTouched()})}(M,O),function _i(M,O){if(O.valueAccessor.setDisabledState){const E=k=>{O.valueAccessor.setDisabledState(k)};M.registerOnDisabledChange(E),O._registerOnDestroy(()=>{M._unregisterOnDisabledChange(E)})}}(M,O)}function on(M,O,E=!0){const k=()=>{};O.valueAccessor&&(O.valueAccessor.registerOnChange(k),O.valueAccessor.registerOnTouched(k)),te(M,O),M&&(O._invokeOnDestroyCallbacks(),M._registerOnCollectionChange(()=>{}))}function Bt(M,O){M.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(O)})}function he(M,O){const E=Re(M);null!==O.validator?M.setValidators(xe(E,O.validator)):"function"==typeof E&&M.setValidators([E]);const k=Je(M);null!==O.asyncValidator?M.setAsyncValidators(xe(k,O.asyncValidator)):"function"==typeof k&&M.setAsyncValidators([k]);const Q=()=>M.updateValueAndValidity();Bt(O._rawValidators,Q),Bt(O._rawAsyncValidators,Q)}function te(M,O){let E=!1;if(null!==M){if(null!==O.validator){const Q=Re(M);if(Array.isArray(Q)&&Q.length>0){const it=Q.filter(Tt=>Tt!==O.validator);it.length!==Q.length&&(E=!0,M.setValidators(it))}}if(null!==O.asyncValidator){const Q=Je(M);if(Array.isArray(Q)&&Q.length>0){const it=Q.filter(Tt=>Tt!==O.asyncValidator);it.length!==Q.length&&(E=!0,M.setAsyncValidators(it))}}}const k=()=>{};return Bt(O._rawValidators,k),Bt(O._rawAsyncValidators,k),E}function $e(M,O){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Mt(M,O){if(!M.hasOwnProperty("model"))return!1;const E=M.model;return!!E.isFirstChange()||!Object.is(O,E.currentValue)}function Kt(M,O){if(!O)return null;let E,k,Q;return Array.isArray(O),O.forEach(it=>{it.constructor===le?E=it:function Pn(M){return Object.getPrototypeOf(M.constructor)===N}(it)?k=it:Q=it}),Q||k||E||null}function jn(M,O){const E=M.indexOf(O);E>-1&&M.splice(E,1)}function zi(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const $n=class extends Fi{constructor(O=null,E,k){super(Fn(E),ji(k,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(O),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$i(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=zi(O)?O.value:O)}setValue(O,E={}){this.value=this._pendingValue=O,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(k=>k(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(O,E={}){this.setValue(O,E)}reset(O=this.defaultValue,E={}){this._applyFormState(O),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(O){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(O){this._onChange.push(O)}_unregisterOnChange(O){jn(this._onChange,O)}registerOnDisabledChange(O){this._onDisabledChange.push(O)}_unregisterOnDisabledChange(O){jn(this._onDisabledChange,O)}_forEachChild(O){}_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(O){zi(O)?(this.value=this._pendingValue=O.value,O.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=O}};let hr=(()=>{class M extends Ue{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ut(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,features:[o.qOj]})}return M})();const Ji={provide:sn,useExisting:(0,o.Gpc)(()=>Nn)},Gi=(()=>Promise.resolve())();let Nn=(()=>{class M extends sn{constructor(E,k,Q,it,Tt,Ci){super(),this._changeDetectorRef=Tt,this.callSetDisabledState=Ci,this.control=new $n,this._registered=!1,this.name="",this.update=new o.vpe,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q),this.valueAccessor=Kt(0,it)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const k=E.name.previousValue;this.formDirective.removeControl({name:k,path:this._getPath(k)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),Mt(E,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(E){this.viewModel=E,this.update.emit(E)}_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(){wt(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(E){Gi.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const k=E.isDisabled.currentValue,Q=0!==k&&(0,o.VuI)(k);Gi.then(()=>{Q&&!this.control.disabled?this.control.disable():!Q&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?Ut(E,this._parent):[E]}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,9),o.Y36(ge,10),o.Y36(Ve,10),o.Y36(h,10),o.Y36(o.sBO,8),o.Y36(Ke,8))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Ji]),o.qOj,o.TTD]})}return M})(),qi=(()=>{class M{static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return M})(),gs=(()=>{class M{static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({})}return M})();const Gr=new o.OlP("NgModelWithFormControlWarning"),Bs={provide:sn,useExisting:(0,o.Gpc)(()=>pr)};let pr=(()=>{class M extends sn{set isDisabled(E){}static#e=this._ngModelWarningSentOnce=!1;constructor(E,k,Q,it,Tt){super(),this._ngModelWarningConfig=it,this.callSetDisabledState=Tt,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(E),this._setAsyncValidators(k),this.valueAccessor=Kt(0,Q)}ngOnChanges(E){if(this._isControlChanged(E)){const k=E.form.previousValue;k&&on(k,this,!1),wt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Mt(E,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&on(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_isControlChanged(E){return E.hasOwnProperty("form")}static#t=this.\u0275fac=function(k){return new(k||M)(o.Y36(ge,10),o.Y36(Ve,10),o.Y36(h,10),o.Y36(Gr,8),o.Y36(Ke,8))};static#n=this.\u0275dir=o.lG2({type:M,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([Bs]),o.qOj,o.TTD]})}return M})();const ts={provide:Ue,useExisting:(0,o.Gpc)(()=>ns)};let ns=(()=>{class M extends Ue{constructor(E,k,Q){super(),this.callSetDisabledState=Q,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(E),this._setAsyncValidators(k)}ngOnChanges(E){this._checkFormPresent(),E.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(te(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(E){const k=this.form.get(E.path);return wt(k,E,this.callSetDisabledState),k.updateValueAndValidity({emitEvent:!1}),this.directives.push(E),k}getControl(E){return this.form.get(E.path)}removeControl(E){on(E.control||null,E,!1),function Qn(M,O){const E=M.indexOf(O);E>-1&&M.splice(E,1)}(this.directives,E)}addFormGroup(E){this._setUpFormContainer(E)}removeFormGroup(E){this._cleanUpFormContainer(E)}getFormGroup(E){return this.form.get(E.path)}addFormArray(E){this._setUpFormContainer(E)}removeFormArray(E){this._cleanUpFormContainer(E)}getFormArray(E){return this.form.get(E.path)}updateModel(E,k){this.form.get(E.path).setValue(k)}onSubmit(E){return this.submitted=!0,function Wt(M,O){M._syncPendingControls(),O.forEach(E=>{const k=E.control;"submit"===k.updateOn&&k._pendingChange&&(E.viewToModelUpdate(k._pendingValue),k._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(E),"dialog"===E?.target?.method}onReset(){this.resetForm()}resetForm(E=void 0){this.form.reset(E),this.submitted=!1}_updateDomValue(){this.directives.forEach(E=>{const k=E.control,Q=this.form.get(E.path);k!==Q&&(on(k||null,E),(M=>M instanceof $n)(Q)&&(wt(Q,E,this.callSetDisabledState),E.control=Q))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(E){const k=this.form.get(E.path);(function Ze(M,O){he(M,O)})(k,E),k.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(E){if(this.form){const k=this.form.get(E.path);k&&function an(M,O){return te(M,O)}(k,E)&&k.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){he(this.form,this),this._oldForm&&te(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(ge,10),o.Y36(Ve,10),o.Y36(Ke,8))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(k,Q){1&k&&o.NdJ("submit",function(Tt){return Q.onSubmit(Tt)})("reset",function(){return Q.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([ts]),o.qOj,o.TTD]})}return M})();const Lt={provide:Ue,useExisting:(0,o.Gpc)(()=>cn)};let cn=(()=>{class M extends hr{constructor(E,k,Q){super(),this.name=null,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q)}_checkParentType(){Cn(this._parent)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,13),o.Y36(ge,10),o.Y36(Ve,10))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[o._Bn([Lt]),o.qOj]})}return M})();const Vn={provide:Ue,useExisting:(0,o.Gpc)(()=>Ei)};let Ei=(()=>{class M extends Ue{constructor(E,k,Q){super(),this.name=null,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ut(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Cn(this._parent)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,13),o.Y36(ge,10),o.Y36(Ve,10))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[o._Bn([Vn]),o.qOj]})}return M})();function Cn(M){return!(M instanceof cn||M instanceof ns||M instanceof Ei)}const oi={provide:sn,useExisting:(0,o.Gpc)(()=>Ri)};let Ri=(()=>{class M extends sn{set isDisabled(E){}static#e=this._ngModelWarningSentOnce=!1;constructor(E,k,Q,it,Tt){super(),this._ngModelWarningConfig=Tt,this._added=!1,this.name=null,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q),this.valueAccessor=Kt(0,it)}ngOnChanges(E){this._added||this._setUpControl(),Mt(E,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}get path(){return Ut(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,13),o.Y36(ge,10),o.Y36(Ve,10),o.Y36(h,10),o.Y36(Gr,8))};static#n=this.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([oi]),o.qOj,o.TTD]})}return M})();let qn=(()=>{class M{constructor(){this._validator=Le}ngOnChanges(E){if(this.inputName in E){const k=this.normalizeInput(E[this.inputName].currentValue);this._enabled=this.enabled(k),this._validator=this._enabled?this.createValidator(k):Le,this._onChange&&this._onChange()}}validate(E){return this._validator(E)}registerOnValidatorChange(E){this._onChange=E}enabled(E){return null!=E}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275dir=o.lG2({type:M,features:[o.TTD]})}return M})();const bn={provide:ge,useExisting:(0,o.Gpc)(()=>Pi),multi:!0};let Pi=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.VuI,this.createValidator=E=>He}enabled(E){return E}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(k,Q){2&k&&o.uIk("required",Q._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([bn]),o.qOj]})}return M})();const nr={provide:ge,useExisting:(0,o.Gpc)(()=>ir),multi:!0};let ir=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=o.VuI,this.createValidator=E=>ee}enabled(E){return E}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[o._Bn([nr]),o.qOj]})}return M})();const Wi={provide:ge,useExisting:(0,o.Gpc)(()=>Ar),multi:!0};let Ar=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=E=>function nn(M){return"number"==typeof M?M:parseInt(M,10)}(E),this.createValidator=E=>We(E)}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(k,Q){2&k&&o.uIk("maxlength",Q._enabled?Q.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([Wi]),o.qOj]})}return M})(),rr=(()=>{class M{static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({imports:[gs]})}return M})();class Bi extends Fi{constructor(O,E,k){super(Fn(E),ji(k,E)),this.controls=O,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(O){return this.controls[this._adjustIndex(O)]}push(O,E={}){this.controls.push(O),this._registerControl(O),this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}insert(O,E,k={}){this.controls.splice(O,0,E),this._registerControl(E),this.updateValueAndValidity({emitEvent:k.emitEvent})}removeAt(O,E={}){let k=this._adjustIndex(O);k<0&&(k=0),this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),this.controls.splice(k,1),this.updateValueAndValidity({emitEvent:E.emitEvent})}setControl(O,E,k={}){let Q=this._adjustIndex(O);Q<0&&(Q=0),this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),this.controls.splice(Q,1),E&&(this.controls.splice(Q,0,E),this._registerControl(E)),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(O,E={}){fr(this,0,O),O.forEach((k,Q)=>{$r(this,!1,Q),this.at(Q).setValue(k,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(O,E={}){null!=O&&(O.forEach((k,Q)=>{this.at(Q)&&this.at(Q).patchValue(k,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(O=[],E={}){this._forEachChild((k,Q)=>{k.reset(O[Q],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this.controls.map(O=>O.getRawValue())}clear(O={}){this.controls.length<1||(this._forEachChild(E=>E._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:O.emitEvent}))}_adjustIndex(O){return O<0?O+this.length:O}_syncPendingControls(){let O=this.controls.reduce((E,k)=>!!k._syncPendingControls()||E,!1);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){this.controls.forEach((E,k)=>{O(E,k)})}_updateValue(){this.value=this.controls.filter(O=>O.enabled||this.disabled).map(O=>O.value)}_anyControls(O){return this.controls.some(E=>E.enabled&&O(E))}_setUpControls(){this._forEachChild(O=>this._registerControl(O))}_allControlsDisabled(){for(const O of this.controls)if(O.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(O){O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)}_find(O){return this.at(O)??null}}function Xs(M){return!!M&&(void 0!==M.asyncValidators||void 0!==M.validators||void 0!==M.updateOn)}let In=(()=>{class M{constructor(){this.useNonNullable=!1}get nonNullable(){const E=new M;return E.useNonNullable=!0,E}group(E,k=null){const Q=this._reduceControls(E);let it={};return Xs(k)?it=k:null!==k&&(it.validators=k.validator,it.asyncValidators=k.asyncValidator),new Me(Q,it)}record(E,k=null){const Q=this._reduceControls(E);return new ae(Q,k)}control(E,k,Q){let it={};return this.useNonNullable?(Xs(k)?it=k:(it.validators=k,it.asyncValidators=Q),new $n(E,{...it,nonNullable:!0})):new $n(E,k,Q)}array(E,k,Q){const it=E.map(Tt=>this._createControl(Tt));return new Bi(it,k,Q)}_reduceControls(E){const k={};return Object.keys(E).forEach(Q=>{k[Q]=this._createControl(E[Q])}),k}_createControl(E){return E instanceof $n||E instanceof Fi?E:Array.isArray(E)?this.control(E[0],E.length>1?E[1]:null,E.length>2?E[2]:null):this.control(E)}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275prov=o.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),Rr=(()=>{class M{static withConfig(E){return{ngModule:M,providers:[{provide:Ke,useValue:E.callSetDisabledState??st}]}}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({imports:[rr]})}return M})(),Xn=(()=>{class M{static withConfig(E){return{ngModule:M,providers:[{provide:Gr,useValue:E.warnOnNgModelWithFormControl??"always"},{provide:Ke,useValue:E.callSetDisabledState??st}]}}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({imports:[rr]})}return M})()},6593:(ze,me,_)=>{_.d(me,{Dx:()=>Ui,H7:()=>Dt,b2:()=>hn,q6:()=>kt,se:()=>J});var o=_(2029),R=_(6814);class V extends R.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends V{static makeCurrent(){(0,R.HT)(new z)}onAndCancel(Ee,Y,ae){return Ee.addEventListener(Y,ae),()=>{Ee.removeEventListener(Y,ae)}}dispatchEvent(Ee,Y){Ee.dispatchEvent(Y)}remove(Ee){Ee.parentNode&&Ee.parentNode.removeChild(Ee)}createElement(Ee,Y){return(Y=Y||this.getDefaultDocument()).createElement(Ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ee){return Ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ee){return Ee instanceof DocumentFragment}getGlobalEventTarget(Ee,Y){return"window"===Y?window:"document"===Y?Ee:"body"===Y?Ee.body:null}getBaseHref(Ee){const Y=function H(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}();return null==Y?null:function h(Me){N=N||document.createElement("a"),N.setAttribute("href",Me);const Ee=N.pathname;return"/"===Ee.charAt(0)?Ee:`/${Ee}`}(Y)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ee){return(0,R.Mx)(document.cookie,Ee)}}let N,T=null,A=(()=>{class Me{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ae){return new(ae||Me)};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const B=new o.OlP("EventManagerPlugins");let U=(()=>{class Me{constructor(Y,ae){this._zone=ae,this._eventNameToPlugin=new Map,Y.forEach(Ie=>{Ie.manager=this}),this._plugins=Y.slice().reverse()}addEventListener(Y,ae,Ie){return this._findPluginFor(ae).addEventListener(Y,ae,Ie)}getZone(){return this._zone}_findPluginFor(Y){let ae=this._eventNameToPlugin.get(Y);if(ae)return ae;if(ae=this._plugins.find(Ke=>Ke.supports(Y)),!ae)throw new o.vHH(5101,!1);return this._eventNameToPlugin.set(Y,ae),ae}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(B),o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();class ce{constructor(Ee){this._doc=Ee}}const le="ng-app-id";let G=(()=>{class Me{constructor(Y,ae,Ie,Ke={}){this.doc=Y,this.appId=ae,this.nonce=Ie,this.platformId=Ke,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,R.PM)(Ke),this.resetHostNodes()}addStyles(Y){for(const ae of Y)1===this.changeUsageCount(ae,1)&&this.onStyleAdded(ae)}removeStyles(Y){for(const ae of Y)this.changeUsageCount(ae,-1)<=0&&this.onStyleRemoved(ae)}ngOnDestroy(){const Y=this.styleNodesInDOM;Y&&(Y.forEach(ae=>ae.remove()),Y.clear());for(const ae of this.getAllStyles())this.onStyleRemoved(ae);this.resetHostNodes()}addHost(Y){this.hostNodes.add(Y);for(const ae of this.getAllStyles())this.addStyleToHost(Y,ae)}removeHost(Y){this.hostNodes.delete(Y)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Y){for(const ae of this.hostNodes)this.addStyleToHost(ae,Y)}onStyleRemoved(Y){const ae=this.styleRef;ae.get(Y)?.elements?.forEach(Ie=>Ie.remove()),ae.delete(Y)}collectServerRenderedStyles(){const Y=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(Y?.length){const ae=new Map;return Y.forEach(Ie=>{null!=Ie.textContent&&ae.set(Ie.textContent,Ie)}),ae}return null}changeUsageCount(Y,ae){const Ie=this.styleRef;if(Ie.has(Y)){const Ke=Ie.get(Y);return Ke.usage+=ae,Ke.usage}return Ie.set(Y,{usage:ae,elements:[]}),ae}getStyleElement(Y,ae){const Ie=this.styleNodesInDOM,Ke=Ie?.get(ae);if(Ke?.parentNode===Y)return Ie.delete(ae),Ke.removeAttribute(le),Ke;{const st=this.doc.createElement("style");return this.nonce&&st.setAttribute("nonce",this.nonce),st.textContent=ae,this.platformIsServer&&st.setAttribute(le,this.appId),st}}addStyleToHost(Y,ae){const Ie=this.getStyleElement(Y,ae);Y.appendChild(Ie);const Ke=this.styleRef,st=Ke.get(ae)?.elements;st?st.push(Ie):Ke.set(ae,{elements:[Ie],usage:1})}resetHostNodes(){const Y=this.hostNodes;Y.clear(),Y.add(this.doc.head)}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0),o.LFG(o.AFp),o.LFG(o.Ojb,8),o.LFG(o.Lbi))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const we={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/"},ge=/%COMP%/g,de=new o.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ee(Me,Ee){return Ee.map(Y=>Y.replace(ge,Me))}let J=(()=>{class Me{constructor(Y,ae,Ie,Ke,st,Ut,wt,on=null){this.eventManager=Y,this.sharedStylesHost=ae,this.appId=Ie,this.removeStylesOnCompDestroy=Ke,this.doc=st,this.platformId=Ut,this.ngZone=wt,this.nonce=on,this.rendererByCompId=new Map,this.platformIsServer=(0,R.PM)(Ut),this.defaultRenderer=new We(Y,st,wt,this.platformIsServer)}createRenderer(Y,ae){if(!Y||!ae)return this.defaultRenderer;this.platformIsServer&&ae.encapsulation===o.ifc.ShadowDom&&(ae={...ae,encapsulation:o.ifc.Emulated});const Ie=this.getOrCreateRenderer(Y,ae);return Ie instanceof ke?Ie.applyToHost(Y):Ie instanceof ft&&Ie.applyStyles(),Ie}getOrCreateRenderer(Y,ae){const Ie=this.rendererByCompId;let Ke=Ie.get(ae.id);if(!Ke){const st=this.doc,Ut=this.ngZone,wt=this.eventManager,on=this.sharedStylesHost,Bt=this.removeStylesOnCompDestroy,_i=this.platformIsServer;switch(ae.encapsulation){case o.ifc.Emulated:Ke=new ke(wt,on,ae,this.appId,Bt,st,Ut,_i);break;case o.ifc.ShadowDom:return new ot(wt,on,Y,ae,st,Ut,this.nonce,_i);default:Ke=new ft(wt,on,ae,Bt,st,Ut,_i)}Ie.set(ae.id,Ke)}return Ke}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(U),o.LFG(G),o.LFG(o.AFp),o.LFG(de),o.LFG(R.K0),o.LFG(o.Lbi),o.LFG(o.R0b),o.LFG(o.Ojb))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();class We{constructor(Ee,Y,ae,Ie){this.eventManager=Ee,this.doc=Y,this.ngZone=ae,this.platformIsServer=Ie,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ee,Y){return Y?this.doc.createElementNS(we[Y]||Y,Ee):this.doc.createElement(Ee)}createComment(Ee){return this.doc.createComment(Ee)}createText(Ee){return this.doc.createTextNode(Ee)}appendChild(Ee,Y){(be(Ee)?Ee.content:Ee).appendChild(Y)}insertBefore(Ee,Y,ae){Ee&&(be(Ee)?Ee.content:Ee).insertBefore(Y,ae)}removeChild(Ee,Y){Ee&&Ee.removeChild(Y)}selectRootElement(Ee,Y){let ae="string"==typeof Ee?this.doc.querySelector(Ee):Ee;if(!ae)throw new o.vHH(-5104,!1);return Y||(ae.textContent=""),ae}parentNode(Ee){return Ee.parentNode}nextSibling(Ee){return Ee.nextSibling}setAttribute(Ee,Y,ae,Ie){if(Ie){Y=Ie+":"+Y;const Ke=we[Ie];Ke?Ee.setAttributeNS(Ke,Y,ae):Ee.setAttribute(Y,ae)}else Ee.setAttribute(Y,ae)}removeAttribute(Ee,Y,ae){if(ae){const Ie=we[ae];Ie?Ee.removeAttributeNS(Ie,Y):Ee.removeAttribute(`${ae}:${Y}`)}else Ee.removeAttribute(Y)}addClass(Ee,Y){Ee.classList.add(Y)}removeClass(Ee,Y){Ee.classList.remove(Y)}setStyle(Ee,Y,ae,Ie){Ie&(o.JOm.DashCase|o.JOm.Important)?Ee.style.setProperty(Y,ae,Ie&o.JOm.Important?"important":""):Ee.style[Y]=ae}removeStyle(Ee,Y,ae){ae&o.JOm.DashCase?Ee.style.removeProperty(Y):Ee.style[Y]=""}setProperty(Ee,Y,ae){Ee[Y]=ae}setValue(Ee,Y){Ee.nodeValue=Y}listen(Ee,Y,ae){if("string"==typeof Ee&&!(Ee=(0,R.q)().getGlobalEventTarget(this.doc,Ee)))throw new Error(`Unsupported event target ${Ee} for event ${Y}`);return this.eventManager.addEventListener(Ee,Y,this.decoratePreventDefault(ae))}decoratePreventDefault(Ee){return Y=>{if("__ngUnwrap__"===Y)return Ee;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ee(Y)):Ee(Y))&&Y.preventDefault()}}}function be(Me){return"TEMPLATE"===Me.tagName&&void 0!==Me.content}class ot extends We{constructor(Ee,Y,ae,Ie,Ke,st,Ut,wt){super(Ee,Ke,st,wt),this.sharedStylesHost=Y,this.hostEl=ae,this.shadowRoot=ae.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const on=ee(Ie.id,Ie.styles);for(const Bt of on){const _i=document.createElement("style");Ut&&_i.setAttribute("nonce",Ut),_i.textContent=Bt,this.shadowRoot.appendChild(_i)}}nodeOrShadowRoot(Ee){return Ee===this.hostEl?this.shadowRoot:Ee}appendChild(Ee,Y){return super.appendChild(this.nodeOrShadowRoot(Ee),Y)}insertBefore(Ee,Y,ae){return super.insertBefore(this.nodeOrShadowRoot(Ee),Y,ae)}removeChild(Ee,Y){return super.removeChild(this.nodeOrShadowRoot(Ee),Y)}parentNode(Ee){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ee)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ft extends We{constructor(Ee,Y,ae,Ie,Ke,st,Ut,wt){super(Ee,Ke,st,Ut),this.sharedStylesHost=Y,this.removeStylesOnCompDestroy=Ie,this.styles=wt?ee(wt,ae.styles):ae.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ke extends ft{constructor(Ee,Y,ae,Ie,Ke,st,Ut,wt){const on=Ie+"-"+ae.id;super(Ee,Y,ae,Ke,st,Ut,wt,on),this.contentAttr=function He(Me){return"_ngcontent-%COMP%".replace(ge,Me)}(on),this.hostAttr=function fe(Me){return"_nghost-%COMP%".replace(ge,Me)}(on)}applyToHost(Ee){this.applyStyles(),this.setAttribute(Ee,this.hostAttr,"")}createElement(Ee,Y){const ae=super.createElement(Ee,Y);return super.setAttribute(ae,this.contentAttr,""),ae}}let at=(()=>{class Me extends ce{constructor(Y){super(Y)}supports(Y){return!0}addEventListener(Y,ae,Ie){return Y.addEventListener(ae,Ie,!1),()=>this.removeEventListener(Y,ae,Ie)}removeEventListener(Y,ae,Ie){return Y.removeEventListener(ae,Ie)}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const re=["alt","control","meta","shift"],K={"\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"},oe={alt:Me=>Me.altKey,control:Me=>Me.ctrlKey,meta:Me=>Me.metaKey,shift:Me=>Me.shiftKey};let pe=(()=>{class Me extends ce{constructor(Y){super(Y)}supports(Y){return null!=Me.parseEventName(Y)}addEventListener(Y,ae,Ie){const Ke=Me.parseEventName(ae),st=Me.eventCallback(Ke.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,R.q)().onAndCancel(Y,Ke.domEventName,st))}static parseEventName(Y){const ae=Y.toLowerCase().split("."),Ie=ae.shift();if(0===ae.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const Ke=Me._normalizeKey(ae.pop());let st="",Ut=ae.indexOf("code");if(Ut>-1&&(ae.splice(Ut,1),st="code."),re.forEach(on=>{const Bt=ae.indexOf(on);Bt>-1&&(ae.splice(Bt,1),st+=on+".")}),st+=Ke,0!=ae.length||0===Ke.length)return null;const wt={};return wt.domEventName=Ie,wt.fullKey=st,wt}static matchEventFullKeyCode(Y,ae){let Ie=K[Y.key]||Y.key,Ke="";return ae.indexOf("code.")>-1&&(Ie=Y.code,Ke="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),re.forEach(st=>{st!==Ie&&(0,oe[st])(Y)&&(Ke+=st+".")}),Ke+=Ie,Ke===ae)}static eventCallback(Y,ae,Ie){return Ke=>{Me.matchEventFullKeyCode(Ke,Y)&&Ie.runGuarded(()=>ae(Ke))}}static _normalizeKey(Y){return"esc"===Y?"escape":Y}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const kt=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:R.bD},{provide:o.g9A,useValue:function Ot(){z.makeCurrent()},multi:!0},{provide:R.K0,useFactory:function ut(){return(0,o.RDi)(document),document},deps:[]}]),Ue=new o.OlP(""),sn=[{provide:o.rWj,useClass:class j{addToWindow(Ee){o.dqk.getAngularTestability=(ae,Ie=!0)=>{const Ke=Ee.findTestabilityInTree(ae,Ie);if(null==Ke)throw new o.vHH(5103,!1);return Ke},o.dqk.getAllAngularTestabilities=()=>Ee.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>Ee.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(ae=>{const Ie=o.dqk.getAllAngularTestabilities();let Ke=Ie.length,st=!1;const Ut=function(wt){st=st||wt,Ke--,0==Ke&&ae(st)};Ie.forEach(wt=>{wt.whenStable(Ut)})})}findTestabilityInTree(Ee,Y,ae){return null==Y?null:Ee.getTestability(Y)??(ae?(0,R.q)().isShadowRoot(Y)?this.findTestabilityInTree(Ee,Y.host,!0):this.findTestabilityInTree(Ee,Y.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],ht=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function gn(){return new o.qLn},deps:[]},{provide:B,useClass:at,multi:!0,deps:[R.K0,o.R0b,o.Lbi]},{provide:B,useClass:pe,multi:!0,deps:[R.K0]},J,G,U,{provide:o.FYo,useExisting:J},{provide:R.JF,useClass:A,deps:[]},[]];let hn=(()=>{class Me{constructor(Y){}static withServerTransition(Y){return{ngModule:Me,providers:[{provide:o.AFp,useValue:Y.appId}]}}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(Ue,12))};static#t=this.\u0275mod=o.oAB({type:Me});static#n=this.\u0275inj=o.cJS({providers:[...ht,...sn],imports:[R.ez,o.hGG]})}return Me})(),Ui=(()=>{class Me{constructor(Y){this._doc=Y}getTitle(){return this._doc.title}setTitle(Y){this._doc.title=Y||""}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:function(ae){let Ie=null;return Ie=ae?new ae:function ti(){return new Ui((0,o.LFG)(R.K0))}(),Ie},providedIn:"root"})}return Me})();typeof window<"u"&&window;let Dt=(()=>{class Me{static#e=this.\u0275fac=function(ae){return new(ae||Me)};static#t=this.\u0275prov=o.Yz7({token:Me,factory:function(ae){let Ie=null;return Ie=ae?new(ae||Me):o.LFG(pn),Ie},providedIn:"root"})}return Me})(),pn=(()=>{class Me extends Dt{constructor(Y){super(),this._doc=Y}sanitize(Y,ae){if(null==ae)return null;switch(Y){case o.q3G.NONE:return ae;case o.q3G.HTML:return(0,o.qzn)(ae,"HTML")?(0,o.z3N)(ae):(0,o.EiD)(this._doc,String(ae)).toString();case o.q3G.STYLE:return(0,o.qzn)(ae,"Style")?(0,o.z3N)(ae):ae;case o.q3G.SCRIPT:if((0,o.qzn)(ae,"Script"))return(0,o.z3N)(ae);throw new o.vHH(5200,!1);case o.q3G.URL:return(0,o.qzn)(ae,"URL")?(0,o.z3N)(ae):(0,o.mCW)(String(ae));case o.q3G.RESOURCE_URL:if((0,o.qzn)(ae,"ResourceURL"))return(0,o.z3N)(ae);throw new o.vHH(5201,!1);default:throw new o.vHH(5202,!1)}}bypassSecurityTrustHtml(Y){return(0,o.JVY)(Y)}bypassSecurityTrustStyle(Y){return(0,o.L6k)(Y)}bypassSecurityTrustScript(Y){return(0,o.eBb)(Y)}bypassSecurityTrustUrl(Y){return(0,o.LAX)(Y)}bypassSecurityTrustResourceUrl(Y){return(0,o.pB0)(Y)}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:function(ae){let Ie=null;return Ie=ae?new ae:function St(Me){return new pn(Me.get(R.K0))}(o.LFG(o.zs3)),Ie},providedIn:"root"})}return Me})()},1640:(ze,me,_)=>{_.d(me,{m2:()=>zn,F0:()=>u,rH:()=>w,Od:()=>F,Bz:()=>Hn,lC:()=>gi});var o=_(2029),R=_(2664),V=_(7715),z=_(2096),T=_(5619),H=_(5592),N=_(7453),h=_(2737),j=_(7400),A=_(9940),B=_(2714),U=_(8251),ce=_(7103);function le(...f){const g=(0,A.yG)(f),c=(0,A.jO)(f),{args:y,keys:b}=(0,N.D)(f);if(0===y.length)return(0,V.D)([],g);const L=new H.y(function G(f,g,c=h.y){return y=>{we(g,()=>{const{length:b}=f,L=new Array(b);let W=b,Ce=b;for(let De=0;De<b;De++)we(g,()=>{const tt=(0,V.D)(f[De],g);let It=!1;tt.subscribe((0,U.x)(y,fn=>{L[De]=fn,It||(It=!0,Ce--),Ce||y.next(c(L.slice()))},()=>{--W||y.complete()}))},y)},y)}}(y,g,b?W=>(0,B.n)(b,W):h.y));return c?L.pipe((0,j.Z)(c)):L}function we(f,g,c){f?(0,ce.f)(c,f,g):g()}const Ve=(0,_(2306).d)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"});var lt=_(5211),Ge=_(4911),se=_(8407),de=_(8504),He=_(6232),fe=_(7394),ee=_(9360);function J(){return(0,ee.e)((f,g)=>{let c=null;f._refCount++;const y=(0,U.x)(g,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(c=null);const b=f._connection,L=c;c=null,b&&(!L||b===L)&&b.unsubscribe(),g.unsubscribe()});f.subscribe(y),y.closed||(c=f.connect())})}class We extends H.y{constructor(g,c){super(),this.source=g,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,ee.A)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new fe.w0;const c=this.getSubject();g.add(this.source.subscribe((0,U.x)(c,void 0,()=>{this._teardown(),c.complete()},y=>{this._teardown(),c.error(y)},()=>this._teardown()))),g.closed&&(this._connection=null,g=fe.w0.EMPTY)}return g}refCount(){return J()(this)}}var q=_(8645),Le=_(6814),be=_(7398),ot=_(4664),ft=_(8180),ke=_(7921),at=_(2181),re=_(1631);function K(f){return(0,ee.e)((g,c)=>{let y=!1;g.subscribe((0,U.x)(c,b=>{y=!0,c.next(b)},()=>{y||c.next(f),c.complete()}))})}function oe(f=pe){return(0,ee.e)((g,c)=>{let y=!1;g.subscribe((0,U.x)(c,b=>{y=!0,c.next(b)},()=>y?c.complete():c.error(f())))})}function pe(){return new Ve}function ve(f,g){const c=arguments.length>=2;return y=>y.pipe(f?(0,at.h)((b,L)=>f(b,L,y)):h.y,(0,ft.q)(1),c?K(g):oe(()=>new Ve))}var xe=_(6328),Re=_(9397),Je=_(6306);function ut(f){return f<=0?()=>He.E:(0,ee.e)((g,c)=>{let y=[];g.subscribe((0,U.x)(c,b=>{y.push(b),f<y.length&&y.shift()},()=>{for(const b of y)c.next(b);c.complete()},void 0,()=>{y=null}))})}var Ue=_(4716),sn=_(4829),ht=_(2420),Ht=_(7537),Mi=_(6593);const yt="primary",ti=Symbol("RouteTitle");class Ui{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c[0]:c}return null}getAll(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Un(f){return new Ui(f)}function Zn(f,g,c){const y=c.path.split("/");if(y.length>f.length||"full"===c.pathMatch&&(g.hasChildren()||y.length<f.length))return null;const b={};for(let L=0;L<y.length;L++){const W=y[L],Ce=f[L];if(W.startsWith(":"))b[W.substring(1)]=Ce;else if(W!==Ce.path)return null}return{consumed:f.slice(0,y.length),posParams:b}}function vt(f,g){const c=f?Object.keys(f):void 0,y=g?Object.keys(g):void 0;if(!c||!y||c.length!=y.length)return!1;let b;for(let L=0;L<c.length;L++)if(b=c[L],!Rt(f[b],g[b]))return!1;return!0}function Rt(f,g){if(Array.isArray(f)&&Array.isArray(g)){if(f.length!==g.length)return!1;const c=[...f].sort(),y=[...g].sort();return c.every((b,L)=>y[L]===b)}return f===g}function dr(f){return f.length>0?f[f.length-1]:null}function hi(f){return(0,R.b)(f)?f:(0,o.QGY)(f)?(0,V.D)(Promise.resolve(f)):(0,z.of)(f)}const Et={exact:function qt(f,g,c){if(!Yn(f.segments,g.segments)||!ni(f.segments,g.segments,c)||f.numberOfChildren!==g.numberOfChildren)return!1;for(const y in g.children)if(!f.children[y]||!qt(f.children[y],g.children[y],c))return!1;return!0},subset:gt},Ti={exact:function Rn(f,g){return vt(f,g)},subset:function ps(f,g){return Object.keys(g).length<=Object.keys(f).length&&Object.keys(g).every(c=>Rt(f[c],g[c]))},ignored:()=>!0};function An(f,g,c){return Et[c.paths](f.root,g.root,c.matrixParams)&&Ti[c.queryParams](f.queryParams,g.queryParams)&&!("exact"===c.fragment&&f.fragment!==g.fragment)}function gt(f,g,c){return jr(f,g,g.segments,c)}function jr(f,g,c,y){if(f.segments.length>c.length){const b=f.segments.slice(0,c.length);return!(!Yn(b,c)||g.hasChildren()||!ni(b,c,y))}if(f.segments.length===c.length){if(!Yn(f.segments,c)||!ni(f.segments,c,y))return!1;for(const b in g.children)if(!f.children[b]||!gt(f.children[b],g.children[b],y))return!1;return!0}{const b=c.slice(0,f.segments.length),L=c.slice(f.segments.length);return!!(Yn(f.segments,b)&&ni(f.segments,b,y)&&f.children[yt])&&jr(f.children[yt],g,L,y)}}function ni(f,g,c){return g.every((y,b)=>Ti[c](f[b].parameters,y.parameters))}class Dt{constructor(g=new St([],{}),c={},y=null){this.root=g,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Un(this.queryParams)),this._queryParamMap}toString(){return $r.serialize(this)}}class St{constructor(g,c){this.segments=g,this.children=c,this.parent=null,Object.values(c).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class pn{constructor(g,c){this.path=g,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Un(this.parameters)),this._parameterMap}toString(){return st(this)}}function Yn(f,g){return f.length===g.length&&f.every((c,y)=>c.path===g[y].path)}let ii=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return new $i},providedIn:"root"})}return f})();class $i{parse(g){const c=new Ye(g);return new Dt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(g){const c=`/${Fi(g.root,!0)}`,y=function wt(f){const g=Object.keys(f).map(c=>{const y=f[c];return Array.isArray(y)?y.map(b=>`${Ee(c)}=${Ee(b)}`).join("&"):`${Ee(c)}=${Ee(y)}`}).filter(c=>!!c);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${c}${y}${"string"==typeof g.fragment?`#${function Y(f){return encodeURI(f)}(g.fragment)}`:""}`}}const $r=new $i;function fr(f){return f.segments.map(g=>st(g)).join("/")}function Fi(f,g){if(!f.hasChildren())return fr(f);if(g){const c=f.children[yt]?Fi(f.children[yt],!1):"",y=[];return Object.entries(f.children).forEach(([b,L])=>{b!==yt&&y.push(`${b}:${Fi(L,!1)}`)}),y.length>0?`${c}(${y.join("//")})`:c}{const c=function ji(f,g){let c=[];return Object.entries(f.children).forEach(([y,b])=>{y===yt&&(c=c.concat(g(b,y)))}),Object.entries(f.children).forEach(([y,b])=>{y!==yt&&(c=c.concat(g(b,y)))}),c}(f,(y,b)=>b===yt?[Fi(f.children[yt],!1)]:[`${b}:${Fi(y,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[yt]?`${fr(f)}/${c[0]}`:`${fr(f)}/(${c.join("//")})`}}function Me(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ee(f){return Me(f).replace(/%3B/gi,";")}function ae(f){return Me(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ie(f){return decodeURIComponent(f)}function Ke(f){return Ie(f.replace(/\+/g,"%20"))}function st(f){return`${ae(f.path)}${function Ut(f){return Object.keys(f).map(g=>`;${ae(g)}=${ae(f[g])}`).join("")}(f.parameters)}`}const on=/^[^\/()?;#]+/;function Bt(f){const g=f.match(on);return g?g[0]:""}const _i=/^[^\/()?;=#]+/,te=/^[^=?&#]+/,Ae=/^[^&#]+/;class Ye{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(g.length>0||Object.keys(c).length>0)&&(y[yt]=new St(g,c)),y}parseSegment(){const g=Bt(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(g),new pn(Ie(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const c=function he(f){const g=f.match(_i);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const b=Bt(this.remaining);b&&(y=b,this.capture(y))}g[Ie(c)]=Ie(y)}parseQueryParam(g){const c=function ne(f){const g=f.match(te);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const W=function $e(f){const g=f.match(Ae);return g?g[0]:""}(this.remaining);W&&(y=W,this.capture(y))}const b=Ke(c),L=Ke(y);if(g.hasOwnProperty(b)){let W=g[b];Array.isArray(W)||(W=[W],g[b]=W),W.push(L)}else g[b]=L}parseParens(g){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=Bt(this.remaining),b=this.remaining[y.length];if("/"!==b&&")"!==b&&";"!==b)throw new o.vHH(4010,!1);let L;y.indexOf(":")>-1?(L=y.slice(0,y.indexOf(":")),this.capture(L),this.capture(":")):g&&(L=yt);const W=this.parseChildren();c[L]=1===Object.keys(W).length?W[yt]:new St([],W),this.consumeOptional("//")}return c}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new o.vHH(4011,!1)}}function Ze(f){return f.segments.length>0?new St([],{[yt]:f}):f}function an(f){const g={};for(const y of Object.keys(f.children)){const L=an(f.children[y]);if(y===yt&&0===L.segments.length&&L.hasChildren())for(const[W,Ce]of Object.entries(L.children))g[W]=Ce;else(L.segments.length>0||L.hasChildren())&&(g[y]=L)}return function Ct(f){if(1===f.numberOfChildren&&f.children[yt]){const g=f.children[yt];return new St(f.segments.concat(g.segments),g.children)}return f}(new St(f.segments,g))}function zt(f){return f instanceof Dt}function mn(f){let g;const b=Ze(function c(L){const W={};for(const De of L.children){const tt=c(De);W[De.outlet]=tt}const Ce=new St(L.url,W);return L===f&&(g=Ce),Ce}(f.root));return g??b}function un(f,g,c,y){let b=f;for(;b.parent;)b=b.parent;if(0===g.length)return Wt(b,b,b,c,y);const L=function kn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Qn(!0,0,f);let g=0,c=!1;const y=f.reduce((b,L,W)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Ce={};return Object.entries(L.outlets).forEach(([De,tt])=>{Ce[De]="string"==typeof tt?tt.split("/"):tt}),[...b,{outlets:Ce}]}if(L.segmentPath)return[...b,L.segmentPath]}return"string"!=typeof L?[...b,L]:0===W?(L.split("/").forEach((Ce,De)=>{0==De&&"."===Ce||(0==De&&""===Ce?c=!0:".."===Ce?g++:""!=Ce&&b.push(Ce))}),b):[...b,L]},[]);return new Qn(c,g,y)}(g);if(L.toRoot())return Wt(b,b,new St([],{}),c,y);const W=function si(f,g,c){if(f.isAbsolute)return new Xt(g,!0,0);if(!c)return new Xt(g,!1,NaN);if(null===c.parent)return new Xt(c,!0,0);const y=Mt(f.commands[0])?0:1;return function Ai(f,g,c){let y=f,b=g,L=c;for(;L>b;){if(L-=b,y=y.parent,!y)throw new o.vHH(4005,!1);b=y.segments.length}return new Xt(y,!1,b-L)}(c,c.segments.length-1+y,f.numberOfDoubleDots)}(L,b,f),Ce=W.processChildren?$n(W.segmentGroup,W.index,L.commands):zi(W.segmentGroup,W.index,L.commands);return Wt(b,W.segmentGroup,Ce,c,y)}function Mt(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Pn(f){return"object"==typeof f&&null!=f&&f.outlets}function Wt(f,g,c,y,b){let W,L={};y&&Object.entries(y).forEach(([De,tt])=>{L[De]=Array.isArray(tt)?tt.map(It=>`${It}`):`${tt}`}),W=f===g?c:Kt(f,g,c);const Ce=Ze(an(W));return new Dt(Ce,L,b)}function Kt(f,g,c){const y={};return Object.entries(f.children).forEach(([b,L])=>{y[b]=L===g?c:Kt(L,g,c)}),new St(f.segments,y)}class Qn{constructor(g,c,y){if(this.isAbsolute=g,this.numberOfDoubleDots=c,this.commands=y,g&&y.length>0&&Mt(y[0]))throw new o.vHH(4003,!1);const b=y.find(Pn);if(b&&b!==dr(y))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xt{constructor(g,c,y){this.segmentGroup=g,this.processChildren=c,this.index=y}}function zi(f,g,c){if(f||(f=new St([],{})),0===f.segments.length&&f.hasChildren())return $n(f,g,c);const y=function wr(f,g,c){let y=0,b=g;const L={match:!1,pathIndex:0,commandIndex:0};for(;b<f.segments.length;){if(y>=c.length)return L;const W=f.segments[b],Ce=c[y];if(Pn(Ce))break;const De=`${Ce}`,tt=y<c.length-1?c[y+1]:null;if(b>0&&void 0===De)break;if(De&&tt&&"object"==typeof tt&&void 0===tt.outlets){if(!qr(De,tt,W))return L;y+=2}else{if(!qr(De,{},W))return L;y++}b++}return{match:!0,pathIndex:b,commandIndex:y}}(f,g,c),b=c.slice(y.commandIndex);if(y.match&&y.pathIndex<f.segments.length){const L=new St(f.segments.slice(0,y.pathIndex),{});return L.children[yt]=new St(f.segments.slice(y.pathIndex),f.children),$n(L,0,b)}return y.match&&0===b.length?new St(f.segments,{}):y.match&&!f.hasChildren()?Ii(f,g,c):y.match?$n(f,0,b):Ii(f,g,c)}function $n(f,g,c){if(0===c.length)return new St(f.segments,{});{const y=function jn(f){return Pn(f[0])?f[0].outlets:{[yt]:f}}(c),b={};if(Object.keys(y).some(L=>L!==yt)&&f.children[yt]&&1===f.numberOfChildren&&0===f.children[yt].segments.length){const L=$n(f.children[yt],g,c);return new St(f.segments,L.children)}return Object.entries(y).forEach(([L,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(b[L]=zi(f.children[L],g,W))}),Object.entries(f.children).forEach(([L,W])=>{void 0===y[L]&&(b[L]=W)}),new St(f.segments,b)}}function Ii(f,g,c){const y=f.segments.slice(0,g);let b=0;for(;b<c.length;){const L=c[b];if(Pn(L)){const De=hr(L.outlets);return new St(y,De)}if(0===b&&Mt(c[0])){y.push(new pn(f.segments[g].path,Fs(c[0]))),b++;continue}const W=Pn(L)?L.outlets[yt]:`${L}`,Ce=b<c.length-1?c[b+1]:null;W&&Ce&&Mt(Ce)?(y.push(new pn(W,Fs(Ce))),b+=2):(y.push(new pn(W,{})),b++)}return new St(y,{})}function hr(f){const g={};return Object.entries(f).forEach(([c,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(g[c]=Ii(new St([],{}),0,y))}),g}function Fs(f){const g={};return Object.entries(f).forEach(([c,y])=>g[c]=`${y}`),g}function qr(f,g,c){return f==c.path&&vt(g,c.parameters)}const Oi="imperative";class wn{constructor(g,c){this.id=g,this.url=c}}class Dn extends wn{constructor(g,c,y="imperative",b=null){super(g,c),this.type=0,this.navigationTrigger=y,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class zn extends wn{constructor(g,c,y){super(g,c),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ji extends wn{constructor(g,c,y,b){super(g,c),this.reason=y,this.code=b,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gi extends wn{constructor(g,c,y,b){super(g,c),this.reason=y,this.code=b,this.type=16}}class Nn extends wn{constructor(g,c,y,b){super(g,c),this.error=y,this.target=b,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class qi extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zr extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xr extends wn{constructor(g,c,y,b,L){super(g,c),this.urlAfterRedirects=y,this.state=b,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class es extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Js extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gs{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ms{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Bn{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ys{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ks{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gr{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bs{constructor(g,c,y){this.routerEvent=g,this.position=c,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pr{}class ts{constructor(g){this.url=g}}class Lt{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new cn,this.attachRef=null}}let cn=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(c,y){const b=this.getOrCreateContext(c);b.outlet=y,this.contexts.set(c,b)}onChildOutletDestroyed(c){const y=this.getContext(c);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let y=this.getContext(c);return y||(y=new Lt,this.contexts.set(c,y)),y}getContext(c){return this.contexts.get(c)||null}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();class Vn{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const c=this.pathFromRoot(g);return c.length>1?c[c.length-2]:null}children(g){const c=Ei(g,this._root);return c?c.children.map(y=>y.value):[]}firstChild(g){const c=Ei(g,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(g){const c=Cn(g,this._root);return c.length<2?[]:c[c.length-2].children.map(b=>b.value).filter(b=>b!==g)}pathFromRoot(g){return Cn(g,this._root).map(c=>c.value)}}function Ei(f,g){if(f===g.value)return g;for(const c of g.children){const y=Ei(f,c);if(y)return y}return null}function Cn(f,g){if(f===g.value)return[g];for(const c of g.children){const y=Cn(f,c);if(y.length)return y.unshift(g),y}return[]}class oi{constructor(g,c){this.value=g,this.children=c}toString(){return`TreeNode(${this.value})`}}function Ri(f){const g={};return f&&f.children.forEach(c=>g[c.value.outlet]=c),g}class Xi extends Vn{constructor(g,c){super(g),this.snapshot=c,gr(this,g)}toString(){return this.snapshot.toString()}}function Mr(f,g){const c=function Tr(f,g){const W=new Qt([],{},{},"",{},yt,g,null,{});return new pi("",new oi(W,[]))}(0,g),y=new T.X([new pn("",{})]),b=new T.X({}),L=new T.X({}),W=new T.X({}),Ce=new T.X(""),De=new Yt(y,b,W,Ce,L,yt,g,c.root);return De.snapshot=c.root,new Xi(new oi(De,[]),c)}class Yt{constructor(g,c,y,b,L,W,Ce,De){this.urlSubject=g,this.paramsSubject=c,this.queryParamsSubject=y,this.fragmentSubject=b,this.dataSubject=L,this.outlet=W,this.component=Ce,this._futureSnapshot=De,this.title=this.dataSubject?.pipe((0,be.U)(tt=>tt[ti]))??(0,z.of)(void 0),this.url=g,this.params=c,this.queryParams=y,this.fragment=b,this.data=L}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._paramMap=this.params.pipe((0,be.U)(g=>Un(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,be.U)(g=>Un(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qe(f,g="emptyOnly"){const c=f.pathFromRoot;let y=0;if("always"!==g)for(y=c.length-1;y>=1;){const b=c[y],L=c[y-1];if(b.routeConfig&&""===b.routeConfig.path)y--;else{if(L.component)break;y--}}return function bt(f){return f.reduce((g,c)=>({params:{...g.params,...c.params},data:{...g.data,...c.data},resolve:{...c.data,...g.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(y))}class Qt{get title(){return this.data?.[ti]}constructor(g,c,y,b,L,W,Ce,De,tt){this.url=g,this.params=c,this.queryParams=y,this.fragment=b,this.data=L,this.outlet=W,this.component=Ce,this.routeConfig=De,this._resolve=tt}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._paramMap=Un(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Un(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pi extends Vn{constructor(g,c){super(c),this.url=g,gr(this,c)}toString(){return Mn(this._root)}}function gr(f,g){g.value._routerState=f,g.children.forEach(c=>gr(f,c))}function Mn(f){const g=f.children.length>0?` { ${f.children.map(Mn).join(", ")} } `:"";return`${f.value}${g}`}function Jn(f){if(f.snapshot){const g=f.snapshot,c=f._futureSnapshot;f.snapshot=c,vt(g.queryParams,c.queryParams)||f.queryParamsSubject.next(c.queryParams),g.fragment!==c.fragment&&f.fragmentSubject.next(c.fragment),vt(g.params,c.params)||f.paramsSubject.next(c.params),function Ln(f,g){if(f.length!==g.length)return!1;for(let c=0;c<f.length;++c)if(!vt(f[c],g[c]))return!1;return!0}(g.url,c.url)||f.urlSubject.next(c.url),vt(g.data,c.data)||f.dataSubject.next(c.data)}else f.snapshot=f._futureSnapshot,f.dataSubject.next(f._futureSnapshot.data)}function nn(f,g){const c=vt(f.params,g.params)&&function Fn(f,g){return Yn(f,g)&&f.every((c,y)=>vt(c.parameters,g[y].parameters))}(f.url,g.url);return c&&!(!f.parent!=!g.parent)&&(!f.parent||nn(f.parent,g.parent))}let gi=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=yt,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(cn),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb),this.inputBinder=(0,o.f3M)(_t,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(c){if(c.name){const{firstChange:y,previousValue:b}=c.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(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,!1);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,y){this.activated=c,this._activatedRoute=y,this.location.insert(c.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,y){if(this.isActivated)throw new o.vHH(4013,!1);this._activatedRoute=c;const b=this.location,W=c.snapshot.component,Ce=this.parentContexts.getOrCreateContext(this.name).children,De=new qn(c,Ce,b.injector);this.activated=b.createComponent(W,{index:b.length,injector:De,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||f)};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]})}return f})();class qn{constructor(g,c,y){this.route=g,this.childContexts=c,this.parent=y}get(g,c){return g===Yt?this.route:g===cn?this.childContexts:this.parent.get(g,c)}}const _t=new o.OlP("");let er=(()=>{class f{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(c){this.unsubscribeFromRouteData(c),this.subscribeToRouteData(c)}unsubscribeFromRouteData(c){this.outletDataSubscriptions.get(c)?.unsubscribe(),this.outletDataSubscriptions.delete(c)}subscribeToRouteData(c){const{activatedRoute:y}=c,b=le([y.queryParams,y.params,y.data]).pipe((0,ot.w)(([L,W,Ce],De)=>(Ce={...L,...W,...Ce},0===De?(0,z.of)(Ce):Promise.resolve(Ce)))).subscribe(L=>{if(!c.isActivated||!c.activatedComponentRef||c.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(c);const W=(0,o.qFp)(y.component);if(W)for(const{templateName:Ce}of W.inputs)c.activatedComponentRef.setInput(Ce,L[Ce]);else this.unsubscribeFromRouteData(c)});this.outletDataSubscriptions.set(c,b)}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac})}return f})();function Di(f,g,c){if(c&&f.shouldReuseRoute(g.value,c.value.snapshot)){const y=c.value;y._futureSnapshot=g.value;const b=function bn(f,g,c){return g.children.map(y=>{for(const b of c.children)if(f.shouldReuseRoute(y.value,b.value.snapshot))return Di(f,y,b);return Di(f,y)})}(f,g,c);return new oi(y,b)}{if(f.shouldAttach(g.value)){const L=f.retrieve(g.value);if(null!==L){const W=L.route;return W.value._futureSnapshot=g.value,W.children=g.children.map(Ce=>Di(f,Ce)),W}}const y=function tr(f){return new Yt(new T.X(f.url),new T.X(f.params),new T.X(f.queryParams),new T.X(f.fragment),new T.X(f.data),f.outlet,f.component,f)}(g.value),b=g.children.map(L=>Di(f,L));return new oi(y,b)}}const Pi="ngNavigationCancelingError";function xn(f,g){const{redirectTo:c,navigationBehaviorOptions:y}=zt(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,b=nr(!1,0,g);return b.url=c,b.navigationBehaviorOptions=y,b}function nr(f,g,c){const y=new Error("NavigationCancelingError: "+(f||""));return y[Pi]=!0,y.cancellationCode=g,c&&(y.url=c),y}function ki(f){return f&&f[Pi]}let mi=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275cmp=o.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(y,b){1&y&&o._UZ(0,"router-outlet")},dependencies:[gi],encapsulation:2})}return f})();function Ir(f){const g=f.children&&f.children.map(Ir),c=g?{...f,children:g}:{...f};return!c.component&&!c.loadComponent&&(g||c.loadChildren)&&c.outlet&&c.outlet!==yt&&(c.component=mi),c}function ln(f){return f.outlet||yt}function In(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let g=f.parent;g;g=g.parent){const c=g.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Or{constructor(g,c,y,b,L){this.routeReuseStrategy=g,this.futureState=c,this.currState=y,this.forwardEvent=b,this.inputBindingEnabled=L}activate(g){const c=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,y,g),Jn(this.futureState.root),this.activateChildRoutes(c,y,g)}deactivateChildRoutes(g,c,y){const b=Ri(c);g.children.forEach(L=>{const W=L.value.outlet;this.deactivateRoutes(L,b[W],y),delete b[W]}),Object.values(b).forEach(L=>{this.deactivateRouteAndItsChildren(L,y)})}deactivateRoutes(g,c,y){const b=g.value,L=c?c.value:null;if(b===L)if(b.component){const W=y.getContext(b.outlet);W&&this.deactivateChildRoutes(g,c,W.children)}else this.deactivateChildRoutes(g,c,y);else L&&this.deactivateRouteAndItsChildren(c,y)}deactivateRouteAndItsChildren(g,c){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,c):this.deactivateRouteAndOutlet(g,c)}detachAndStoreRouteSubtree(g,c){const y=c.getContext(g.value.outlet),b=y&&g.value.component?y.children:c,L=Ri(g);for(const W of Object.keys(L))this.deactivateRouteAndItsChildren(L[W],b);if(y&&y.outlet){const W=y.outlet.detach(),Ce=y.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:W,route:g,contexts:Ce})}}deactivateRouteAndOutlet(g,c){const y=c.getContext(g.value.outlet),b=y&&g.value.component?y.children:c,L=Ri(g);for(const W of Object.keys(L))this.deactivateRouteAndItsChildren(L[W],b);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(g,c,y){const b=Ri(c);g.children.forEach(L=>{this.activateRoutes(L,b[L.value.outlet],y),this.forwardEvent(new Gr(L.value.snapshot))}),g.children.length&&this.forwardEvent(new ys(g.value.snapshot))}activateRoutes(g,c,y){const b=g.value,L=c?c.value:null;if(Jn(b),b===L)if(b.component){const W=y.getOrCreateContext(b.outlet);this.activateChildRoutes(g,c,W.children)}else this.activateChildRoutes(g,c,y);else if(b.component){const W=y.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const Ce=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),W.children.onOutletReAttached(Ce.contexts),W.attachRef=Ce.componentRef,W.route=Ce.route.value,W.outlet&&W.outlet.attach(Ce.componentRef,Ce.route.value),Jn(Ce.route.value),this.activateChildRoutes(g,null,W.children)}else{const Ce=In(b.snapshot);W.attachRef=null,W.route=b,W.injector=Ce,W.outlet&&W.outlet.activateWith(b,W.injector),this.activateChildRoutes(g,null,W.children)}}else this.activateChildRoutes(g,null,y)}}class Rr{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class Xn{constructor(g,c){this.component=g,this.route=c}}function M(f,g,c){const y=f._root;return k(y,g?g._root:null,c,[y.value])}function E(f,g){const c=Symbol(),y=g.get(f,c);return y===c?"function"!=typeof f||(0,o.Z0I)(f)?g.get(f):f:y}function k(f,g,c,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const L=Ri(g);return f.children.forEach(W=>{(function Q(f,g,c,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,W=g?g.value:null,Ce=c?c.getContext(f.value.outlet):null;if(W&&L.routeConfig===W.routeConfig){const De=function it(f,g,c){if("function"==typeof c)return c(f,g);switch(c){case"pathParamsChange":return!Yn(f.url,g.url);case"pathParamsOrQueryParamsChange":return!Yn(f.url,g.url)||!vt(f.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(f,g)||!vt(f.queryParams,g.queryParams);default:return!nn(f,g)}}(W,L,L.routeConfig.runGuardsAndResolvers);De?b.canActivateChecks.push(new Rr(y)):(L.data=W.data,L._resolvedData=W._resolvedData),k(f,g,L.component?Ce?Ce.children:null:c,y,b),De&&Ce&&Ce.outlet&&Ce.outlet.isActivated&&b.canDeactivateChecks.push(new Xn(Ce.outlet.component,W))}else W&&Tt(g,Ce,b),b.canActivateChecks.push(new Rr(y)),k(f,null,L.component?Ce?Ce.children:null:c,y,b)})(W,L[W.value.outlet],c,y.concat([W.value]),b),delete L[W.value.outlet]}),Object.entries(L).forEach(([W,Ce])=>Tt(Ce,c.getContext(W),b)),b}function Tt(f,g,c){const y=Ri(f),b=f.value;Object.entries(y).forEach(([L,W])=>{Tt(W,b.component?g?g.children.getContext(L):null:g,c)}),c.canDeactivateChecks.push(new Xn(b.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,b))}function Ci(f){return"function"==typeof f}function Ds(f){return f instanceof Ve||"EmptyError"===f?.name}const Us=Symbol("INITIAL_VALUE");function Pr(){return(0,ot.w)(f=>le(f.map(g=>g.pipe((0,ft.q)(1),(0,ke.O)(Us)))).pipe((0,be.U)(g=>{for(const c of g)if(!0!==c){if(c===Us)return Us;if(!1===c||c instanceof Dt)return c}return!0}),(0,at.h)(g=>g!==Us),(0,ft.q)(1)))}function xr(f){return(0,se.z)((0,Re.b)(g=>{if(zt(g))throw xn(0,g)}),(0,be.U)(g=>!0===g))}class rs{constructor(g){this.segmentGroup=g||null}}class ss{constructor(g){this.urlTree=g}}function Wr(f){return(0,de._)(new rs(f))}function eo(f){return(0,de._)(new ss(f))}class js{constructor(g,c){this.urlSerializer=g,this.urlTree=c}noMatchError(g){return new o.vHH(4002,!1)}lineralizeSegments(g,c){let y=[],b=c.root;for(;;){if(y=y.concat(b.segments),0===b.numberOfChildren)return(0,z.of)(y);if(b.numberOfChildren>1||!b.children[yt])return(0,de._)(new o.vHH(4e3,!1));b=b.children[yt]}}applyRedirectCommands(g,c,y){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),g,y)}applyRedirectCreateUrlTree(g,c,y,b){const L=this.createSegmentGroup(g,c.root,y,b);return new Dt(L,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(g,c){const y={};return Object.entries(g).forEach(([b,L])=>{if("string"==typeof L&&L.startsWith(":")){const Ce=L.substring(1);y[b]=c[Ce]}else y[b]=L}),y}createSegmentGroup(g,c,y,b){const L=this.createSegments(g,c.segments,y,b);let W={};return Object.entries(c.children).forEach(([Ce,De])=>{W[Ce]=this.createSegmentGroup(g,De,y,b)}),new St(L,W)}createSegments(g,c,y,b){return c.map(L=>L.path.startsWith(":")?this.findPosParam(g,L,b):this.findOrReturn(L,y))}findPosParam(g,c,y){const b=y[c.path.substring(1)];if(!b)throw new o.vHH(4001,!1);return b}findOrReturn(g,c){let y=0;for(const b of c){if(b.path===g.path)return c.splice(y),b;y++}return g}}const os={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function co(f,g,c,y,b){const L=ws(f,g,c);return L.matched?(y=function Wi(f,g){return f.providers&&!f._injector&&(f._injector=(0,o.MMx)(f.providers,g,`Route: ${f.path}`)),f._injector??g}(g,y),function Vi(f,g,c,y){const b=g.canMatch;if(!b||0===b.length)return(0,z.of)(!0);const L=b.map(W=>{const Ce=E(W,f);return hi(function lo(f){return f&&Ci(f.canMatch)}(Ce)?Ce.canMatch(g,c):f.runInContext(()=>Ce(g,c)))});return(0,z.of)(L).pipe(Pr(),xr())}(y,g,c).pipe((0,be.U)(W=>!0===W?L:{...os}))):(0,z.of)(L)}function ws(f,g,c){if(""===g.path)return"full"===g.pathMatch&&(f.hasChildren()||c.length>0)?{...os}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const b=(g.matcher||Zn)(c,f,g);if(!b)return{...os};const L={};Object.entries(b.posParams??{}).forEach(([Ce,De])=>{L[Ce]=De.path});const W=b.consumed.length>0?{...L,...b.consumed[b.consumed.length-1].parameters}:L;return{matched:!0,consumedSegments:b.consumed,remainingSegments:c.slice(b.consumed.length),parameters:W,positionalParamSegments:b.posParams??{}}}function $s(f,g,c,y){return c.length>0&&function Kr(f,g,c){return c.some(y=>zs(f,g,y)&&ln(y)!==yt)}(f,c,y)?{segmentGroup:new St(g,Lr(y,new St(c,f.children))),slicedSegments:[]}:0===c.length&&function fo(f,g,c){return c.some(y=>zs(f,g,y))}(f,c,y)?{segmentGroup:new St(f.segments,Ms(f,0,c,y,f.children)),slicedSegments:c}:{segmentGroup:new St(f.segments,f.children),slicedSegments:c}}function Ms(f,g,c,y,b){const L={};for(const W of y)if(zs(f,c,W)&&!b[ln(W)]){const Ce=new St([],{});L[ln(W)]=Ce}return{...b,...L}}function Lr(f,g){const c={};c[yt]=g;for(const y of f)if(""===y.path&&ln(y)!==yt){const b=new St([],{});c[ln(y)]=b}return c}function zs(f,g,c){return(!(f.hasChildren()||g.length>0)||"full"!==c.pathMatch)&&""===c.path}class Ro{constructor(g,c,y,b,L,W,Ce){this.injector=g,this.configLoader=c,this.rootComponentType=y,this.config=b,this.urlTree=L,this.paramsInheritanceStrategy=W,this.urlSerializer=Ce,this.allowRedirects=!0,this.applyRedirects=new js(this.urlSerializer,this.urlTree)}noMatchError(g){return new o.vHH(4002,!1)}recognize(){const g=$s(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,g,yt).pipe((0,Je.K)(c=>{if(c instanceof ss)return this.allowRedirects=!1,this.urlTree=c.urlTree,this.match(c.urlTree);throw c instanceof rs?this.noMatchError(c):c}),(0,be.U)(c=>{const y=new Qt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},yt,this.rootComponentType,null,{}),b=new oi(y,c),L=new pi("",b),W=function ri(f,g,c=null,y=null){return un(mn(f),g,c,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,L.url=this.urlSerializer.serialize(W),this.inheritParamsAndData(L._root),{state:L,tree:W}}))}match(g){return this.processSegmentGroup(this.injector,this.config,g.root,yt).pipe((0,Je.K)(y=>{throw y instanceof rs?this.noMatchError(y):y}))}inheritParamsAndData(g){const c=g.value,y=qe(c,this.paramsInheritanceStrategy);c.params=Object.freeze(y.params),c.data=Object.freeze(y.data),g.children.forEach(b=>this.inheritParamsAndData(b))}processSegmentGroup(g,c,y,b){return 0===y.segments.length&&y.hasChildren()?this.processChildren(g,c,y):this.processSegment(g,c,y,y.segments,b,!0)}processChildren(g,c,y){const b=[];for(const L of Object.keys(y.children))"primary"===L?b.unshift(L):b.push(L);return(0,V.D)(b).pipe((0,xe.b)(L=>{const W=y.children[L],Ce=function Xs(f,g){const c=f.filter(y=>ln(y)===g);return c.push(...f.filter(y=>ln(y)!==g)),c}(c,L);return this.processSegmentGroup(g,Ce,W,L)}),function gn(f,g){return(0,ee.e)(function Ot(f,g,c,y,b){return(L,W)=>{let Ce=c,De=g,tt=0;L.subscribe((0,U.x)(W,It=>{const fn=tt++;De=Ce?f(De,It,fn):(Ce=!0,It),y&&W.next(De)},b&&(()=>{Ce&&W.next(De),W.complete()})))}}(f,g,arguments.length>=2,!0))}((L,W)=>(L.push(...W),L)),K(null),function Jt(f,g){const c=arguments.length>=2;return y=>y.pipe(f?(0,at.h)((b,L)=>f(b,L,y)):h.y,ut(1),c?K(g):oe(()=>new Ve))}(),(0,re.z)(L=>{if(null===L)return Wr(y);const W=Ts(L);return function Sa(f){f.sort((g,c)=>g.value.outlet===yt?-1:c.value.outlet===yt?1:g.value.outlet.localeCompare(c.value.outlet))}(W),(0,z.of)(W)}))}processSegment(g,c,y,b,L,W){return(0,V.D)(c).pipe((0,xe.b)(Ce=>this.processSegmentAgainstRoute(Ce._injector??g,c,Ce,y,b,L,W).pipe((0,Je.K)(De=>{if(De instanceof rs)return(0,z.of)(null);throw De}))),ve(Ce=>!!Ce),(0,Je.K)(Ce=>{if(Ds(Ce))return function ba(f,g,c){return 0===g.length&&!f.children[c]}(y,b,L)?(0,z.of)([]):Wr(y);throw Ce}))}processSegmentAgainstRoute(g,c,y,b,L,W,Ce){return function Ca(f,g,c,y){return!!(ln(f)===y||y!==yt&&zs(g,c,f))&&("**"===f.path||ws(g,f,c).matched)}(y,b,L,W)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(g,b,y,L,W,Ce):Ce&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,b,c,y,L,W):Wr(b):Wr(b)}expandSegmentAgainstRouteUsingRedirect(g,c,y,b,L,W){return"**"===b.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,y,b,W):this.expandRegularSegmentAgainstRouteUsingRedirect(g,c,y,b,L,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,c,y,b){const L=this.applyRedirects.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?eo(L):this.applyRedirects.lineralizeSegments(y,L).pipe((0,re.z)(W=>{const Ce=new St(W,{});return this.processSegment(g,c,Ce,W,b,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,c,y,b,L,W){const{matched:Ce,consumedSegments:De,remainingSegments:tt,positionalParamSegments:It}=ws(c,b,L);if(!Ce)return Wr(c);const fn=this.applyRedirects.applyRedirectCommands(De,b.redirectTo,It);return b.redirectTo.startsWith("/")?eo(fn):this.applyRedirects.lineralizeSegments(b,fn).pipe((0,re.z)(tn=>this.processSegment(g,y,c,tn.concat(tt),W,!1)))}matchSegmentAgainstRoute(g,c,y,b,L,W){let Ce;if("**"===y.path){const De=b.length>0?dr(b).parameters:{},tt=new Qt(b,De,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,P(y),ln(y),y.component??y._loadedComponent??null,y,D(y));Ce=(0,z.of)({snapshot:tt,consumedSegments:[],remainingSegments:[]}),c.children={}}else Ce=co(c,y,b,g).pipe((0,be.U)(({matched:De,consumedSegments:tt,remainingSegments:It,parameters:fn})=>De?{snapshot:new Qt(tt,fn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,P(y),ln(y),y.component??y._loadedComponent??null,y,D(y)),consumedSegments:tt,remainingSegments:It}:null));return Ce.pipe((0,ot.w)(De=>null===De?Wr(c):this.getChildConfig(g=y._injector??g,y,b).pipe((0,ot.w)(({routes:tt})=>{const It=y._loadedInjector??g,{snapshot:fn,consumedSegments:tn,remainingSegments:us}=De,{segmentGroup:fi,slicedSegments:Vr}=$s(c,tn,us,tt);if(0===Vr.length&&fi.hasChildren())return this.processChildren(It,tt,fi).pipe((0,be.U)(Gs=>null===Gs?null:[new oi(fn,Gs)]));if(0===tt.length&&0===Vr.length)return(0,z.of)([new oi(fn,[])]);const Tn=ln(y)===L;return this.processSegment(It,tt,fi,Vr,Tn?yt:L,!0).pipe((0,be.U)(Gs=>[new oi(fn,Gs)]))}))))}getChildConfig(g,c,y){return c.children?(0,z.of)({routes:c.children,injector:g}):c.loadChildren?void 0!==c._loadedRoutes?(0,z.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function Gn(f,g,c,y){const b=g.canLoad;if(void 0===b||0===b.length)return(0,z.of)(!0);const L=b.map(W=>{const Ce=E(W,f);return hi(function Hs(f){return f&&Ci(f.canLoad)}(Ce)?Ce.canLoad(g,c):f.runInContext(()=>Ce(g,c)))});return(0,z.of)(L).pipe(Pr(),xr())}(g,c,y).pipe((0,re.z)(b=>b?this.configLoader.loadChildren(g,c).pipe((0,Re.b)(L=>{c._loadedRoutes=L.routes,c._loadedInjector=L.injector})):function uo(f){return(0,de._)(nr(!1,3))}())):(0,z.of)({routes:[],injector:g})}}function as(f){const g=f.value.routeConfig;return g&&""===g.path}function Ts(f){const g=[],c=new Set;for(const y of f){if(!as(y)){g.push(y);continue}const b=g.find(L=>y.value.routeConfig===L.value.routeConfig);void 0!==b?(b.children.push(...y.children),c.add(b)):g.push(y)}for(const y of c){const b=Ts(y.children);g.push(new oi(y.value,b))}return g.filter(y=>!c.has(y))}function P(f){return f.data||{}}function D(f){return f.resolve||{}}function en(f){return"string"==typeof f.title||null===f.title}function Zt(f){return(0,ot.w)(g=>{const c=f(g);return c?(0,V.D)(c).pipe((0,be.U)(()=>g)):(0,z.of)(g)})}const At=new o.OlP("ROUTES");let yn=(()=>{class f{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,z.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const y=hi(c.loadComponent()).pipe((0,be.U)(ar),(0,Re.b)(L=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=L}),(0,Ue.x)(()=>{this.componentLoaders.delete(c)})),b=new We(y,()=>new q.x).pipe(J());return this.componentLoaders.set(c,b),b}loadChildren(c,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,z.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const L=function dn(f,g,c,y){return hi(f.loadChildren()).pipe((0,be.U)(ar),(0,re.z)(b=>b instanceof o.YKP||Array.isArray(b)?(0,z.of)(b):(0,V.D)(g.compileModuleAsync(b))),(0,be.U)(b=>{y&&y(f);let L,W,Ce=!1;return Array.isArray(b)?(W=b,!0):(L=b.create(c).injector,W=L.get(At,[],{optional:!0,self:!0}).flat()),{routes:W.map(Ir),injector:L}}))}(y,this.compiler,c,this.onLoadEndListener).pipe((0,Ue.x)(()=>{this.childrenLoaders.delete(y)})),W=new We(L,()=>new q.x).pipe(J());return this.childrenLoaders.set(y,W),W}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function ar(f){return function Wn(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let yi=(()=>{class f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.x,this.transitionAbortSubject=new q.x,this.configLoader=(0,o.f3M)(yn),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(ii),this.rootContexts=(0,o.f3M)(cn),this.inputBindingEnabled=null!==(0,o.f3M)(_t,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new ms(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new gs(b))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:y})}setupNavigations(c,y,b){return this.transitions=new T.X({id:0,currentUrlTree:y,currentRawUrl:y,currentBrowserUrl:y,extractedUrl:c.urlHandlingStrategy.extract(y),urlAfterRedirects:c.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Oi,restoredState:null,currentSnapshot:b.snapshot,targetSnapshot:null,currentRouterState:b,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,at.h)(L=>0!==L.id),(0,be.U)(L=>({...L,extractedUrl:c.urlHandlingStrategy.extract(L.rawUrl)})),(0,ot.w)(L=>{this.currentTransition=L;let W=!1,Ce=!1;return(0,z.of)(L).pipe((0,Re.b)(De=>{this.currentNavigation={id:De.id,initialUrl:De.rawUrl,extractedUrl:De.extractedUrl,trigger:De.source,extras:De.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ot.w)(De=>{const tt=De.currentBrowserUrl.toString(),It=!c.navigated||De.extractedUrl.toString()!==tt||tt!==De.currentUrlTree.toString();if(!It&&"reload"!==(De.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const tn="";return this.events.next(new Gi(De.id,this.urlSerializer.serialize(De.rawUrl),tn,0)),De.resolve(null),He.E}if(c.urlHandlingStrategy.shouldProcessUrl(De.rawUrl))return(0,z.of)(De).pipe((0,ot.w)(tn=>{const us=this.transitions?.getValue();return this.events.next(new Dn(tn.id,this.urlSerializer.serialize(tn.extractedUrl),tn.source,tn.restoredState)),us!==this.transitions?.getValue()?He.E:Promise.resolve(tn)}),function I(f,g,c,y,b,L){return(0,re.z)(W=>function Oo(f,g,c,y,b,L,W="emptyOnly"){return new Ro(f,g,c,y,b,W,L).recognize()}(f,g,c,y,W.extractedUrl,b,L).pipe((0,be.U)(({state:Ce,tree:De})=>({...W,targetSnapshot:Ce,urlAfterRedirects:De}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Re.b)(tn=>{L.targetSnapshot=tn.targetSnapshot,L.urlAfterRedirects=tn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:tn.urlAfterRedirects};const us=new qi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(us)}));if(It&&c.urlHandlingStrategy.shouldProcessUrl(De.currentRawUrl)){const{id:tn,extractedUrl:us,source:fi,restoredState:Vr,extras:Tn}=De,Gs=new Dn(tn,this.urlSerializer.serialize(us),fi,Vr);this.events.next(Gs);const Iu=Mr(0,this.rootComponentType).snapshot;return this.currentTransition=L={...De,targetSnapshot:Iu,urlAfterRedirects:us,extras:{...Tn,skipLocationChange:!1,replaceUrl:!1}},(0,z.of)(L)}{const tn="";return this.events.next(new Gi(De.id,this.urlSerializer.serialize(De.extractedUrl),tn,1)),De.resolve(null),He.E}}),(0,Re.b)(De=>{const tt=new zr(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(tt)}),(0,be.U)(De=>(this.currentTransition=L={...De,guards:M(De.targetSnapshot,De.currentSnapshot,this.rootContexts)},L)),function Nr(f,g){return(0,re.z)(c=>{const{targetSnapshot:y,currentSnapshot:b,guards:{canActivateChecks:L,canDeactivateChecks:W}}=c;return 0===W.length&&0===L.length?(0,z.of)({...c,guardsResult:!0}):function Cs(f,g,c,y){return(0,V.D)(f).pipe((0,re.z)(b=>function Da(f,g,c,y,b){const L=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,z.of)(!0);const W=L.map(Ce=>{const De=In(g)??b,tt=E(Ce,De);return hi(function Es(f){return f&&Ci(f.canDeactivate)}(tt)?tt.canDeactivate(f,g,c,y):De.runInContext(()=>tt(f,g,c,y))).pipe(ve())});return(0,z.of)(W).pipe(Pr())}(b.component,b.route,c,g,y)),ve(b=>!0!==b,!0))}(W,y,b,f).pipe((0,re.z)(Ce=>Ce&&function is(f){return"boolean"==typeof f}(Ce)?function Ao(f,g,c,y){return(0,V.D)(g).pipe((0,xe.b)(b=>(0,lt.z)(function or(f,g){return null!==f&&g&&g(new Bn(f)),(0,z.of)(!0)}(b.route.parent,y),function Io(f,g){return null!==f&&g&&g(new ks(f)),(0,z.of)(!0)}(b.route,y),function bs(f,g,c){const y=g[g.length-1],L=g.slice(0,g.length-1).reverse().map(W=>function O(f){const g=f.routeConfig?f.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:f,guards:g}:null}(W)).filter(W=>null!==W).map(W=>(0,Ge.P)(()=>{const Ce=W.guards.map(De=>{const tt=In(W.node)??c,It=E(De,tt);return hi(function ao(f){return f&&Ci(f.canActivateChild)}(It)?It.canActivateChild(y,f):tt.runInContext(()=>It(y,f))).pipe(ve())});return(0,z.of)(Ce).pipe(Pr())}));return(0,z.of)(L).pipe(Pr())}(f,b.path,c),function On(f,g,c){const y=g.routeConfig?g.routeConfig.canActivate:null;if(!y||0===y.length)return(0,z.of)(!0);const b=y.map(L=>(0,Ge.P)(()=>{const W=In(g)??c,Ce=E(L,W);return hi(function sr(f){return f&&Ci(f.canActivate)}(Ce)?Ce.canActivate(g,f):W.runInContext(()=>Ce(g,f))).pipe(ve())}));return(0,z.of)(b).pipe(Pr())}(f,b.route,c))),ve(b=>!0!==b,!0))}(y,L,f,g):(0,z.of)(Ce)),(0,be.U)(Ce=>({...c,guardsResult:Ce})))})}(this.environmentInjector,De=>this.events.next(De)),(0,Re.b)(De=>{if(L.guardsResult=De.guardsResult,zt(De.guardsResult))throw xn(0,De.guardsResult);const tt=new Xr(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot,!!De.guardsResult);this.events.next(tt)}),(0,at.h)(De=>!!De.guardsResult||(this.cancelNavigationTransition(De,"",3),!1)),Zt(De=>{if(De.guards.canActivateChecks.length)return(0,z.of)(De).pipe((0,Re.b)(tt=>{const It=new es(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot);this.events.next(It)}),(0,ot.w)(tt=>{let It=!1;return(0,z.of)(tt).pipe(function Z(f,g){return(0,re.z)(c=>{const{targetSnapshot:y,guards:{canActivateChecks:b}}=c;if(!b.length)return(0,z.of)(c);let L=0;return(0,V.D)(b).pipe((0,xe.b)(W=>function Se(f,g,c,y){const b=f.routeConfig,L=f._resolve;return void 0!==b?.title&&!en(b)&&(L[ti]=b.title),function Pe(f,g,c,y){const b=function rt(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===b.length)return(0,z.of)({});const L={};return(0,V.D)(b).pipe((0,re.z)(W=>function rn(f,g,c,y){const b=In(g)??y,L=E(f,b);return hi(L.resolve?L.resolve(g,c):b.runInContext(()=>L(g,c)))}(f[W],g,c,y).pipe(ve(),(0,Re.b)(Ce=>{L[W]=Ce}))),ut(1),function kt(f){return(0,be.U)(()=>f)}(L),(0,Je.K)(W=>Ds(W)?He.E:(0,de._)(W)))}(L,f,g,y).pipe((0,be.U)(W=>(f._resolvedData=W,f.data=qe(f,c).resolve,b&&en(b)&&(f.data[ti]=b.title),null)))}(W.route,y,f,g)),(0,Re.b)(()=>L++),ut(1),(0,re.z)(W=>L===b.length?(0,z.of)(c):He.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Re.b)({next:()=>It=!0,complete:()=>{It||this.cancelNavigationTransition(tt,"",2)}}))}),(0,Re.b)(tt=>{const It=new Js(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot);this.events.next(It)}))}),Zt(De=>{const tt=It=>{const fn=[];It.routeConfig?.loadComponent&&!It.routeConfig._loadedComponent&&fn.push(this.configLoader.loadComponent(It.routeConfig).pipe((0,Re.b)(tn=>{It.component=tn}),(0,be.U)(()=>{})));for(const tn of It.children)fn.push(...tt(tn));return fn};return le(tt(De.targetSnapshot.root)).pipe(K(),(0,ft.q)(1))}),Zt(()=>this.afterPreactivation()),(0,be.U)(De=>{const tt=function vs(f,g,c){const y=Di(f,g._root,c?c._root:void 0);return new Xi(y,g)}(c.routeReuseStrategy,De.targetSnapshot,De.currentRouterState);return this.currentTransition=L={...De,targetRouterState:tt},L}),(0,Re.b)(()=>{this.events.next(new pr)}),((f,g,c,y)=>(0,be.U)(b=>(new Or(g,b.targetRouterState,b.currentRouterState,c,y).activate(f),b)))(this.rootContexts,c.routeReuseStrategy,De=>this.events.next(De),this.inputBindingEnabled),(0,ft.q)(1),(0,Re.b)({next:De=>{W=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new zn(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects))),c.titleStrategy?.updateTitle(De.targetRouterState.snapshot),De.resolve(!0)},complete:()=>{W=!0}}),function hn(f){return(0,ee.e)((g,c)=>{(0,sn.Xf)(f).subscribe((0,U.x)(c,()=>c.complete(),ht.Z)),!c.closed&&g.subscribe(c)})}(this.transitionAbortSubject.pipe((0,Re.b)(De=>{throw De}))),(0,Ue.x)(()=>{W||Ce||this.cancelNavigationTransition(L,"",1),this.currentNavigation?.id===L.id&&(this.currentNavigation=null)}),(0,Je.K)(De=>{if(Ce=!0,ki(De))this.events.next(new Ji(L.id,this.urlSerializer.serialize(L.extractedUrl),De.message,De.cancellationCode)),function ir(f){return ki(f)&&zt(f.url)}(De)?this.events.next(new ts(De.url)):L.resolve(!1);else{this.events.next(new Nn(L.id,this.urlSerializer.serialize(L.extractedUrl),De,L.targetSnapshot??void 0));try{L.resolve(c.errorHandler(De))}catch(tt){L.reject(tt)}}return He.E}))}))}cancelNavigationTransition(c,y,b){const L=new Ji(c.id,this.urlSerializer.serialize(c.extractedUrl),y,b);this.events.next(L),c.resolve(!1)}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function mr(f){return f!==Oi}let Ni=(()=>{class f{buildTitle(c){let y,b=c.root;for(;void 0!==b;)y=this.getResolvedTitleForRoute(b)??y,b=b.children.find(L=>L.outlet===yt);return y}getResolvedTitleForRoute(c){return c.data[ti]}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(Fr)},providedIn:"root"})}return f})(),Fr=(()=>{class f extends Ni{constructor(c){super(),this.title=c}updateTitle(c){const y=this.buildTitle(c);void 0!==y&&this.title.setTitle(y)}static#e=this.\u0275fac=function(y){return new(y||f)(o.LFG(Mi.Dx))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),yr=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(wa)},providedIn:"root"})}return f})();class kr{shouldDetach(g){return!1}store(g,c){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,c){return g.routeConfig===c.routeConfig}}let wa=(()=>{class f extends kr{static#e=this.\u0275fac=function(){let c;return function(b){return(c||(c=o.n5z(f)))(b||f)}}();static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const As=new o.OlP("",{providedIn:"root",factory:()=>({})});let Ma=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(vr)},providedIn:"root"})}return f})(),vr=(()=>{class f{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,y){return c}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();var Is=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(Is||{});function ho(f,g){f.events.pipe((0,at.h)(c=>c instanceof zn||c instanceof Ji||c instanceof Nn||c instanceof Gi),(0,be.U)(c=>c instanceof zn||c instanceof Gi?Is.COMPLETE:c instanceof Ji&&(0===c.code||1===c.code)?Is.REDIRECTING:Is.FAILED),(0,at.h)(c=>c!==Is.REDIRECTING),(0,ft.q)(1)).subscribe(()=>{g()})}function vn(f){throw f}function po(f,g,c){return g.parse("/")}const to={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},C={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let u=(()=>{class f{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this._events=new q.x,this.options=(0,o.f3M)(As,{optional:!0})||{},this.pendingTasks=(0,o.f3M)(o.HDt),this.errorHandler=this.options.errorHandler||vn,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||po,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(Ma),this.routeReuseStrategy=(0,o.f3M)(yr),this.titleStrategy=(0,o.f3M)(Ni),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.f3M)(At,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.f3M)(yi),this.urlSerializer=(0,o.f3M)(ii),this.location=(0,o.f3M)(Le.Ye),this.componentInputBindingEnabled=!!(0,o.f3M)(_t,{optional:!0}),this.eventsSubscription=new fe.w0,this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Dt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const c=this.navigationTransitions.events.subscribe(y=>{try{const{currentTransition:b}=this.navigationTransitions;if(null===b)return void(v(y)&&this._events.next(y));if(y instanceof Dn)mr(b.source)&&(this.browserUrlTree=b.extractedUrl);else if(y instanceof Gi)this.rawUrlTree=b.rawUrl;else if(y instanceof qi){if("eager"===this.urlUpdateStrategy){if(!b.extras.skipLocationChange){const L=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl);this.setBrowserUrl(L,b)}this.browserUrlTree=b.urlAfterRedirects}}else if(y instanceof pr)this.currentUrlTree=b.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl),this.routerState=b.targetRouterState,"deferred"===this.urlUpdateStrategy&&(b.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,b),this.browserUrlTree=b.urlAfterRedirects);else if(y instanceof Ji)0!==y.code&&1!==y.code&&(this.navigated=!0),(3===y.code||2===y.code)&&this.restoreHistory(b);else if(y instanceof ts){const L=this.urlHandlingStrategy.merge(y.url,b.currentRawUrl),W={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mr(b.source)};this.scheduleNavigation(L,Oi,null,W,{resolve:b.resolve,reject:b.reject,promise:b.promise})}y instanceof Nn&&this.restoreHistory(b,!0),y instanceof zn&&(this.navigated=!0),v(y)&&this._events.next(y)}catch(b){this.navigationTransitions.transitionAbortSubject.next(b)}});this.eventsSubscription.add(c)}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Oi,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const y="popstate"===c.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,y,c.state)},0)}))}navigateToSyncWithBrowser(c,y,b){const L={replaceUrl:!0},W=b?.navigationId?b:null;if(b){const De={...b};delete De.navigationId,delete De.\u0275routerPageId,0!==Object.keys(De).length&&(L.state=De)}const Ce=this.parseUrl(c);this.scheduleNavigation(Ce,y,W,L)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(c){this.config=c.map(Ir),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(c,y={}){const{relativeTo:b,queryParams:L,fragment:W,queryParamsHandling:Ce,preserveFragment:De}=y,tt=De?this.currentUrlTree.fragment:W;let fn,It=null;switch(Ce){case"merge":It={...this.currentUrlTree.queryParams,...L};break;case"preserve":It=this.currentUrlTree.queryParams;break;default:It=L||null}null!==It&&(It=this.removeEmptyProps(It));try{fn=mn(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof c[0]||!c[0].startsWith("/"))&&(c=[]),fn=this.currentUrlTree.root}return un(fn,c,It,tt??null)}navigateByUrl(c,y={skipLocationChange:!1}){const b=zt(c)?c:this.parseUrl(c),L=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(L,Oi,null,y)}navigate(c,y={skipLocationChange:!1}){return function l(f){for(let g=0;g<f.length;g++)if(null==f[g])throw new o.vHH(4008,!1)}(c),this.navigateByUrl(this.createUrlTree(c,y),y)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let y;try{y=this.urlSerializer.parse(c)}catch(b){y=this.malformedUriErrorHandler(b,this.urlSerializer,c)}return y}isActive(c,y){let b;if(b=!0===y?{...to}:!1===y?{...C}:y,zt(c))return An(this.currentUrlTree,c,b);const L=this.parseUrl(c);return An(this.currentUrlTree,L,b)}removeEmptyProps(c){return Object.keys(c).reduce((y,b)=>{const L=c[b];return null!=L&&(y[b]=L),y},{})}scheduleNavigation(c,y,b,L,W){if(this.disposed)return Promise.resolve(!1);let Ce,De,tt;W?(Ce=W.resolve,De=W.reject,tt=W.promise):tt=new Promise((fn,tn)=>{Ce=fn,De=tn});const It=this.pendingTasks.add();return ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(It))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:c,extras:L,resolve:Ce,reject:De,promise:tt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),tt.catch(fn=>Promise.reject(fn))}setBrowserUrl(c,y){const b=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(b)||y.extras.replaceUrl){const W={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(b,"",W)}else{const L={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(b,"",L)}}restoreHistory(c,y=!1){if("computed"===this.canceledNavigationResolution){const L=this.currentPageId-this.browserPageId;0!==L?this.location.historyGo(L):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===L&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,y){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:y}:{navigationId:c}}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function v(f){return!(f instanceof pr||f instanceof ts)}let w=(()=>{class f{constructor(c,y,b,L,W,Ce){this.router=c,this.route=y,this.tabIndexAttribute=b,this.renderer=L,this.el=W,this.locationStrategy=Ce,this.href=null,this.commands=null,this.onChanges=new q.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const De=W.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===De||"area"===De,this.isAnchorElement?this.subscription=c.events.subscribe(tt=>{tt instanceof zn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,y,b,L,W){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||y||b||L||W||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,y){const b=this.renderer,L=this.el.nativeElement;null!==y?b.setAttribute(L,c,y):b.removeAttribute(L,c)}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||f)(o.Y36(u),o.Y36(Yt),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Le.S$))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,b){1&y&&o.NdJ("click",function(W){return b.onClick(W.button,W.ctrlKey,W.shiftKey,W.altKey,W.metaKey)}),2&y&&o.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",o.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",o.VuI],replaceUrl:["replaceUrl","replaceUrl",o.VuI],routerLink:"routerLink"},standalone:!0,features:[o.Xq5,o.TTD]})}return f})(),F=(()=>{class f{get isActive(){return this._isActive}constructor(c,y,b,L,W){this.router=c,this.element=y,this.renderer=b,this.cdr=L,this.link=W,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.vpe,this.routerEventsSubscription=c.events.subscribe(Ce=>{Ce instanceof zn&&this.update()})}ngAfterContentInit(){(0,z.of)(this.links.changes,(0,z.of)(null)).pipe((0,Ht.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(y=>!!y).map(y=>y.onChanges);this.linkInputChangesSubscription=(0,V.D)(c).pipe((0,Ht.J)()).subscribe(y=>{this._isActive!==this.isLinkActive(this.router)(y)&&this.update()})}set routerLinkActive(c){const y=Array.isArray(c)?c:c.split(" ");this.classes=y.filter(b=>!!b)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(y=>{c?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const y=function X(f){return!!f.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>!!b.urlTree&&c.isActive(b.urlTree,y)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}static#e=this.\u0275fac=function(y){return new(y||f)(o.Y36(u),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(w,8))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","routerLinkActive",""]],contentQueries:function(y,b,L){if(1&y&&o.Suo(L,w,5),2&y){let W;o.iGM(W=o.CRH())&&(b.links=W)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.TTD]})}return f})();class ie{}let Xe=(()=>{class f{constructor(c,y,b,L,W){this.router=c,this.injector=b,this.preloadingStrategy=L,this.loader=W}setUpPreloading(){this.subscription=this.router.events.pipe((0,at.h)(c=>c instanceof zn),(0,xe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,y){const b=[];for(const L of y){L.providers&&!L._injector&&(L._injector=(0,o.MMx)(L.providers,c,`Route: ${L.path}`));const W=L._injector??c,Ce=L._loadedInjector??W;(L.loadChildren&&!L._loadedRoutes&&void 0===L.canLoad||L.loadComponent&&!L._loadedComponent)&&b.push(this.preloadConfig(W,L)),(L.children||L._loadedRoutes)&&b.push(this.processRoutes(Ce,L.children??L._loadedRoutes))}return(0,V.D)(b).pipe((0,Ht.J)())}preloadConfig(c,y){return this.preloadingStrategy.preload(y,()=>{let b;b=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(c,y):(0,z.of)(null);const L=b.pipe((0,re.z)(W=>null===W?(0,z.of)(void 0):(y._loadedRoutes=W.routes,y._loadedInjector=W.injector,this.processRoutes(W.injector??c,W.routes))));if(y.loadComponent&&!y._loadedComponent){const W=this.loader.loadComponent(y);return(0,V.D)([L,W]).pipe((0,Ht.J)())}return L})}static#e=this.\u0275fac=function(y){return new(y||f)(o.LFG(u),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(ie),o.LFG(yn))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const Qe=new o.OlP("");let $t=(()=>{class f{constructor(c,y,b,L,W={}){this.urlSerializer=c,this.transitions=y,this.viewportScroller=b,this.zone=L,this.options=W,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},W.scrollPositionRestoration=W.scrollPositionRestoration||"disabled",W.anchorScrolling=W.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(c=>{c instanceof Dn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof zn?(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment)):c instanceof Gi&&0===c.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof Bs&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,y){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Bs(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(y){o.$Z()};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac})}return f})();function Be(f,g){return{\u0275kind:f,\u0275providers:g}}function ei(){const f=(0,o.f3M)(o.zs3);return g=>{const c=f.get(o.z2F);if(g!==c.components[0])return;const y=f.get(u),b=f.get(Zr);1===f.get(ci)&&y.initialNavigation(),f.get(_r,null,o.XFs.Optional)?.setUpPreloading(),f.get(Qe,null,o.XFs.Optional)?.init(),y.resetRootComponentType(c.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}const Zr=new o.OlP("",{factory:()=>new q.x}),ci=new o.OlP("",{providedIn:"root",factory:()=>1}),_r=new o.OlP("");function Po(f){return Be(0,[{provide:_r,useExisting:Xe},{provide:ie,useExisting:f}])}const ct=new o.OlP("ROUTER_FORROOT_GUARD"),mt=[Le.Ye,{provide:ii,useClass:$i},u,cn,{provide:Yt,useFactory:function pt(f){return f.routerState.root},deps:[u]},yn,[]];function xt(){return new o.PXZ("Router",u)}let Hn=(()=>{class f{constructor(c){}static forRoot(c,y){return{ngModule:f,providers:[mt,[],{provide:At,multi:!0,useValue:c},{provide:ct,useFactory:Sn,deps:[[u,new o.FiY,new o.tp0]]},{provide:As,useValue:y||{}},y?.useHash?{provide:Le.S$,useClass:Le.Do}:{provide:Le.S$,useClass:Le.b0},{provide:Qe,useFactory:()=>{const f=(0,o.f3M)(Le.EM),g=(0,o.f3M)(o.R0b),c=(0,o.f3M)(As),y=(0,o.f3M)(yi),b=(0,o.f3M)(ii);return c.scrollOffset&&f.setOffset(c.scrollOffset),new $t(b,y,f,g,c)}},y?.preloadingStrategy?Po(y.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:xt},y?.initialNavigation?vi(y):[],y?.bindToComponentInputs?Be(8,[er,{provide:_t,useExisting:er}]).\u0275providers:[],[{provide:Er,useFactory:ei},{provide:o.tb,multi:!0,useExisting:Er}]]}}static forChild(c){return{ngModule:f,providers:[{provide:At,multi:!0,useValue:c}]}}static#e=this.\u0275fac=function(y){return new(y||f)(o.LFG(ct,8))};static#t=this.\u0275mod=o.oAB({type:f});static#n=this.\u0275inj=o.cJS({})}return f})();function Sn(f){return"guarded"}function vi(f){return["disabled"===f.initialNavigation?Be(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const g=(0,o.f3M)(u);return()=>{g.setUpLocationChangeListener()}}},{provide:ci,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?Be(2,[{provide:ci,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:g=>{const c=g.get(Le.V_,Promise.resolve());return()=>c.then(()=>new Promise(y=>{const b=g.get(u),L=g.get(Zr);ho(b,()=>{y(!0)}),g.get(yi).afterPreactivation=()=>(y(!0),L.closed?(0,z.of)(void 0):L),b.initialNavigation()}))}}]).\u0275providers:[]]}const Er=new o.OlP("")},9515:(ze,me,_)=>{_.d(me,{X$:()=>ot,Zw:()=>U,aw:()=>ft,sK:()=>Le});var o=_(2029),R=_(2096),V=_(2664),z=_(9315),T=_(5211),H=_(4911),N=_(8180),h=_(940),j=_(7398),A=_(6328),B=_(4664);class U{}let ce=(()=>{class ke extends U{getTranslation(re){return(0,R.of)({})}static \u0275fac=function(){let re;return function(oe){return(re||(re=o.n5z(ke)))(oe||ke)}}();static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();class le{}let G=(()=>{class ke{handle(re){return re.key}static \u0275fac=function(K){return new(K||ke)};static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();function we(ke,at){if(ke===at)return!0;if(null===ke||null===at)return!1;if(ke!=ke&&at!=at)return!0;let oe,pe,ve,re=typeof ke;if(re==typeof at&&"object"==re){if(!Array.isArray(ke)){if(Array.isArray(at))return!1;for(pe in ve=Object.create(null),ke){if(!we(ke[pe],at[pe]))return!1;ve[pe]=!0}for(pe in at)if(!(pe in ve)&&typeof at[pe]<"u")return!1;return!0}if(!Array.isArray(at))return!1;if((oe=ke.length)==at.length){for(pe=0;pe<oe;pe++)if(!we(ke[pe],at[pe]))return!1;return!0}}return!1}function ge(ke){return typeof ke<"u"&&null!==ke}function Ve(ke){return ke&&"object"==typeof ke&&!Array.isArray(ke)}function lt(ke,at){let re=Object.assign({},ke);return Ve(ke)&&Ve(at)&&Object.keys(at).forEach(K=>{Ve(at[K])?K in ke?re[K]=lt(ke[K],at[K]):Object.assign(re,{[K]:at[K]}):Object.assign(re,{[K]:at[K]})}),re}class Ge{}let se=(()=>{class ke extends Ge{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(re,K){let oe;return oe="string"==typeof re?this.interpolateString(re,K):"function"==typeof re?this.interpolateFunction(re,K):re,oe}getValue(re,K){let oe="string"==typeof K?K.split("."):[K];K="";do{K+=oe.shift(),!ge(re)||!ge(re[K])||"object"!=typeof re[K]&&oe.length?oe.length?K+=".":re=void 0:(re=re[K],K="")}while(oe.length);return re}interpolateFunction(re,K){return re(K)}interpolateString(re,K){return K?re.replace(this.templateMatcher,(oe,pe)=>{let ve=this.getValue(K,pe);return ge(ve)?ve:oe}):re}static \u0275fac=function(){let re;return function(oe){return(re||(re=o.n5z(ke)))(oe||ke)}}();static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();class de{}let He=(()=>{class ke extends de{compile(re,K){return re}compileTranslations(re,K){return re}static \u0275fac=function(){let re;return function(oe){return(re||(re=o.n5z(ke)))(oe||ke)}}();static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();class fe{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new o.vpe;onLangChange=new o.vpe;onDefaultLangChange=new o.vpe}const ee=new o.OlP("USE_STORE"),J=new o.OlP("USE_DEFAULT_LANG"),We=new o.OlP("DEFAULT_LANGUAGE"),q=new o.OlP("USE_EXTEND");let Le=(()=>{class ke{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new o.vpe;_onLangChange=new o.vpe;_onDefaultLangChange=new o.vpe;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(re){this.isolate?this._defaultLang=re:this.store.defaultLang=re}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(re){this.isolate?this._currentLang=re:this.store.currentLang=re}get langs(){return this.isolate?this._langs:this.store.langs}set langs(re){this.isolate?this._langs=re:this.store.langs=re}get translations(){return this.isolate?this._translations:this.store.translations}set translations(re){this.isolate?this._translations=re:this.store.translations=re}constructor(re,K,oe,pe,ve,xe=!0,Re=!1,Je=!1,Ot){this.store=re,this.currentLoader=K,this.compiler=oe,this.parser=pe,this.missingTranslationHandler=ve,this.useDefaultLang=xe,this.isolate=Re,this.extend=Je,Ot&&this.setDefaultLang(Ot)}setDefaultLang(re){if(re===this.defaultLang)return;let K=this.retrieveTranslations(re);typeof K<"u"?(null==this.defaultLang&&(this.defaultLang=re),K.pipe((0,N.q)(1)).subscribe(oe=>{this.changeDefaultLang(re)})):this.changeDefaultLang(re)}getDefaultLang(){return this.defaultLang}use(re){if(re===this.currentLang)return(0,R.of)(this.translations[re]);let K=this.retrieveTranslations(re);return typeof K<"u"?(this.currentLang||(this.currentLang=re),K.pipe((0,N.q)(1)).subscribe(oe=>{this.changeLang(re)}),K):(this.changeLang(re),(0,R.of)(this.translations[re]))}retrieveTranslations(re){let K;return(typeof this.translations[re]>"u"||this.extend)&&(this._translationRequests[re]=this._translationRequests[re]||this.getTranslation(re),K=this._translationRequests[re]),K}getTranslation(re){this.pending=!0;const K=this.currentLoader.getTranslation(re).pipe((0,h.d)(1),(0,N.q)(1));return this.loadingTranslations=K.pipe((0,j.U)(oe=>this.compiler.compileTranslations(oe,re)),(0,h.d)(1),(0,N.q)(1)),this.loadingTranslations.subscribe({next:oe=>{this.translations[re]=this.extend&&this.translations[re]?{...oe,...this.translations[re]}:oe,this.updateLangs(),this.pending=!1},error:oe=>{this.pending=!1}}),K}setTranslation(re,K,oe=!1){K=this.compiler.compileTranslations(K,re),this.translations[re]=(oe||this.extend)&&this.translations[re]?lt(this.translations[re],K):K,this.updateLangs(),this.onTranslationChange.emit({lang:re,translations:this.translations[re]})}getLangs(){return this.langs}addLangs(re){re.forEach(K=>{-1===this.langs.indexOf(K)&&this.langs.push(K)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(re,K,oe){let pe;if(K instanceof Array){let ve={},xe=!1;for(let Re of K)ve[Re]=this.getParsedResult(re,Re,oe),(0,V.b)(ve[Re])&&(xe=!0);if(xe){const Re=K.map(Je=>(0,V.b)(ve[Je])?ve[Je]:(0,R.of)(ve[Je]));return(0,z.D)(Re).pipe((0,j.U)(Je=>{let Ot={};return Je.forEach((gn,ut)=>{Ot[K[ut]]=gn}),Ot}))}return ve}if(re&&(pe=this.parser.interpolate(this.parser.getValue(re,K),oe)),typeof pe>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(pe=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],K),oe)),typeof pe>"u"){let ve={key:K,translateService:this};typeof oe<"u"&&(ve.interpolateParams=oe),pe=this.missingTranslationHandler.handle(ve)}return typeof pe<"u"?pe:K}get(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,A.b)(oe=>(oe=this.getParsedResult(oe,re,K),(0,V.b)(oe)?oe:(0,R.of)(oe))));{let oe=this.getParsedResult(this.translations[this.currentLang],re,K);return(0,V.b)(oe)?oe:(0,R.of)(oe)}}getStreamOnTranslationChange(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');return(0,T.z)((0,H.P)(()=>this.get(re,K)),this.onTranslationChange.pipe((0,B.w)(oe=>{const pe=this.getParsedResult(oe.translations,re,K);return"function"==typeof pe.subscribe?pe:(0,R.of)(pe)})))}stream(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');return(0,T.z)((0,H.P)(()=>this.get(re,K)),this.onLangChange.pipe((0,B.w)(oe=>{const pe=this.getParsedResult(oe.translations,re,K);return(0,V.b)(pe)?pe:(0,R.of)(pe)})))}instant(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');let oe=this.getParsedResult(this.translations[this.currentLang],re,K);if((0,V.b)(oe)){if(re instanceof Array){let pe={};return re.forEach((ve,xe)=>{pe[re[xe]]=re[xe]}),pe}return re}return oe}set(re,K,oe=this.currentLang){this.translations[oe][re]=this.compiler.compile(K,oe),this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}changeLang(re){this.currentLang=re,this.onLangChange.emit({lang:re,translations:this.translations[re]}),null==this.defaultLang&&this.changeDefaultLang(re)}changeDefaultLang(re){this.defaultLang=re,this.onDefaultLangChange.emit({lang:re,translations:this.translations[re]})}reloadLang(re){return this.resetLang(re),this.getTranslation(re)}resetLang(re){this._translationRequests[re]=void 0,this.translations[re]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof re>"u"?void 0:(-1!==re.indexOf("-")&&(re=re.split("-")[0]),-1!==re.indexOf("_")&&(re=re.split("_")[0]),re)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,re}static \u0275fac=function(K){return new(K||ke)(o.LFG(fe),o.LFG(U),o.LFG(de),o.LFG(Ge),o.LFG(le),o.LFG(J),o.LFG(ee),o.LFG(q),o.LFG(We))};static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})(),ot=(()=>{class ke{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(re,K){this.translate=re,this._ref=K}updateValue(re,K,oe){let pe=ve=>{this.value=void 0!==ve?ve:re,this.lastKey=re,this._ref.markForCheck()};if(oe){let ve=this.translate.getParsedResult(oe,re,K);(0,V.b)(ve.subscribe)?ve.subscribe(pe):pe(ve)}this.translate.get(re,K).subscribe(pe)}transform(re,...K){if(!re||!re.length)return re;if(we(re,this.lastKey)&&we(K,this.lastParams))return this.value;let oe;if(ge(K[0])&&K.length)if("string"==typeof K[0]&&K[0].length){let pe=K[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{oe=JSON.parse(pe)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${K[0]}`)}}else"object"==typeof K[0]&&!Array.isArray(K[0])&&(oe=K[0]);return this.lastKey=re,this.lastParams=K,this.updateValue(re,oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(pe=>{this.lastKey&&pe.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(re,oe,pe.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(pe=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,oe,pe.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,oe))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(K){return new(K||ke)(o.Y36(Le,16),o.Y36(o.sBO,16))};static \u0275pipe=o.Yjl({name:"translate",type:ke,pure:!1});static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})(),ft=(()=>{class ke{static forRoot(re={}){return{ngModule:ke,providers:[re.loader||{provide:U,useClass:ce},re.compiler||{provide:de,useClass:He},re.parser||{provide:Ge,useClass:se},re.missingTranslationHandler||{provide:le,useClass:G},fe,{provide:ee,useValue:re.isolate},{provide:J,useValue:re.useDefaultLang},{provide:q,useValue:re.extend},{provide:We,useValue:re.defaultLanguage},Le]}}static forChild(re={}){return{ngModule:ke,providers:[re.loader||{provide:U,useClass:ce},re.compiler||{provide:de,useClass:He},re.parser||{provide:Ge,useClass:se},re.missingTranslationHandler||{provide:le,useClass:G},{provide:ee,useValue:re.isolate},{provide:J,useValue:re.useDefaultLang},{provide:q,useValue:re.extend},{provide:We,useValue:re.defaultLanguage},Le]}}static \u0275fac=function(K){return new(K||ke)};static \u0275mod=o.oAB({type:ke});static \u0275inj=o.cJS({})}return ke})()},5061:(ze,me,_)=>{_.d(me,{w:()=>o});class o{http;prefix;suffix;constructor(V,z="/assets/i18n/",T=".json"){this.http=V,this.prefix=z,this.suffix=T}getTranslation(V){return this.http.get(`${this.prefix}${V}${this.suffix}`)}}},5219:(ze,me,_)=>{_.d(me,{$_:()=>ge,F0:()=>ce,a6:()=>j,b4:()=>G,ez:()=>U,h4:()=>we,iZ:()=>B,jx:()=>Ve,m8:()=>lt,pg:()=>A,ws:()=>Ge});var o=_(2029),R=_(8645),V=_(2332),z=_(6814);const T=["*"];let j=(()=>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"})(),A=(()=>class de{static AND="and";static OR="or"})(),B=(()=>{class de{filter(fe,ee,J,We,q){let Le=[];if(fe)for(let be of fe)for(let ot of ee){let ft=V.gb.resolveFieldData(be,ot);if(this.filters[We](ft,J,q)){Le.push(be);break}}return Le}filters={startsWith:(fe,ee,J)=>{if(null==ee||""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J);return V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J).slice(0,We.length)===We},contains:(fe,ee,J)=>{if(null==ee||"string"==typeof ee&&""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J);return-1!==V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J).indexOf(We)},notContains:(fe,ee,J)=>{if(null==ee||"string"==typeof ee&&""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J);return-1===V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J).indexOf(We)},endsWith:(fe,ee,J)=>{if(null==ee||""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J),q=V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J);return-1!==q.indexOf(We,q.length-We.length)},equals:(fe,ee,J)=>null==ee||"string"==typeof ee&&""===ee.trim()||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()===ee.getTime():V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J)==V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J)),notEquals:(fe,ee,J)=>!(null==ee||"string"==typeof ee&&""===ee.trim()||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()===ee.getTime():V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J)==V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J))),in:(fe,ee)=>{if(null==ee||0===ee.length)return!0;for(let J=0;J<ee.length;J++)if(V.gb.equals(fe,ee[J]))return!0;return!1},between:(fe,ee)=>null==ee||null==ee[0]||null==ee[1]||null!=fe&&(fe.getTime?ee[0].getTime()<=fe.getTime()&&fe.getTime()<=ee[1].getTime():ee[0]<=fe&&fe<=ee[1]),lt:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()<ee.getTime():fe<ee),lte:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()<=ee.getTime():fe<=ee),gt:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()>ee.getTime():fe>ee),gte:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()>=ee.getTime():fe>=ee),is:(fe,ee,J)=>this.filters.equals(fe,ee,J),isNot:(fe,ee,J)=>this.filters.notEquals(fe,ee,J),before:(fe,ee,J)=>this.filters.lt(fe,ee,J),after:(fe,ee,J)=>this.filters.gt(fe,ee,J),dateIs:(fe,ee)=>null==ee||null!=fe&&fe.toDateString()===ee.toDateString(),dateIsNot:(fe,ee)=>null==ee||null!=fe&&fe.toDateString()!==ee.toDateString(),dateBefore:(fe,ee)=>null==ee||null!=fe&&fe.getTime()<ee.getTime(),dateAfter:(fe,ee)=>null==ee||null!=fe&&fe.getTime()>ee.getTime()};register(fe,ee){this.filters[fe]=ee}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),U=(()=>{class de{messageSource=new R.x;clearSource=new R.x;messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(fe){fe&&this.messageSource.next(fe)}addAll(fe){fe&&fe.length&&this.messageSource.next(fe)}clear(fe){this.clearSource.next(fe||null)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac})}return de})(),ce=(()=>{class de{clickSource=new R.x;clickObservable=this.clickSource.asObservable();add(fe){fe&&this.clickSource.next(fe)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),G=(()=>{class de{ripple=!1;overlayOptions={};filterMatchModeOptions={text:[j.STARTS_WITH,j.CONTAINS,j.NOT_CONTAINS,j.ENDS_WITH,j.EQUALS,j.NOT_EQUALS],numeric:[j.EQUALS,j.NOT_EQUALS,j.LESS_THAN,j.LESS_THAN_OR_EQUAL_TO,j.GREATER_THAN,j.GREATER_THAN_OR_EQUAL_TO],date:[j.DATE_IS,j.DATE_IS_NOT,j.DATE_BEFORE,j.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",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"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new R.x;translationObserver=this.translationSource.asObservable();getTranslation(fe){return this.translation[fe]}setTranslation(fe){this.translation={...this.translation,...fe},this.translationSource.next(this.translation)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),we=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275cmp=o.Xpm({type:de,selectors:[["p-header"]],ngContentSelectors:T,decls:1,vars:0,template:function(ee,J){1&ee&&(o.F$t(),o.Hsn(0))},encapsulation:2})}return de})(),ge=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275cmp=o.Xpm({type:de,selectors:[["p-footer"]],ngContentSelectors:T,decls:1,vars:0,template:function(ee,J){1&ee&&(o.F$t(),o.Hsn(0))},encapsulation:2})}return de})(),Ve=(()=>{class de{template;type;name;constructor(fe){this.template=fe}getType(){return this.name}static \u0275fac=function(ee){return new(ee||de)(o.Y36(o.Rgc))};static \u0275dir=o.lG2({type:de,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}})}return de})(),lt=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275mod=o.oAB({type:de});static \u0275inj=o.cJS({imports:[z.ez]})}return de})(),Ge=(()=>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 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"})()},4713:(ze,me,_)=>{_.d(me,{s:()=>z});var o=_(2029),R=_(2332);const V=["*"];let z=(()=>{class T{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const N=R.gb.isEmpty(this.label);this.role=N?void 0:"img",this.ariaLabel=N?void 0:this.label,this.ariaHidden=N}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(h){return new(h||T)};static \u0275cmp=o.Xpm({type:T,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[o.jDz],ngContentSelectors:V,decls:1,vars:0,template:function(h,j){1&h&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0})}return T})()},707:(ze,me,_)=>{_.d(me,{Hq:()=>ee,hJ:()=>We,zx:()=>J});var o=_(6814),R=_(2029),V=_(5219),z=_(2076),T=_(8717),H=_(4480),N=_(2332);function h(q,Le){1&q&&R.GkF(0)}function j(q,Le){if(1&q&&R._UZ(0,"span",8),2&q){const be=R.oxw(3);R.Tol("p-button-loading-icon"+be.icon),R.Q6J("ngClass",be.iconClass())}}function A(q,Le){if(1&q&&R._UZ(0,"SpinnerIcon",9),2&q){const be=R.oxw(3);R.Q6J("styleClass",be.spinnerIconClass())("spin",!0)}}function B(q,Le){if(1&q&&(R.ynx(0),R.YNc(1,j,1,3,"span",6),R.YNc(2,A,1,2,"SpinnerIcon",7),R.BQk()),2&q){const be=R.oxw(2);R.xp6(1),R.Q6J("ngIf",be.loadingIcon),R.xp6(1),R.Q6J("ngIf",!be.loadingIcon)}}function U(q,Le){}function ce(q,Le){1&q&&R.YNc(0,U,0,0,"ng-template")}function le(q,Le){if(1&q&&(R.TgZ(0,"span",10),R.YNc(1,ce,1,0,null,1),R.qZA()),2&q){const be=R.oxw(2);R.xp6(1),R.Q6J("ngTemplateOutlet",be.loadingIconTemplate)}}function G(q,Le){if(1&q&&(R.ynx(0),R.YNc(1,B,3,2,"ng-container",2),R.YNc(2,le,2,1,"span",5),R.BQk()),2&q){const be=R.oxw();R.xp6(1),R.Q6J("ngIf",!be.loadingIconTemplate),R.xp6(1),R.Q6J("ngIf",be.loadingIconTemplate)}}function we(q,Le){if(1&q&&R._UZ(0,"span",8),2&q){const be=R.oxw(2);R.Tol(be.icon),R.Q6J("ngClass",be.iconClass())}}function ge(q,Le){}function Ve(q,Le){if(1&q&&R.YNc(0,ge,0,0,"ng-template",12),2&q){const be=R.oxw(3);R.Q6J("ngIf",!be.icon)}}function lt(q,Le){if(1&q&&(R.TgZ(0,"span",8),R.YNc(1,Ve,1,1,null,1),R.qZA()),2&q){const be=R.oxw(2);R.Q6J("ngClass",be.iconClass()),R.xp6(1),R.Q6J("ngTemplateOutlet",be.iconTemplate)}}function Ge(q,Le){if(1&q&&(R.ynx(0),R.YNc(1,we,1,3,"span",6),R.YNc(2,lt,2,2,"span",11),R.BQk()),2&q){const be=R.oxw();R.xp6(1),R.Q6J("ngIf",be.icon&&!be.iconTemplate),R.xp6(1),R.Q6J("ngIf",!be.icon&&be.iconTemplate)}}function se(q,Le){if(1&q&&(R.TgZ(0,"span",13),R._uU(1),R.qZA()),2&q){const be=R.oxw();R.uIk("aria-hidden",be.icon&&!be.label),R.xp6(1),R.Oqu(be.label)}}function de(q,Le){if(1&q&&(R.TgZ(0,"span",8),R._uU(1),R.qZA()),2&q){const be=R.oxw();R.Tol(be.badgeClass),R.Q6J("ngClass",be.badgeStyleClass()),R.xp6(1),R.Oqu(be.badge)}}const He=["*"],fe={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 q{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(be){this._label=be,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(be){this._icon=be,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(be){this._loading=be,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(fe);spinnerIcon='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">\n        <g clip-path="url(#clip0_417_21408)">\n            <path\n                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"\n                fill="currentColor"\n            />\n        </g>\n        <defs>\n            <clipPath id="clip0_417_21408">\n                <rect width="14" height="14" fill="white" />\n            </clipPath>\n        </defs>\n    </svg>';constructor(be,ot){this.el=be,this.document=ot}ngAfterViewInit(){z.p.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const be=[fe.button,fe.component];return this.icon&&!this.label&&N.gb.isEmpty(this.htmlElement.textContent)&&be.push(fe.iconOnly),this.loading&&(be.push(fe.disabled,fe.loading),!this.icon&&this.label&&be.push(fe.labelOnly)),be}setStyleClass(){const be=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...be)}createLabel(){if(this.label){let be=this.document.createElement("span");this.icon&&!this.label&&be.setAttribute("aria-hidden","true"),be.className="p-button-label",be.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(be)}}createIcon(){if(this.icon||this.loading){let be=this.document.createElement("span");be.className="p-button-icon",be.setAttribute("aria-hidden","true");let ot=this.label?"p-button-icon-"+this.iconPos:null;ot&&z.p.addClass(be,ot);let ft=this.getIconClass();ft&&z.p.addMultipleClasses(be,ft),!this.loadingIcon&&this.loading&&(be.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(be,this.htmlElement.firstChild)}}updateLabel(){let be=z.p.findSingle(this.htmlElement,".p-button-label");this.label?be?be.textContent=this.label:this.createLabel():be&&this.htmlElement.removeChild(be)}updateIcon(){let be=z.p.findSingle(this.htmlElement,".p-button-icon");this.icon||this.loading?be?be.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon():be&&this.htmlElement.removeChild(be)}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this._icon}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(ot){return new(ot||q)(R.Y36(R.SBq),R.Y36(o.K0))};static \u0275dir=R.lG2({type:q,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return q})(),J=(()=>{class q{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;style;styleClass;badgeClass;ariaLabel;onClick=new R.vpe;onFocus=new R.vpe;onBlur=new R.vpe;contentTemplate;loadingIconTemplate;iconTemplate;templates;spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,be])=>!!be).reduce((be,[ot])=>be+` ${ot}`,"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.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}}ngAfterContentInit(){this.templates?.forEach(be=>{switch(be.getType()){case"content":default:this.contentTemplate=be.template;break;case"icon":this.iconTemplate=be.template;break;case"loadingicon":this.loadingIconTemplate=be.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}static \u0275fac=function(ot){return new(ot||q)};static \u0275cmp=R.Xpm({type:q,selectors:[["p-button"]],contentQueries:function(ot,ft,ke){if(1&ot&&R.Suo(ke,V.jx,4),2&ot){let at;R.iGM(at=R.CRH())&&(ft.templates=at)}},hostAttrs:[1,"p-element"],inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:He,decls:7,vars:12,consts:[["pRipple","",3,"ngStyle","disabled","ngClass","click","focus","blur"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(ot,ft){1&ot&&(R.F$t(),R.TgZ(0,"button",0),R.NdJ("click",function(at){return ft.onClick.emit(at)})("focus",function(at){return ft.onFocus.emit(at)})("blur",function(at){return ft.onBlur.emit(at)}),R.Hsn(1),R.YNc(2,h,1,0,"ng-container",1),R.YNc(3,G,3,2,"ng-container",2),R.YNc(4,Ge,3,2,"ng-container",2),R.YNc(5,se,2,2,"span",3),R.YNc(6,de,2,4,"span",4),R.qZA()),2&ot&&(R.Tol(ft.styleClass),R.Q6J("ngStyle",ft.style)("disabled",ft.disabled||ft.loading)("ngClass",ft.buttonClass()),R.uIk("type",ft.type)("aria-label",ft.ariaLabel),R.xp6(2),R.Q6J("ngTemplateOutlet",ft.contentTemplate),R.xp6(1),R.Q6J("ngIf",ft.loading),R.xp6(1),R.Q6J("ngIf",!ft.loading),R.xp6(1),R.Q6J("ngIf",!ft.contentTemplate&&ft.label),R.xp6(1),R.Q6J("ngIf",!ft.contentTemplate&&ft.badge))},dependencies:function(){return[o.mk,o.O5,o.tP,o.PC,H.H,T.L]},encapsulation:2,changeDetection:0})}return q})(),We=(()=>{class q{static \u0275fac=function(ot){return new(ot||q)};static \u0275mod=R.oAB({type:q});static \u0275inj=R.cJS({imports:[o.ez,H.T,V.m8,T.L,V.m8]})}return q})()},2076:(ze,me,_)=>{_.d(me,{V:()=>R,p:()=>o});let o=(()=>{class V{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(T,H){T&&H&&(T.classList?T.classList.add(H):T.className+=" "+H)}static addMultipleClasses(T,H){if(T&&H)if(T.classList){let N=H.trim().split(" ");for(let h=0;h<N.length;h++)T.classList.add(N[h])}else{let N=H.split(" ");for(let h=0;h<N.length;h++)T.className+=" "+N[h]}}static removeClass(T,H){T&&H&&(T.classList?T.classList.remove(H):T.className=T.className.replace(new RegExp("(^|\\b)"+H.split(" ").join("|")+"(\\b|$)","gi")," "))}static hasClass(T,H){return!(!T||!H)&&(T.classList?T.classList.contains(H):new RegExp("(^| )"+H+"( |$)","gi").test(T.className))}static siblings(T){return Array.prototype.filter.call(T.parentNode.children,function(H){return H!==T})}static find(T,H){return Array.from(T.querySelectorAll(H))}static findSingle(T,H){return T?T.querySelector(H):null}static index(T){let H=T.parentNode.childNodes,N=0;for(var h=0;h<H.length;h++){if(H[h]==T)return N;1==H[h].nodeType&&N++}return-1}static indexWithinGroup(T,H){let N=T.parentNode?T.parentNode.childNodes:[],h=0;for(var j=0;j<N.length;j++){if(N[j]==T)return h;N[j].attributes&&N[j].attributes[H]&&1==N[j].nodeType&&h++}return-1}static appendOverlay(T,H,N="self"){"self"!==N&&T&&H&&this.appendChild(T,H)}static alignOverlay(T,H,N="self",h=!0){T&&H&&(h&&(T.style.minWidth=`${V.getOuterWidth(H)}px`),"self"===N?this.relativePosition(T,H):this.absolutePosition(T,H))}static relativePosition(T,H){const N=Ve=>{if(Ve)return"relative"===getComputedStyle(Ve).getPropertyValue("position")?Ve:N(Ve.parentElement)},h=T.offsetParent?{width:T.offsetWidth,height:T.offsetHeight}:this.getHiddenElementDimensions(T),j=H.offsetHeight,A=H.getBoundingClientRect(),B=this.getWindowScrollTop(),U=this.getWindowScrollLeft(),ce=this.getViewport(),G=N(T)?.getBoundingClientRect()||{top:-1*B,left:-1*U};let we,ge;A.top+j+h.height>ce.height?(we=A.top-G.top-h.height,T.style.transformOrigin="bottom",A.top+we<0&&(we=-1*A.top)):(we=j+A.top-G.top,T.style.transformOrigin="top"),ge=h.width>ce.width?-1*(A.left-G.left):A.left-G.left+h.width>ce.width?-1*(A.left-G.left+h.width-ce.width):A.left-G.left,T.style.top=we+"px",T.style.left=ge+"px"}static absolutePosition(T,H){const N=T.offsetParent?{width:T.offsetWidth,height:T.offsetHeight}:this.getHiddenElementDimensions(T),h=N.height,j=N.width,A=H.offsetHeight,B=H.offsetWidth,U=H.getBoundingClientRect(),ce=this.getWindowScrollTop(),le=this.getWindowScrollLeft(),G=this.getViewport();let we,ge;U.top+A+h>G.height?(we=U.top+ce-h,T.style.transformOrigin="bottom",we<0&&(we=ce)):(we=A+U.top+ce,T.style.transformOrigin="top"),ge=U.left+j>G.width?Math.max(0,U.left+le+B-j):U.left+le,T.style.top=we+"px",T.style.left=ge+"px"}static getParents(T,H=[]){return null===T.parentNode?H:this.getParents(T.parentNode,H.concat([T.parentNode]))}static getScrollableParents(T){let H=[];if(T){let N=this.getParents(T);const h=/(auto|scroll)/,j=A=>{let B=window.getComputedStyle(A,null);return h.test(B.getPropertyValue("overflow"))||h.test(B.getPropertyValue("overflowX"))||h.test(B.getPropertyValue("overflowY"))};for(let A of N){let B=1===A.nodeType&&A.dataset.scrollselectors;if(B){let U=B.split(",");for(let ce of U){let le=this.findSingle(A,ce);le&&j(le)&&H.push(le)}}9!==A.nodeType&&j(A)&&H.push(A)}}return H}static getHiddenElementOuterHeight(T){T.style.visibility="hidden",T.style.display="block";let H=T.offsetHeight;return T.style.display="none",T.style.visibility="visible",H}static getHiddenElementOuterWidth(T){T.style.visibility="hidden",T.style.display="block";let H=T.offsetWidth;return T.style.display="none",T.style.visibility="visible",H}static getHiddenElementDimensions(T){let H={};return T.style.visibility="hidden",T.style.display="block",H.width=T.offsetWidth,H.height=T.offsetHeight,T.style.display="none",T.style.visibility="visible",H}static scrollInView(T,H){let N=getComputedStyle(T).getPropertyValue("borderTopWidth"),h=N?parseFloat(N):0,j=getComputedStyle(T).getPropertyValue("paddingTop"),A=j?parseFloat(j):0,B=T.getBoundingClientRect(),ce=H.getBoundingClientRect().top+document.body.scrollTop-(B.top+document.body.scrollTop)-h-A,le=T.scrollTop,G=T.clientHeight,we=this.getOuterHeight(H);ce<0?T.scrollTop=le+ce:ce+we>G&&(T.scrollTop=le+ce-G+we)}static fadeIn(T,H){T.style.opacity=0;let N=+new Date,h=0,j=function(){h=+T.style.opacity.replace(",",".")+((new Date).getTime()-N)/H,T.style.opacity=h,N=+new Date,+h<1&&(window.requestAnimationFrame&&requestAnimationFrame(j)||setTimeout(j,16))};j()}static fadeOut(T,H){var N=1,A=50/H;let B=setInterval(()=>{(N-=A)<=0&&(N=0,clearInterval(B)),T.style.opacity=N},50)}static getWindowScrollTop(){let T=document.documentElement;return(window.pageYOffset||T.scrollTop)-(T.clientTop||0)}static getWindowScrollLeft(){let T=document.documentElement;return(window.pageXOffset||T.scrollLeft)-(T.clientLeft||0)}static matches(T,H){var N=Element.prototype;return(N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.msMatchesSelector||function(j){return-1!==[].indexOf.call(document.querySelectorAll(j),this)}).call(T,H)}static getOuterWidth(T,H){let N=T.offsetWidth;if(H){let h=getComputedStyle(T);N+=parseFloat(h.marginLeft)+parseFloat(h.marginRight)}return N}static getHorizontalPadding(T){let H=getComputedStyle(T);return parseFloat(H.paddingLeft)+parseFloat(H.paddingRight)}static getHorizontalMargin(T){let H=getComputedStyle(T);return parseFloat(H.marginLeft)+parseFloat(H.marginRight)}static innerWidth(T){let H=T.offsetWidth,N=getComputedStyle(T);return H+=parseFloat(N.paddingLeft)+parseFloat(N.paddingRight),H}static width(T){let H=T.offsetWidth,N=getComputedStyle(T);return H-=parseFloat(N.paddingLeft)+parseFloat(N.paddingRight),H}static getInnerHeight(T){let H=T.offsetHeight,N=getComputedStyle(T);return H+=parseFloat(N.paddingTop)+parseFloat(N.paddingBottom),H}static getOuterHeight(T,H){let N=T.offsetHeight;if(H){let h=getComputedStyle(T);N+=parseFloat(h.marginTop)+parseFloat(h.marginBottom)}return N}static getHeight(T){let H=T.offsetHeight,N=getComputedStyle(T);return H-=parseFloat(N.paddingTop)+parseFloat(N.paddingBottom)+parseFloat(N.borderTopWidth)+parseFloat(N.borderBottomWidth),H}static getWidth(T){let H=T.offsetWidth,N=getComputedStyle(T);return H-=parseFloat(N.paddingLeft)+parseFloat(N.paddingRight)+parseFloat(N.borderLeftWidth)+parseFloat(N.borderRightWidth),H}static getViewport(){let T=window,H=document,N=H.documentElement,h=H.getElementsByTagName("body")[0];return{width:T.innerWidth||N.clientWidth||h.clientWidth,height:T.innerHeight||N.clientHeight||h.clientHeight}}static getOffset(T){var H=T.getBoundingClientRect();return{top:H.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:H.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(T,H){let N=T.parentNode;if(!N)throw"Can't replace element";return N.replaceChild(H,T)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var T=window.navigator.userAgent;return T.indexOf("MSIE ")>0||(T.indexOf("Trident/")>0?(T.indexOf("rv:"),!0):T.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(T,H){if(this.isElement(H))H.appendChild(T);else{if(!(H&&H.el&&H.el.nativeElement))throw"Cannot append "+H+" to "+T;H.el.nativeElement.appendChild(T)}}static removeChild(T,H){if(this.isElement(H))H.removeChild(T);else{if(!H.el||!H.el.nativeElement)throw"Cannot remove "+T+" from "+H;H.el.nativeElement.removeChild(T)}}static removeElement(T){"remove"in Element.prototype?T.remove():T.parentNode.removeChild(T)}static isElement(T){return"object"==typeof HTMLElement?T instanceof HTMLElement:T&&"object"==typeof T&&null!==T&&1===T.nodeType&&"string"==typeof T.nodeName}static calculateScrollbarWidth(T){if(T){let H=getComputedStyle(T);return T.offsetWidth-T.clientWidth-parseFloat(H.borderLeftWidth)-parseFloat(H.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let H=document.createElement("div");H.className="p-scrollbar-measure",document.body.appendChild(H);let N=H.offsetWidth-H.clientWidth;return document.body.removeChild(H),this.calculatedScrollbarWidth=N,N}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let T=document.createElement("div");T.className="p-scrollbar-measure",document.body.appendChild(T);let H=T.offsetHeight-T.clientHeight;return document.body.removeChild(T),this.calculatedScrollbarWidth=H,H}static invokeElementMethod(T,H,N){T[H].apply(T,N)}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 T=this.resolveUserAgent();this.browser={},T.browser&&(this.browser[T.browser]=!0,this.browser.version=T.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let T=navigator.userAgent.toLowerCase(),H=/(chrome)[ \/]([\w.]+)/.exec(T)||/(webkit)[ \/]([\w.]+)/.exec(T)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(T)||/(msie) ([\w.]+)/.exec(T)||T.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(T)||[];return{browser:H[1]||"",version:H[2]||"0"}}static isInteger(T){return Number.isInteger?Number.isInteger(T):"number"==typeof T&&isFinite(T)&&Math.floor(T)===T}static isHidden(T){return!T||null===T.offsetParent}static isVisible(T){return T&&null!=T.offsetParent}static isExist(T){return null!==T&&typeof T<"u"&&T.nodeName&&T.parentNode}static focus(T,H){T&&document.activeElement!==T&&T.focus(H)}static getFocusableElements(T){let H=V.find(T,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [href]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),N=[];for(let h of H)(h.offsetWidth||h.offsetHeight||h.getClientRects().length)&&N.push(h);return N}static getNextFocusableElement(T,H=!1){const N=V.getFocusableElements(T);let h=0;if(N&&N.length>0){const j=N.indexOf(N[0].ownerDocument.activeElement);H?h=-1==j||0===j?N.length-1:j-1:-1!=j&&j!==N.length-1&&(h=j+1)}return N[h]}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(T,H){if(!T)return null;switch(T){case"document":return document;case"window":return window;case"@next":return H?.nextElementSibling;case"@prev":return H?.previousElementSibling;case"@parent":return H?.parentElement;case"@grandparent":return H?.parentElement.parentElement;default:const N=typeof T;if("string"===N)return document.querySelector(T);if("object"===N&&T.hasOwnProperty("nativeElement"))return this.isExist(T.nativeElement)?T.nativeElement:void 0;const j=(A=T)&&A.constructor&&A.call&&A.apply?T():T;return j&&9===j.nodeType||this.isExist(j)?j:null}var A}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}}return V})();class R{element;listener;scrollableParents;constructor(z,T=(()=>{})){this.element=z,this.listener=T}bindScrollListener(){this.scrollableParents=o.getScrollableParents(this.element);for(let z=0;z<this.scrollableParents.length;z++)this.scrollableParents[z].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let z=0;z<this.scrollableParents.length;z++)this.scrollableParents[z].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},8717:(ze,me,_)=>{_.d(me,{L:()=>z});var o=_(2029),R=_(4713),V=_(2332);let z=(()=>{class T extends R.s{pathId;ngOnInit(){this.pathId="url(#"+(0,V.Th)()+")"}static \u0275fac=function(){let N;return function(j){return(N||(N=o.n5z(T)))(j||T)}}();static \u0275cmp=o.Xpm({type:T,selectors:[["SpinnerIcon"]],standalone:!0,features:[o.qOj,o.jDz],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,j){1&h&&(o.O4$(),o.TgZ(0,"svg",0)(1,"g"),o._UZ(2,"path",1),o.qZA(),o.TgZ(3,"defs")(4,"clipPath",2),o._UZ(5,"rect",3),o.qZA()()()),2&h&&(o.Tol(j.getClassNames()),o.uIk("aria-label",j.ariaLabel)("aria-hidden",j.ariaHidden)("role",j.role),o.xp6(1),o.uIk("clip-path",j.pathId),o.xp6(3),o.Q6J("id",j.pathId))},encapsulation:2})}return T})()},7778:(ze,me,_)=>{_.d(me,{q:()=>V});var o=_(2029),R=_(4713);let V=(()=>{class z extends R.s{static \u0275fac=function(){let H;return function(h){return(H||(H=o.n5z(z)))(h||z)}}();static \u0275cmp=o.Xpm({type:z,selectors:[["TimesIcon"]],standalone:!0,features:[o.qOj,o.jDz],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(N,h){1&N&&(o.O4$(),o.TgZ(0,"svg",0),o._UZ(1,"path",1),o.qZA()),2&N&&(o.Tol(h.getClassNames()),o.uIk("aria-label",h.ariaLabel)("aria-hidden",h.ariaHidden)("role",h.role))},encapsulation:2})}return z})()},5609:(ze,me,_)=>{_.d(me,{Iu:()=>N,Ql:()=>H});var o=_(2029),R=_(6814),V=_(6223);const z=function(h,j,A){return{"p-inputswitch p-component":!0,"p-inputswitch-checked":h,"p-disabled":j,"p-focus":A}},T={provide:V.JU,useExisting:(0,o.Gpc)(()=>H),multi:!0};let H=(()=>{class h{cd;style;styleClass;tabindex;inputId;name;disabled;readonly;trueValue=!0;falseValue=!1;ariaLabel;ariaLabelledBy;onChange=new o.vpe;modelValue=!1;focused=!1;onModelChange=()=>{};onModelTouched=()=>{};constructor(A){this.cd=A}onClick(A,B){!this.disabled&&!this.readonly&&(A.preventDefault(),this.toggle(A),B.focus())}onInputChange(A){this.readonly||this.updateModel(A,A.target.checked)}toggle(A){this.updateModel(A,!this.checked())}updateModel(A,B){this.modelValue=B?this.trueValue:this.falseValue,this.onModelChange(this.modelValue),this.onChange.emit({originalEvent:A,checked:this.modelValue})}onFocus(A){this.focused=!0}onBlur(A){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(B){return new(B||h)(o.Y36(o.sBO))};static \u0275cmp=o.Xpm({type:h,selectors:[["p-inputSwitch"]],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:[o._Bn([T])],decls:5,vars:16,consts:[[3,"ngClass","ngStyle","click"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"checked","disabled","change","focus","blur"],["cb",""],[1,"p-inputswitch-slider"]],template:function(B,U){if(1&B){const ce=o.EpF();o.TgZ(0,"div",0),o.NdJ("click",function(G){o.CHM(ce);const we=o.MAs(3);return o.KtG(U.onClick(G,we))}),o.TgZ(1,"div",1)(2,"input",2,3),o.NdJ("change",function(G){return U.onInputChange(G)})("focus",function(G){return U.onFocus(G)})("blur",function(G){return U.onBlur(G)}),o.qZA()(),o._UZ(4,"span",4),o.qZA()}2&B&&(o.Tol(U.styleClass),o.Q6J("ngClass",o.kEZ(12,z,U.checked(),U.disabled,U.focused))("ngStyle",U.style),o.xp6(2),o.Q6J("checked",U.checked())("disabled",U.disabled),o.uIk("aria-label",U.ariaLabel)("id",U.inputId)("name",U.name)("tabindex",U.tabindex)("aria-checked",U.checked())("aria-labelledby",U.ariaLabelledBy))},dependencies:[R.mk,R.PC],styles:['.p-inputswitch{position:relative;display:inline-block;-webkit-user-select:none;user-select:none}.p-inputswitch-slider{position:absolute;cursor:pointer;inset:0}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}\n'],encapsulation:2,changeDetection:0})}return h})(),N=(()=>{class h{static \u0275fac=function(B){return new(B||h)};static \u0275mod=o.oAB({type:h});static \u0275inj=o.cJS({imports:[R.ez]})}return h})()},3714:(ze,me,_)=>{_.d(me,{j:()=>T,o:()=>z});var o=_(2029),R=_(6814),V=_(6223);let z=(()=>{class H{el;ngModel;cd;filled;constructor(h,j,A){this.el=h,this.ngModel=j,this.cd=A}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(j){return new(j||H)(o.Y36(o.SBq),o.Y36(V.On,8),o.Y36(o.sBO))};static \u0275dir=o.lG2({type:H,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(j,A){1&j&&o.NdJ("input",function(U){return A.onInput(U)}),2&j&&o.ekj("p-filled",A.filled)}})}return H})(),T=(()=>{class H{static \u0275fac=function(j){return new(j||H)};static \u0275mod=o.oAB({type:H});static \u0275inj=o.cJS({imports:[R.ez]})}return H})()},1865:(ze,me,_)=>{_.d(me,{EU:()=>B,cc:()=>U});var o=_(2029),R=_(6814),V=_(6223);const z=["rb"],T=function(ce,le,G){return{"p-radiobutton-label":!0,"p-radiobutton-label-active":ce,"p-disabled":le,"p-radiobutton-label-focus":G}};function H(ce,le){if(1&ce){const G=o.EpF();o.TgZ(0,"label",4),o.NdJ("click",function(ge){o.CHM(G);const Ve=o.oxw();return o.KtG(Ve.select(ge))}),o._uU(1),o.qZA()}if(2&ce){const G=o.oxw(),we=o.MAs(3);o.Tol(G.labelStyleClass),o.Q6J("ngClass",o.kEZ(5,T,we.checked,G.disabled,G.focused)),o.uIk("for",G.inputId),o.xp6(1),o.Oqu(G.label)}}const N=function(ce,le,G){return{"p-radiobutton p-component":!0,"p-radiobutton-checked":ce,"p-radiobutton-disabled":le,"p-radiobutton-focused":G}},h=function(ce,le,G){return{"p-radiobutton-box":!0,"p-highlight":ce,"p-disabled":le,"p-focus":G}},j={provide:V.JU,useExisting:(0,o.Gpc)(()=>B),multi:!0};let A=(()=>{class ce{accessors=[];add(G,we){this.accessors.push([G,we])}remove(G){this.accessors=this.accessors.filter(we=>we[1]!==G)}select(G){this.accessors.forEach(we=>{this.isSameGroup(we,G)&&we[1]!==G&&we[1].writeValue(G.value)})}isSameGroup(G,we){return!!G[0].control&&G[0].control.root===we.control.control.root&&G[1].name===we.name}static \u0275fac=function(we){return new(we||ce)};static \u0275prov=o.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),B=(()=>{class ce{cd;injector;registry;value;formControlName;name;disabled;label;tabindex;inputId;ariaLabelledBy;ariaLabel;style;styleClass;labelStyleClass;onClick=new o.vpe;onFocus=new o.vpe;onBlur=new o.vpe;inputViewChild;onModelChange=()=>{};onModelTouched=()=>{};checked;focused;control;constructor(G,we,ge){this.cd=G,this.injector=we,this.registry=ge}ngOnInit(){this.control=this.injector.get(V.a5),this.checkName(),this.registry.add(this.control,this)}handleClick(G,we,ge){G.preventDefault(),!this.disabled&&(this.select(G),ge&&we.focus())}select(G){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:G,value:this.value}))}writeValue(G){this.checked=G==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(G){this.onModelChange=G}registerOnTouched(G){this.onModelTouched=G}setDisabledState(G){this.disabled=G,this.cd.markForCheck()}onInputFocus(G){this.focused=!0,this.onFocus.emit(G)}onInputBlur(G){this.focused=!1,this.onModelTouched(),this.onBlur.emit(G)}onChange(G){this.select(G)}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: <p-radioButton formControlName="food" name="food"></p-radioButton>\n        ')}static \u0275fac=function(we){return new(we||ce)(o.Y36(o.sBO),o.Y36(o.zs3),o.Y36(A))};static \u0275cmp=o.Xpm({type:ce,selectors:[["p-radioButton"]],viewQuery:function(we,ge){if(1&we&&o.Gf(z,5),2&we){let Ve;o.iGM(Ve=o.CRH())&&(ge.inputViewChild=Ve.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:[o._Bn([j])],decls:7,vars:23,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"checked","disabled","change","focus","blur"],["rb",""],[3,"ngClass","click"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"]],template:function(we,ge){if(1&we){const Ve=o.EpF();o.TgZ(0,"div",0)(1,"div",1)(2,"input",2,3),o.NdJ("change",function(Ge){return ge.onChange(Ge)})("focus",function(Ge){return ge.onInputFocus(Ge)})("blur",function(Ge){return ge.onInputBlur(Ge)}),o.qZA()(),o.TgZ(4,"div",4),o.NdJ("click",function(Ge){o.CHM(Ve);const se=o.MAs(3);return o.KtG(ge.handleClick(Ge,se,!0))}),o._UZ(5,"span",5),o.qZA()(),o.YNc(6,H,2,9,"label",6)}2&we&&(o.Tol(ge.styleClass),o.Q6J("ngStyle",ge.style)("ngClass",o.kEZ(15,N,ge.checked,ge.disabled,ge.focused)),o.xp6(2),o.Q6J("checked",ge.checked)("disabled",ge.disabled),o.uIk("id",ge.inputId)("name",ge.name)("value",ge.value)("tabindex",ge.tabindex)("aria-checked",ge.checked)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledBy),o.xp6(2),o.Q6J("ngClass",o.kEZ(19,h,ge.checked,ge.disabled,ge.focused)),o.xp6(2),o.Q6J("ngIf",ge.label))},dependencies:[R.mk,R.O5,R.PC],encapsulation:2,changeDetection:0})}return ce})(),U=(()=>{class ce{static \u0275fac=function(we){return new(we||ce)};static \u0275mod=o.oAB({type:ce});static \u0275inj=o.cJS({imports:[R.ez]})}return ce})()},4480:(ze,me,_)=>{_.d(me,{H:()=>T,T:()=>H});var o=_(6814),R=_(2029),V=_(2076),z=_(5219);let T=(()=>{class N{document;platformId;renderer;el;zone;config;constructor(j,A,B,U,ce,le){this.document=j,this.platformId=A,this.renderer=B,this.el=U,this.zone=ce,this.config=le}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,o.NF)(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(j){let A=this.getInk();if(!A||"none"===this.document.defaultView?.getComputedStyle(A,null).display)return;if(V.p.removeClass(A,"p-ink-active"),!V.p.getHeight(A)&&!V.p.getWidth(A)){let le=Math.max(V.p.getOuterWidth(this.el.nativeElement),V.p.getOuterHeight(this.el.nativeElement));A.style.height=le+"px",A.style.width=le+"px"}let B=V.p.getOffset(this.el.nativeElement),U=j.pageX-B.left+this.document.body.scrollTop-V.p.getWidth(A)/2,ce=j.pageY-B.top+this.document.body.scrollLeft-V.p.getHeight(A)/2;this.renderer.setStyle(A,"top",ce+"px"),this.renderer.setStyle(A,"left",U+"px"),V.p.addClass(A,"p-ink-active"),this.timeout=setTimeout(()=>{let le=this.getInk();le&&V.p.removeClass(le,"p-ink-active")},401)}getInk(){const j=this.el.nativeElement.children;for(let A=0;A<j.length;A++)if("string"==typeof j[A].className&&-1!==j[A].className.indexOf("p-ink"))return j[A];return null}resetInk(){let j=this.getInk();j&&V.p.removeClass(j,"p-ink-active")}onAnimationEnd(j){this.timeout&&clearTimeout(this.timeout),V.p.removeClass(j.currentTarget,"p-ink-active")}create(){let j=this.renderer.createElement("span");this.renderer.addClass(j,"p-ink"),this.renderer.appendChild(this.el.nativeElement,j),this.animationListener||(this.animationListener=this.renderer.listen(j,"animationend",this.onAnimationEnd.bind(this)))}remove(){let j=this.getInk();j&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,V.p.removeElement(j))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(A){return new(A||N)(R.Y36(o.K0),R.Y36(R.Lbi),R.Y36(R.Qsj),R.Y36(R.SBq),R.Y36(R.R0b),R.Y36(z.b4,8))};static \u0275dir=R.lG2({type:N,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]})}return N})(),H=(()=>{class N{static \u0275fac=function(A){return new(A||N)};static \u0275mod=R.oAB({type:N});static \u0275inj=R.cJS({imports:[o.ez]})}return N})()},9246:(ze,me,_)=>{_.d(me,{Y:()=>fe,l:()=>ee});var o=_(6825),R=_(6814),V=_(2029),z=_(5219),T=_(2076),H=_(7778),N=_(4480),h=_(2332);function j(J,We){1&J&&V.GkF(0)}function A(J,We){1&J&&V._UZ(0,"TimesIcon",11),2&J&&V.Q6J("styleClass","p-sidebar-close-icon")}function B(J,We){}function U(J,We){1&J&&V.YNc(0,B,0,0,"ng-template")}function ce(J,We){if(1&J&&(V.TgZ(0,"span",12),V.YNc(1,U,1,0,null,4),V.qZA()),2&J){const q=V.oxw(3);V.xp6(1),V.Q6J("ngTemplateOutlet",q.closeIconTemplate)}}function le(J,We){if(1&J){const q=V.EpF();V.TgZ(0,"button",8),V.NdJ("click",function(be){V.CHM(q);const ot=V.oxw(2);return V.KtG(ot.close(be))})("keydown.enter",function(be){V.CHM(q);const ot=V.oxw(2);return V.KtG(ot.close(be))}),V.YNc(1,A,1,1,"TimesIcon",9),V.YNc(2,ce,2,1,"span",10),V.qZA()}if(2&J){const q=V.oxw(2);V.uIk("aria-label",q.ariaCloseLabel),V.xp6(1),V.Q6J("ngIf",!q.closeIconTemplate),V.xp6(1),V.Q6J("ngIf",q.closeIconTemplate)}}function G(J,We){1&J&&V.GkF(0)}function we(J,We){1&J&&V.GkF(0)}const ge=function(J,We,q,Le,be,ot){return{"p-sidebar":!0,"p-sidebar-active":J,"p-sidebar-left":We,"p-sidebar-right":q,"p-sidebar-top":Le,"p-sidebar-bottom":be,"p-sidebar-full":ot}},Ve=function(J,We){return{transform:J,transition:We}},lt=function(J){return{value:"visible",params:J}};function Ge(J,We){if(1&J){const q=V.EpF();V.TgZ(0,"div",1,2),V.NdJ("@panelState.start",function(be){V.CHM(q);const ot=V.oxw();return V.KtG(ot.onAnimationStart(be))})("@panelState.done",function(be){V.CHM(q);const ot=V.oxw();return V.KtG(ot.onAnimationEnd(be))}),V.TgZ(2,"div",3),V.YNc(3,j,1,0,"ng-container",4),V.YNc(4,le,3,3,"button",5),V.qZA(),V.TgZ(5,"div",6),V.Hsn(6),V.YNc(7,G,1,0,"ng-container",4),V.qZA(),V.TgZ(8,"div",7),V.YNc(9,we,1,0,"ng-container",4),V.qZA()()}if(2&J){const q=V.oxw();V.Tol(q.styleClass),V.Q6J("ngClass",V.HTZ(10,ge,q.visible,"left"===q.position&&!q.fullScreen,"right"===q.position&&!q.fullScreen,"top"===q.position&&!q.fullScreen,"bottom"===q.position&&!q.fullScreen,q.fullScreen))("@panelState",V.VKq(20,lt,V.WLB(17,Ve,q.transformOptions,q.transitionOptions)))("ngStyle",q.style),V.uIk("aria-modal",q.modal),V.xp6(3),V.Q6J("ngTemplateOutlet",q.headerTemplate),V.xp6(1),V.Q6J("ngIf",q.showCloseIcon),V.xp6(3),V.Q6J("ngTemplateOutlet",q.contentTemplate),V.xp6(2),V.Q6J("ngTemplateOutlet",q.footerTemplate)}}const se=["*"],de=(0,o.oQ)([(0,o.oB)({transform:"{{transform}}",opacity:0}),(0,o.jt)("{{transition}}")]),He=(0,o.oQ)([(0,o.jt)("{{transition}}",(0,o.oB)({transform:"{{transform}}",opacity:0}))]);let fe=(()=>{class J{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(q){this._visible=q}get position(){return this._position}set position(q){switch(this._position=q,q){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(q){this._fullScreen=q,q&&(this.transformOptions="none")}templates;onShow=new V.vpe;onHide=new V.vpe;visibleChange=new V.vpe;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;constructor(q,Le,be,ot,ft){this.document=q,this.el=Le,this.renderer=be,this.cd=ot,this.config=ft}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(q=>{switch(q.getType()){case"content":default:this.contentTemplate=q.template;break;case"header":this.headerTemplate=q.template;break;case"footer":this.footerTemplate=q.template;break;case"closeicon":this.closeIconTemplate=q.template}})}show(){this.autoZIndex&&h.P9.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(q=!0){q&&this.onHide.emit({}),this.modal&&this.disableModality()}close(q){this.hide(),this.visibleChange.emit(!1),q.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),T.p.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",q=>{this.dismissible&&this.close(q)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&T.p.addClass(document.body,"p-overflow-hidden"))}disableModality(){this.mask&&(T.p.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&&T.p.removeClass(document.body,"p-overflow-hidden"),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(q){"visible"===q.toState&&(this.container=q.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(q){"void"===q.toState&&(this.hide(!1),h.P9.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):T.p.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",Le=>{27==Le.which&&parseInt(this.container.style.zIndex)===h.P9.get(this.container)&&this.close(Le)})}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&&h.P9.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(Le){return new(Le||J)(V.Y36(R.K0),V.Y36(V.SBq),V.Y36(V.Qsj),V.Y36(V.sBO),V.Y36(z.b4))};static \u0275cmp=V.Xpm({type:J,selectors:[["p-sidebar"]],contentQueries:function(Le,be,ot){if(1&Le&&V.Suo(ot,z.jx,4),2&Le){let ft;V.iGM(ft=V.CRH())&&(be.templates=ft)}},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:se,decls:1,vars:1,consts:[["role","complementary",3,"ngClass","ngStyle","class",4,"ngIf"],["role","complementary",3,"ngClass","ngStyle"],["container",""],[1,"p-sidebar-header"],[4,"ngTemplateOutlet"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[1,"p-sidebar-footer"],["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"]],template:function(Le,be){1&Le&&(V.F$t(),V.YNc(0,Ge,10,22,"div",0)),2&Le&&V.Q6J("ngIf",be.visible)},dependencies:function(){return[R.mk,R.O5,R.tP,R.PC,N.H,H.q]},styles:[".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,o.X$)("panelState",[(0,o.eR)("void => visible",[(0,o._7)(de)]),(0,o.eR)("visible => void",[(0,o._7)(He)])])]},changeDetection:0})}return J})(),ee=(()=>{class J{static \u0275fac=function(Le){return new(Le||J)};static \u0275mod=V.oAB({type:J});static \u0275inj=V.cJS({imports:[R.ez,N.T,z.m8,H.q,z.m8]})}return J})()},6263:(ze,me,_)=>{_.d(me,{V:()=>A,W:()=>B});var o=_(6814),R=_(2029),V=_(5219);function z(U,ce){if(1&U&&R._UZ(0,"span",5),2&U){const le=R.oxw(2);R.Q6J("ngClass",le.icon)}}function T(U,ce){if(1&U&&(R.ynx(0),R.YNc(1,z,1,1,"span",4),R.BQk()),2&U){const le=R.oxw();R.xp6(1),R.Q6J("ngIf",le.icon)}}function H(U,ce){}function N(U,ce){1&U&&R.YNc(0,H,0,0,"ng-template")}function h(U,ce){if(1&U&&(R.TgZ(0,"span",6),R.YNc(1,N,1,0,null,7),R.qZA()),2&U){const le=R.oxw();R.xp6(1),R.Q6J("ngTemplateOutlet",le.iconTemplate)}}const j=["*"];let A=(()=>{class U{style;styleClass;severity;value;icon;rounded;templates;iconTemplate;ngAfterContentInit(){this.templates?.forEach(le=>{"icon"===le.getType()&&(this.iconTemplate=le.template)})}containerClass(){return{"p-tag p-component":!0,"p-tag-info":"info"===this.severity,"p-tag-success":"success"===this.severity,"p-tag-warning":"warning"===this.severity,"p-tag-danger":"danger"===this.severity,"p-tag-rounded":this.rounded}}static \u0275fac=function(G){return new(G||U)};static \u0275cmp=R.Xpm({type:U,selectors:[["p-tag"]],contentQueries:function(G,we,ge){if(1&G&&R.Suo(ge,V.jx,4),2&G){let Ve;R.iGM(Ve=R.CRH())&&(we.templates=Ve)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",severity:"severity",value:"value",icon:"icon",rounded:"rounded"},ngContentSelectors:j,decls:6,vars:7,consts:[[3,"ngClass","ngStyle"],[4,"ngIf"],["class","p-tag-icon",4,"ngIf"],[1,"p-tag-value"],["class","p-tag-icon",3,"ngClass",4,"ngIf"],[1,"p-tag-icon",3,"ngClass"],[1,"p-tag-icon"],[4,"ngTemplateOutlet"]],template:function(G,we){1&G&&(R.F$t(),R.TgZ(0,"span",0),R.Hsn(1),R.YNc(2,T,2,1,"ng-container",1),R.YNc(3,h,2,1,"span",2),R.TgZ(4,"span",3),R._uU(5),R.qZA()()),2&G&&(R.Tol(we.styleClass),R.Q6J("ngClass",we.containerClass())("ngStyle",we.style),R.xp6(2),R.Q6J("ngIf",!we.iconTemplate),R.xp6(1),R.Q6J("ngIf",we.iconTemplate),R.xp6(2),R.Oqu(we.value))},dependencies:[o.mk,o.O5,o.tP,o.PC],styles:[".p-tag{display:inline-flex;align-items:center;justify-content:center}.p-tag-icon,.p-tag-value,.p-tag-icon.pi{line-height:1.5}.p-tag.p-tag-rounded{border-radius:10rem}\n"],encapsulation:2,changeDetection:0})}return U})(),B=(()=>{class U{static \u0275fac=function(G){return new(G||U)};static \u0275mod=R.oAB({type:U});static \u0275inj=R.cJS({imports:[o.ez,V.m8,V.m8]})}return U})()},3259:(ze,me,_)=>{_.d(me,{u:()=>H,z:()=>N});var o=_(6814),R=_(2029),V=_(2076),z=_(2332),T=_(5219);let H=(()=>{class h{platformId;el;zone;config;renderer;changeDetector;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;text;get disabled(){return this._disabled}set disabled(A){this._disabled=A,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};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(A,B,U,ce,le,G){this.platformId=A,this.el=B,this.zone=U,this.config=ce,this.renderer=le,this.changeDetector=G}ngAfterViewInit(){(0,o.NF)(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 A=this.getTarget(this.el.nativeElement);A.addEventListener("focus",this.focusListener),A.addEventListener("blur",this.blurListener)}})}ngOnChanges(A){A.tooltipPosition&&this.setOption({tooltipPosition:A.tooltipPosition.currentValue}),A.tooltipEvent&&this.setOption({tooltipEvent:A.tooltipEvent.currentValue}),A.appendTo&&this.setOption({appendTo:A.appendTo.currentValue}),A.positionStyle&&this.setOption({positionStyle:A.positionStyle.currentValue}),A.tooltipStyleClass&&this.setOption({tooltipStyleClass:A.tooltipStyleClass.currentValue}),A.tooltipZIndex&&this.setOption({tooltipZIndex:A.tooltipZIndex.currentValue}),A.escape&&this.setOption({escape:A.escape.currentValue}),A.showDelay&&this.setOption({showDelay:A.showDelay.currentValue}),A.hideDelay&&this.setOption({hideDelay:A.hideDelay.currentValue}),A.life&&this.setOption({life:A.life.currentValue}),A.positionTop&&this.setOption({positionTop:A.positionTop.currentValue}),A.positionLeft&&this.setOption({positionLeft:A.positionLeft.currentValue}),A.disabled&&this.setOption({disabled:A.disabled.currentValue}),A.text&&(this.setOption({tooltipLabel:A.text.currentValue}),this.active&&(A.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),A.autoHide&&this.setOption({autoHide:A.autoHide.currentValue}),A.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...A.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(A){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(A){(this.isAutoHide()||!(V.p.hasClass(A.target,"p-tooltip")||V.p.hasClass(A.target,"p-tooltip-arrow")||V.p.hasClass(A.target,"p-tooltip-text")||V.p.hasClass(A.relatedTarget,"p-tooltip")))&&this.deactivate()}onFocus(A){this.activate()}onBlur(A){this.deactivate()}onInputClick(A){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 A=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},A)}}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");let A=document.createElement("div");A.className="p-tooltip-arrow",this.container.appendChild(A),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")?V.p.appendChild(this.container,this.el.nativeElement):V.p.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()||this.bindContainerMouseleaveListener()}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",B=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),V.p.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?z.P9.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&z.P9.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}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 A=this.el.nativeElement.getBoundingClientRect();return{left:A.left+V.p.getWindowScrollLeft(),top:A.top+V.p.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let A=this.getHostOffset(),B=A.left+V.p.getOuterWidth(this.el.nativeElement),U=A.top+(V.p.getOuterHeight(this.el.nativeElement)-V.p.getOuterHeight(this.container))/2;this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let A=this.getHostOffset(),B=A.left-V.p.getOuterWidth(this.container),U=A.top+(V.p.getOuterHeight(this.el.nativeElement)-V.p.getOuterHeight(this.container))/2;this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let A=this.getHostOffset(),B=A.left+(V.p.getOuterWidth(this.el.nativeElement)-V.p.getOuterWidth(this.container))/2,U=A.top-V.p.getOuterHeight(this.container);this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let A=this.getHostOffset(),B=A.left+(V.p.getOuterWidth(this.el.nativeElement)-V.p.getOuterWidth(this.container))/2,U=A.top+V.p.getOuterHeight(this.el.nativeElement);this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}setOption(A){this._tooltipOptions={...this._tooltipOptions,...A}}getOption(A){return this._tooltipOptions[A]}getTarget(A){return V.p.hasClass(A,"p-inputwrapper")?V.p.findSingle(A,"input"):A}preAlign(A){this.container.style.left="-999px",this.container.style.top="-999px";let B="p-tooltip p-component p-tooltip-"+A;this.container.className=this.getOption("tooltipStyleClass")?B+" "+this.getOption("tooltipStyleClass"):B}isOutOfBounds(){let A=this.container.getBoundingClientRect(),B=A.top,U=A.left,ce=V.p.getOuterWidth(this.container),le=V.p.getOuterHeight(this.container),G=V.p.getViewport();return U+ce>G.width||U<0||B<0||B+le>G.height}onWindowResize(A){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 V.V(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 A=this.getTarget(this.el.nativeElement);A.removeEventListener("focus",this.focusListener),A.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):V.p.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&&z.P9.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(B){return new(B||h)(R.Y36(R.Lbi),R.Y36(R.SBq),R.Y36(R.R0b),R.Y36(T.b4),R.Y36(R.Qsj),R.Y36(R.sBO))};static \u0275dir=R.lG2({type:h,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(B,U){1&B&&R.NdJ("keydown.escape",function(le){return U.onPressEscape(le)},!1,R.evT)},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",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[R.TTD]})}return h})(),N=(()=>{class h{static \u0275fac=function(B){return new(B||h)};static \u0275mod=R.oAB({type:h});static \u0275inj=R.cJS({imports:[o.ez]})}return h})()},2332:(ze,me,_)=>{_.d(me,{P9:()=>T,Th:()=>V,gb:()=>o});class o{static equals(N,h,j){return j?this.resolveFieldData(N,j)===this.resolveFieldData(h,j):this.equalsByValue(N,h)}static equalsByValue(N,h){if(N===h)return!0;if(N&&h&&"object"==typeof N&&"object"==typeof h){var B,U,ce,j=Array.isArray(N),A=Array.isArray(h);if(j&&A){if((U=N.length)!=h.length)return!1;for(B=U;0!=B--;)if(!this.equalsByValue(N[B],h[B]))return!1;return!0}if(j!=A)return!1;var le=this.isDate(N),G=this.isDate(h);if(le!=G)return!1;if(le&&G)return N.getTime()==h.getTime();var we=N instanceof RegExp,ge=h instanceof RegExp;if(we!=ge)return!1;if(we&&ge)return N.toString()==h.toString();var Ve=Object.keys(N);if((U=Ve.length)!==Object.keys(h).length)return!1;for(B=U;0!=B--;)if(!Object.prototype.hasOwnProperty.call(h,Ve[B]))return!1;for(B=U;0!=B--;)if(!this.equalsByValue(N[ce=Ve[B]],h[ce]))return!1;return!0}return N!=N&&h!=h}static resolveFieldData(N,h){if(N&&h){if(this.isFunction(h))return h(N);if(-1==h.indexOf("."))return N[h];{let j=h.split("."),A=N;for(let B=0,U=j.length;B<U;++B){if(null==A)return null;A=A[j[B]]}return A}}return null}static isFunction(N){return!!(N&&N.constructor&&N.call&&N.apply)}static reorderArray(N,h,j){N&&h!==j&&(j>=N.length&&(j%=N.length,h%=N.length),N.splice(j,0,N.splice(h,1)[0]))}static insertIntoOrderedArray(N,h,j,A){if(j.length>0){let B=!1;for(let U=0;U<j.length;U++)if(this.findIndexInList(j[U],A)>h){j.splice(U,0,N),B=!0;break}B||j.push(N)}else j.push(N)}static findIndexInList(N,h){let j=-1;if(h)for(let A=0;A<h.length;A++)if(h[A]==N){j=A;break}return j}static contains(N,h){if(null!=N&&h&&h.length)for(let j of h)if(this.equals(N,j))return!0;return!1}static removeAccents(N){return N&&N.search(/[\xC0-\xFF]/g)>-1&&(N=N.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")),N}static isDate(N){return"[object Date]"===Object.prototype.toString.call(N)}static isEmpty(N){return null==N||""===N||Array.isArray(N)&&0===N.length||!this.isDate(N)&&"object"==typeof N&&0===Object.keys(N).length}static isNotEmpty(N){return!this.isEmpty(N)}static compare(N,h,j,A=1){let B=-1;const U=this.isEmpty(N),ce=this.isEmpty(h);return B=U&&ce?0:U?A:ce?-A:"string"==typeof N&&"string"==typeof h?N.localeCompare(h,j,{numeric:!0}):N<h?-1:N>h?1:0,B}static sort(N,h,j=1,A,B=1){return(1===B?j:B)*o.compare(N,h,A,j)}static merge(N,h){if(null!=N||null!=h)return null!=N&&"object"!=typeof N||null!=h&&"object"!=typeof h?null!=N&&"string"!=typeof N||null!=h&&"string"!=typeof h?h||N:[N||"",h||""].join(" "):{...N||{},...h||{}}}}var R=0;function V(){return"pr_id_"+ ++R}var T=function z(){let H=[];const A=B=>B&&parseInt(B.style.zIndex,10)||0;return{get:A,set:(B,U,ce)=>{U&&(U.style.zIndex=String(((B,U)=>{let ce=H.length>0?H[H.length-1]:{key:B,value:U},le=ce.value+(ce.key===B?0:U)+1;return H.push({key:B,value:le}),le})(B,ce)))},clear:B=>{B&&((B=>{H=H.filter(U=>U.value!==B)})(A(B)),B.style.zIndex="")},getCurrent:()=>H.length>0?H[H.length-1].value:0}}()},7582:(ze,me,_)=>{function T(K,oe,pe,ve){var Je,xe=arguments.length,Re=xe<3?oe:null===ve?ve=Object.getOwnPropertyDescriptor(oe,pe):ve;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Re=Reflect.decorate(K,oe,pe,ve);else for(var Ot=K.length-1;Ot>=0;Ot--)(Je=K[Ot])&&(Re=(xe<3?Je(Re):xe>3?Je(oe,pe,Re):Je(oe,pe))||Re);return xe>3&&Re&&Object.defineProperty(oe,pe,Re),Re}function U(K,oe,pe,ve){return new(pe||(pe=Promise))(function(Re,Je){function Ot(Jt){try{ut(ve.next(Jt))}catch(kt){Je(kt)}}function gn(Jt){try{ut(ve.throw(Jt))}catch(kt){Je(kt)}}function ut(Jt){Jt.done?Re(Jt.value):function xe(Re){return Re instanceof pe?Re:new pe(function(Je){Je(Re)})}(Jt.value).then(Ot,gn)}ut((ve=ve.apply(K,oe||[])).next())})}function se(K){return this instanceof se?(this.v=K,this):new se(K)}function de(K,oe,pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe,ve=pe.apply(K,oe||[]),Re=[];return xe={},Je("next"),Je("throw"),Je("return"),xe[Symbol.asyncIterator]=function(){return this},xe;function Je(Ue){ve[Ue]&&(xe[Ue]=function(sn){return new Promise(function(ht,hn){Re.push([Ue,sn,ht,hn])>1||Ot(Ue,sn)})})}function Ot(Ue,sn){try{!function gn(Ue){Ue.value instanceof se?Promise.resolve(Ue.value.v).then(ut,Jt):kt(Re[0][2],Ue)}(ve[Ue](sn))}catch(ht){kt(Re[0][3],ht)}}function ut(Ue){Ot("next",Ue)}function Jt(Ue){Ot("throw",Ue)}function kt(Ue,sn){Ue(sn),Re.shift(),Re.length&&Ot(Re[0][0],Re[0][1])}}function fe(K){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,oe=K[Symbol.asyncIterator];return oe?oe.call(K):(K=function we(K){var oe="function"==typeof Symbol&&Symbol.iterator,pe=oe&&K[oe],ve=0;if(pe)return pe.call(K);if(K&&"number"==typeof K.length)return{next:function(){return K&&ve>=K.length&&(K=void 0),{value:K&&K[ve++],done:!K}}};throw new TypeError(oe?"Object is not iterable.":"Symbol.iterator is not defined.")}(K),pe={},ve("next"),ve("throw"),ve("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function ve(Re){pe[Re]=K[Re]&&function(Je){return new Promise(function(Ot,gn){!function xe(Re,Je,Ot,gn){Promise.resolve(gn).then(function(ut){Re({value:ut,done:Ot})},Je)}(Ot,gn,(Je=K[Re](Je)).done,Je.value)})}}}_.d(me,{FC:()=>de,KL:()=>fe,gn:()=>T,mG:()=>U,qq:()=>se}),"function"==typeof SuppressedError&&SuppressedError},4147:ze=>{ze.exports={i8:"1.10.26"}}},ze=>{ze(ze.s=7550)}]);
\ No newline at end of file
+"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[179],{8814:(ze,me,_)=>{_.d(me,{s:()=>h});var o=_(2029),R=_(9862),V=_(8504),z=_(9397),T=_(7398),H=_(6306),N=_(6814);let h=(()=>{class j{constructor(B,U){this.document=B,this.http=U,this.productionURL="https://nfcreserve.hu",this.developmentURL="https://test.nfcreserve.hu",this.hostname=this.document.location.hostname,this.apiURL=(0,o.X6Q)()||"test.nfcreserve.hu"==this.hostname?`${this.developmentURL}/api`:`${this.productionURL}/api`}get(B){return this.http.get(`${this.apiURL}/${B}`,{observe:"response"}).pipe((0,z.b)(U=>this.refreshToken(U)),(0,T.U)(U=>U.body),(0,H.K)(this.handleError))}post(B,U){const le={observe:"response",responseType:"json"};return U instanceof FormData||(le.headers=new R.WM({"Content-Type":"application/json"})),this.http.post(`${this.apiURL}/${B}`,U,le).pipe((0,z.b)(G=>this.refreshToken(G)),(0,T.U)(G=>G.body),(0,H.K)(this.handleError))}put(B,U){return this.http.put(`${this.apiURL}/${B}`,U,{observe:"response"}).pipe((0,z.b)(ce=>this.refreshToken(ce)),(0,T.U)(ce=>ce.body),(0,H.K)(this.handleError))}delete(B){return this.http.delete(`${this.apiURL}/${B}`,{observe:"response"}).pipe((0,z.b)(U=>this.refreshToken(U)),(0,T.U)(U=>U.body),(0,H.K)(this.handleError))}refreshToken(B){const U=B.headers.get("Authorization");U&&localStorage.setItem("token",U)}handleError(B){return console.error("An error occurred:",B.message),(0,V._)("ERROR")}static#e=this.\u0275fac=function(U){return new(U||j)(o.LFG(N.K0),o.LFG(R.eN))};static#t=this.\u0275prov=o.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3763:(ze,me,_)=>{_.d(me,{$:()=>z});var o=_(5619),R=_(2029),V=_(8814);let z=(()=>{class T{constructor(N){this.apiService=N,this.apiURL=N.apiURL,this.data$=new o.X(null),this.message$=new o.X(null)}get logObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(N,h,j,A){let B="";""!==j&&(B=""!=j.sortField?`sort=${j.sortField}&order=${1===j.sortOrder?"ASC":"DESC"}`:"");const U=""!==B&&""!==A?B+"&"+A:""!==B&&""===A?B:""===B&&""!==A?A:"";this.apiService.get(`logs/get/${N}/${h}${""!==U?"?"+U:""}`).subscribe({next:le=>{le&&le.rows?.length&&(le.rows=le.rows.filter(G=>"updatelasttagusage"!==G.action_type),le.rows=le.rows.filter(G=>"questions"!==G.table_name),le.rows=le.rows.filter(G=>"answers"!==G.table_name),le.rows=le.rows.filter(G=>{if("update"==G.action_type){let we=JSON.parse(G.original_data),ge=JSON.parse(G.new_data);if(null==we.rfid&&null!==ge.rfid)return!1}return!0}),le.rows.forEach(G=>{if(G.expandable=this.isRowExpandable(G),G.status||(G.response_data=G.original_data),"{}"==G.new_data?G.new_data=null:"{}"==G.original_data?G.original_data=null:"{}"==G.response_data&&(G.response_data=null),200==G.status){let we=JSON.parse(G.response_data),ge=we?.message;if(ge){let Ve=JSON.parse(G.original_data);G.response_data="Success delete"==ge?`${Ve.lastName} ${Ve.firstName} t\xf6r\xf6lve`:"Update success"==ge?`${Ve.fullname} m\xf3dos\xedtva`:"Guest updated successfully"==ge?`${Ve.lastName} ${Ve.firstName} m\xf3dos\xedtva`:ge}}if(201==G.status){let we=JSON.parse(G.new_data),ge="";if("conference"==G.table_name)ge=`${we?.name} konferencia l\xe9trehozva`;else if("guest"==G.table_name)if(null==G.new_data){let lt=JSON.parse(JSON.stringify(JSON.parse(G.response_data))).guest||{};G.original_data=JSON.stringify(lt),ge=`${lt.lastName||"N\xe9v hi\xe1nyzik"} ${lt.firstName||"N\xe9v hi\xe1nyzik"} vend\xe9g regisztr\xe1lva`}else ge=`${we?.lastName} ${we?.firstName} vend\xe9g l\xe9trehozva`;else"users"==G.table_name&&(ge=`${we?.fullname} felhaszn\xe1l\xf3 l\xe9trehozva`);G.response_data=ge}if(400==G.status){let we=JSON.parse(G.response_data),ge=we.error,Ve=we.message;Ve&&(G.response_data=Ve),ge&&(G.original_data=JSON.stringify(ge))}})),this.data$.next(le)},error:le=>{this.message$.next(le)}})}getBySearch(N,h){let j="";""!==h&&(j=""!=h.sortField?`?sort=${h.sortField}&order=${1===h.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`logs/search/${N}${j}`).subscribe({next:A=>{this.data$.next(A)},error:A=>{this.message$.next(A)}})}getBySearchQuery(N){this.apiService.get(`logs/searchquery?${N}`).subscribe({next:h=>{this.data$.next(h)},error:h=>{this.message$.next(h)}})}create(N){N.userid=Number(localStorage.getItem("userid"))||1,N.user_fullname=localStorage.getItem("fullname")||"SYSTEM",N.user_email=localStorage.getItem("email")||"info@nfcreserve.com",this.apiService.post("logs/create/",N).subscribe({next:h=>{this.message$.next({severity:"success",summary:"Sikeres log r\xf6gz\xedt\xe9s",detail:"Log r\xf6gz\xedtve"})},error:h=>{this.message$.next(h)}})}update(N){this.apiService.put(`logs/update/${N.id}`,N).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres log m\xf3dos\xedt\xe1s",detail:"Log m\xf3dos\xedtva"})},error:h=>{this.message$.next(h)}})}delete(N){this.apiService.delete(`logs/delete/${N.id}`).subscribe({next:h=>{this.message$.next({severity:"success",summary:"Sikeres log t\xf6rl\xe9s",detail:"Log t\xf6r\xf6lve"})},error:h=>{this.message$.next(h)}})}bulkdelete(N){let h={ids:N.map(j=>j.id)};this.apiService.post("logs/bulkdelete",h).subscribe({next:j=>{this.message$.next({severity:"success",summary:"Sikeres log t\xf6rl\xe9s",detail:`${N.length} log t\xf6r\xf6lve`})},error:j=>{this.message$.next(j)}})}isRowExpandable(N){return!!N.action_type&&!["scanned code","assign tag","unassign","same code","tag duplicate","already received food","unknown device","import","login success","login failed","logout"].includes(N.action_type?.toLowerCase())}static#e=this.\u0275fac=function(h){return new(h||T)(R.LFG(V.s))};static#t=this.\u0275prov=R.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},6193:(ze,me,_)=>{_.d(me,{N:()=>N});var o=_(5619),R=_(2096),V=_(7398),z=_(2029),T=_(8814),H=_(1206);let N=(()=>{class h{constructor(A,B){this.apiService=A,this.userService=B,this.cache=[],this.apiURL=A.apiURL,this.data$=new o.X(null),this.message$=new o.X(null)}get roleObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(A,B,U,ce){let le="";""!==U&&(le=""!=U.sortField?`sort=${U.sortField}&order=${1===U.sortOrder?"ASC":"DESC"}`:"");const G=""!==le&&""!==ce?le+"&"+ce:""!==le&&""===ce?le:""===le&&""!==ce?ce:"";this.apiService.get(`userrole/get/${A}/${B}${""!==G?"?"+G:""}`).subscribe({next:ge=>{this.data$.next(ge)},error:ge=>{this.message$.next(ge)}})}getBySearch(A,B){let U="";""!==B&&(U=""!=B.sortField?`?sort=${B.sortField}&order=${1===B.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`userrole/search/${A}${U}`).subscribe({next:ce=>{this.data$.next(ce)},error:ce=>{this.message$.next(ce)}})}getBySearchQuery(A){this.apiService.get(`userrole/searchquery?${A}`).subscribe({next:B=>{this.data$.next(B)},error:B=>{this.message$.next(B)}})}create(A){this.apiService.post("userrole/create/",A).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r r\xf6gz\xedt\xe9s",detail:`${A.name} r\xf6gz\xedtve`})},error:B=>{this.message$.next(B)}})}update(A){this.apiService.put(`userrole/update/${A.id}`,A).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r m\xf3dos\xedt\xe1s",detail:`${A.name} m\xf3dos\xedtva`})},error:B=>{this.message$.next(B)}})}delete(A){this.apiService.delete(`userrole/delete/${A.id}`).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r t\xf6rl\xe9s",detail:`${A.name} t\xf6r\xf6lve`})},error:B=>{this.message$.next(B)}})}bulkdelete(A){let B={ids:A.map(U=>U.id)};this.apiService.post("userrole/bulkdelete",B).subscribe({next:U=>{this.message$.next({severity:"success",summary:"Sikeres szerepk\xf6r t\xf6rl\xe9s",detail:`${A.length} szerepk\xf6r t\xf6r\xf6lve`})},error:U=>{this.message$.next(U)}})}getRolesForSelector(){return this.cache.length>0?(0,R.of)(this.cache):(this.get(0,999,{sortField:"id",sortOrder:1},""),this.data$.asObservable().pipe((0,V.U)(A=>{A&&!this.userService.hasRole(["Super Admin"])&&(A.rows=A.rows.filter(U=>"Super Admin"!==U.name));const B=A?A.rows:[];return this.cache=B,B})))}getRoleName(A){const B=this.cache.find(U=>Number(U.id)===Number(A));return B&&B.name?B.name:""}getRoleStyleClass(A){let B=A,U="";return isNaN(Number(A))||(B=this.getRoleName(A)),U=B.trim()?.toLowerCase().replace(/\s+/g,""),`user-role-badge role-${U}`}fetchRoles(){return this.cache.length>0?(0,R.of)(this.cache):(this.get(0,999,{sortField:"id",sortOrder:1},""),this.data$.pipe((0,V.U)(A=>A&&A.rows?(this.userService.hasRole(["Super Admin"])||(A.rows=A.rows.filter(B=>"Super Admin"!==B.name)),this.cache=A.rows,A.rows):[])))}static#e=this.\u0275fac=function(B){return new(B||h)(z.LFG(T.s),z.LFG(H.K))};static#t=this.\u0275prov=z.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},1206:(ze,me,_)=>{_.d(me,{K:()=>N});var o=_(5619),R=_(2096),V=_(7398),z=_(6306),T=_(2029),H=_(8814);let N=(()=>{class h{constructor(A){this.apiService=A,this.userCache={};const B=localStorage.getItem("userrole")||"No Role";this.apiURL=A.apiURL,this.data$=new o.X(null),this.message$=new o.X(null),this.userRole$=new o.X(B)}get userObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(A,B,U,ce){let le="";""!==U&&(le=""!=U.sortField?`sort=${U.sortField}&order=${1===U.sortOrder?"ASC":"DESC"}`:"");const G=""!==le&&""!==ce?le+"&"+ce:""!==le&&""===ce?le:""===le&&""!==ce?ce:"";this.apiService.get(`users/get/${A}/${B}${""!==G?"?"+G:""}`).subscribe({next:ge=>{ge&&ge.rows&&(this.hasRole(["Super Admin"])||(ge.rows=ge.rows.filter(Ve=>1!==Ve.user_rolesid))),this.data$.next(ge)},error:ge=>{this.message$.next(ge)}})}getBySearch(A,B){let U="";""!==B&&(U=""!=B.sortField?`?sort=${B.sortField}&order=${1===B.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`users/search/${A}${U}`).subscribe({next:ce=>{this.data$.next(ce)},error:ce=>{this.message$.next(ce)}})}getBySearchQuery(A){this.apiService.get(`users/searchquery?${A}`).subscribe({next:B=>{this.data$.next(B)},error:B=>{this.message$.next(B)}})}create(A){this.apiService.post("users/create/",A).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 r\xf6gz\xedt\xe9s",detail:`${A.fullname} r\xf6gz\xedtve`})},error:B=>{this.message$.next(B)}})}update(A){this.apiService.put(`users/update/${A.id}`,A).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 m\xf3dos\xedt\xe1s",detail:`${A.fullname} m\xf3dos\xedtva`})},error:B=>{this.message$.next(B)}})}delete(A){this.apiService.delete(`users/delete/${A.id}`).subscribe({next:B=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 t\xf6rl\xe9s",detail:`${A.fullname} t\xf6r\xf6lve`})},error:B=>{this.message$.next(B)}})}bulkdelete(A){let B={ids:A.map(U=>U.id)};this.apiService.post("users/bulkdelete",B).subscribe({next:U=>{this.message$.next({severity:"success",summary:"Sikeres felhaszn\xe1l\xf3 t\xf6rl\xe9s",detail:`${A.length} felhaszn\xe1l\xf3 t\xf6r\xf6lve`})},error:U=>{this.message$.next(U)}})}getOwnData(){this.apiService.get("users/getowndata").subscribe({next:A=>{this.data$.next(A)},error:A=>{this.message$.next(A)}})}getUserRole(){return this.userRole$.asObservable()}updateUserRole(A){localStorage.setItem("userrole",A),this.userRole$.next(A)}getLoggedInUserId(){return Number(localStorage.getItem("userid"))}hasRole(A=[]){return this.getUserRole().pipe((0,V.U)(B=>0===A.length||A.includes(B)))}getUsersForSelector(A){return this.get(0,999,{sortField:"fullname",sortOrder:1},A?`user_rolesid=${A}`:""),this.data$.asObservable().pipe((0,V.U)(U=>U?U.rows:[]))}getUserById(A){return this.userCache[A]?(0,R.of)(this.userCache[A]):this.apiService.get(`users/getbyid/${A}`).pipe((0,V.U)(B=>{const U=B.users||null;return U&&(this.userCache[A]=U),U}),(0,z.K)(B=>(console.error(`Hiba a szervez\u0151 adatainak lek\xe9rdez\xe9sekor: ${B}`),(0,R.of)(null))))}static#e=this.\u0275fac=function(B){return new(B||h)(T.LFG(H.s))};static#t=this.\u0275prov=T.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},704:(ze,me,_)=>{_.d(me,{h:()=>V});var o=_(8645),R=_(2029);let V=(()=>{class z{constructor(){this.menuSource=new o.x,this.resetSource=new o.x,this.menuSource$=this.menuSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onMenuStateChange(H){this.menuSource.next(H)}reset(){this.resetSource.next(!0)}static#e=this.\u0275fac=function(N){return new(N||z)};static#t=this.\u0275prov=R.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},1567:(ze,me,_)=>{_.d(me,{h:()=>h});var o=_(6814),R=_(6223),V=_(9246),z=_(1865),T=_(707),H=_(5609),N=_(2029);let h=(()=>{class j{static#e=this.\u0275fac=function(U){return new(U||j)};static#t=this.\u0275mod=N.oAB({type:j});static#n=this.\u0275inj=N.cJS({imports:[o.ez,R.u5,V.l,z.cc,T.hJ,H.Iu]})}return j})()},3859:(ze,me,_)=>{_.d(me,{P:()=>V});var o=_(8645),R=_(2029);let V=(()=>{class z{constructor(){this.config={ripple:!1,inputStyle:"outlined",menuMode:"static",colorScheme:"light",theme:"indigo",scale:14,menuTheme:"colorScheme"},this.state={staticMenuDesktopInactive:!1,overlayMenuActive:!1,profileSidebarVisible:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,sidebarActive:!1,anchored:!1},this.configUpdate=new o.x,this.overlayOpen=new o.x,this.configUpdate$=this.configUpdate.asObservable(),this.overlayOpen$=this.overlayOpen.asObservable()}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.configUpdate.next(this.config)}static#e=this.\u0275fac=function(N){return new(N||z)};static#t=this.\u0275prov=R.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},7550:(ze,me,_)=>{var o=_(6593),R=_(6814),V=_(9862),z=_(9515),T=_(5061),H=_(1640),N=_(2181),h=_(2029),j=_(3859),A=_(1206);function B(C,u){if(1&C&&(h.TgZ(0,"li")(1,"a",6),h._UZ(2,"i"),h.TgZ(3,"span"),h._uU(4),h.qZA()()()),2&C){const l=h.oxw().$implicit;h.xp6(1),h.Q6J("routerLink",l.routerLink),h.xp6(1),h.Tol(l.icon),h.xp6(2),h.Oqu(l.label)}}function U(C,u){if(1&C&&(h.ynx(0),h.YNc(1,B,5,4,"li",5),h.ALo(2,"async"),h.BQk()),2&C){const l=u.$implicit;h.xp6(1),h.Q6J("ngIf",h.lcZ(2,1,l.show$))}}function ce(C,u){if(1&C&&(h.TgZ(0,"li",4),h.YNc(1,U,3,3,"ng-container",1),h.qZA()),2&C){const l=h.oxw().$implicit;h.Q6J("item",l)("root",!0),h.xp6(1),h.Q6J("ngForOf",l.items)}}function le(C,u){1&C&&h._UZ(0,"li",7)}function G(C,u){if(1&C&&(h.ynx(0),h.YNc(1,ce,2,3,"li",2),h.YNc(2,le,1,0,"li",3),h.BQk()),2&C){const l=u.$implicit;h.xp6(1),h.Q6J("ngIf",!l.separator),h.xp6(1),h.Q6J("ngIf",l.separator)}}let we=(()=>{class C{constructor(l){this.userService=l,this.model=[],this.userRoles=[]}ngOnInit(){this.userService.getUserRole().subscribe(l=>{this.userRoles=l,this.model=[{label:"",items:[{label:"Vez\xe9rl\u0151pult",icon:"pi pi-fw pi-home",routerLink:["/"]}]},{label:"Hotel",items:this.getFilteredItems([{label:"Konferencia",icon:"pi pi-fw pi-calendar",routerLink:["/conference"],requiredRoles:[]},{label:"Vend\xe9g",icon:"pi pi-fw pi-user",routerLink:["/guest"],requiredRoles:[]},{label:"Szoba",icon:"pi pi-fw pi-building",routerLink:["/room"],requiredRoles:["Super Admin","Nagy Admin"]},{label:"NFC c\xedmke",icon:"pi pi-fw pi-tags",routerLink:["/nfc-tag"],requiredRoles:["Super Admin","Nagy Admin"]}])},{label:"\xc9tterem",items:[{label:"\xc9trend",icon:"pi pi-fw pi-pencil",routerLink:["/diet"],requiredRoles:["Super Admin","Nagy Admin"]},{label:"Konyhanapt\xe1r",icon:"pi pi-fw pi-calendar",routerLink:["/kitchen-calendar"]}]},{label:"Rendszer",items:[{label:"Felhaszn\xe1l\xf3",icon:"pi pi-fw pi-users",routerLink:["/user"],requiredRoles:["Super Admin","Nagy Admin"]},{label:"Napl\xf3",icon:"pi pi-fw pi-list",routerLink:["/logs"],requiredRoles:["Super Admin","Nagy Admin"]}]}],(0,h.X6Q)()&&this.model.push({label:"",items:[{label:"\xc9telpult",icon:"pi pi-fw pi-tablet",routerLink:["/food-counter"]}]},{label:"P\xe9nz\xfcgyek",icon:"pi pi-fw pi-money",items:[{label:"\xc1rak",icon:"pi pi-fw pi-dollar",routerLink:["/auth/login"]},{label:"Elsz\xe1mol\xf3lap",icon:"pi pi-fw pi-money-bill",routerLink:["/auth/error"]},{label:"Foglal\xf3k",icon:"pi pi-fw pi-dollar",routerLink:["/auth/access"]},{label:"V\xe9gsz\xe1ml\xe1k",icon:"pi pi-fw pi-money-bill",routerLink:["/auth/access"]}]},{label:"Statisztik\xe1k",icon:"pi pi-fw pi-money",items:[{label:"Szob\xe1k kihaszn\xe1lts\xe1ga",icon:"pi pi-fw pi-chart-bar",routerLink:["/auth/login"]},{label:"\xc9trendek szerint",icon:"pi pi-fw pi-chart-bar",routerLink:["/auth/error"]},{label:"Koroszt\xe1ly szerint",icon:"pi pi-fw pi-chart-bar",routerLink:["/auth/access"]}]},{label:"Authentik\xe1ci\xf3",icon:"pi pi-fw pi-user",items:[{label:"Bejelentkez\xe9s",icon:"pi pi-fw pi-sign-in",routerLink:["/auth/login"]},{label:"Hiba",icon:"pi pi-fw pi-times-circle",routerLink:["/auth/error"]},{label:"Jogosults\xe1g megtagadva",icon:"pi pi-fw pi-lock",routerLink:["/auth/access"]}]},{label:"Komponensek",items:[{label:"Komponensek",icon:"pi pi-info",items:[{label:"Dashboards",icon:"pi pi-home",items:[{label:"E-Commerce",icon:"pi pi-fw pi-home",routerLink:["/"]},{label:"Banking",icon:"pi pi-fw pi-image",routerLink:["/dashboard-banking"]}]},{label:"Pages",icon:"pi pi-fw pi-briefcase",items:[{label:"Landing",icon:"pi pi-fw pi-globe",routerLink:["/landing"]},{label:"Auth",icon:"pi pi-fw pi-user",items:[{label:"Login",icon:"pi pi-fw pi-sign-in",routerLink:["/auth/login"]},{label:"Error",icon:"pi pi-fw pi-times-circle",routerLink:["/auth/error"]},{label:"Access Denied",icon:"pi pi-fw pi-lock",routerLink:["/auth/access"]},{label:"Register",icon:"pi pi-fw pi-user-plus",routerLink:["/auth/register"]},{label:"Forgot Password",icon:"pi pi-fw pi-question",routerLink:["/auth/forgotpassword"]},{label:"New Password",icon:"pi pi-fw pi-cog",routerLink:["/auth/newpassword"]},{label:"Verification",icon:"pi pi-fw pi-envelope",routerLink:["/auth/verification"]},{label:"Lock Screen",icon:"pi pi-fw pi-eye-slash",routerLink:["/auth/lockscreen"]}]},{label:"Crud",icon:"pi pi-fw pi-pencil",routerLink:["/pages/crud"]},{label:"Invoice",icon:"pi pi-fw pi-dollar",routerLink:["/pages/invoice"]},{label:"Help",icon:"pi pi-fw pi-question-circle",routerLink:["/pages/help"]},{label:"Not Found",icon:"pi pi-fw pi-exclamation-circle",routerLink:["/pages/notfound"]},{label:"Empty",icon:"pi pi-fw pi-circle-off",routerLink:["/pages/empty"]},{label:"FAQ",icon:"pi pi-fw pi-question",routerLink:["/pages/faq"]}]},{label:"User Management",icon:"pi pi-fw pi-user",items:[{label:"List",icon:"pi pi-fw pi-list",routerLink:["profile/list"]},{label:"Create",icon:"pi pi-fw pi-plus",routerLink:["profile/create"]}]},{label:"Hierarchy",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1.1",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1.1.1",icon:"pi pi-fw pi-align-left"},{label:"Submenu 1.1.2",icon:"pi pi-fw pi-align-left"},{label:"Submenu 1.1.3",icon:"pi pi-fw pi-align-left"}]},{label:"Submenu 1.2",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 1.2.1",icon:"pi pi-fw pi-align-left"}]}]},{label:"Submenu 2",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 2.1",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 2.1.1",icon:"pi pi-fw pi-align-left"},{label:"Submenu 2.1.2",icon:"pi pi-fw pi-align-left"}]},{label:"Submenu 2.2",icon:"pi pi-fw pi-align-left",items:[{label:"Submenu 2.2.1",icon:"pi pi-fw pi-align-left"}]}]}]},{label:"Start",icon:"pi pi-fw pi-download",items:[{label:"Documentation",icon:"pi pi-fw pi-info-circle",routerLink:["/documentation"]}]}]}]})})}getFilteredItems(l){return l.filter(v=>0===v.requiredRoles.length||v.requiredRoles.some(w=>this.userRoles.includes(w)))}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(A.K))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-menu"]],decls:2,vars:1,consts:[[1,"layout-menu"],[4,"ngFor","ngForOf"],["app-menuitem","",3,"item","root",4,"ngIf"],["class","menu-separator",4,"ngIf"],["app-menuitem","",3,"item","root"],[4,"ngIf"],[3,"routerLink"],[1,"menu-separator"]],template:function(v,w){1&v&&(h.TgZ(0,"ul",0),h.YNc(1,G,3,2,"ng-container",1),h.qZA()),2&v&&(h.xp6(1),h.Q6J("ngForOf",w.model))},encapsulation:2})}return C})();const ge=["menuContainer"],Ve=function(){return["/"]};let lt=(()=>{class C{constructor(l,v){this.layoutService=l,this.el=v,this.timeout=null,this.version="v"+localStorage.getItem("APP_VERSION")}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(v){return new(v||C)(h.Y36(j.P),h.Y36(h.SBq))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-sidebar"]],viewQuery:function(v,w){if(1&v&&h.Gf(ge,5),2&v){let F;h.iGM(F=h.CRH())&&(w.menuContainer=F.first)}},decls:12,vars:3,consts:[[1,"layout-sidebar",3,"mouseenter","mouseleave"],[1,"sidebar-header","pb-0"],[1,"app-logo",3,"routerLink"],["xmlns","http://www.w3.org/2000/svg","width","140","height","22","viewBox","0 0 140 22",1,"app-logo-normal"],["x","5","y","18","font-family","Poppins","font-size","22","fill","#6366f1"],["type","button",1,"layout-sidebar-anchor","p-link","z-2","mb-2",3,"click"],[1,"text-center","text-sm","text-indigo-500"],[1,"layout-menu-container"],["menuContainer",""]],template:function(v,w){1&v&&(h.TgZ(0,"div",0),h.NdJ("mouseenter",function(){return w.onMouseEnter()})("mouseleave",function(){return w.onMouseLeave()}),h.TgZ(1,"div",1)(2,"a",2),h.O4$(),h.TgZ(3,"svg",3)(4,"text",4),h._uU(5,"NFC Reserve"),h.qZA()()(),h.kcU(),h.TgZ(6,"button",5),h.NdJ("click",function(){return w.anchor()}),h.qZA()(),h.TgZ(7,"div",6),h._uU(8),h.qZA(),h.TgZ(9,"div",7,8),h._UZ(11,"app-menu"),h.qZA()()),2&v&&(h.xp6(2),h.Q6J("routerLink",h.DdM(2,Ve)),h.xp6(6),h.hij(" ",w.version," "))},dependencies:[H.rH,we],encapsulation:2})}return C})();var Ge=_(3714),se=_(707),de=_(5619);function He(C,u){1&C&&(h.TgZ(0,"li",3),h._uU(1," / "),h.qZA())}function fe(C,u){if(1&C&&(h.TgZ(0,"li"),h._uU(1),h.qZA(),h.YNc(2,He,2,0,"li",2)),2&C){const l=u.$implicit,v=u.last;h.xp6(1),h.Oqu(l.label),h.xp6(1),h.Q6J("ngIf",!v)}}let ee=(()=>{class C{constructor(l){this.router=l,this._breadcrumbs$=new de.X([]),this.breadcrumbs$=this._breadcrumbs$.asObservable(),this.router.events.pipe((0,N.h)(v=>v instanceof H.m2)).subscribe(v=>{const F=[];this.addBreadcrumb(this.router.routerState.snapshot.root,[],F),this._breadcrumbs$.next(F)})}addBreadcrumb(l,v,w){const F=v.concat(l.url.map(_e=>_e.path)),X=l.data.breadcrumb;X&&X!==(l.parent&&l.parent.data?l.parent.data.breadcrumb:null)&&w.push({label:l.data.breadcrumb,url:"/"+F.join("/")}),l.firstChild&&this.addBreadcrumb(l.firstChild,F,w)}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(H.F0))};static#t=this.\u0275cmp=h.Xpm({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(v,w){1&v&&(h.TgZ(0,"nav",0)(1,"ol"),h.YNc(2,fe,3,2,"ng-template",1),h.ALo(3,"async"),h.qZA()()),2&v&&(h.xp6(2),h.Q6J("ngForOf",h.lcZ(3,1,w.breadcrumbs$)))},dependencies:[R.sg,R.O5,R.Ov],encapsulation:2})}return C})();const J=["menubutton"];let We=(()=>{class C{constructor(l){this.layoutService=l}onMenuButtonClick(){this.layoutService.onMenuToggle()}onProfileButtonClick(){this.layoutService.showProfileSidebar()}onConfigButtonClick(){this.layoutService.showConfigSidebar()}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(j.P))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-topbar"]],viewQuery:function(v,w){if(1&v&&h.Gf(J,5),2&v){let F;h.iGM(F=h.CRH())&&(w.menuButton=F.first)}},decls:17,vars:0,consts:[[1,"layout-topbar"],[1,"topbar-start"],["type","button",1,"topbar-menubutton","p-link","p-trigger",3,"click"],["menubutton",""],[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"],["id","main-search","type","text","pInputText","","placeholder","Keres\xe9s",1,"w-12rem","sm:w-full"],[1,"ml-3"],["pButton","","type","button","icon","pi pi-cog",1,"p-button-text","p-button-secondary","p-button-rounded","flex-shrink-0",3,"click"],[1,"topbar-profile"],["type","button",1,"p-link",3,"click"],["src","assets/layout/images/avatar.png","alt","Profile"]],template:function(v,w){1&v&&(h.TgZ(0,"div",0)(1,"div",1)(2,"button",2,3),h.NdJ("click",function(){return w.onMenuButtonClick()}),h._UZ(4,"i",4),h.qZA(),h._UZ(5,"app-breadcrumb",5),h.qZA(),h.TgZ(6,"div",6)(7,"ul",7)(8,"li",8)(9,"span",9),h._UZ(10,"i",10)(11,"input",11),h.qZA()(),h.TgZ(12,"li",12)(13,"button",13),h.NdJ("click",function(){return w.onConfigButtonClick()}),h.qZA()(),h.TgZ(14,"li",14)(15,"button",15),h.NdJ("click",function(){return w.onProfileButtonClick()}),h._UZ(16,"img",16),h.qZA()()()()())},dependencies:[Ge.o,se.Hq,ee],encapsulation:2})}return C})();var q=_(704),Le=_(6193),be=_(3763),ot=_(9246),ft=_(5219);function ke(C,u){if(1&C&&(h.TgZ(0,"span",1),h._uU(1),h.qZA()),2&C){const l=h.oxw();h.Tol(l.styleClass),h.Q6J("ngClass",l.containerClass())("ngStyle",l.style),h.xp6(1),h.Oqu(l.value)}}let re=(()=>{class C{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(v){return new(v||C)};static \u0275cmp=h.Xpm({type:C,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(v,w){1&v&&h.YNc(0,ke,2,5,"span",0),2&v&&h.Q6J("ngIf",!w.badgeDisabled)},dependencies:[R.mk,R.O5,R.PC],styles:[".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 C})(),K=(()=>{class C{static \u0275fac=function(v){return new(v||C)};static \u0275mod=h.oAB({type:C});static \u0275inj=h.cJS({imports:[R.ez,ft.m8]})}return C})(),oe=(()=>{class C{constructor(l,v,w,F){this.router=l,this.layoutService=v,this.roleService=w,this.logService=F,this.fullname=localStorage.getItem("fullname")||"",this.userrole=localStorage.getItem("userrole")||""}get visible(){return this.layoutService.state.profileSidebarVisible}set visible(l){this.layoutService.state.profileSidebarVisible=l}logout(){this.logService.create({action_type:"logout",table_name:"users",original_data:`${localStorage.getItem("email")} logged out`}),localStorage.removeItem("email"),localStorage.removeItem("fullname"),localStorage.removeItem("phone"),localStorage.removeItem("token"),localStorage.removeItem("user_rolesid"),localStorage.removeItem("userid"),localStorage.removeItem("userrole"),this.router.navigate(["/auth/login"])}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(H.F0),h.Y36(j.P),h.Y36(Le.N),h.Y36(be.$))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-profilemenu"]],decls:114,vars:6,consts:[["position","right","styleClass","layout-profile-sidebar w-full sm:w-25rem",3,"visible","transitionOptions","blockScroll","visibleChange"],[1,"flex","flex-column","mx-auto","md:mx-0"],[1,"mb-2","font-semibold"],[1,"text-color-secondary","font-medium","mb-5"],[3,"ngClass"],[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",3,"click"],[1,"pi","pi-user","text-xl","text-primary"],[1,"ml-3"],[1,"text-color-secondary","m-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-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/layout/images/avatar.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","3",1,"ml-auto"],["value","1",1,"ml-auto"],["value","2",1,"ml-auto"]],template:function(v,w){1&v&&(h.TgZ(0,"p-sidebar",0),h.NdJ("visibleChange",function(X){return w.visible=X}),h.TgZ(1,"div",1)(2,"span",2),h._uU(3,"\xdcdv\xf6z\xf6lj\xfck"),h.qZA(),h.TgZ(4,"span",3),h._uU(5),h.TgZ(6,"span",4),h._uU(7),h.qZA()(),h.TgZ(8,"ul",5)(9,"li")(10,"a",6),h.NdJ("click",function(){return w.router.navigate(["/profile"])}),h.TgZ(11,"span"),h._UZ(12,"i",7),h.qZA(),h.TgZ(13,"div",8)(14,"span",2),h._uU(15,"Profil"),h.qZA(),h.TgZ(16,"p",9),h._uU(17,"Saj\xe1t adatok karbantart\xe1sa"),h.qZA()()()(),h.TgZ(18,"li")(19,"a",10)(20,"span"),h._UZ(21,"i",7),h.qZA(),h.TgZ(22,"div",8)(23,"span",2),h._uU(24,"Sz\xe1ml\xe1z\xe1s"),h.qZA(),h.TgZ(25,"p",9),h._uU(26,"P\xe9nz\xfcgyek kezel\xe9se"),h.qZA()()()(),h.TgZ(27,"li")(28,"a",10)(29,"span"),h._UZ(30,"i",11),h.qZA(),h.TgZ(31,"div",8)(32,"span",2),h._uU(33,"Be\xe1ll\xedt\xe1sok"),h.qZA(),h.TgZ(34,"p",9),h._uU(35,"Rendszer be\xe1ll\xedt\xe1sai"),h.qZA()()()(),h.TgZ(36,"li")(37,"a",6),h.NdJ("click",function(){return w.logout()}),h.TgZ(38,"span"),h._UZ(39,"i",12),h.qZA(),h.TgZ(40,"div",8)(41,"span",2),h._uU(42,"Kijelentkez\xe9s"),h.qZA(),h.TgZ(43,"p",9),h._uU(44,"Munkamenet bez\xe1r\xe1sa"),h.qZA()()()()()(),h.TgZ(45,"div",13)(46,"span",2),h._uU(47,"\xc9rtes\xedt\xe9sek"),h.qZA(),h.TgZ(48,"span",3),h._uU(49,"\xd6nnek 3 \xfaj \xe9rte\xedt\xe9se van"),h.qZA(),h.TgZ(50,"ul",5)(51,"li")(52,"a",10)(53,"span"),h._UZ(54,"i",14),h.qZA(),h.TgZ(55,"div",8)(56,"span",2),h._uU(57,"\xdczenet \xe9rkezett"),h.qZA(),h.TgZ(58,"p",9),h._uU(59,"5 perccel ezel\u0151tt"),h.qZA()()()(),h.TgZ(60,"li")(61,"a",10)(62,"span"),h._UZ(63,"i",15),h.qZA(),h.TgZ(64,"div",8)(65,"span",2),h._uU(66,"Egy foglal\xe1st t\xf6r\xf6ltek"),h.qZA(),h.TgZ(67,"p",9),h._uU(68,"15 perccel ezel\u0151tt"),h.qZA()()()(),h.TgZ(69,"li")(70,"a",10)(71,"span"),h._UZ(72,"i",16),h.qZA(),h.TgZ(73,"div",8)(74,"span",2),h._uU(75,"Konferenci\xe1t friss\xedtettek"),h.qZA(),h.TgZ(76,"p",9),h._uU(77,"3 \xf3r\xe1ja"),h.qZA()()()()()(),h.TgZ(78,"div",13)(79,"span",2),h._uU(80,"\xdczenetek"),h.qZA(),h.TgZ(81,"span",3),h._uU(82,"\xdaj \xfczenetek \xe9rkeztek"),h.qZA(),h.TgZ(83,"ul",5)(84,"li")(85,"a",10)(86,"span"),h._UZ(87,"img",17),h.qZA(),h.TgZ(88,"div",8)(89,"span",2),h._uU(90,"G\xe1bris Bal\xe1zs"),h.qZA(),h.TgZ(91,"p",9),h._uU(92,"10 perccel ezel\u0151tt"),h.qZA()(),h._UZ(93,"p-badge",18),h.qZA()(),h.TgZ(94,"li")(95,"a",10)(96,"span"),h._UZ(97,"img",17),h.qZA(),h.TgZ(98,"div",8)(99,"span",2),h._uU(100,"Schmalcz Andr\xe1s"),h.qZA(),h.TgZ(101,"p",9),h._uU(102,"15 perccel ezel\u0151tt"),h.qZA()(),h._UZ(103,"p-badge",19),h.qZA()(),h.TgZ(104,"li")(105,"a",10)(106,"span"),h._UZ(107,"img",17),h.qZA(),h.TgZ(108,"div",8)(109,"span",2),h._uU(110,"Luk\xe1cs M\xe1th\xe9"),h.qZA(),h.TgZ(111,"p",9),h._uU(112,"3 \xf3r\xe1ja"),h.qZA()(),h._UZ(113,"p-badge",20),h.qZA()()()()()),2&v&&(h.Q6J("visible",w.visible)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("blockScroll",!0),h.xp6(5),h.hij(" ",w.fullname," "),h.xp6(1),h.Q6J("ngClass",w.roleService.getRoleStyleClass(w.userrole)),h.xp6(1),h.hij(" ",w.userrole," "))},dependencies:[R.mk,ot.Y,re],encapsulation:2})}return C})(),pe=(()=>{class C{constructor(l,v,w,F){this.menuService=l,this.layoutService=v,this.renderer=w,this.router=F,this.overlayMenuOpenSubscription=this.layoutService.overlayOpen$.subscribe(()=>{this.menuOutsideClickListener||(this.menuOutsideClickListener=this.renderer.listen("document","click",X=>{!(this.appSidebar.el.nativeElement.isSameNode(X.target)||this.appSidebar.el.nativeElement.contains(X.target)||this.appTopbar.menuButton.nativeElement.isSameNode(X.target)||this.appTopbar.menuButton.nativeElement.contains(X.target))&&this.hideMenu()})),(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&!this.menuScrollListener&&(this.menuScrollListener=this.renderer.listen(this.appSidebar.menuContainer.nativeElement,"scroll",X=>{this.layoutService.isDesktop()&&this.hideMenu()})),this.layoutService.state.staticMenuMobileActive&&this.blockBodyScroll()}),this.router.events.pipe((0,N.h)(X=>X instanceof H.m2)).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(v){return new(v||C)(h.Y36(q.h),h.Y36(j.P),h.Y36(h.Qsj),h.Y36(H.F0))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["app-layout"]],viewQuery:function(v,w){if(1&v&&(h.Gf(lt,5),h.Gf(We,5)),2&v){let F;h.iGM(F=h.CRH())&&(w.appSidebar=F.first),h.iGM(F=h.CRH())&&(w.appTopbar=F.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(v,w){1&v&&(h.TgZ(0,"div",0),h._UZ(1,"app-sidebar"),h.TgZ(2,"div",1),h._UZ(3,"app-topbar")(4,"app-breadcrumb",2),h.TgZ(5,"div",3),h._UZ(6,"router-outlet"),h.qZA()(),h._UZ(7,"app-profilemenu")(8,"div",4),h.qZA()),2&v&&h.Q6J("ngClass",w.containerClass)},dependencies:[R.mk,H.lC,ee,lt,We,oe],encapsulation:2})}return C})();var ve=_(2096),xe=_(7398),Re=_(6306);const Je=(C,u)=>{const l=(0,h.f3M)(H.F0),v=(0,h.f3M)(A.K);if(!localStorage.getItem("token"))return l.navigate(["/auth/login"]),(0,ve.of)(!1);const F=C.data.requiredRoles||[];return 0===F.length?(0,ve.of)(!0):v.hasRole(F).pipe((0,xe.U)(X=>!!X||(l.navigate(["/auth/access"]),!1)),(0,Re.K)(()=>(l.navigate(["/auth/login"]),(0,ve.of)(!1))))},Ot={anchorScrolling:"enabled",useHash:!0},gn=[{path:"",component:pe,children:[{path:"",loadChildren:()=>_.e(3037).then(_.bind(_,3037)).then(C=>C.DashboardsModule),canActivate:[Je]},{path:"nfc-tag",data:{breadcrumb:"NFC c\xedmke",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7794),_.e(8250),_.e(315),_.e(8592),_.e(3401)]).then(_.bind(_,3401)).then(C=>C.NFCTagModule),canActivate:[Je]},{path:"user",data:{breadcrumb:"Felhaszn\xe1l\xf3",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7853),_.e(7794),_.e(8592),_.e(392)]).then(_.bind(_,392)).then(C=>C.UserModule),canActivate:[Je]},{path:"pages",data:{breadcrumb:"Pages"},loadChildren:()=>_.e(6426).then(_.bind(_,6426)).then(C=>C.PagesModule),canActivate:[Je]},{path:"conference",data:{breadcrumb:"Konferencia"},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7794),_.e(8250),_.e(8359),_.e(2448),_.e(8592),_.e(5780)]).then(_.bind(_,5780)).then(C=>C.ConferenceModule),canActivate:[Je]},{path:"profile",data:{breadcrumb:"Profil"},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(4104),_.e(2610),_.e(7853),_.e(8592),_.e(3221)]).then(_.bind(_,3221)).then(C=>C.ProfileModule),canActivate:[Je]},{path:"documentation",data:{breadcrumb:"Documentation"},loadChildren:()=>_.e(6942).then(_.bind(_,6942)).then(C=>C.DocumentationModule),canActivate:[Je]},{path:"logs",data:{breadcrumb:"Napl\xf3",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(8592),_.e(6904)]).then(_.bind(_,6904)).then(C=>C.LogsModule),canActivate:[Je]},{path:"guest",data:{breadcrumb:"Vend\xe9g"},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(7794),_.e(8250),_.e(8359),_.e(4908),_.e(8592),_.e(3487)]).then(_.bind(_,3487)).then(C=>C.GuestModule),canActivate:[Je]},{path:"room",data:{breadcrumb:"Szoba",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(2448),_.e(8592),_.e(7883)]).then(_.bind(_,3227)).then(C=>C.RoomModule),canActivate:[Je]},{path:"diet",data:{breadcrumb:"\xc9trend",requiredRoles:["Super Admin","Nagy Admin"]},loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(2285),_.e(4133),_.e(315),_.e(6115)]).then(_.bind(_,6115)).then(C=>C.DietModule),canActivate:[Je]}]},{path:"auth",data:{breadcrumb:"Auth"},loadChildren:()=>Promise.all([_.e(6676),_.e(2043)]).then(_.bind(_,2043)).then(C=>C.AuthModule)},{path:"conference-form/:formUrl",loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(4104),_.e(2285),_.e(4133),_.e(2610),_.e(4908),_.e(8592),_.e(7799)]).then(_.bind(_,7799)).then(C=>C.ConferenceFormModule)},{path:"food-counter",loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(6676),_.e(4104),_.e(4133),_.e(2610),_.e(8592),_.e(750)]).then(_.bind(_,750)).then(C=>C.FoodCounterModule)},{path:"kitchen-calendar",loadChildren:()=>Promise.all([_.e(3559),_.e(2160),_.e(3212),_.e(9664),_.e(6676),_.e(4104),_.e(3223)]).then(_.bind(_,3223)).then(C=>C.KitchenCalendarModule)},{path:"landing",loadChildren:()=>Promise.all([_.e(1111),_.e(8592),_.e(3798)]).then(_.bind(_,3798)).then(C=>C.LandingModule)},{path:"notfound",loadChildren:()=>_.e(2827).then(_.bind(_,2827)).then(C=>C.NotfoundModule)},{path:"**",redirectTo:"/notfound"}];let ut=(()=>{class C{static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C});static#n=this.\u0275inj=h.cJS({imports:[H.Bz.forRoot(gn,Ot),H.Bz]})}return C})();var Jt=_(7582),kt=_(4279);let Ue=class tf{constructor(u,l){this.primengConfig=u,this.translateService=l,l.setDefaultLang("hu"),l.use("hu")}ngOnInit(){const u=_(4147).i8;u&&localStorage.setItem("APP_VERSION",u),this.primengConfig.ripple=!0,this.translateService.setDefaultLang("hu"),this.primengConfig.setTranslation({startsWith:"Kezd\u0151dik",contains:"Tartalmazza",notContains:"Nem tartalmazza",endsWith:"V\xe9gz\u0151dik",equals:"Egyenl\u0151",notEquals:"Nem egyenl\u0151",noFilter:"Nincs sz\u0171r\u0151",lt:"Kevesebb, mint",lte:"Kevesebb vagy egyenl\u0151",gt:"Nagyobb, mint",gte:"Nagyobb vagy egyenl\u0151",is:"Az",isNot:"Nem az",before:"El\u0151tt",after:"Ut\xe1n",dateIs:"A d\xe1tum",dateIsNot:"A d\xe1tum nem",dateBefore:"A d\xe1tum el\u0151tti",dateAfter:"A d\xe1tum ut\xe1ni",clear:"T\xf6rl\xe9s",apply:"Alkalmaz",matchAll:"Mindet illeszt",matchAny:"B\xe1rmelyiket illeszt",addRule:"Szab\xe1ly hozz\xe1ad\xe1sa",removeRule:"Szab\xe1ly elt\xe1vol\xedt\xe1sa",accept:"Igen",reject:"Nem",choose:"V\xe1laszt",upload:"Felt\xf6lt",cancel:"M\xe9gse",dayNames:["Vas\xe1rnap","H\xe9tf\u0151","Kedd","Szerda","Cs\xfct\xf6rt\xf6k","P\xe9ntek","Szombat"],dayNamesShort:["Vas","H\xe9t","Ked","Sze","Cs\xfc","P\xe9n","Szo"],dayNamesMin:["Va","H\xe9","Ke","Sz","Cs","P\xe9","Sz"],monthNames:["Janu\xe1r","Febru\xe1r","M\xe1rcius","\xc1prilis","M\xe1jus","J\xfanius","J\xfalius","Augusztus","Szeptember","Okt\xf3ber","November","December"],monthNamesShort:["Jan","Feb","M\xe1r","\xc1pr","M\xe1j","J\xfan","J\xfal","Aug","Sze","Okt","Nov","Dec"],dateFormat:"yy.mm.dd",firstDayOfWeek:1,today:"Ma",weekHeader:"Wk",weak:"Gyenge",medium:"K\xf6zepes",strong:"Er\u0151s",passwordPrompt:"Adja meg a jelsz\xf3t",emptyMessage:"Nincs tal\xe1lat",emptyFilterMessage:"Nincs tal\xe1lat"})}translate(u){this.translateService.use(u),this.translateService.get("primeng").subscribe(l=>this.primengConfig.setTranslation(l))}ngOnDestroy(){}static#e=this.\u0275fac=function(l){return new(l||tf)(h.Y36(ft.b4),h.Y36(z.sK))};static#t=this.\u0275cmp=h.Xpm({type:tf,selectors:[["app-root"]],decls:1,vars:0,template:function(l,v){1&l&&h._UZ(0,"router-outlet")},dependencies:[H.lC],encapsulation:2})};Ue=(0,Jt.gn)([(0,kt.k)()],Ue);var sn=_(6223),ht=_(6825);function Ht(C){return new h.vHH(3e3,!1)}function Ke(C){switch(C.length){case 0:return new ht.ZN;case 1:return C[0];default:return new ht.ZE(C)}}function st(C,u,l=new Map,v=new Map){const w=[],F=[];let X=-1,ie=null;if(u.forEach(_e=>{const Te=_e.get("offset"),Xe=Te==X,Qe=Xe&&ie||new Map;_e.forEach(($t,Nt)=>{let pt=Nt,Be=$t;if("offset"!==Nt)switch(pt=C.normalizePropertyName(pt,w),Be){case ht.k1:Be=l.get(Nt);break;case ht.l3:Be=v.get(Nt);break;default:Be=C.normalizeStyleValue(Nt,pt,Be,w)}Qe.set(pt,Be)}),Xe||F.push(Qe),ie=Qe,X=Te}),w.length)throw function Fn(C){return new h.vHH(3502,!1)}();return F}function Ut(C,u,l,v){switch(u){case"start":C.onStart(()=>v(l&&wt(l,"start",C)));break;case"done":C.onDone(()=>v(l&&wt(l,"done",C)));break;case"destroy":C.onDestroy(()=>v(l&&wt(l,"destroy",C)))}}function wt(C,u,l){const F=on(C.element,C.triggerName,C.fromState,C.toState,u||C.phaseName,l.totalTime??C.totalTime,!!l.disabled),X=C._data;return null!=X&&(F._data=X),F}function on(C,u,l,v,w="",F=0,X){return{element:C,triggerName:u,fromState:l,toState:v,phaseName:w,totalTime:F,disabled:!!X}}function Bt(C,u,l){let v=C.get(u);return v||C.set(u,v=l),v}function _i(C){const u=C.indexOf(":");return[C.substring(1,u),C.slice(u+1)]}const he=(()=>typeof document>"u"?null:document.documentElement)();function te(C){const u=C.parentNode||C.host||null;return u===he?null:u}let Ae=null,$e=!1;function Ct(C,u){for(;u;){if(u===C)return!0;u=te(u)}return!1}function zt(C,u,l){if(l)return Array.from(C.querySelectorAll(u));const v=C.querySelector(u);return v?[v]:[]}let mn=(()=>{class C{validateStyleProperty(l){return function Ye(C){Ae||(Ae=function an(){return typeof document<"u"?document.body:null}()||{},$e=!!Ae.style&&"WebkitAppearance"in Ae.style);let u=!0;return Ae.style&&!function ne(C){return"ebkit"==C.substring(1,6)}(C)&&(u=C in Ae.style,!u&&$e&&(u="Webkit"+C.charAt(0).toUpperCase()+C.slice(1)in Ae.style)),u}(l)}matchesElement(l,v){return!1}containsElement(l,v){return Ct(l,v)}getParentElement(l){return te(l)}query(l,v,w){return zt(l,v,w)}computeStyle(l,v,w){return w||""}animate(l,v,w,F,X,ie=[],_e){return new ht.ZN(w,F)}static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})(),un=(()=>{class C{static#e=this.NOOP=new mn}return C})();const Mt=1e3,Kt="ng-enter",Qn="ng-leave",kn="ng-trigger",Xt=".ng-trigger",si="ng-animating",Ai=".ng-animating";function jn(C){if("number"==typeof C)return C;const u=C.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:zi(parseFloat(u[1]),u[2])}function zi(C,u){return"s"===u?C*Mt:C}function $n(C,u,l){return C.hasOwnProperty("duration")?C:function wr(C,u,l){let w,F=0,X="";if("string"==typeof C){const ie=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ie)return u.push(Ht()),{duration:0,delay:0,easing:""};w=zi(parseFloat(ie[1]),ie[2]);const _e=ie[3];null!=_e&&(F=zi(parseFloat(_e),ie[4]));const Te=ie[5];Te&&(X=Te)}else w=C;if(!l){let ie=!1,_e=u.length;w<0&&(u.push(function Mi(){return new h.vHH(3100,!1)}()),ie=!0),F<0&&(u.push(function yt(){return new h.vHH(3101,!1)}()),ie=!0),ie&&u.splice(_e,0,Ht())}return{duration:w,delay:F,easing:X}}(C,u,l)}function Ii(C,u={}){return Object.keys(C).forEach(l=>{u[l]=C[l]}),u}function hr(C){const u=new Map;return Object.keys(C).forEach(l=>{u.set(l,C[l])}),u}function Oi(C,u=new Map,l){if(l)for(let[v,w]of l)u.set(v,w);for(let[v,w]of C)u.set(v,w);return u}function wn(C,u,l){u.forEach((v,w)=>{const F=es(w);l&&!l.has(w)&&l.set(w,C.style[F]),C.style[F]=v})}function Dn(C,u){u.forEach((l,v)=>{const w=es(v);C.style[w]=""})}function zn(C){return Array.isArray(C)?1==C.length?C[0]:(0,ht.vP)(C):C}const Gi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Nn(C){let u=[];if("string"==typeof C){let l;for(;l=Gi.exec(C);)u.push(l[1]);Gi.lastIndex=0}return u}function qi(C,u,l){const v=C.toString(),w=v.replace(Gi,(F,X)=>{let ie=u[X];return null==ie&&(l.push(function Ui(C){return new h.vHH(3003,!1)}()),ie=""),ie.toString()});return w==v?C:w}function zr(C){const u=[];let l=C.next();for(;!l.done;)u.push(l.value),l=C.next();return u}const Xr=/-+([a-z0-9])/g;function es(C){return C.replace(Xr,(...u)=>u[1].toUpperCase())}function Bn(C,u,l){switch(u.type){case 7:return C.visitTrigger(u,l);case 0:return C.visitState(u,l);case 1:return C.visitTransition(u,l);case 2:return C.visitSequence(u,l);case 3:return C.visitGroup(u,l);case 4:return C.visitAnimate(u,l);case 5:return C.visitKeyframes(u,l);case 6:return C.visitStyle(u,l);case 8:return C.visitReference(u,l);case 9:return C.visitAnimateChild(u,l);case 10:return C.visitAnimateRef(u,l);case 11:return C.visitQuery(u,l);case 12:return C.visitStagger(u,l);default:throw function Un(C){return new h.vHH(3004,!1)}()}}function ys(C,u){return window.getComputedStyle(C)[u]}const Lt="*";function cn(C,u){const l=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(v=>function Vn(C,u,l){if(":"==C[0]){const _e=function Ei(C,u){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,v)=>parseFloat(v)>parseFloat(l);case":decrement":return(l,v)=>parseFloat(v)<parseFloat(l);default:return u.push(function ni(C){return new h.vHH(3016,!1)}()),"* => *"}}(C,l);if("function"==typeof _e)return void u.push(_e);C=_e}const v=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return l.push(function jr(C){return new h.vHH(3015,!1)}()),u;const w=v[1],F=v[2],X=v[3];u.push(Ri(w,X));"<"==F[0]&&!(w==Lt&&X==Lt)&&u.push(Ri(X,w))}(v,l,u)):l.push(C),l}const Cn=new Set(["true","1"]),oi=new Set(["false","0"]);function Ri(C,u){const l=Cn.has(C)||oi.has(C),v=Cn.has(u)||oi.has(u);return(w,F)=>{let X=C==Lt||C==w,ie=u==Lt||u==F;return!X&&l&&"boolean"==typeof w&&(X=w?Cn.has(C):oi.has(C)),!ie&&v&&"boolean"==typeof F&&(ie=F?Cn.has(u):oi.has(u)),X&&ie}}const Mr=new RegExp("s*:selfs*,?","g");function Tr(C,u,l,v){return new qe(C).build(u,l,v)}class qe{constructor(u){this._driver=u}build(u,l,v){const w=new pi(l);return this._resetContextStyleTimingState(w),Bn(this,zn(u),w)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,l){let v=l.queryCount=0,w=l.depCount=0;const F=[],X=[];return"@"==u.name.charAt(0)&&l.errors.push(function Ln(){return new h.vHH(3006,!1)}()),u.definitions.forEach(ie=>{if(this._resetContextStyleTimingState(l),0==ie.type){const _e=ie,Te=_e.name;Te.toString().split(/\s*,\s*/).forEach(Xe=>{_e.name=Xe,F.push(this.visitState(_e,l))}),_e.name=Te}else if(1==ie.type){const _e=this.visitTransition(ie,l);v+=_e.queryCount,w+=_e.depCount,X.push(_e)}else l.errors.push(function vt(){return new h.vHH(3007,!1)}())}),{type:7,name:u.name,states:F,transitions:X,queryCount:v,depCount:w,options:null}}visitState(u,l){const v=this.visitStyle(u.styles,l),w=u.options&&u.options.params||null;if(v.containsDynamicStyles){const F=new Set,X=w||{};v.styles.forEach(ie=>{ie instanceof Map&&ie.forEach(_e=>{Nn(_e).forEach(Te=>{X.hasOwnProperty(Te)||F.add(Te)})})}),F.size&&(zr(F.values()),l.errors.push(function Rt(C,u){return new h.vHH(3008,!1)}()))}return{type:0,name:u.name,style:v,options:w?{params:w}:null}}visitTransition(u,l){l.queryCount=0,l.depCount=0;const v=Bn(this,zn(u.animation),l);return{type:1,matchers:cn(u.expr,l.errors),animation:v,queryCount:l.queryCount,depCount:l.depCount,options:Jn(u.options)}}visitSequence(u,l){return{type:2,steps:u.steps.map(v=>Bn(this,v,l)),options:Jn(u.options)}}visitGroup(u,l){const v=l.currentTime;let w=0;const F=u.steps.map(X=>{l.currentTime=v;const ie=Bn(this,X,l);return w=Math.max(w,l.currentTime),ie});return l.currentTime=w,{type:3,steps:F,options:Jn(u.options)}}visitAnimate(u,l){const v=function Mn(C,u){if(C.hasOwnProperty("duration"))return C;if("number"==typeof C)return nn($n(C,u).duration,0,"");const l=C;if(l.split(/\s+/).some(F=>"{"==F.charAt(0)&&"{"==F.charAt(1))){const F=nn(0,0,"");return F.dynamic=!0,F.strValue=l,F}const w=$n(l,u);return nn(w.duration,w.delay,w.easing)}(u.timings,l.errors);l.currentAnimateTimings=v;let w,F=u.styles?u.styles:(0,ht.oB)({});if(5==F.type)w=this.visitKeyframes(F,l);else{let X=u.styles,ie=!1;if(!X){ie=!0;const Te={};v.easing&&(Te.easing=v.easing),X=(0,ht.oB)(Te)}l.currentTime+=v.duration+v.delay;const _e=this.visitStyle(X,l);_e.isEmptyStep=ie,w=_e}return l.currentAnimateTimings=null,{type:4,timings:v,style:w,options:null}}visitStyle(u,l){const v=this._makeStyleAst(u,l);return this._validateStyleAst(v,l),v}_makeStyleAst(u,l){const v=[],w=Array.isArray(u.styles)?u.styles:[u.styles];for(let ie of w)"string"==typeof ie?ie===ht.l3?v.push(ie):l.errors.push(new h.vHH(3002,!1)):v.push(hr(ie));let F=!1,X=null;return v.forEach(ie=>{if(ie instanceof Map&&(ie.has("easing")&&(X=ie.get("easing"),ie.delete("easing")),!F))for(let _e of ie.values())if(_e.toString().indexOf("{{")>=0){F=!0;break}}),{type:6,styles:v,easing:X,offset:u.offset,containsDynamicStyles:F,options:null}}_validateStyleAst(u,l){const v=l.currentAnimateTimings;let w=l.currentTime,F=l.currentTime;v&&F>0&&(F-=v.duration+v.delay),u.styles.forEach(X=>{"string"!=typeof X&&X.forEach((ie,_e)=>{const Te=l.collectedStyles.get(l.currentQuerySelector),Xe=Te.get(_e);let Qe=!0;Xe&&(F!=w&&F>=Xe.startTime&&w<=Xe.endTime&&(l.errors.push(function Et(C,u,l,v,w){return new h.vHH(3010,!1)}()),Qe=!1),F=Xe.startTime),Qe&&Te.set(_e,{startTime:F,endTime:w}),l.options&&function Ji(C,u,l){const v=u.params||{},w=Nn(C);w.length&&w.forEach(F=>{v.hasOwnProperty(F)||l.push(function ti(C){return new h.vHH(3001,!1)}())})}(ie,l.options,l.errors)})})}visitKeyframes(u,l){const v={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Ti(){return new h.vHH(3011,!1)}()),v;let F=0;const X=[];let ie=!1,_e=!1,Te=0;const Xe=u.steps.map(li=>{const ui=this._makeStyleAst(li,l);let xi=null!=ui.offset?ui.offset:function gr(C){if("string"==typeof C)return null;let u=null;if(Array.isArray(C))C.forEach(l=>{if(l instanceof Map&&l.has("offset")){const v=l;u=parseFloat(v.get("offset")),v.delete("offset")}});else if(C instanceof Map&&C.has("offset")){const l=C;u=parseFloat(l.get("offset")),l.delete("offset")}return u}(ui.styles),ei=0;return null!=xi&&(F++,ei=ui.offset=xi),_e=_e||ei<0||ei>1,ie=ie||ei<Te,Te=ei,X.push(ei),ui});_e&&l.errors.push(function An(){return new h.vHH(3012,!1)}()),ie&&l.errors.push(function Rn(){return new h.vHH(3200,!1)}());const Qe=u.steps.length;let $t=0;F>0&&F<Qe?l.errors.push(function qt(){return new h.vHH(3202,!1)}()):0==F&&($t=1/(Qe-1));const Nt=Qe-1,pt=l.currentTime,Be=l.currentAnimateTimings,_n=Be.duration;return Xe.forEach((li,ui)=>{const xi=$t>0?ui==Nt?1:$t*ui:X[ui],ei=xi*_n;l.currentTime=pt+Be.delay+ei,Be.duration=ei,this._validateStyleAst(li,l),li.offset=xi,v.styles.push(li)}),v}visitReference(u,l){return{type:8,animation:Bn(this,zn(u.animation),l),options:Jn(u.options)}}visitAnimateChild(u,l){return l.depCount++,{type:9,options:Jn(u.options)}}visitAnimateRef(u,l){return{type:10,animation:this.visitReference(u.animation,l),options:Jn(u.options)}}visitQuery(u,l){const v=l.currentQuerySelector,w=u.options||{};l.queryCount++,l.currentQuery=u;const[F,X]=function bt(C){const u=!!C.split(/\s*,\s*/).find(l=>":self"==l);return u&&(C=C.replace(Mr,"")),C=C.replace(/@\*/g,Xt).replace(/@\w+/g,l=>Xt+"-"+l.slice(1)).replace(/:animating/g,Ai),[C,u]}(u.selector);l.currentQuerySelector=v.length?v+" "+F:F,Bt(l.collectedStyles,l.currentQuerySelector,new Map);const ie=Bn(this,zn(u.animation),l);return l.currentQuery=null,l.currentQuerySelector=v,{type:11,selector:F,limit:w.limit||0,optional:!!w.optional,includeSelf:X,animation:ie,originalSelector:u.selector,options:Jn(u.options)}}visitStagger(u,l){l.currentQuery||l.errors.push(function ps(){return new h.vHH(3013,!1)}());const v="full"===u.timings?{duration:0,delay:0,easing:"full"}:$n(u.timings,l.errors,!0);return{type:12,animation:Bn(this,zn(u.animation),l),timings:v,options:null}}}class pi{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 Jn(C){return C?(C=Ii(C)).params&&(C.params=function Qt(C){return C?Ii(C):null}(C.params)):C={},C}function nn(C,u,l){return{duration:C,delay:u,easing:l}}function gi(C,u,l,v,w,F,X=null,ie=!1){return{type:1,element:C,keyframes:u,preStyleProps:l,postStyleProps:v,duration:w,delay:F,totalTime:w+F,easing:X,subTimeline:ie}}class qn{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,l){let v=this._map.get(u);v||this._map.set(u,v=[]),v.push(...l)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const vs=new RegExp(":enter","g"),bn=new RegExp(":leave","g");function tr(C,u,l,v,w,F=new Map,X=new Map,ie,_e,Te=[]){return(new Pi).buildKeyframes(C,u,l,v,w,F,X,ie,_e,Te)}class Pi{buildKeyframes(u,l,v,w,F,X,ie,_e,Te,Xe=[]){Te=Te||new qn;const Qe=new nr(u,l,Te,w,F,Xe,[]);Qe.options=_e;const $t=_e.delay?jn(_e.delay):0;Qe.currentTimeline.delayNextStep($t),Qe.currentTimeline.setStyles([X],null,Qe.errors,_e),Bn(this,v,Qe);const Nt=Qe.timelines.filter(pt=>pt.containsAnimation());if(Nt.length&&ie.size){let pt;for(let Be=Nt.length-1;Be>=0;Be--){const _n=Nt[Be];if(_n.element===l){pt=_n;break}}pt&&!pt.allowOnlyTimelineStyles()&&pt.setStyles([ie],null,Qe.errors,_e)}return Nt.length?Nt.map(pt=>pt.buildKeyframes()):[gi(l,[],[],[],0,$t,"",!1)]}visitTrigger(u,l){}visitState(u,l){}visitTransition(u,l){}visitAnimateChild(u,l){const v=l.subInstructions.get(l.element);if(v){const w=l.createSubContext(u.options),F=l.currentTimeline.currentTime,X=this._visitSubInstructions(v,w,w.options);F!=X&&l.transformIntoNewTimeline(X)}l.previousNode=u}visitAnimateRef(u,l){const v=l.createSubContext(u.options);v.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],l,v),this.visitReference(u.animation,v),l.transformIntoNewTimeline(v.currentTimeline.currentTime),l.previousNode=u}_applyAnimationRefDelays(u,l,v){for(const w of u){const F=w?.delay;if(F){const X="number"==typeof F?F:jn(qi(F,w?.params??{},l.errors));v.delayNextStep(X)}}}_visitSubInstructions(u,l,v){let F=l.currentTimeline.currentTime;const X=null!=v.duration?jn(v.duration):null,ie=null!=v.delay?jn(v.delay):null;return 0!==X&&u.forEach(_e=>{const Te=l.appendInstructionToTimeline(_e,X,ie);F=Math.max(F,Te.duration+Te.delay)}),F}visitReference(u,l){l.updateOptions(u.options,!0),Bn(this,u.animation,l),l.previousNode=u}visitSequence(u,l){const v=l.subContextCount;let w=l;const F=u.options;if(F&&(F.params||F.delay)&&(w=l.createSubContext(F),w.transformIntoNewTimeline(),null!=F.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=xn);const X=jn(F.delay);w.delayNextStep(X)}u.steps.length&&(u.steps.forEach(X=>Bn(this,X,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>v&&w.transformIntoNewTimeline()),l.previousNode=u}visitGroup(u,l){const v=[];let w=l.currentTimeline.currentTime;const F=u.options&&u.options.delay?jn(u.options.delay):0;u.steps.forEach(X=>{const ie=l.createSubContext(u.options);F&&ie.delayNextStep(F),Bn(this,X,ie),w=Math.max(w,ie.currentTimeline.currentTime),v.push(ie.currentTimeline)}),v.forEach(X=>l.currentTimeline.mergeTimelineCollectedStyles(X)),l.transformIntoNewTimeline(w),l.previousNode=u}_visitTiming(u,l){if(u.dynamic){const v=u.strValue;return $n(l.params?qi(v,l.params,l.errors):v,l.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,l){const v=l.currentAnimateTimings=this._visitTiming(u.timings,l),w=l.currentTimeline;v.delay&&(l.incrementTime(v.delay),w.snapshotCurrentStyles());const F=u.style;5==F.type?this.visitKeyframes(F,l):(l.incrementTime(v.duration),this.visitStyle(F,l),w.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=u}visitStyle(u,l){const v=l.currentTimeline,w=l.currentAnimateTimings;!w&&v.hasCurrentStyleProperties()&&v.forwardFrame();const F=w&&w.easing||u.easing;u.isEmptyStep?v.applyEmptyStep(F):v.setStyles(u.styles,F,l.errors,l.options),l.previousNode=u}visitKeyframes(u,l){const v=l.currentAnimateTimings,w=l.currentTimeline.duration,F=v.duration,ie=l.createSubContext().currentTimeline;ie.easing=v.easing,u.styles.forEach(_e=>{ie.forwardTime((_e.offset||0)*F),ie.setStyles(_e.styles,_e.easing,l.errors,l.options),ie.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(ie),l.transformIntoNewTimeline(w+F),l.previousNode=u}visitQuery(u,l){const v=l.currentTimeline.currentTime,w=u.options||{},F=w.delay?jn(w.delay):0;F&&(6===l.previousNode.type||0==v&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=xn);let X=v;const ie=l.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!w.optional,l.errors);l.currentQueryTotal=ie.length;let _e=null;ie.forEach((Te,Xe)=>{l.currentQueryIndex=Xe;const Qe=l.createSubContext(u.options,Te);F&&Qe.delayNextStep(F),Te===l.element&&(_e=Qe.currentTimeline),Bn(this,u.animation,Qe),Qe.currentTimeline.applyStylesToKeyframe(),X=Math.max(X,Qe.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(X),_e&&(l.currentTimeline.mergeTimelineCollectedStyles(_e),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=u}visitStagger(u,l){const v=l.parentContext,w=l.currentTimeline,F=u.timings,X=Math.abs(F.duration),ie=X*(l.currentQueryTotal-1);let _e=X*l.currentQueryIndex;switch(F.duration<0?"reverse":F.easing){case"reverse":_e=ie-_e;break;case"full":_e=v.currentStaggerTime}const Xe=l.currentTimeline;_e&&Xe.delayNextStep(_e);const Qe=Xe.currentTime;Bn(this,u.animation,l),l.previousNode=u,v.currentStaggerTime=w.currentTime-Qe+(w.startTime-v.currentTimeline.startTime)}}const xn={};class nr{constructor(u,l,v,w,F,X,ie,_e){this._driver=u,this.element=l,this.subInstructions=v,this._enterClassName=w,this._leaveClassName=F,this.errors=X,this.timelines=ie,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=xn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_e||new ir(this._driver,l,0),ie.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,l){if(!u)return;const v=u;let w=this.options;null!=v.duration&&(w.duration=jn(v.duration)),null!=v.delay&&(w.delay=jn(v.delay));const F=v.params;if(F){let X=w.params;X||(X=this.options.params={}),Object.keys(F).forEach(ie=>{(!l||!X.hasOwnProperty(ie))&&(X[ie]=qi(F[ie],X,this.errors))})}}_copyOptions(){const u={};if(this.options){const l=this.options.params;if(l){const v=u.params={};Object.keys(l).forEach(w=>{v[w]=l[w]})}}return u}createSubContext(u=null,l,v){const w=l||this.element,F=new nr(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,v||0));return F.previousNode=this.previousNode,F.currentAnimateTimings=this.currentAnimateTimings,F.options=this._copyOptions(),F.updateOptions(u),F.currentQueryIndex=this.currentQueryIndex,F.currentQueryTotal=this.currentQueryTotal,F.parentContext=this,this.subContextCount++,F}transformIntoNewTimeline(u){return this.previousNode=xn,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,l,v){const w={duration:l??u.duration,delay:this.currentTimeline.currentTime+(v??0)+u.delay,easing:""},F=new ki(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,w,u.stretchStartingKeyframe);return this.timelines.push(F),w}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,l,v,w,F,X){let ie=[];if(w&&ie.push(this.element),u.length>0){u=(u=u.replace(vs,"."+this._enterClassName)).replace(bn,"."+this._leaveClassName);let Te=this._driver.query(this.element,u,1!=v);0!==v&&(Te=v<0?Te.slice(Te.length+v,Te.length):Te.slice(0,v)),ie.push(...Te)}return!F&&0==ie.length&&X.push(function gt(C){return new h.vHH(3014,!1)}()),ie}}class ir{constructor(u,l,v,w){this._driver=u,this.element=l,this.startTime=v,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 ir(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,v]of this._globalTimelineStyles)this._backFill.set(l,v||ht.l3),this._currentKeyframe.set(l,ht.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,l,v,w){l&&this._previousKeyframe.set("easing",l);const F=w&&w.params||{},X=function Wi(C,u){const l=new Map;let v;return C.forEach(w=>{if("*"===w){v=v||u.keys();for(let F of v)l.set(F,ht.l3)}else Oi(w,l)}),l}(u,this._globalTimelineStyles);for(let[ie,_e]of X){const Te=qi(_e,F,v);this._pendingStyles.set(ie,Te),this._localTimelineStyles.has(ie)||this._backFill.set(ie,this._globalTimelineStyles.get(ie)??ht.l3),this._updateStyle(ie,Te)}}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,v)=>{const w=this._styleSummary.get(v);(!w||l.time>w.time)&&this._updateStyle(v,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,l=new Set,v=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((ie,_e)=>{const Te=Oi(ie,new Map,this._backFill);Te.forEach((Xe,Qe)=>{Xe===ht.k1?u.add(Qe):Xe===ht.l3&&l.add(Qe)}),v||Te.set("offset",_e/this.duration),w.push(Te)});const F=u.size?zr(u.values()):[],X=l.size?zr(l.values()):[];if(v){const ie=w[0],_e=new Map(ie);ie.set("offset",0),_e.set("offset",1),w=[ie,_e]}return gi(this.element,w,F,X,this.duration,this.startTime,this.easing,!1)}}class ki extends ir{constructor(u,l,v,w,F,X,ie=!1){super(u,l,X.delay),this.keyframes=v,this.preStyleProps=w,this.postStyleProps=F,this._stretchStartingKeyframe=ie,this.timings={duration:X.duration,delay:X.delay,easing:X.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:l,duration:v,easing:w}=this.timings;if(this._stretchStartingKeyframe&&l){const F=[],X=v+l,ie=l/X,_e=Oi(u[0]);_e.set("offset",0),F.push(_e);const Te=Oi(u[0]);Te.set("offset",mi(ie)),F.push(Te);const Xe=u.length-1;for(let Qe=1;Qe<=Xe;Qe++){let $t=Oi(u[Qe]);const Nt=$t.get("offset");$t.set("offset",mi((l+Nt*v)/X)),F.push($t)}v=X,l=0,w="",u=F}return gi(this.element,u,this.preStyleProps,this.postStyleProps,v,l,w,!0)}}function mi(C,u=3){const l=Math.pow(10,u-1);return Math.round(C*l)/l}class Ft{}const Vs=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 qs extends Ft{normalizePropertyName(u,l){return es(u)}normalizeStyleValue(u,l,v,w){let F="";const X=v.toString().trim();if(Vs.has(l)&&0!==v&&"0"!==v)if("number"==typeof v)F="px";else{const ie=v.match(/^[+-]?[\d\.]+([a-z]*)$/);ie&&0==ie[1].length&&w.push(function Zn(C,u){return new h.vHH(3005,!1)}())}return X+F}}function Ki(C,u,l,v,w,F,X,ie,_e,Te,Xe,Qe,$t){return{type:0,element:C,triggerName:u,isRemovalTransition:w,fromState:l,fromStyles:F,toState:v,toStyles:X,timelines:ie,queriedElements:_e,preStyleProps:Te,postStyleProps:Xe,totalTime:Qe,errors:$t}}const rr={};class Bi{constructor(u,l,v){this._triggerName=u,this.ast=l,this._stateStyles=v}match(u,l,v,w){return function ln(C,u,l,v,w){return C.some(F=>F(u,l,v,w))}(this.ast.matchers,u,l,v,w)}buildStyles(u,l,v){let w=this._stateStyles.get("*");return void 0!==u&&(w=this._stateStyles.get(u?.toString())||w),w?w.buildStyles(l,v):new Map}build(u,l,v,w,F,X,ie,_e,Te,Xe){const Qe=[],$t=this.ast.options&&this.ast.options.params||rr,pt=this.buildStyles(v,ie&&ie.params||rr,Qe),Be=_e&&_e.params||rr,_n=this.buildStyles(w,Be,Qe),li=new Set,ui=new Map,xi=new Map,ei="void"===w,Zr={params:Xs(Be,$t),delay:this.ast.options?.delay},ci=Xe?[]:tr(u,l,this.ast.animation,F,X,pt,_n,Zr,Te,Qe);let bi=0;if(ci.forEach(Yr=>{bi=Math.max(Yr.duration+Yr.delay,bi)}),Qe.length)return Ki(l,this._triggerName,v,w,ei,pt,_n,[],[],ui,xi,bi,Qe);ci.forEach(Yr=>{const _r=Yr.element,Po=Bt(ui,_r,new Set);Yr.preStyleProps.forEach(jt=>Po.add(jt));const Ne=Bt(xi,_r,new Set);Yr.postStyleProps.forEach(jt=>Ne.add(jt)),_r!==l&&li.add(_r)});const Br=zr(li.values());return Ki(l,this._triggerName,v,w,ei,pt,_n,ci,Br,ui,xi,bi)}}function Xs(C,u){const l=Ii(u);for(const v in C)C.hasOwnProperty(v)&&null!=C[v]&&(l[v]=C[v]);return l}class In{constructor(u,l,v){this.styles=u,this.defaultParams=l,this.normalizer=v}buildStyles(u,l){const v=new Map,w=Ii(this.defaultParams);return Object.keys(u).forEach(F=>{const X=u[F];null!==X&&(w[F]=X)}),this.styles.styles.forEach(F=>{"string"!=typeof F&&F.forEach((X,ie)=>{X&&(X=qi(X,w,l));const _e=this.normalizer.normalizePropertyName(ie,l);X=this.normalizer.normalizeStyleValue(ie,_e,X,l),v.set(ie,X)})}),v}}class _s{constructor(u,l,v){this.name=u,this.ast=l,this._normalizer=v,this.transitionFactories=[],this.states=new Map,l.states.forEach(w=>{this.states.set(w.name,new In(w.style,w.options&&w.options.params||{},v))}),Rr(this.states,"true","1"),Rr(this.states,"false","0"),l.transitions.forEach(w=>{this.transitionFactories.push(new Bi(u,w,this.states))}),this.fallbackTransition=function Or(C,u,l){return new Bi(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(X,ie)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,l,v,w){return this.transitionFactories.find(X=>X.match(u,l,v,w))||null}matchStyles(u,l,v){return this.fallbackTransition.buildStyles(u,l,v)}}function Rr(C,u,l){C.has(u)?C.has(l)||C.set(l,C.get(u)):C.has(l)&&C.set(u,C.get(l))}const Xn=new qn;class M{constructor(u,l,v){this.bodyNode=u,this._driver=l,this._normalizer=v,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,l){const v=[],F=Tr(this._driver,l,v,[]);if(v.length)throw function Yn(C){return new h.vHH(3503,!1)}();this._animations.set(u,F)}_buildPlayer(u,l,v){const w=u.element,F=st(this._normalizer,u.keyframes,l,v);return this._driver.animate(w,F,u.duration,u.delay,u.easing,[],!0)}create(u,l,v={}){const w=[],F=this._animations.get(u);let X;const ie=new Map;if(F?(X=tr(this._driver,l,F,Kt,Qn,new Map,new Map,v,Xn,w),X.forEach(Xe=>{const Qe=Bt(ie,Xe.element,new Map);Xe.postStyleProps.forEach($t=>Qe.set($t,null))})):(w.push(function ji(){return new h.vHH(3300,!1)}()),X=[]),w.length)throw function ii(C){return new h.vHH(3504,!1)}();ie.forEach((Xe,Qe)=>{Xe.forEach(($t,Nt)=>{Xe.set(Nt,this._driver.computeStyle(Qe,Nt,ht.l3))})});const Te=Ke(X.map(Xe=>{const Qe=ie.get(Xe.element);return this._buildPlayer(Xe,new Map,Qe)}));return this._playersById.set(u,Te),Te.onDestroy(()=>this.destroy(u)),this.players.push(Te),Te}destroy(u){const l=this._getPlayer(u);l.destroy(),this._playersById.delete(u);const v=this.players.indexOf(l);v>=0&&this.players.splice(v,1)}_getPlayer(u){const l=this._playersById.get(u);if(!l)throw function $i(C){return new h.vHH(3301,!1)}();return l}listen(u,l,v,w){const F=on(l,"","","");return Ut(this._getPlayer(u),v,F,w),()=>{}}command(u,l,v,w){if("register"==v)return void this.register(u,w[0]);if("create"==v)return void this.create(u,l,w[0]||{});const F=this._getPlayer(u);switch(v){case"play":F.play();break;case"pause":F.pause();break;case"reset":F.reset();break;case"restart":F.restart();break;case"finish":F.finish();break;case"init":F.init();break;case"setPosition":F.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(u)}}}const O="ng-animate-queued",k="ng-animate-disabled",Ci=[],is={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sr="__ng_removed";class ao{get params(){return this.options.params}constructor(u,l=""){this.namespaceId=l;const v=u&&u.hasOwnProperty("value");if(this.value=function Pr(C){return C??null}(v?u.value:u),v){const F=Ii(u);delete F.value,this.options=F}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const l=u.params;if(l){const v=this.options.params;Object.keys(l).forEach(w=>{null==v[w]&&(v[w]=l[w])})}}}const Es="void",lo=new ao(Es);class cl{constructor(u,l,v){this.id=u,this.hostElement=l,this._engine=v,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,On(l,this._hostClassName)}listen(u,l,v,w){if(!this._triggers.has(l))throw function $r(C,u){return new h.vHH(3302,!1)}();if(null==v||0==v.length)throw function fr(C){return new h.vHH(3303,!1)}();if(!function Cs(C){return"start"==C||"done"==C}(v))throw function Fi(C,u){return new h.vHH(3400,!1)}();const F=Bt(this._elementListeners,u,[]),X={name:l,phase:v,callback:w};F.push(X);const ie=Bt(this._engine.statesByElement,u,new Map);return ie.has(l)||(On(u,kn),On(u,kn+"-"+l),ie.set(l,lo)),()=>{this._engine.afterFlush(()=>{const _e=F.indexOf(X);_e>=0&&F.splice(_e,1),this._triggers.has(l)||ie.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 Me(C){return new h.vHH(3401,!1)}();return l}trigger(u,l,v,w=!0){const F=this._getTrigger(l),X=new Ds(this.id,l,u);let ie=this._engine.statesByElement.get(u);ie||(On(u,kn),On(u,kn+"-"+l),this._engine.statesByElement.set(u,ie=new Map));let _e=ie.get(l);const Te=new ao(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&_e&&Te.absorbOptions(_e.options),ie.set(l,Te),_e||(_e=lo),Te.value!==Es&&_e.value===Te.value){if(!function Vi(C,u){const l=Object.keys(C),v=Object.keys(u);if(l.length!=v.length)return!1;for(let w=0;w<l.length;w++){const F=l[w];if(!u.hasOwnProperty(F)||C[F]!==u[F])return!1}return!0}(_e.params,Te.params)){const Be=[],_n=F.matchStyles(_e.value,_e.params,Be),li=F.matchStyles(Te.value,Te.params,Be);Be.length?this._engine.reportError(Be):this._engine.afterFlush(()=>{Dn(u,_n),wn(u,li)})}return}const $t=Bt(this._engine.playersByElement,u,[]);$t.forEach(Be=>{Be.namespaceId==this.id&&Be.triggerName==l&&Be.queued&&Be.destroy()});let Nt=F.matchTransition(_e.value,Te.value,u,Te.params),pt=!1;if(!Nt){if(!w)return;Nt=F.fallbackTransition,pt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:l,transition:Nt,fromState:_e,toState:Te,player:X,isFallbackTransition:pt}),pt||(On(u,O),X.onStart(()=>{bs(u,O)})),X.onDone(()=>{let Be=this.players.indexOf(X);Be>=0&&this.players.splice(Be,1);const _n=this._engine.playersByElement.get(u);if(_n){let li=_n.indexOf(X);li>=0&&_n.splice(li,1)}}),this.players.push(X),$t.push(X),X}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(l=>l.delete(u)),this._elementListeners.forEach((l,v)=>{this._elementListeners.set(v,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(v=>v.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,l){const v=this._engine.driver.query(u,Xt,!0);v.forEach(w=>{if(w[sr])return;const F=this._engine.fetchNamespacesByElement(w);F.size?F.forEach(X=>X.triggerLeaveAnimation(w,l,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(u,l,v,w){const F=this._engine.statesByElement.get(u),X=new Map;if(F){const ie=[];if(F.forEach((_e,Te)=>{if(X.set(Te,_e.value),this._triggers.has(Te)){const Xe=this.trigger(u,Te,Es,w);Xe&&ie.push(Xe)}}),ie.length)return this._engine.markElementAsRemoved(this.id,u,!0,l,X),v&&Ke(ie).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const l=this._elementListeners.get(u),v=this._engine.statesByElement.get(u);if(l&&v){const w=new Set;l.forEach(F=>{const X=F.name;if(w.has(X))return;w.add(X);const _e=this._triggers.get(X).fallbackTransition,Te=v.get(X)||lo,Xe=new ao(Es),Qe=new Ds(this.id,X,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:X,transition:_e,fromState:Te,toState:Xe,player:Qe,isFallbackTransition:!0})})}}removeNode(u,l){const v=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,l),this.triggerLeaveAnimation(u,l,!0))return;let w=!1;if(v.totalAnimations){const F=v.players.length?v.playersByQueriedElement.get(u):[];if(F&&F.length)w=!0;else{let X=u;for(;X=X.parentNode;)if(v.statesByElement.get(X)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(u),w)v.markElementAsRemoved(this.id,u,!1,l);else{const F=u[sr];(!F||F===is)&&(v.afterFlush(()=>this.clearElementCache(u)),v.destroyInnerAnimations(u),v._onRemovalComplete(u,l))}}insertNode(u,l){On(u,this._hostClassName)}drainQueuedTransitions(u){const l=[];return this._queue.forEach(v=>{const w=v.player;if(w.destroyed)return;const F=v.element,X=this._elementListeners.get(F);X&&X.forEach(ie=>{if(ie.name==v.triggerName){const _e=on(F,v.triggerName,v.fromState.value,v.toState.value);_e._data=u,Ut(v.player,ie.phase,_e,ie.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):l.push(v)}),this._queue=[],l.sort((v,w)=>{const F=v.transition.ast.depCount,X=w.transition.ast.depCount;return 0==F||0==X?F-X:this._engine.driver.containsElement(v.element,w.element)?1:-1})}destroy(u){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class Ea{_onRemovalComplete(u,l){this.onRemovalComplete(u,l)}constructor(u,l,v){this.bodyNode=u,this.driver=l,this._normalizer=v,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=(w,F)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(l=>{l.players.forEach(v=>{v.queued&&u.push(v)})}),u}createNamespace(u,l){const v=new cl(u,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(v,l):(this.newHostElements.set(l,v),this.collectEnterElement(l)),this._namespaceLookup[u]=v}_balanceNamespaceList(u,l){const v=this._namespaceList,w=this.namespacesByHostElement;if(v.length-1>=0){let X=!1,ie=this.driver.getParentElement(l);for(;ie;){const _e=w.get(ie);if(_e){const Te=v.indexOf(_e);v.splice(Te+1,0,u),X=!0;break}ie=this.driver.getParentElement(ie)}X||v.unshift(u)}else v.push(u);return w.set(l,u),u}register(u,l){let v=this._namespaceLookup[u];return v||(v=this.createNamespace(u,l)),v}registerTrigger(u,l,v){let w=this._namespaceLookup[u];w&&w.register(l,v)&&this.totalAnimations++}destroy(u,l){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const v=this._fetchNamespace(u);this.namespacesByHostElement.delete(v.hostElement);const w=this._namespaceList.indexOf(v);w>=0&&this._namespaceList.splice(w,1),v.destroy(l),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const l=new Set,v=this.statesByElement.get(u);if(v)for(let w of v.values())if(w.namespaceId){const F=this._fetchNamespace(w.namespaceId);F&&l.add(F)}return l}trigger(u,l,v,w){if(Nr(l)){const F=this._fetchNamespace(u);if(F)return F.trigger(l,v,w),!0}return!1}insertNode(u,l,v,w){if(!Nr(l))return;const F=l[sr];if(F&&F.setForRemoval){F.setForRemoval=!1,F.setForMove=!0;const X=this.collectedLeaveElements.indexOf(l);X>=0&&this.collectedLeaveElements.splice(X,1)}if(u){const X=this._fetchNamespace(u);X&&X.insertNode(l,v)}w&&this.collectEnterElement(l)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,l){l?this.disabledNodes.has(u)||(this.disabledNodes.add(u),On(u,k)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),bs(u,k))}removeNode(u,l,v){if(Nr(l)){const w=u?this._fetchNamespace(u):null;w?w.removeNode(l,v):this.markElementAsRemoved(u,l,!1,v);const F=this.namespacesByHostElement.get(l);F&&F.id!==u&&F.removeNode(l,v)}else this._onRemovalComplete(l,v)}markElementAsRemoved(u,l,v,w,F){this.collectedLeaveElements.push(l),l[sr]={namespaceId:u,setForRemoval:w,hasAnimation:v,removedBeforeQueried:!1,previousTriggersValues:F}}listen(u,l,v,w,F){return Nr(l)?this._fetchNamespace(u).listen(l,v,w,F):()=>{}}_buildInstruction(u,l,v,w,F){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,v,w,u.fromState.options,u.toState.options,l,F)}destroyInnerAnimations(u){let l=this.driver.query(u,Xt,!0);l.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(u,Ai,!0),l.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(u){const l=this.playersByElement.get(u);l&&l.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(u){const l=this.playersByQueriedElement.get(u);l&&l.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Ke(this.players).onDone(()=>u());u()})}processLeaveNode(u){const l=u[sr];if(l&&l.setForRemoval){if(u[sr]=is,l.namespaceId){this.destroyInnerAnimations(u);const v=this._fetchNamespace(l.namespaceId);v&&v.clearElementCache(u)}this._onRemovalComplete(u,l.setForRemoval)}u.classList?.contains(k)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(v=>{this.markElementAsDisabled(v,!1)})}flush(u=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,w)=>this._balanceNamespaceList(v,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;v<this.collectedEnterElements.length;v++)On(this.collectedEnterElements[v],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const v=[];try{l=this._flushAnimations(v,u)}finally{for(let w=0;w<v.length;w++)v[w]()}}else for(let v=0;v<this.collectedLeaveElements.length;v++)this.processLeaveNode(this.collectedLeaveElements[v]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(v=>v()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],l.length?Ke(l).onDone(()=>{v.forEach(w=>w())}):v.forEach(w=>w())}}reportError(u){throw function Ee(C){return new h.vHH(3402,!1)}()}_flushAnimations(u,l){const v=new qn,w=[],F=new Map,X=[],ie=new Map,_e=new Map,Te=new Map,Xe=new Set;this.disabledNodes.forEach(et=>{Xe.add(et);const ct=this.driver.query(et,".ng-animate-queued",!0);for(let mt=0;mt<ct.length;mt++)Xe.add(ct[mt])});const Qe=this.bodyNode,$t=Array.from(this.statesByElement.keys()),Nt=or($t,this.collectedEnterElements),pt=new Map;let Be=0;Nt.forEach((et,ct)=>{const mt=Kt+Be++;pt.set(ct,mt),et.forEach(xt=>On(xt,mt))});const _n=[],li=new Set,ui=new Set;for(let et=0;et<this.collectedLeaveElements.length;et++){const ct=this.collectedLeaveElements[et],mt=ct[sr];mt&&mt.setForRemoval&&(_n.push(ct),li.add(ct),mt.hasAnimation?this.driver.query(ct,".ng-star-inserted",!0).forEach(xt=>li.add(xt)):ui.add(ct))}const xi=new Map,ei=or($t,Array.from(li));ei.forEach((et,ct)=>{const mt=Qn+Be++;xi.set(ct,mt),et.forEach(xt=>On(xt,mt))}),u.push(()=>{Nt.forEach((et,ct)=>{const mt=pt.get(ct);et.forEach(xt=>bs(xt,mt))}),ei.forEach((et,ct)=>{const mt=xi.get(ct);et.forEach(xt=>bs(xt,mt))}),_n.forEach(et=>{this.processLeaveNode(et)})});const Zr=[],ci=[];for(let et=this._namespaceList.length-1;et>=0;et--)this._namespaceList[et].drainQueuedTransitions(l).forEach(mt=>{const xt=mt.player,Hn=mt.element;if(Zr.push(xt),this.collectedEnterElements.length){const di=Hn[sr];if(di&&di.setForMove){if(di.previousTriggersValues&&di.previousTriggersValues.has(mt.triggerName)){const lr=di.previousTriggersValues.get(mt.triggerName),Kn=this.statesByElement.get(mt.element);if(Kn&&Kn.has(mt.triggerName)){const mo=Kn.get(mt.triggerName);mo.value=lr,Kn.set(mt.triggerName,mo)}}return void xt.destroy()}}const Zi=!Qe||!this.driver.containsElement(Qe,Hn),Hi=xi.get(Hn),ls=pt.get(Hn),Sn=this._buildInstruction(mt,v,ls,Hi,Zi);if(Sn.errors&&Sn.errors.length)return void ci.push(Sn);if(Zi)return xt.onStart(()=>Dn(Hn,Sn.fromStyles)),xt.onDestroy(()=>wn(Hn,Sn.toStyles)),void w.push(xt);if(mt.isFallbackTransition)return xt.onStart(()=>Dn(Hn,Sn.fromStyles)),xt.onDestroy(()=>wn(Hn,Sn.toStyles)),void w.push(xt);const vi=[];Sn.timelines.forEach(di=>{di.stretchStartingKeyframe=!0,this.disabledNodes.has(di.element)||vi.push(di)}),Sn.timelines=vi,v.append(Hn,Sn.timelines),X.push({instruction:Sn,player:xt,element:Hn}),Sn.queriedElements.forEach(di=>Bt(ie,di,[]).push(xt)),Sn.preStyleProps.forEach((di,lr)=>{if(di.size){let Kn=_e.get(lr);Kn||_e.set(lr,Kn=new Set),di.forEach((mo,yo)=>Kn.add(yo))}}),Sn.postStyleProps.forEach((di,lr)=>{let Kn=Te.get(lr);Kn||Te.set(lr,Kn=new Set),di.forEach((mo,yo)=>Kn.add(yo))})});if(ci.length){const et=[];ci.forEach(ct=>{et.push(function ae(C,u){return new h.vHH(3505,!1)}())}),Zr.forEach(ct=>ct.destroy()),this.reportError(et)}const bi=new Map,Br=new Map;X.forEach(et=>{const ct=et.element;v.has(ct)&&(Br.set(ct,ct),this._beforeAnimationBuild(et.player.namespaceId,et.instruction,bi))}),w.forEach(et=>{const ct=et.element;this._getPreviousPlayers(ct,!1,et.namespaceId,et.triggerName,null).forEach(xt=>{Bt(bi,ct,[]).push(xt),xt.destroy()})});const Yr=_n.filter(et=>rs(et,_e,Te)),_r=new Map;Io(_r,this.driver,ui,Te,ht.l3).forEach(et=>{rs(et,_e,Te)&&Yr.push(et)});const Ne=new Map;Nt.forEach((et,ct)=>{Io(Ne,this.driver,new Set(et),_e,ht.k1)}),Yr.forEach(et=>{const ct=_r.get(et),mt=Ne.get(et);_r.set(et,new Map([...ct?.entries()??[],...mt?.entries()??[]]))});const jt=[],No=[],go={};X.forEach(et=>{const{element:ct,player:mt,instruction:xt}=et;if(v.has(ct)){if(Xe.has(ct))return mt.onDestroy(()=>wn(ct,xt.toStyles)),mt.disabled=!0,mt.overrideTotalTime(xt.totalTime),void w.push(mt);let Hn=go;if(Br.size>1){let Hi=ct;const ls=[];for(;Hi=Hi.parentNode;){const Sn=Br.get(Hi);if(Sn){Hn=Sn;break}ls.push(Hi)}ls.forEach(Sn=>Br.set(Sn,Hn))}const Zi=this._buildAnimation(mt.namespaceId,xt,bi,F,Ne,_r);if(mt.setRealPlayer(Zi),Hn===go)jt.push(mt);else{const Hi=this.playersByElement.get(Hn);Hi&&Hi.length&&(mt.parentPlayer=Ke(Hi)),w.push(mt)}}else Dn(ct,xt.fromStyles),mt.onDestroy(()=>wn(ct,xt.toStyles)),No.push(mt),Xe.has(ct)&&w.push(mt)}),No.forEach(et=>{const ct=F.get(et.element);if(ct&&ct.length){const mt=Ke(ct);et.setRealPlayer(mt)}}),w.forEach(et=>{et.parentPlayer?et.syncPlayerEvents(et.parentPlayer):et.destroy()});for(let et=0;et<_n.length;et++){const ct=_n[et],mt=ct[sr];if(bs(ct,Qn),mt&&mt.hasAnimation)continue;let xt=[];if(ie.size){let Zi=ie.get(ct);Zi&&Zi.length&&xt.push(...Zi);let Hi=this.driver.query(ct,Ai,!0);for(let ls=0;ls<Hi.length;ls++){let Sn=ie.get(Hi[ls]);Sn&&Sn.length&&xt.push(...Sn)}}const Hn=xt.filter(Zi=>!Zi.destroyed);Hn.length?Da(this,ct,Hn):this.processLeaveNode(ct)}return _n.length=0,jt.forEach(et=>{this.players.push(et),et.onDone(()=>{et.destroy();const ct=this.players.indexOf(et);this.players.splice(ct,1)}),et.play()}),jt}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,l,v,w,F){let X=[];if(l){const ie=this.playersByQueriedElement.get(u);ie&&(X=ie)}else{const ie=this.playersByElement.get(u);if(ie){const _e=!F||F==Es;ie.forEach(Te=>{Te.queued||!_e&&Te.triggerName!=w||X.push(Te)})}}return(v||w)&&(X=X.filter(ie=>!(v&&v!=ie.namespaceId||w&&w!=ie.triggerName))),X}_beforeAnimationBuild(u,l,v){const F=l.element,X=l.isRemovalTransition?void 0:u,ie=l.isRemovalTransition?void 0:l.triggerName;for(const _e of l.timelines){const Te=_e.element,Xe=Te!==F,Qe=Bt(v,Te,[]);this._getPreviousPlayers(Te,Xe,X,ie,l.toState).forEach(Nt=>{const pt=Nt.getRealPlayer();pt.beforeDestroy&&pt.beforeDestroy(),Nt.destroy(),Qe.push(Nt)})}Dn(F,l.fromStyles)}_buildAnimation(u,l,v,w,F,X){const ie=l.triggerName,_e=l.element,Te=[],Xe=new Set,Qe=new Set,$t=l.timelines.map(pt=>{const Be=pt.element;Xe.add(Be);const _n=Be[sr];if(_n&&_n.removedBeforeQueried)return new ht.ZN(pt.duration,pt.delay);const li=Be!==_e,ui=function Gn(C){const u=[];return xr(C,u),u}((v.get(Be)||Ci).map(bi=>bi.getRealPlayer())).filter(bi=>!!bi.element&&bi.element===Be),xi=F.get(Be),ei=X.get(Be),Zr=st(this._normalizer,pt.keyframes,xi,ei),ci=this._buildPlayer(pt,Zr,ui);if(pt.subTimeline&&w&&Qe.add(Be),li){const bi=new Ds(u,ie,Be);bi.setRealPlayer(ci),Te.push(bi)}return ci});Te.forEach(pt=>{Bt(this.playersByQueriedElement,pt.element,[]).push(pt),pt.onDone(()=>function Us(C,u,l){let v=C.get(u);if(v){if(v.length){const w=v.indexOf(l);v.splice(w,1)}0==v.length&&C.delete(u)}return v}(this.playersByQueriedElement,pt.element,pt))}),Xe.forEach(pt=>On(pt,si));const Nt=Ke($t);return Nt.onDestroy(()=>{Xe.forEach(pt=>bs(pt,si)),wn(_e,l.toStyles)}),Qe.forEach(pt=>{Bt(w,pt,[]).push(Nt)}),Nt}_buildPlayer(u,l,v){return l.length>0?this.driver.animate(u.element,l,u.duration,u.delay,u.easing,v):new ht.ZN(u.duration,u.delay)}}class Ds{constructor(u,l,v){this.namespaceId=u,this.triggerName=l,this.element=v,this._player=new ht.ZN,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,v)=>{l.forEach(w=>Ut(u,v,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){Bt(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 Nr(C){return C&&1===C.nodeType}function Ao(C,u){const l=C.style.display;return C.style.display=u??"none",l}function Io(C,u,l,v,w){const F=[];l.forEach(_e=>F.push(Ao(_e)));const X=[];v.forEach((_e,Te)=>{const Xe=new Map;_e.forEach(Qe=>{const $t=u.computeStyle(Te,Qe,w);Xe.set(Qe,$t),(!$t||0==$t.length)&&(Te[sr]=Hs,X.push(Te))}),C.set(Te,Xe)});let ie=0;return l.forEach(_e=>Ao(_e,F[ie++])),X}function or(C,u){const l=new Map;if(C.forEach(ie=>l.set(ie,[])),0==u.length)return l;const w=new Set(u),F=new Map;function X(ie){if(!ie)return 1;let _e=F.get(ie);if(_e)return _e;const Te=ie.parentNode;return _e=l.has(Te)?Te:w.has(Te)?1:X(Te),F.set(ie,_e),_e}return u.forEach(ie=>{const _e=X(ie);1!==_e&&l.get(_e).push(ie)}),l}function On(C,u){C.classList?.add(u)}function bs(C,u){C.classList?.remove(u)}function Da(C,u,l){Ke(l).onDone(()=>C.processLeaveNode(u))}function xr(C,u){for(let l=0;l<C.length;l++){const v=C[l];v instanceof ht.ZE?xr(v.players,u):u.push(v)}}function rs(C,u,l){const v=l.get(C);if(!v)return!1;let w=u.get(C);return w?v.forEach(F=>w.add(F)):u.set(C,v),l.delete(C),!0}class ss{constructor(u,l,v){this.bodyNode=u,this._driver=l,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(w,F)=>{},this._transitionEngine=new Ea(u,l,v),this._timelineEngine=new M(u,l,v),this._transitionEngine.onRemovalComplete=(w,F)=>this.onRemovalComplete(w,F)}registerTrigger(u,l,v,w,F){const X=u+"-"+w;let ie=this._triggerCache[X];if(!ie){const _e=[],Xe=Tr(this._driver,F,_e,[]);if(_e.length)throw function pn(C,u){return new h.vHH(3404,!1)}();ie=function ai(C,u,l){return new _s(C,u,l)}(w,Xe,this._normalizer),this._triggerCache[X]=ie}this._transitionEngine.registerTrigger(l,w,ie)}register(u,l){this._transitionEngine.register(u,l)}destroy(u,l){this._transitionEngine.destroy(u,l)}onInsert(u,l,v,w){this._transitionEngine.insertNode(u,l,v,w)}onRemove(u,l,v){this._transitionEngine.removeNode(u,l,v)}disableAnimations(u,l){this._transitionEngine.markElementAsDisabled(u,l)}process(u,l,v,w){if("@"==v.charAt(0)){const[F,X]=_i(v);this._timelineEngine.command(F,l,X,w)}else this._transitionEngine.trigger(u,l,v,w)}listen(u,l,v,w,F){if("@"==v.charAt(0)){const[X,ie]=_i(v);return this._timelineEngine.listen(X,l,ie,F)}return this._transitionEngine.listen(u,l,v,w,F)}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)}}let eo=(()=>{class C{static#e=this.initialStylesByElement=new WeakMap;constructor(l,v,w){this._element=l,this._startStyles=v,this._endStyles=w,this._state=0;let F=C.initialStylesByElement.get(l);F||C.initialStylesByElement.set(l,F=new Map),this._initialStyles=F}start(){this._state<1&&(this._startStyles&&wn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wn(this._element,this._initialStyles),this._endStyles&&(wn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(C.initialStylesByElement.delete(this._element),this._startStyles&&(Dn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Dn(this._element,this._endStyles),this._endStyles=null),wn(this._element,this._initialStyles),this._state=3)}}return C})();function Ss(C){let u=null;return C.forEach((l,v)=>{(function uo(C){return"display"===C||"position"===C})(v)&&(u=u||new Map,u.set(v,l))}),u}class js{constructor(u,l,v,w){this.element=u,this.keyframes=l,this.options=v,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=v.duration,this._delay=v.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(v=>{l.push(Object.fromEntries(v))}),l}_triggerWebAnimation(u,l,v){return u.animate(this._convertKeyframesToObject(l),v)}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((v,w)=>{"offset"!==w&&u.set(w,this._finished?v:ys(this.element,w))}),this.currentSnapshot=u}triggerCallback(u){const l="start"===u?this._onStartFns:this._onDoneFns;l.forEach(v=>v()),l.length=0}}class os{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,l){return!1}containsElement(u,l){return Ct(u,l)}getParentElement(u){return te(u)}query(u,l,v){return zt(u,l,v)}computeStyle(u,l,v){return window.getComputedStyle(u)[l]}animate(u,l,v,w,F,X=[]){const _e={duration:v,delay:w,fill:0==w?"both":"forwards"};F&&(_e.easing=F);const Te=new Map,Xe=X.filter(Nt=>Nt instanceof js);(function gs(C,u){return 0===C||0===u})(v,w)&&Xe.forEach(Nt=>{Nt.currentSnapshot.forEach((pt,Be)=>Te.set(Be,pt))});let Qe=function Fs(C){return C.length?C[0]instanceof Map?C:C.map(u=>hr(u)):[]}(l).map(Nt=>Oi(Nt));Qe=function ms(C,u,l){if(l.size&&u.length){let v=u[0],w=[];if(l.forEach((F,X)=>{v.has(X)||w.push(X),v.set(X,F)}),w.length)for(let F=1;F<u.length;F++){let X=u[F];w.forEach(ie=>X.set(ie,ys(C,ie)))}}return u}(u,Qe,Te);const $t=function Wr(C,u){let l=null,v=null;return Array.isArray(u)&&u.length?(l=Ss(u[0]),u.length>1&&(v=Ss(u[u.length-1]))):u instanceof Map&&(l=Ss(u)),l||v?new eo(C,l,v):null}(u,Qe);return new js(u,Qe,_e,$t)}}let co=(()=>{class C extends ht._j{constructor(l,v){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(v.body,{id:"0",encapsulation:h.ifc.None,styles:[],data:{animation:[]}})}build(l){const v=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(l)?(0,ht.vP)(l):l;return Ms(this._renderer,null,v,"register",[w]),new ws(v,this._renderer)}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(h.FYo),h.LFG(R.K0))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();class ws extends ht.LC{constructor(u,l){super(),this._id=u,this._renderer=l}create(u,l){return new $s(this._id,u,l||{},this._renderer)}}class $s{constructor(u,l,v,w){this.id=u,this.element=l,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(u,l){return this._renderer.listen(this.element,`@@${this.id}:${u}`,l)}_command(u,...l){return Ms(this._renderer,this.element,this.id,u,l)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ms(C,u,l,v,w){return C.setProperty(u,`@@${l}:${v}`,w)}const Kr="@.disabled";let fo=(()=>{class C{constructor(l,v,w){this.delegate=l,this.engine=v,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,v.onRemovalComplete=(F,X)=>{const ie=X?.parentNode(F);ie&&X.removeChild(ie,F)}}createRenderer(l,v){const F=this.delegate.createRenderer(l,v);if(!(l&&v&&v.data&&v.data.animation)){let Xe=this._rendererCache.get(F);return Xe||(Xe=new zs("",F,this.engine,()=>this._rendererCache.delete(F)),this._rendererCache.set(F,Xe)),Xe}const X=v.id,ie=v.id+"-"+this._currentId;this._currentId++,this.engine.register(ie,l);const _e=Xe=>{Array.isArray(Xe)?Xe.forEach(_e):this.engine.registerTrigger(X,ie,l,Xe.name,Xe)};return v.data.animation.forEach(_e),new Ca(this,ie,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,v,w){l>=0&&l<this._microtaskId?this._zone.run(()=>v(w)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(F=>{const[X,ie]=F;X(ie)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,w]))}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()}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(h.FYo),h.LFG(ss),h.LFG(h.R0b))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();class zs{constructor(u,l,v,w){this.namespaceId=u,this.delegate=l,this.engine=v,this._onDestroy=w}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,v,w=!0){this.delegate.insertBefore(u,l,v),this.engine.onInsert(this.namespaceId,l,u,w)}removeChild(u,l,v){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,v,w){this.delegate.setAttribute(u,l,v,w)}removeAttribute(u,l,v){this.delegate.removeAttribute(u,l,v)}addClass(u,l){this.delegate.addClass(u,l)}removeClass(u,l){this.delegate.removeClass(u,l)}setStyle(u,l,v,w){this.delegate.setStyle(u,l,v,w)}removeStyle(u,l,v){this.delegate.removeStyle(u,l,v)}setProperty(u,l,v){"@"==l.charAt(0)&&l==Kr?this.disableAnimations(u,!!v):this.delegate.setProperty(u,l,v)}setValue(u,l){this.delegate.setValue(u,l)}listen(u,l,v){return this.delegate.listen(u,l,v)}disableAnimations(u,l){this.engine.disableAnimations(u,l)}}class Ca extends zs{constructor(u,l,v,w,F){super(l,v,w,F),this.factory=u,this.namespaceId=l}setProperty(u,l,v){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Kr?this.disableAnimations(u,v=void 0===v||!!v):this.engine.process(this.namespaceId,u,l.slice(1),v):this.delegate.setProperty(u,l,v)}listen(u,l,v){if("@"==l.charAt(0)){const w=function ba(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(u);let F=l.slice(1),X="";return"@"!=F.charAt(0)&&([F,X]=function Oo(C){const u=C.indexOf(".");return[C.substring(0,u),C.slice(u+1)]}(F)),this.engine.listen(this.namespaceId,w,F,X,ie=>{this.factory.scheduleListenerCallback(ie._data||-1,v,ie)})}return this.delegate.listen(u,l,v)}}const Ts=[{provide:ht._j,useClass:co},{provide:Ft,useFactory:function Sa(){return new qs}},{provide:ss,useClass:(()=>{class C extends ss{constructor(l,v,w,F){super(l.body,v,w)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(R.K0),h.LFG(un),h.LFG(Ft),h.LFG(h.z2F))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})()},{provide:h.FYo,useFactory:function as(C,u,l){return new fo(C,u,l)},deps:[o.se,ss,h.R0b]}],p=[{provide:un,useFactory:()=>new os},{provide:h.QbO,useValue:"BrowserAnimations"},...Ts],P=[{provide:un,useClass:mn},{provide:h.QbO,useValue:"NoopAnimations"},...Ts];let D=(()=>{class C{static withConfig(l){return{ngModule:C,providers:l.disableAnimations?P:p}}static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C});static#n=this.\u0275inj=h.cJS({providers:p,imports:[o.b2]})}return C})();var Pe=_(1865),rt=_(5609),rn=_(3259),en=_(4480),Zt=_(1567),At=_(2076);const yn=["submenu"],dn=["app-menuitem",""];function Wn(C,u){if(1&C&&(h.TgZ(0,"div",4),h._uU(1),h.qZA()),2&C){const l=h.oxw();h.xp6(1),h.Oqu(l.item.label)}}function ar(C,u){1&C&&h._UZ(0,"i",9)}function yi(C,u){if(1&C){const l=h.EpF();h.TgZ(0,"a",5),h.NdJ("click",function(w){h.CHM(l);const F=h.oxw();return h.KtG(F.itemClick(w))})("mouseenter",function(){h.CHM(l);const w=h.oxw();return h.KtG(w.onMouseEnter())}),h._UZ(1,"i",6),h.TgZ(2,"span",7),h._uU(3),h.qZA(),h.YNc(4,ar,1,0,"i",8),h.qZA()}if(2&C){const l=h.oxw();h.Q6J("ngClass",l.item.class)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root&&!l.active)),h.uIk("href",l.item.url,h.LSH)("target",l.item.target),h.xp6(1),h.Q6J("ngClass",l.item.icon),h.xp6(2),h.Oqu(l.item.label),h.xp6(1),h.Q6J("ngIf",l.item.items)}}function mr(C,u){1&C&&h._UZ(0,"i",9)}const Ni=function(){return{paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"}};function Fr(C,u){if(1&C){const l=h.EpF();h.TgZ(0,"a",10),h.NdJ("click",function(w){h.CHM(l);const F=h.oxw();return h.KtG(F.itemClick(w))})("mouseenter",function(){h.CHM(l);const w=h.oxw();return h.KtG(w.onMouseEnter())}),h._UZ(1,"i",6),h.TgZ(2,"span",7),h._uU(3),h.qZA(),h.YNc(4,mr,1,0,"i",8),h.qZA()}if(2&C){const l=h.oxw();h.Q6J("ngClass",l.item.class)("routerLink",l.item.routerLink)("routerLinkActiveOptions",l.item.routerLinkActiveOptions||h.DdM(16,Ni))("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)),h.uIk("target",l.item.target),h.xp6(1),h.Q6J("ngClass",l.item.icon),h.xp6(2),h.Oqu(l.item.label),h.xp6(1),h.Q6J("ngIf",l.item.items)}}function yr(C,u){if(1&C&&h._UZ(0,"li",13),2&C){const l=u.$implicit,v=u.index,w=h.oxw(2);h.Tol(l.badgeClass),h.Q6J("item",l)("index",v)("parentKey",w.key)}}function kr(C,u){if(1&C){const l=h.EpF();h.TgZ(0,"ul",null,11),h.NdJ("@children.done",function(w){h.CHM(l);const F=h.oxw();return h.KtG(F.onSubmenuAnimated(w))}),h.YNc(2,yr,1,5,"ng-template",12),h.qZA()}if(2&C){const l=h.oxw();h.Q6J("@children",l.submenuAnimation),h.xp6(2),h.Q6J("ngForOf",l.item.items)}}let wa=(()=>{class C{constructor(l,v,w,F,X){this.layoutService=l,this.cd=v,this.router=w,this.appSidebar=F,this.menuService=X,this.active=!1,this.key="",this.menuSourceSubscription=this.menuService.menuSource$.subscribe(ie=>{Promise.resolve(null).then(()=>{ie.routeEvent?this.active=!(ie.key!==this.key&&!ie.key.startsWith(this.key+"-")):ie.key!==this.key&&!ie.key.startsWith(this.key+"-")&&(this.active=!1)})}),this.menuResetSubscription=this.menuService.resetSource$.subscribe(()=>{this.active=!1}),this.router.events.pipe((0,N.h)(ie=>ie instanceof H.m2)).subscribe(ie=>{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 v=l.element;this.calculatePosition(v,v.parentElement)}}calculatePosition(l,v){if(l){const{left:w,top:F}=v.getBoundingClientRect(),[X,ie]=[window.innerWidth,window.innerHeight],[_e,Te]=[l.offsetWidth,l.offsetHeight],Xe=At.p.calculateScrollbarWidth();if(l.style.top="",l.style.left="",this.layoutService.isHorizontal()){const Qe=w+_e+Xe;l.style.left=X<Qe?w-(Qe-X)+"px":`${w}px`}else if(this.layoutService.isSlim()||this.layoutService.isSlimPlus()){const Qe=F+Te;l.style.top=ie<Qe?F-(Qe-ie)+"px":`${F}px`}}}itemClick(l){this.item.disabled?l.preventDefault():((this.root&&this.isSlim||this.isHorizontal||this.isSlimPlus)&&(this.layoutService.state.menuHoverActive=!this.layoutService.state.menuHoverActive),this.item.command&&this.item.command({originalEvent:l,item:this.item}),this.item.items?(this.active=!this.active,this.root&&this.active&&(this.isSlim||this.isHorizontal||this.isSlimPlus)&&this.layoutService.onOverlaySubmenuOpen()):(this.layoutService.isMobile()&&(this.layoutService.state.staticMenuMobileActive=!1),(this.isSlim||this.isHorizontal||this.isSlimPlus)&&(this.menuService.reset(),this.layoutService.state.menuHoverActive=!1)),this.menuService.onMenuStateChange({key:this.key}))}onMouseEnter(){this.root&&(this.isSlim||this.isHorizontal||this.isSlimPlus)&&this.layoutService.isDesktop()&&this.layoutService.state.menuHoverActive&&(this.active=!0,this.menuService.onMenuStateChange({key:this.key}))}get submenuAnimation(){return this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())?this.active?"visible":"hidden":this.root||this.active?"expanded":"collapsed"}get isHorizontal(){return this.layoutService.isHorizontal()}get isSlim(){return this.layoutService.isSlim()}get isSlimPlus(){return this.layoutService.isSlimPlus()}get activeClass(){return this.active&&!this.root}ngOnDestroy(){this.menuSourceSubscription&&this.menuSourceSubscription.unsubscribe(),this.menuResetSubscription&&this.menuResetSubscription.unsubscribe()}static#e=this.\u0275fac=function(v){return new(v||C)(h.Y36(j.P),h.Y36(h.sBO),h.Y36(H.F0),h.Y36(lt),h.Y36(q.h))};static#t=this.\u0275cmp=h.Xpm({type:C,selectors:[["","app-menuitem",""]],viewQuery:function(v,w){if(1&v&&h.Gf(yn,5),2&v){let F;h.iGM(F=h.CRH())&&(w.submenu=F.first)}},hostVars:4,hostBindings:function(v,w){2&v&&h.ekj("layout-root-menuitem",w.root)("active-menuitem",w.activeClass)},inputs:{item:"item",index:"index",root:"root",parentKey:"parentKey"},attrs:dn,decls:5,vars:4,consts:[["class","layout-menuitem-root-text",4,"ngIf"],["tabindex","0","pRipple","",3,"ngClass","pTooltip","tooltipDisabled","click","mouseenter",4,"ngIf"],["routerLinkActive","active-route","tabindex","0","pRipple","",3,"ngClass","routerLink","routerLinkActiveOptions","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","queryParams","pTooltip","tooltipDisabled","click","mouseenter",4,"ngIf"],[4,"ngIf"],[1,"layout-menuitem-root-text"],["tabindex","0","pRipple","",3,"ngClass","pTooltip","tooltipDisabled","click","mouseenter"],[1,"layout-menuitem-icon",3,"ngClass"],[1,"layout-menuitem-text"],["class","pi pi-fw pi-angle-down layout-submenu-toggler",4,"ngIf"],[1,"pi","pi-fw","pi-angle-down","layout-submenu-toggler"],["routerLinkActive","active-route","tabindex","0","pRipple","",3,"ngClass","routerLink","routerLinkActiveOptions","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","queryParams","pTooltip","tooltipDisabled","click","mouseenter"],["submenu",""],["ngFor","",3,"ngForOf"],["app-menuitem","",3,"item","index","parentKey"]],template:function(v,w){1&v&&(h.ynx(0),h.YNc(1,Wn,2,1,"div",0),h.YNc(2,yi,5,8,"a",1),h.YNc(3,Fr,5,17,"a",2),h.YNc(4,kr,3,2,"ul",3),h.BQk()),2&v&&(h.xp6(1),h.Q6J("ngIf",w.root&&!1!==w.item.visible),h.xp6(1),h.Q6J("ngIf",(!w.item.routerLink||w.item.items)&&!1!==w.item.visible),h.xp6(1),h.Q6J("ngIf",w.item.routerLink&&!w.item.items&&!1!==w.item.visible),h.xp6(1),h.Q6J("ngIf",w.item.items&&!1!==w.item.visible))},dependencies:[R.mk,R.sg,R.O5,rn.u,en.H,H.rH,H.Od,C],encapsulation:2,data:{animation:[(0,ht.X$)("children",[(0,ht.SB)("collapsed",(0,ht.oB)({height:"0"})),(0,ht.SB)("expanded",(0,ht.oB)({height:"*"})),(0,ht.SB)("hidden",(0,ht.oB)({display:"none"})),(0,ht.SB)("visible",(0,ht.oB)({display:"block"})),(0,ht.eR)("collapsed <=> expanded",(0,ht.jt)("400ms cubic-bezier(0.86, 0, 0.07, 1)"))])]}})}return C})();var As=_(6263);let Ma=(()=>{class C{static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C});static#n=this.\u0275inj=h.cJS({imports:[o.b2,sn.u5,V.JF,D,Ge.j,ot.l,K,Pe.cc,rt.Iu,se.hJ,rn.z,en.T,H.Bz,Zt.h,As.W]})}return C})();h.B6R(we,[R.sg,R.O5,H.rH,wa],[R.Ov]);var vr=_(8814);let Is=(()=>{class C{intercept(l,v){const w=localStorage.getItem("token");if(w){const F=l.clone({headers:l.headers.set("Authorization","Bearer "+w)});return v.handle(F)}return v.handle(l)}static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();var ho=_(8504);let vn=(()=>{class C{constructor(l){this.router=l}intercept(l,v){return v.handle(l).pipe((0,Re.K)(w=>{console.log("ErrorInterceptor status",w.status),401===w.status&&this.router.navigate(["/auth/login"]);let F="";return F=w.error instanceof ErrorEvent?`Error: ${w.error.message}`:`Error Code: ${w.status}\nMessage: ${w.message}`,console.error(F),(0,ho._)(F)}))}static#e=this.\u0275fac=function(v){return new(v||C)(h.LFG(H.F0))};static#t=this.\u0275prov=h.Yz7({token:C,factory:C.\u0275fac})}return C})();function po(C){return new T.w(C,"../assets/i18n/",".json")}let to=(()=>{class C{static#e=this.\u0275fac=function(v){return new(v||C)};static#t=this.\u0275mod=h.oAB({type:C,bootstrap:[Ue]});static#n=this.\u0275inj=h.cJS({providers:[vr.s,{provide:V.TP,useClass:Is,multi:!0},{provide:V.TP,useClass:vn,multi:!0},{provide:R.S$,useClass:R.Do}],imports:[ut,Ma,V.JF,z.aw.forRoot({loader:{provide:z.Zw,useFactory:po,deps:[V.eN]}})]})}return C})();o.q6().bootstrapModule(to).catch(C=>console.error(C))},4279:(ze,me,_)=>{_.d(me,{k:()=>z});var o=function(T){return"function"==typeof T},R=function(T){T&&o(T.unsubscribe)&&T.unsubscribe()},V=function(T){Array.isArray(T)&&T.forEach(R)};function z(T){var H=void 0===T?{}:T,N=H.blackList,h=void 0===N?[]:N,j=H.arrayName,A=void 0===j?"":j,B=H.event,U=void 0===B?"ngOnDestroy":B;return function(ce){var le=ce.prototype[U];if(!o(le))throw new Error(ce.name+" is using @AutoUnsubscribe but does not implement OnDestroy");ce.prototype[U]=function(){if(o(le)&&le.apply(this,arguments),A)V(this[A]);else for(var G in this)h.includes(G)||R(this[G])}}}},5619:(ze,me,_)=>{_.d(me,{X:()=>R});var o=_(8645);class R extends o.x{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const T=super._subscribe(z);return!T.closed&&z.next(this._value),T}getValue(){const{hasError:z,thrownError:T,_value:H}=this;if(z)throw T;return this._throwIfClosed(),H}next(z){super.next(this._value=z)}}},5592:(ze,me,_)=>{_.d(me,{y:()=>h});var o=_(305),R=_(7394),V=_(4850),z=_(8407),T=_(2653),H=_(4674),N=_(1441);let h=(()=>{class U{constructor(le){le&&(this._subscribe=le)}lift(le){const G=new U;return G.source=this,G.operator=le,G}subscribe(le,G,we){const ge=function B(U){return U&&U instanceof o.Lv||function A(U){return U&&(0,H.m)(U.next)&&(0,H.m)(U.error)&&(0,H.m)(U.complete)}(U)&&(0,R.Nn)(U)}(le)?le:new o.Hp(le,G,we);return(0,N.x)(()=>{const{operator:Ve,source:lt}=this;ge.add(Ve?Ve.call(ge,lt):lt?this._subscribe(ge):this._trySubscribe(ge))}),ge}_trySubscribe(le){try{return this._subscribe(le)}catch(G){le.error(G)}}forEach(le,G){return new(G=j(G))((we,ge)=>{const Ve=new o.Hp({next:lt=>{try{le(lt)}catch(Ge){ge(Ge),Ve.unsubscribe()}},error:ge,complete:we});this.subscribe(Ve)})}_subscribe(le){var G;return null===(G=this.source)||void 0===G?void 0:G.subscribe(le)}[V.L](){return this}pipe(...le){return(0,z.U)(le)(this)}toPromise(le){return new(le=j(le))((G,we)=>{let ge;this.subscribe(Ve=>ge=Ve,Ve=>we(Ve),()=>G(ge))})}}return U.create=ce=>new U(ce),U})();function j(U){var ce;return null!==(ce=U??T.config.Promise)&&void 0!==ce?ce:Promise}},8645:(ze,me,_)=>{_.d(me,{x:()=>N});var o=_(5592),R=_(7394);const z=(0,_(2306).d)(j=>function(){j(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=_(9039),H=_(1441);let N=(()=>{class j extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const U=new h(this,this);return U.operator=B,U}_throwIfClosed(){if(this.closed)throw new z}next(B){(0,H.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const U of this.currentObservers)U.next(B)}})}error(B){(0,H.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:U}=this;for(;U.length;)U.shift().error(B)}})}complete(){(0,H.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:U,isStopped:ce,observers:le}=this;return U||ce?R.Lc:(this.currentObservers=null,le.push(B),new R.w0(()=>{this.currentObservers=null,(0,T.P)(le,B)}))}_checkFinalizedStatuses(B){const{hasError:U,thrownError:ce,isStopped:le}=this;U?B.error(ce):le&&B.complete()}asObservable(){const B=new o.y;return B.source=this,B}}return j.create=(A,B)=>new h(A,B),j})();class h extends N{constructor(A,B){super(),this.destination=A,this.source=B}next(A){var B,U;null===(U=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===U||U.call(B,A)}error(A){var B,U;null===(U=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===U||U.call(B,A)}complete(){var A,B;null===(B=null===(A=this.destination)||void 0===A?void 0:A.complete)||void 0===B||B.call(A)}_subscribe(A){var B,U;return null!==(U=null===(B=this.source)||void 0===B?void 0:B.subscribe(A))&&void 0!==U?U:R.Lc}}},305:(ze,me,_)=>{_.d(me,{Hp:()=>we,Lv:()=>U});var o=_(4674),R=_(7394),V=_(2653),z=_(3894),T=_(2420);const H=j("C",void 0,void 0);function j(se,de,He){return{kind:se,value:de,error:He}}var A=_(7599),B=_(1441);class U extends R.w0{constructor(de){super(),this.isStopped=!1,de?(this.destination=de,(0,R.Nn)(de)&&de.add(this)):this.destination=Ge}static create(de,He,fe){return new we(de,He,fe)}next(de){this.isStopped?lt(function h(se){return j("N",se,void 0)}(de),this):this._next(de)}error(de){this.isStopped?lt(function N(se){return j("E",void 0,se)}(de),this):(this.isStopped=!0,this._error(de))}complete(){this.isStopped?lt(H,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 ce=Function.prototype.bind;function le(se,de){return ce.call(se,de)}class G{constructor(de){this.partialObserver=de}next(de){const{partialObserver:He}=this;if(He.next)try{He.next(de)}catch(fe){ge(fe)}}error(de){const{partialObserver:He}=this;if(He.error)try{He.error(de)}catch(fe){ge(fe)}else ge(de)}complete(){const{partialObserver:de}=this;if(de.complete)try{de.complete()}catch(He){ge(He)}}}class we extends U{constructor(de,He,fe){let ee;if(super(),(0,o.m)(de)||!de)ee={next:de??void 0,error:He??void 0,complete:fe??void 0};else{let J;this&&V.config.useDeprecatedNextContext?(J=Object.create(de),J.unsubscribe=()=>this.unsubscribe(),ee={next:de.next&&le(de.next,J),error:de.error&&le(de.error,J),complete:de.complete&&le(de.complete,J)}):ee=de}this.destination=new G(ee)}}function ge(se){V.config.useDeprecatedSynchronousErrorHandling?(0,B.O)(se):(0,z.h)(se)}function lt(se,de){const{onStoppedNotification:He}=V.config;He&&A.z.setTimeout(()=>He(se,de))}const Ge={closed:!0,next:T.Z,error:function Ve(se){throw se},complete:T.Z}},7394:(ze,me,_)=>{_.d(me,{Lc:()=>H,w0:()=>T,Nn:()=>N});var o=_(4674);const V=(0,_(2306).d)(j=>function(B){j(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((U,ce)=>`${ce+1}) ${U.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=B});var z=_(9039);class T{constructor(A){this.initialTeardown=A,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let A;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const le of B)le.remove(this);else B.remove(this);const{initialTeardown:U}=this;if((0,o.m)(U))try{U()}catch(le){A=le instanceof V?le.errors:[le]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const le of ce)try{h(le)}catch(G){A=A??[],G instanceof V?A=[...A,...G.errors]:A.push(G)}}if(A)throw new V(A)}}add(A){var B;if(A&&A!==this)if(this.closed)h(A);else{if(A instanceof T){if(A.closed||A._hasParent(this))return;A._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(A)}}_hasParent(A){const{_parentage:B}=this;return B===A||Array.isArray(B)&&B.includes(A)}_addParent(A){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(A),B):B?[B,A]:A}_removeParent(A){const{_parentage:B}=this;B===A?this._parentage=null:Array.isArray(B)&&(0,z.P)(B,A)}remove(A){const{_finalizers:B}=this;B&&(0,z.P)(B,A),A instanceof T&&A._removeParent(this)}}T.EMPTY=(()=>{const j=new T;return j.closed=!0,j})();const H=T.EMPTY;function N(j){return j instanceof T||j&&"closed"in j&&(0,o.m)(j.remove)&&(0,o.m)(j.add)&&(0,o.m)(j.unsubscribe)}function h(j){(0,o.m)(j)?j():j.unsubscribe()}},2653:(ze,me,_)=>{_.d(me,{config:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5211:(ze,me,_)=>{_.d(me,{z:()=>T});var o=_(7537),V=_(9940),z=_(7715);function T(...H){return function R(){return(0,o.J)(1)}()((0,z.D)(H,(0,V.yG)(H)))}},4911:(ze,me,_)=>{_.d(me,{P:()=>V});var o=_(5592),R=_(4829);function V(z){return new o.y(T=>{(0,R.Xf)(z()).subscribe(T)})}},6232:(ze,me,_)=>{_.d(me,{E:()=>R});const R=new(_(5592).y)(T=>T.complete())},9315:(ze,me,_)=>{_.d(me,{D:()=>h});var o=_(5592),R=_(7453),V=_(4829),z=_(9940),T=_(8251),H=_(7400),N=_(2714);function h(...j){const A=(0,z.jO)(j),{args:B,keys:U}=(0,R.D)(j),ce=new o.y(le=>{const{length:G}=B;if(!G)return void le.complete();const we=new Array(G);let ge=G,Ve=G;for(let lt=0;lt<G;lt++){let Ge=!1;(0,V.Xf)(B[lt]).subscribe((0,T.x)(le,se=>{Ge||(Ge=!0,Ve--),we[lt]=se},()=>ge--,void 0,()=>{(!ge||!Ge)&&(Ve||le.next(U?(0,N.n)(U,we):we),le.complete())}))}});return A?ce.pipe((0,H.Z)(A)):ce}},7715:(ze,me,_)=>{_.d(me,{D:()=>fe});var o=_(4829),R=_(7103),V=_(9360),z=_(8251);function T(ee,J=0){return(0,V.e)((We,q)=>{We.subscribe((0,z.x)(q,Le=>(0,R.f)(q,ee,()=>q.next(Le),J),()=>(0,R.f)(q,ee,()=>q.complete(),J),Le=>(0,R.f)(q,ee,()=>q.error(Le),J)))})}function H(ee,J=0){return(0,V.e)((We,q)=>{q.add(ee.schedule(()=>We.subscribe(q),J))})}var j=_(5592),B=_(4971),U=_(4674);function le(ee,J){if(!ee)throw new Error("Iterable cannot be null");return new j.y(We=>{(0,R.f)(We,J,()=>{const q=ee[Symbol.asyncIterator]();(0,R.f)(We,J,()=>{q.next().then(Le=>{Le.done?We.complete():We.next(Le.value)})},0,!0)})})}var G=_(8382),we=_(4026),ge=_(4266),Ve=_(3664),lt=_(5726),Ge=_(9853),se=_(541);function fe(ee,J){return J?function He(ee,J){if(null!=ee){if((0,G.c)(ee))return function N(ee,J){return(0,o.Xf)(ee).pipe(H(J),T(J))}(ee,J);if((0,ge.z)(ee))return function A(ee,J){return new j.y(We=>{let q=0;return J.schedule(function(){q===ee.length?We.complete():(We.next(ee[q++]),We.closed||this.schedule())})})}(ee,J);if((0,we.t)(ee))return function h(ee,J){return(0,o.Xf)(ee).pipe(H(J),T(J))}(ee,J);if((0,lt.D)(ee))return le(ee,J);if((0,Ve.T)(ee))return function ce(ee,J){return new j.y(We=>{let q;return(0,R.f)(We,J,()=>{q=ee[B.h](),(0,R.f)(We,J,()=>{let Le,be;try{({value:Le,done:be}=q.next())}catch(ot){return void We.error(ot)}be?We.complete():We.next(Le)},0,!0)}),()=>(0,U.m)(q?.return)&&q.return()})}(ee,J);if((0,se.L)(ee))return function de(ee,J){return le((0,se.Q)(ee),J)}(ee,J)}throw(0,Ge.z)(ee)}(ee,J):(0,o.Xf)(ee)}},4829:(ze,me,_)=>{_.d(me,{Xf:()=>ce});var o=_(7582),R=_(4266),V=_(4026),z=_(5592),T=_(8382),H=_(5726),N=_(9853),h=_(3664),j=_(541),A=_(4674),B=_(3894),U=_(4850);function ce(se){if(se instanceof z.y)return se;if(null!=se){if((0,T.c)(se))return function le(se){return new z.y(de=>{const He=se[U.L]();if((0,A.m)(He.subscribe))return He.subscribe(de);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(se);if((0,R.z)(se))return function G(se){return new z.y(de=>{for(let He=0;He<se.length&&!de.closed;He++)de.next(se[He]);de.complete()})}(se);if((0,V.t)(se))return function we(se){return new z.y(de=>{se.then(He=>{de.closed||(de.next(He),de.complete())},He=>de.error(He)).then(null,B.h)})}(se);if((0,H.D)(se))return Ve(se);if((0,h.T)(se))return function ge(se){return new z.y(de=>{for(const He of se)if(de.next(He),de.closed)return;de.complete()})}(se);if((0,j.L)(se))return function lt(se){return Ve((0,j.Q)(se))}(se)}throw(0,N.z)(se)}function Ve(se){return new z.y(de=>{(function Ge(se,de){var He,fe,ee,J;return(0,o.mG)(this,void 0,void 0,function*(){try{for(He=(0,o.KL)(se);!(fe=yield He.next()).done;)if(de.next(fe.value),de.closed)return}catch(We){ee={error:We}}finally{try{fe&&!fe.done&&(J=He.return)&&(yield J.call(He))}finally{if(ee)throw ee.error}}de.complete()})})(se,de).catch(He=>de.error(He))})}},2096:(ze,me,_)=>{_.d(me,{of:()=>V});var o=_(9940),R=_(7715);function V(...z){const T=(0,o.yG)(z);return(0,R.D)(z,T)}},8504:(ze,me,_)=>{_.d(me,{_:()=>V});var o=_(5592),R=_(4674);function V(z,T){const H=(0,R.m)(z)?z:()=>z,N=h=>h.error(H());return new o.y(T?h=>T.schedule(N,0,h):N)}},8251:(ze,me,_)=>{_.d(me,{x:()=>R});var o=_(305);function R(z,T,H,N,h){return new V(z,T,H,N,h)}class V extends o.Lv{constructor(T,H,N,h,j,A){super(T),this.onFinalize=j,this.shouldUnsubscribe=A,this._next=H?function(B){try{H(B)}catch(U){T.error(U)}}:super._next,this._error=h?function(B){try{h(B)}catch(U){T.error(U)}finally{this.unsubscribe()}}:super._error,this._complete=N?function(){try{N()}catch(B){T.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:H}=this;super.unsubscribe(),!H&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}},6306:(ze,me,_)=>{_.d(me,{K:()=>z});var o=_(4829),R=_(8251),V=_(9360);function z(T){return(0,V.e)((H,N)=>{let A,h=null,j=!1;h=H.subscribe((0,R.x)(N,void 0,void 0,B=>{A=(0,o.Xf)(T(B,z(T)(H))),h?(h.unsubscribe(),h=null,A.subscribe(N)):j=!0})),j&&(h.unsubscribe(),h=null,A.subscribe(N))})}},6328:(ze,me,_)=>{_.d(me,{b:()=>V});var o=_(1631),R=_(4674);function V(z,T){return(0,R.m)(T)?(0,o.z)(z,T,1):(0,o.z)(z,1)}},3997:(ze,me,_)=>{_.d(me,{x:()=>z});var o=_(2737),R=_(9360),V=_(8251);function z(H,N=o.y){return H=H??T,(0,R.e)((h,j)=>{let A,B=!0;h.subscribe((0,V.x)(j,U=>{const ce=N(U);(B||!H(A,ce))&&(B=!1,A=ce,j.next(U))}))})}function T(H,N){return H===N}},2181:(ze,me,_)=>{_.d(me,{h:()=>V});var o=_(9360),R=_(8251);function V(z,T){return(0,o.e)((H,N)=>{let h=0;H.subscribe((0,R.x)(N,j=>z.call(T,j,h++)&&N.next(j)))})}},4716:(ze,me,_)=>{_.d(me,{x:()=>R});var o=_(9360);function R(V){return(0,o.e)((z,T)=>{try{z.subscribe(T)}finally{T.add(V)}})}},7398:(ze,me,_)=>{_.d(me,{U:()=>V});var o=_(9360),R=_(8251);function V(z,T){return(0,o.e)((H,N)=>{let h=0;H.subscribe((0,R.x)(N,j=>{N.next(z.call(T,j,h++))}))})}},7537:(ze,me,_)=>{_.d(me,{J:()=>V});var o=_(1631),R=_(2737);function V(z=1/0){return(0,o.z)(R.y,z)}},1631:(ze,me,_)=>{_.d(me,{z:()=>h});var o=_(7398),R=_(4829),V=_(9360),z=_(7103),T=_(8251),N=_(4674);function h(j,A,B=1/0){return(0,N.m)(A)?h((U,ce)=>(0,o.U)((le,G)=>A(U,le,ce,G))((0,R.Xf)(j(U,ce))),B):("number"==typeof A&&(B=A),(0,V.e)((U,ce)=>function H(j,A,B,U,ce,le,G,we){const ge=[];let Ve=0,lt=0,Ge=!1;const se=()=>{Ge&&!ge.length&&!Ve&&A.complete()},de=fe=>Ve<U?He(fe):ge.push(fe),He=fe=>{le&&A.next(fe),Ve++;let ee=!1;(0,R.Xf)(B(fe,lt++)).subscribe((0,T.x)(A,J=>{ce?.(J),le?de(J):A.next(J)},()=>{ee=!0},void 0,()=>{if(ee)try{for(Ve--;ge.length&&Ve<U;){const J=ge.shift();G?(0,z.f)(A,G,()=>He(J)):He(J)}se()}catch(J){A.error(J)}}))};return j.subscribe((0,T.x)(A,de,()=>{Ge=!0,se()})),()=>{we?.()}}(U,ce,j,B)))}},3020:(ze,me,_)=>{_.d(me,{B:()=>T});var o=_(4829),R=_(8645),V=_(305),z=_(9360);function T(N={}){const{connector:h=(()=>new R.x),resetOnError:j=!0,resetOnComplete:A=!0,resetOnRefCountZero:B=!0}=N;return U=>{let ce,le,G,we=0,ge=!1,Ve=!1;const lt=()=>{le?.unsubscribe(),le=void 0},Ge=()=>{lt(),ce=G=void 0,ge=Ve=!1},se=()=>{const de=ce;Ge(),de?.unsubscribe()};return(0,z.e)((de,He)=>{we++,!Ve&&!ge&&lt();const fe=G=G??h();He.add(()=>{we--,0===we&&!Ve&&!ge&&(le=H(se,B))}),fe.subscribe(He),!ce&&we>0&&(ce=new V.Hp({next:ee=>fe.next(ee),error:ee=>{Ve=!0,lt(),le=H(Ge,j,ee),fe.error(ee)},complete:()=>{ge=!0,lt(),le=H(Ge,A),fe.complete()}}),(0,o.Xf)(de).subscribe(ce))})(U)}}function H(N,h,...j){if(!0===h)return void N();if(!1===h)return;const A=new V.Hp({next:()=>{A.unsubscribe(),N()}});return(0,o.Xf)(h(...j)).subscribe(A)}},940:(ze,me,_)=>{_.d(me,{d:()=>T});var o=_(8645),R=_(4552);class V extends o.x{constructor(N=1/0,h=1/0,j=R.l){super(),this._bufferSize=N,this._windowTime=h,this._timestampProvider=j,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,N),this._windowTime=Math.max(1,h)}next(N){const{isStopped:h,_buffer:j,_infiniteTimeWindow:A,_timestampProvider:B,_windowTime:U}=this;h||(j.push(N),!A&&j.push(B.now()+U)),this._trimBuffer(),super.next(N)}_subscribe(N){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(N),{_infiniteTimeWindow:j,_buffer:A}=this,B=A.slice();for(let U=0;U<B.length&&!N.closed;U+=j?1:2)N.next(B[U]);return this._checkFinalizedStatuses(N),h}_trimBuffer(){const{_bufferSize:N,_timestampProvider:h,_buffer:j,_infiniteTimeWindow:A}=this,B=(A?1:2)*N;if(N<1/0&&B<j.length&&j.splice(0,j.length-B),!A){const U=h.now();let ce=0;for(let le=1;le<j.length&&j[le]<=U;le+=2)ce=le;ce&&j.splice(0,ce+1)}}}var z=_(3020);function T(H,N,h){let j,A=!1;return H&&"object"==typeof H?({bufferSize:j=1/0,windowTime:N=1/0,refCount:A=!1,scheduler:h}=H):j=H??1/0,(0,z.B)({connector:()=>new V(j,N,h),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:A})}},7921:(ze,me,_)=>{_.d(me,{O:()=>z});var o=_(5211),R=_(9940),V=_(9360);function z(...T){const H=(0,R.yG)(T);return(0,V.e)((N,h)=>{(H?(0,o.z)(T,N,H):(0,o.z)(T,N)).subscribe(h)})}},4664:(ze,me,_)=>{_.d(me,{w:()=>z});var o=_(4829),R=_(9360),V=_(8251);function z(T,H){return(0,R.e)((N,h)=>{let j=null,A=0,B=!1;const U=()=>B&&!j&&h.complete();N.subscribe((0,V.x)(h,ce=>{j?.unsubscribe();let le=0;const G=A++;(0,o.Xf)(T(ce,G)).subscribe(j=(0,V.x)(h,we=>h.next(H?H(ce,we,G,le++):we),()=>{j=null,U()}))},()=>{B=!0,U()}))})}},8180:(ze,me,_)=>{_.d(me,{q:()=>z});var o=_(6232),R=_(9360),V=_(8251);function z(T){return T<=0?()=>o.E:(0,R.e)((H,N)=>{let h=0;H.subscribe((0,V.x)(N,j=>{++h<=T&&(N.next(j),T<=h&&N.complete())}))})}},9397:(ze,me,_)=>{_.d(me,{b:()=>T});var o=_(4674),R=_(9360),V=_(8251),z=_(2737);function T(H,N,h){const j=(0,o.m)(H)||N||h?{next:H,error:N,complete:h}:H;return j?(0,R.e)((A,B)=>{var U;null===(U=j.subscribe)||void 0===U||U.call(j);let ce=!0;A.subscribe((0,V.x)(B,le=>{var G;null===(G=j.next)||void 0===G||G.call(j,le),B.next(le)},()=>{var le;ce=!1,null===(le=j.complete)||void 0===le||le.call(j),B.complete()},le=>{var G;ce=!1,null===(G=j.error)||void 0===G||G.call(j,le),B.error(le)},()=>{var le,G;ce&&(null===(le=j.unsubscribe)||void 0===le||le.call(j)),null===(G=j.finalize)||void 0===G||G.call(j)}))}):z.y}},4552:(ze,me,_)=>{_.d(me,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},7599:(ze,me,_)=>{_.d(me,{z:()=>o});const o={setTimeout(R,V,...z){const{delegate:T}=o;return T?.setTimeout?T.setTimeout(R,V,...z):setTimeout(R,V,...z)},clearTimeout(R){const{delegate:V}=o;return(V?.clearTimeout||clearTimeout)(R)},delegate:void 0}},4971:(ze,me,_)=>{_.d(me,{h:()=>R});const R=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ze,me,_)=>{_.d(me,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(ze,me,_)=>{_.d(me,{_6:()=>H,jO:()=>z,yG:()=>T});var o=_(4674),R=_(671);function V(N){return N[N.length-1]}function z(N){return(0,o.m)(V(N))?N.pop():void 0}function T(N){return(0,R.K)(V(N))?N.pop():void 0}function H(N,h){return"number"==typeof V(N)?N.pop():h}},7453:(ze,me,_)=>{_.d(me,{D:()=>T});const{isArray:o}=Array,{getPrototypeOf:R,prototype:V,keys:z}=Object;function T(N){if(1===N.length){const h=N[0];if(o(h))return{args:h,keys:null};if(function H(N){return N&&"object"==typeof N&&R(N)===V}(h)){const j=z(h);return{args:j.map(A=>h[A]),keys:j}}}return{args:N,keys:null}}},9039:(ze,me,_)=>{function o(R,V){if(R){const z=R.indexOf(V);0<=z&&R.splice(z,1)}}_.d(me,{P:()=>o})},2306:(ze,me,_)=>{function o(R){const z=R(T=>{Error.call(T),T.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}_.d(me,{d:()=>o})},2714:(ze,me,_)=>{function o(R,V){return R.reduce((z,T,H)=>(z[T]=V[H],z),{})}_.d(me,{n:()=>o})},1441:(ze,me,_)=>{_.d(me,{O:()=>z,x:()=>V});var o=_(2653);let R=null;function V(T){if(o.config.useDeprecatedSynchronousErrorHandling){const H=!R;if(H&&(R={errorThrown:!1,error:null}),T(),H){const{errorThrown:N,error:h}=R;if(R=null,N)throw h}}else T()}function z(T){o.config.useDeprecatedSynchronousErrorHandling&&R&&(R.errorThrown=!0,R.error=T)}},7103:(ze,me,_)=>{function o(R,V,z,T=0,H=!1){const N=V.schedule(function(){z(),H?R.add(this.schedule(null,T)):this.unsubscribe()},T);if(R.add(N),!H)return N}_.d(me,{f:()=>o})},2737:(ze,me,_)=>{function o(R){return R}_.d(me,{y:()=>o})},4266:(ze,me,_)=>{_.d(me,{z:()=>o});const o=R=>R&&"number"==typeof R.length&&"function"!=typeof R},5726:(ze,me,_)=>{_.d(me,{D:()=>R});var o=_(4674);function R(V){return Symbol.asyncIterator&&(0,o.m)(V?.[Symbol.asyncIterator])}},4674:(ze,me,_)=>{function o(R){return"function"==typeof R}_.d(me,{m:()=>o})},8382:(ze,me,_)=>{_.d(me,{c:()=>V});var o=_(4850),R=_(4674);function V(z){return(0,R.m)(z[o.L])}},3664:(ze,me,_)=>{_.d(me,{T:()=>V});var o=_(4971),R=_(4674);function V(z){return(0,R.m)(z?.[o.h])}},2664:(ze,me,_)=>{_.d(me,{b:()=>V});var o=_(5592),R=_(4674);function V(z){return!!z&&(z instanceof o.y||(0,R.m)(z.lift)&&(0,R.m)(z.subscribe))}},4026:(ze,me,_)=>{_.d(me,{t:()=>R});var o=_(4674);function R(V){return(0,o.m)(V?.then)}},541:(ze,me,_)=>{_.d(me,{L:()=>z,Q:()=>V});var o=_(7582),R=_(4674);function V(T){return(0,o.FC)(this,arguments,function*(){const N=T.getReader();try{for(;;){const{value:h,done:j}=yield(0,o.qq)(N.read());if(j)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(h)}}finally{N.releaseLock()}})}function z(T){return(0,R.m)(T?.getReader)}},671:(ze,me,_)=>{_.d(me,{K:()=>R});var o=_(4674);function R(V){return V&&(0,o.m)(V.schedule)}},9360:(ze,me,_)=>{_.d(me,{A:()=>R,e:()=>V});var o=_(4674);function R(z){return(0,o.m)(z?.lift)}function V(z){return T=>{if(R(T))return T.lift(function(H){try{return z(H,this)}catch(N){this.error(N)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ze,me,_)=>{_.d(me,{Z:()=>z});var o=_(7398);const{isArray:R}=Array;function z(T){return(0,o.U)(H=>function V(T,H){return R(H)?T(...H):T(H)}(T,H))}},2420:(ze,me,_)=>{function o(){}_.d(me,{Z:()=>o})},8407:(ze,me,_)=>{_.d(me,{U:()=>V,z:()=>R});var o=_(2737);function R(...z){return V(z)}function V(z){return 0===z.length?o.y:1===z.length?z[0]:function(H){return z.reduce((N,h)=>h(N),H)}}},3894:(ze,me,_)=>{_.d(me,{h:()=>V});var o=_(2653),R=_(7599);function V(z){R.z.setTimeout(()=>{const{onUnhandledError:T}=o.config;if(!T)throw z;T(z)})}},9853:(ze,me,_)=>{function o(R){return new TypeError(`You provided ${null!==R&&"object"==typeof R?"an invalid object":`'${R}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(me,{z:()=>o})},6825:(ze,me,_)=>{_.d(me,{IO:()=>G,LC:()=>R,SB:()=>j,X$:()=>z,ZE:()=>Ve,ZN:()=>ge,_7:()=>le,_j:()=>o,eR:()=>B,jt:()=>T,k1:()=>lt,l3:()=>V,oB:()=>h,oQ:()=>U,pV:()=>ce,vP:()=>N});class o{}class R{}const V="*";function z(Ge,se){return{type:7,name:Ge,definitions:se,options:{}}}function T(Ge,se=null){return{type:4,styles:se,timings:Ge}}function N(Ge,se=null){return{type:2,steps:Ge,options:se}}function h(Ge){return{type:6,styles:Ge,offset:null}}function j(Ge,se,de){return{type:0,name:Ge,styles:se,options:de}}function B(Ge,se,de=null){return{type:1,expr:Ge,animation:se,options:de}}function U(Ge,se=null){return{type:8,animation:Ge,options:se}}function ce(Ge=null){return{type:9,options:Ge}}function le(Ge,se=null){return{type:10,animation:Ge,options:se}}function G(Ge,se,de=null){return{type:11,selector:Ge,animation:se,options:de}}class ge{constructor(se=0,de=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=se+de}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}onStart(se){this._originalOnStartFns.push(se),this._onStartFns.push(se)}onDone(se){this._originalOnDoneFns.push(se),this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(se=>se()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(se){this._position=this.totalTime?se*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(se){const de="start"==se?this._onStartFns:this._onDoneFns;de.forEach(He=>He()),de.length=0}}class Ve{constructor(se){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=se;let de=0,He=0,fe=0;const ee=this.players.length;0==ee?queueMicrotask(()=>this._onFinish()):this.players.forEach(J=>{J.onDone(()=>{++de==ee&&this._onFinish()}),J.onDestroy(()=>{++He==ee&&this._onDestroy()}),J.onStart(()=>{++fe==ee&&this._onStart()})}),this.totalTime=this.players.reduce((J,We)=>Math.max(J,We.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}init(){this.players.forEach(se=>se.init())}onStart(se){this._onStartFns.push(se)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(se=>se()),this._onStartFns=[])}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(se=>se.play())}pause(){this.players.forEach(se=>se.pause())}restart(){this.players.forEach(se=>se.restart())}finish(){this._onFinish(),this.players.forEach(se=>se.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(se=>se.destroy()),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this.players.forEach(se=>se.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(se){const de=se*this.totalTime;this.players.forEach(He=>{const fe=He.totalTime?Math.min(1,de/He.totalTime):1;He.setPosition(fe)})}getPosition(){const se=this.players.reduce((de,He)=>null===de||He.totalTime>de.totalTime?He:de,null);return null!=se?se.getPosition():0}beforeDestroy(){this.players.forEach(se=>{se.beforeDestroy&&se.beforeDestroy()})}triggerCallback(se){const de="start"==se?this._onStartFns:this._onDoneFns;de.forEach(He=>He()),de.length=0}}const lt="!"},6814:(ze,me,_)=>{_.d(me,{Do:()=>we,EM:()=>er,H9:()=>Xi,HT:()=>z,JF:()=>tr,K0:()=>H,Mx:()=>Mt,NF:()=>Jn,O5:()=>zi,Ov:()=>Js,PC:()=>zn,PM:()=>nn,S$:()=>ce,V_:()=>h,Ye:()=>ge,b0:()=>G,bD:()=>Qt,ez:()=>bt,mk:()=>Kt,q:()=>V,rS:()=>Bn,sg:()=>si,tP:()=>Ji,uU:()=>pr,w_:()=>T});var o=_(2029);let R=null;function V(){return R}function z(p){R||(R=p)}class T{}const H=new o.OlP("DocumentToken");let N=(()=>{class p{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(j)},providedIn:"platform"})}return p})();const h=new o.OlP("Location Initialized");let j=(()=>{class p extends N{constructor(){super(),this._doc=(0,o.f3M)(H),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return V().getBaseHref(this._doc)}onPopState(D){const I=V().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",D,!1),()=>I.removeEventListener("popstate",D)}onHashChange(D){const I=V().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=o.Yz7({token:p,factory:function(){return new p},providedIn:"platform"})}return p})();function A(p,P){if(0==p.length)return P;if(0==P.length)return p;let D=0;return p.endsWith("/")&&D++,P.startsWith("/")&&D++,2==D?p+P.substring(1):1==D?p+P:p+"/"+P}function B(p){const P=p.match(/#|\?|$/),D=P&&P.index||p.length;return p.slice(0,D-("/"===p[D-1]?1:0))+p.slice(D)}function U(p){return p&&"?"!==p[0]?"?"+p:p}let ce=(()=>{class p{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(G)},providedIn:"root"})}return p})();const le=new o.OlP("appBaseHref");let G=(()=>{class p extends ce{constructor(D,I){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(H).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 A(this._baseHref,D)}path(D=!1){const I=this._platformLocation.pathname+U(this._platformLocation.search),Z=this._platformLocation.hash;return Z&&D?`${I}${Z}`:I}pushState(D,I,Z,Se){const Pe=this.prepareExternalUrl(Z+U(Se));this._platformLocation.pushState(D,I,Pe)}replaceState(D,I,Z,Se){const Pe=this.prepareExternalUrl(Z+U(Se));this._platformLocation.replaceState(D,I,Pe)}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)(o.LFG(N),o.LFG(le,8))};static#t=this.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),we=(()=>{class p extends ce{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){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(D){const I=A(this._baseHref,D);return I.length>0?"#"+I:I}pushState(D,I,Z,Se){let Pe=this.prepareExternalUrl(Z+U(Se));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.pushState(D,I,Pe)}replaceState(D,I,Z,Se){let Pe=this.prepareExternalUrl(Z+U(Se));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.replaceState(D,I,Pe)}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)(o.LFG(N),o.LFG(le,8))};static#t=this.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac})}return p})(),ge=(()=>{class p{constructor(D){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const I=this._locationStrategy.getBaseHref();this._basePath=function se(p){if(new RegExp("^(https?:)?//").test(p)){const[,D]=p.split(/\/\/[^\/]+/);return D}return p}(B(Ge(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+U(I))}normalize(D){return p.stripTrailingSlash(function lt(p,P){if(!p||!P.startsWith(p))return P;const D=P.substring(p.length);return""===D||["/",";","?","#"].includes(D[0])?D:P}(this._basePath,Ge(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+U(I)),Z)}replaceState(D,I="",Z=null){this._locationStrategy.replaceState(Z,"",D,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+U(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._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=U;static#t=this.joinWithSlash=A;static#n=this.stripTrailingSlash=B;static#i=this.\u0275fac=function(I){return new(I||p)(o.LFG(ce))};static#r=this.\u0275prov=o.Yz7({token:p,factory:function(){return function Ve(){return new ge((0,o.LFG)(ce))}()},providedIn:"root"})}return p})();function Ge(p){return p.replace(/\/index.html$/,"")}const de={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var He=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(He||{}),ee=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(ee||{}),J=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(J||{}),We=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(We||{}),q=function(p){return p[p.Decimal=0]="Decimal",p[p.Group=1]="Group",p[p.List=2]="List",p[p.PercentSign=3]="PercentSign",p[p.PlusSign=4]="PlusSign",p[p.MinusSign=5]="MinusSign",p[p.Exponential=6]="Exponential",p[p.SuperscriptingExponent=7]="SuperscriptingExponent",p[p.PerMille=8]="PerMille",p[p.Infinity=9]="Infinity",p[p.NaN=10]="NaN",p[p.TimeSeparator=11]="TimeSeparator",p[p.CurrencyDecimal=12]="CurrencyDecimal",p[p.CurrencyGroup=13]="CurrencyGroup",p}(q||{});function oe(p,P){return hn((0,o.cg1)(p)[o.wAp.DateFormat],P)}function pe(p,P){return hn((0,o.cg1)(p)[o.wAp.TimeFormat],P)}function ve(p,P){return hn((0,o.cg1)(p)[o.wAp.DateTimeFormat],P)}function xe(p,P){const D=(0,o.cg1)(p),I=D[o.wAp.NumberSymbols][P];if(typeof I>"u"){if(P===q.CurrencyDecimal)return D[o.wAp.NumberSymbols][q.Decimal];if(P===q.CurrencyGroup)return D[o.wAp.NumberSymbols][q.Group]}return I}function kt(p){if(!p[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hn(p,P){for(let D=P;D>-1;D--)if(typeof p[D]<"u")return p[D];throw new Error("Locale data API: locale data undefined")}function Ht(p){const[P,D]=p.split(":");return{hours:+P,minutes:+D}}const Ui=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},Zn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ln=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(Ln||{}),vt=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(vt||{}),Rt=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(Rt||{});function dr(p,P,D,I){let Z=function Me(p){if(Y(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[Z,Se=1,Pe=1]=p.split("-").map(rt=>+rt);return hi(Z,Se-1,Pe)}const D=parseFloat(p);if(!isNaN(p-D))return new Date(D);let I;if(I=p.match(Ui))return function Ee(p){const P=new Date(0);let D=0,I=0;const Z=p[8]?P.setUTCFullYear:P.setFullYear,Se=p[8]?P.setUTCHours:P.setHours;p[9]&&(D=Number(p[9]+p[10]),I=Number(p[9]+p[11])),Z.call(P,Number(p[1]),Number(p[2])-1,Number(p[3]));const Pe=Number(p[4]||0)-D,rt=Number(p[5]||0)-I,rn=Number(p[6]||0),en=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return Se.call(P,Pe,rt,rn,en),P}(I)}const P=new Date(p);if(!Y(P))throw new Error(`Unable to convert "${p}" into a date`);return P}(p);P=Et(D,P)||P;let rt,Pe=[];for(;P;){if(rt=Zn.exec(P),!rt){Pe.push(P);break}{Pe=Pe.concat(rt.slice(1));const Zt=Pe.pop();if(!Zt)break;P=Zt}}let rn=Z.getTimezoneOffset();I&&(rn=$r(I,rn),Z=function Fi(p,P,D){const I=D?-1:1,Z=p.getTimezoneOffset();return function fr(p,P){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+P),p}(p,I*($r(P,Z)-Z))}(Z,I,!0));let en="";return Pe.forEach(Zt=>{const At=function $i(p){if(ii[p])return ii[p];let P;switch(p){case"G":case"GG":case"GGG":P=gt(Rt.Eras,J.Abbreviated);break;case"GGGG":P=gt(Rt.Eras,J.Wide);break;case"GGGGG":P=gt(Rt.Eras,J.Narrow);break;case"y":P=qt(vt.FullYear,1,0,!1,!0);break;case"yy":P=qt(vt.FullYear,2,0,!0,!0);break;case"yyy":P=qt(vt.FullYear,3,0,!1,!0);break;case"yyyy":P=qt(vt.FullYear,4,0,!1,!0);break;case"Y":P=ji(1);break;case"YY":P=ji(2,!0);break;case"YYY":P=ji(3);break;case"YYYY":P=ji(4);break;case"M":case"L":P=qt(vt.Month,1,1);break;case"MM":case"LL":P=qt(vt.Month,2,1);break;case"MMM":P=gt(Rt.Months,J.Abbreviated);break;case"MMMM":P=gt(Rt.Months,J.Wide);break;case"MMMMM":P=gt(Rt.Months,J.Narrow);break;case"LLL":P=gt(Rt.Months,J.Abbreviated,ee.Standalone);break;case"LLLL":P=gt(Rt.Months,J.Wide,ee.Standalone);break;case"LLLLL":P=gt(Rt.Months,J.Narrow,ee.Standalone);break;case"w":P=Yn(1);break;case"ww":P=Yn(2);break;case"W":P=Yn(1,!0);break;case"d":P=qt(vt.Date,1);break;case"dd":P=qt(vt.Date,2);break;case"c":case"cc":P=qt(vt.Day,1);break;case"ccc":P=gt(Rt.Days,J.Abbreviated,ee.Standalone);break;case"cccc":P=gt(Rt.Days,J.Wide,ee.Standalone);break;case"ccccc":P=gt(Rt.Days,J.Narrow,ee.Standalone);break;case"cccccc":P=gt(Rt.Days,J.Short,ee.Standalone);break;case"E":case"EE":case"EEE":P=gt(Rt.Days,J.Abbreviated);break;case"EEEE":P=gt(Rt.Days,J.Wide);break;case"EEEEE":P=gt(Rt.Days,J.Narrow);break;case"EEEEEE":P=gt(Rt.Days,J.Short);break;case"a":case"aa":case"aaa":P=gt(Rt.DayPeriods,J.Abbreviated);break;case"aaaa":P=gt(Rt.DayPeriods,J.Wide);break;case"aaaaa":P=gt(Rt.DayPeriods,J.Narrow);break;case"b":case"bb":case"bbb":P=gt(Rt.DayPeriods,J.Abbreviated,ee.Standalone,!0);break;case"bbbb":P=gt(Rt.DayPeriods,J.Wide,ee.Standalone,!0);break;case"bbbbb":P=gt(Rt.DayPeriods,J.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":P=gt(Rt.DayPeriods,J.Abbreviated,ee.Format,!0);break;case"BBBB":P=gt(Rt.DayPeriods,J.Wide,ee.Format,!0);break;case"BBBBB":P=gt(Rt.DayPeriods,J.Narrow,ee.Format,!0);break;case"h":P=qt(vt.Hours,1,-12);break;case"hh":P=qt(vt.Hours,2,-12);break;case"H":P=qt(vt.Hours,1);break;case"HH":P=qt(vt.Hours,2);break;case"m":P=qt(vt.Minutes,1);break;case"mm":P=qt(vt.Minutes,2);break;case"s":P=qt(vt.Seconds,1);break;case"ss":P=qt(vt.Seconds,2);break;case"S":P=qt(vt.FractionalSeconds,1);break;case"SS":P=qt(vt.FractionalSeconds,2);break;case"SSS":P=qt(vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":P=ni(Ln.Short);break;case"ZZZZZ":P=ni(Ln.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":P=ni(Ln.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":P=ni(Ln.Long);break;default:return null}return ii[p]=P,P}(Zt);en+=At?At(Z,D,rn):"''"===Zt?"'":Zt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),en}function hi(p,P,D){const I=new Date(0);return I.setFullYear(p,P,D),I.setHours(0,0,0),I}function Et(p,P){const D=function be(p){return(0,o.cg1)(p)[o.wAp.LocaleId]}(p);if(Un[D]=Un[D]||{},Un[D][P])return Un[D][P];let I="";switch(P){case"shortDate":I=oe(p,We.Short);break;case"mediumDate":I=oe(p,We.Medium);break;case"longDate":I=oe(p,We.Long);break;case"fullDate":I=oe(p,We.Full);break;case"shortTime":I=pe(p,We.Short);break;case"mediumTime":I=pe(p,We.Medium);break;case"longTime":I=pe(p,We.Long);break;case"fullTime":I=pe(p,We.Full);break;case"short":const Z=Et(p,"shortTime"),Se=Et(p,"shortDate");I=Ti(ve(p,We.Short),[Z,Se]);break;case"medium":const Pe=Et(p,"mediumTime"),rt=Et(p,"mediumDate");I=Ti(ve(p,We.Medium),[Pe,rt]);break;case"long":const rn=Et(p,"longTime"),en=Et(p,"longDate");I=Ti(ve(p,We.Long),[rn,en]);break;case"full":const Zt=Et(p,"fullTime"),At=Et(p,"fullDate");I=Ti(ve(p,We.Full),[Zt,At])}return I&&(Un[D][P]=I),I}function Ti(p,P){return P&&(p=p.replace(/\{([^}]+)}/g,function(D,I){return null!=P&&I in P?P[I]:D})),p}function An(p,P,D="-",I,Z){let Se="";(p<0||Z&&p<=0)&&(Z?p=1-p:(p=-p,Se=D));let Pe=String(p);for(;Pe.length<P;)Pe="0"+Pe;return I&&(Pe=Pe.slice(Pe.length-P)),Se+Pe}function qt(p,P,D=0,I=!1,Z=!1){return function(Se,Pe){let rt=function ps(p,P){switch(p){case vt.FullYear:return P.getFullYear();case vt.Month:return P.getMonth();case vt.Date:return P.getDate();case vt.Hours:return P.getHours();case vt.Minutes:return P.getMinutes();case vt.Seconds:return P.getSeconds();case vt.FractionalSeconds:return P.getMilliseconds();case vt.Day:return P.getDay();default:throw new Error(`Unknown DateType value "${p}".`)}}(p,Se);if((D>0||rt>-D)&&(rt+=D),p===vt.Hours)0===rt&&-12===D&&(rt=12);else if(p===vt.FractionalSeconds)return function Rn(p,P){return An(p,3).substring(0,P)}(rt,P);const rn=xe(Pe,q.MinusSign);return An(rt,P,rn,I,Z)}}function gt(p,P,D=ee.Format,I=!1){return function(Z,Se){return function jr(p,P,D,I,Z,Se){switch(D){case Rt.Months:return function ke(p,P,D){const I=(0,o.cg1)(p),Se=hn([I[o.wAp.MonthsFormat],I[o.wAp.MonthsStandalone]],P);return hn(Se,D)}(P,Z,I)[p.getMonth()];case Rt.Days:return function ft(p,P,D){const I=(0,o.cg1)(p),Se=hn([I[o.wAp.DaysFormat],I[o.wAp.DaysStandalone]],P);return hn(Se,D)}(P,Z,I)[p.getDay()];case Rt.DayPeriods:const Pe=p.getHours(),rt=p.getMinutes();if(Se){const en=function Ue(p){const P=(0,o.cg1)(p);return kt(P),(P[o.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?Ht(I):[Ht(I[0]),Ht(I[1])])}(P),Zt=function sn(p,P,D){const I=(0,o.cg1)(p);kt(I);const Se=hn([I[o.wAp.ExtraData][0],I[o.wAp.ExtraData][1]],P)||[];return hn(Se,D)||[]}(P,Z,I),At=en.findIndex(yn=>{if(Array.isArray(yn)){const[dn,Wn]=yn,ar=Pe>=dn.hours&&rt>=dn.minutes,yi=Pe<Wn.hours||Pe===Wn.hours&&rt<Wn.minutes;if(dn.hours<Wn.hours){if(ar&&yi)return!0}else if(ar||yi)return!0}else if(yn.hours===Pe&&yn.minutes===rt)return!0;return!1});if(-1!==At)return Zt[At]}return function ot(p,P,D){const I=(0,o.cg1)(p),Se=hn([I[o.wAp.DayPeriodsFormat],I[o.wAp.DayPeriodsStandalone]],P);return hn(Se,D)}(P,Z,I)[Pe<12?0:1];case Rt.Eras:return function at(p,P){return hn((0,o.cg1)(p)[o.wAp.Eras],P)}(P,I)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${D}`)}}(Z,Se,p,P,D,I)}}function ni(p){return function(P,D,I){const Z=-1*I,Se=xe(D,q.MinusSign),Pe=Z>0?Math.floor(Z/60):Math.ceil(Z/60);switch(p){case Ln.Short:return(Z>=0?"+":"")+An(Pe,2,Se)+An(Math.abs(Z%60),2,Se);case Ln.ShortGMT:return"GMT"+(Z>=0?"+":"")+An(Pe,1,Se);case Ln.Long:return"GMT"+(Z>=0?"+":"")+An(Pe,2,Se)+":"+An(Math.abs(Z%60),2,Se);case Ln.Extended:return 0===I?"Z":(Z>=0?"+":"")+An(Pe,2,Se)+":"+An(Math.abs(Z%60),2,Se);default:throw new Error(`Unknown zone width "${p}"`)}}}const Dt=0,St=4;function Fn(p){return hi(p.getFullYear(),p.getMonth(),p.getDate()+(St-p.getDay()))}function Yn(p,P=!1){return function(D,I){let Z;if(P){const Se=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,Pe=D.getDate();Z=1+Math.floor((Pe+Se)/7)}else{const Se=Fn(D),Pe=function pn(p){const P=hi(p,Dt,1).getDay();return hi(p,0,1+(P<=St?St:St+7)-P)}(Se.getFullYear()),rt=Se.getTime()-Pe.getTime();Z=1+Math.round(rt/6048e5)}return An(Z,p,xe(I,q.MinusSign))}}function ji(p,P=!1){return function(D,I){return An(Fn(D).getFullYear(),p,xe(I,q.MinusSign),P)}}const ii={};function $r(p,P){p=p.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(D)?P:D}function Y(p){return p instanceof Date&&!isNaN(p.valueOf())}const ae=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ie=22,Ke=".",st="0",Ut=";",wt=",",on="#";function te(p,P,D,I,Z){const Pe=function $e(p,P="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=p.split(Ut),Z=I[0],Se=I[1],Pe=-1!==Z.indexOf(Ke)?Z.split(Ke):[Z.substring(0,Z.lastIndexOf(st)+1),Z.substring(Z.lastIndexOf(st)+1)],rt=Pe[0],rn=Pe[1]||"";D.posPre=rt.substring(0,rt.indexOf(on));for(let Zt=0;Zt<rn.length;Zt++){const At=rn.charAt(Zt);At===st?D.minFrac=D.maxFrac=Zt+1:At===on?D.maxFrac=Zt+1:D.posSuf+=At}const en=rt.split(wt);if(D.gSize=en[1]?en[1].length:0,D.lgSize=en[2]||en[1]?(en[2]||en[1]).length:0,Se){const Zt=Z.length-D.posPre.length-D.posSuf.length,At=Se.indexOf(on);D.negPre=Se.substring(0,At).replace(/'/g,""),D.negSuf=Se.slice(At+Zt).replace(/'/g,"")}else D.negPre=P+D.posPre,D.negSuf=D.posSuf;return D}(function Re(p,P){return(0,o.cg1)(p)[o.wAp.NumberFormats][P]}(P,He.Currency),xe(P,q.MinusSign));return Pe.minFrac=function ti(p){let P;const D=de[p];return D&&(P=D[2]),"number"==typeof P?P:2}(I),Pe.maxFrac=Pe.minFrac,function he(p,P,D,I,Z,Se,Pe=!1){let rt="",rn=!1;if(isFinite(p)){let en=function Ze(p){let I,Z,Se,Pe,rt,P=Math.abs(p)+"",D=0;for((Z=P.indexOf(Ke))>-1&&(P=P.replace(Ke,"")),(Se=P.search(/e/i))>0?(Z<0&&(Z=Se),Z+=+P.slice(Se+1),P=P.substring(0,Se)):Z<0&&(Z=P.length),Se=0;P.charAt(Se)===st;Se++);if(Se===(rt=P.length))I=[0],Z=1;else{for(rt--;P.charAt(rt)===st;)rt--;for(Z-=Se,I=[],Pe=0;Se<=rt;Se++,Pe++)I[Pe]=Number(P.charAt(Se))}return Z>Ie&&(I=I.splice(0,Ie-1),D=Z-1,Z=1),{digits:I,exponent:D,integerLen:Z}}(p);Pe&&(en=function Ye(p){if(0===p.digits[0])return p;const P=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===P?p.digits.push(0,0):1===P&&p.digits.push(0),p.integerLen+=2),p}(en));let Zt=P.minInt,At=P.minFrac,yn=P.maxFrac;if(Se){const Ni=Se.match(ae);if(null===Ni)throw new Error(`${Se} is not a valid digit info`);const Fr=Ni[1],yr=Ni[3],kr=Ni[5];null!=Fr&&(Zt=Ct(Fr)),null!=yr&&(At=Ct(yr)),null!=kr?yn=Ct(kr):null!=yr&&At>yn&&(yn=At)}!function an(p,P,D){if(P>D)throw new Error(`The minimum number of digits after fraction (${P}) is higher than the maximum (${D}).`);let I=p.digits,Z=I.length-p.integerLen;const Se=Math.min(Math.max(P,Z),D);let Pe=Se+p.integerLen,rt=I[Pe];if(Pe>0){I.splice(Math.max(p.integerLen,Pe));for(let At=Pe;At<I.length;At++)I[At]=0}else{Z=Math.max(0,Z),p.integerLen=1,I.length=Math.max(1,Pe=Se+1),I[0]=0;for(let At=1;At<Pe;At++)I[At]=0}if(rt>=5)if(Pe-1<0){for(let At=0;At>Pe;At--)I.unshift(0),p.integerLen++;I.unshift(1),p.integerLen++}else I[Pe-1]++;for(;Z<Math.max(0,Se);Z++)I.push(0);let rn=0!==Se;const en=P+p.integerLen,Zt=I.reduceRight(function(At,yn,dn,Wn){return Wn[dn]=(yn+=At)<10?yn:yn-10,rn&&(0===Wn[dn]&&dn>=en?Wn.pop():rn=!1),yn>=10?1:0},0);Zt&&(I.unshift(Zt),p.integerLen++)}(en,At,yn);let dn=en.digits,Wn=en.integerLen;const ar=en.exponent;let yi=[];for(rn=dn.every(Ni=>!Ni);Wn<Zt;Wn++)dn.unshift(0);for(;Wn<0;Wn++)dn.unshift(0);Wn>0?yi=dn.splice(Wn,dn.length):(yi=dn,dn=[0]);const mr=[];for(dn.length>=P.lgSize&&mr.unshift(dn.splice(-P.lgSize,dn.length).join(""));dn.length>P.gSize;)mr.unshift(dn.splice(-P.gSize,dn.length).join(""));dn.length&&mr.unshift(dn.join("")),rt=mr.join(xe(D,I)),yi.length&&(rt+=xe(D,Z)+yi.join("")),ar&&(rt+=xe(D,q.Exponential)+"+"+ar)}else rt=xe(D,q.Infinity);return rt=p<0&&!rn?P.negPre+rt+P.negSuf:P.posPre+rt+P.posSuf,rt}(p,Pe,P,q.CurrencyGroup,q.CurrencyDecimal,Z).replace("\xa4",D).replace("\xa4","").trim()}function Ct(p){const P=parseInt(p);if(isNaN(P))throw new Error("Invalid integer literal when parsing "+p);return P}function Mt(p,P){P=encodeURIComponent(P);for(const D of p.split(";")){const I=D.indexOf("="),[Z,Se]=-1==I?[D,""]:[D.slice(0,I),D.slice(I+1)];if(Z.trim()===P)return decodeURIComponent(Se)}return null}const Pn=/\s+/,Wt=[];let Kt=(()=>{class p{constructor(D,I,Z,Se){this._iterableDiffers=D,this._keyValueDiffers=I,this._ngEl=Z,this._renderer=Se,this.initialClasses=Wt,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(Pn):Wt}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(Pn):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(Pn).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)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class Xt{constructor(P,D,I,Z){this.$implicit=P,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 si=(()=>{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,Se,Pe)=>{if(null==Z.previousIndex)I.createEmbeddedView(this._template,new Xt(Z.item,this._ngForOf,-1,-1),null===Pe?void 0:Pe);else if(null==Pe)I.remove(null===Se?void 0:Se);else if(null!==Se){const rt=I.get(Se);I.move(rt,Pe),Ai(rt,Z)}});for(let Z=0,Se=I.length;Z<Se;Z++){const rt=I.get(Z).context;rt.index=Z,rt.count=Se,rt.ngForOf=this._ngForOf}D.forEachIdentityChange(Z=>{Ai(I.get(Z.currentIndex),Z)})}static ngTemplateContextGuard(D,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function Ai(p,P){p.context.$implicit=P.item}let zi=(()=>{class p{constructor(D,I){this._viewContainer=D,this._context=new $n,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)(o.Y36(o.s_b),o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class $n{constructor(){this.$implicit=null,this.ngIf=null}}function wr(p,P){if(P&&!P.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,o.AaK)(P)}'.`)}let zn=(()=>{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,Se]=D.split("."),Pe=-1===Z.indexOf("-")?void 0:o.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,Z,Se?`${I}${Se}`:I,Pe):this._renderer.removeStyle(this._ngEl.nativeElement,Z,Pe)}_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)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),Ji=(()=>{class p{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Z,ngTemplateOutletContext:Se,ngTemplateOutletInjector:Pe}=this;this._viewRef=I.createEmbeddedView(Z,Se,Pe?{injector:Pe}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.s_b))};static#t=this.\u0275dir=o.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]})}return p})();function Nn(p,P){return new o.vHH(2100,!1)}class qi{createSubscription(P,D){return(0,o.rg0)(()=>P.subscribe({next:D,error:I=>{throw I}}))}dispose(P){(0,o.rg0)(()=>P.unsubscribe())}}class zr{createSubscription(P,D){return P.then(D,I=>{throw I})}dispose(P){}}const Xr=new zr,es=new qi;let Js=(()=>{class p{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(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,o.QGY)(D))return Xr;if((0,o.F4k)(D))return es;throw Nn()}_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._ref.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.sBO,16))};static#t=this.\u0275pipe=o.Yjl({name:"async",type:p,pure:!1,standalone:!0})}return p})();const ms=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Bn=(()=>{class p{transform(D){if(null==D)return null;if("string"!=typeof D)throw Nn();return D.replace(ms,I=>I[0].toUpperCase()+I.slice(1).toLowerCase())}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=o.Yjl({name:"titlecase",type:p,pure:!0,standalone:!0})}return p})();const Gr=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Bs=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let pr=(()=>{class p{constructor(D,I,Z){this.locale=D,this.defaultTimezone=I,this.defaultOptions=Z}transform(D,I,Z,Se){if(null==D||""===D||D!=D)return null;try{return dr(D,I??this.defaultOptions?.dateFormat??"mediumDate",Se||this.locale,Z??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Pe){throw Nn()}}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.soG,16),o.Y36(Gr,24),o.Y36(Bs,24))};static#t=this.\u0275pipe=o.Yjl({name:"date",type:p,pure:!0,standalone:!0})}return p})(),Xi=(()=>{class p{constructor(D,I="USD"){this._locale=D,this._defaultCurrencyCode=I}transform(D,I=this._defaultCurrencyCode,Z="symbol",Se,Pe){if(!function Mr(p){return!(null==p||""===p||p!=p)}(D))return null;Pe=Pe||this._locale,"boolean"==typeof Z&&(Z=Z?"symbol":"code");let rt=I||this._defaultCurrencyCode;"code"!==Z&&(rt="symbol"===Z||"symbol-narrow"===Z?function Mi(p,P,D="en"){const I=function ut(p){return(0,o.cg1)(p)[o.wAp.Currencies]}(D)[p]||de[p]||[],Z=I[1];return"narrow"===P&&"string"==typeof Z?Z:I[0]||p}(rt,"symbol"===Z?"wide":"narrow",Pe):Z);try{return te(function Tr(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}(D),Pe,rt,I,Se)}catch(rn){throw Nn()}}static#e=this.\u0275fac=function(I){return new(I||p)(o.Y36(o.soG,16),o.Y36(o.EJc,16))};static#t=this.\u0275pipe=o.Yjl({name:"currency",type:p,pure:!0,standalone:!0})}return p})();let bt=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=o.oAB({type:p});static#n=this.\u0275inj=o.cJS({})}return p})();const Qt="browser",pi="server";function Jn(p){return p===Qt}function nn(p){return p===pi}let er=(()=>{class p{static#e=this.\u0275prov=(0,o.Yz7)({token:p,providedIn:"root",factory:()=>new vs((0,o.LFG)(H),window)})}return p})();class vs{constructor(P,D){this.document=P,this.window=D,this.offset=()=>[0,0]}setOffset(P){this.offset=Array.isArray(P)?()=>P:P}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(P){this.supportsScrolling()&&this.window.scrollTo(P[0],P[1])}scrollToAnchor(P){if(!this.supportsScrolling())return;const D=function Di(p,P){const D=p.getElementById(P)||p.getElementsByName(P)[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 Se=Z.shadowRoot;if(Se){const Pe=Se.getElementById(P)||Se.querySelector(`[name="${P}"]`);if(Pe)return Pe}Z=I.nextNode()}}return null}(this.document,P);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(P){this.supportsScrolling()&&(this.window.history.scrollRestoration=P)}scrollToElement(P){const D=P.getBoundingClientRect(),I=D.left+this.window.pageXOffset,Z=D.top+this.window.pageYOffset,Se=this.offset();this.window.scrollTo(I-Se[0],Z-Se[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class tr{}},9862:(ze,me,_)=>{_.d(me,{JF:()=>ae,TP:()=>kt,WM:()=>ce,dt:()=>be,eN:()=>K});var o=_(2029),R=_(2096),V=_(7715),z=_(5592),T=_(6328),H=_(2181),N=_(7398),h=_(4716),j=_(4664),A=_(6814);class B{}class U{}class ce{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?"string"==typeof te?this.lazyInit=()=>{this.headers=new Map,te.split("\n").forEach(ne=>{const Ae=ne.indexOf(":");if(Ae>0){const $e=ne.slice(0,Ae),Ye=$e.toLowerCase(),Ze=ne.slice(Ae+1).trim();this.maybeSetNormalizedName($e,Ye),this.headers.has(Ye)?this.headers.get(Ye).push(Ze):this.headers.set(Ye,[Ze])}})}:typeof Headers<"u"&&te instanceof Headers?(this.headers=new Map,te.forEach((ne,Ae)=>{this.setHeaderEntries(Ae,ne)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(te).forEach(([ne,Ae])=>{this.setHeaderEntries(ne,Ae)})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const ne=this.headers.get(te.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,ne){return this.clone({name:te,value:ne,op:"a"})}set(te,ne){return this.clone({name:te,value:ne,op:"s"})}delete(te,ne){return this.clone({name:te,value:ne,op:"d"})}maybeSetNormalizedName(te,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,te)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(ne=>{this.headers.set(ne,te.headers.get(ne)),this.normalizedNames.set(ne,te.normalizedNames.get(ne))})}clone(te){const ne=new ce;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([te]),ne}applyUpdate(te){const ne=te.name.toLowerCase();switch(te.op){case"a":case"s":let Ae=te.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(te.name,ne);const $e=("a"===te.op?this.headers.get(ne):void 0)||[];$e.push(...Ae),this.headers.set(ne,$e);break;case"d":const Ye=te.value;if(Ye){let Ze=this.headers.get(ne);if(!Ze)return;Ze=Ze.filter(an=>-1===Ye.indexOf(an)),0===Ze.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,Ze)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}setHeaderEntries(te,ne){const Ae=(Array.isArray(ne)?ne:[ne]).map(Ye=>Ye.toString()),$e=te.toLowerCase();this.headers.set($e,Ae),this.maybeSetNormalizedName(te,$e)}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>te(this.normalizedNames.get(ne),this.headers.get(ne)))}}class G{encodeKey(te){return lt(te)}encodeValue(te){return lt(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const ge=/%(\d[a-f0-9])/gi,Ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lt(he){return encodeURIComponent(he).replace(ge,(te,ne)=>Ve[ne]??te)}function Ge(he){return`${he}`}class se{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new G,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function we(he,te){const ne=new Map;return he.length>0&&he.replace(/^\?/,"").split("&").forEach($e=>{const Ye=$e.indexOf("="),[Ze,an]=-1==Ye?[te.decodeKey($e),""]:[te.decodeKey($e.slice(0,Ye)),te.decodeValue($e.slice(Ye+1))],Ct=ne.get(Ze)||[];Ct.push(an),ne.set(Ze,Ct)}),ne}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(ne=>{const Ae=te.fromObject[ne],$e=Array.isArray(Ae)?Ae.map(Ge):[Ge(Ae)];this.map.set(ne,$e)})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const ne=this.map.get(te);return ne?ne[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,ne){return this.clone({param:te,value:ne,op:"a"})}appendAll(te){const ne=[];return Object.keys(te).forEach(Ae=>{const $e=te[Ae];Array.isArray($e)?$e.forEach(Ye=>{ne.push({param:Ae,value:Ye,op:"a"})}):ne.push({param:Ae,value:$e,op:"a"})}),this.clone(ne)}set(te,ne){return this.clone({param:te,value:ne,op:"s"})}delete(te,ne){return this.clone({param:te,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const ne=this.encoder.encodeKey(te);return this.map.get(te).map(Ae=>ne+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const ne=new se({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(te),ne}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const ne=("a"===te.op?this.map.get(te.param):void 0)||[];ne.push(Ge(te.value)),this.map.set(te.param,ne);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Ae=this.map.get(te.param)||[];const $e=Ae.indexOf(Ge(te.value));-1!==$e&&Ae.splice($e,1),Ae.length>0?this.map.set(te.param,Ae):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(te,ne){return this.map.set(te,ne),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function ee(he){return typeof ArrayBuffer<"u"&&he instanceof ArrayBuffer}function J(he){return typeof Blob<"u"&&he instanceof Blob}function We(he){return typeof FormData<"u"&&he instanceof FormData}class Le{constructor(te,ne,Ae,$e){let Ye;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function fe(he){switch(he){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||$e?(this.body=void 0!==Ae?Ae:null,Ye=$e):Ye=Ae,Ye&&(this.reportProgress=!!Ye.reportProgress,this.withCredentials=!!Ye.withCredentials,Ye.responseType&&(this.responseType=Ye.responseType),Ye.headers&&(this.headers=Ye.headers),Ye.context&&(this.context=Ye.context),Ye.params&&(this.params=Ye.params)),this.headers||(this.headers=new ce),this.context||(this.context=new He),this.params){const Ze=this.params.toString();if(0===Ze.length)this.urlWithParams=ne;else{const an=ne.indexOf("?");this.urlWithParams=ne+(-1===an?"?":an<ne.length-1?"&":"")+Ze}}else this.params=new se,this.urlWithParams=ne}serializeBody(){return null===this.body?null:ee(this.body)||J(this.body)||We(this.body)||function q(he){return typeof URLSearchParams<"u"&&he instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof se?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||We(this.body)?null:J(this.body)?this.body.type||null:ee(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof se?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(te={}){const ne=te.method||this.method,Ae=te.url||this.url,$e=te.responseType||this.responseType,Ye=void 0!==te.body?te.body:this.body,Ze=void 0!==te.withCredentials?te.withCredentials:this.withCredentials,an=void 0!==te.reportProgress?te.reportProgress:this.reportProgress;let Ct=te.headers||this.headers,zt=te.params||this.params;const ri=te.context??this.context;return void 0!==te.setHeaders&&(Ct=Object.keys(te.setHeaders).reduce((mn,un)=>mn.set(un,te.setHeaders[un]),Ct)),te.setParams&&(zt=Object.keys(te.setParams).reduce((mn,un)=>mn.set(un,te.setParams[un]),zt)),new Le(ne,Ae,Ye,{params:zt,headers:Ct,context:ri,reportProgress:an,responseType:$e,withCredentials:Ze})}}var be=function(he){return he[he.Sent=0]="Sent",he[he.UploadProgress=1]="UploadProgress",he[he.ResponseHeader=2]="ResponseHeader",he[he.DownloadProgress=3]="DownloadProgress",he[he.Response=4]="Response",he[he.User=5]="User",he}(be||{});class ot{constructor(te,ne=200,Ae="OK"){this.headers=te.headers||new ce,this.status=void 0!==te.status?te.status:ne,this.statusText=te.statusText||Ae,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ft extends ot{constructor(te={}){super(te),this.type=be.ResponseHeader}clone(te={}){return new ft({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class ke extends ot{constructor(te={}){super(te),this.type=be.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new ke({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class at extends ot{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function re(he,te){return{body:te,headers:he.headers,context:he.context,observe:he.observe,params:he.params,reportProgress:he.reportProgress,responseType:he.responseType,withCredentials:he.withCredentials}}let K=(()=>{class he{constructor(ne){this.handler=ne}request(ne,Ae,$e={}){let Ye;if(ne instanceof Le)Ye=ne;else{let Ct,zt;Ct=$e.headers instanceof ce?$e.headers:new ce($e.headers),$e.params&&(zt=$e.params instanceof se?$e.params:new se({fromObject:$e.params})),Ye=new Le(ne,Ae,void 0!==$e.body?$e.body:null,{headers:Ct,context:$e.context,params:zt,reportProgress:$e.reportProgress,responseType:$e.responseType||"json",withCredentials:$e.withCredentials})}const Ze=(0,R.of)(Ye).pipe((0,T.b)(Ct=>this.handler.handle(Ct)));if(ne instanceof Le||"events"===$e.observe)return Ze;const an=Ze.pipe((0,H.h)(Ct=>Ct instanceof ke));switch($e.observe||"body"){case"body":switch(Ye.responseType){case"arraybuffer":return an.pipe((0,N.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ct.body}));case"blob":return an.pipe((0,N.U)(Ct=>{if(null!==Ct.body&&!(Ct.body instanceof Blob))throw new Error("Response is not a Blob.");return Ct.body}));case"text":return an.pipe((0,N.U)(Ct=>{if(null!==Ct.body&&"string"!=typeof Ct.body)throw new Error("Response is not a string.");return Ct.body}));default:return an.pipe((0,N.U)(Ct=>Ct.body))}case"response":return an;default:throw new Error(`Unreachable: unhandled observe type ${$e.observe}}`)}}delete(ne,Ae={}){return this.request("DELETE",ne,Ae)}get(ne,Ae={}){return this.request("GET",ne,Ae)}head(ne,Ae={}){return this.request("HEAD",ne,Ae)}jsonp(ne,Ae){return this.request("JSONP",ne,{params:(new se).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Ae={}){return this.request("OPTIONS",ne,Ae)}patch(ne,Ae,$e={}){return this.request("PATCH",ne,re($e,Ae))}post(ne,Ae,$e={}){return this.request("POST",ne,re($e,Ae))}put(ne,Ae,$e={}){return this.request("PUT",ne,re($e,Ae))}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(B))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();function gn(he,te){return te(he)}function ut(he,te){return(ne,Ae)=>te.intercept(ne,{handle:$e=>he($e,Ae)})}const kt=new o.OlP(""),Ue=new o.OlP(""),sn=new o.OlP("");function ht(){let he=null;return(te,ne)=>{null===he&&(he=((0,o.f3M)(kt,{optional:!0})??[]).reduceRight(ut,gn));const Ae=(0,o.f3M)(o.HDt),$e=Ae.add();return he(te,ne).pipe((0,h.x)(()=>Ae.remove($e)))}}let hn=(()=>{class he extends B{constructor(ne,Ae){super(),this.backend=ne,this.injector=Ae,this.chain=null,this.pendingTasks=(0,o.f3M)(o.HDt)}handle(ne){if(null===this.chain){const $e=Array.from(new Set([...this.injector.get(Ue),...this.injector.get(sn,[])]));this.chain=$e.reduceRight((Ye,Ze)=>function Jt(he,te,ne){return(Ae,$e)=>ne.runInContext(()=>te(Ae,Ye=>he(Ye,$e)))}(Ye,Ze,this.injector),gn)}const Ae=this.pendingTasks.add();return this.chain(ne,$e=>this.backend.handle($e)).pipe((0,h.x)(()=>this.pendingTasks.remove(Ae)))}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(U),o.LFG(o.lqb))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();const hi=/^\)\]\}',?\n/;let Ti=(()=>{class he{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new o.vHH(-2800,!1);const Ae=this.xhrFactory;return(Ae.\u0275loadImpl?(0,V.D)(Ae.\u0275loadImpl()):(0,R.of)(null)).pipe((0,j.w)(()=>new z.y(Ye=>{const Ze=Ae.build();if(Ze.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Ze.withCredentials=!0),ne.headers.forEach((Wt,Kt)=>Ze.setRequestHeader(Wt,Kt.join(","))),ne.headers.has("Accept")||Ze.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const Wt=ne.detectContentTypeHeader();null!==Wt&&Ze.setRequestHeader("Content-Type",Wt)}if(ne.responseType){const Wt=ne.responseType.toLowerCase();Ze.responseType="json"!==Wt?Wt:"text"}const an=ne.serializeBody();let Ct=null;const zt=()=>{if(null!==Ct)return Ct;const Wt=Ze.statusText||"OK",Kt=new ce(Ze.getAllResponseHeaders()),Qn=function Et(he){return"responseURL"in he&&he.responseURL?he.responseURL:/^X-Request-URL:/m.test(he.getAllResponseHeaders())?he.getResponseHeader("X-Request-URL"):null}(Ze)||ne.url;return Ct=new ft({headers:Kt,status:Ze.status,statusText:Wt,url:Qn}),Ct},ri=()=>{let{headers:Wt,status:Kt,statusText:Qn,url:kn}=zt(),Xt=null;204!==Kt&&(Xt=typeof Ze.response>"u"?Ze.responseText:Ze.response),0===Kt&&(Kt=Xt?200:0);let si=Kt>=200&&Kt<300;if("json"===ne.responseType&&"string"==typeof Xt){const Ai=Xt;Xt=Xt.replace(hi,"");try{Xt=""!==Xt?JSON.parse(Xt):null}catch(jn){Xt=Ai,si&&(si=!1,Xt={error:jn,text:Xt})}}si?(Ye.next(new ke({body:Xt,headers:Wt,status:Kt,statusText:Qn,url:kn||void 0})),Ye.complete()):Ye.error(new at({error:Xt,headers:Wt,status:Kt,statusText:Qn,url:kn||void 0}))},mn=Wt=>{const{url:Kt}=zt(),Qn=new at({error:Wt,status:Ze.status||0,statusText:Ze.statusText||"Unknown Error",url:Kt||void 0});Ye.error(Qn)};let un=!1;const Mt=Wt=>{un||(Ye.next(zt()),un=!0);let Kt={type:be.DownloadProgress,loaded:Wt.loaded};Wt.lengthComputable&&(Kt.total=Wt.total),"text"===ne.responseType&&Ze.responseText&&(Kt.partialText=Ze.responseText),Ye.next(Kt)},Pn=Wt=>{let Kt={type:be.UploadProgress,loaded:Wt.loaded};Wt.lengthComputable&&(Kt.total=Wt.total),Ye.next(Kt)};return Ze.addEventListener("load",ri),Ze.addEventListener("error",mn),Ze.addEventListener("timeout",mn),Ze.addEventListener("abort",mn),ne.reportProgress&&(Ze.addEventListener("progress",Mt),null!==an&&Ze.upload&&Ze.upload.addEventListener("progress",Pn)),Ze.send(an),Ye.next({type:be.Sent}),()=>{Ze.removeEventListener("error",mn),Ze.removeEventListener("abort",mn),Ze.removeEventListener("load",ri),Ze.removeEventListener("timeout",mn),ne.reportProgress&&(Ze.removeEventListener("progress",Mt),null!==an&&Ze.upload&&Ze.upload.removeEventListener("progress",Pn)),Ze.readyState!==Ze.DONE&&Ze.abort()}})))}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(A.JF))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();const An=new o.OlP("XSRF_ENABLED"),qt=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),gt=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class jr{}let ni=(()=>{class he{constructor(ne,Ae,$e){this.doc=ne,this.platform=Ae,this.cookieName=$e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,A.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}static#e=this.\u0275fac=function(Ae){return new(Ae||he)(o.LFG(A.K0),o.LFG(o.Lbi),o.LFG(qt))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac})}return he})();function Dt(he,te){const ne=he.url.toLowerCase();if(!(0,o.f3M)(An)||"GET"===he.method||"HEAD"===he.method||ne.startsWith("http://")||ne.startsWith("https://"))return te(he);const Ae=(0,o.f3M)(jr).getToken(),$e=(0,o.f3M)(gt);return null!=Ae&&!he.headers.has($e)&&(he=he.clone({headers:he.headers.set($e,Ae)})),te(he)}var pn=function(he){return he[he.Interceptors=0]="Interceptors",he[he.LegacyInterceptors=1]="LegacyInterceptors",he[he.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",he[he.NoXsrfProtection=3]="NoXsrfProtection",he[he.JsonpSupport=4]="JsonpSupport",he[he.RequestsMadeViaParent=5]="RequestsMadeViaParent",he[he.Fetch=6]="Fetch",he}(pn||{});function Yn(...he){const te=[K,Ti,hn,{provide:B,useExisting:hn},{provide:U,useExisting:Ti},{provide:Ue,useValue:Dt,multi:!0},{provide:An,useValue:!0},{provide:jr,useClass:ni}];for(const ne of he)te.push(...ne.\u0275providers);return(0,o.MR2)(te)}const ii=new o.OlP("LEGACY_INTERCEPTOR_FN");function $i(){return function Fn(he,te){return{\u0275kind:he,\u0275providers:te}}(pn.LegacyInterceptors,[{provide:ii,useFactory:ht},{provide:Ue,useExisting:ii,multi:!0}])}let ae=(()=>{class he{static#e=this.\u0275fac=function(Ae){return new(Ae||he)};static#t=this.\u0275mod=o.oAB({type:he});static#n=this.\u0275inj=o.cJS({providers:[Yn($i())]})}return he})()},2029:(ze,me,_)=>{_.d(me,{QbO:()=>DE,tb:()=>Gd,AFp:()=>Th,ip1:()=>xy,hGG:()=>Iw,z2F:()=>va,Ojb:()=>CE,sBO:()=>hw,Sil:()=>PS,EJc:()=>IS,Xts:()=>Ha,SBq:()=>$a,lqb:()=>Rs,qLn:()=>io,vpe:()=>Ps,XFs:()=>Et,OlP:()=>Dt,zs3:()=>cs,ZZ4:()=>Jd,aQg:()=>qd,soG:()=>bu,YKP:()=>Mm,h0i:()=>Mo,PXZ:()=>rw,R0b:()=>Li,FiY:()=>Dl,Lbi:()=>yc,g9A:()=>Ah,Qsj:()=>kE,FYo:()=>xh,JOm:()=>Il,q3G:()=>Do,tp0:()=>Cl,Rgc:()=>al,dDg:()=>ew,eoX:()=>jy,GfV:()=>Lh,s_b:()=>Du,ifc:()=>mn,VuI:()=>Hw,MMx:()=>Am,Lck:()=>S0,eFA:()=>Wy,Gpc:()=>Ge,f3M:()=>ne,X6Q:()=>fw,$WT:()=>Ei,MR2:()=>cc,_c5:()=>Aw,qFp:()=>jw,rg0:()=>Zt,c2e:()=>Ly,zSh:()=>hc,HDt:()=>Fy,wAp:()=>pa,vHH:()=>J,lri:()=>Hy,rWj:()=>Uy,JZr:()=>ee,EiD:()=>mh,mCW:()=>Bl,qzn:()=>Ko,JVY:()=>W_,pB0:()=>Q_,eBb:()=>Z_,L6k:()=>K_,LAX:()=>Y_,cg1:()=>vd,kL8:()=>Jg,dqk:()=>gt,Z0I:()=>Ui,eJc:()=>Ld,QGY:()=>sd,F4k:()=>ng,RDi:()=>V_,AaK:()=>ge,z3N:()=>Ws,qOj:()=>Kc,Xq5:()=>Fp,TTD:()=>yi,_Bn:()=>wm,jDz:()=>Im,xp6:()=>ap,uIk:()=>Yc,Tol:()=>Sg,Gre:()=>Vg,ekj:()=>hd,Suo:()=>fy,Xpm:()=>ms,lG2:()=>ts,Yz7:()=>Ht,cJS:()=>yt,oAB:()=>Gr,Yjl:()=>ns,Y36:()=>ta,_UZ:()=>id,GkF:()=>rd,BQk:()=>cu,ynx:()=>uu,qZA:()=>lu,TgZ:()=>au,EpF:()=>tg,n5z:()=>Ef,LFG:()=>he,$8M:()=>ku,$Z:()=>up,NdJ:()=>od,CRH:()=>hy,kcU:()=>sf,O4$:()=>Gs,oxw:()=>ag,ALo:()=>Qm,lcZ:()=>Jm,xi3:()=>qm,Hsn:()=>ug,F$t:()=>lg,Q6J:()=>td,s9C:()=>ad,MGl:()=>du,hYB:()=>ld,DdM:()=>Fm,VKq:()=>km,WLB:()=>Bm,kEZ:()=>Vm,l5B:()=>Hm,qbA:()=>Um,HTZ:()=>jm,Hh0:()=>$m,rFY:()=>zm,iGM:()=>cy,MAs:()=>qp,KtG:()=>go,evT:()=>Zh,Jf7:()=>Kh,CHM:()=>No,oJD:()=>yh,LSH:()=>lc,P3R:()=>_h,B6R:()=>Bn,Akn:()=>ds,Udp:()=>fd,YNc:()=>Yp,W1O:()=>yy,_uU:()=>Rg,Oqu:()=>gd,hij:()=>pu,AsE:()=>md,lnq:()=>yd,Gf:()=>dy});var o=_(8645),R=_(7394),V=_(5592),z=_(7537),T=_(4829),H=_(6232),N=_(9940),h=_(7715),A=_(5619),B=_(2096),U=_(3020),ce=_(4664),le=_(3997);function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).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 Ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const lt=G({__forward_ref__:G});function Ge(e){return e.__forward_ref__=Ge,e.toString=function(){return ge(this())},e}function se(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(lt)&&e.__forward_ref__===Ge}function He(e){return e&&!!e.\u0275providers}const ee="https://g.co/ng/security#xss";class J extends Error{constructor(t,n){super(function We(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function q(e){return"string"==typeof e?e:null==e?"":String(e)}function ke(e,t){throw new J(-201,!1)}function kt(e,t){null==e&&function Ue(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Ht(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ti(e){return Un(e,vt)||Un(e,dr)}function Ui(e){return null!==ti(e)}function Un(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ln(e){return e&&(e.hasOwnProperty(Rt)||e.hasOwnProperty(hi))?e[Rt]:null}const vt=G({\u0275prov:G}),Rt=G({\u0275inj:G}),dr=G({ngInjectableDef:G}),hi=G({ngInjectorDef:G});var Et=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}(Et||{});let Ti;function Rn(e){const t=Ti;return Ti=e,t}function qt(e,t,n){const i=ti(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Et.Optional?null:void 0!==t?t:void ke(ge(e))}const gt=globalThis;class Dt{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=Ht({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ee={},Y="__NG_DI_FLAG__",ae="ngTempTokenPath",Ke=/\n/gm,Ut="__source";let wt;function Bt(e){const t=wt;return wt=e,t}function _i(e,t=Et.Default){if(void 0===wt)throw new J(-203,!1);return null===wt?qt(e,void 0,t):wt.get(e,t&Et.Optional?null:void 0,t)}function he(e,t=Et.Default){return(function An(){return Ti}()||_i)(se(e),t)}function ne(e,t=Et.Default){return he(e,Ae(t))}function Ae(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $e(e){const t=[];for(let n=0;n<e.length;n++){const i=se(e[n]);if(Array.isArray(i)){if(0===i.length)throw new J(900,!1);let r,s=Et.Default;for(let a=0;a<i.length;a++){const d=i[a],m=Ze(d);"number"==typeof m?-1===m?r=d.token:s|=m:r=d}t.push(he(r,s))}else t.push(he(i))}return t}function Ye(e,t){return e[Y]=t,e.prototype[Y]=t,e}function Ze(e){return e[Y]}function zt(e){return{toString:e}.toString()}var ri=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ri||{}),mn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(mn||{});const un={},Mt=[],Pn=G({\u0275cmp:G}),Wt=G({\u0275dir:G}),Kt=G({\u0275pipe:G}),Qn=G({\u0275mod:G}),kn=G({\u0275fac:G}),Xt=G({__NG_ELEMENT_ID__:G}),si=G({__NG_ENV_ID__:G});function Ai(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}n=r+1}}function jn(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const s=n[i++],a=n[i++],d=n[i++];e.setAttribute(t,a,d,s)}else{const s=r,a=n[++i];$n(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),i++}}return i}function zi(e){return 3===e||4===e||6===e}function $n(e){return 64===e.charCodeAt(0)}function wr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Ii(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Ii(e,t,n,i,r){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const d=e[s++];if("number"==typeof d){if(d===t){a=-1;break}if(d>t){a=s-1;break}}}for(;s<e.length;){const d=e[s];if("number"==typeof d)break;if(d===n){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}const hr="ng-template";function Fs(e,t,n){let i=0,r=!0;for(;i<e.length;){let s=e[i++];if("string"==typeof s&&r){const a=e[i++];if(n&&"class"===s&&-1!==Ai(a.toLowerCase(),t,0))return!0}else{if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(r=!1)}}return!1}function qr(e){return 4===e.type&&e.value!==hr}function Oi(e,t,n){return t===(4!==e.type||n?e.value:hr)}function wn(e,t,n){let i=4;const r=e.attrs||[],s=function Nn(e){for(let t=0;t<e.length;t++)if(zi(e[t]))return t;return e.length}(r);let a=!1;for(let d=0;d<t.length;d++){const m=t[d];if("number"!=typeof m){if(!a)if(4&i){if(i=2|1&i,""!==m&&!Oi(e,m,n)||""===m&&1===t.length){if(Dn(i))return!1;a=!0}}else{const S=8&i?m:t[++d];if(8&i&&null!==e.attrs){if(!Fs(e.attrs,S,n)){if(Dn(i))return!1;a=!0}continue}const $=zn(8&i?"class":m,r,qr(e),n);if(-1===$){if(Dn(i))return!1;a=!0;continue}if(""!==S){let ue;ue=$>s?"":r[$+1].toLowerCase();const ye=8&i?ue:null;if(ye&&-1!==Ai(ye,S,0)||2&i&&S!==ue){if(Dn(i))return!1;a=!0}}}}else{if(!a&&!Dn(i)&&!Dn(m))return!1;if(a&&Dn(m))continue;a=!1,i=m|1&i}}return Dn(i)||a}function Dn(e){return 0==(1&e)}function zn(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r<t.length;){const a=t[r];if(a===e)return r;if(3===a||6===a)s=!0;else{if(1===a||2===a){let d=t[++r];for(;"string"==typeof d;)d=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=s?1:2}return-1}return function qi(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ji(e,t,n=!1){for(let i=0;i<t.length;i++)if(wn(e,t[i],n))return!0;return!1}function zr(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Xr(e,t){return e?":not("+t.trim()+")":t}function es(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const d=e[++n];r+="["+a+(d.length>0?'="'+d+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!Dn(a)&&(t+=Xr(s,r),r=""),i=a,s=s||!Dn(i);n++}return""!==r&&(t+=Xr(s,r)),t}function ms(e){return zt(()=>{const t=oi(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ri.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||mn.Emulated,styles:e.styles||Mt,_:null,schemas:e.schemas||null,tView:null,id:""};Ri(n);const i=e.dependencies;return n.directiveDefs=Xi(i,!1),n.pipeDefs=Xi(i,!0),n.id=function Tr(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 r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Bn(e,t,n){const i=e.\u0275cmp;i.directiveDefs=Xi(t,!1),i.pipeDefs=Xi(n,!0)}function ys(e){return Lt(e)||cn(e)}function ks(e){return null!==e}function Gr(e){return zt(()=>({type:e.type,bootstrap:e.bootstrap||Mt,declarations:e.declarations||Mt,imports:e.imports||Mt,exports:e.exports||Mt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pr(e,t){if(null==e)return un;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}function ts(e){return zt(()=>{const t=oi(e);return Ri(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 Lt(e){return e[Pn]||null}function cn(e){return e[Wt]||null}function Vn(e){return e[Kt]||null}function Ei(e){const t=Lt(e)||cn(e)||Vn(e);return null!==t&&t.standalone}function Cn(e,t){const n=e[Qn]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}function oi(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||un,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Mt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pr(e.inputs,t),outputs:pr(e.outputs)}}function Ri(e){e.features?.forEach(t=>t(e))}function Xi(e,t){if(!e)return null;const n=t?Vn:ys;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(ks)}const Yt=0,qe=1,bt=2,Qt=3,pi=4,gr=5,Mn=6,Jn=7,nn=8,gi=9,qn=10,_t=11,er=12,vs=13,Di=14,bn=15,tr=16,Pi=17,xn=18,nr=19,ir=20,ki=21,mi=22,Wi=23,Ar=24,Ft=25,Vs=1,qs=2,Ki=7,Bi=9,ln=11;function In(e){return Array.isArray(e)&&"object"==typeof e[Vs]}function ai(e){return Array.isArray(e)&&!0===e[Vs]}function _s(e){return 0!=(4&e.flags)}function Or(e){return e.componentOffset>-1}function Rr(e){return 1==(1&e.flags)}function Xn(e){return!!e.template}function M(e){return 0!=(512&e[bt])}function or(e,t){return e.hasOwnProperty(kn)?e[kn]:null}let Gn=null,xr=!1;function Vi(e){const t=Gn;return Gn=e,t}const rs={version: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:()=>{}};function Wr(e){if(!Lr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!co(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function uo(e){e.dirty=!0,function eo(e){if(void 0===e.liveConsumerNode)return;const t=xr;xr=!0;try{for(const n of e.liveConsumerNode)n.dirty||uo(n)}finally{xr=t}}(e),e.consumerMarkedDirty?.(e)}function js(e){return e&&(e.nextProducerIndex=0),Vi(e)}function os(e,t){if(Vi(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Lr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ms(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function co(e){Kr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Wr(n),i!==n.version))return!0}return!1}function ws(e){if(Kr(e),Lr(e))for(let t=0;t<e.producerNode.length;t++)Ms(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ms(e,t){if(function fo(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Kr(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Ms(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];Kr(r),r.producerIndexOfThis[i]=t}}function Lr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Kr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let as=null;function Zt(e){const t=Vi(null);try{return e()}finally{Vi(t)}}const yn=()=>{},dn=(()=>({...rs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:yn}))();class ar{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function yi(){return mr}function mr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Fr),Ni}function Ni(){const e=kr(this),t=e?.current;if(t){const n=e.previous;if(n===un)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Fr(e,t,n,i){const r=this.declaredInputs[n],s=kr(e)||function wa(e,t){return e[yr]=t}(e,{previous:un,current:null}),a=s.current||(s.current={}),d=s.previous,m=d[r];a[r]=new ar(m&&m.currentValue,t,d===un),e[i]=t}yi.ngInherit=!0;const yr="__ngSimpleChanges__";function kr(e){return e[yr]||null}const vr=function(e,t,n){},Is="svg";function vn(e){for(;Array.isArray(e);)e=e[Yt];return e}function to(e,t){return vn(t[e])}function C(e,t){return vn(t[e.index])}function l(e,t){return e.data[t]}function v(e,t){return e[t]}function w(e,t){const n=t[e];return In(n)?n:n[Yt]}function _e(e,t){return null==t?null:e[t]}function Te(e){e[Pi]=0}function Xe(e){1024&e[bt]||(e[bt]|=1024,$t(e,1))}function Qe(e){1024&e[bt]&&(e[bt]&=-1025,$t(e,-1))}function $t(e,t){let n=e[Qt];if(null===n)return;n[gr]+=t;let i=n;for(n=n[Qt];null!==n&&(1===t&&1===i[gr]||-1===t&&0===i[gr]);)n[gr]+=t,i=n,n=n[Qt]}const Be={lFrame:De(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zr(){return Be.bindingsEnabled}function ci(){return null!==Be.skipHydrationRootTNode}function Ne(){return Be.lFrame.lView}function jt(){return Be.lFrame.tView}function No(e){return Be.lFrame.contextLView=e,e[nn]}function go(e){return Be.lFrame.contextLView=null,e}function et(){let e=ct();for(;null!==e&&64===e.type;)e=e.parent;return e}function ct(){return Be.lFrame.currentTNode}function xt(e,t){const n=Be.lFrame;n.currentTNode=e,n.isParent=t}function Hn(){return Be.lFrame.isParent}function Zi(){Be.lFrame.isParent=!1}function vi(){const e=Be.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Er(){return Be.lFrame.bindingIndex}function lr(){return Be.lFrame.bindingIndex++}function Kn(e){const t=Be.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nf(e,t){const n=Be.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){Be.lFrame.currentDirectiveIndex=e}function c(){return Be.lFrame.currentQueryIndex}function y(e){Be.lFrame.currentQueryIndex=e}function b(e){const t=e[qe];return 2===t.type?t.declTNode:1===t.type?e[Mn]:null}function L(e,t,n){if(n&Et.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&Et.Host||(r=b(s),null===r||(s=s[Di],10&r.type))););if(null===r)return!1;t=r,e=s}const i=Be.lFrame=Ce();return i.currentTNode=t,i.lView=e,!0}function W(e){const t=Ce(),n=e[qe];Be.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ce(){const e=Be.lFrame,t=null===e?null:e.child;return null===t?De(e):t}function De(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 tt(){const e=Be.lFrame;return Be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const It=tt;function fn(){const e=tt();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 fi(){return Be.lFrame.selectedIndex}function Vr(e){Be.lFrame.selectedIndex=e}function Tn(){const e=Be.lFrame;return l(e.tView,e.selectedIndex)}function Gs(){Be.lFrame.currentNamespace=Is}function sf(){!function vv(){Be.lFrame.currentNamespace=null}()}let lf=!0;function dl(){return lf}function no(e){lf=e}function fl(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:d,ngAfterViewInit:m,ngAfterViewChecked:S,ngOnDestroy:x}=s;a&&(e.contentHooks??=[]).push(-n,a),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),m&&(e.viewHooks??=[]).push(-n,m),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=x&&(e.destroyHooks??=[]).push(n,x)}}function hl(e,t,n){uf(e,t,3,n)}function pl(e,t,n,i){(3&e[bt])===n&&uf(e,t,n,i)}function Ou(e,t){let n=e[bt];(3&n)===t&&(n&=8191,n+=1,e[bt]=n)}function uf(e,t,n,i){const s=i??-1,a=t.length-1;let d=0;for(let m=void 0!==i?65535&e[Pi]:0;m<a;m++)if("number"==typeof t[m+1]){if(d=t[m],null!=i&&d>=i)break}else t[m]<0&&(e[Pi]+=65536),(d<s||-1==s)&&(Ev(e,n,t,m),e[Pi]=(4294901760&e[Pi])+m+2),m++}function cf(e,t){vr(4,e,t);const n=Vi(null);try{t.call(e)}finally{Vi(n),vr(5,e,t)}}function Ev(e,t,n,i){const r=n[i]<0,s=n[i+1],d=e[r?-n[i]:n[i]];r?e[bt]>>13<e[Pi]>>16&&(3&e[bt])===t&&(e[bt]+=8192,cf(d,s)):cf(d,s)}const xo=-1;class Ta{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Pu(e){return e!==xo}function Aa(e){return 32767&e}function Ia(e,t){let n=function Sv(e){return e>>16}(e),i=t;for(;n>0;)i=i[Di],n--;return i}let Nu=!0;function gl(e){const t=Nu;return Nu=e,t}const df=255,ff=5;let wv=0;const Os={};function ml(e,t){const n=hf(e,t);if(-1!==n)return n;const i=t[qe];i.firstCreatePass&&(e.injectorIndex=t.length,xu(i.data,e),xu(t,null),xu(i.blueprint,null));const r=yl(e,t),s=e.injectorIndex;if(Pu(r)){const a=Aa(r),d=Ia(r,t),m=d[qe].data;for(let S=0;S<8;S++)t[s+S]=d[a+S]|m[a+S]}return t[s+8]=r,s}function xu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function yl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=Df(r),null===i)return xo;if(n++,r=r[Di],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return xo}function Lu(e,t,n){!function Mv(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(i=n[Xt]),null==i&&(i=n[Xt]=wv++);const r=i&df;t.data[e+(r>>ff)]|=1<<r}(e,t,n)}function pf(e,t,n){if(n&Et.Optional||void 0!==e)return e;ke()}function gf(e,t,n,i){if(n&Et.Optional&&void 0===i&&(i=null),!(n&(Et.Self|Et.Host))){const r=e[gi],s=Rn(void 0);try{return r?r.get(t,i,n&Et.Optional):qt(t,i,n&Et.Optional)}finally{Rn(s)}}return pf(i,0,n)}function mf(e,t,n,i=Et.Default,r){if(null!==e){if(2048&t[bt]&&!(i&Et.Self)){const a=function Pv(e,t,n,i,r){let s=e,a=t;for(;null!==s&&null!==a&&2048&a[bt]&&!(512&a[bt]);){const d=yf(s,a,n,i|Et.Self,Os);if(d!==Os)return d;let m=s.parent;if(!m){const S=a[ir];if(S){const x=S.get(n,Os,i);if(x!==Os)return x}m=Df(a),a=a[Di]}s=m}return r}(e,t,n,i,Os);if(a!==Os)return a}const s=yf(e,t,n,i,Os);if(s!==Os)return s}return gf(t,n,i,r)}function yf(e,t,n,i,r){const s=function Iv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Xt)?e[Xt]:void 0;return"number"==typeof t?t>=0?t&df:Rv:t}(n);if("function"==typeof s){if(!L(t,e,i))return i&Et.Host?pf(r,0,i):gf(t,n,i,r);try{let a;if(a=s(i),null!=a||i&Et.Optional)return a;ke()}finally{It()}}else if("number"==typeof s){let a=null,d=hf(e,t),m=xo,S=i&Et.Host?t[bn][Mn]:null;for((-1===d||i&Et.SkipSelf)&&(m=-1===d?yl(e,t):t[d+8],m!==xo&&_f(i,!1)?(a=t[qe],d=Aa(m),t=Ia(m,t)):d=-1);-1!==d;){const x=t[qe];if(vf(s,d,x.data)){const $=Av(d,t,n,a,i,S);if($!==Os)return $}m=t[d+8],m!==xo&&_f(i,t[qe].data[d+8]===S)&&vf(s,d,t)?(a=x,d=Aa(m),t=Ia(m,t)):d=-1}}return r}function Av(e,t,n,i,r,s){const a=t[qe],d=a.data[e+8],x=vl(d,a,n,null==i?Or(d)&&Nu:i!=a&&0!=(3&d.type),r&Et.Host&&s===d);return null!==x?vo(t,a,x,d):Os}function vl(e,t,n,i,r){const s=e.providerIndexes,a=t.data,d=1048575&s,m=e.directiveStart,x=s>>20,ue=r?d+x:e.directiveEnd;for(let ye=i?d:d+x;ye<ue;ye++){const Oe=a[ye];if(ye<m&&n===Oe||ye>=m&&Oe.type===n)return ye}if(r){const ye=a[m];if(ye&&Xn(ye)&&ye.type===n)return m}return null}function vo(e,t,n,i){let r=e[n];const s=t.data;if(function Dv(e){return e instanceof Ta}(r)){const a=r;a.resolving&&function be(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new J(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}(s[n]));const d=gl(a.canSeeViewProviders);a.resolving=!0;const S=a.injectImpl?Rn(a.injectImpl):null;L(e,i,Et.Default);try{r=e[n]=a.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function _v(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const a=mr(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==S&&Rn(S),gl(d),a.resolving=!1,It()}}return r}function vf(e,t,n){return!!(n[t+(e>>ff)]&1<<e)}function _f(e,t){return!(e&Et.Self||e&Et.Host&&t)}class ur{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return mf(this._tNode,this._lView,t,Ae(i),n)}}function Rv(){return new ur(et(),Ne())}function Ef(e){return zt(()=>{const t=e.prototype.constructor,n=t[kn]||Fu(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[kn]||Fu(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Fu(e){return de(e)?()=>{const t=Fu(se(e));return t&&t()}:or(e)}function Df(e){const t=e[qe],n=t.type;return 2===n?t.declTNode:1===n?e[Mn]:null}function ku(e){return function Tv(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const s=n[r];if(zi(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}(et(),e)}const Fo="__parameters__";function Bo(e,t,n){return zt(()=>{const i=function Bu(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const a=new r(...s);return d.annotation=a,d;function d(m,S,x){const $=m.hasOwnProperty(Fo)?m[Fo]:Object.defineProperty(m,Fo,{value:[]})[Fo];for(;$.length<=x;)$.push(null);return($[x]=$[x]||[]).push(a),m}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function bf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function _l(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pa(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Hr(e,t,n){let i=Uo(e,t);return i>=0?e[1|i]=n:(i=~i,function Vv(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Vu(e,t){const n=Uo(e,t);if(n>=0)return e[1|n]}function Uo(e,t){return function Sf(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),a=e[s<<n];if(t===a)return s<<n;a>t?r=s:i=s+1}return~(r<<n)}(e,t,1)}const Dl=Ye(Bo("Optional"),8),Cl=Ye(Bo("SkipSelf"),4);function Tl(e){return 128==(128&e.flags)}var Il=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Il||{});const o_=/^>|^->|<!--|-->|--!>|<!-$/g,a_=/(<|>)/g,l_="\u200b$1\u200b";const zu=new Map;let u_=0;const Wu="__ngContext__";function Yi(e,t){In(t)?(e[Wu]=t[nr],function d_(e){zu.set(e[nr],e)}(t)):e[Wu]=t}let Ku;function Zu(e,t){return Ku(e,t)}function La(e){const t=e[Qt];return ai(t)?t[Qt]:t}function zf(e){return Wf(e[er])}function Gf(e){return Wf(e[pi])}function Wf(e){for(;null!==e&&!ai(e);)e=e[pi];return e}function zo(e,t,n,i,r){if(null!=i){let s,a=!1;ai(i)?s=i:In(i)&&(a=!0,i=i[Yt]);const d=vn(i);0===e&&null!==n?null==r?Qf(t,n,d):_o(t,n,d,r||null,!0):1===e&&null!==n?_o(t,n,d,r||null,!0):2===e?function Ll(e,t,n){const i=Nl(e,t);i&&function O_(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,d,a):3===e&&t.destroyNode(d),null!=s&&function N_(e,t,n,i,r){const s=n[Ki];s!==vn(n)&&zo(t,e,i,s,r);for(let d=ln;d<n.length;d++){const m=n[d];ka(m[qe],m,e,t,i,s)}}(t,e,s,n,r)}}function Yu(e,t){return e.createComment(function Ff(e){return e.replace(o_,t=>t.replace(a_,l_))}(t))}function Rl(e,t,n){return e.createElement(t,n)}function Zf(e,t){const n=e[Bi],i=n.indexOf(t);Qe(t),n.splice(i,1)}function Pl(e,t){if(e.length<=ln)return;const n=ln+t,i=e[n];if(i){const r=i[tr];null!==r&&r!==e&&Zf(r,i),t>0&&(e[n-1][pi]=i[pi]);const s=_l(e,ln+t);!function C_(e,t){ka(e,t,t[_t],2,null,null),t[Yt]=null,t[Mn]=null}(i[qe],i);const a=s[xn];null!==a&&a.detachView(s[qe]),i[Qt]=null,i[pi]=null,i[bt]&=-129}return i}function Qu(e,t){if(!(256&t[bt])){const n=t[_t];t[Wi]&&ws(t[Wi]),t[Ar]&&ws(t[Ar]),n.destroyNode&&ka(e,t,n,3,null,null),function w_(e){let t=e[er];if(!t)return Ju(e[qe],e);for(;t;){let n=null;if(In(t))n=t[er];else{const i=t[ln];i&&(n=i)}if(!n){for(;t&&!t[pi]&&t!==e;)In(t)&&Ju(t[qe],t),t=t[Qt];null===t&&(t=e),In(t)&&Ju(t[qe],t),n=t&&t[pi]}t=n}}(t)}}function Ju(e,t){if(!(256&t[bt])){t[bt]&=-129,t[bt]|=256,function I_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof Ta)){const s=n[i+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const d=r[s[a]],m=s[a+1];vr(4,d,m);try{m.call(d)}finally{vr(5,d,m)}}else{vr(4,r,s);try{s.call(r)}finally{vr(5,r,s)}}}}}(e,t),function A_(e,t){const n=e.cleanup,i=t[Jn];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else n[s].call(i[n[s+1]]);null!==i&&(t[Jn]=null);const r=t[ki];if(null!==r){t[ki]=null;for(let s=0;s<r.length;s++)(0,r[s])()}}(e,t),1===t[qe].type&&t[_t].destroy();const n=t[tr];if(null!==n&&ai(t[Qt])){n!==t[Qt]&&Zf(n,t);const i=t[xn];null!==i&&i.detachView(e)}!function f_(e){zu.delete(e[nr])}(t)}}function qu(e,t,n){return function Yf(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Yt];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:s}=e.data[i.directiveStart+r];if(s===mn.None||s===mn.Emulated)return null}return C(i,n)}}(e,t.parent,n)}function _o(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Qf(e,t,n){e.appendChild(t,n)}function Jf(e,t,n,i,r){null!==i?_o(e,t,n,i,r):Qf(e,t,n)}function Nl(e,t){return e.parentNode(t)}function qf(e,t,n){return eh(e,t,n)}let Xu,Fl,ic,kl,eh=function Xf(e,t,n){return 40&e.type?C(e,n):null};function xl(e,t,n,i){const r=qu(e,i,t),s=t[_t],d=qf(i.parent||t[Mn],i,t);if(null!=r)if(Array.isArray(n))for(let m=0;m<n.length;m++)Jf(s,r,n[m],d,!1);else Jf(s,r,n,d,!1);void 0!==Xu&&Xu(s,i,t,n,r)}function Fa(e,t){if(null!==t){const n=t.type;if(3&n)return C(t,e);if(4&n)return ec(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Fa(e,i);{const r=e[t.index];return ai(r)?ec(-1,r):vn(r)}}if(32&n)return Zu(t,e)()||vn(e[t.index]);{const i=nh(e,t);return null!==i?Array.isArray(i)?i[0]:Fa(La(e[bn]),i):Fa(e,t.next)}}return null}function nh(e,t){return null!==t?e[bn][Mn].projection[t.projection]:null}function ec(e,t){const n=ln+e+1;if(n<t.length){const i=t[n],r=i[qe].firstChild;if(null!==r)return Fa(i,r)}return t[Ki]}function tc(e,t,n,i,r,s,a){for(;null!=n;){const d=i[n.index],m=n.type;if(a&&0===t&&(d&&Yi(vn(d),i),n.flags|=2),32!=(32&n.flags))if(8&m)tc(e,t,n.child,i,r,s,!1),zo(t,e,r,d,s);else if(32&m){const S=Zu(n,i);let x;for(;x=S();)zo(t,e,r,x,s);zo(t,e,r,d,s)}else 16&m?rh(e,t,i,n,r,s):zo(t,e,r,d,s);n=a?n.projectionNext:n.next}}function ka(e,t,n,i,r,s){tc(n,i,e.firstChild,t,r,s,!1)}function rh(e,t,n,i,r,s){const a=n[bn],m=a[Mn].projection[i.projection];if(Array.isArray(m))for(let S=0;S<m.length;S++)zo(t,e,r,m[S],s);else{let S=m;const x=a[Qt];Tl(i)&&(S.flags|=128),tc(e,t,S,x,r,s,!0)}}function sh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function oh(e,t,n){const{mergedAttrs:i,classes:r,styles:s}=n;null!==i&&jn(e,t,i),null!==r&&sh(e,t,r),null!==s&&function L_(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Go(e){return function nc(){if(void 0===Fl&&(Fl=null,gt.trustedTypes))try{Fl=gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fl}()?.createHTML(e)||e}function V_(e){ic=e}function Wo(){if(void 0!==ic)return ic;if(typeof document<"u")return document;throw new J(210,!1)}function rc(){if(void 0===kl&&(kl=null,gt.trustedTypes))try{kl=gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function ah(e){return rc()?.createHTML(e)||e}function uh(e){return rc()?.createScriptURL(e)||e}class Eo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ee})`}}class H_ extends Eo{getTypeName(){return"HTML"}}class U_ extends Eo{getTypeName(){return"Style"}}class j_ extends Eo{getTypeName(){return"Script"}}class $_ extends Eo{getTypeName(){return"URL"}}class z_ extends Eo{getTypeName(){return"ResourceURL"}}function Ws(e){return e instanceof Eo?e.changingThisBreaksApplicationSecurity:e}function Ko(e,t){const n=function G_(e){return e instanceof Eo&&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 ${ee})`)}return n===t}function W_(e){return new H_(e)}function K_(e){return new U_(e)}function Z_(e){return new j_(e)}function Y_(e){return new $_(e)}function Q_(e){return new z_(e)}class J_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Go(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class q_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Go(t),n}}const eE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Bl(e){return(e=String(e)).match(eE)?e:"unsafe:"+e}function Ks(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ba(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const dh=Ks("area,br,col,hr,img,wbr"),fh=Ks("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Ks("rp,rt"),sc=Ba(dh,Ba(fh,Ks("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")),Ba(hh,Ks("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")),Ba(hh,fh)),oc=Ks("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Ba(oc,Ks("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"),Ks("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")),tE=Ks("script,style,template");class nE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!sc.hasOwnProperty(n))return this.sanitizedSomething=!0,!tE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const s=i.item(r),a=s.name,d=a.toLowerCase();if(!ph.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let m=s.value;oc[d]&&(m=Bl(m)),this.buf.push(" ",a,'="',gh(m),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();sc.hasOwnProperty(n)&&!dh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(gh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const iE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rE=/([^\#-~ |!])/g;function gh(e){return e.replace(/&/g,"&amp;").replace(iE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(rE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Vl;function mh(e,t){let n=null;try{Vl=Vl||function ch(e){const t=new q_(e);return function X_(){try{return!!(new window.DOMParser).parseFromString(Go(""),"text/html")}catch{return!1}}()?new J_(t):t}(e);let i=t?String(t):"";n=Vl.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Vl.getInertBodyElement(i)}while(i!==s);return Go((new nE).sanitizeChildren(ac(n)||n))}finally{if(n){const i=ac(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function ac(e){return"content"in e&&function sE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Do=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}(Do||{});function yh(e){const t=Va();return t?ah(t.sanitize(Do.HTML,e)||""):Ko(e,"HTML")?ah(Ws(e)):mh(Wo(),q(e))}function lc(e){const t=Va();return t?t.sanitize(Do.URL,e)||"":Ko(e,"URL")?Ws(e):Bl(q(e))}function vh(e){const t=Va();if(t)return uh(t.sanitize(Do.RESOURCE_URL,e)||"");if(Ko(e,"ResourceURL"))return uh(Ws(e));throw new J(904,!1)}function _h(e,t,n){return function cE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vh:lc}(t,n)(e)}function Va(){const e=Ne();return e&&e[qn].sanitizer}const Ha=new Dt("ENVIRONMENT_INITIALIZER"),Eh=new Dt("INJECTOR",-1),Dh=new Dt("INJECTOR_DEF_TYPES");class uc{get(t,n=Ee){if(n===Ee){const i=new Error(`NullInjectorError: No provider for ${ge(t)}!`);throw i.name="NullInjectorError",i}return n}}function cc(e){return{\u0275providers:e}}function dE(...e){return{\u0275providers:Ch(0,e),\u0275fromNgModule:!0}}function Ch(e,...t){const n=[],i=new Set;let r;const s=a=>{n.push(a)};return Ho(t,a=>{const d=a;Hl(d,s,[],i)&&(r||=[],r.push(d))}),void 0!==r&&bh(r,s),n}function bh(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];dc(r,s=>{t(s,i)})}}function Hl(e,t,n,i){if(!(e=se(e)))return!1;let r=null,s=Ln(e);const a=!s&&Lt(e);if(s||a){if(a&&!a.standalone)return!1;r=e}else{const m=e.ngModule;if(s=Ln(m),!s)return!1;r=m}const d=i.has(r);if(a){if(d)return!1;if(i.add(r),a.dependencies){const m="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const S of m)Hl(S,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let S;i.add(r);try{Ho(s.imports,x=>{Hl(x,t,n,i)&&(S||=[],S.push(x))})}finally{}void 0!==S&&bh(S,t)}if(!d){const S=or(r)||(()=>new r);t({provide:r,useFactory:S,deps:Mt},r),t({provide:Dh,useValue:r,multi:!0},r),t({provide:Ha,useValue:()=>he(r),multi:!0},r)}const m=s.providers;if(null!=m&&!d){const S=e;dc(m,x=>{t(x,S)})}}}return r!==e&&void 0!==e.providers}function dc(e,t){for(let n of e)He(n)&&(n=n.\u0275providers),Array.isArray(n)?dc(n,t):t(n)}const fE=G({provide:String,useValue:G});function fc(e){return null!==e&&"object"==typeof e&&fE in e}function Co(e){return"function"==typeof e}const hc=new Dt("Set Injector scope."),Ul={},pE={};let pc;function jl(){return void 0===pc&&(pc=new uc),pc}class Rs{}class Zo extends Rs{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mc(t,a=>this.processProvider(a)),this.records.set(Eh,Yo(void 0,this)),r.has("environment")&&this.records.set(Rs,Yo(void 0,this));const s=this.records.get(hc);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Dh.multi,Mt,Et.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Bt(this),i=Rn(void 0);try{return t()}finally{Bt(n),Rn(i)}}get(t,n=Ee,i=Et.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(si))return t[si](this);i=Ae(i);const s=Bt(this),a=Rn(void 0);try{if(!(i&Et.SkipSelf)){let m=this.records.get(t);if(void 0===m){const S=function _E(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dt}(t)&&ti(t);m=S&&this.injectableDefInScope(S)?Yo(gc(t),Ul):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&Et.Self?jl():this.parent).get(t,n=i&Et.Optional&&n===Ee?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[ae]=d[ae]||[]).unshift(ge(t)),s)throw d;return function an(e,t,n,i){const r=e[ae];throw t[Ut]&&r.unshift(t[Ut]),e.message=function Ct(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=ge(t);if(Array.isArray(t))r=t.map(ge).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let d=t[a];s.push(a+":"+("string"==typeof d?JSON.stringify(d):ge(d)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Ke,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[ae]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Rn(a),Bt(s)}}resolveInjectorInitializers(){const t=Bt(this),n=Rn(void 0);try{const r=this.get(Ha.multi,Mt,Et.Self);for(const s of r)s()}finally{Bt(t),Rn(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ge(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processProvider(t){let n=Co(t=se(t))?t:se(t&&t.provide);const i=function mE(e){return fc(e)?Yo(void 0,e.useValue):Yo(Mh(e),Ul)}(t);if(Co(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Yo(void 0,Ul,!0),r.factory=()=>$e(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Ul&&(n.value=pE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}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 gc(e){const t=ti(e),n=null!==t?t.factory:or(e);if(null!==n)return n;if(e instanceof Dt)throw new J(204,!1);if(e instanceof Function)return function gE(e){const t=e.length;if(t>0)throw Pa(t,"?"),new J(204,!1);const n=function Zn(e){return e&&(e[vt]||e[dr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new J(204,!1)}function Mh(e,t,n){let i;if(Co(e)){const r=se(e);return or(r)||gc(r)}if(fc(e))i=()=>se(e.useValue);else if(function wh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...$e(e.deps||[]));else if(function Sh(e){return!(!e||!e.useExisting)}(e))i=()=>he(se(e.useExisting));else{const r=se(e&&(e.useClass||e.provide));if(!function yE(e){return!!e.deps}(e))return or(r)||gc(r);i=()=>new r(...$e(e.deps))}return i}function Yo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mc(e,t){for(const n of e)Array.isArray(n)?mc(n,t):n&&He(n)?mc(n.\u0275providers,t):t(n)}const Th=new Dt("AppId",{providedIn:"root",factory:()=>EE}),EE="ng",Ah=new Dt("Platform Initializer"),yc=new Dt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),DE=new Dt("AnimationModuleType"),CE=new Dt("CSP nonce",{providedIn:"root",factory:()=>Wo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ih=(e,t,n)=>null;function wc(e,t,n=!1){return Ih(e,t,n)}class PE{}class Ph{}class xE{resolveComponentFactory(t){throw function NE(e){const t=Error(`No component factory found for ${ge(e)}.`);return t.ngComponent=e,t}(t)}}let Zl=(()=>{class e{static#e=this.NULL=new xE}return e})();function LE(){return qo(et(),Ne())}function qo(e,t){return new $a(C(e,t))}let $a=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=LE}return e})();function FE(e){return e instanceof $a?e.nativeElement:e}class xh{}let kE=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BE(){const e=Ne(),n=w(et().index,e);return(In(n)?n:e)[_t]}()}return e})(),VE=(()=>{class e{static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:()=>null})}return e})();class Lh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const HE=new Lh("16.2.12"),Ac={};function Vh(e,t=null,n=null,i){const r=Hh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Hh(e,t=null,n=null,i,r=new Set){const s=[n||Mt,dE(e)];return i=i||("object"==typeof e?void 0:ge(e)),new Zo(s,t||jl(),i||null,r)}let cs=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ee;static#t=this.NULL=new uc;static create(n,i){if(Array.isArray(n))return Vh({name:""},i,n,"");{const r=n.name??"";return Vh({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=Ht({token:e,providedIn:"any",factory:()=>he(Eh)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Oc(e){return e.ngOriginalError}class io{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&&Oc(t);for(;n&&Oc(n);)n=Oc(n);return n||null}}function Pc(e){return t=>{setTimeout(e,void 0,t)}}const Ps=class KE extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,s=n||(()=>null),a=i;if(t&&"object"==typeof t){const m=t;r=m.next?.bind(m),s=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(s=Pc(s),r&&(r=Pc(r)),a&&(a=Pc(a)));const d=super.subscribe({next:r,error:s,complete:a});return t instanceof R.w0&&t.add(d),d}};function jh(...e){}class Li{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ps(!1),this.onMicrotaskEmpty=new Ps(!1),this.onStable=new Ps(!1),this.onError=new Ps(!1),typeof Zone>"u")throw new J(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function ZE(){const e="function"==typeof gt.requestAnimationFrame;let t=gt[e?"requestAnimationFrame":"setTimeout"],n=gt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function JE(e){const t=()=>{!function QE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(gt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,xc(e),e.isCheckStableRunning=!0,Nc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),xc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,a,d)=>{if(function XE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(d))return n.invokeTask(r,s,a,d);try{return $h(e),n.invokeTask(r,s,a,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),zh(e)}},onInvoke:(n,i,r,s,a,d,m)=>{try{return $h(e),n.invoke(r,s,a,d,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),zh(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,xc(e),Nc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Li.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(Li.isInAngularZone())throw new J(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+r,t,YE,jh,jh);try{return s.runTask(a,n,i)}finally{s.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const YE={};function Nc(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 xc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $h(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zh(e){e._nesting--,Nc(e)}class qE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ps,this.onMicrotaskEmpty=new Ps,this.onStable=new Ps,this.onError=new Ps}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const Gh=new Dt("",{providedIn:"root",factory:Wh});function Wh(){const e=ne(Li);let t=!0;return function j(...e){const t=(0,N.yG)(e),n=(0,N._6)(e,1/0),i=e;return i.length?1===i.length?(0,T.Xf)(i[0]):(0,z.J)(n)((0,h.D)(i,t)):H.E}(new V.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),new V.y(r=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Li.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe((0,U.B)()))}function Kh(e){return e.ownerDocument.defaultView}function Zh(e){return e.ownerDocument}function Zs(e){return e instanceof Function?e():e}let Lc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:()=>new e})}return e})();function za(e){for(;e;){e[bt]|=64;const t=La(e);if(M(e)&&!t)return e;e=t}return null}const Xh=new Dt("",{providedIn:"root",factory:()=>!1});let Ql=null;function ip(e,t){return e[t]??op()}function rp(e,t){const n=op();n.producerNode?.length&&(e[t]=Ql,n.lView=e,Ql=sp())}const aD={...rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{za(e.lView)},lView:null};function sp(){return Object.create(aD)}function op(){return Ql??=sp(),Ql}const Vt={};function ap(e){lp(jt(),Ne(),fi()+e,!1)}function lp(e,t,n,i){if(!i)if(3==(3&t[bt])){const s=e.preOrderCheckHooks;null!==s&&hl(t,s,n)}else{const s=e.preOrderHooks;null!==s&&pl(t,s,0,n)}Vr(n)}function ta(e,t=Et.Default){const n=Ne();return null===n?he(e,t):mf(et(),n,se(e),t)}function up(){throw new Error("invalid")}function Jl(e,t,n,i,r,s,a,d,m,S,x){const $=t.blueprint.slice();return $[Yt]=r,$[bt]=140|i,(null!==S||e&&2048&e[bt])&&($[bt]|=2048),Te($),$[Qt]=$[Di]=e,$[nn]=n,$[qn]=a||e&&e[qn],$[_t]=d||e&&e[_t],$[gi]=m||e&&e[gi]||null,$[Mn]=s,$[nr]=function c_(){return u_++}(),$[mi]=x,$[ir]=S,$[bn]=2==t.type?e[bn]:$,$}function na(e,t,n,i,r){let s=e.data[t];if(null===s)s=function Fc(e,t,n,i,r){const s=ct(),a=Hn(),m=e.data[t]=function gD(e,t,n,i,r,s){let a=t?t.injectorIndex:-1,d=0;return ci()&&(d|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=m),null!==s&&(a?null==s.child&&null!==m.parent&&(s.child=m):null===s.next&&(s.next=m,m.prev=s)),m}(e,t,n,i,r),function mo(){return Be.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const a=function mt(){const e=Be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return xt(s,!0),s}function Ga(e,t,n,i){if(0===n)return-1;const r=t.length;for(let s=0;s<n;s++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function cp(e,t,n,i,r){const s=ip(t,Wi),a=fi(),d=2&i;try{Vr(-1),d&&t.length>Ft&&lp(e,t,Ft,!1),vr(d?2:0,r);const S=d?s:null,x=js(S);try{null!==S&&(S.dirty=!1),n(i,r)}finally{os(S,x)}}finally{d&&null===t[Wi]&&rp(t,Wi),Vr(a),vr(d?3:1,r)}}function kc(e,t,n){if(_s(t)){const i=Vi(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const d=e.data[a];d.contentQueries&&d.contentQueries(1,n[a],a)}}finally{Vi(i)}}}function Bc(e,t,n){Zr()&&(function CD(e,t,n,i){const r=n.directiveStart,s=n.directiveEnd;Or(n)&&function ID(e,t,n){const i=C(t,e),r=dp(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const d=ql(e,Jl(e,r,null,a,i,t,null,e[qn].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=d}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ml(n,t),Yi(i,t);const a=n.initialInputs;for(let d=r;d<s;d++){const m=e.data[d],S=vo(t,e,d,n);Yi(S,t),null!==a&&OD(0,d-r,S,m,0,a),Xn(m)&&(w(n.index,t)[nn]=vo(t,e,d,n))}}(e,t,n,C(n,t)),64==(64&n.flags)&&mp(e,t,n))}function Vc(e,t,n=C){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const a=i[s+1],d=-1===a?n(t,e):e[a];e[r++]=d}}}function dp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Hc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Hc(e,t,n,i,r,s,a,d,m,S,x){const $=Ft+i,ue=$+r,ye=function uD(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Vt);return n}($,ue),Oe="function"==typeof S?S():S;return ye[qe]={type:e,blueprint:ye,template:n,queries:null,viewQuery:d,declTNode:t,data:ye.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:ue,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:m,consts:Oe,incompleteFirstPass:!1,ssrId:x}}let fp=e=>null;function hp(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const s=e[r];null===i?pp(n,t,r,s):i.hasOwnProperty(r)&&pp(n,t,i[r],s)}return n}function pp(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function Ur(e,t,n,i,r,s,a,d){const m=C(t,n);let x,S=t.inputs;!d&&null!=S&&(x=S[i])?(Gc(e,n,x,i,r),Or(t)&&function vD(e,t){const n=w(t,e);16&n[bt]||(n[bt]|=64)}(n,t.index)):3&t.type&&(i=function yD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=a?a(r,t.value||"",i):r,s.setProperty(m,i,r))}function Uc(e,t,n,i){if(Zr()){const r=null===i?null:{"":-1},s=function SD(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(Ji(t,a.selectors,!1))if(i||(i=[]),Xn(a))if(null!==a.findHostDirectiveDefs){const d=[];r=r||new Map,a.findHostDirectiveDefs(a,d,r),i.unshift(...d,a),jc(e,t,d.length)}else i.unshift(a),jc(e,t,0);else r=r||new Map,a.findHostDirectiveDefs?.(a,i,r),i.push(a)}return null===i?null:[i,r]}(e,n);let a,d;null===s?a=d=null:[a,d]=s,null!==a&&gp(e,t,n,a,r,d),r&&function wD(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const s=n[t[r+1]];if(null==s)throw new J(-301,!1);i.push(t[r],s)}}}(n,i,r)}n.mergedAttrs=wr(n.mergedAttrs,n.attrs)}function gp(e,t,n,i,r,s){for(let S=0;S<i.length;S++)Lu(ml(n,t),e,i[S].type);!function TD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let S=0;S<i.length;S++){const x=i[S];x.providersResolver&&x.providersResolver(x)}let a=!1,d=!1,m=Ga(e,t,i.length,null);for(let S=0;S<i.length;S++){const x=i[S];n.mergedAttrs=wr(n.mergedAttrs,x.hostAttrs),AD(e,n,t,m,x),MD(m,x,r),null!==x.contentQueries&&(n.flags|=4),(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)&&(n.flags|=64);const $=x.type.prototype;!a&&($.ngOnChanges||$.ngOnInit||$.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!d&&($.ngOnChanges||$.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),m++}!function mD(e,t,n){const r=t.directiveEnd,s=e.data,a=t.attrs,d=[];let m=null,S=null;for(let x=t.directiveStart;x<r;x++){const $=s[x],ue=n?n.get($):null,Oe=ue?ue.outputs:null;m=hp($.inputs,x,m,ue?ue.inputs:null),S=hp($.outputs,x,S,Oe);const je=null===m||null===a||qr(t)?null:RD(m,x,a);d.push(je)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=8),m.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=d,t.inputs=m,t.outputs=S}(e,n,s)}function mp(e,t,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,a=function rf(){return Be.lFrame.currentDirectiveIndex}();try{Vr(s);for(let d=i;d<r;d++){const m=e.data[d],S=t[d];f(d),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&bD(m,S)}}finally{Vr(-1),f(a)}}function bD(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function MD(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Xn(t)&&(n[""]=e)}}function AD(e,t,n,i,r){e.data[i]=r;const s=r.factory||(r.factory=or(r.type)),a=new Ta(s,Xn(r),ta);e.blueprint[i]=a,n[i]=a,function ED(e,t,n,i,r){const s=r.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const d=~t.index;(function DD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=d&&a.push(d),a.push(n,i,s)}}(e,t,i,Ga(e,n,r.hostVars,Vt),r)}function Ns(e,t,n,i,r,s){const a=C(e,t);!function $c(e,t,n,i,r,s,a){if(null==s)e.removeAttribute(t,r,n);else{const d=null==a?q(s):a(s,i||"",r);e.setAttribute(t,r,d,n)}}(t[_t],a,s,e.value,n,i,r)}function OD(e,t,n,i,r,s){const a=s[t];if(null!==a)for(let d=0;d<a.length;)yp(i,n,a[d++],a[d++],a[d++])}function yp(e,t,n,i,r){const s=Vi(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(i)&&(r=a[i].call(t,r)),null!==e.setInput?e.setInput(t,r,n,i):t[i]=r}finally{Vi(s)}}function RD(e,t,n){let i=null,r=0;for(;r<n.length;){const s=n[r];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===i&&(i=[]);const a=e[s];for(let d=0;d<a.length;d+=2)if(a[d]===t){i.push(s,a[d+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function vp(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}function _p(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const a=e.data[s];y(n[i]),a.contentQueries(2,t[s],s)}}}function ql(e,t){return e[er]?e[vs][pi]=t:e[er]=t,e[vs]=t,t}function zc(e,t,n){y(0);const i=Vi(null);try{t(e,n)}finally{Vi(i)}}function Ep(e){return e[Jn]||(e[Jn]=[])}function Dp(e){return e.cleanup||(e.cleanup=[])}function bp(e,t){const n=e[gi],i=n?n.get(io,null):null;i&&i.handleError(t)}function Gc(e,t,n,i,r){for(let s=0;s<n.length;){const a=n[s++],d=n[s++];yp(e.data[a],t[a],i,d,r)}}function Ys(e,t,n){const i=to(t,e);!function Kf(e,t,n){e.setValue(t,n)}(e[_t],i,n)}function PD(e,t){const n=w(t,e),i=n[qe];!function ND(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[Yt];null!==r&&null===n[mi]&&(n[mi]=wc(r,n[gi])),Wc(i,n,n[nn])}function Wc(e,t,n){W(t);try{const i=e.viewQuery;null!==i&&zc(1,i,n);const r=e.template;null!==r&&cp(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&_p(e,t),e.staticViewQueries&&zc(2,e.viewQuery,n);const s=e.components;null!==s&&function xD(e,t){for(let n=0;n<t.length;n++)PD(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[bt]&=-5,fn()}}let Sp=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,r){const s=typeof Zone>"u"?null:Zone.current,a=function At(e,t,n){const i=Object.create(dn);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=a=>{i.cleanupFn=a};return i.ref={notify:()=>uo(i),run:()=>{if(i.dirty=!1,i.hasRun&&!co(i))return;i.hasRun=!0;const a=js(i);try{i.cleanupFn(),i.cleanupFn=yn,i.fn(r)}finally{os(i,a)}},cleanup:()=>i.cleanupFn()},i.ref}(n,S=>{this.all.has(S)&&this.queue.set(S,s)},r);let d;this.all.add(a),a.notify();const m=()=>{a.cleanup(),d?.(),this.all.delete(a),this.queue.delete(a)};return d=i?.onDestroy(m),{destroy:m}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:()=>new e})}return e})();function Xl(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?s=d:1==s?r=Ve(r,d):2==s&&(i=Ve(i,d+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Wa(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];null!==s&&i.push(vn(s)),ai(s)&&wp(s,i);const a=n.type;if(8&a)Wa(e,t,n.child,i);else if(32&a){const d=Zu(n,t);let m;for(;m=d();)i.push(m)}else if(16&a){const d=nh(t,n);if(Array.isArray(d))i.push(...d);else{const m=La(t[bn]);Wa(m[qe],m,d,i,!0)}}n=r?n.projectionNext:n.next}return i}function wp(e,t){for(let n=ln;n<e.length;n++){const i=e[n],r=i[qe].firstChild;null!==r&&Wa(i[qe],i,r,t)}e[Ki]!==e[Yt]&&t.push(e[Ki])}function eu(e,t,n,i=!0){const r=t[qn],s=r.rendererFactory,a=r.afterRenderEventManager;s.begin?.(),a?.begin();try{Mp(e,t,e.template,n)}catch(m){throw i&&bp(t,m),m}finally{s.end?.(),r.effectManager?.flush(),a?.end()}}function Mp(e,t,n,i){const r=t[bt];if(256!=(256&r)){t[qn].effectManager?.flush(),W(t);try{Te(t),function di(e){return Be.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&cp(e,t,n,2,i);const a=3==(3&r);if(a){const S=e.preOrderCheckHooks;null!==S&&hl(t,S,null)}else{const S=e.preOrderHooks;null!==S&&pl(t,S,0,null),Ou(t,0)}if(function kD(e){for(let t=zf(e);null!==t;t=Gf(t)){if(!t[qs])continue;const n=t[Bi];for(let i=0;i<n.length;i++){Xe(n[i])}}}(t),Tp(t,2),null!==e.contentQueries&&_p(e,t),a){const S=e.contentCheckHooks;null!==S&&hl(t,S)}else{const S=e.contentHooks;null!==S&&pl(t,S,1),Ou(t,1)}!function lD(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=ip(t,Ar);try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)Vr(~s);else{const a=s,d=n[++r],m=n[++r];nf(d,a),i.dirty=!1;const S=js(i);try{m(2,t[a])}finally{os(i,S)}}}}finally{null===t[Ar]&&rp(t,Ar),Vr(-1)}}(e,t);const d=e.components;null!==d&&Ip(t,d,0);const m=e.viewQuery;if(null!==m&&zc(2,m,i),a){const S=e.viewCheckHooks;null!==S&&hl(t,S)}else{const S=e.viewHooks;null!==S&&pl(t,S,2),Ou(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[bt]&=-73,Qe(t)}finally{fn()}}}function Tp(e,t){for(let n=zf(e);null!==n;n=Gf(n))for(let i=ln;i<n.length;i++)Ap(n[i],t)}function BD(e,t,n){Ap(w(t,e),n)}function Ap(e,t){if(!function X(e){return 128==(128&e[bt])}(e))return;const n=e[qe],i=e[bt];if(80&i&&0===t||1024&i||2===t)Mp(n,e,n.template,e[nn]);else if(e[gr]>0){Tp(e,1);const r=n.components;null!==r&&Ip(e,r,1)}}function Ip(e,t,n){for(let i=0;i<t.length;i++)BD(e,t[i],n)}class Ka{get rootNodes(){const t=this._lView,n=t[qe];return Wa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[nn]}set context(t){this._lView[nn]=t}get destroyed(){return 256==(256&this._lView[bt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Qt];if(ai(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Pl(t,i),_l(n,i))}this._attachedToViewContainer=!1}Qu(this._lView[qe],this._lView)}onDestroy(t){!function Nt(e,t){if(256==(256&e[bt]))throw new J(911,!1);null===e[ki]&&(e[ki]=[]),e[ki].push(t)}(this._lView,t)}markForCheck(){za(this._cdRefInjectingView||this._lView)}detach(){this._lView[bt]&=-129}reattach(){this._lView[bt]|=128}detectChanges(){eu(this._lView[qe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function S_(e,t){ka(e,t,t[_t],2,null,null)}(this._lView[qe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=t}}class VD extends Ka{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;eu(t[qe],t,t[nn],!1)}checkNoChanges(){}get context(){return null}}class Op extends Zl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Lt(t);return new Za(n,this.ngModule)}}function Rp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class UD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Ae(i);const r=this.injector.get(t,Ac,i);return r!==Ac||n===Ac?r:this.parentInjector.get(t,n,i)}}class Za extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=Rp(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return Rp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Js(e){return e.map(es).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let s=(r=r||this.ngModule)instanceof Rs?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new UD(t,s):t,d=a.get(xh,null);if(null===d)throw new J(407,!1);const $={rendererFactory:d,sanitizer:a.get(VE,null),effectManager:a.get(Sp,null),afterRenderEventManager:a.get(Lc,null)},ue=d.createRenderer(null,this.componentDef),ye=this.componentDef.selectors[0][0]||"div",Oe=i?function cD(e,t,n,i){const s=i.get(Xh,!1)||n===mn.ShadowDom,a=e.selectRootElement(t,s);return function dD(e){fp(e)}(a),a}(ue,i,this.componentDef.encapsulation,a):Rl(ue,ye,function HD(e){const t=e.toLowerCase();return"svg"===t?Is:"math"===t?"math":null}(ye)),dt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Fe=null;null!==Oe&&(Fe=wc(Oe,a,!0));const Pt=Hc(0,null,null,1,0,null,null,null,null,null,null),Gt=Jl(null,Pt,null,dt,null,null,$,ue,a,null,Fe);let En,Sr;W(Gt);try{const Qs=this.componentDef;let _a,ef=null;Qs.findHostDirectiveDefs?(_a=[],ef=new Map,Qs.findHostDirectiveDefs(Qs,_a,ef),_a.push(Qs)):_a=[Qs];const $w=function $D(e,t){const n=e[qe],i=Ft;return e[i]=t,na(n,i,2,"#host",null)}(Gt,Oe),zw=function zD(e,t,n,i,r,s,a){const d=r[qe];!function GD(e,t,n,i){for(const r of e)t.mergedAttrs=wr(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Xl(t,t.mergedAttrs,!0),null!==n&&oh(i,n,t))}(i,e,t,a);let m=null;null!==t&&(m=wc(t,r[gi]));const S=s.rendererFactory.createRenderer(t,n);let x=16;n.signals?x=4096:n.onPush&&(x=64);const $=Jl(r,dp(n),null,x,r[e.index],e,s,S,null,null,m);return d.firstCreatePass&&jc(d,e,i.length-1),ql(r,$),r[e.index]=$}($w,Oe,Qs,_a,Gt,$,ue);Sr=l(Pt,Ft),Oe&&function KD(e,t,n,i){if(i)jn(e,n,["ng-version",HE.full]);else{const{attrs:r,classes:s}=function gs(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!Dn(r))break;r=s}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&jn(e,n,r),s&&s.length>0&&sh(e,n,s.join(" "))}}(ue,Qs,Oe,i),void 0!==n&&function ZD(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const s=n[r];i.push(null!=s?Array.from(s):null)}}(Sr,this.ngContentSelectors,n),En=function WD(e,t,n,i,r,s){const a=et(),d=r[qe],m=C(a,r);gp(d,r,a,n,null,i);for(let x=0;x<n.length;x++)Yi(vo(r,d,a.directiveStart+x,a),r);mp(d,r,a),m&&Yi(m,r);const S=vo(r,d,a.directiveStart+a.componentOffset,a);if(e[nn]=r[nn]=S,null!==s)for(const x of s)x(S,t);return kc(d,a,e),S}(zw,Qs,_a,ef,Gt,[YD]),Wc(Pt,Gt,null)}finally{fn()}return new jD(this.componentType,En,qo(Sr,Gt),Gt,Sr)}}class jD extends PE{constructor(t,n,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new VD(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Gc(s[qe],s,r,t,n),this.previousInputValues.set(t,n),za(w(this._tNode.index,s))}}get injector(){return new ur(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function YD(){const e=et();fl(Ne()[qe],e)}function Kc(e){let t=function Pp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Xn(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new J(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const a=e;a.inputs=tu(e.inputs),a.inputTransforms=tu(e.inputTransforms),a.declaredInputs=tu(e.declaredInputs),a.outputs=tu(e.outputs);const d=r.hostBindings;d&&XD(e,d);const m=r.viewQuery,S=r.contentQueries;if(m&&JD(e,m),S&&qD(e,S),we(e.inputs,r.inputs),we(e.declaredInputs,r.declaredInputs),we(e.outputs,r.outputs),null!==r.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),we(a.inputTransforms,r.inputTransforms)),Xn(r)&&r.data.animation){const x=e.data;x.animation=(x.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let a=0;a<s.length;a++){const d=s[a];d&&d.ngInherit&&d(e),d===Kc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function QD(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=wr(r.hostAttrs,n=wr(n,r.hostAttrs))}}(i)}function tu(e){return e===un?{}:e===Mt?[]:e}function JD(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function qD(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function XD(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function Fp(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[2]&&(n[i]=r[2])}e.inputTransforms=n}function nu(e){return!!Zc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Zc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xs(e,t,n){return e[t]=n}function Ya(e,t){return e[t]}function Qi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function bo(e,t,n,i){const r=Qi(e,t,n);return Qi(e,t+1,i)||r}function iu(e,t,n,i,r){const s=bo(e,t,n,i);return Qi(e,t+2,r)||s}function Jr(e,t,n,i,r,s){const a=bo(e,t,n,i);return bo(e,t+2,r,s)||a}function Yc(e,t,n,i){const r=Ne();return Qi(r,lr(),t)&&(jt(),Ns(Tn(),r,e,t,n,i)),Yc}function ra(e,t,n,i){return Qi(e,lr(),n)?t+q(n)+i:Vt}function sa(e,t,n,i,r,s){const d=bo(e,Er(),n,r);return Kn(2),d?t+q(n)+i+q(r)+s:Vt}function Yp(e,t,n,i,r,s,a,d){const m=Ne(),S=jt(),x=e+Ft,$=S.firstCreatePass?function SC(e,t,n,i,r,s,a,d,m){const S=t.consts,x=na(t,e,4,a||null,_e(S,d));Uc(t,n,x,_e(S,m)),fl(t,x);const $=x.tView=Hc(2,x,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,x),$.queries=t.queries.embeddedTView(x)),x}(x,S,m,t,n,i,r,s,a):S.data[x];xt($,!1);const ue=Qp(S,m,$,e);dl()&&xl(S,m,ue,$),Yi(ue,m),ql(m,m[x]=vp(ue,m,ue,$)),Rr($)&&Bc(S,m,$),null!=a&&Vc(m,$,d)}let Qp=function Jp(e,t,n,i){return no(!0),t[_t].createComment("")};function qp(e){return v(function Hi(){return Be.lFrame.contextLView}(),Ft+e)}function td(e,t,n){const i=Ne();return Qi(i,lr(),t)&&Ur(jt(),Tn(),i,e,t,i[_t],n,!1),td}function nd(e,t,n,i,r){const a=r?"class":"style";Gc(e,n,t.inputs[a],a,i)}function au(e,t,n,i){const r=Ne(),s=jt(),a=Ft+e,d=r[_t],m=s.firstCreatePass?function AC(e,t,n,i,r,s){const a=t.consts,m=na(t,e,2,i,_e(a,r));return Uc(t,n,m,_e(a,s)),null!==m.attrs&&Xl(m,m.attrs,!1),null!==m.mergedAttrs&&Xl(m,m.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,m),m}(a,s,r,t,n,i):s.data[a],S=Xp(s,r,m,d,t,e);r[a]=S;const x=Rr(m);return xt(m,!0),oh(d,S,m),32!=(32&m.flags)&&dl()&&xl(s,r,S,m),0===function ui(){return Be.lFrame.elementDepthCount}()&&Yi(S,r),function xi(){Be.lFrame.elementDepthCount++}(),x&&(Bc(s,r,m),kc(s,m,r)),null!==i&&Vc(r,m),au}function lu(){let e=et();Hn()?Zi():(e=e.parent,xt(e,!1));const t=e;(function bi(e){return Be.skipHydrationRootTNode===e})(t)&&function Po(){Be.skipHydrationRootTNode=null}(),function ei(){Be.lFrame.elementDepthCount--}();const n=jt();return n.firstCreatePass&&(fl(n,e),_s(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Cv(e){return 0!=(8&e.flags)}(t)&&nd(n,t,Ne(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function bv(e){return 0!=(16&e.flags)}(t)&&nd(n,t,Ne(),t.stylesWithoutHost,!1),lu}function id(e,t,n,i){return au(e,t,n,i),lu(),id}let Xp=(e,t,n,i,r,s)=>(no(!0),Rl(i,r,function af(){return Be.lFrame.currentNamespace}()));function uu(e,t,n){const i=Ne(),r=jt(),s=e+Ft,a=r.firstCreatePass?function RC(e,t,n,i,r){const s=t.consts,a=_e(s,i),d=na(t,e,8,"ng-container",a);return null!==a&&Xl(d,a,!0),Uc(t,n,d,_e(s,r)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,r,i,t,n):r.data[s];xt(a,!0);const d=eg(r,i,a,e);return i[s]=d,dl()&&xl(r,i,d,a),Yi(d,i),Rr(a)&&(Bc(r,i,a),kc(r,a,i)),null!=n&&Vc(i,a),uu}function cu(){let e=et();const t=jt();return Hn()?Zi():(e=e.parent,xt(e,!1)),t.firstCreatePass&&(fl(t,e),_s(e)&&t.queries.elementEnd(e)),cu}function rd(e,t,n){return uu(e,t,n),cu(),rd}let eg=(e,t,n,i)=>(no(!0),Yu(t[_t],""));function tg(){return Ne()}function sd(e){return!!e&&"function"==typeof e.then}function ng(e){return!!e&&"function"==typeof e.subscribe}function od(e,t,n,i){const r=Ne(),s=jt(),a=et();return function rg(e,t,n,i,r,s,a){const d=Rr(i),S=e.firstCreatePass&&Dp(e),x=t[nn],$=Ep(t);let ue=!0;if(3&i.type||a){const je=C(i,t),nt=a?a(je):je,dt=$.length,Fe=a?Gt=>a(vn(Gt[i.index])):i.index;let Pt=null;if(!a&&d&&(Pt=function xC(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const a=r[s];if(a===n&&r[s+1]===i){const d=t[Jn],m=r[s+2];return d.length>m?d[m]:null}"string"==typeof a&&(s+=2)}return null}(e,t,r,i.index)),null!==Pt)(Pt.__ngLastListenerFn__||Pt).__ngNextListenerFn__=s,Pt.__ngLastListenerFn__=s,ue=!1;else{s=og(i,t,x,s,!1);const Gt=n.listen(nt,r,s);$.push(s,Gt),S&&S.push(r,Fe,dt,dt+1)}}else s=og(i,t,x,s,!1);const ye=i.outputs;let Oe;if(ue&&null!==ye&&(Oe=ye[r])){const je=Oe.length;if(je)for(let nt=0;nt<je;nt+=2){const En=t[Oe[nt]][Oe[nt+1]].subscribe(s),Sr=$.length;$.push(s,En),S&&S.push(r,i.index,Sr,-(Sr+1))}}}(s,r,r[_t],a,e,t,i),od}function sg(e,t,n,i){try{return vr(6,t,n),!1!==n(i)}catch(r){return bp(e,r),!1}finally{vr(7,t,n)}}function og(e,t,n,i,r){return function s(a){if(a===Function)return i;za(e.componentOffset>-1?w(e.index,t):t);let m=sg(t,n,i,a),S=s.__ngNextListenerFn__;for(;S;)m=sg(t,n,S,a)&&m,S=S.__ngNextListenerFn__;return r&&!1===m&&a.preventDefault(),m}}function ag(e=1){return function tn(e){return(Be.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[Di],e--;return t}(e,Be.lFrame.contextLView))[nn]}(e)}function LC(e,t){let n=null;const i=function Gi(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 r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?Ji(e,s,!0):zr(i,s))return r}else n=r}return n}function lg(e){const t=Ne()[bn][Mn];if(!t.projection){const i=t.projection=Pa(e?e.length:1,null),r=i.slice();let s=t.child;for(;null!==s;){const a=e?LC(s,e):0;null!==a&&(r[a]?r[a].projectionNext=s:i[a]=s,r[a]=s),s=s.next}}}function ug(e,t=0,n){const i=Ne(),r=jt(),s=na(r,Ft+e,16,null,n||null);null===s.projection&&(s.projection=t),Zi(),(!i[mi]||ci())&&32!=(32&s.flags)&&function P_(e,t,n){rh(t[_t],0,t,n,qu(e,n,t),qf(n.parent||t[Mn],n,t))}(r,i,s)}function ad(e,t,n){return du(e,"",t,"",n),ad}function du(e,t,n,i,r){const s=Ne(),a=ra(s,t,n,i);return a!==Vt&&Ur(jt(),Tn(),s,e,a,s[_t],r,!1),du}function ld(e,t,n,i,r,s,a){const d=Ne(),m=sa(d,t,n,i,r,s);return m!==Vt&&Ur(jt(),Tn(),d,e,m,d[_t],a,!1),ld}function fu(e,t){return e<<17|t<<2}function ro(e){return e>>17&32767}function ud(e){return 2|e}function So(e){return(131068&e)>>2}function cd(e,t){return-131069&e|t<<2}function dd(e){return 1|e}function yg(e,t,n,i,r){const s=e[n+1],a=null===t;let d=i?ro(s):So(s),m=!1;for(;0!==d&&(!1===m||a);){const x=e[d+1];UC(e[d],t)&&(m=!0,e[d+1]=i?dd(x):ud(x)),d=i?ro(x):So(x)}m&&(e[n+1]=i?ud(s):dd(s))}function UC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Uo(e,t)>=0}const wi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vg(e){return e.substring(wi.key,wi.keyEnd)}function jC(e){return e.substring(wi.value,wi.valueEnd)}function _g(e,t){const n=wi.textEnd;return n===t?-1:(t=wi.keyEnd=function GC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wi.key=t,n),fa(e,t,n))}function Eg(e,t){const n=wi.textEnd;let i=wi.key=fa(e,t,n);return n===i?-1:(i=wi.keyEnd=function WC(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Cg(e,i,n),i=wi.value=fa(e,i,n),i=wi.valueEnd=function KC(e,t,n){let i=-1,r=-1,s=-1,a=t,d=a;for(;a<n;){const m=e.charCodeAt(a++);if(59===m)return d;34===m||39===m?d=a=bg(e,m,a,n):t===a-4&&85===s&&82===r&&76===i&&40===m?d=a=bg(e,41,a,n):m>32&&(d=a),s=r,r=i,i=-33&m}return d}(e,i,n),Cg(e,i,n))}function Dg(e){wi.key=0,wi.keyEnd=0,wi.value=0,wi.valueEnd=0,wi.textEnd=e.length}function fa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Cg(e,t,n,i){return(t=fa(e,t,n))<n&&t++,t}function bg(e,t,n,i){let r=-1,s=n;for(;s<i;){const a=e.charCodeAt(s++);if(a==t&&92!==r)return s;r=92==a&&92===r?0:a}throw new Error}function fd(e,t,n){return fs(e,t,n,!1),fd}function hd(e,t){return fs(e,t,null,!0),hd}function ds(e){hs(Tg,ZC,e,!1)}function ZC(e,t){for(let n=function zC(e){return Dg(e),Eg(e,fa(e,0,wi.textEnd))}(t);n>=0;n=Eg(t,n))Tg(e,vg(t),jC(t))}function Sg(e){hs(eb,Ls,e,!0)}function Ls(e,t){for(let n=function $C(e){return Dg(e),_g(e,fa(e,0,wi.textEnd))}(t);n>=0;n=_g(t,n))Hr(e,vg(t),!0)}function fs(e,t,n,i){const r=Ne(),s=jt(),a=Kn(2);s.firstUpdatePass&&Mg(s,e,a,i),t!==Vt&&Qi(r,a,t)&&Ag(s,s.data[fi()],r,r[_t],e,r[a+1]=function nb(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ge(Ws(e)))),e}(t,n),i,a)}function hs(e,t,n,i){const r=jt(),s=Kn(2);r.firstUpdatePass&&Mg(r,null,s,i);const a=Ne();if(n!==Vt&&Qi(a,s,n)){const d=r.data[fi()];if(Og(d,i)&&!wg(r,s)){let m=i?d.classesWithoutHost:d.stylesWithoutHost;null!==m&&(n=Ve(m,n||"")),nd(r,d,a,n,i)}else!function tb(e,t,n,i,r,s,a,d){r===Vt&&(r=Mt);let m=0,S=0,x=0<r.length?r[0]:null,$=0<s.length?s[0]:null;for(;null!==x||null!==$;){const ue=m<r.length?r[m+1]:void 0,ye=S<s.length?s[S+1]:void 0;let je,Oe=null;x===$?(m+=2,S+=2,ue!==ye&&(Oe=$,je=ye)):null===$||null!==x&&x<$?(m+=2,Oe=x):(S+=2,Oe=$,je=ye),null!==Oe&&Ag(e,t,n,i,Oe,je,a,d),x=m<r.length?r[m]:null,$=S<s.length?s[S]:null}}(r,d,a,a[_t],a[s+1],a[s+1]=function XC(e,t,n){if(null==n||""===n)return Mt;const i=[],r=Ws(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(i,s,r[s]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,s)}}function wg(e,t){return t>=e.expandoStartIndex}function Mg(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[fi()],a=wg(e,n);Og(s,i)&&null===t&&!a&&(t=!1),t=function YC(e,t,n,i){const r=function g(e){const t=Be.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Xa(n=pd(null,e,t,n,i),t.attrs,i),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=pd(r,e,t,n,i),null===s){let m=function QC(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==So(i))return e[ro(i)]}(e,t,i);void 0!==m&&Array.isArray(m)&&(m=pd(null,e,t,m[1],i),m=Xa(m,t.attrs,i),function JC(e,t,n,i){e[ro(n?t.classBindings:t.styleBindings)]=i}(e,t,i,m))}else s=function qC(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++)i=Xa(i,e[s].hostAttrs,n);return Xa(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,i),function VC(e,t,n,i,r,s){let a=s?t.classBindings:t.styleBindings,d=ro(a),m=So(a);e[i]=n;let x,S=!1;if(Array.isArray(n)?(x=n[1],(null===x||Uo(n,x)>0)&&(S=!0)):x=n,r)if(0!==m){const ue=ro(e[d+1]);e[i+1]=fu(ue,d),0!==ue&&(e[ue+1]=cd(e[ue+1],i)),e[d+1]=function kC(e,t){return 131071&e|t<<17}(e[d+1],i)}else e[i+1]=fu(d,0),0!==d&&(e[d+1]=cd(e[d+1],i)),d=i;else e[i+1]=fu(m,0),0===d?d=i:e[m+1]=cd(e[m+1],i),m=i;S&&(e[i+1]=ud(e[i+1])),yg(e,x,i,!0),yg(e,x,i,!1),function HC(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Uo(s,t)>=0&&(n[i+1]=dd(n[i+1]))}(t,x,e,i,s),a=fu(d,m),s?t.classBindings=a:t.styleBindings=a}(r,s,t,n,a,i)}}function pd(e,t,n,i,r){let s=null;const a=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<a&&(s=t[d],i=Xa(i,s.hostAttrs,r),s!==e);)d++;return null!==e&&(n.directiveStylingLast=d),i}function Xa(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Hr(e,a,!!n||t[++s]))}return void 0===e?null:e}function Tg(e,t,n){Hr(e,t,Ws(n))}function eb(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Hr(e,i,n)}function Ag(e,t,n,i,r,s,a,d){if(!(3&t.type))return;const m=e.data,S=m[d+1],x=function BC(e){return 1==(1&e)}(S)?Ig(m,t,n,r,So(S),a):void 0;hu(x)||(hu(s)||function FC(e){return 2==(2&e)}(S)&&(s=Ig(m,null,n,r,d,a)),function x_(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let s=-1===i.indexOf("-")?void 0:Il.DashCase;null==r?e.removeStyle(n,i,s):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),s|=Il.Important),e.setStyle(n,i,r,s))}}(i,a,to(fi(),n),r,s))}function Ig(e,t,n,i,r,s){const a=null===t;let d;for(;r>0;){const m=e[r],S=Array.isArray(m),x=S?m[1]:m,$=null===x;let ue=n[r+1];ue===Vt&&(ue=$?Mt:void 0);let ye=$?Vu(ue,i):x===i?ue:void 0;if(S&&!hu(ye)&&(ye=Vu(m,i)),hu(ye)&&(d=ye,a))return d;const Oe=e[r+1];r=a?ro(Oe):So(Oe)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(d=Vu(m,i))}return d}function hu(e){return void 0!==e}function Og(e,t){return 0!=(e.flags&(t?8:16))}function Rg(e,t=""){const n=Ne(),i=jt(),r=e+Ft,s=i.firstCreatePass?na(i,r,1,t,null):i.data[r],a=Pg(i,n,s,t,e);n[r]=a,dl()&&xl(i,n,a,s),xt(s,!1)}let Pg=(e,t,n,i,r)=>(no(!0),function Ol(e,t){return e.createText(t)}(t[_t],i));function gd(e){return pu("",e,""),gd}function pu(e,t,n){const i=Ne(),r=ra(i,e,t,n);return r!==Vt&&Ys(i,fi(),r),pu}function md(e,t,n,i,r){const s=Ne(),a=sa(s,e,t,n,i,r);return a!==Vt&&Ys(s,fi(),a),md}function yd(e,t,n,i,r,s,a){const d=Ne(),m=function oa(e,t,n,i,r,s,a,d){const S=iu(e,Er(),n,r,a);return Kn(3),S?t+q(n)+i+q(r)+s+q(a)+d:Vt}(d,e,t,n,i,r,s,a);return m!==Vt&&Ys(d,fi(),m),yd}function Vg(e,t,n){hs(Hr,Ls,ra(Ne(),e,t,n),!0)}const wo=void 0;var bb=["en",[["a","p"],["AM","PM"],wo],[["AM","PM"],wo,wo],[["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"]],wo,[["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"]],wo,[["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}",wo,"{1} 'at' {0}",wo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Cb(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ha={};function vd(e){const t=function Sb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qg(t);if(n)return n;const i=t.split("-")[0];if(n=qg(i),n)return n;if("en"===i)return bb;throw new J(701,!1)}function Jg(e){return vd(e)[pa.PluralCase]}function qg(e){return e in ha||(ha[e]=gt.ng&&gt.ng.common&&gt.ng.common.locales&&gt.ng.common.locales[e]),ha[e]}var pa=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}(pa||{});const ga="en-US";let Xg=ga;function Dd(e,t,n,i,r){if(e=se(e),Array.isArray(e))for(let s=0;s<e.length;s++)Dd(e[s],t,n,i,r);else{const s=jt(),a=Ne(),d=et();let m=Co(e)?e:se(e.provide);const S=Mh(e),x=1048575&d.providerIndexes,$=d.directiveStart,ue=d.providerIndexes>>20;if(Co(e)||!e.multi){const ye=new Ta(S,r,ta),Oe=bd(m,t,r?x:x+ue,$);-1===Oe?(Lu(ml(d,a),s,m),Cd(s,e,t.length),t.push(m),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),n.push(ye),a.push(ye)):(n[Oe]=ye,a[Oe]=ye)}else{const ye=bd(m,t,x+ue,$),Oe=bd(m,t,x,x+ue),nt=Oe>=0&&n[Oe];if(r&&!nt||!r&&!(ye>=0&&n[ye])){Lu(ml(d,a),s,m);const dt=function b0(e,t,n,i,r){const s=new Ta(e,n,ta);return s.multi=[],s.index=t,s.componentProviders=0,Sm(s,r,i&&!n),s}(r?C0:D0,n.length,r,i,S);!r&&nt&&(n[Oe].providerFactory=dt),Cd(s,e,t.length,0),t.push(m),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),n.push(dt),a.push(dt)}else Cd(s,e,ye>-1?ye:Oe,Sm(n[r?Oe:ye],S,!r&&i));!r&&i&&nt&&n[Oe].componentProviders++}}}function Cd(e,t,n,i){const r=Co(t),s=function hE(e){return!!e.useClass}(t);if(r||s){const m=(s?se(t.useClass):t).prototype.ngOnDestroy;if(m){const S=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const x=S.indexOf(n);-1===x?S.push(n,[i,m]):S[x+1].push(i,m)}else S.push(n,m)}}}function Sm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bd(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function D0(e,t,n,i){return Sd(this.multi,[])}function C0(e,t,n,i){const r=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,d=vo(n,n[qe],this.providerFactory.index,i);s=d.slice(0,a),Sd(r,s);for(let m=a;m<d.length;m++)s.push(d[m])}else s=[],Sd(r,s);return s}function Sd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function wm(e,t=[]){return n=>{n.providersResolver=(i,r)=>function E0(e,t,n){const i=jt();if(i.firstCreatePass){const r=Xn(e);Dd(n,i.data,i.blueprint,r,!0),Dd(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Mo{}class Mm{}function S0(e,t){return new wd(e,t??null,[])}class wd extends Mo{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Op(this);const r=Cn(t);this._bootstrapComponents=Zs(r.bootstrap),this._r3Injector=Hh(t,n,[{provide:Mo,useValue:this},{provide:Zl,useValue:this.componentFactoryResolver},...i],ge(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 Md extends Mm{constructor(t){super(),this.moduleType=t}create(t){return new wd(this.moduleType,t,[])}}class Tm extends Mo{constructor(t){super(),this.componentFactoryResolver=new Op(this),this.instance=null;const n=new Zo([...t.providers,{provide:Mo,useValue:this},{provide:Zl,useValue:this.componentFactoryResolver}],t.parent||jl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Am(e,t,n=null){return new Tm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let M0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=Ch(0,n.type),r=i.length>0?Am([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}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=Ht({token:e,providedIn:"environment",factory:()=>new e(he(Rs))})}return e})();function Im(e){e.getStandaloneInjector=t=>t.get(M0).getOrCreateStandaloneInjector(e)}function Fm(e,t,n){const i=vi()+e,r=Ne();return r[i]===Vt?xs(r,i,n?t.call(n):t()):Ya(r,i)}function km(e,t,n,i){return Gm(Ne(),vi(),e,t,n,i)}function Bm(e,t,n,i,r){return Wm(Ne(),vi(),e,t,n,i,r)}function Vm(e,t,n,i,r,s){return function Km(e,t,n,i,r,s,a,d){const m=t+n;return iu(e,m,r,s,a)?xs(e,m+3,d?i.call(d,r,s,a):i(r,s,a)):sl(e,m+3)}(Ne(),vi(),e,t,n,i,r,s)}function Hm(e,t,n,i,r,s,a){return function Zm(e,t,n,i,r,s,a,d,m){const S=t+n;return Jr(e,S,r,s,a,d)?xs(e,S+4,m?i.call(m,r,s,a,d):i(r,s,a,d)):sl(e,S+4)}(Ne(),vi(),e,t,n,i,r,s,a)}function Um(e,t,n,i,r,s,a,d){const m=vi()+e,S=Ne(),x=Jr(S,m,n,i,r,s);return Qi(S,m+4,a)||x?xs(S,m+5,d?t.call(d,n,i,r,s,a):t(n,i,r,s,a)):Ya(S,m+5)}function jm(e,t,n,i,r,s,a,d,m){const S=vi()+e,x=Ne(),$=Jr(x,S,n,i,r,s);return bo(x,S+4,a,d)||$?xs(x,S+6,m?t.call(m,n,i,r,s,a,d):t(n,i,r,s,a,d)):Ya(x,S+6)}function $m(e,t,n,i,r,s,a,d,m,S){const x=vi()+e,$=Ne();let ue=Jr($,x,n,i,r,s);return iu($,x+4,a,d,m)||ue?xs($,x+7,S?t.call(S,n,i,r,s,a,d,m):t(n,i,r,s,a,d,m)):Ya($,x+7)}function zm(e,t,n,i){return function Ym(e,t,n,i,r,s){let a=t+n,d=!1;for(let m=0;m<r.length;m++)Qi(e,a++,r[m])&&(d=!0);return d?xs(e,a,i.apply(s,r)):sl(e,a)}(Ne(),vi(),e,t,n,i)}function sl(e,t){const n=e[t];return n===Vt?void 0:n}function Gm(e,t,n,i,r,s){const a=t+n;return Qi(e,a,r)?xs(e,a+1,s?i.call(s,r):i(r)):sl(e,a+1)}function Wm(e,t,n,i,r,s,a){const d=t+n;return bo(e,d,r,s)?xs(e,d+2,a?i.call(a,r,s):i(r,s)):sl(e,d+2)}function Qm(e,t){const n=jt();let i;const r=e+Ft;n.firstCreatePass?(i=function F0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=or(i.type)),d=Rn(ta);try{const m=gl(!1),S=s();return gl(m),function TC(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Ne(),r,S),S}finally{Rn(d)}}function Jm(e,t,n){const i=e+Ft,r=Ne(),s=v(r,i);return ol(r,i)?Gm(r,vi(),t,s.transform,n,s):s.transform(n)}function qm(e,t,n,i){const r=e+Ft,s=Ne(),a=v(s,r);return ol(s,r)?Wm(s,vi(),t,a.transform,n,i,a):a.transform(n,i)}function ol(e,t){return e[qe].data[t].pure}function H0(){return this._results[Symbol.iterator]()}class Ad{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Ps)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Ad.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=H0)}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){const i=this;i.dirty=!1;const r=function Qr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function kv(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function j0(e,t,n,i=!0){const r=t[qe];if(function M_(e,t,n,i){const r=ln+i,s=n.length;i>0&&(n[r-1][pi]=t),i<s-ln?(t[pi]=n[r],bf(n,ln+i,t)):(n.push(t),t[pi]=null),t[Qt]=n;const a=t[tr];null!==a&&n!==a&&function T_(e,t){const n=e[Bi];t[bn]!==t[Qt][Qt][bn]&&(e[qs]=!0),null===n?e[Bi]=[t]:n.push(t)}(a,t);const d=t[xn];null!==d&&d.insertView(e),t[bt]|=128}(r,t,e,n),i){const s=ec(n,e),a=t[_t],d=Nl(a,e[Ki]);null!==d&&function b_(e,t,n,i,r,s){i[Yt]=r,i[Mn]=t,ka(e,i,n,1,r,s)}(r,e[Mn],a,t,d,s)}}let al=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=G0}return e})();const $0=al,z0=class extends $0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=function U0(e,t,n,i){const r=t.tView,d=Jl(e,r,n,4096&e[bt]?4096:16,null,t,null,null,null,i?.injector??null,i?.hydrationInfo??null);d[tr]=e[t.index];const S=e[xn];return null!==S&&(d[xn]=S.createEmbeddedView(r)),Wc(r,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:i});return new Ka(r)}};function G0(){return _u(et(),Ne())}function _u(e,t){return 4&e.type?new z0(t,e,qo(e,t)):null}let Du=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=J0}return e})();function J0(){return sy(et(),Ne())}const q0=Du,iy=class extends q0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return qo(this._hostTNode,this._hostLView)}get injector(){return new ur(this._hostTNode,this._hostLView)}get parentInjector(){const t=yl(this._hostTNode,this._hostLView);if(Pu(t)){const n=Ia(t,this._hostLView),i=Aa(t);return new ur(n[qe].data[i+8],n)}return new ur(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ry(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ln}createEmbeddedView(t,n,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const d=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(d,r,false),d}createComponent(t,n,i,r,s){const a=t&&!function Ra(e){return"function"==typeof e}(t);let d;if(a)d=n;else{const je=n||{};d=je.index,i=je.injector,r=je.projectableNodes,s=je.environmentInjector||je.ngModuleRef}const m=a?t:new Za(Lt(t)),S=i||this.parentInjector;if(!s&&null==m.ngModule){const nt=(a?S:this.parentInjector).get(Rs,null);nt&&(s=nt)}Lt(m.componentType??{});const ye=m.create(S,r,null,s);return this.insertImpl(ye.hostView,d,false),ye}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const r=t._lView;if(function ie(e){return ai(e[Qt])}(r)){const m=this.indexOf(t);if(-1!==m)this.detach(m);else{const S=r[Qt],x=new iy(S,S[Mn],S[Qt]);x.detach(x.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return j0(d,r,a,!i),t.attachToViewContainerRef(),bf(Id(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ry(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Pl(this._lContainer,n);i&&(_l(Id(this._lContainer),n),Qu(i[qe],i))}detach(t){const n=this._adjustIndex(t,-1),i=Pl(this._lContainer,n);return i&&null!=_l(Id(this._lContainer),n)?new Ka(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function ry(e){return e[8]}function Id(e){return e[8]||(e[8]=[])}function sy(e,t){let n;const i=t[e.index];return ai(i)?n=i:(n=vp(i,t,null,e),t[e.index]=n,ql(t,n)),oy(n,t,e,i),new iy(n,e,t)}let oy=function ay(e,t,n,i){if(e[Ki])return;let r;r=8&n.type?vn(i):function X0(e,t){const n=e[_t],i=n.createComment(""),r=C(t,e);return _o(n,Nl(n,r),i,function R_(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[Ki]=r};class Od{constructor(t){this.queryList=t,this.matches=null}clone(){return new Od(this.queryList)}setDirty(){this.queryList.setDirty()}}class Rd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let s=0;s<i;s++){const a=n.getByIndex(s);r.push(this.queries[a.indexInDeclarationView].clone())}return new Rd(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==my(t,n).matches&&this.queries[n].setDirty()}}class ly{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Pd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,s=this.getByIndex(i).embeddedTView(t,r);s&&(s.indexInDeclarationView=i,null!==n?n.push(s):n=[s])}return null!==n?new Pd(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nd{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Nd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(t,n,nS(n,s)),this.matchTNodeWithReadOption(t,n,vl(n,t,s,!1,!1))}else i===al?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,vl(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===$a||r===Du||r===al&&4&n.type)this.addMatch(n.index,-2);else{const s=vl(n,t,r,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function nS(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function rS(e,t,n,i){return-1===n?function iS(e,t){return 11&e.type?qo(e,t):4&e.type?_u(e,t):null}(t,e):-2===n?function sS(e,t,n){return n===$a?qo(t,e):n===al?_u(t,e):n===Du?sy(t,e):void 0}(e,t,i):vo(e,e[qe],n,t)}function uy(e,t,n,i){const r=t[xn].queries[i];if(null===r.matches){const s=e.data,a=n.matches,d=[];for(let m=0;m<a.length;m+=2){const S=a[m];d.push(S<0?null:rS(t,s[S],a[m+1],n.metadata.read))}r.matches=d}return r.matches}function xd(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const a=uy(e,t,r,n);for(let d=0;d<s.length;d+=2){const m=s[d];if(m>0)i.push(a[d/2]);else{const S=s[d+1],x=t[-m];for(let $=ln;$<x.length;$++){const ue=x[$];ue[tr]===ue[Qt]&&xd(ue[qe],ue,S,i)}if(null!==x[Bi]){const $=x[Bi];for(let ue=0;ue<$.length;ue++){const ye=$[ue];xd(ye[qe],ye,S,i)}}}}}return i}function cy(e){const t=Ne(),n=jt(),i=c();y(i+1);const r=my(n,i);if(e.dirty&&function F(e){return 4==(4&e[bt])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const s=r.crossesNgTemplate?xd(n,t,i,[]):uy(n,t,r,i);e.reset(s,FE),e.notifyOnChanges()}return!0}return!1}function dy(e,t,n){const i=jt();i.firstCreatePass&&(gy(i,new ly(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),py(i,Ne(),t)}function fy(e,t,n,i){const r=jt();if(r.firstCreatePass){const s=et();gy(r,new ly(t,n,i),s.index),function aS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}py(r,Ne(),n)}function hy(){return function oS(e,t){return e[xn].queries[t].queryList}(Ne(),c())}function py(e,t,n){const i=new Ad(4==(4&n));(function pD(e,t,n,i){const r=Ep(t);r.push(n),e.firstCreatePass&&Dp(e).push(i,r.length-1)})(e,t,i,i.destroy),null===t[xn]&&(t[xn]=new Rd),t[xn].queries.push(new Od(i))}function gy(e,t,n){null===e.queries&&(e.queries=new Pd),e.queries.track(new Nd(t,n))}function my(e,t){return e.queries.getByIndex(t)}function yy(e,t){return _u(e,t)}function Ld(e){return!!Cn(e)}const xy=new Dt("Application Initializer");let Hd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=ne(xy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const s=r();if(sd(s))n.push(s);else if(ng(s)){const a=new Promise((d,m)=>{s.subscribe({complete:d,error:m})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ly=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const bu=new Dt("LocaleId",{providedIn:"root",factory:()=>ne(bu,Et.Optional|Et.SkipSelf)||function AS(){return typeof $localize<"u"&&$localize.locale||ga}()}),IS=new Dt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Fy=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new A.X(!1)}add(){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.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class RS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let PS=(()=>{class e{compileModuleSync(n){return new Md(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=Zs(Cn(n).declarations).reduce((a,d)=>{const m=Lt(d);return m&&a.push(new Za(m)),a},[]);return new RS(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Hy=new Dt(""),Uy=new Dt("");let $d,ew=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$d||(function tw(e){$d=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(he(Li),he(jy),he(Uy))};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}return e})(),jy=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return $d?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),so=null;const $y=new Dt("AllowMultipleToken"),zd=new Dt("PlatformDestroyListeners"),Gd=new Dt("appBootstrapListener");class rw{constructor(t,n){this.name=t,this.token=n}}function Wy(e,t,n=[]){const i=`Platform: ${t}`,r=new Dt(i);return(s=[])=>{let a=Wd();if(!a||a.injector.get($y,!1)){const d=[...n,...s,{provide:r,useValue:!0}];e?e(d):function sw(e){if(so&&!so.get($y,!1))throw new J(400,!1);(function zy(){!function p(e){as=e}(()=>{throw new J(600,!1)})})(),so=e;const t=e.get(Zy);(function Gy(e){e.get(Ah,null)?.forEach(n=>n())})(e)}(function Ky(e=[],t){return cs.create({name:t,providers:[{provide:hc,useValue:"platform"},{provide:zd,useValue:new Set([()=>so=null])},...e]})}(d,i))}return function aw(e){const t=Wd();if(!t)throw new J(401,!1);return t}()}}function Wd(){return so?.get(Zy)??null}let Zy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function lw(e="zone.js",t){return"noop"===e?new qE:"zone.js"===e?new Li(t):e}(i?.ngZone,function Yy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const s=function w0(e,t,n){return new wd(e,t,n)}(n.moduleType,this.injector,function ev(e){return[{provide:Li,useFactory:e},{provide:Ha,multi:!0,useFactory:()=>{const t=ne(cw,{optional:!0});return()=>t.initialize()}},{provide:Xy,useFactory:uw},{provide:Gh,useFactory:Wh}]}(()=>r)),a=s.injector.get(io,null);return r.runOutsideAngular(()=>{const d=r.onError.subscribe({next:m=>{a.handleError(m)}});s.onDestroy(()=>{wu(this._modules,s),d.unsubscribe()})}),function Qy(e,t,n){try{const i=n();return sd(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(a,r,()=>{const d=s.injector.get(Hd);return d.runInitializers(),d.donePromise.then(()=>(function em(e){kt(e,"Expected localeId to be defined"),"string"==typeof e&&(Xg=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(bu,ga)||ga),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,i=[]){const r=Jy({},i);return function nw(e,t,n){const i=new Md(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(va);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new J(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(zd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(he(cs))};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Jy(e,t){return Array.isArray(t)?t.reduce(Jy,e):{...e,...t}}let va=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ne(Xy),this.zoneIsStable=ne(Gh),this.componentTypes=[],this.components=[],this.isStable=ne(Fy).hasPendingTasks.pipe((0,ce.w)(n=>n?(0,B.of)(!1):this.zoneIsStable),(0,le.x)(),(0,U.B)()),this._injector=ne(Rs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Ph;if(!this._injector.get(Hd).done)throw!r&&Ei(n),new J(405,!1);let a;a=r?n:this._injector.get(Zl).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const d=function iw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Mo),S=a.create(cs.NULL,[],i||a.selector,d),x=S.location.nativeElement,$=S.injector.get(Hy,null);return $?.registerApplication(x),S.onDestroy(()=>{this.detachView(S.hostView),wu(this.components,S),$?.unregisterApplication(x)}),this._loadComponent(S),S}tick(){if(this._runningTick)throw new J(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;wu(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Gd,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(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 J(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Xy=new Dt("",{providedIn:"root",factory:()=>ne(io).handleError.bind(void 0)});function uw(){const e=ne(Li),t=ne(io);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cw=(()=>{class e{constructor(){this.zone=ne(Li),this.applicationRef=ne(va)}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(i){return new(i||e)};static#t=this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fw(){return!1}let hw=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pw}return e})();function pw(e){return function gw(e,t,n){if(Or(e)&&!n){const i=w(e.index,t);return new Ka(i,i)}return 47&e.type?new Ka(t[bn],t):null}(et(),Ne(),16==(16&e))}class rv{constructor(){}supports(t){return nu(t)}create(t){return new Dw(t)}}const Ew=(e,t)=>t;class Dw{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||Ew}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const a=!i||n&&n.currentIndex<ov(i,r,s)?n:i,d=ov(a,r,s),m=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)r++;else{s||(s=[]);const S=d-r,x=m-r;if(S!=x){for(let ue=0;ue<S;ue++){const ye=ue<s.length?s[ue]:s[ue]=0,Oe=ye+ue;x<=Oe&&Oe<S&&(s[ue]=ye+1)}s[a.previousIndex]=x-S}}d!==m&&t(a,d,m)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!nu(t))throw new J(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,s,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)s=t[d],a=this._trackByFn(d,s),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,s,a,d)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,d),i=!0),n=n._next}else r=0,function oC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,d=>{a=this._trackByFn(r,d),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,d,a,r)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,a,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new Cw(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new sv),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 sv),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 Cw{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 bw{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class sv{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new bw,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 ov(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class av{constructor(){}supports(t){return t instanceof Map||Zc(t)}create(){return new Sw}}class Sw{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Zc(t)))throw new J(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,a=r._next;return s&&(s._next=a),a&&(a._prev=s),r._next=null,r._prev=null,r}const i=new ww(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class ww{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 lv(){return new Jd([new rv])}let Jd=(()=>{class e{static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:lv});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||lv()),deps:[[e,new Cl,new Dl]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new J(901,!1)}}return e})();function uv(){return new qd([new av])}let qd=(()=>{class e{static#e=this.\u0275prov=Ht({token:e,providedIn:"root",factory:uv});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||uv()),deps:[[e,new Cl,new Dl]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new J(901,!1)}}return e})();const Aw=Wy(null,"core",[]);let Iw=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(he(va))};static#t=this.\u0275mod=Gr({type:e});static#n=this.\u0275inj=yt({})}return e})();function Hw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function jw(e){const t=Lt(e);if(!t)return null;const n=new Za(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}}}},6223:(ze,me,_)=>{_.d(me,{CE:()=>Ei,Cf:()=>ge,Fj:()=>le,JJ:()=>Mi,JL:()=>yt,JU:()=>h,NI:()=>$n,Oe:()=>Bi,On:()=>Nn,Q7:()=>Pi,UX:()=>Xn,_Y:()=>qi,a5:()=>sn,kI:()=>Ge,nD:()=>Ar,oH:()=>pr,on:()=>ir,qu:()=>In,sg:()=>ns,u:()=>Ri,u5:()=>Rr,x0:()=>cn});var o=_(2029),R=_(6814),V=_(7715),z=_(9315),T=_(7398);let H=(()=>{class M{constructor(E,k){this._renderer=E,this._elementRef=k,this.onChange=Q=>{},this.onTouched=()=>{}}setProperty(E,k){this._renderer.setProperty(this._elementRef.nativeElement,E,k)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(o.Qsj),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:M})}return M})(),N=(()=>{class M extends H{static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,features:[o.qOj]})}return M})();const h=new o.OlP("NgValueAccessor"),B={provide:h,useExisting:(0,o.Gpc)(()=>le),multi:!0},ce=new o.OlP("CompositionEventMode");let le=(()=>{class M extends H{constructor(E,k,Q){super(E,k),this._compositionMode=Q,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function U(){const M=(0,R.q)()?(0,R.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(ce,8))};static#t=this.\u0275dir=o.lG2({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(k,Q){1&k&&o.NdJ("input",function(Tt){return Q._handleInput(Tt.target.value)})("blur",function(){return Q.onTouched()})("compositionstart",function(){return Q._compositionStart()})("compositionend",function(Tt){return Q._compositionEnd(Tt.target.value)})},features:[o._Bn([B]),o.qOj]})}return M})();function G(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}function we(M){return null!=M&&"number"==typeof M.length}const ge=new o.OlP("NgValidators"),Ve=new o.OlP("NgAsyncValidators"),lt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ge{static min(O){return function se(M){return O=>{if(G(O.value)||G(M))return null;const E=parseFloat(O.value);return!isNaN(E)&&E<M?{min:{min:M,actual:O.value}}:null}}(O)}static max(O){return function de(M){return O=>{if(G(O.value)||G(M))return null;const E=parseFloat(O.value);return!isNaN(E)&&E>M?{max:{max:M,actual:O.value}}:null}}(O)}static required(O){return He(O)}static requiredTrue(O){return function fe(M){return!0===M.value?null:{required:!0}}(O)}static email(O){return ee(O)}static minLength(O){return function J(M){return O=>G(O.value)||!we(O.value)?null:O.value.length<M?{minlength:{requiredLength:M,actualLength:O.value.length}}:null}(O)}static maxLength(O){return We(O)}static pattern(O){return function q(M){if(!M)return Le;let O,E;return"string"==typeof M?(E="","^"!==M.charAt(0)&&(E+="^"),E+=M,"$"!==M.charAt(M.length-1)&&(E+="$"),O=new RegExp(E)):(E=M.toString(),O=M),k=>{if(G(k.value))return null;const Q=k.value;return O.test(Q)?null:{pattern:{requiredPattern:E,actualValue:Q}}}}(O)}static nullValidator(O){return null}static compose(O){return K(O)}static composeAsync(O){return pe(O)}}function He(M){return G(M.value)?{required:!0}:null}function ee(M){return G(M.value)||lt.test(M.value)?null:{email:!0}}function We(M){return O=>we(O.value)&&O.value.length>M?{maxlength:{requiredLength:M,actualLength:O.value.length}}:null}function Le(M){return null}function be(M){return null!=M}function ot(M){return(0,o.QGY)(M)?(0,V.D)(M):M}function ft(M){let O={};return M.forEach(E=>{O=null!=E?{...O,...E}:O}),0===Object.keys(O).length?null:O}function ke(M,O){return O.map(E=>E(M))}function re(M){return M.map(O=>function at(M){return!M.validate}(O)?O:E=>O.validate(E))}function K(M){if(!M)return null;const O=M.filter(be);return 0==O.length?null:function(E){return ft(ke(E,O))}}function oe(M){return null!=M?K(re(M)):null}function pe(M){if(!M)return null;const O=M.filter(be);return 0==O.length?null:function(E){const k=ke(E,O).map(ot);return(0,z.D)(k).pipe((0,T.U)(ft))}}function ve(M){return null!=M?pe(re(M)):null}function xe(M,O){return null===M?[O]:Array.isArray(M)?[...M,O]:[M,O]}function Re(M){return M._rawValidators}function Je(M){return M._rawAsyncValidators}function Ot(M){return M?Array.isArray(M)?M:[M]:[]}function gn(M,O){return Array.isArray(M)?M.includes(O):M===O}function ut(M,O){const E=Ot(O);return Ot(M).forEach(Q=>{gn(E,Q)||E.push(Q)}),E}function Jt(M,O){return Ot(O).filter(E=>!gn(M,E))}class kt{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(O){this._rawValidators=O||[],this._composedValidatorFn=oe(this._rawValidators)}_setAsyncValidators(O){this._rawAsyncValidators=O||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(O){this._onDestroyCallbacks.push(O)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(O=>O()),this._onDestroyCallbacks=[]}reset(O=void 0){this.control&&this.control.reset(O)}hasError(O,E){return!!this.control&&this.control.hasError(O,E)}getError(O,E){return this.control?this.control.getError(O,E):null}}class Ue extends kt{get formDirective(){return null}get path(){return null}}class sn extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ht{constructor(O){this._cd=O}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 Mi=(()=>{class M extends ht{constructor(E){super(E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(sn,2))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(k,Q){2&k&&o.ekj("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)},features:[o.qOj]})}return M})(),yt=(()=>{class M extends ht{constructor(E){super(E)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,10))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(k,Q){2&k&&o.ekj("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)("ng-submitted",Q.isSubmitted)},features:[o.qOj]})}return M})();const ni="VALID",Dt="INVALID",St="PENDING",pn="DISABLED";function Fn(M){return($i(M)?M.validators:M)||null}function ji(M,O){return($i(O)?O.asyncValidators:M)||null}function $i(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}function $r(M,O,E){const k=M.controls;if(!(O?Object.keys(k):k).length)throw new o.vHH(1e3,"");if(!k[E])throw new o.vHH(1001,"")}function fr(M,O,E){M._forEachChild((k,Q)=>{if(void 0===E[Q])throw new o.vHH(1002,"")})}class Fi{constructor(O,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(O),this._assignAsyncValidators(E)}get validator(){return this._composedValidatorFn}set validator(O){this._rawValidators=this._composedValidatorFn=O}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(O){this._rawAsyncValidators=this._composedAsyncValidatorFn=O}get parent(){return this._parent}get valid(){return this.status===ni}get invalid(){return this.status===Dt}get pending(){return this.status==St}get disabled(){return this.status===pn}get enabled(){return this.status!==pn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(O){this._assignValidators(O)}setAsyncValidators(O){this._assignAsyncValidators(O)}addValidators(O){this.setValidators(ut(O,this._rawValidators))}addAsyncValidators(O){this.setAsyncValidators(ut(O,this._rawAsyncValidators))}removeValidators(O){this.setValidators(Jt(O,this._rawValidators))}removeAsyncValidators(O){this.setAsyncValidators(Jt(O,this._rawAsyncValidators))}hasValidator(O){return gn(this._rawValidators,O)}hasAsyncValidator(O){return gn(this._rawAsyncValidators,O)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(O={}){this.touched=!0,this._parent&&!O.onlySelf&&this._parent.markAsTouched(O)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(O=>O.markAllAsTouched())}markAsUntouched(O={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}markAsDirty(O={}){this.pristine=!1,this._parent&&!O.onlySelf&&this._parent.markAsDirty(O)}markAsPristine(O={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}markAsPending(O={}){this.status=St,!1!==O.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!O.onlySelf&&this._parent.markAsPending(O)}disable(O={}){const E=this._parentMarkedDirty(O.onlySelf);this.status=pn,this.errors=null,this._forEachChild(k=>{k.disable({...O,onlySelf:!0})}),this._updateValue(),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...O,skipPristineCheck:E}),this._onDisabledChange.forEach(k=>k(!0))}enable(O={}){const E=this._parentMarkedDirty(O.onlySelf);this.status=ni,this._forEachChild(k=>{k.enable({...O,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent}),this._updateAncestors({...O,skipPristineCheck:E}),this._onDisabledChange.forEach(k=>k(!1))}_updateAncestors(O){this._parent&&!O.onlySelf&&(this._parent.updateValueAndValidity(O),O.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(O){this._parent=O}getRawValue(){return this.value}updateValueAndValidity(O={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ni||this.status===St)&&this._runAsyncValidator(O.emitEvent)),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!O.onlySelf&&this._parent.updateValueAndValidity(O)}_updateTreeValidity(O={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(O)),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pn:ni}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(O){if(this.asyncValidator){this.status=St,this._hasOwnPendingAsyncValidator=!0;const E=ot(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(k=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(k,{emitEvent:O})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(O,E={}){this.errors=O,this._updateControlsErrors(!1!==E.emitEvent)}get(O){let E=O;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce((k,Q)=>k&&k._find(Q),this)}getError(O,E){const k=E?this.get(E):this;return k&&k.errors?k.errors[O]:null}hasError(O,E){return!!this.getError(O,E)}get root(){let O=this;for(;O._parent;)O=O._parent;return O}_updateControlsErrors(O){this.status=this._calculateStatus(),O&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(O)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?pn:this.errors?Dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(St)?St:this._anyControlsHaveStatus(Dt)?Dt:ni}_anyControlsHaveStatus(O){return this._anyControls(E=>E.status===O)}_anyControlsDirty(){return this._anyControls(O=>O.dirty)}_anyControlsTouched(){return this._anyControls(O=>O.touched)}_updatePristine(O={}){this.pristine=!this._anyControlsDirty(),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}_updateTouched(O={}){this.touched=this._anyControlsTouched(),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}_registerOnCollectionChange(O){this._onCollectionChange=O}_setUpdateStrategy(O){$i(O)&&null!=O.updateOn&&(this._updateOn=O.updateOn)}_parentMarkedDirty(O){return!O&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(O){return null}_assignValidators(O){this._rawValidators=Array.isArray(O)?O.slice():O,this._composedValidatorFn=function Yn(M){return Array.isArray(M)?oe(M):M||null}(this._rawValidators)}_assignAsyncValidators(O){this._rawAsyncValidators=Array.isArray(O)?O.slice():O,this._composedAsyncValidatorFn=function ii(M){return Array.isArray(M)?ve(M):M||null}(this._rawAsyncValidators)}}class Me extends Fi{constructor(O,E,k){super(Fn(E),ji(k,E)),this.controls=O,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(O,E){return this.controls[O]?this.controls[O]:(this.controls[O]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(O,E,k={}){this.registerControl(O,E),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}removeControl(O,E={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(O,E,k={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],E&&this.registerControl(O,E),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}contains(O){return this.controls.hasOwnProperty(O)&&this.controls[O].enabled}setValue(O,E={}){fr(this,0,O),Object.keys(O).forEach(k=>{$r(this,!0,k),this.controls[k].setValue(O[k],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(O,E={}){null!=O&&(Object.keys(O).forEach(k=>{const Q=this.controls[k];Q&&Q.patchValue(O[k],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(O={},E={}){this._forEachChild((k,Q)=>{k.reset(O?O[Q]:null,{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this._reduceChildren({},(O,E,k)=>(O[k]=E.getRawValue(),O))}_syncPendingControls(){let O=this._reduceChildren(!1,(E,k)=>!!k._syncPendingControls()||E);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){Object.keys(this.controls).forEach(E=>{const k=this.controls[E];k&&O(k,E)})}_setUpControls(){this._forEachChild(O=>{O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(O){for(const[E,k]of Object.entries(this.controls))if(this.contains(E)&&O(k))return!0;return!1}_reduceValue(){return this._reduceChildren({},(E,k,Q)=>((k.enabled||this.disabled)&&(E[Q]=k.value),E))}_reduceChildren(O,E){let k=O;return this._forEachChild((Q,it)=>{k=E(k,Q,it)}),k}_allControlsDisabled(){for(const O of Object.keys(this.controls))if(this.controls[O].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(O){return this.controls.hasOwnProperty(O)?this.controls[O]:null}}class ae extends Me{}const Ke=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>st}),st="always";function Ut(M,O){return[...O.path,M]}function wt(M,O,E=st){he(M,O),O.valueAccessor.writeValue(M.value),(M.disabled||"always"===E)&&O.valueAccessor.setDisabledState?.(M.disabled),function ne(M,O){O.valueAccessor.registerOnChange(E=>{M._pendingValue=E,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&$e(M,O)})}(M,O),function Ye(M,O){const E=(k,Q)=>{O.valueAccessor.writeValue(k),Q&&O.viewToModelUpdate(k)};M.registerOnChange(E),O._registerOnDestroy(()=>{M._unregisterOnChange(E)})}(M,O),function Ae(M,O){O.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&$e(M,O),"submit"!==M.updateOn&&M.markAsTouched()})}(M,O),function _i(M,O){if(O.valueAccessor.setDisabledState){const E=k=>{O.valueAccessor.setDisabledState(k)};M.registerOnDisabledChange(E),O._registerOnDestroy(()=>{M._unregisterOnDisabledChange(E)})}}(M,O)}function on(M,O,E=!0){const k=()=>{};O.valueAccessor&&(O.valueAccessor.registerOnChange(k),O.valueAccessor.registerOnTouched(k)),te(M,O),M&&(O._invokeOnDestroyCallbacks(),M._registerOnCollectionChange(()=>{}))}function Bt(M,O){M.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(O)})}function he(M,O){const E=Re(M);null!==O.validator?M.setValidators(xe(E,O.validator)):"function"==typeof E&&M.setValidators([E]);const k=Je(M);null!==O.asyncValidator?M.setAsyncValidators(xe(k,O.asyncValidator)):"function"==typeof k&&M.setAsyncValidators([k]);const Q=()=>M.updateValueAndValidity();Bt(O._rawValidators,Q),Bt(O._rawAsyncValidators,Q)}function te(M,O){let E=!1;if(null!==M){if(null!==O.validator){const Q=Re(M);if(Array.isArray(Q)&&Q.length>0){const it=Q.filter(Tt=>Tt!==O.validator);it.length!==Q.length&&(E=!0,M.setValidators(it))}}if(null!==O.asyncValidator){const Q=Je(M);if(Array.isArray(Q)&&Q.length>0){const it=Q.filter(Tt=>Tt!==O.asyncValidator);it.length!==Q.length&&(E=!0,M.setAsyncValidators(it))}}}const k=()=>{};return Bt(O._rawValidators,k),Bt(O._rawAsyncValidators,k),E}function $e(M,O){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Mt(M,O){if(!M.hasOwnProperty("model"))return!1;const E=M.model;return!!E.isFirstChange()||!Object.is(O,E.currentValue)}function Kt(M,O){if(!O)return null;let E,k,Q;return Array.isArray(O),O.forEach(it=>{it.constructor===le?E=it:function Pn(M){return Object.getPrototypeOf(M.constructor)===N}(it)?k=it:Q=it}),Q||k||E||null}function jn(M,O){const E=M.indexOf(O);E>-1&&M.splice(E,1)}function zi(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const $n=class extends Fi{constructor(O=null,E,k){super(Fn(E),ji(k,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(O),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$i(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=zi(O)?O.value:O)}setValue(O,E={}){this.value=this._pendingValue=O,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(k=>k(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(O,E={}){this.setValue(O,E)}reset(O=this.defaultValue,E={}){this._applyFormState(O),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(O){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(O){this._onChange.push(O)}_unregisterOnChange(O){jn(this._onChange,O)}registerOnDisabledChange(O){this._onDisabledChange.push(O)}_unregisterOnDisabledChange(O){jn(this._onDisabledChange,O)}_forEachChild(O){}_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(O){zi(O)?(this.value=this._pendingValue=O.value,O.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=O}};let hr=(()=>{class M extends Ue{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ut(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,features:[o.qOj]})}return M})();const Ji={provide:sn,useExisting:(0,o.Gpc)(()=>Nn)},Gi=(()=>Promise.resolve())();let Nn=(()=>{class M extends sn{constructor(E,k,Q,it,Tt,Ci){super(),this._changeDetectorRef=Tt,this.callSetDisabledState=Ci,this.control=new $n,this._registered=!1,this.name="",this.update=new o.vpe,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q),this.valueAccessor=Kt(0,it)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const k=E.name.previousValue;this.formDirective.removeControl({name:k,path:this._getPath(k)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),Mt(E,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(E){this.viewModel=E,this.update.emit(E)}_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(){wt(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(E){Gi.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const k=E.isDisabled.currentValue,Q=0!==k&&(0,o.VuI)(k);Gi.then(()=>{Q&&!this.control.disabled?this.control.disable():!Q&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?Ut(E,this._parent):[E]}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,9),o.Y36(ge,10),o.Y36(Ve,10),o.Y36(h,10),o.Y36(o.sBO,8),o.Y36(Ke,8))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Ji]),o.qOj,o.TTD]})}return M})(),qi=(()=>{class M{static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return M})(),gs=(()=>{class M{static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({})}return M})();const Gr=new o.OlP("NgModelWithFormControlWarning"),Bs={provide:sn,useExisting:(0,o.Gpc)(()=>pr)};let pr=(()=>{class M extends sn{set isDisabled(E){}static#e=this._ngModelWarningSentOnce=!1;constructor(E,k,Q,it,Tt){super(),this._ngModelWarningConfig=it,this.callSetDisabledState=Tt,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(E),this._setAsyncValidators(k),this.valueAccessor=Kt(0,Q)}ngOnChanges(E){if(this._isControlChanged(E)){const k=E.form.previousValue;k&&on(k,this,!1),wt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Mt(E,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&on(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_isControlChanged(E){return E.hasOwnProperty("form")}static#t=this.\u0275fac=function(k){return new(k||M)(o.Y36(ge,10),o.Y36(Ve,10),o.Y36(h,10),o.Y36(Gr,8),o.Y36(Ke,8))};static#n=this.\u0275dir=o.lG2({type:M,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([Bs]),o.qOj,o.TTD]})}return M})();const ts={provide:Ue,useExisting:(0,o.Gpc)(()=>ns)};let ns=(()=>{class M extends Ue{constructor(E,k,Q){super(),this.callSetDisabledState=Q,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(E),this._setAsyncValidators(k)}ngOnChanges(E){this._checkFormPresent(),E.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(te(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(E){const k=this.form.get(E.path);return wt(k,E,this.callSetDisabledState),k.updateValueAndValidity({emitEvent:!1}),this.directives.push(E),k}getControl(E){return this.form.get(E.path)}removeControl(E){on(E.control||null,E,!1),function Qn(M,O){const E=M.indexOf(O);E>-1&&M.splice(E,1)}(this.directives,E)}addFormGroup(E){this._setUpFormContainer(E)}removeFormGroup(E){this._cleanUpFormContainer(E)}getFormGroup(E){return this.form.get(E.path)}addFormArray(E){this._setUpFormContainer(E)}removeFormArray(E){this._cleanUpFormContainer(E)}getFormArray(E){return this.form.get(E.path)}updateModel(E,k){this.form.get(E.path).setValue(k)}onSubmit(E){return this.submitted=!0,function Wt(M,O){M._syncPendingControls(),O.forEach(E=>{const k=E.control;"submit"===k.updateOn&&k._pendingChange&&(E.viewToModelUpdate(k._pendingValue),k._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(E),"dialog"===E?.target?.method}onReset(){this.resetForm()}resetForm(E=void 0){this.form.reset(E),this.submitted=!1}_updateDomValue(){this.directives.forEach(E=>{const k=E.control,Q=this.form.get(E.path);k!==Q&&(on(k||null,E),(M=>M instanceof $n)(Q)&&(wt(Q,E,this.callSetDisabledState),E.control=Q))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(E){const k=this.form.get(E.path);(function Ze(M,O){he(M,O)})(k,E),k.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(E){if(this.form){const k=this.form.get(E.path);k&&function an(M,O){return te(M,O)}(k,E)&&k.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){he(this.form,this),this._oldForm&&te(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(ge,10),o.Y36(Ve,10),o.Y36(Ke,8))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(k,Q){1&k&&o.NdJ("submit",function(Tt){return Q.onSubmit(Tt)})("reset",function(){return Q.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([ts]),o.qOj,o.TTD]})}return M})();const Lt={provide:Ue,useExisting:(0,o.Gpc)(()=>cn)};let cn=(()=>{class M extends hr{constructor(E,k,Q){super(),this.name=null,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q)}_checkParentType(){Cn(this._parent)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,13),o.Y36(ge,10),o.Y36(Ve,10))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[o._Bn([Lt]),o.qOj]})}return M})();const Vn={provide:Ue,useExisting:(0,o.Gpc)(()=>Ei)};let Ei=(()=>{class M extends Ue{constructor(E,k,Q){super(),this.name=null,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ut(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Cn(this._parent)}static#e=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,13),o.Y36(ge,10),o.Y36(Ve,10))};static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[o._Bn([Vn]),o.qOj]})}return M})();function Cn(M){return!(M instanceof cn||M instanceof ns||M instanceof Ei)}const oi={provide:sn,useExisting:(0,o.Gpc)(()=>Ri)};let Ri=(()=>{class M extends sn{set isDisabled(E){}static#e=this._ngModelWarningSentOnce=!1;constructor(E,k,Q,it,Tt){super(),this._ngModelWarningConfig=Tt,this._added=!1,this.name=null,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=E,this._setValidators(k),this._setAsyncValidators(Q),this.valueAccessor=Kt(0,it)}ngOnChanges(E){this._added||this._setUpControl(),Mt(E,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}get path(){return Ut(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(k){return new(k||M)(o.Y36(Ue,13),o.Y36(ge,10),o.Y36(Ve,10),o.Y36(h,10),o.Y36(Gr,8))};static#n=this.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([oi]),o.qOj,o.TTD]})}return M})();let qn=(()=>{class M{constructor(){this._validator=Le}ngOnChanges(E){if(this.inputName in E){const k=this.normalizeInput(E[this.inputName].currentValue);this._enabled=this.enabled(k),this._validator=this._enabled?this.createValidator(k):Le,this._onChange&&this._onChange()}}validate(E){return this._validator(E)}registerOnValidatorChange(E){this._onChange=E}enabled(E){return null!=E}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275dir=o.lG2({type:M,features:[o.TTD]})}return M})();const bn={provide:ge,useExisting:(0,o.Gpc)(()=>Pi),multi:!0};let Pi=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.VuI,this.createValidator=E=>He}enabled(E){return E}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(k,Q){2&k&&o.uIk("required",Q._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([bn]),o.qOj]})}return M})();const nr={provide:ge,useExisting:(0,o.Gpc)(()=>ir),multi:!0};let ir=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=o.VuI,this.createValidator=E=>ee}enabled(E){return E}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[o._Bn([nr]),o.qOj]})}return M})();const Wi={provide:ge,useExisting:(0,o.Gpc)(()=>Ar),multi:!0};let Ar=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=E=>function nn(M){return"number"==typeof M?M:parseInt(M,10)}(E),this.createValidator=E=>We(E)}static#e=this.\u0275fac=function(){let E;return function(Q){return(E||(E=o.n5z(M)))(Q||M)}}();static#t=this.\u0275dir=o.lG2({type:M,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(k,Q){2&k&&o.uIk("maxlength",Q._enabled?Q.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([Wi]),o.qOj]})}return M})(),rr=(()=>{class M{static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({imports:[gs]})}return M})();class Bi extends Fi{constructor(O,E,k){super(Fn(E),ji(k,E)),this.controls=O,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(O){return this.controls[this._adjustIndex(O)]}push(O,E={}){this.controls.push(O),this._registerControl(O),this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}insert(O,E,k={}){this.controls.splice(O,0,E),this._registerControl(E),this.updateValueAndValidity({emitEvent:k.emitEvent})}removeAt(O,E={}){let k=this._adjustIndex(O);k<0&&(k=0),this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),this.controls.splice(k,1),this.updateValueAndValidity({emitEvent:E.emitEvent})}setControl(O,E,k={}){let Q=this._adjustIndex(O);Q<0&&(Q=0),this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),this.controls.splice(Q,1),E&&(this.controls.splice(Q,0,E),this._registerControl(E)),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(O,E={}){fr(this,0,O),O.forEach((k,Q)=>{$r(this,!1,Q),this.at(Q).setValue(k,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(O,E={}){null!=O&&(O.forEach((k,Q)=>{this.at(Q)&&this.at(Q).patchValue(k,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(O=[],E={}){this._forEachChild((k,Q)=>{k.reset(O[Q],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this.controls.map(O=>O.getRawValue())}clear(O={}){this.controls.length<1||(this._forEachChild(E=>E._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:O.emitEvent}))}_adjustIndex(O){return O<0?O+this.length:O}_syncPendingControls(){let O=this.controls.reduce((E,k)=>!!k._syncPendingControls()||E,!1);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){this.controls.forEach((E,k)=>{O(E,k)})}_updateValue(){this.value=this.controls.filter(O=>O.enabled||this.disabled).map(O=>O.value)}_anyControls(O){return this.controls.some(E=>E.enabled&&O(E))}_setUpControls(){this._forEachChild(O=>this._registerControl(O))}_allControlsDisabled(){for(const O of this.controls)if(O.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(O){O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)}_find(O){return this.at(O)??null}}function Xs(M){return!!M&&(void 0!==M.asyncValidators||void 0!==M.validators||void 0!==M.updateOn)}let In=(()=>{class M{constructor(){this.useNonNullable=!1}get nonNullable(){const E=new M;return E.useNonNullable=!0,E}group(E,k=null){const Q=this._reduceControls(E);let it={};return Xs(k)?it=k:null!==k&&(it.validators=k.validator,it.asyncValidators=k.asyncValidator),new Me(Q,it)}record(E,k=null){const Q=this._reduceControls(E);return new ae(Q,k)}control(E,k,Q){let it={};return this.useNonNullable?(Xs(k)?it=k:(it.validators=k,it.asyncValidators=Q),new $n(E,{...it,nonNullable:!0})):new $n(E,k,Q)}array(E,k,Q){const it=E.map(Tt=>this._createControl(Tt));return new Bi(it,k,Q)}_reduceControls(E){const k={};return Object.keys(E).forEach(Q=>{k[Q]=this._createControl(E[Q])}),k}_createControl(E){return E instanceof $n||E instanceof Fi?E:Array.isArray(E)?this.control(E[0],E.length>1?E[1]:null,E.length>2?E[2]:null):this.control(E)}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275prov=o.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),Rr=(()=>{class M{static withConfig(E){return{ngModule:M,providers:[{provide:Ke,useValue:E.callSetDisabledState??st}]}}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({imports:[rr]})}return M})(),Xn=(()=>{class M{static withConfig(E){return{ngModule:M,providers:[{provide:Gr,useValue:E.warnOnNgModelWithFormControl??"always"},{provide:Ke,useValue:E.callSetDisabledState??st}]}}static#e=this.\u0275fac=function(k){return new(k||M)};static#t=this.\u0275mod=o.oAB({type:M});static#n=this.\u0275inj=o.cJS({imports:[rr]})}return M})()},6593:(ze,me,_)=>{_.d(me,{Dx:()=>Ui,H7:()=>Dt,b2:()=>hn,q6:()=>kt,se:()=>J});var o=_(2029),R=_(6814);class V extends R.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends V{static makeCurrent(){(0,R.HT)(new z)}onAndCancel(Ee,Y,ae){return Ee.addEventListener(Y,ae),()=>{Ee.removeEventListener(Y,ae)}}dispatchEvent(Ee,Y){Ee.dispatchEvent(Y)}remove(Ee){Ee.parentNode&&Ee.parentNode.removeChild(Ee)}createElement(Ee,Y){return(Y=Y||this.getDefaultDocument()).createElement(Ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ee){return Ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ee){return Ee instanceof DocumentFragment}getGlobalEventTarget(Ee,Y){return"window"===Y?window:"document"===Y?Ee:"body"===Y?Ee.body:null}getBaseHref(Ee){const Y=function H(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}();return null==Y?null:function h(Me){N=N||document.createElement("a"),N.setAttribute("href",Me);const Ee=N.pathname;return"/"===Ee.charAt(0)?Ee:`/${Ee}`}(Y)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ee){return(0,R.Mx)(document.cookie,Ee)}}let N,T=null,A=(()=>{class Me{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ae){return new(ae||Me)};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const B=new o.OlP("EventManagerPlugins");let U=(()=>{class Me{constructor(Y,ae){this._zone=ae,this._eventNameToPlugin=new Map,Y.forEach(Ie=>{Ie.manager=this}),this._plugins=Y.slice().reverse()}addEventListener(Y,ae,Ie){return this._findPluginFor(ae).addEventListener(Y,ae,Ie)}getZone(){return this._zone}_findPluginFor(Y){let ae=this._eventNameToPlugin.get(Y);if(ae)return ae;if(ae=this._plugins.find(Ke=>Ke.supports(Y)),!ae)throw new o.vHH(5101,!1);return this._eventNameToPlugin.set(Y,ae),ae}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(B),o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();class ce{constructor(Ee){this._doc=Ee}}const le="ng-app-id";let G=(()=>{class Me{constructor(Y,ae,Ie,Ke={}){this.doc=Y,this.appId=ae,this.nonce=Ie,this.platformId=Ke,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,R.PM)(Ke),this.resetHostNodes()}addStyles(Y){for(const ae of Y)1===this.changeUsageCount(ae,1)&&this.onStyleAdded(ae)}removeStyles(Y){for(const ae of Y)this.changeUsageCount(ae,-1)<=0&&this.onStyleRemoved(ae)}ngOnDestroy(){const Y=this.styleNodesInDOM;Y&&(Y.forEach(ae=>ae.remove()),Y.clear());for(const ae of this.getAllStyles())this.onStyleRemoved(ae);this.resetHostNodes()}addHost(Y){this.hostNodes.add(Y);for(const ae of this.getAllStyles())this.addStyleToHost(Y,ae)}removeHost(Y){this.hostNodes.delete(Y)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Y){for(const ae of this.hostNodes)this.addStyleToHost(ae,Y)}onStyleRemoved(Y){const ae=this.styleRef;ae.get(Y)?.elements?.forEach(Ie=>Ie.remove()),ae.delete(Y)}collectServerRenderedStyles(){const Y=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(Y?.length){const ae=new Map;return Y.forEach(Ie=>{null!=Ie.textContent&&ae.set(Ie.textContent,Ie)}),ae}return null}changeUsageCount(Y,ae){const Ie=this.styleRef;if(Ie.has(Y)){const Ke=Ie.get(Y);return Ke.usage+=ae,Ke.usage}return Ie.set(Y,{usage:ae,elements:[]}),ae}getStyleElement(Y,ae){const Ie=this.styleNodesInDOM,Ke=Ie?.get(ae);if(Ke?.parentNode===Y)return Ie.delete(ae),Ke.removeAttribute(le),Ke;{const st=this.doc.createElement("style");return this.nonce&&st.setAttribute("nonce",this.nonce),st.textContent=ae,this.platformIsServer&&st.setAttribute(le,this.appId),st}}addStyleToHost(Y,ae){const Ie=this.getStyleElement(Y,ae);Y.appendChild(Ie);const Ke=this.styleRef,st=Ke.get(ae)?.elements;st?st.push(Ie):Ke.set(ae,{elements:[Ie],usage:1})}resetHostNodes(){const Y=this.hostNodes;Y.clear(),Y.add(this.doc.head)}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0),o.LFG(o.AFp),o.LFG(o.Ojb,8),o.LFG(o.Lbi))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const we={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/"},ge=/%COMP%/g,de=new o.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ee(Me,Ee){return Ee.map(Y=>Y.replace(ge,Me))}let J=(()=>{class Me{constructor(Y,ae,Ie,Ke,st,Ut,wt,on=null){this.eventManager=Y,this.sharedStylesHost=ae,this.appId=Ie,this.removeStylesOnCompDestroy=Ke,this.doc=st,this.platformId=Ut,this.ngZone=wt,this.nonce=on,this.rendererByCompId=new Map,this.platformIsServer=(0,R.PM)(Ut),this.defaultRenderer=new We(Y,st,wt,this.platformIsServer)}createRenderer(Y,ae){if(!Y||!ae)return this.defaultRenderer;this.platformIsServer&&ae.encapsulation===o.ifc.ShadowDom&&(ae={...ae,encapsulation:o.ifc.Emulated});const Ie=this.getOrCreateRenderer(Y,ae);return Ie instanceof ke?Ie.applyToHost(Y):Ie instanceof ft&&Ie.applyStyles(),Ie}getOrCreateRenderer(Y,ae){const Ie=this.rendererByCompId;let Ke=Ie.get(ae.id);if(!Ke){const st=this.doc,Ut=this.ngZone,wt=this.eventManager,on=this.sharedStylesHost,Bt=this.removeStylesOnCompDestroy,_i=this.platformIsServer;switch(ae.encapsulation){case o.ifc.Emulated:Ke=new ke(wt,on,ae,this.appId,Bt,st,Ut,_i);break;case o.ifc.ShadowDom:return new ot(wt,on,Y,ae,st,Ut,this.nonce,_i);default:Ke=new ft(wt,on,ae,Bt,st,Ut,_i)}Ie.set(ae.id,Ke)}return Ke}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(U),o.LFG(G),o.LFG(o.AFp),o.LFG(de),o.LFG(R.K0),o.LFG(o.Lbi),o.LFG(o.R0b),o.LFG(o.Ojb))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();class We{constructor(Ee,Y,ae,Ie){this.eventManager=Ee,this.doc=Y,this.ngZone=ae,this.platformIsServer=Ie,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ee,Y){return Y?this.doc.createElementNS(we[Y]||Y,Ee):this.doc.createElement(Ee)}createComment(Ee){return this.doc.createComment(Ee)}createText(Ee){return this.doc.createTextNode(Ee)}appendChild(Ee,Y){(be(Ee)?Ee.content:Ee).appendChild(Y)}insertBefore(Ee,Y,ae){Ee&&(be(Ee)?Ee.content:Ee).insertBefore(Y,ae)}removeChild(Ee,Y){Ee&&Ee.removeChild(Y)}selectRootElement(Ee,Y){let ae="string"==typeof Ee?this.doc.querySelector(Ee):Ee;if(!ae)throw new o.vHH(-5104,!1);return Y||(ae.textContent=""),ae}parentNode(Ee){return Ee.parentNode}nextSibling(Ee){return Ee.nextSibling}setAttribute(Ee,Y,ae,Ie){if(Ie){Y=Ie+":"+Y;const Ke=we[Ie];Ke?Ee.setAttributeNS(Ke,Y,ae):Ee.setAttribute(Y,ae)}else Ee.setAttribute(Y,ae)}removeAttribute(Ee,Y,ae){if(ae){const Ie=we[ae];Ie?Ee.removeAttributeNS(Ie,Y):Ee.removeAttribute(`${ae}:${Y}`)}else Ee.removeAttribute(Y)}addClass(Ee,Y){Ee.classList.add(Y)}removeClass(Ee,Y){Ee.classList.remove(Y)}setStyle(Ee,Y,ae,Ie){Ie&(o.JOm.DashCase|o.JOm.Important)?Ee.style.setProperty(Y,ae,Ie&o.JOm.Important?"important":""):Ee.style[Y]=ae}removeStyle(Ee,Y,ae){ae&o.JOm.DashCase?Ee.style.removeProperty(Y):Ee.style[Y]=""}setProperty(Ee,Y,ae){Ee[Y]=ae}setValue(Ee,Y){Ee.nodeValue=Y}listen(Ee,Y,ae){if("string"==typeof Ee&&!(Ee=(0,R.q)().getGlobalEventTarget(this.doc,Ee)))throw new Error(`Unsupported event target ${Ee} for event ${Y}`);return this.eventManager.addEventListener(Ee,Y,this.decoratePreventDefault(ae))}decoratePreventDefault(Ee){return Y=>{if("__ngUnwrap__"===Y)return Ee;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ee(Y)):Ee(Y))&&Y.preventDefault()}}}function be(Me){return"TEMPLATE"===Me.tagName&&void 0!==Me.content}class ot extends We{constructor(Ee,Y,ae,Ie,Ke,st,Ut,wt){super(Ee,Ke,st,wt),this.sharedStylesHost=Y,this.hostEl=ae,this.shadowRoot=ae.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const on=ee(Ie.id,Ie.styles);for(const Bt of on){const _i=document.createElement("style");Ut&&_i.setAttribute("nonce",Ut),_i.textContent=Bt,this.shadowRoot.appendChild(_i)}}nodeOrShadowRoot(Ee){return Ee===this.hostEl?this.shadowRoot:Ee}appendChild(Ee,Y){return super.appendChild(this.nodeOrShadowRoot(Ee),Y)}insertBefore(Ee,Y,ae){return super.insertBefore(this.nodeOrShadowRoot(Ee),Y,ae)}removeChild(Ee,Y){return super.removeChild(this.nodeOrShadowRoot(Ee),Y)}parentNode(Ee){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ee)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ft extends We{constructor(Ee,Y,ae,Ie,Ke,st,Ut,wt){super(Ee,Ke,st,Ut),this.sharedStylesHost=Y,this.removeStylesOnCompDestroy=Ie,this.styles=wt?ee(wt,ae.styles):ae.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ke extends ft{constructor(Ee,Y,ae,Ie,Ke,st,Ut,wt){const on=Ie+"-"+ae.id;super(Ee,Y,ae,Ke,st,Ut,wt,on),this.contentAttr=function He(Me){return"_ngcontent-%COMP%".replace(ge,Me)}(on),this.hostAttr=function fe(Me){return"_nghost-%COMP%".replace(ge,Me)}(on)}applyToHost(Ee){this.applyStyles(),this.setAttribute(Ee,this.hostAttr,"")}createElement(Ee,Y){const ae=super.createElement(Ee,Y);return super.setAttribute(ae,this.contentAttr,""),ae}}let at=(()=>{class Me extends ce{constructor(Y){super(Y)}supports(Y){return!0}addEventListener(Y,ae,Ie){return Y.addEventListener(ae,Ie,!1),()=>this.removeEventListener(Y,ae,Ie)}removeEventListener(Y,ae,Ie){return Y.removeEventListener(ae,Ie)}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const re=["alt","control","meta","shift"],K={"\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"},oe={alt:Me=>Me.altKey,control:Me=>Me.ctrlKey,meta:Me=>Me.metaKey,shift:Me=>Me.shiftKey};let pe=(()=>{class Me extends ce{constructor(Y){super(Y)}supports(Y){return null!=Me.parseEventName(Y)}addEventListener(Y,ae,Ie){const Ke=Me.parseEventName(ae),st=Me.eventCallback(Ke.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,R.q)().onAndCancel(Y,Ke.domEventName,st))}static parseEventName(Y){const ae=Y.toLowerCase().split("."),Ie=ae.shift();if(0===ae.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const Ke=Me._normalizeKey(ae.pop());let st="",Ut=ae.indexOf("code");if(Ut>-1&&(ae.splice(Ut,1),st="code."),re.forEach(on=>{const Bt=ae.indexOf(on);Bt>-1&&(ae.splice(Bt,1),st+=on+".")}),st+=Ke,0!=ae.length||0===Ke.length)return null;const wt={};return wt.domEventName=Ie,wt.fullKey=st,wt}static matchEventFullKeyCode(Y,ae){let Ie=K[Y.key]||Y.key,Ke="";return ae.indexOf("code.")>-1&&(Ie=Y.code,Ke="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),re.forEach(st=>{st!==Ie&&(0,oe[st])(Y)&&(Ke+=st+".")}),Ke+=Ie,Ke===ae)}static eventCallback(Y,ae,Ie){return Ke=>{Me.matchEventFullKeyCode(Ke,Y)&&Ie.runGuarded(()=>ae(Ke))}}static _normalizeKey(Y){return"esc"===Y?"escape":Y}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac})}return Me})();const kt=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:R.bD},{provide:o.g9A,useValue:function Ot(){z.makeCurrent()},multi:!0},{provide:R.K0,useFactory:function ut(){return(0,o.RDi)(document),document},deps:[]}]),Ue=new o.OlP(""),sn=[{provide:o.rWj,useClass:class j{addToWindow(Ee){o.dqk.getAngularTestability=(ae,Ie=!0)=>{const Ke=Ee.findTestabilityInTree(ae,Ie);if(null==Ke)throw new o.vHH(5103,!1);return Ke},o.dqk.getAllAngularTestabilities=()=>Ee.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>Ee.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(ae=>{const Ie=o.dqk.getAllAngularTestabilities();let Ke=Ie.length,st=!1;const Ut=function(wt){st=st||wt,Ke--,0==Ke&&ae(st)};Ie.forEach(wt=>{wt.whenStable(Ut)})})}findTestabilityInTree(Ee,Y,ae){return null==Y?null:Ee.getTestability(Y)??(ae?(0,R.q)().isShadowRoot(Y)?this.findTestabilityInTree(Ee,Y.host,!0):this.findTestabilityInTree(Ee,Y.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],ht=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function gn(){return new o.qLn},deps:[]},{provide:B,useClass:at,multi:!0,deps:[R.K0,o.R0b,o.Lbi]},{provide:B,useClass:pe,multi:!0,deps:[R.K0]},J,G,U,{provide:o.FYo,useExisting:J},{provide:R.JF,useClass:A,deps:[]},[]];let hn=(()=>{class Me{constructor(Y){}static withServerTransition(Y){return{ngModule:Me,providers:[{provide:o.AFp,useValue:Y.appId}]}}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(Ue,12))};static#t=this.\u0275mod=o.oAB({type:Me});static#n=this.\u0275inj=o.cJS({providers:[...ht,...sn],imports:[R.ez,o.hGG]})}return Me})(),Ui=(()=>{class Me{constructor(Y){this._doc=Y}getTitle(){return this._doc.title}setTitle(Y){this._doc.title=Y||""}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:function(ae){let Ie=null;return Ie=ae?new ae:function ti(){return new Ui((0,o.LFG)(R.K0))}(),Ie},providedIn:"root"})}return Me})();typeof window<"u"&&window;let Dt=(()=>{class Me{static#e=this.\u0275fac=function(ae){return new(ae||Me)};static#t=this.\u0275prov=o.Yz7({token:Me,factory:function(ae){let Ie=null;return Ie=ae?new(ae||Me):o.LFG(pn),Ie},providedIn:"root"})}return Me})(),pn=(()=>{class Me extends Dt{constructor(Y){super(),this._doc=Y}sanitize(Y,ae){if(null==ae)return null;switch(Y){case o.q3G.NONE:return ae;case o.q3G.HTML:return(0,o.qzn)(ae,"HTML")?(0,o.z3N)(ae):(0,o.EiD)(this._doc,String(ae)).toString();case o.q3G.STYLE:return(0,o.qzn)(ae,"Style")?(0,o.z3N)(ae):ae;case o.q3G.SCRIPT:if((0,o.qzn)(ae,"Script"))return(0,o.z3N)(ae);throw new o.vHH(5200,!1);case o.q3G.URL:return(0,o.qzn)(ae,"URL")?(0,o.z3N)(ae):(0,o.mCW)(String(ae));case o.q3G.RESOURCE_URL:if((0,o.qzn)(ae,"ResourceURL"))return(0,o.z3N)(ae);throw new o.vHH(5201,!1);default:throw new o.vHH(5202,!1)}}bypassSecurityTrustHtml(Y){return(0,o.JVY)(Y)}bypassSecurityTrustStyle(Y){return(0,o.L6k)(Y)}bypassSecurityTrustScript(Y){return(0,o.eBb)(Y)}bypassSecurityTrustUrl(Y){return(0,o.LAX)(Y)}bypassSecurityTrustResourceUrl(Y){return(0,o.pB0)(Y)}static#e=this.\u0275fac=function(ae){return new(ae||Me)(o.LFG(R.K0))};static#t=this.\u0275prov=o.Yz7({token:Me,factory:function(ae){let Ie=null;return Ie=ae?new ae:function St(Me){return new pn(Me.get(R.K0))}(o.LFG(o.zs3)),Ie},providedIn:"root"})}return Me})()},1640:(ze,me,_)=>{_.d(me,{m2:()=>zn,F0:()=>u,rH:()=>w,Od:()=>F,Bz:()=>Hn,lC:()=>gi});var o=_(2029),R=_(2664),V=_(7715),z=_(2096),T=_(5619),H=_(5592),N=_(7453),h=_(2737),j=_(7400),A=_(9940),B=_(2714),U=_(8251),ce=_(7103);function le(...f){const g=(0,A.yG)(f),c=(0,A.jO)(f),{args:y,keys:b}=(0,N.D)(f);if(0===y.length)return(0,V.D)([],g);const L=new H.y(function G(f,g,c=h.y){return y=>{we(g,()=>{const{length:b}=f,L=new Array(b);let W=b,Ce=b;for(let De=0;De<b;De++)we(g,()=>{const tt=(0,V.D)(f[De],g);let It=!1;tt.subscribe((0,U.x)(y,fn=>{L[De]=fn,It||(It=!0,Ce--),Ce||y.next(c(L.slice()))},()=>{--W||y.complete()}))},y)},y)}}(y,g,b?W=>(0,B.n)(b,W):h.y));return c?L.pipe((0,j.Z)(c)):L}function we(f,g,c){f?(0,ce.f)(c,f,g):g()}const Ve=(0,_(2306).d)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"});var lt=_(5211),Ge=_(4911),se=_(8407),de=_(8504),He=_(6232),fe=_(7394),ee=_(9360);function J(){return(0,ee.e)((f,g)=>{let c=null;f._refCount++;const y=(0,U.x)(g,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(c=null);const b=f._connection,L=c;c=null,b&&(!L||b===L)&&b.unsubscribe(),g.unsubscribe()});f.subscribe(y),y.closed||(c=f.connect())})}class We extends H.y{constructor(g,c){super(),this.source=g,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,ee.A)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new fe.w0;const c=this.getSubject();g.add(this.source.subscribe((0,U.x)(c,void 0,()=>{this._teardown(),c.complete()},y=>{this._teardown(),c.error(y)},()=>this._teardown()))),g.closed&&(this._connection=null,g=fe.w0.EMPTY)}return g}refCount(){return J()(this)}}var q=_(8645),Le=_(6814),be=_(7398),ot=_(4664),ft=_(8180),ke=_(7921),at=_(2181),re=_(1631);function K(f){return(0,ee.e)((g,c)=>{let y=!1;g.subscribe((0,U.x)(c,b=>{y=!0,c.next(b)},()=>{y||c.next(f),c.complete()}))})}function oe(f=pe){return(0,ee.e)((g,c)=>{let y=!1;g.subscribe((0,U.x)(c,b=>{y=!0,c.next(b)},()=>y?c.complete():c.error(f())))})}function pe(){return new Ve}function ve(f,g){const c=arguments.length>=2;return y=>y.pipe(f?(0,at.h)((b,L)=>f(b,L,y)):h.y,(0,ft.q)(1),c?K(g):oe(()=>new Ve))}var xe=_(6328),Re=_(9397),Je=_(6306);function ut(f){return f<=0?()=>He.E:(0,ee.e)((g,c)=>{let y=[];g.subscribe((0,U.x)(c,b=>{y.push(b),f<y.length&&y.shift()},()=>{for(const b of y)c.next(b);c.complete()},void 0,()=>{y=null}))})}var Ue=_(4716),sn=_(4829),ht=_(2420),Ht=_(7537),Mi=_(6593);const yt="primary",ti=Symbol("RouteTitle");class Ui{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c[0]:c}return null}getAll(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Un(f){return new Ui(f)}function Zn(f,g,c){const y=c.path.split("/");if(y.length>f.length||"full"===c.pathMatch&&(g.hasChildren()||y.length<f.length))return null;const b={};for(let L=0;L<y.length;L++){const W=y[L],Ce=f[L];if(W.startsWith(":"))b[W.substring(1)]=Ce;else if(W!==Ce.path)return null}return{consumed:f.slice(0,y.length),posParams:b}}function vt(f,g){const c=f?Object.keys(f):void 0,y=g?Object.keys(g):void 0;if(!c||!y||c.length!=y.length)return!1;let b;for(let L=0;L<c.length;L++)if(b=c[L],!Rt(f[b],g[b]))return!1;return!0}function Rt(f,g){if(Array.isArray(f)&&Array.isArray(g)){if(f.length!==g.length)return!1;const c=[...f].sort(),y=[...g].sort();return c.every((b,L)=>y[L]===b)}return f===g}function dr(f){return f.length>0?f[f.length-1]:null}function hi(f){return(0,R.b)(f)?f:(0,o.QGY)(f)?(0,V.D)(Promise.resolve(f)):(0,z.of)(f)}const Et={exact:function qt(f,g,c){if(!Yn(f.segments,g.segments)||!ni(f.segments,g.segments,c)||f.numberOfChildren!==g.numberOfChildren)return!1;for(const y in g.children)if(!f.children[y]||!qt(f.children[y],g.children[y],c))return!1;return!0},subset:gt},Ti={exact:function Rn(f,g){return vt(f,g)},subset:function ps(f,g){return Object.keys(g).length<=Object.keys(f).length&&Object.keys(g).every(c=>Rt(f[c],g[c]))},ignored:()=>!0};function An(f,g,c){return Et[c.paths](f.root,g.root,c.matrixParams)&&Ti[c.queryParams](f.queryParams,g.queryParams)&&!("exact"===c.fragment&&f.fragment!==g.fragment)}function gt(f,g,c){return jr(f,g,g.segments,c)}function jr(f,g,c,y){if(f.segments.length>c.length){const b=f.segments.slice(0,c.length);return!(!Yn(b,c)||g.hasChildren()||!ni(b,c,y))}if(f.segments.length===c.length){if(!Yn(f.segments,c)||!ni(f.segments,c,y))return!1;for(const b in g.children)if(!f.children[b]||!gt(f.children[b],g.children[b],y))return!1;return!0}{const b=c.slice(0,f.segments.length),L=c.slice(f.segments.length);return!!(Yn(f.segments,b)&&ni(f.segments,b,y)&&f.children[yt])&&jr(f.children[yt],g,L,y)}}function ni(f,g,c){return g.every((y,b)=>Ti[c](f[b].parameters,y.parameters))}class Dt{constructor(g=new St([],{}),c={},y=null){this.root=g,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Un(this.queryParams)),this._queryParamMap}toString(){return $r.serialize(this)}}class St{constructor(g,c){this.segments=g,this.children=c,this.parent=null,Object.values(c).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class pn{constructor(g,c){this.path=g,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Un(this.parameters)),this._parameterMap}toString(){return st(this)}}function Yn(f,g){return f.length===g.length&&f.every((c,y)=>c.path===g[y].path)}let ii=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return new $i},providedIn:"root"})}return f})();class $i{parse(g){const c=new Ye(g);return new Dt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(g){const c=`/${Fi(g.root,!0)}`,y=function wt(f){const g=Object.keys(f).map(c=>{const y=f[c];return Array.isArray(y)?y.map(b=>`${Ee(c)}=${Ee(b)}`).join("&"):`${Ee(c)}=${Ee(y)}`}).filter(c=>!!c);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${c}${y}${"string"==typeof g.fragment?`#${function Y(f){return encodeURI(f)}(g.fragment)}`:""}`}}const $r=new $i;function fr(f){return f.segments.map(g=>st(g)).join("/")}function Fi(f,g){if(!f.hasChildren())return fr(f);if(g){const c=f.children[yt]?Fi(f.children[yt],!1):"",y=[];return Object.entries(f.children).forEach(([b,L])=>{b!==yt&&y.push(`${b}:${Fi(L,!1)}`)}),y.length>0?`${c}(${y.join("//")})`:c}{const c=function ji(f,g){let c=[];return Object.entries(f.children).forEach(([y,b])=>{y===yt&&(c=c.concat(g(b,y)))}),Object.entries(f.children).forEach(([y,b])=>{y!==yt&&(c=c.concat(g(b,y)))}),c}(f,(y,b)=>b===yt?[Fi(f.children[yt],!1)]:[`${b}:${Fi(y,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[yt]?`${fr(f)}/${c[0]}`:`${fr(f)}/(${c.join("//")})`}}function Me(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ee(f){return Me(f).replace(/%3B/gi,";")}function ae(f){return Me(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ie(f){return decodeURIComponent(f)}function Ke(f){return Ie(f.replace(/\+/g,"%20"))}function st(f){return`${ae(f.path)}${function Ut(f){return Object.keys(f).map(g=>`;${ae(g)}=${ae(f[g])}`).join("")}(f.parameters)}`}const on=/^[^\/()?;#]+/;function Bt(f){const g=f.match(on);return g?g[0]:""}const _i=/^[^\/()?;=#]+/,te=/^[^=?&#]+/,Ae=/^[^&#]+/;class Ye{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(g.length>0||Object.keys(c).length>0)&&(y[yt]=new St(g,c)),y}parseSegment(){const g=Bt(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(g),new pn(Ie(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const c=function he(f){const g=f.match(_i);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const b=Bt(this.remaining);b&&(y=b,this.capture(y))}g[Ie(c)]=Ie(y)}parseQueryParam(g){const c=function ne(f){const g=f.match(te);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const W=function $e(f){const g=f.match(Ae);return g?g[0]:""}(this.remaining);W&&(y=W,this.capture(y))}const b=Ke(c),L=Ke(y);if(g.hasOwnProperty(b)){let W=g[b];Array.isArray(W)||(W=[W],g[b]=W),W.push(L)}else g[b]=L}parseParens(g){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=Bt(this.remaining),b=this.remaining[y.length];if("/"!==b&&")"!==b&&";"!==b)throw new o.vHH(4010,!1);let L;y.indexOf(":")>-1?(L=y.slice(0,y.indexOf(":")),this.capture(L),this.capture(":")):g&&(L=yt);const W=this.parseChildren();c[L]=1===Object.keys(W).length?W[yt]:new St([],W),this.consumeOptional("//")}return c}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new o.vHH(4011,!1)}}function Ze(f){return f.segments.length>0?new St([],{[yt]:f}):f}function an(f){const g={};for(const y of Object.keys(f.children)){const L=an(f.children[y]);if(y===yt&&0===L.segments.length&&L.hasChildren())for(const[W,Ce]of Object.entries(L.children))g[W]=Ce;else(L.segments.length>0||L.hasChildren())&&(g[y]=L)}return function Ct(f){if(1===f.numberOfChildren&&f.children[yt]){const g=f.children[yt];return new St(f.segments.concat(g.segments),g.children)}return f}(new St(f.segments,g))}function zt(f){return f instanceof Dt}function mn(f){let g;const b=Ze(function c(L){const W={};for(const De of L.children){const tt=c(De);W[De.outlet]=tt}const Ce=new St(L.url,W);return L===f&&(g=Ce),Ce}(f.root));return g??b}function un(f,g,c,y){let b=f;for(;b.parent;)b=b.parent;if(0===g.length)return Wt(b,b,b,c,y);const L=function kn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Qn(!0,0,f);let g=0,c=!1;const y=f.reduce((b,L,W)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Ce={};return Object.entries(L.outlets).forEach(([De,tt])=>{Ce[De]="string"==typeof tt?tt.split("/"):tt}),[...b,{outlets:Ce}]}if(L.segmentPath)return[...b,L.segmentPath]}return"string"!=typeof L?[...b,L]:0===W?(L.split("/").forEach((Ce,De)=>{0==De&&"."===Ce||(0==De&&""===Ce?c=!0:".."===Ce?g++:""!=Ce&&b.push(Ce))}),b):[...b,L]},[]);return new Qn(c,g,y)}(g);if(L.toRoot())return Wt(b,b,new St([],{}),c,y);const W=function si(f,g,c){if(f.isAbsolute)return new Xt(g,!0,0);if(!c)return new Xt(g,!1,NaN);if(null===c.parent)return new Xt(c,!0,0);const y=Mt(f.commands[0])?0:1;return function Ai(f,g,c){let y=f,b=g,L=c;for(;L>b;){if(L-=b,y=y.parent,!y)throw new o.vHH(4005,!1);b=y.segments.length}return new Xt(y,!1,b-L)}(c,c.segments.length-1+y,f.numberOfDoubleDots)}(L,b,f),Ce=W.processChildren?$n(W.segmentGroup,W.index,L.commands):zi(W.segmentGroup,W.index,L.commands);return Wt(b,W.segmentGroup,Ce,c,y)}function Mt(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Pn(f){return"object"==typeof f&&null!=f&&f.outlets}function Wt(f,g,c,y,b){let W,L={};y&&Object.entries(y).forEach(([De,tt])=>{L[De]=Array.isArray(tt)?tt.map(It=>`${It}`):`${tt}`}),W=f===g?c:Kt(f,g,c);const Ce=Ze(an(W));return new Dt(Ce,L,b)}function Kt(f,g,c){const y={};return Object.entries(f.children).forEach(([b,L])=>{y[b]=L===g?c:Kt(L,g,c)}),new St(f.segments,y)}class Qn{constructor(g,c,y){if(this.isAbsolute=g,this.numberOfDoubleDots=c,this.commands=y,g&&y.length>0&&Mt(y[0]))throw new o.vHH(4003,!1);const b=y.find(Pn);if(b&&b!==dr(y))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xt{constructor(g,c,y){this.segmentGroup=g,this.processChildren=c,this.index=y}}function zi(f,g,c){if(f||(f=new St([],{})),0===f.segments.length&&f.hasChildren())return $n(f,g,c);const y=function wr(f,g,c){let y=0,b=g;const L={match:!1,pathIndex:0,commandIndex:0};for(;b<f.segments.length;){if(y>=c.length)return L;const W=f.segments[b],Ce=c[y];if(Pn(Ce))break;const De=`${Ce}`,tt=y<c.length-1?c[y+1]:null;if(b>0&&void 0===De)break;if(De&&tt&&"object"==typeof tt&&void 0===tt.outlets){if(!qr(De,tt,W))return L;y+=2}else{if(!qr(De,{},W))return L;y++}b++}return{match:!0,pathIndex:b,commandIndex:y}}(f,g,c),b=c.slice(y.commandIndex);if(y.match&&y.pathIndex<f.segments.length){const L=new St(f.segments.slice(0,y.pathIndex),{});return L.children[yt]=new St(f.segments.slice(y.pathIndex),f.children),$n(L,0,b)}return y.match&&0===b.length?new St(f.segments,{}):y.match&&!f.hasChildren()?Ii(f,g,c):y.match?$n(f,0,b):Ii(f,g,c)}function $n(f,g,c){if(0===c.length)return new St(f.segments,{});{const y=function jn(f){return Pn(f[0])?f[0].outlets:{[yt]:f}}(c),b={};if(Object.keys(y).some(L=>L!==yt)&&f.children[yt]&&1===f.numberOfChildren&&0===f.children[yt].segments.length){const L=$n(f.children[yt],g,c);return new St(f.segments,L.children)}return Object.entries(y).forEach(([L,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(b[L]=zi(f.children[L],g,W))}),Object.entries(f.children).forEach(([L,W])=>{void 0===y[L]&&(b[L]=W)}),new St(f.segments,b)}}function Ii(f,g,c){const y=f.segments.slice(0,g);let b=0;for(;b<c.length;){const L=c[b];if(Pn(L)){const De=hr(L.outlets);return new St(y,De)}if(0===b&&Mt(c[0])){y.push(new pn(f.segments[g].path,Fs(c[0]))),b++;continue}const W=Pn(L)?L.outlets[yt]:`${L}`,Ce=b<c.length-1?c[b+1]:null;W&&Ce&&Mt(Ce)?(y.push(new pn(W,Fs(Ce))),b+=2):(y.push(new pn(W,{})),b++)}return new St(y,{})}function hr(f){const g={};return Object.entries(f).forEach(([c,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(g[c]=Ii(new St([],{}),0,y))}),g}function Fs(f){const g={};return Object.entries(f).forEach(([c,y])=>g[c]=`${y}`),g}function qr(f,g,c){return f==c.path&&vt(g,c.parameters)}const Oi="imperative";class wn{constructor(g,c){this.id=g,this.url=c}}class Dn extends wn{constructor(g,c,y="imperative",b=null){super(g,c),this.type=0,this.navigationTrigger=y,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class zn extends wn{constructor(g,c,y){super(g,c),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ji extends wn{constructor(g,c,y,b){super(g,c),this.reason=y,this.code=b,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gi extends wn{constructor(g,c,y,b){super(g,c),this.reason=y,this.code=b,this.type=16}}class Nn extends wn{constructor(g,c,y,b){super(g,c),this.error=y,this.target=b,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class qi extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zr extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xr extends wn{constructor(g,c,y,b,L){super(g,c),this.urlAfterRedirects=y,this.state=b,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class es extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Js extends wn{constructor(g,c,y,b){super(g,c),this.urlAfterRedirects=y,this.state=b,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gs{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ms{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Bn{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ys{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ks{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gr{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bs{constructor(g,c,y){this.routerEvent=g,this.position=c,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pr{}class ts{constructor(g){this.url=g}}class Lt{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new cn,this.attachRef=null}}let cn=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(c,y){const b=this.getOrCreateContext(c);b.outlet=y,this.contexts.set(c,b)}onChildOutletDestroyed(c){const y=this.getContext(c);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let y=this.getContext(c);return y||(y=new Lt,this.contexts.set(c,y)),y}getContext(c){return this.contexts.get(c)||null}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();class Vn{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const c=this.pathFromRoot(g);return c.length>1?c[c.length-2]:null}children(g){const c=Ei(g,this._root);return c?c.children.map(y=>y.value):[]}firstChild(g){const c=Ei(g,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(g){const c=Cn(g,this._root);return c.length<2?[]:c[c.length-2].children.map(b=>b.value).filter(b=>b!==g)}pathFromRoot(g){return Cn(g,this._root).map(c=>c.value)}}function Ei(f,g){if(f===g.value)return g;for(const c of g.children){const y=Ei(f,c);if(y)return y}return null}function Cn(f,g){if(f===g.value)return[g];for(const c of g.children){const y=Cn(f,c);if(y.length)return y.unshift(g),y}return[]}class oi{constructor(g,c){this.value=g,this.children=c}toString(){return`TreeNode(${this.value})`}}function Ri(f){const g={};return f&&f.children.forEach(c=>g[c.value.outlet]=c),g}class Xi extends Vn{constructor(g,c){super(g),this.snapshot=c,gr(this,g)}toString(){return this.snapshot.toString()}}function Mr(f,g){const c=function Tr(f,g){const W=new Qt([],{},{},"",{},yt,g,null,{});return new pi("",new oi(W,[]))}(0,g),y=new T.X([new pn("",{})]),b=new T.X({}),L=new T.X({}),W=new T.X({}),Ce=new T.X(""),De=new Yt(y,b,W,Ce,L,yt,g,c.root);return De.snapshot=c.root,new Xi(new oi(De,[]),c)}class Yt{constructor(g,c,y,b,L,W,Ce,De){this.urlSubject=g,this.paramsSubject=c,this.queryParamsSubject=y,this.fragmentSubject=b,this.dataSubject=L,this.outlet=W,this.component=Ce,this._futureSnapshot=De,this.title=this.dataSubject?.pipe((0,be.U)(tt=>tt[ti]))??(0,z.of)(void 0),this.url=g,this.params=c,this.queryParams=y,this.fragment=b,this.data=L}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._paramMap=this.params.pipe((0,be.U)(g=>Un(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,be.U)(g=>Un(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qe(f,g="emptyOnly"){const c=f.pathFromRoot;let y=0;if("always"!==g)for(y=c.length-1;y>=1;){const b=c[y],L=c[y-1];if(b.routeConfig&&""===b.routeConfig.path)y--;else{if(L.component)break;y--}}return function bt(f){return f.reduce((g,c)=>({params:{...g.params,...c.params},data:{...g.data,...c.data},resolve:{...c.data,...g.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(y))}class Qt{get title(){return this.data?.[ti]}constructor(g,c,y,b,L,W,Ce,De,tt){this.url=g,this.params=c,this.queryParams=y,this.fragment=b,this.data=L,this.outlet=W,this.component=Ce,this.routeConfig=De,this._resolve=tt}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._paramMap=Un(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Un(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pi extends Vn{constructor(g,c){super(c),this.url=g,gr(this,c)}toString(){return Mn(this._root)}}function gr(f,g){g.value._routerState=f,g.children.forEach(c=>gr(f,c))}function Mn(f){const g=f.children.length>0?` { ${f.children.map(Mn).join(", ")} } `:"";return`${f.value}${g}`}function Jn(f){if(f.snapshot){const g=f.snapshot,c=f._futureSnapshot;f.snapshot=c,vt(g.queryParams,c.queryParams)||f.queryParamsSubject.next(c.queryParams),g.fragment!==c.fragment&&f.fragmentSubject.next(c.fragment),vt(g.params,c.params)||f.paramsSubject.next(c.params),function Ln(f,g){if(f.length!==g.length)return!1;for(let c=0;c<f.length;++c)if(!vt(f[c],g[c]))return!1;return!0}(g.url,c.url)||f.urlSubject.next(c.url),vt(g.data,c.data)||f.dataSubject.next(c.data)}else f.snapshot=f._futureSnapshot,f.dataSubject.next(f._futureSnapshot.data)}function nn(f,g){const c=vt(f.params,g.params)&&function Fn(f,g){return Yn(f,g)&&f.every((c,y)=>vt(c.parameters,g[y].parameters))}(f.url,g.url);return c&&!(!f.parent!=!g.parent)&&(!f.parent||nn(f.parent,g.parent))}let gi=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=yt,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(cn),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb),this.inputBinder=(0,o.f3M)(_t,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(c){if(c.name){const{firstChange:y,previousValue:b}=c.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(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,!1);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,y){this.activated=c,this._activatedRoute=y,this.location.insert(c.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,y){if(this.isActivated)throw new o.vHH(4013,!1);this._activatedRoute=c;const b=this.location,W=c.snapshot.component,Ce=this.parentContexts.getOrCreateContext(this.name).children,De=new qn(c,Ce,b.injector);this.activated=b.createComponent(W,{index:b.length,injector:De,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||f)};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]})}return f})();class qn{constructor(g,c,y){this.route=g,this.childContexts=c,this.parent=y}get(g,c){return g===Yt?this.route:g===cn?this.childContexts:this.parent.get(g,c)}}const _t=new o.OlP("");let er=(()=>{class f{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(c){this.unsubscribeFromRouteData(c),this.subscribeToRouteData(c)}unsubscribeFromRouteData(c){this.outletDataSubscriptions.get(c)?.unsubscribe(),this.outletDataSubscriptions.delete(c)}subscribeToRouteData(c){const{activatedRoute:y}=c,b=le([y.queryParams,y.params,y.data]).pipe((0,ot.w)(([L,W,Ce],De)=>(Ce={...L,...W,...Ce},0===De?(0,z.of)(Ce):Promise.resolve(Ce)))).subscribe(L=>{if(!c.isActivated||!c.activatedComponentRef||c.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(c);const W=(0,o.qFp)(y.component);if(W)for(const{templateName:Ce}of W.inputs)c.activatedComponentRef.setInput(Ce,L[Ce]);else this.unsubscribeFromRouteData(c)});this.outletDataSubscriptions.set(c,b)}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac})}return f})();function Di(f,g,c){if(c&&f.shouldReuseRoute(g.value,c.value.snapshot)){const y=c.value;y._futureSnapshot=g.value;const b=function bn(f,g,c){return g.children.map(y=>{for(const b of c.children)if(f.shouldReuseRoute(y.value,b.value.snapshot))return Di(f,y,b);return Di(f,y)})}(f,g,c);return new oi(y,b)}{if(f.shouldAttach(g.value)){const L=f.retrieve(g.value);if(null!==L){const W=L.route;return W.value._futureSnapshot=g.value,W.children=g.children.map(Ce=>Di(f,Ce)),W}}const y=function tr(f){return new Yt(new T.X(f.url),new T.X(f.params),new T.X(f.queryParams),new T.X(f.fragment),new T.X(f.data),f.outlet,f.component,f)}(g.value),b=g.children.map(L=>Di(f,L));return new oi(y,b)}}const Pi="ngNavigationCancelingError";function xn(f,g){const{redirectTo:c,navigationBehaviorOptions:y}=zt(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,b=nr(!1,0,g);return b.url=c,b.navigationBehaviorOptions=y,b}function nr(f,g,c){const y=new Error("NavigationCancelingError: "+(f||""));return y[Pi]=!0,y.cancellationCode=g,c&&(y.url=c),y}function ki(f){return f&&f[Pi]}let mi=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275cmp=o.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(y,b){1&y&&o._UZ(0,"router-outlet")},dependencies:[gi],encapsulation:2})}return f})();function Ir(f){const g=f.children&&f.children.map(Ir),c=g?{...f,children:g}:{...f};return!c.component&&!c.loadComponent&&(g||c.loadChildren)&&c.outlet&&c.outlet!==yt&&(c.component=mi),c}function ln(f){return f.outlet||yt}function In(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let g=f.parent;g;g=g.parent){const c=g.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Or{constructor(g,c,y,b,L){this.routeReuseStrategy=g,this.futureState=c,this.currState=y,this.forwardEvent=b,this.inputBindingEnabled=L}activate(g){const c=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,y,g),Jn(this.futureState.root),this.activateChildRoutes(c,y,g)}deactivateChildRoutes(g,c,y){const b=Ri(c);g.children.forEach(L=>{const W=L.value.outlet;this.deactivateRoutes(L,b[W],y),delete b[W]}),Object.values(b).forEach(L=>{this.deactivateRouteAndItsChildren(L,y)})}deactivateRoutes(g,c,y){const b=g.value,L=c?c.value:null;if(b===L)if(b.component){const W=y.getContext(b.outlet);W&&this.deactivateChildRoutes(g,c,W.children)}else this.deactivateChildRoutes(g,c,y);else L&&this.deactivateRouteAndItsChildren(c,y)}deactivateRouteAndItsChildren(g,c){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,c):this.deactivateRouteAndOutlet(g,c)}detachAndStoreRouteSubtree(g,c){const y=c.getContext(g.value.outlet),b=y&&g.value.component?y.children:c,L=Ri(g);for(const W of Object.keys(L))this.deactivateRouteAndItsChildren(L[W],b);if(y&&y.outlet){const W=y.outlet.detach(),Ce=y.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:W,route:g,contexts:Ce})}}deactivateRouteAndOutlet(g,c){const y=c.getContext(g.value.outlet),b=y&&g.value.component?y.children:c,L=Ri(g);for(const W of Object.keys(L))this.deactivateRouteAndItsChildren(L[W],b);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(g,c,y){const b=Ri(c);g.children.forEach(L=>{this.activateRoutes(L,b[L.value.outlet],y),this.forwardEvent(new Gr(L.value.snapshot))}),g.children.length&&this.forwardEvent(new ys(g.value.snapshot))}activateRoutes(g,c,y){const b=g.value,L=c?c.value:null;if(Jn(b),b===L)if(b.component){const W=y.getOrCreateContext(b.outlet);this.activateChildRoutes(g,c,W.children)}else this.activateChildRoutes(g,c,y);else if(b.component){const W=y.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const Ce=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),W.children.onOutletReAttached(Ce.contexts),W.attachRef=Ce.componentRef,W.route=Ce.route.value,W.outlet&&W.outlet.attach(Ce.componentRef,Ce.route.value),Jn(Ce.route.value),this.activateChildRoutes(g,null,W.children)}else{const Ce=In(b.snapshot);W.attachRef=null,W.route=b,W.injector=Ce,W.outlet&&W.outlet.activateWith(b,W.injector),this.activateChildRoutes(g,null,W.children)}}else this.activateChildRoutes(g,null,y)}}class Rr{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class Xn{constructor(g,c){this.component=g,this.route=c}}function M(f,g,c){const y=f._root;return k(y,g?g._root:null,c,[y.value])}function E(f,g){const c=Symbol(),y=g.get(f,c);return y===c?"function"!=typeof f||(0,o.Z0I)(f)?g.get(f):f:y}function k(f,g,c,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const L=Ri(g);return f.children.forEach(W=>{(function Q(f,g,c,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,W=g?g.value:null,Ce=c?c.getContext(f.value.outlet):null;if(W&&L.routeConfig===W.routeConfig){const De=function it(f,g,c){if("function"==typeof c)return c(f,g);switch(c){case"pathParamsChange":return!Yn(f.url,g.url);case"pathParamsOrQueryParamsChange":return!Yn(f.url,g.url)||!vt(f.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(f,g)||!vt(f.queryParams,g.queryParams);default:return!nn(f,g)}}(W,L,L.routeConfig.runGuardsAndResolvers);De?b.canActivateChecks.push(new Rr(y)):(L.data=W.data,L._resolvedData=W._resolvedData),k(f,g,L.component?Ce?Ce.children:null:c,y,b),De&&Ce&&Ce.outlet&&Ce.outlet.isActivated&&b.canDeactivateChecks.push(new Xn(Ce.outlet.component,W))}else W&&Tt(g,Ce,b),b.canActivateChecks.push(new Rr(y)),k(f,null,L.component?Ce?Ce.children:null:c,y,b)})(W,L[W.value.outlet],c,y.concat([W.value]),b),delete L[W.value.outlet]}),Object.entries(L).forEach(([W,Ce])=>Tt(Ce,c.getContext(W),b)),b}function Tt(f,g,c){const y=Ri(f),b=f.value;Object.entries(y).forEach(([L,W])=>{Tt(W,b.component?g?g.children.getContext(L):null:g,c)}),c.canDeactivateChecks.push(new Xn(b.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,b))}function Ci(f){return"function"==typeof f}function Ds(f){return f instanceof Ve||"EmptyError"===f?.name}const Us=Symbol("INITIAL_VALUE");function Pr(){return(0,ot.w)(f=>le(f.map(g=>g.pipe((0,ft.q)(1),(0,ke.O)(Us)))).pipe((0,be.U)(g=>{for(const c of g)if(!0!==c){if(c===Us)return Us;if(!1===c||c instanceof Dt)return c}return!0}),(0,at.h)(g=>g!==Us),(0,ft.q)(1)))}function xr(f){return(0,se.z)((0,Re.b)(g=>{if(zt(g))throw xn(0,g)}),(0,be.U)(g=>!0===g))}class rs{constructor(g){this.segmentGroup=g||null}}class ss{constructor(g){this.urlTree=g}}function Wr(f){return(0,de._)(new rs(f))}function eo(f){return(0,de._)(new ss(f))}class js{constructor(g,c){this.urlSerializer=g,this.urlTree=c}noMatchError(g){return new o.vHH(4002,!1)}lineralizeSegments(g,c){let y=[],b=c.root;for(;;){if(y=y.concat(b.segments),0===b.numberOfChildren)return(0,z.of)(y);if(b.numberOfChildren>1||!b.children[yt])return(0,de._)(new o.vHH(4e3,!1));b=b.children[yt]}}applyRedirectCommands(g,c,y){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),g,y)}applyRedirectCreateUrlTree(g,c,y,b){const L=this.createSegmentGroup(g,c.root,y,b);return new Dt(L,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(g,c){const y={};return Object.entries(g).forEach(([b,L])=>{if("string"==typeof L&&L.startsWith(":")){const Ce=L.substring(1);y[b]=c[Ce]}else y[b]=L}),y}createSegmentGroup(g,c,y,b){const L=this.createSegments(g,c.segments,y,b);let W={};return Object.entries(c.children).forEach(([Ce,De])=>{W[Ce]=this.createSegmentGroup(g,De,y,b)}),new St(L,W)}createSegments(g,c,y,b){return c.map(L=>L.path.startsWith(":")?this.findPosParam(g,L,b):this.findOrReturn(L,y))}findPosParam(g,c,y){const b=y[c.path.substring(1)];if(!b)throw new o.vHH(4001,!1);return b}findOrReturn(g,c){let y=0;for(const b of c){if(b.path===g.path)return c.splice(y),b;y++}return g}}const os={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function co(f,g,c,y,b){const L=ws(f,g,c);return L.matched?(y=function Wi(f,g){return f.providers&&!f._injector&&(f._injector=(0,o.MMx)(f.providers,g,`Route: ${f.path}`)),f._injector??g}(g,y),function Vi(f,g,c,y){const b=g.canMatch;if(!b||0===b.length)return(0,z.of)(!0);const L=b.map(W=>{const Ce=E(W,f);return hi(function lo(f){return f&&Ci(f.canMatch)}(Ce)?Ce.canMatch(g,c):f.runInContext(()=>Ce(g,c)))});return(0,z.of)(L).pipe(Pr(),xr())}(y,g,c).pipe((0,be.U)(W=>!0===W?L:{...os}))):(0,z.of)(L)}function ws(f,g,c){if(""===g.path)return"full"===g.pathMatch&&(f.hasChildren()||c.length>0)?{...os}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const b=(g.matcher||Zn)(c,f,g);if(!b)return{...os};const L={};Object.entries(b.posParams??{}).forEach(([Ce,De])=>{L[Ce]=De.path});const W=b.consumed.length>0?{...L,...b.consumed[b.consumed.length-1].parameters}:L;return{matched:!0,consumedSegments:b.consumed,remainingSegments:c.slice(b.consumed.length),parameters:W,positionalParamSegments:b.posParams??{}}}function $s(f,g,c,y){return c.length>0&&function Kr(f,g,c){return c.some(y=>zs(f,g,y)&&ln(y)!==yt)}(f,c,y)?{segmentGroup:new St(g,Lr(y,new St(c,f.children))),slicedSegments:[]}:0===c.length&&function fo(f,g,c){return c.some(y=>zs(f,g,y))}(f,c,y)?{segmentGroup:new St(f.segments,Ms(f,0,c,y,f.children)),slicedSegments:c}:{segmentGroup:new St(f.segments,f.children),slicedSegments:c}}function Ms(f,g,c,y,b){const L={};for(const W of y)if(zs(f,c,W)&&!b[ln(W)]){const Ce=new St([],{});L[ln(W)]=Ce}return{...b,...L}}function Lr(f,g){const c={};c[yt]=g;for(const y of f)if(""===y.path&&ln(y)!==yt){const b=new St([],{});c[ln(y)]=b}return c}function zs(f,g,c){return(!(f.hasChildren()||g.length>0)||"full"!==c.pathMatch)&&""===c.path}class Ro{constructor(g,c,y,b,L,W,Ce){this.injector=g,this.configLoader=c,this.rootComponentType=y,this.config=b,this.urlTree=L,this.paramsInheritanceStrategy=W,this.urlSerializer=Ce,this.allowRedirects=!0,this.applyRedirects=new js(this.urlSerializer,this.urlTree)}noMatchError(g){return new o.vHH(4002,!1)}recognize(){const g=$s(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,g,yt).pipe((0,Je.K)(c=>{if(c instanceof ss)return this.allowRedirects=!1,this.urlTree=c.urlTree,this.match(c.urlTree);throw c instanceof rs?this.noMatchError(c):c}),(0,be.U)(c=>{const y=new Qt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},yt,this.rootComponentType,null,{}),b=new oi(y,c),L=new pi("",b),W=function ri(f,g,c=null,y=null){return un(mn(f),g,c,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,L.url=this.urlSerializer.serialize(W),this.inheritParamsAndData(L._root),{state:L,tree:W}}))}match(g){return this.processSegmentGroup(this.injector,this.config,g.root,yt).pipe((0,Je.K)(y=>{throw y instanceof rs?this.noMatchError(y):y}))}inheritParamsAndData(g){const c=g.value,y=qe(c,this.paramsInheritanceStrategy);c.params=Object.freeze(y.params),c.data=Object.freeze(y.data),g.children.forEach(b=>this.inheritParamsAndData(b))}processSegmentGroup(g,c,y,b){return 0===y.segments.length&&y.hasChildren()?this.processChildren(g,c,y):this.processSegment(g,c,y,y.segments,b,!0)}processChildren(g,c,y){const b=[];for(const L of Object.keys(y.children))"primary"===L?b.unshift(L):b.push(L);return(0,V.D)(b).pipe((0,xe.b)(L=>{const W=y.children[L],Ce=function Xs(f,g){const c=f.filter(y=>ln(y)===g);return c.push(...f.filter(y=>ln(y)!==g)),c}(c,L);return this.processSegmentGroup(g,Ce,W,L)}),function gn(f,g){return(0,ee.e)(function Ot(f,g,c,y,b){return(L,W)=>{let Ce=c,De=g,tt=0;L.subscribe((0,U.x)(W,It=>{const fn=tt++;De=Ce?f(De,It,fn):(Ce=!0,It),y&&W.next(De)},b&&(()=>{Ce&&W.next(De),W.complete()})))}}(f,g,arguments.length>=2,!0))}((L,W)=>(L.push(...W),L)),K(null),function Jt(f,g){const c=arguments.length>=2;return y=>y.pipe(f?(0,at.h)((b,L)=>f(b,L,y)):h.y,ut(1),c?K(g):oe(()=>new Ve))}(),(0,re.z)(L=>{if(null===L)return Wr(y);const W=Ts(L);return function Sa(f){f.sort((g,c)=>g.value.outlet===yt?-1:c.value.outlet===yt?1:g.value.outlet.localeCompare(c.value.outlet))}(W),(0,z.of)(W)}))}processSegment(g,c,y,b,L,W){return(0,V.D)(c).pipe((0,xe.b)(Ce=>this.processSegmentAgainstRoute(Ce._injector??g,c,Ce,y,b,L,W).pipe((0,Je.K)(De=>{if(De instanceof rs)return(0,z.of)(null);throw De}))),ve(Ce=>!!Ce),(0,Je.K)(Ce=>{if(Ds(Ce))return function ba(f,g,c){return 0===g.length&&!f.children[c]}(y,b,L)?(0,z.of)([]):Wr(y);throw Ce}))}processSegmentAgainstRoute(g,c,y,b,L,W,Ce){return function Ca(f,g,c,y){return!!(ln(f)===y||y!==yt&&zs(g,c,f))&&("**"===f.path||ws(g,f,c).matched)}(y,b,L,W)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(g,b,y,L,W,Ce):Ce&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,b,c,y,L,W):Wr(b):Wr(b)}expandSegmentAgainstRouteUsingRedirect(g,c,y,b,L,W){return"**"===b.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,y,b,W):this.expandRegularSegmentAgainstRouteUsingRedirect(g,c,y,b,L,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,c,y,b){const L=this.applyRedirects.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?eo(L):this.applyRedirects.lineralizeSegments(y,L).pipe((0,re.z)(W=>{const Ce=new St(W,{});return this.processSegment(g,c,Ce,W,b,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,c,y,b,L,W){const{matched:Ce,consumedSegments:De,remainingSegments:tt,positionalParamSegments:It}=ws(c,b,L);if(!Ce)return Wr(c);const fn=this.applyRedirects.applyRedirectCommands(De,b.redirectTo,It);return b.redirectTo.startsWith("/")?eo(fn):this.applyRedirects.lineralizeSegments(b,fn).pipe((0,re.z)(tn=>this.processSegment(g,y,c,tn.concat(tt),W,!1)))}matchSegmentAgainstRoute(g,c,y,b,L,W){let Ce;if("**"===y.path){const De=b.length>0?dr(b).parameters:{},tt=new Qt(b,De,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,P(y),ln(y),y.component??y._loadedComponent??null,y,D(y));Ce=(0,z.of)({snapshot:tt,consumedSegments:[],remainingSegments:[]}),c.children={}}else Ce=co(c,y,b,g).pipe((0,be.U)(({matched:De,consumedSegments:tt,remainingSegments:It,parameters:fn})=>De?{snapshot:new Qt(tt,fn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,P(y),ln(y),y.component??y._loadedComponent??null,y,D(y)),consumedSegments:tt,remainingSegments:It}:null));return Ce.pipe((0,ot.w)(De=>null===De?Wr(c):this.getChildConfig(g=y._injector??g,y,b).pipe((0,ot.w)(({routes:tt})=>{const It=y._loadedInjector??g,{snapshot:fn,consumedSegments:tn,remainingSegments:us}=De,{segmentGroup:fi,slicedSegments:Vr}=$s(c,tn,us,tt);if(0===Vr.length&&fi.hasChildren())return this.processChildren(It,tt,fi).pipe((0,be.U)(Gs=>null===Gs?null:[new oi(fn,Gs)]));if(0===tt.length&&0===Vr.length)return(0,z.of)([new oi(fn,[])]);const Tn=ln(y)===L;return this.processSegment(It,tt,fi,Vr,Tn?yt:L,!0).pipe((0,be.U)(Gs=>[new oi(fn,Gs)]))}))))}getChildConfig(g,c,y){return c.children?(0,z.of)({routes:c.children,injector:g}):c.loadChildren?void 0!==c._loadedRoutes?(0,z.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function Gn(f,g,c,y){const b=g.canLoad;if(void 0===b||0===b.length)return(0,z.of)(!0);const L=b.map(W=>{const Ce=E(W,f);return hi(function Hs(f){return f&&Ci(f.canLoad)}(Ce)?Ce.canLoad(g,c):f.runInContext(()=>Ce(g,c)))});return(0,z.of)(L).pipe(Pr(),xr())}(g,c,y).pipe((0,re.z)(b=>b?this.configLoader.loadChildren(g,c).pipe((0,Re.b)(L=>{c._loadedRoutes=L.routes,c._loadedInjector=L.injector})):function uo(f){return(0,de._)(nr(!1,3))}())):(0,z.of)({routes:[],injector:g})}}function as(f){const g=f.value.routeConfig;return g&&""===g.path}function Ts(f){const g=[],c=new Set;for(const y of f){if(!as(y)){g.push(y);continue}const b=g.find(L=>y.value.routeConfig===L.value.routeConfig);void 0!==b?(b.children.push(...y.children),c.add(b)):g.push(y)}for(const y of c){const b=Ts(y.children);g.push(new oi(y.value,b))}return g.filter(y=>!c.has(y))}function P(f){return f.data||{}}function D(f){return f.resolve||{}}function en(f){return"string"==typeof f.title||null===f.title}function Zt(f){return(0,ot.w)(g=>{const c=f(g);return c?(0,V.D)(c).pipe((0,be.U)(()=>g)):(0,z.of)(g)})}const At=new o.OlP("ROUTES");let yn=(()=>{class f{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,z.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const y=hi(c.loadComponent()).pipe((0,be.U)(ar),(0,Re.b)(L=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=L}),(0,Ue.x)(()=>{this.componentLoaders.delete(c)})),b=new We(y,()=>new q.x).pipe(J());return this.componentLoaders.set(c,b),b}loadChildren(c,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,z.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const L=function dn(f,g,c,y){return hi(f.loadChildren()).pipe((0,be.U)(ar),(0,re.z)(b=>b instanceof o.YKP||Array.isArray(b)?(0,z.of)(b):(0,V.D)(g.compileModuleAsync(b))),(0,be.U)(b=>{y&&y(f);let L,W,Ce=!1;return Array.isArray(b)?(W=b,!0):(L=b.create(c).injector,W=L.get(At,[],{optional:!0,self:!0}).flat()),{routes:W.map(Ir),injector:L}}))}(y,this.compiler,c,this.onLoadEndListener).pipe((0,Ue.x)(()=>{this.childrenLoaders.delete(y)})),W=new We(L,()=>new q.x).pipe(J());return this.childrenLoaders.set(y,W),W}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function ar(f){return function Wn(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let yi=(()=>{class f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.x,this.transitionAbortSubject=new q.x,this.configLoader=(0,o.f3M)(yn),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(ii),this.rootContexts=(0,o.f3M)(cn),this.inputBindingEnabled=null!==(0,o.f3M)(_t,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new ms(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new gs(b))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:y})}setupNavigations(c,y,b){return this.transitions=new T.X({id:0,currentUrlTree:y,currentRawUrl:y,currentBrowserUrl:y,extractedUrl:c.urlHandlingStrategy.extract(y),urlAfterRedirects:c.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Oi,restoredState:null,currentSnapshot:b.snapshot,targetSnapshot:null,currentRouterState:b,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,at.h)(L=>0!==L.id),(0,be.U)(L=>({...L,extractedUrl:c.urlHandlingStrategy.extract(L.rawUrl)})),(0,ot.w)(L=>{this.currentTransition=L;let W=!1,Ce=!1;return(0,z.of)(L).pipe((0,Re.b)(De=>{this.currentNavigation={id:De.id,initialUrl:De.rawUrl,extractedUrl:De.extractedUrl,trigger:De.source,extras:De.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ot.w)(De=>{const tt=De.currentBrowserUrl.toString(),It=!c.navigated||De.extractedUrl.toString()!==tt||tt!==De.currentUrlTree.toString();if(!It&&"reload"!==(De.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const tn="";return this.events.next(new Gi(De.id,this.urlSerializer.serialize(De.rawUrl),tn,0)),De.resolve(null),He.E}if(c.urlHandlingStrategy.shouldProcessUrl(De.rawUrl))return(0,z.of)(De).pipe((0,ot.w)(tn=>{const us=this.transitions?.getValue();return this.events.next(new Dn(tn.id,this.urlSerializer.serialize(tn.extractedUrl),tn.source,tn.restoredState)),us!==this.transitions?.getValue()?He.E:Promise.resolve(tn)}),function I(f,g,c,y,b,L){return(0,re.z)(W=>function Oo(f,g,c,y,b,L,W="emptyOnly"){return new Ro(f,g,c,y,b,W,L).recognize()}(f,g,c,y,W.extractedUrl,b,L).pipe((0,be.U)(({state:Ce,tree:De})=>({...W,targetSnapshot:Ce,urlAfterRedirects:De}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Re.b)(tn=>{L.targetSnapshot=tn.targetSnapshot,L.urlAfterRedirects=tn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:tn.urlAfterRedirects};const us=new qi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(us)}));if(It&&c.urlHandlingStrategy.shouldProcessUrl(De.currentRawUrl)){const{id:tn,extractedUrl:us,source:fi,restoredState:Vr,extras:Tn}=De,Gs=new Dn(tn,this.urlSerializer.serialize(us),fi,Vr);this.events.next(Gs);const Iu=Mr(0,this.rootComponentType).snapshot;return this.currentTransition=L={...De,targetSnapshot:Iu,urlAfterRedirects:us,extras:{...Tn,skipLocationChange:!1,replaceUrl:!1}},(0,z.of)(L)}{const tn="";return this.events.next(new Gi(De.id,this.urlSerializer.serialize(De.extractedUrl),tn,1)),De.resolve(null),He.E}}),(0,Re.b)(De=>{const tt=new zr(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(tt)}),(0,be.U)(De=>(this.currentTransition=L={...De,guards:M(De.targetSnapshot,De.currentSnapshot,this.rootContexts)},L)),function Nr(f,g){return(0,re.z)(c=>{const{targetSnapshot:y,currentSnapshot:b,guards:{canActivateChecks:L,canDeactivateChecks:W}}=c;return 0===W.length&&0===L.length?(0,z.of)({...c,guardsResult:!0}):function Cs(f,g,c,y){return(0,V.D)(f).pipe((0,re.z)(b=>function Da(f,g,c,y,b){const L=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,z.of)(!0);const W=L.map(Ce=>{const De=In(g)??b,tt=E(Ce,De);return hi(function Es(f){return f&&Ci(f.canDeactivate)}(tt)?tt.canDeactivate(f,g,c,y):De.runInContext(()=>tt(f,g,c,y))).pipe(ve())});return(0,z.of)(W).pipe(Pr())}(b.component,b.route,c,g,y)),ve(b=>!0!==b,!0))}(W,y,b,f).pipe((0,re.z)(Ce=>Ce&&function is(f){return"boolean"==typeof f}(Ce)?function Ao(f,g,c,y){return(0,V.D)(g).pipe((0,xe.b)(b=>(0,lt.z)(function or(f,g){return null!==f&&g&&g(new Bn(f)),(0,z.of)(!0)}(b.route.parent,y),function Io(f,g){return null!==f&&g&&g(new ks(f)),(0,z.of)(!0)}(b.route,y),function bs(f,g,c){const y=g[g.length-1],L=g.slice(0,g.length-1).reverse().map(W=>function O(f){const g=f.routeConfig?f.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:f,guards:g}:null}(W)).filter(W=>null!==W).map(W=>(0,Ge.P)(()=>{const Ce=W.guards.map(De=>{const tt=In(W.node)??c,It=E(De,tt);return hi(function ao(f){return f&&Ci(f.canActivateChild)}(It)?It.canActivateChild(y,f):tt.runInContext(()=>It(y,f))).pipe(ve())});return(0,z.of)(Ce).pipe(Pr())}));return(0,z.of)(L).pipe(Pr())}(f,b.path,c),function On(f,g,c){const y=g.routeConfig?g.routeConfig.canActivate:null;if(!y||0===y.length)return(0,z.of)(!0);const b=y.map(L=>(0,Ge.P)(()=>{const W=In(g)??c,Ce=E(L,W);return hi(function sr(f){return f&&Ci(f.canActivate)}(Ce)?Ce.canActivate(g,f):W.runInContext(()=>Ce(g,f))).pipe(ve())}));return(0,z.of)(b).pipe(Pr())}(f,b.route,c))),ve(b=>!0!==b,!0))}(y,L,f,g):(0,z.of)(Ce)),(0,be.U)(Ce=>({...c,guardsResult:Ce})))})}(this.environmentInjector,De=>this.events.next(De)),(0,Re.b)(De=>{if(L.guardsResult=De.guardsResult,zt(De.guardsResult))throw xn(0,De.guardsResult);const tt=new Xr(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot,!!De.guardsResult);this.events.next(tt)}),(0,at.h)(De=>!!De.guardsResult||(this.cancelNavigationTransition(De,"",3),!1)),Zt(De=>{if(De.guards.canActivateChecks.length)return(0,z.of)(De).pipe((0,Re.b)(tt=>{const It=new es(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot);this.events.next(It)}),(0,ot.w)(tt=>{let It=!1;return(0,z.of)(tt).pipe(function Z(f,g){return(0,re.z)(c=>{const{targetSnapshot:y,guards:{canActivateChecks:b}}=c;if(!b.length)return(0,z.of)(c);let L=0;return(0,V.D)(b).pipe((0,xe.b)(W=>function Se(f,g,c,y){const b=f.routeConfig,L=f._resolve;return void 0!==b?.title&&!en(b)&&(L[ti]=b.title),function Pe(f,g,c,y){const b=function rt(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===b.length)return(0,z.of)({});const L={};return(0,V.D)(b).pipe((0,re.z)(W=>function rn(f,g,c,y){const b=In(g)??y,L=E(f,b);return hi(L.resolve?L.resolve(g,c):b.runInContext(()=>L(g,c)))}(f[W],g,c,y).pipe(ve(),(0,Re.b)(Ce=>{L[W]=Ce}))),ut(1),function kt(f){return(0,be.U)(()=>f)}(L),(0,Je.K)(W=>Ds(W)?He.E:(0,de._)(W)))}(L,f,g,y).pipe((0,be.U)(W=>(f._resolvedData=W,f.data=qe(f,c).resolve,b&&en(b)&&(f.data[ti]=b.title),null)))}(W.route,y,f,g)),(0,Re.b)(()=>L++),ut(1),(0,re.z)(W=>L===b.length?(0,z.of)(c):He.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Re.b)({next:()=>It=!0,complete:()=>{It||this.cancelNavigationTransition(tt,"",2)}}))}),(0,Re.b)(tt=>{const It=new Js(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot);this.events.next(It)}))}),Zt(De=>{const tt=It=>{const fn=[];It.routeConfig?.loadComponent&&!It.routeConfig._loadedComponent&&fn.push(this.configLoader.loadComponent(It.routeConfig).pipe((0,Re.b)(tn=>{It.component=tn}),(0,be.U)(()=>{})));for(const tn of It.children)fn.push(...tt(tn));return fn};return le(tt(De.targetSnapshot.root)).pipe(K(),(0,ft.q)(1))}),Zt(()=>this.afterPreactivation()),(0,be.U)(De=>{const tt=function vs(f,g,c){const y=Di(f,g._root,c?c._root:void 0);return new Xi(y,g)}(c.routeReuseStrategy,De.targetSnapshot,De.currentRouterState);return this.currentTransition=L={...De,targetRouterState:tt},L}),(0,Re.b)(()=>{this.events.next(new pr)}),((f,g,c,y)=>(0,be.U)(b=>(new Or(g,b.targetRouterState,b.currentRouterState,c,y).activate(f),b)))(this.rootContexts,c.routeReuseStrategy,De=>this.events.next(De),this.inputBindingEnabled),(0,ft.q)(1),(0,Re.b)({next:De=>{W=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new zn(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects))),c.titleStrategy?.updateTitle(De.targetRouterState.snapshot),De.resolve(!0)},complete:()=>{W=!0}}),function hn(f){return(0,ee.e)((g,c)=>{(0,sn.Xf)(f).subscribe((0,U.x)(c,()=>c.complete(),ht.Z)),!c.closed&&g.subscribe(c)})}(this.transitionAbortSubject.pipe((0,Re.b)(De=>{throw De}))),(0,Ue.x)(()=>{W||Ce||this.cancelNavigationTransition(L,"",1),this.currentNavigation?.id===L.id&&(this.currentNavigation=null)}),(0,Je.K)(De=>{if(Ce=!0,ki(De))this.events.next(new Ji(L.id,this.urlSerializer.serialize(L.extractedUrl),De.message,De.cancellationCode)),function ir(f){return ki(f)&&zt(f.url)}(De)?this.events.next(new ts(De.url)):L.resolve(!1);else{this.events.next(new Nn(L.id,this.urlSerializer.serialize(L.extractedUrl),De,L.targetSnapshot??void 0));try{L.resolve(c.errorHandler(De))}catch(tt){L.reject(tt)}}return He.E}))}))}cancelNavigationTransition(c,y,b){const L=new Ji(c.id,this.urlSerializer.serialize(c.extractedUrl),y,b);this.events.next(L),c.resolve(!1)}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function mr(f){return f!==Oi}let Ni=(()=>{class f{buildTitle(c){let y,b=c.root;for(;void 0!==b;)y=this.getResolvedTitleForRoute(b)??y,b=b.children.find(L=>L.outlet===yt);return y}getResolvedTitleForRoute(c){return c.data[ti]}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(Fr)},providedIn:"root"})}return f})(),Fr=(()=>{class f extends Ni{constructor(c){super(),this.title=c}updateTitle(c){const y=this.buildTitle(c);void 0!==y&&this.title.setTitle(y)}static#e=this.\u0275fac=function(y){return new(y||f)(o.LFG(Mi.Dx))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),yr=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(wa)},providedIn:"root"})}return f})();class kr{shouldDetach(g){return!1}store(g,c){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,c){return g.routeConfig===c.routeConfig}}let wa=(()=>{class f extends kr{static#e=this.\u0275fac=function(){let c;return function(b){return(c||(c=o.n5z(f)))(b||f)}}();static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const As=new o.OlP("",{providedIn:"root",factory:()=>({})});let Ma=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(vr)},providedIn:"root"})}return f})(),vr=(()=>{class f{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,y){return c}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();var Is=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(Is||{});function ho(f,g){f.events.pipe((0,at.h)(c=>c instanceof zn||c instanceof Ji||c instanceof Nn||c instanceof Gi),(0,be.U)(c=>c instanceof zn||c instanceof Gi?Is.COMPLETE:c instanceof Ji&&(0===c.code||1===c.code)?Is.REDIRECTING:Is.FAILED),(0,at.h)(c=>c!==Is.REDIRECTING),(0,ft.q)(1)).subscribe(()=>{g()})}function vn(f){throw f}function po(f,g,c){return g.parse("/")}const to={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},C={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let u=(()=>{class f{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this._events=new q.x,this.options=(0,o.f3M)(As,{optional:!0})||{},this.pendingTasks=(0,o.f3M)(o.HDt),this.errorHandler=this.options.errorHandler||vn,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||po,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(Ma),this.routeReuseStrategy=(0,o.f3M)(yr),this.titleStrategy=(0,o.f3M)(Ni),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.f3M)(At,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.f3M)(yi),this.urlSerializer=(0,o.f3M)(ii),this.location=(0,o.f3M)(Le.Ye),this.componentInputBindingEnabled=!!(0,o.f3M)(_t,{optional:!0}),this.eventsSubscription=new fe.w0,this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Dt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const c=this.navigationTransitions.events.subscribe(y=>{try{const{currentTransition:b}=this.navigationTransitions;if(null===b)return void(v(y)&&this._events.next(y));if(y instanceof Dn)mr(b.source)&&(this.browserUrlTree=b.extractedUrl);else if(y instanceof Gi)this.rawUrlTree=b.rawUrl;else if(y instanceof qi){if("eager"===this.urlUpdateStrategy){if(!b.extras.skipLocationChange){const L=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl);this.setBrowserUrl(L,b)}this.browserUrlTree=b.urlAfterRedirects}}else if(y instanceof pr)this.currentUrlTree=b.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl),this.routerState=b.targetRouterState,"deferred"===this.urlUpdateStrategy&&(b.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,b),this.browserUrlTree=b.urlAfterRedirects);else if(y instanceof Ji)0!==y.code&&1!==y.code&&(this.navigated=!0),(3===y.code||2===y.code)&&this.restoreHistory(b);else if(y instanceof ts){const L=this.urlHandlingStrategy.merge(y.url,b.currentRawUrl),W={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mr(b.source)};this.scheduleNavigation(L,Oi,null,W,{resolve:b.resolve,reject:b.reject,promise:b.promise})}y instanceof Nn&&this.restoreHistory(b,!0),y instanceof zn&&(this.navigated=!0),v(y)&&this._events.next(y)}catch(b){this.navigationTransitions.transitionAbortSubject.next(b)}});this.eventsSubscription.add(c)}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Oi,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const y="popstate"===c.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,y,c.state)},0)}))}navigateToSyncWithBrowser(c,y,b){const L={replaceUrl:!0},W=b?.navigationId?b:null;if(b){const De={...b};delete De.navigationId,delete De.\u0275routerPageId,0!==Object.keys(De).length&&(L.state=De)}const Ce=this.parseUrl(c);this.scheduleNavigation(Ce,y,W,L)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(c){this.config=c.map(Ir),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(c,y={}){const{relativeTo:b,queryParams:L,fragment:W,queryParamsHandling:Ce,preserveFragment:De}=y,tt=De?this.currentUrlTree.fragment:W;let fn,It=null;switch(Ce){case"merge":It={...this.currentUrlTree.queryParams,...L};break;case"preserve":It=this.currentUrlTree.queryParams;break;default:It=L||null}null!==It&&(It=this.removeEmptyProps(It));try{fn=mn(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof c[0]||!c[0].startsWith("/"))&&(c=[]),fn=this.currentUrlTree.root}return un(fn,c,It,tt??null)}navigateByUrl(c,y={skipLocationChange:!1}){const b=zt(c)?c:this.parseUrl(c),L=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(L,Oi,null,y)}navigate(c,y={skipLocationChange:!1}){return function l(f){for(let g=0;g<f.length;g++)if(null==f[g])throw new o.vHH(4008,!1)}(c),this.navigateByUrl(this.createUrlTree(c,y),y)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let y;try{y=this.urlSerializer.parse(c)}catch(b){y=this.malformedUriErrorHandler(b,this.urlSerializer,c)}return y}isActive(c,y){let b;if(b=!0===y?{...to}:!1===y?{...C}:y,zt(c))return An(this.currentUrlTree,c,b);const L=this.parseUrl(c);return An(this.currentUrlTree,L,b)}removeEmptyProps(c){return Object.keys(c).reduce((y,b)=>{const L=c[b];return null!=L&&(y[b]=L),y},{})}scheduleNavigation(c,y,b,L,W){if(this.disposed)return Promise.resolve(!1);let Ce,De,tt;W?(Ce=W.resolve,De=W.reject,tt=W.promise):tt=new Promise((fn,tn)=>{Ce=fn,De=tn});const It=this.pendingTasks.add();return ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(It))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:c,extras:L,resolve:Ce,reject:De,promise:tt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),tt.catch(fn=>Promise.reject(fn))}setBrowserUrl(c,y){const b=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(b)||y.extras.replaceUrl){const W={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(b,"",W)}else{const L={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(b,"",L)}}restoreHistory(c,y=!1){if("computed"===this.canceledNavigationResolution){const L=this.currentPageId-this.browserPageId;0!==L?this.location.historyGo(L):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===L&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,y){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:y}:{navigationId:c}}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function v(f){return!(f instanceof pr||f instanceof ts)}let w=(()=>{class f{constructor(c,y,b,L,W,Ce){this.router=c,this.route=y,this.tabIndexAttribute=b,this.renderer=L,this.el=W,this.locationStrategy=Ce,this.href=null,this.commands=null,this.onChanges=new q.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const De=W.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===De||"area"===De,this.isAnchorElement?this.subscription=c.events.subscribe(tt=>{tt instanceof zn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,y,b,L,W){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||y||b||L||W||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,y){const b=this.renderer,L=this.el.nativeElement;null!==y?b.setAttribute(L,c,y):b.removeAttribute(L,c)}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||f)(o.Y36(u),o.Y36(Yt),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Le.S$))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,b){1&y&&o.NdJ("click",function(W){return b.onClick(W.button,W.ctrlKey,W.shiftKey,W.altKey,W.metaKey)}),2&y&&o.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",o.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",o.VuI],replaceUrl:["replaceUrl","replaceUrl",o.VuI],routerLink:"routerLink"},standalone:!0,features:[o.Xq5,o.TTD]})}return f})(),F=(()=>{class f{get isActive(){return this._isActive}constructor(c,y,b,L,W){this.router=c,this.element=y,this.renderer=b,this.cdr=L,this.link=W,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.vpe,this.routerEventsSubscription=c.events.subscribe(Ce=>{Ce instanceof zn&&this.update()})}ngAfterContentInit(){(0,z.of)(this.links.changes,(0,z.of)(null)).pipe((0,Ht.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(y=>!!y).map(y=>y.onChanges);this.linkInputChangesSubscription=(0,V.D)(c).pipe((0,Ht.J)()).subscribe(y=>{this._isActive!==this.isLinkActive(this.router)(y)&&this.update()})}set routerLinkActive(c){const y=Array.isArray(c)?c:c.split(" ");this.classes=y.filter(b=>!!b)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(y=>{c?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const y=function X(f){return!!f.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>!!b.urlTree&&c.isActive(b.urlTree,y)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}static#e=this.\u0275fac=function(y){return new(y||f)(o.Y36(u),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(w,8))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","routerLinkActive",""]],contentQueries:function(y,b,L){if(1&y&&o.Suo(L,w,5),2&y){let W;o.iGM(W=o.CRH())&&(b.links=W)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.TTD]})}return f})();class ie{}let Xe=(()=>{class f{constructor(c,y,b,L,W){this.router=c,this.injector=b,this.preloadingStrategy=L,this.loader=W}setUpPreloading(){this.subscription=this.router.events.pipe((0,at.h)(c=>c instanceof zn),(0,xe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,y){const b=[];for(const L of y){L.providers&&!L._injector&&(L._injector=(0,o.MMx)(L.providers,c,`Route: ${L.path}`));const W=L._injector??c,Ce=L._loadedInjector??W;(L.loadChildren&&!L._loadedRoutes&&void 0===L.canLoad||L.loadComponent&&!L._loadedComponent)&&b.push(this.preloadConfig(W,L)),(L.children||L._loadedRoutes)&&b.push(this.processRoutes(Ce,L.children??L._loadedRoutes))}return(0,V.D)(b).pipe((0,Ht.J)())}preloadConfig(c,y){return this.preloadingStrategy.preload(y,()=>{let b;b=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(c,y):(0,z.of)(null);const L=b.pipe((0,re.z)(W=>null===W?(0,z.of)(void 0):(y._loadedRoutes=W.routes,y._loadedInjector=W.injector,this.processRoutes(W.injector??c,W.routes))));if(y.loadComponent&&!y._loadedComponent){const W=this.loader.loadComponent(y);return(0,V.D)([L,W]).pipe((0,Ht.J)())}return L})}static#e=this.\u0275fac=function(y){return new(y||f)(o.LFG(u),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(ie),o.LFG(yn))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const Qe=new o.OlP("");let $t=(()=>{class f{constructor(c,y,b,L,W={}){this.urlSerializer=c,this.transitions=y,this.viewportScroller=b,this.zone=L,this.options=W,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},W.scrollPositionRestoration=W.scrollPositionRestoration||"disabled",W.anchorScrolling=W.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(c=>{c instanceof Dn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof zn?(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment)):c instanceof Gi&&0===c.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof Bs&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,y){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Bs(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(y){o.$Z()};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac})}return f})();function Be(f,g){return{\u0275kind:f,\u0275providers:g}}function ei(){const f=(0,o.f3M)(o.zs3);return g=>{const c=f.get(o.z2F);if(g!==c.components[0])return;const y=f.get(u),b=f.get(Zr);1===f.get(ci)&&y.initialNavigation(),f.get(_r,null,o.XFs.Optional)?.setUpPreloading(),f.get(Qe,null,o.XFs.Optional)?.init(),y.resetRootComponentType(c.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}const Zr=new o.OlP("",{factory:()=>new q.x}),ci=new o.OlP("",{providedIn:"root",factory:()=>1}),_r=new o.OlP("");function Po(f){return Be(0,[{provide:_r,useExisting:Xe},{provide:ie,useExisting:f}])}const ct=new o.OlP("ROUTER_FORROOT_GUARD"),mt=[Le.Ye,{provide:ii,useClass:$i},u,cn,{provide:Yt,useFactory:function pt(f){return f.routerState.root},deps:[u]},yn,[]];function xt(){return new o.PXZ("Router",u)}let Hn=(()=>{class f{constructor(c){}static forRoot(c,y){return{ngModule:f,providers:[mt,[],{provide:At,multi:!0,useValue:c},{provide:ct,useFactory:Sn,deps:[[u,new o.FiY,new o.tp0]]},{provide:As,useValue:y||{}},y?.useHash?{provide:Le.S$,useClass:Le.Do}:{provide:Le.S$,useClass:Le.b0},{provide:Qe,useFactory:()=>{const f=(0,o.f3M)(Le.EM),g=(0,o.f3M)(o.R0b),c=(0,o.f3M)(As),y=(0,o.f3M)(yi),b=(0,o.f3M)(ii);return c.scrollOffset&&f.setOffset(c.scrollOffset),new $t(b,y,f,g,c)}},y?.preloadingStrategy?Po(y.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:xt},y?.initialNavigation?vi(y):[],y?.bindToComponentInputs?Be(8,[er,{provide:_t,useExisting:er}]).\u0275providers:[],[{provide:Er,useFactory:ei},{provide:o.tb,multi:!0,useExisting:Er}]]}}static forChild(c){return{ngModule:f,providers:[{provide:At,multi:!0,useValue:c}]}}static#e=this.\u0275fac=function(y){return new(y||f)(o.LFG(ct,8))};static#t=this.\u0275mod=o.oAB({type:f});static#n=this.\u0275inj=o.cJS({})}return f})();function Sn(f){return"guarded"}function vi(f){return["disabled"===f.initialNavigation?Be(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const g=(0,o.f3M)(u);return()=>{g.setUpLocationChangeListener()}}},{provide:ci,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?Be(2,[{provide:ci,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:g=>{const c=g.get(Le.V_,Promise.resolve());return()=>c.then(()=>new Promise(y=>{const b=g.get(u),L=g.get(Zr);ho(b,()=>{y(!0)}),g.get(yi).afterPreactivation=()=>(y(!0),L.closed?(0,z.of)(void 0):L),b.initialNavigation()}))}}]).\u0275providers:[]]}const Er=new o.OlP("")},9515:(ze,me,_)=>{_.d(me,{X$:()=>ot,Zw:()=>U,aw:()=>ft,sK:()=>Le});var o=_(2029),R=_(2096),V=_(2664),z=_(9315),T=_(5211),H=_(4911),N=_(8180),h=_(940),j=_(7398),A=_(6328),B=_(4664);class U{}let ce=(()=>{class ke extends U{getTranslation(re){return(0,R.of)({})}static \u0275fac=function(){let re;return function(oe){return(re||(re=o.n5z(ke)))(oe||ke)}}();static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();class le{}let G=(()=>{class ke{handle(re){return re.key}static \u0275fac=function(K){return new(K||ke)};static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();function we(ke,at){if(ke===at)return!0;if(null===ke||null===at)return!1;if(ke!=ke&&at!=at)return!0;let oe,pe,ve,re=typeof ke;if(re==typeof at&&"object"==re){if(!Array.isArray(ke)){if(Array.isArray(at))return!1;for(pe in ve=Object.create(null),ke){if(!we(ke[pe],at[pe]))return!1;ve[pe]=!0}for(pe in at)if(!(pe in ve)&&typeof at[pe]<"u")return!1;return!0}if(!Array.isArray(at))return!1;if((oe=ke.length)==at.length){for(pe=0;pe<oe;pe++)if(!we(ke[pe],at[pe]))return!1;return!0}}return!1}function ge(ke){return typeof ke<"u"&&null!==ke}function Ve(ke){return ke&&"object"==typeof ke&&!Array.isArray(ke)}function lt(ke,at){let re=Object.assign({},ke);return Ve(ke)&&Ve(at)&&Object.keys(at).forEach(K=>{Ve(at[K])?K in ke?re[K]=lt(ke[K],at[K]):Object.assign(re,{[K]:at[K]}):Object.assign(re,{[K]:at[K]})}),re}class Ge{}let se=(()=>{class ke extends Ge{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(re,K){let oe;return oe="string"==typeof re?this.interpolateString(re,K):"function"==typeof re?this.interpolateFunction(re,K):re,oe}getValue(re,K){let oe="string"==typeof K?K.split("."):[K];K="";do{K+=oe.shift(),!ge(re)||!ge(re[K])||"object"!=typeof re[K]&&oe.length?oe.length?K+=".":re=void 0:(re=re[K],K="")}while(oe.length);return re}interpolateFunction(re,K){return re(K)}interpolateString(re,K){return K?re.replace(this.templateMatcher,(oe,pe)=>{let ve=this.getValue(K,pe);return ge(ve)?ve:oe}):re}static \u0275fac=function(){let re;return function(oe){return(re||(re=o.n5z(ke)))(oe||ke)}}();static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();class de{}let He=(()=>{class ke extends de{compile(re,K){return re}compileTranslations(re,K){return re}static \u0275fac=function(){let re;return function(oe){return(re||(re=o.n5z(ke)))(oe||ke)}}();static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})();class fe{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new o.vpe;onLangChange=new o.vpe;onDefaultLangChange=new o.vpe}const ee=new o.OlP("USE_STORE"),J=new o.OlP("USE_DEFAULT_LANG"),We=new o.OlP("DEFAULT_LANGUAGE"),q=new o.OlP("USE_EXTEND");let Le=(()=>{class ke{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new o.vpe;_onLangChange=new o.vpe;_onDefaultLangChange=new o.vpe;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(re){this.isolate?this._defaultLang=re:this.store.defaultLang=re}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(re){this.isolate?this._currentLang=re:this.store.currentLang=re}get langs(){return this.isolate?this._langs:this.store.langs}set langs(re){this.isolate?this._langs=re:this.store.langs=re}get translations(){return this.isolate?this._translations:this.store.translations}set translations(re){this.isolate?this._translations=re:this.store.translations=re}constructor(re,K,oe,pe,ve,xe=!0,Re=!1,Je=!1,Ot){this.store=re,this.currentLoader=K,this.compiler=oe,this.parser=pe,this.missingTranslationHandler=ve,this.useDefaultLang=xe,this.isolate=Re,this.extend=Je,Ot&&this.setDefaultLang(Ot)}setDefaultLang(re){if(re===this.defaultLang)return;let K=this.retrieveTranslations(re);typeof K<"u"?(null==this.defaultLang&&(this.defaultLang=re),K.pipe((0,N.q)(1)).subscribe(oe=>{this.changeDefaultLang(re)})):this.changeDefaultLang(re)}getDefaultLang(){return this.defaultLang}use(re){if(re===this.currentLang)return(0,R.of)(this.translations[re]);let K=this.retrieveTranslations(re);return typeof K<"u"?(this.currentLang||(this.currentLang=re),K.pipe((0,N.q)(1)).subscribe(oe=>{this.changeLang(re)}),K):(this.changeLang(re),(0,R.of)(this.translations[re]))}retrieveTranslations(re){let K;return(typeof this.translations[re]>"u"||this.extend)&&(this._translationRequests[re]=this._translationRequests[re]||this.getTranslation(re),K=this._translationRequests[re]),K}getTranslation(re){this.pending=!0;const K=this.currentLoader.getTranslation(re).pipe((0,h.d)(1),(0,N.q)(1));return this.loadingTranslations=K.pipe((0,j.U)(oe=>this.compiler.compileTranslations(oe,re)),(0,h.d)(1),(0,N.q)(1)),this.loadingTranslations.subscribe({next:oe=>{this.translations[re]=this.extend&&this.translations[re]?{...oe,...this.translations[re]}:oe,this.updateLangs(),this.pending=!1},error:oe=>{this.pending=!1}}),K}setTranslation(re,K,oe=!1){K=this.compiler.compileTranslations(K,re),this.translations[re]=(oe||this.extend)&&this.translations[re]?lt(this.translations[re],K):K,this.updateLangs(),this.onTranslationChange.emit({lang:re,translations:this.translations[re]})}getLangs(){return this.langs}addLangs(re){re.forEach(K=>{-1===this.langs.indexOf(K)&&this.langs.push(K)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(re,K,oe){let pe;if(K instanceof Array){let ve={},xe=!1;for(let Re of K)ve[Re]=this.getParsedResult(re,Re,oe),(0,V.b)(ve[Re])&&(xe=!0);if(xe){const Re=K.map(Je=>(0,V.b)(ve[Je])?ve[Je]:(0,R.of)(ve[Je]));return(0,z.D)(Re).pipe((0,j.U)(Je=>{let Ot={};return Je.forEach((gn,ut)=>{Ot[K[ut]]=gn}),Ot}))}return ve}if(re&&(pe=this.parser.interpolate(this.parser.getValue(re,K),oe)),typeof pe>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(pe=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],K),oe)),typeof pe>"u"){let ve={key:K,translateService:this};typeof oe<"u"&&(ve.interpolateParams=oe),pe=this.missingTranslationHandler.handle(ve)}return typeof pe<"u"?pe:K}get(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,A.b)(oe=>(oe=this.getParsedResult(oe,re,K),(0,V.b)(oe)?oe:(0,R.of)(oe))));{let oe=this.getParsedResult(this.translations[this.currentLang],re,K);return(0,V.b)(oe)?oe:(0,R.of)(oe)}}getStreamOnTranslationChange(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');return(0,T.z)((0,H.P)(()=>this.get(re,K)),this.onTranslationChange.pipe((0,B.w)(oe=>{const pe=this.getParsedResult(oe.translations,re,K);return"function"==typeof pe.subscribe?pe:(0,R.of)(pe)})))}stream(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');return(0,T.z)((0,H.P)(()=>this.get(re,K)),this.onLangChange.pipe((0,B.w)(oe=>{const pe=this.getParsedResult(oe.translations,re,K);return(0,V.b)(pe)?pe:(0,R.of)(pe)})))}instant(re,K){if(!ge(re)||!re.length)throw new Error('Parameter "key" required');let oe=this.getParsedResult(this.translations[this.currentLang],re,K);if((0,V.b)(oe)){if(re instanceof Array){let pe={};return re.forEach((ve,xe)=>{pe[re[xe]]=re[xe]}),pe}return re}return oe}set(re,K,oe=this.currentLang){this.translations[oe][re]=this.compiler.compile(K,oe),this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}changeLang(re){this.currentLang=re,this.onLangChange.emit({lang:re,translations:this.translations[re]}),null==this.defaultLang&&this.changeDefaultLang(re)}changeDefaultLang(re){this.defaultLang=re,this.onDefaultLangChange.emit({lang:re,translations:this.translations[re]})}reloadLang(re){return this.resetLang(re),this.getTranslation(re)}resetLang(re){this._translationRequests[re]=void 0,this.translations[re]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof re>"u"?void 0:(-1!==re.indexOf("-")&&(re=re.split("-")[0]),-1!==re.indexOf("_")&&(re=re.split("_")[0]),re)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,re}static \u0275fac=function(K){return new(K||ke)(o.LFG(fe),o.LFG(U),o.LFG(de),o.LFG(Ge),o.LFG(le),o.LFG(J),o.LFG(ee),o.LFG(q),o.LFG(We))};static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})(),ot=(()=>{class ke{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(re,K){this.translate=re,this._ref=K}updateValue(re,K,oe){let pe=ve=>{this.value=void 0!==ve?ve:re,this.lastKey=re,this._ref.markForCheck()};if(oe){let ve=this.translate.getParsedResult(oe,re,K);(0,V.b)(ve.subscribe)?ve.subscribe(pe):pe(ve)}this.translate.get(re,K).subscribe(pe)}transform(re,...K){if(!re||!re.length)return re;if(we(re,this.lastKey)&&we(K,this.lastParams))return this.value;let oe;if(ge(K[0])&&K.length)if("string"==typeof K[0]&&K[0].length){let pe=K[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{oe=JSON.parse(pe)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${K[0]}`)}}else"object"==typeof K[0]&&!Array.isArray(K[0])&&(oe=K[0]);return this.lastKey=re,this.lastParams=K,this.updateValue(re,oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(pe=>{this.lastKey&&pe.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(re,oe,pe.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(pe=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,oe,pe.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,oe))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(K){return new(K||ke)(o.Y36(Le,16),o.Y36(o.sBO,16))};static \u0275pipe=o.Yjl({name:"translate",type:ke,pure:!1});static \u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac})}return ke})(),ft=(()=>{class ke{static forRoot(re={}){return{ngModule:ke,providers:[re.loader||{provide:U,useClass:ce},re.compiler||{provide:de,useClass:He},re.parser||{provide:Ge,useClass:se},re.missingTranslationHandler||{provide:le,useClass:G},fe,{provide:ee,useValue:re.isolate},{provide:J,useValue:re.useDefaultLang},{provide:q,useValue:re.extend},{provide:We,useValue:re.defaultLanguage},Le]}}static forChild(re={}){return{ngModule:ke,providers:[re.loader||{provide:U,useClass:ce},re.compiler||{provide:de,useClass:He},re.parser||{provide:Ge,useClass:se},re.missingTranslationHandler||{provide:le,useClass:G},{provide:ee,useValue:re.isolate},{provide:J,useValue:re.useDefaultLang},{provide:q,useValue:re.extend},{provide:We,useValue:re.defaultLanguage},Le]}}static \u0275fac=function(K){return new(K||ke)};static \u0275mod=o.oAB({type:ke});static \u0275inj=o.cJS({})}return ke})()},5061:(ze,me,_)=>{_.d(me,{w:()=>o});class o{http;prefix;suffix;constructor(V,z="/assets/i18n/",T=".json"){this.http=V,this.prefix=z,this.suffix=T}getTranslation(V){return this.http.get(`${this.prefix}${V}${this.suffix}`)}}},5219:(ze,me,_)=>{_.d(me,{$_:()=>ge,F0:()=>ce,a6:()=>j,b4:()=>G,ez:()=>U,h4:()=>we,iZ:()=>B,jx:()=>Ve,m8:()=>lt,pg:()=>A,ws:()=>Ge});var o=_(2029),R=_(8645),V=_(2332),z=_(6814);const T=["*"];let j=(()=>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"})(),A=(()=>class de{static AND="and";static OR="or"})(),B=(()=>{class de{filter(fe,ee,J,We,q){let Le=[];if(fe)for(let be of fe)for(let ot of ee){let ft=V.gb.resolveFieldData(be,ot);if(this.filters[We](ft,J,q)){Le.push(be);break}}return Le}filters={startsWith:(fe,ee,J)=>{if(null==ee||""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J);return V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J).slice(0,We.length)===We},contains:(fe,ee,J)=>{if(null==ee||"string"==typeof ee&&""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J);return-1!==V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J).indexOf(We)},notContains:(fe,ee,J)=>{if(null==ee||"string"==typeof ee&&""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J);return-1===V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J).indexOf(We)},endsWith:(fe,ee,J)=>{if(null==ee||""===ee.trim())return!0;if(null==fe)return!1;let We=V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J),q=V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J);return-1!==q.indexOf(We,q.length-We.length)},equals:(fe,ee,J)=>null==ee||"string"==typeof ee&&""===ee.trim()||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()===ee.getTime():V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J)==V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J)),notEquals:(fe,ee,J)=>!(null==ee||"string"==typeof ee&&""===ee.trim()||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()===ee.getTime():V.gb.removeAccents(fe.toString()).toLocaleLowerCase(J)==V.gb.removeAccents(ee.toString()).toLocaleLowerCase(J))),in:(fe,ee)=>{if(null==ee||0===ee.length)return!0;for(let J=0;J<ee.length;J++)if(V.gb.equals(fe,ee[J]))return!0;return!1},between:(fe,ee)=>null==ee||null==ee[0]||null==ee[1]||null!=fe&&(fe.getTime?ee[0].getTime()<=fe.getTime()&&fe.getTime()<=ee[1].getTime():ee[0]<=fe&&fe<=ee[1]),lt:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()<ee.getTime():fe<ee),lte:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()<=ee.getTime():fe<=ee),gt:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()>ee.getTime():fe>ee),gte:(fe,ee,J)=>null==ee||null!=fe&&(fe.getTime&&ee.getTime?fe.getTime()>=ee.getTime():fe>=ee),is:(fe,ee,J)=>this.filters.equals(fe,ee,J),isNot:(fe,ee,J)=>this.filters.notEquals(fe,ee,J),before:(fe,ee,J)=>this.filters.lt(fe,ee,J),after:(fe,ee,J)=>this.filters.gt(fe,ee,J),dateIs:(fe,ee)=>null==ee||null!=fe&&fe.toDateString()===ee.toDateString(),dateIsNot:(fe,ee)=>null==ee||null!=fe&&fe.toDateString()!==ee.toDateString(),dateBefore:(fe,ee)=>null==ee||null!=fe&&fe.getTime()<ee.getTime(),dateAfter:(fe,ee)=>null==ee||null!=fe&&fe.getTime()>ee.getTime()};register(fe,ee){this.filters[fe]=ee}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),U=(()=>{class de{messageSource=new R.x;clearSource=new R.x;messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(fe){fe&&this.messageSource.next(fe)}addAll(fe){fe&&fe.length&&this.messageSource.next(fe)}clear(fe){this.clearSource.next(fe||null)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac})}return de})(),ce=(()=>{class de{clickSource=new R.x;clickObservable=this.clickSource.asObservable();add(fe){fe&&this.clickSource.next(fe)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),G=(()=>{class de{ripple=!1;overlayOptions={};filterMatchModeOptions={text:[j.STARTS_WITH,j.CONTAINS,j.NOT_CONTAINS,j.ENDS_WITH,j.EQUALS,j.NOT_EQUALS],numeric:[j.EQUALS,j.NOT_EQUALS,j.LESS_THAN,j.LESS_THAN_OR_EQUAL_TO,j.GREATER_THAN,j.GREATER_THAN_OR_EQUAL_TO],date:[j.DATE_IS,j.DATE_IS_NOT,j.DATE_BEFORE,j.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",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"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new R.x;translationObserver=this.translationSource.asObservable();getTranslation(fe){return this.translation[fe]}setTranslation(fe){this.translation={...this.translation,...fe},this.translationSource.next(this.translation)}static \u0275fac=function(ee){return new(ee||de)};static \u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),we=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275cmp=o.Xpm({type:de,selectors:[["p-header"]],ngContentSelectors:T,decls:1,vars:0,template:function(ee,J){1&ee&&(o.F$t(),o.Hsn(0))},encapsulation:2})}return de})(),ge=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275cmp=o.Xpm({type:de,selectors:[["p-footer"]],ngContentSelectors:T,decls:1,vars:0,template:function(ee,J){1&ee&&(o.F$t(),o.Hsn(0))},encapsulation:2})}return de})(),Ve=(()=>{class de{template;type;name;constructor(fe){this.template=fe}getType(){return this.name}static \u0275fac=function(ee){return new(ee||de)(o.Y36(o.Rgc))};static \u0275dir=o.lG2({type:de,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}})}return de})(),lt=(()=>{class de{static \u0275fac=function(ee){return new(ee||de)};static \u0275mod=o.oAB({type:de});static \u0275inj=o.cJS({imports:[z.ez]})}return de})(),Ge=(()=>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 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"})()},4713:(ze,me,_)=>{_.d(me,{s:()=>z});var o=_(2029),R=_(2332);const V=["*"];let z=(()=>{class T{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const N=R.gb.isEmpty(this.label);this.role=N?void 0:"img",this.ariaLabel=N?void 0:this.label,this.ariaHidden=N}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(h){return new(h||T)};static \u0275cmp=o.Xpm({type:T,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[o.jDz],ngContentSelectors:V,decls:1,vars:0,template:function(h,j){1&h&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0})}return T})()},707:(ze,me,_)=>{_.d(me,{Hq:()=>ee,hJ:()=>We,zx:()=>J});var o=_(6814),R=_(2029),V=_(5219),z=_(2076),T=_(8717),H=_(4480),N=_(2332);function h(q,Le){1&q&&R.GkF(0)}function j(q,Le){if(1&q&&R._UZ(0,"span",8),2&q){const be=R.oxw(3);R.Tol("p-button-loading-icon"+be.icon),R.Q6J("ngClass",be.iconClass())}}function A(q,Le){if(1&q&&R._UZ(0,"SpinnerIcon",9),2&q){const be=R.oxw(3);R.Q6J("styleClass",be.spinnerIconClass())("spin",!0)}}function B(q,Le){if(1&q&&(R.ynx(0),R.YNc(1,j,1,3,"span",6),R.YNc(2,A,1,2,"SpinnerIcon",7),R.BQk()),2&q){const be=R.oxw(2);R.xp6(1),R.Q6J("ngIf",be.loadingIcon),R.xp6(1),R.Q6J("ngIf",!be.loadingIcon)}}function U(q,Le){}function ce(q,Le){1&q&&R.YNc(0,U,0,0,"ng-template")}function le(q,Le){if(1&q&&(R.TgZ(0,"span",10),R.YNc(1,ce,1,0,null,1),R.qZA()),2&q){const be=R.oxw(2);R.xp6(1),R.Q6J("ngTemplateOutlet",be.loadingIconTemplate)}}function G(q,Le){if(1&q&&(R.ynx(0),R.YNc(1,B,3,2,"ng-container",2),R.YNc(2,le,2,1,"span",5),R.BQk()),2&q){const be=R.oxw();R.xp6(1),R.Q6J("ngIf",!be.loadingIconTemplate),R.xp6(1),R.Q6J("ngIf",be.loadingIconTemplate)}}function we(q,Le){if(1&q&&R._UZ(0,"span",8),2&q){const be=R.oxw(2);R.Tol(be.icon),R.Q6J("ngClass",be.iconClass())}}function ge(q,Le){}function Ve(q,Le){if(1&q&&R.YNc(0,ge,0,0,"ng-template",12),2&q){const be=R.oxw(3);R.Q6J("ngIf",!be.icon)}}function lt(q,Le){if(1&q&&(R.TgZ(0,"span",8),R.YNc(1,Ve,1,1,null,1),R.qZA()),2&q){const be=R.oxw(2);R.Q6J("ngClass",be.iconClass()),R.xp6(1),R.Q6J("ngTemplateOutlet",be.iconTemplate)}}function Ge(q,Le){if(1&q&&(R.ynx(0),R.YNc(1,we,1,3,"span",6),R.YNc(2,lt,2,2,"span",11),R.BQk()),2&q){const be=R.oxw();R.xp6(1),R.Q6J("ngIf",be.icon&&!be.iconTemplate),R.xp6(1),R.Q6J("ngIf",!be.icon&&be.iconTemplate)}}function se(q,Le){if(1&q&&(R.TgZ(0,"span",13),R._uU(1),R.qZA()),2&q){const be=R.oxw();R.uIk("aria-hidden",be.icon&&!be.label),R.xp6(1),R.Oqu(be.label)}}function de(q,Le){if(1&q&&(R.TgZ(0,"span",8),R._uU(1),R.qZA()),2&q){const be=R.oxw();R.Tol(be.badgeClass),R.Q6J("ngClass",be.badgeStyleClass()),R.xp6(1),R.Oqu(be.badge)}}const He=["*"],fe={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 q{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(be){this._label=be,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(be){this._icon=be,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(be){this._loading=be,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(fe);spinnerIcon='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">\n        <g clip-path="url(#clip0_417_21408)">\n            <path\n                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"\n                fill="currentColor"\n            />\n        </g>\n        <defs>\n            <clipPath id="clip0_417_21408">\n                <rect width="14" height="14" fill="white" />\n            </clipPath>\n        </defs>\n    </svg>';constructor(be,ot){this.el=be,this.document=ot}ngAfterViewInit(){z.p.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const be=[fe.button,fe.component];return this.icon&&!this.label&&N.gb.isEmpty(this.htmlElement.textContent)&&be.push(fe.iconOnly),this.loading&&(be.push(fe.disabled,fe.loading),!this.icon&&this.label&&be.push(fe.labelOnly)),be}setStyleClass(){const be=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...be)}createLabel(){if(this.label){let be=this.document.createElement("span");this.icon&&!this.label&&be.setAttribute("aria-hidden","true"),be.className="p-button-label",be.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(be)}}createIcon(){if(this.icon||this.loading){let be=this.document.createElement("span");be.className="p-button-icon",be.setAttribute("aria-hidden","true");let ot=this.label?"p-button-icon-"+this.iconPos:null;ot&&z.p.addClass(be,ot);let ft=this.getIconClass();ft&&z.p.addMultipleClasses(be,ft),!this.loadingIcon&&this.loading&&(be.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(be,this.htmlElement.firstChild)}}updateLabel(){let be=z.p.findSingle(this.htmlElement,".p-button-label");this.label?be?be.textContent=this.label:this.createLabel():be&&this.htmlElement.removeChild(be)}updateIcon(){let be=z.p.findSingle(this.htmlElement,".p-button-icon");this.icon||this.loading?be?be.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon():be&&this.htmlElement.removeChild(be)}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this._icon}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(ot){return new(ot||q)(R.Y36(R.SBq),R.Y36(o.K0))};static \u0275dir=R.lG2({type:q,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return q})(),J=(()=>{class q{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;style;styleClass;badgeClass;ariaLabel;onClick=new R.vpe;onFocus=new R.vpe;onBlur=new R.vpe;contentTemplate;loadingIconTemplate;iconTemplate;templates;spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,be])=>!!be).reduce((be,[ot])=>be+` ${ot}`,"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.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}}ngAfterContentInit(){this.templates?.forEach(be=>{switch(be.getType()){case"content":default:this.contentTemplate=be.template;break;case"icon":this.iconTemplate=be.template;break;case"loadingicon":this.loadingIconTemplate=be.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}static \u0275fac=function(ot){return new(ot||q)};static \u0275cmp=R.Xpm({type:q,selectors:[["p-button"]],contentQueries:function(ot,ft,ke){if(1&ot&&R.Suo(ke,V.jx,4),2&ot){let at;R.iGM(at=R.CRH())&&(ft.templates=at)}},hostAttrs:[1,"p-element"],inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:He,decls:7,vars:12,consts:[["pRipple","",3,"ngStyle","disabled","ngClass","click","focus","blur"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(ot,ft){1&ot&&(R.F$t(),R.TgZ(0,"button",0),R.NdJ("click",function(at){return ft.onClick.emit(at)})("focus",function(at){return ft.onFocus.emit(at)})("blur",function(at){return ft.onBlur.emit(at)}),R.Hsn(1),R.YNc(2,h,1,0,"ng-container",1),R.YNc(3,G,3,2,"ng-container",2),R.YNc(4,Ge,3,2,"ng-container",2),R.YNc(5,se,2,2,"span",3),R.YNc(6,de,2,4,"span",4),R.qZA()),2&ot&&(R.Tol(ft.styleClass),R.Q6J("ngStyle",ft.style)("disabled",ft.disabled||ft.loading)("ngClass",ft.buttonClass()),R.uIk("type",ft.type)("aria-label",ft.ariaLabel),R.xp6(2),R.Q6J("ngTemplateOutlet",ft.contentTemplate),R.xp6(1),R.Q6J("ngIf",ft.loading),R.xp6(1),R.Q6J("ngIf",!ft.loading),R.xp6(1),R.Q6J("ngIf",!ft.contentTemplate&&ft.label),R.xp6(1),R.Q6J("ngIf",!ft.contentTemplate&&ft.badge))},dependencies:function(){return[o.mk,o.O5,o.tP,o.PC,H.H,T.L]},encapsulation:2,changeDetection:0})}return q})(),We=(()=>{class q{static \u0275fac=function(ot){return new(ot||q)};static \u0275mod=R.oAB({type:q});static \u0275inj=R.cJS({imports:[o.ez,H.T,V.m8,T.L,V.m8]})}return q})()},2076:(ze,me,_)=>{_.d(me,{V:()=>R,p:()=>o});let o=(()=>{class V{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(T,H){T&&H&&(T.classList?T.classList.add(H):T.className+=" "+H)}static addMultipleClasses(T,H){if(T&&H)if(T.classList){let N=H.trim().split(" ");for(let h=0;h<N.length;h++)T.classList.add(N[h])}else{let N=H.split(" ");for(let h=0;h<N.length;h++)T.className+=" "+N[h]}}static removeClass(T,H){T&&H&&(T.classList?T.classList.remove(H):T.className=T.className.replace(new RegExp("(^|\\b)"+H.split(" ").join("|")+"(\\b|$)","gi")," "))}static hasClass(T,H){return!(!T||!H)&&(T.classList?T.classList.contains(H):new RegExp("(^| )"+H+"( |$)","gi").test(T.className))}static siblings(T){return Array.prototype.filter.call(T.parentNode.children,function(H){return H!==T})}static find(T,H){return Array.from(T.querySelectorAll(H))}static findSingle(T,H){return T?T.querySelector(H):null}static index(T){let H=T.parentNode.childNodes,N=0;for(var h=0;h<H.length;h++){if(H[h]==T)return N;1==H[h].nodeType&&N++}return-1}static indexWithinGroup(T,H){let N=T.parentNode?T.parentNode.childNodes:[],h=0;for(var j=0;j<N.length;j++){if(N[j]==T)return h;N[j].attributes&&N[j].attributes[H]&&1==N[j].nodeType&&h++}return-1}static appendOverlay(T,H,N="self"){"self"!==N&&T&&H&&this.appendChild(T,H)}static alignOverlay(T,H,N="self",h=!0){T&&H&&(h&&(T.style.minWidth=`${V.getOuterWidth(H)}px`),"self"===N?this.relativePosition(T,H):this.absolutePosition(T,H))}static relativePosition(T,H){const N=Ve=>{if(Ve)return"relative"===getComputedStyle(Ve).getPropertyValue("position")?Ve:N(Ve.parentElement)},h=T.offsetParent?{width:T.offsetWidth,height:T.offsetHeight}:this.getHiddenElementDimensions(T),j=H.offsetHeight,A=H.getBoundingClientRect(),B=this.getWindowScrollTop(),U=this.getWindowScrollLeft(),ce=this.getViewport(),G=N(T)?.getBoundingClientRect()||{top:-1*B,left:-1*U};let we,ge;A.top+j+h.height>ce.height?(we=A.top-G.top-h.height,T.style.transformOrigin="bottom",A.top+we<0&&(we=-1*A.top)):(we=j+A.top-G.top,T.style.transformOrigin="top"),ge=h.width>ce.width?-1*(A.left-G.left):A.left-G.left+h.width>ce.width?-1*(A.left-G.left+h.width-ce.width):A.left-G.left,T.style.top=we+"px",T.style.left=ge+"px"}static absolutePosition(T,H){const N=T.offsetParent?{width:T.offsetWidth,height:T.offsetHeight}:this.getHiddenElementDimensions(T),h=N.height,j=N.width,A=H.offsetHeight,B=H.offsetWidth,U=H.getBoundingClientRect(),ce=this.getWindowScrollTop(),le=this.getWindowScrollLeft(),G=this.getViewport();let we,ge;U.top+A+h>G.height?(we=U.top+ce-h,T.style.transformOrigin="bottom",we<0&&(we=ce)):(we=A+U.top+ce,T.style.transformOrigin="top"),ge=U.left+j>G.width?Math.max(0,U.left+le+B-j):U.left+le,T.style.top=we+"px",T.style.left=ge+"px"}static getParents(T,H=[]){return null===T.parentNode?H:this.getParents(T.parentNode,H.concat([T.parentNode]))}static getScrollableParents(T){let H=[];if(T){let N=this.getParents(T);const h=/(auto|scroll)/,j=A=>{let B=window.getComputedStyle(A,null);return h.test(B.getPropertyValue("overflow"))||h.test(B.getPropertyValue("overflowX"))||h.test(B.getPropertyValue("overflowY"))};for(let A of N){let B=1===A.nodeType&&A.dataset.scrollselectors;if(B){let U=B.split(",");for(let ce of U){let le=this.findSingle(A,ce);le&&j(le)&&H.push(le)}}9!==A.nodeType&&j(A)&&H.push(A)}}return H}static getHiddenElementOuterHeight(T){T.style.visibility="hidden",T.style.display="block";let H=T.offsetHeight;return T.style.display="none",T.style.visibility="visible",H}static getHiddenElementOuterWidth(T){T.style.visibility="hidden",T.style.display="block";let H=T.offsetWidth;return T.style.display="none",T.style.visibility="visible",H}static getHiddenElementDimensions(T){let H={};return T.style.visibility="hidden",T.style.display="block",H.width=T.offsetWidth,H.height=T.offsetHeight,T.style.display="none",T.style.visibility="visible",H}static scrollInView(T,H){let N=getComputedStyle(T).getPropertyValue("borderTopWidth"),h=N?parseFloat(N):0,j=getComputedStyle(T).getPropertyValue("paddingTop"),A=j?parseFloat(j):0,B=T.getBoundingClientRect(),ce=H.getBoundingClientRect().top+document.body.scrollTop-(B.top+document.body.scrollTop)-h-A,le=T.scrollTop,G=T.clientHeight,we=this.getOuterHeight(H);ce<0?T.scrollTop=le+ce:ce+we>G&&(T.scrollTop=le+ce-G+we)}static fadeIn(T,H){T.style.opacity=0;let N=+new Date,h=0,j=function(){h=+T.style.opacity.replace(",",".")+((new Date).getTime()-N)/H,T.style.opacity=h,N=+new Date,+h<1&&(window.requestAnimationFrame&&requestAnimationFrame(j)||setTimeout(j,16))};j()}static fadeOut(T,H){var N=1,A=50/H;let B=setInterval(()=>{(N-=A)<=0&&(N=0,clearInterval(B)),T.style.opacity=N},50)}static getWindowScrollTop(){let T=document.documentElement;return(window.pageYOffset||T.scrollTop)-(T.clientTop||0)}static getWindowScrollLeft(){let T=document.documentElement;return(window.pageXOffset||T.scrollLeft)-(T.clientLeft||0)}static matches(T,H){var N=Element.prototype;return(N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.msMatchesSelector||function(j){return-1!==[].indexOf.call(document.querySelectorAll(j),this)}).call(T,H)}static getOuterWidth(T,H){let N=T.offsetWidth;if(H){let h=getComputedStyle(T);N+=parseFloat(h.marginLeft)+parseFloat(h.marginRight)}return N}static getHorizontalPadding(T){let H=getComputedStyle(T);return parseFloat(H.paddingLeft)+parseFloat(H.paddingRight)}static getHorizontalMargin(T){let H=getComputedStyle(T);return parseFloat(H.marginLeft)+parseFloat(H.marginRight)}static innerWidth(T){let H=T.offsetWidth,N=getComputedStyle(T);return H+=parseFloat(N.paddingLeft)+parseFloat(N.paddingRight),H}static width(T){let H=T.offsetWidth,N=getComputedStyle(T);return H-=parseFloat(N.paddingLeft)+parseFloat(N.paddingRight),H}static getInnerHeight(T){let H=T.offsetHeight,N=getComputedStyle(T);return H+=parseFloat(N.paddingTop)+parseFloat(N.paddingBottom),H}static getOuterHeight(T,H){let N=T.offsetHeight;if(H){let h=getComputedStyle(T);N+=parseFloat(h.marginTop)+parseFloat(h.marginBottom)}return N}static getHeight(T){let H=T.offsetHeight,N=getComputedStyle(T);return H-=parseFloat(N.paddingTop)+parseFloat(N.paddingBottom)+parseFloat(N.borderTopWidth)+parseFloat(N.borderBottomWidth),H}static getWidth(T){let H=T.offsetWidth,N=getComputedStyle(T);return H-=parseFloat(N.paddingLeft)+parseFloat(N.paddingRight)+parseFloat(N.borderLeftWidth)+parseFloat(N.borderRightWidth),H}static getViewport(){let T=window,H=document,N=H.documentElement,h=H.getElementsByTagName("body")[0];return{width:T.innerWidth||N.clientWidth||h.clientWidth,height:T.innerHeight||N.clientHeight||h.clientHeight}}static getOffset(T){var H=T.getBoundingClientRect();return{top:H.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:H.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(T,H){let N=T.parentNode;if(!N)throw"Can't replace element";return N.replaceChild(H,T)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var T=window.navigator.userAgent;return T.indexOf("MSIE ")>0||(T.indexOf("Trident/")>0?(T.indexOf("rv:"),!0):T.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(T,H){if(this.isElement(H))H.appendChild(T);else{if(!(H&&H.el&&H.el.nativeElement))throw"Cannot append "+H+" to "+T;H.el.nativeElement.appendChild(T)}}static removeChild(T,H){if(this.isElement(H))H.removeChild(T);else{if(!H.el||!H.el.nativeElement)throw"Cannot remove "+T+" from "+H;H.el.nativeElement.removeChild(T)}}static removeElement(T){"remove"in Element.prototype?T.remove():T.parentNode.removeChild(T)}static isElement(T){return"object"==typeof HTMLElement?T instanceof HTMLElement:T&&"object"==typeof T&&null!==T&&1===T.nodeType&&"string"==typeof T.nodeName}static calculateScrollbarWidth(T){if(T){let H=getComputedStyle(T);return T.offsetWidth-T.clientWidth-parseFloat(H.borderLeftWidth)-parseFloat(H.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let H=document.createElement("div");H.className="p-scrollbar-measure",document.body.appendChild(H);let N=H.offsetWidth-H.clientWidth;return document.body.removeChild(H),this.calculatedScrollbarWidth=N,N}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let T=document.createElement("div");T.className="p-scrollbar-measure",document.body.appendChild(T);let H=T.offsetHeight-T.clientHeight;return document.body.removeChild(T),this.calculatedScrollbarWidth=H,H}static invokeElementMethod(T,H,N){T[H].apply(T,N)}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 T=this.resolveUserAgent();this.browser={},T.browser&&(this.browser[T.browser]=!0,this.browser.version=T.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let T=navigator.userAgent.toLowerCase(),H=/(chrome)[ \/]([\w.]+)/.exec(T)||/(webkit)[ \/]([\w.]+)/.exec(T)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(T)||/(msie) ([\w.]+)/.exec(T)||T.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(T)||[];return{browser:H[1]||"",version:H[2]||"0"}}static isInteger(T){return Number.isInteger?Number.isInteger(T):"number"==typeof T&&isFinite(T)&&Math.floor(T)===T}static isHidden(T){return!T||null===T.offsetParent}static isVisible(T){return T&&null!=T.offsetParent}static isExist(T){return null!==T&&typeof T<"u"&&T.nodeName&&T.parentNode}static focus(T,H){T&&document.activeElement!==T&&T.focus(H)}static getFocusableElements(T){let H=V.find(T,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [href]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),N=[];for(let h of H)(h.offsetWidth||h.offsetHeight||h.getClientRects().length)&&N.push(h);return N}static getNextFocusableElement(T,H=!1){const N=V.getFocusableElements(T);let h=0;if(N&&N.length>0){const j=N.indexOf(N[0].ownerDocument.activeElement);H?h=-1==j||0===j?N.length-1:j-1:-1!=j&&j!==N.length-1&&(h=j+1)}return N[h]}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(T,H){if(!T)return null;switch(T){case"document":return document;case"window":return window;case"@next":return H?.nextElementSibling;case"@prev":return H?.previousElementSibling;case"@parent":return H?.parentElement;case"@grandparent":return H?.parentElement.parentElement;default:const N=typeof T;if("string"===N)return document.querySelector(T);if("object"===N&&T.hasOwnProperty("nativeElement"))return this.isExist(T.nativeElement)?T.nativeElement:void 0;const j=(A=T)&&A.constructor&&A.call&&A.apply?T():T;return j&&9===j.nodeType||this.isExist(j)?j:null}var A}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}}return V})();class R{element;listener;scrollableParents;constructor(z,T=(()=>{})){this.element=z,this.listener=T}bindScrollListener(){this.scrollableParents=o.getScrollableParents(this.element);for(let z=0;z<this.scrollableParents.length;z++)this.scrollableParents[z].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let z=0;z<this.scrollableParents.length;z++)this.scrollableParents[z].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},8717:(ze,me,_)=>{_.d(me,{L:()=>z});var o=_(2029),R=_(4713),V=_(2332);let z=(()=>{class T extends R.s{pathId;ngOnInit(){this.pathId="url(#"+(0,V.Th)()+")"}static \u0275fac=function(){let N;return function(j){return(N||(N=o.n5z(T)))(j||T)}}();static \u0275cmp=o.Xpm({type:T,selectors:[["SpinnerIcon"]],standalone:!0,features:[o.qOj,o.jDz],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,j){1&h&&(o.O4$(),o.TgZ(0,"svg",0)(1,"g"),o._UZ(2,"path",1),o.qZA(),o.TgZ(3,"defs")(4,"clipPath",2),o._UZ(5,"rect",3),o.qZA()()()),2&h&&(o.Tol(j.getClassNames()),o.uIk("aria-label",j.ariaLabel)("aria-hidden",j.ariaHidden)("role",j.role),o.xp6(1),o.uIk("clip-path",j.pathId),o.xp6(3),o.Q6J("id",j.pathId))},encapsulation:2})}return T})()},7778:(ze,me,_)=>{_.d(me,{q:()=>V});var o=_(2029),R=_(4713);let V=(()=>{class z extends R.s{static \u0275fac=function(){let H;return function(h){return(H||(H=o.n5z(z)))(h||z)}}();static \u0275cmp=o.Xpm({type:z,selectors:[["TimesIcon"]],standalone:!0,features:[o.qOj,o.jDz],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(N,h){1&N&&(o.O4$(),o.TgZ(0,"svg",0),o._UZ(1,"path",1),o.qZA()),2&N&&(o.Tol(h.getClassNames()),o.uIk("aria-label",h.ariaLabel)("aria-hidden",h.ariaHidden)("role",h.role))},encapsulation:2})}return z})()},5609:(ze,me,_)=>{_.d(me,{Iu:()=>N,Ql:()=>H});var o=_(2029),R=_(6814),V=_(6223);const z=function(h,j,A){return{"p-inputswitch p-component":!0,"p-inputswitch-checked":h,"p-disabled":j,"p-focus":A}},T={provide:V.JU,useExisting:(0,o.Gpc)(()=>H),multi:!0};let H=(()=>{class h{cd;style;styleClass;tabindex;inputId;name;disabled;readonly;trueValue=!0;falseValue=!1;ariaLabel;ariaLabelledBy;onChange=new o.vpe;modelValue=!1;focused=!1;onModelChange=()=>{};onModelTouched=()=>{};constructor(A){this.cd=A}onClick(A,B){!this.disabled&&!this.readonly&&(A.preventDefault(),this.toggle(A),B.focus())}onInputChange(A){this.readonly||this.updateModel(A,A.target.checked)}toggle(A){this.updateModel(A,!this.checked())}updateModel(A,B){this.modelValue=B?this.trueValue:this.falseValue,this.onModelChange(this.modelValue),this.onChange.emit({originalEvent:A,checked:this.modelValue})}onFocus(A){this.focused=!0}onBlur(A){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(B){return new(B||h)(o.Y36(o.sBO))};static \u0275cmp=o.Xpm({type:h,selectors:[["p-inputSwitch"]],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:[o._Bn([T])],decls:5,vars:16,consts:[[3,"ngClass","ngStyle","click"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"checked","disabled","change","focus","blur"],["cb",""],[1,"p-inputswitch-slider"]],template:function(B,U){if(1&B){const ce=o.EpF();o.TgZ(0,"div",0),o.NdJ("click",function(G){o.CHM(ce);const we=o.MAs(3);return o.KtG(U.onClick(G,we))}),o.TgZ(1,"div",1)(2,"input",2,3),o.NdJ("change",function(G){return U.onInputChange(G)})("focus",function(G){return U.onFocus(G)})("blur",function(G){return U.onBlur(G)}),o.qZA()(),o._UZ(4,"span",4),o.qZA()}2&B&&(o.Tol(U.styleClass),o.Q6J("ngClass",o.kEZ(12,z,U.checked(),U.disabled,U.focused))("ngStyle",U.style),o.xp6(2),o.Q6J("checked",U.checked())("disabled",U.disabled),o.uIk("aria-label",U.ariaLabel)("id",U.inputId)("name",U.name)("tabindex",U.tabindex)("aria-checked",U.checked())("aria-labelledby",U.ariaLabelledBy))},dependencies:[R.mk,R.PC],styles:['.p-inputswitch{position:relative;display:inline-block;-webkit-user-select:none;user-select:none}.p-inputswitch-slider{position:absolute;cursor:pointer;inset:0}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}\n'],encapsulation:2,changeDetection:0})}return h})(),N=(()=>{class h{static \u0275fac=function(B){return new(B||h)};static \u0275mod=o.oAB({type:h});static \u0275inj=o.cJS({imports:[R.ez]})}return h})()},3714:(ze,me,_)=>{_.d(me,{j:()=>T,o:()=>z});var o=_(2029),R=_(6814),V=_(6223);let z=(()=>{class H{el;ngModel;cd;filled;constructor(h,j,A){this.el=h,this.ngModel=j,this.cd=A}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(j){return new(j||H)(o.Y36(o.SBq),o.Y36(V.On,8),o.Y36(o.sBO))};static \u0275dir=o.lG2({type:H,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(j,A){1&j&&o.NdJ("input",function(U){return A.onInput(U)}),2&j&&o.ekj("p-filled",A.filled)}})}return H})(),T=(()=>{class H{static \u0275fac=function(j){return new(j||H)};static \u0275mod=o.oAB({type:H});static \u0275inj=o.cJS({imports:[R.ez]})}return H})()},1865:(ze,me,_)=>{_.d(me,{EU:()=>B,cc:()=>U});var o=_(2029),R=_(6814),V=_(6223);const z=["rb"],T=function(ce,le,G){return{"p-radiobutton-label":!0,"p-radiobutton-label-active":ce,"p-disabled":le,"p-radiobutton-label-focus":G}};function H(ce,le){if(1&ce){const G=o.EpF();o.TgZ(0,"label",4),o.NdJ("click",function(ge){o.CHM(G);const Ve=o.oxw();return o.KtG(Ve.select(ge))}),o._uU(1),o.qZA()}if(2&ce){const G=o.oxw(),we=o.MAs(3);o.Tol(G.labelStyleClass),o.Q6J("ngClass",o.kEZ(5,T,we.checked,G.disabled,G.focused)),o.uIk("for",G.inputId),o.xp6(1),o.Oqu(G.label)}}const N=function(ce,le,G){return{"p-radiobutton p-component":!0,"p-radiobutton-checked":ce,"p-radiobutton-disabled":le,"p-radiobutton-focused":G}},h=function(ce,le,G){return{"p-radiobutton-box":!0,"p-highlight":ce,"p-disabled":le,"p-focus":G}},j={provide:V.JU,useExisting:(0,o.Gpc)(()=>B),multi:!0};let A=(()=>{class ce{accessors=[];add(G,we){this.accessors.push([G,we])}remove(G){this.accessors=this.accessors.filter(we=>we[1]!==G)}select(G){this.accessors.forEach(we=>{this.isSameGroup(we,G)&&we[1]!==G&&we[1].writeValue(G.value)})}isSameGroup(G,we){return!!G[0].control&&G[0].control.root===we.control.control.root&&G[1].name===we.name}static \u0275fac=function(we){return new(we||ce)};static \u0275prov=o.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),B=(()=>{class ce{cd;injector;registry;value;formControlName;name;disabled;label;tabindex;inputId;ariaLabelledBy;ariaLabel;style;styleClass;labelStyleClass;onClick=new o.vpe;onFocus=new o.vpe;onBlur=new o.vpe;inputViewChild;onModelChange=()=>{};onModelTouched=()=>{};checked;focused;control;constructor(G,we,ge){this.cd=G,this.injector=we,this.registry=ge}ngOnInit(){this.control=this.injector.get(V.a5),this.checkName(),this.registry.add(this.control,this)}handleClick(G,we,ge){G.preventDefault(),!this.disabled&&(this.select(G),ge&&we.focus())}select(G){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:G,value:this.value}))}writeValue(G){this.checked=G==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(G){this.onModelChange=G}registerOnTouched(G){this.onModelTouched=G}setDisabledState(G){this.disabled=G,this.cd.markForCheck()}onInputFocus(G){this.focused=!0,this.onFocus.emit(G)}onInputBlur(G){this.focused=!1,this.onModelTouched(),this.onBlur.emit(G)}onChange(G){this.select(G)}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: <p-radioButton formControlName="food" name="food"></p-radioButton>\n        ')}static \u0275fac=function(we){return new(we||ce)(o.Y36(o.sBO),o.Y36(o.zs3),o.Y36(A))};static \u0275cmp=o.Xpm({type:ce,selectors:[["p-radioButton"]],viewQuery:function(we,ge){if(1&we&&o.Gf(z,5),2&we){let Ve;o.iGM(Ve=o.CRH())&&(ge.inputViewChild=Ve.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:[o._Bn([j])],decls:7,vars:23,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"checked","disabled","change","focus","blur"],["rb",""],[3,"ngClass","click"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"]],template:function(we,ge){if(1&we){const Ve=o.EpF();o.TgZ(0,"div",0)(1,"div",1)(2,"input",2,3),o.NdJ("change",function(Ge){return ge.onChange(Ge)})("focus",function(Ge){return ge.onInputFocus(Ge)})("blur",function(Ge){return ge.onInputBlur(Ge)}),o.qZA()(),o.TgZ(4,"div",4),o.NdJ("click",function(Ge){o.CHM(Ve);const se=o.MAs(3);return o.KtG(ge.handleClick(Ge,se,!0))}),o._UZ(5,"span",5),o.qZA()(),o.YNc(6,H,2,9,"label",6)}2&we&&(o.Tol(ge.styleClass),o.Q6J("ngStyle",ge.style)("ngClass",o.kEZ(15,N,ge.checked,ge.disabled,ge.focused)),o.xp6(2),o.Q6J("checked",ge.checked)("disabled",ge.disabled),o.uIk("id",ge.inputId)("name",ge.name)("value",ge.value)("tabindex",ge.tabindex)("aria-checked",ge.checked)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledBy),o.xp6(2),o.Q6J("ngClass",o.kEZ(19,h,ge.checked,ge.disabled,ge.focused)),o.xp6(2),o.Q6J("ngIf",ge.label))},dependencies:[R.mk,R.O5,R.PC],encapsulation:2,changeDetection:0})}return ce})(),U=(()=>{class ce{static \u0275fac=function(we){return new(we||ce)};static \u0275mod=o.oAB({type:ce});static \u0275inj=o.cJS({imports:[R.ez]})}return ce})()},4480:(ze,me,_)=>{_.d(me,{H:()=>T,T:()=>H});var o=_(6814),R=_(2029),V=_(2076),z=_(5219);let T=(()=>{class N{document;platformId;renderer;el;zone;config;constructor(j,A,B,U,ce,le){this.document=j,this.platformId=A,this.renderer=B,this.el=U,this.zone=ce,this.config=le}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,o.NF)(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(j){let A=this.getInk();if(!A||"none"===this.document.defaultView?.getComputedStyle(A,null).display)return;if(V.p.removeClass(A,"p-ink-active"),!V.p.getHeight(A)&&!V.p.getWidth(A)){let le=Math.max(V.p.getOuterWidth(this.el.nativeElement),V.p.getOuterHeight(this.el.nativeElement));A.style.height=le+"px",A.style.width=le+"px"}let B=V.p.getOffset(this.el.nativeElement),U=j.pageX-B.left+this.document.body.scrollTop-V.p.getWidth(A)/2,ce=j.pageY-B.top+this.document.body.scrollLeft-V.p.getHeight(A)/2;this.renderer.setStyle(A,"top",ce+"px"),this.renderer.setStyle(A,"left",U+"px"),V.p.addClass(A,"p-ink-active"),this.timeout=setTimeout(()=>{let le=this.getInk();le&&V.p.removeClass(le,"p-ink-active")},401)}getInk(){const j=this.el.nativeElement.children;for(let A=0;A<j.length;A++)if("string"==typeof j[A].className&&-1!==j[A].className.indexOf("p-ink"))return j[A];return null}resetInk(){let j=this.getInk();j&&V.p.removeClass(j,"p-ink-active")}onAnimationEnd(j){this.timeout&&clearTimeout(this.timeout),V.p.removeClass(j.currentTarget,"p-ink-active")}create(){let j=this.renderer.createElement("span");this.renderer.addClass(j,"p-ink"),this.renderer.appendChild(this.el.nativeElement,j),this.animationListener||(this.animationListener=this.renderer.listen(j,"animationend",this.onAnimationEnd.bind(this)))}remove(){let j=this.getInk();j&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,V.p.removeElement(j))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(A){return new(A||N)(R.Y36(o.K0),R.Y36(R.Lbi),R.Y36(R.Qsj),R.Y36(R.SBq),R.Y36(R.R0b),R.Y36(z.b4,8))};static \u0275dir=R.lG2({type:N,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]})}return N})(),H=(()=>{class N{static \u0275fac=function(A){return new(A||N)};static \u0275mod=R.oAB({type:N});static \u0275inj=R.cJS({imports:[o.ez]})}return N})()},9246:(ze,me,_)=>{_.d(me,{Y:()=>fe,l:()=>ee});var o=_(6825),R=_(6814),V=_(2029),z=_(5219),T=_(2076),H=_(7778),N=_(4480),h=_(2332);function j(J,We){1&J&&V.GkF(0)}function A(J,We){1&J&&V._UZ(0,"TimesIcon",11),2&J&&V.Q6J("styleClass","p-sidebar-close-icon")}function B(J,We){}function U(J,We){1&J&&V.YNc(0,B,0,0,"ng-template")}function ce(J,We){if(1&J&&(V.TgZ(0,"span",12),V.YNc(1,U,1,0,null,4),V.qZA()),2&J){const q=V.oxw(3);V.xp6(1),V.Q6J("ngTemplateOutlet",q.closeIconTemplate)}}function le(J,We){if(1&J){const q=V.EpF();V.TgZ(0,"button",8),V.NdJ("click",function(be){V.CHM(q);const ot=V.oxw(2);return V.KtG(ot.close(be))})("keydown.enter",function(be){V.CHM(q);const ot=V.oxw(2);return V.KtG(ot.close(be))}),V.YNc(1,A,1,1,"TimesIcon",9),V.YNc(2,ce,2,1,"span",10),V.qZA()}if(2&J){const q=V.oxw(2);V.uIk("aria-label",q.ariaCloseLabel),V.xp6(1),V.Q6J("ngIf",!q.closeIconTemplate),V.xp6(1),V.Q6J("ngIf",q.closeIconTemplate)}}function G(J,We){1&J&&V.GkF(0)}function we(J,We){1&J&&V.GkF(0)}const ge=function(J,We,q,Le,be,ot){return{"p-sidebar":!0,"p-sidebar-active":J,"p-sidebar-left":We,"p-sidebar-right":q,"p-sidebar-top":Le,"p-sidebar-bottom":be,"p-sidebar-full":ot}},Ve=function(J,We){return{transform:J,transition:We}},lt=function(J){return{value:"visible",params:J}};function Ge(J,We){if(1&J){const q=V.EpF();V.TgZ(0,"div",1,2),V.NdJ("@panelState.start",function(be){V.CHM(q);const ot=V.oxw();return V.KtG(ot.onAnimationStart(be))})("@panelState.done",function(be){V.CHM(q);const ot=V.oxw();return V.KtG(ot.onAnimationEnd(be))}),V.TgZ(2,"div",3),V.YNc(3,j,1,0,"ng-container",4),V.YNc(4,le,3,3,"button",5),V.qZA(),V.TgZ(5,"div",6),V.Hsn(6),V.YNc(7,G,1,0,"ng-container",4),V.qZA(),V.TgZ(8,"div",7),V.YNc(9,we,1,0,"ng-container",4),V.qZA()()}if(2&J){const q=V.oxw();V.Tol(q.styleClass),V.Q6J("ngClass",V.HTZ(10,ge,q.visible,"left"===q.position&&!q.fullScreen,"right"===q.position&&!q.fullScreen,"top"===q.position&&!q.fullScreen,"bottom"===q.position&&!q.fullScreen,q.fullScreen))("@panelState",V.VKq(20,lt,V.WLB(17,Ve,q.transformOptions,q.transitionOptions)))("ngStyle",q.style),V.uIk("aria-modal",q.modal),V.xp6(3),V.Q6J("ngTemplateOutlet",q.headerTemplate),V.xp6(1),V.Q6J("ngIf",q.showCloseIcon),V.xp6(3),V.Q6J("ngTemplateOutlet",q.contentTemplate),V.xp6(2),V.Q6J("ngTemplateOutlet",q.footerTemplate)}}const se=["*"],de=(0,o.oQ)([(0,o.oB)({transform:"{{transform}}",opacity:0}),(0,o.jt)("{{transition}}")]),He=(0,o.oQ)([(0,o.jt)("{{transition}}",(0,o.oB)({transform:"{{transform}}",opacity:0}))]);let fe=(()=>{class J{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(q){this._visible=q}get position(){return this._position}set position(q){switch(this._position=q,q){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(q){this._fullScreen=q,q&&(this.transformOptions="none")}templates;onShow=new V.vpe;onHide=new V.vpe;visibleChange=new V.vpe;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;constructor(q,Le,be,ot,ft){this.document=q,this.el=Le,this.renderer=be,this.cd=ot,this.config=ft}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(q=>{switch(q.getType()){case"content":default:this.contentTemplate=q.template;break;case"header":this.headerTemplate=q.template;break;case"footer":this.footerTemplate=q.template;break;case"closeicon":this.closeIconTemplate=q.template}})}show(){this.autoZIndex&&h.P9.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(q=!0){q&&this.onHide.emit({}),this.modal&&this.disableModality()}close(q){this.hide(),this.visibleChange.emit(!1),q.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),T.p.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",q=>{this.dismissible&&this.close(q)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&T.p.addClass(document.body,"p-overflow-hidden"))}disableModality(){this.mask&&(T.p.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&&T.p.removeClass(document.body,"p-overflow-hidden"),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(q){"visible"===q.toState&&(this.container=q.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(q){"void"===q.toState&&(this.hide(!1),h.P9.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):T.p.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",Le=>{27==Le.which&&parseInt(this.container.style.zIndex)===h.P9.get(this.container)&&this.close(Le)})}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&&h.P9.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(Le){return new(Le||J)(V.Y36(R.K0),V.Y36(V.SBq),V.Y36(V.Qsj),V.Y36(V.sBO),V.Y36(z.b4))};static \u0275cmp=V.Xpm({type:J,selectors:[["p-sidebar"]],contentQueries:function(Le,be,ot){if(1&Le&&V.Suo(ot,z.jx,4),2&Le){let ft;V.iGM(ft=V.CRH())&&(be.templates=ft)}},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:se,decls:1,vars:1,consts:[["role","complementary",3,"ngClass","ngStyle","class",4,"ngIf"],["role","complementary",3,"ngClass","ngStyle"],["container",""],[1,"p-sidebar-header"],[4,"ngTemplateOutlet"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[1,"p-sidebar-footer"],["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"]],template:function(Le,be){1&Le&&(V.F$t(),V.YNc(0,Ge,10,22,"div",0)),2&Le&&V.Q6J("ngIf",be.visible)},dependencies:function(){return[R.mk,R.O5,R.tP,R.PC,N.H,H.q]},styles:[".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,o.X$)("panelState",[(0,o.eR)("void => visible",[(0,o._7)(de)]),(0,o.eR)("visible => void",[(0,o._7)(He)])])]},changeDetection:0})}return J})(),ee=(()=>{class J{static \u0275fac=function(Le){return new(Le||J)};static \u0275mod=V.oAB({type:J});static \u0275inj=V.cJS({imports:[R.ez,N.T,z.m8,H.q,z.m8]})}return J})()},6263:(ze,me,_)=>{_.d(me,{V:()=>A,W:()=>B});var o=_(6814),R=_(2029),V=_(5219);function z(U,ce){if(1&U&&R._UZ(0,"span",5),2&U){const le=R.oxw(2);R.Q6J("ngClass",le.icon)}}function T(U,ce){if(1&U&&(R.ynx(0),R.YNc(1,z,1,1,"span",4),R.BQk()),2&U){const le=R.oxw();R.xp6(1),R.Q6J("ngIf",le.icon)}}function H(U,ce){}function N(U,ce){1&U&&R.YNc(0,H,0,0,"ng-template")}function h(U,ce){if(1&U&&(R.TgZ(0,"span",6),R.YNc(1,N,1,0,null,7),R.qZA()),2&U){const le=R.oxw();R.xp6(1),R.Q6J("ngTemplateOutlet",le.iconTemplate)}}const j=["*"];let A=(()=>{class U{style;styleClass;severity;value;icon;rounded;templates;iconTemplate;ngAfterContentInit(){this.templates?.forEach(le=>{"icon"===le.getType()&&(this.iconTemplate=le.template)})}containerClass(){return{"p-tag p-component":!0,"p-tag-info":"info"===this.severity,"p-tag-success":"success"===this.severity,"p-tag-warning":"warning"===this.severity,"p-tag-danger":"danger"===this.severity,"p-tag-rounded":this.rounded}}static \u0275fac=function(G){return new(G||U)};static \u0275cmp=R.Xpm({type:U,selectors:[["p-tag"]],contentQueries:function(G,we,ge){if(1&G&&R.Suo(ge,V.jx,4),2&G){let Ve;R.iGM(Ve=R.CRH())&&(we.templates=Ve)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",severity:"severity",value:"value",icon:"icon",rounded:"rounded"},ngContentSelectors:j,decls:6,vars:7,consts:[[3,"ngClass","ngStyle"],[4,"ngIf"],["class","p-tag-icon",4,"ngIf"],[1,"p-tag-value"],["class","p-tag-icon",3,"ngClass",4,"ngIf"],[1,"p-tag-icon",3,"ngClass"],[1,"p-tag-icon"],[4,"ngTemplateOutlet"]],template:function(G,we){1&G&&(R.F$t(),R.TgZ(0,"span",0),R.Hsn(1),R.YNc(2,T,2,1,"ng-container",1),R.YNc(3,h,2,1,"span",2),R.TgZ(4,"span",3),R._uU(5),R.qZA()()),2&G&&(R.Tol(we.styleClass),R.Q6J("ngClass",we.containerClass())("ngStyle",we.style),R.xp6(2),R.Q6J("ngIf",!we.iconTemplate),R.xp6(1),R.Q6J("ngIf",we.iconTemplate),R.xp6(2),R.Oqu(we.value))},dependencies:[o.mk,o.O5,o.tP,o.PC],styles:[".p-tag{display:inline-flex;align-items:center;justify-content:center}.p-tag-icon,.p-tag-value,.p-tag-icon.pi{line-height:1.5}.p-tag.p-tag-rounded{border-radius:10rem}\n"],encapsulation:2,changeDetection:0})}return U})(),B=(()=>{class U{static \u0275fac=function(G){return new(G||U)};static \u0275mod=R.oAB({type:U});static \u0275inj=R.cJS({imports:[o.ez,V.m8,V.m8]})}return U})()},3259:(ze,me,_)=>{_.d(me,{u:()=>H,z:()=>N});var o=_(6814),R=_(2029),V=_(2076),z=_(2332),T=_(5219);let H=(()=>{class h{platformId;el;zone;config;renderer;changeDetector;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;text;get disabled(){return this._disabled}set disabled(A){this._disabled=A,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};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(A,B,U,ce,le,G){this.platformId=A,this.el=B,this.zone=U,this.config=ce,this.renderer=le,this.changeDetector=G}ngAfterViewInit(){(0,o.NF)(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 A=this.getTarget(this.el.nativeElement);A.addEventListener("focus",this.focusListener),A.addEventListener("blur",this.blurListener)}})}ngOnChanges(A){A.tooltipPosition&&this.setOption({tooltipPosition:A.tooltipPosition.currentValue}),A.tooltipEvent&&this.setOption({tooltipEvent:A.tooltipEvent.currentValue}),A.appendTo&&this.setOption({appendTo:A.appendTo.currentValue}),A.positionStyle&&this.setOption({positionStyle:A.positionStyle.currentValue}),A.tooltipStyleClass&&this.setOption({tooltipStyleClass:A.tooltipStyleClass.currentValue}),A.tooltipZIndex&&this.setOption({tooltipZIndex:A.tooltipZIndex.currentValue}),A.escape&&this.setOption({escape:A.escape.currentValue}),A.showDelay&&this.setOption({showDelay:A.showDelay.currentValue}),A.hideDelay&&this.setOption({hideDelay:A.hideDelay.currentValue}),A.life&&this.setOption({life:A.life.currentValue}),A.positionTop&&this.setOption({positionTop:A.positionTop.currentValue}),A.positionLeft&&this.setOption({positionLeft:A.positionLeft.currentValue}),A.disabled&&this.setOption({disabled:A.disabled.currentValue}),A.text&&(this.setOption({tooltipLabel:A.text.currentValue}),this.active&&(A.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),A.autoHide&&this.setOption({autoHide:A.autoHide.currentValue}),A.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...A.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(A){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(A){(this.isAutoHide()||!(V.p.hasClass(A.target,"p-tooltip")||V.p.hasClass(A.target,"p-tooltip-arrow")||V.p.hasClass(A.target,"p-tooltip-text")||V.p.hasClass(A.relatedTarget,"p-tooltip")))&&this.deactivate()}onFocus(A){this.activate()}onBlur(A){this.deactivate()}onInputClick(A){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 A=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},A)}}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");let A=document.createElement("div");A.className="p-tooltip-arrow",this.container.appendChild(A),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")?V.p.appendChild(this.container,this.el.nativeElement):V.p.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()||this.bindContainerMouseleaveListener()}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",B=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),V.p.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?z.P9.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&z.P9.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}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 A=this.el.nativeElement.getBoundingClientRect();return{left:A.left+V.p.getWindowScrollLeft(),top:A.top+V.p.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let A=this.getHostOffset(),B=A.left+V.p.getOuterWidth(this.el.nativeElement),U=A.top+(V.p.getOuterHeight(this.el.nativeElement)-V.p.getOuterHeight(this.container))/2;this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let A=this.getHostOffset(),B=A.left-V.p.getOuterWidth(this.container),U=A.top+(V.p.getOuterHeight(this.el.nativeElement)-V.p.getOuterHeight(this.container))/2;this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let A=this.getHostOffset(),B=A.left+(V.p.getOuterWidth(this.el.nativeElement)-V.p.getOuterWidth(this.container))/2,U=A.top-V.p.getOuterHeight(this.container);this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let A=this.getHostOffset(),B=A.left+(V.p.getOuterWidth(this.el.nativeElement)-V.p.getOuterWidth(this.container))/2,U=A.top+V.p.getOuterHeight(this.el.nativeElement);this.container.style.left=B+this.getOption("positionLeft")+"px",this.container.style.top=U+this.getOption("positionTop")+"px"}setOption(A){this._tooltipOptions={...this._tooltipOptions,...A}}getOption(A){return this._tooltipOptions[A]}getTarget(A){return V.p.hasClass(A,"p-inputwrapper")?V.p.findSingle(A,"input"):A}preAlign(A){this.container.style.left="-999px",this.container.style.top="-999px";let B="p-tooltip p-component p-tooltip-"+A;this.container.className=this.getOption("tooltipStyleClass")?B+" "+this.getOption("tooltipStyleClass"):B}isOutOfBounds(){let A=this.container.getBoundingClientRect(),B=A.top,U=A.left,ce=V.p.getOuterWidth(this.container),le=V.p.getOuterHeight(this.container),G=V.p.getViewport();return U+ce>G.width||U<0||B<0||B+le>G.height}onWindowResize(A){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 V.V(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 A=this.getTarget(this.el.nativeElement);A.removeEventListener("focus",this.focusListener),A.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):V.p.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&&z.P9.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(B){return new(B||h)(R.Y36(R.Lbi),R.Y36(R.SBq),R.Y36(R.R0b),R.Y36(T.b4),R.Y36(R.Qsj),R.Y36(R.sBO))};static \u0275dir=R.lG2({type:h,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(B,U){1&B&&R.NdJ("keydown.escape",function(le){return U.onPressEscape(le)},!1,R.evT)},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",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[R.TTD]})}return h})(),N=(()=>{class h{static \u0275fac=function(B){return new(B||h)};static \u0275mod=R.oAB({type:h});static \u0275inj=R.cJS({imports:[o.ez]})}return h})()},2332:(ze,me,_)=>{_.d(me,{P9:()=>T,Th:()=>V,gb:()=>o});class o{static equals(N,h,j){return j?this.resolveFieldData(N,j)===this.resolveFieldData(h,j):this.equalsByValue(N,h)}static equalsByValue(N,h){if(N===h)return!0;if(N&&h&&"object"==typeof N&&"object"==typeof h){var B,U,ce,j=Array.isArray(N),A=Array.isArray(h);if(j&&A){if((U=N.length)!=h.length)return!1;for(B=U;0!=B--;)if(!this.equalsByValue(N[B],h[B]))return!1;return!0}if(j!=A)return!1;var le=this.isDate(N),G=this.isDate(h);if(le!=G)return!1;if(le&&G)return N.getTime()==h.getTime();var we=N instanceof RegExp,ge=h instanceof RegExp;if(we!=ge)return!1;if(we&&ge)return N.toString()==h.toString();var Ve=Object.keys(N);if((U=Ve.length)!==Object.keys(h).length)return!1;for(B=U;0!=B--;)if(!Object.prototype.hasOwnProperty.call(h,Ve[B]))return!1;for(B=U;0!=B--;)if(!this.equalsByValue(N[ce=Ve[B]],h[ce]))return!1;return!0}return N!=N&&h!=h}static resolveFieldData(N,h){if(N&&h){if(this.isFunction(h))return h(N);if(-1==h.indexOf("."))return N[h];{let j=h.split("."),A=N;for(let B=0,U=j.length;B<U;++B){if(null==A)return null;A=A[j[B]]}return A}}return null}static isFunction(N){return!!(N&&N.constructor&&N.call&&N.apply)}static reorderArray(N,h,j){N&&h!==j&&(j>=N.length&&(j%=N.length,h%=N.length),N.splice(j,0,N.splice(h,1)[0]))}static insertIntoOrderedArray(N,h,j,A){if(j.length>0){let B=!1;for(let U=0;U<j.length;U++)if(this.findIndexInList(j[U],A)>h){j.splice(U,0,N),B=!0;break}B||j.push(N)}else j.push(N)}static findIndexInList(N,h){let j=-1;if(h)for(let A=0;A<h.length;A++)if(h[A]==N){j=A;break}return j}static contains(N,h){if(null!=N&&h&&h.length)for(let j of h)if(this.equals(N,j))return!0;return!1}static removeAccents(N){return N&&N.search(/[\xC0-\xFF]/g)>-1&&(N=N.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")),N}static isDate(N){return"[object Date]"===Object.prototype.toString.call(N)}static isEmpty(N){return null==N||""===N||Array.isArray(N)&&0===N.length||!this.isDate(N)&&"object"==typeof N&&0===Object.keys(N).length}static isNotEmpty(N){return!this.isEmpty(N)}static compare(N,h,j,A=1){let B=-1;const U=this.isEmpty(N),ce=this.isEmpty(h);return B=U&&ce?0:U?A:ce?-A:"string"==typeof N&&"string"==typeof h?N.localeCompare(h,j,{numeric:!0}):N<h?-1:N>h?1:0,B}static sort(N,h,j=1,A,B=1){return(1===B?j:B)*o.compare(N,h,A,j)}static merge(N,h){if(null!=N||null!=h)return null!=N&&"object"!=typeof N||null!=h&&"object"!=typeof h?null!=N&&"string"!=typeof N||null!=h&&"string"!=typeof h?h||N:[N||"",h||""].join(" "):{...N||{},...h||{}}}}var R=0;function V(){return"pr_id_"+ ++R}var T=function z(){let H=[];const A=B=>B&&parseInt(B.style.zIndex,10)||0;return{get:A,set:(B,U,ce)=>{U&&(U.style.zIndex=String(((B,U)=>{let ce=H.length>0?H[H.length-1]:{key:B,value:U},le=ce.value+(ce.key===B?0:U)+1;return H.push({key:B,value:le}),le})(B,ce)))},clear:B=>{B&&((B=>{H=H.filter(U=>U.value!==B)})(A(B)),B.style.zIndex="")},getCurrent:()=>H.length>0?H[H.length-1].value:0}}()},7582:(ze,me,_)=>{function T(K,oe,pe,ve){var Je,xe=arguments.length,Re=xe<3?oe:null===ve?ve=Object.getOwnPropertyDescriptor(oe,pe):ve;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Re=Reflect.decorate(K,oe,pe,ve);else for(var Ot=K.length-1;Ot>=0;Ot--)(Je=K[Ot])&&(Re=(xe<3?Je(Re):xe>3?Je(oe,pe,Re):Je(oe,pe))||Re);return xe>3&&Re&&Object.defineProperty(oe,pe,Re),Re}function U(K,oe,pe,ve){return new(pe||(pe=Promise))(function(Re,Je){function Ot(Jt){try{ut(ve.next(Jt))}catch(kt){Je(kt)}}function gn(Jt){try{ut(ve.throw(Jt))}catch(kt){Je(kt)}}function ut(Jt){Jt.done?Re(Jt.value):function xe(Re){return Re instanceof pe?Re:new pe(function(Je){Je(Re)})}(Jt.value).then(Ot,gn)}ut((ve=ve.apply(K,oe||[])).next())})}function se(K){return this instanceof se?(this.v=K,this):new se(K)}function de(K,oe,pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe,ve=pe.apply(K,oe||[]),Re=[];return xe={},Je("next"),Je("throw"),Je("return"),xe[Symbol.asyncIterator]=function(){return this},xe;function Je(Ue){ve[Ue]&&(xe[Ue]=function(sn){return new Promise(function(ht,hn){Re.push([Ue,sn,ht,hn])>1||Ot(Ue,sn)})})}function Ot(Ue,sn){try{!function gn(Ue){Ue.value instanceof se?Promise.resolve(Ue.value.v).then(ut,Jt):kt(Re[0][2],Ue)}(ve[Ue](sn))}catch(ht){kt(Re[0][3],ht)}}function ut(Ue){Ot("next",Ue)}function Jt(Ue){Ot("throw",Ue)}function kt(Ue,sn){Ue(sn),Re.shift(),Re.length&&Ot(Re[0][0],Re[0][1])}}function fe(K){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,oe=K[Symbol.asyncIterator];return oe?oe.call(K):(K=function we(K){var oe="function"==typeof Symbol&&Symbol.iterator,pe=oe&&K[oe],ve=0;if(pe)return pe.call(K);if(K&&"number"==typeof K.length)return{next:function(){return K&&ve>=K.length&&(K=void 0),{value:K&&K[ve++],done:!K}}};throw new TypeError(oe?"Object is not iterable.":"Symbol.iterator is not defined.")}(K),pe={},ve("next"),ve("throw"),ve("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function ve(Re){pe[Re]=K[Re]&&function(Je){return new Promise(function(Ot,gn){!function xe(Re,Je,Ot,gn){Promise.resolve(gn).then(function(ut){Re({value:ut,done:Ot})},Je)}(Ot,gn,(Je=K[Re](Je)).done,Je.value)})}}}_.d(me,{FC:()=>de,KL:()=>fe,gn:()=>T,mG:()=>U,qq:()=>se}),"function"==typeof SuppressedError&&SuppressedError},4147:ze=>{ze.exports={i8:"1.10.29"}}},ze=>{ze(ze.s=7550)}]);
\ No newline at end of file
diff --git a/docs/runtime.4dc42ebd7eb03dd2.js b/docs/runtime.7bc6bd97a8f467fa.js
similarity index 92%
rename from docs/runtime.4dc42ebd7eb03dd2.js
rename to docs/runtime.7bc6bd97a8f467fa.js
index a111c736..5db239d1 100644
--- a/docs/runtime.4dc42ebd7eb03dd2.js
+++ b/docs/runtime.7bc6bd97a8f467fa.js
@@ -1 +1 @@
-(()=>{"use strict";var e,v={},m={};function a(e){var f=m[e];if(void 0!==f)return f.exports;var r=m[e]={id:e,loaded:!1,exports:{}};return v[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=v,e=[],a.O=(f,r,c,b)=>{if(!r){var t=1/0;for(d=0;d<e.length;d++){for(var[r,c,b]=e[d],l=!0,n=0;n<r.length;n++)(!1&b||t>=b)&&Object.keys(a.O).every(p=>a.O[p](r[n]))?r.splice(n--,1):(l=!1,b<t&&(t=b));if(l){e.splice(d--,1);var o=c();void 0!==o&&(f=o)}}return f}b=b||0;for(var d=e.length;d>0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[r,c,b]},a.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return a.d(f,{a:f}),f},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((f,r)=>(a.f[r](e,f),f),[])),a.u=e=>(8592===e?"common":e)+"."+{315:"e2748a8570ede262",392:"b88a5a7071a7751d",750:"8824675e354590d0",879:"09df2f00b67fcfdb",1111:"b3be2ea194b537ef",1486:"62965a58297ced38",1732:"9d5555ca46c63e44",2043:"edea6a421f384add",2090:"884041c4bb3d97d9",2105:"8804d2b21a84ac67",2160:"b1084626d9a9183b",2285:"48a15c341725c182",2426:"1dbea34b76b87b14",2448:"7cd536fbfc5e5e18",2514:"8e995dc6ee32b745",2610:"807ef4a3be39f33c",2827:"6b14a2282033ecd2",3037:"67198afdf6b6f5e9",3212:"457c1793189990d9",3221:"1de36d13579ec016",3223:"73757d0bfcb99ded",3401:"dac49a5e967276a6",3487:"52395f2ddd48a322",3517:"0bae7013cf490224",3559:"d7f35a333c95fa4d",3798:"ea0c98d99e83f1d5",4104:"773732ec74b00031",4133:"99b029f93fb66713",4632:"807c9cba5faa4a68",4908:"330d22ec3deb2c26",5780:"719aab57f94bbc63",5938:"5342875ba8501a32",6115:"9f8343d123af8f59",6426:"dff91c17ec767afc",6446:"ba5dc53522d7bfa6",6476:"0d4f570f7447deae",6676:"31e49a950f6fec3d",6904:"b1de2493cbc5e2f6",6942:"a62603060da82389",6983:"120ebaf8e5e6aa32",7455:"2941a67c5959abf6",7794:"1b96fcb175fc1449",7799:"f7210f30b506594a",7853:"993099304eb5f2f3",7883:"7c4f95d933064119",8250:"3f144b09be78fa51",8359:"b5bd2ba78026af5c",8545:"dd85cc49674220c0",8592:"a9288f4987242e0c",8798:"e4ab740d77b47e34",9664:"2dc138b4cca21539"}[e]+".js",a.miniCssF=e=>{},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="nfc-reserve:";a.l=(r,c,b,d)=>{if(e[r])e[r].push(c);else{var t,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),o=0;o<n.length;o++){var i=n[o];if(i.getAttribute("src")==r||i.getAttribute("data-webpack")==f+b){t=i;break}}t||(l=!0,(t=document.createElement("script")).type="module",t.charset="utf-8",t.timeout=120,a.nc&&t.setAttribute("nonce",a.nc),t.setAttribute("data-webpack",f+b),t.src=a.tu(r)),e[r]=[c];var u=(g,p)=>{t.onerror=t.onload=null,clearTimeout(s);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),l&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={3666:0};a.f.j=(c,b)=>{var d=a.o(e,c)?e[c]:void 0;if(0!==d)if(d)b.push(d[2]);else if(3666!=c){var t=new Promise((i,u)=>d=e[c]=[i,u]);b.push(d[2]=t);var l=a.p+a.u(c),n=new Error;a.l(l,i=>{if(a.o(e,c)&&(0!==(d=e[c])&&(e[c]=void 0),d)){var u=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;n.message="Loading chunk "+c+" failed.\n("+u+": "+s+")",n.name="ChunkLoadError",n.type=u,n.request=s,d[1](n)}},"chunk-"+c,c)}else e[c]=0},a.O.j=c=>0===e[c];var f=(c,b)=>{var n,o,[d,t,l]=b,i=0;if(d.some(s=>0!==e[s])){for(n in t)a.o(t,n)&&(a.m[n]=t[n]);if(l)var u=l(a)}for(c&&c(b);i<d.length;i++)a.o(e,o=d[i])&&e[o]&&e[o][0](),e[o]=0;return a.O(u)},r=self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();
\ No newline at end of file
+(()=>{"use strict";var e,v={},m={};function a(e){var f=m[e];if(void 0!==f)return f.exports;var r=m[e]={id:e,loaded:!1,exports:{}};return v[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=v,e=[],a.O=(f,r,c,b)=>{if(!r){var t=1/0;for(d=0;d<e.length;d++){for(var[r,c,b]=e[d],l=!0,n=0;n<r.length;n++)(!1&b||t>=b)&&Object.keys(a.O).every(p=>a.O[p](r[n]))?r.splice(n--,1):(l=!1,b<t&&(t=b));if(l){e.splice(d--,1);var o=c();void 0!==o&&(f=o)}}return f}b=b||0;for(var d=e.length;d>0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[r,c,b]},a.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return a.d(f,{a:f}),f},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((f,r)=>(a.f[r](e,f),f),[])),a.u=e=>(8592===e?"common":e)+"."+{315:"e2748a8570ede262",392:"b88a5a7071a7751d",750:"8824675e354590d0",879:"09df2f00b67fcfdb",1111:"b3be2ea194b537ef",1486:"62965a58297ced38",1732:"9d5555ca46c63e44",2043:"edea6a421f384add",2090:"884041c4bb3d97d9",2105:"8804d2b21a84ac67",2160:"b1084626d9a9183b",2285:"48a15c341725c182",2426:"1dbea34b76b87b14",2448:"7cd536fbfc5e5e18",2514:"8e995dc6ee32b745",2610:"807ef4a3be39f33c",2827:"6b14a2282033ecd2",3037:"67198afdf6b6f5e9",3212:"457c1793189990d9",3221:"1de36d13579ec016",3223:"73757d0bfcb99ded",3401:"dac49a5e967276a6",3487:"75ffe7ddae679135",3517:"0bae7013cf490224",3559:"d7f35a333c95fa4d",3798:"ea0c98d99e83f1d5",4104:"773732ec74b00031",4133:"99b029f93fb66713",4632:"807c9cba5faa4a68",4908:"330d22ec3deb2c26",5780:"b402e2c08aa7cbb5",5938:"5342875ba8501a32",6115:"9f8343d123af8f59",6426:"dff91c17ec767afc",6446:"ba5dc53522d7bfa6",6476:"0d4f570f7447deae",6676:"31e49a950f6fec3d",6904:"b1de2493cbc5e2f6",6942:"a62603060da82389",6983:"120ebaf8e5e6aa32",7455:"2941a67c5959abf6",7794:"1b96fcb175fc1449",7799:"f7210f30b506594a",7853:"993099304eb5f2f3",7883:"4fb186bf3de38bc2",8250:"3f144b09be78fa51",8359:"b5bd2ba78026af5c",8545:"dd85cc49674220c0",8592:"a9288f4987242e0c",8798:"e4ab740d77b47e34",9664:"2dc138b4cca21539"}[e]+".js",a.miniCssF=e=>{},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="nfc-reserve:";a.l=(r,c,b,d)=>{if(e[r])e[r].push(c);else{var t,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),o=0;o<n.length;o++){var i=n[o];if(i.getAttribute("src")==r||i.getAttribute("data-webpack")==f+b){t=i;break}}t||(l=!0,(t=document.createElement("script")).type="module",t.charset="utf-8",t.timeout=120,a.nc&&t.setAttribute("nonce",a.nc),t.setAttribute("data-webpack",f+b),t.src=a.tu(r)),e[r]=[c];var u=(g,p)=>{t.onerror=t.onload=null,clearTimeout(s);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),l&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={3666:0};a.f.j=(c,b)=>{var d=a.o(e,c)?e[c]:void 0;if(0!==d)if(d)b.push(d[2]);else if(3666!=c){var t=new Promise((i,u)=>d=e[c]=[i,u]);b.push(d[2]=t);var l=a.p+a.u(c),n=new Error;a.l(l,i=>{if(a.o(e,c)&&(0!==(d=e[c])&&(e[c]=void 0),d)){var u=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;n.message="Loading chunk "+c+" failed.\n("+u+": "+s+")",n.name="ChunkLoadError",n.type=u,n.request=s,d[1](n)}},"chunk-"+c,c)}else e[c]=0},a.O.j=c=>0===e[c];var f=(c,b)=>{var n,o,[d,t,l]=b,i=0;if(d.some(s=>0!==e[s])){for(n in t)a.o(t,n)&&(a.m[n]=t[n]);if(l)var u=l(a)}for(c&&c(b);i<d.length;i++)a.o(e,o=d[i])&&e[o]&&e[o][0](),e[o]=0;return a.O(u)},r=self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();
\ No newline at end of file
diff --git a/package.json b/package.json
index 9f9d5562..b1b5a3ac 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "nfc-reserve",
-    "version": "1.10.26",
+    "version": "1.10.29",
     "scripts": {
         "ng": "ng",
         "start": "ng serve",
diff --git a/src/app/demo/api/room.ts b/src/app/demo/api/room.ts
index 77d92557..7ca68274 100644
--- a/src/app/demo/api/room.ts
+++ b/src/app/demo/api/room.ts
@@ -13,5 +13,6 @@ export interface Room {
     bedtype?: string;
     comment?: string;
     climate?: boolean;
+    familyRoom?: boolean;
     enabled?: boolean;
 }
diff --git a/src/app/demo/components/conference/conference.component.html b/src/app/demo/components/conference/conference.component.html
index afca42a8..a16dacb8 100644
--- a/src/app/demo/components/conference/conference.component.html
+++ b/src/app/demo/components/conference/conference.component.html
@@ -112,19 +112,24 @@ <h5 class="m-0">Konferenciák</h5>
                             </app-meal-selector>
                         </th>
                         <th>
-                            <p-inputSwitch 
-                                id="enabled"
-                                [ngModel]="filterValues['enabled'] === '1'"
-                                (onChange)="onFilter($event, 'enabled')"/>
+                            <div class="flex align-items-center vertical-align-middle">
+                                <p-inputSwitch 
+                                    id="enabled"
+                                    [ngModel]="filterValues['enabled'] === '1'"
+                                    (onChange)="onFilter($event, 'enabled')"
+                                    [styleClass]="'vertical-align-middle'"
+                                    [style]="{'lineHeight': '30.5px'}"
+                                />
+                                <span class="pl-2 font-normal vertical-align-middle">
+                                    {{ filterValues['enabled'] === '1' ? 'Igen' : 'Nem' }}
+                                </span>
+                            </div>
                         </th>
                     </tr>
                 </ng-template>
 
                 <ng-template pTemplate="body" let-conference let-expanded="expanded">
                     <tr>
-                        <!-- <td>
-                            <p-tableCheckbox [value]="conference"></p-tableCheckbox>
-                        </td> -->
                         <td class="pr-0">
                             <p-button type="button"
                                       styleClass="p-button-rounded p-button-text"
@@ -446,7 +451,17 @@ <h5 class="m-0">Konferenciák</h5>
                 <div class="field mb-4 col-12 lg:col-6">
                     <label for="enabled" class="font-medium text-900">Engedélyezve</label>
                     <div class="block">
-                        <p-inputSwitch id="enabled" formControlName="enabled"/>
+                        <div class="flex align-items-center vertical-align-middle" style="min-height: 44px">
+                            <p-inputSwitch 
+                                id="enabled"
+                                formControlName="enabled"
+                                [styleClass]="'vertical-align-middle'"
+                                [style]="{'lineHeight': '44px'}"
+                            />
+                            <span class="pl-2 font-normal vertical-align-middle">
+                                {{ enabled?.value ? 'Igen' : 'Nem' }}
+                            </span>
+                        </div>
                     </div>
                     <div *ngIf="enabled?.dirty && enabled?.errors?.['required']" class="block p-error">
                         Kötelező kitölteni
diff --git a/src/app/demo/components/conference/conference.component.ts b/src/app/demo/components/conference/conference.component.ts
index 76633c54..592ce3c2 100644
--- a/src/app/demo/components/conference/conference.component.ts
+++ b/src/app/demo/components/conference/conference.component.ts
@@ -1,5 +1,5 @@
 import { Component, isDevMode, OnInit } from '@angular/core';
-import { FormBuilder, FormGroup, FormArray, Validators } from '@angular/forms';
+import { FormBuilder, FormGroup, FormArray, Validators, FormControl } from '@angular/forms';
 import { Router } from '@angular/router';
 import { Observable, Subject, BehaviorSubject } from 'rxjs';
 import { debounceTime, distinctUntilChanged, map } from 'rxjs/operators';
@@ -63,12 +63,34 @@ export class ConferenceComponent implements OnInit {
     loggedInUserId: number                       // Logged in user id
     isMobile: boolean = false                    // Mobile screen detection
 
+    private initialFormValues = {
+        id: null,
+        name: '',
+        beginDate: '',
+        endDate: '',
+        firstMeal: '',
+        lastMeal: '',
+        contractorName: '',
+        contractorAdress: '',
+        contractorTaxNumber: '',
+        contactName: '',
+        contactEmail: '',
+        contactPhone: '',
+        formUrl: '',
+        registrationEndDate: '',
+        guestEditEndDate: '',
+        organizer_user_id: '',
+        enabled: true,
+    }
+
     private isFormValid$: Observable<boolean>
     private formChanges$: Subject<void> = new Subject()
     private conferenceObs$: Observable<any> | undefined
     private serviceMessageObs$: Observable<any> | undefined
     private questionMessageObs$: Observable<any> | undefined
 
+    
+
     constructor(
         public userService: UserService,
         private router: Router,
@@ -82,23 +104,23 @@ export class ConferenceComponent implements OnInit {
 
         // Conference form fields and validators
         this.conferenceForm = this.formBuilder.group({
-            id: [''],
-            name: ['', Validators.required],
-            beginDate: ['', Validators.required],
-            endDate: ['', Validators.required],
-            firstMeal: ['', Validators.required],
-            lastMeal: ['', Validators.required],
-            contractorName: ['', Validators.required],
-            contractorAdress: ['', Validators.required],
-            contractorTaxNumber: ['', [Validators.required]],
-            contactName: ['', Validators.required],
-            contactEmail: ['', [Validators.required, emailDomainValidator()]],
-            contactPhone: ['', Validators.required],
-            formUrl: ['', Validators.required],
-            registrationEndDate: ['', Validators.required],
-            guestEditEndDate: ['', Validators.required],
-            organizer_user_id: [''],
-            enabled: ['1', []],
+            id: [this.initialFormValues.id],
+            name: [this.initialFormValues.name, Validators.required],
+            beginDate: [this.initialFormValues.beginDate, Validators.required],
+            endDate: [this.initialFormValues.endDate, Validators.required],
+            firstMeal: [this.initialFormValues.firstMeal, Validators.required],
+            lastMeal: [this.initialFormValues.lastMeal, Validators.required],
+            contractorName: [this.initialFormValues.contractorName, Validators.required],
+            contractorAdress: [this.initialFormValues.contractorAdress, Validators.required],
+            contractorTaxNumber: [this.initialFormValues.contractorTaxNumber, [Validators.required]],
+            contactName: [this.initialFormValues.contactName, Validators.required],
+            contactEmail: [this.initialFormValues.contactEmail, [Validators.required, emailDomainValidator()]],
+            contactPhone: [this.initialFormValues.contactPhone, Validators.required],
+            formUrl: [this.initialFormValues.formUrl, Validators.required],
+            registrationEndDate: [this.initialFormValues.registrationEndDate, Validators.required],
+            guestEditEndDate: [this.initialFormValues.guestEditEndDate, Validators.required],
+            organizer_user_id: [this.initialFormValues.organizer_user_id],
+            enabled: [this.initialFormValues.enabled],
         })
 
         this.isFormValid$ = new BehaviorSubject<boolean>(false)
@@ -399,7 +421,7 @@ export class ConferenceComponent implements OnInit {
      * Create new Conference
      */
     create() {
-        this.conferenceForm.reset()
+        this.conferenceForm.reset(this.initialFormValues)
         this.sidebar = true
     }
 
@@ -408,7 +430,7 @@ export class ConferenceComponent implements OnInit {
      * @param conference
      */
     edit(conference: Conference) {
-        this.conferenceForm.reset()
+        this.conferenceForm.reset(this.initialFormValues)
         this.conferenceForm.patchValue(conference)
         this.originalFormValues = this.conferenceForm.value
         this.sidebar = true
diff --git a/src/app/demo/components/guest/guest.component.html b/src/app/demo/components/guest/guest.component.html
index 3c161bce..a9a138dd 100644
--- a/src/app/demo/components/guest/guest.component.html
+++ b/src/app/demo/components/guest/guest.component.html
@@ -501,7 +501,7 @@ <h5 class="m-0">Vendégek</h5>
                 <!-- roomNum -->
                 <div class="field mb-4 col-12 lg:col-4">
                     <label for="roomNum" class="font-medium text-900">Szoba</label>
-                    <input id="roomNum" type="text" pInputText formControlName="roomNum" [readonly]="isOrganizer">
+                    <input id="roomNum" type="text" pInputText formControlName="roomNum">
                 </div>
 
                 <!-- dateOfArrival -->
diff --git a/src/app/demo/components/room/room.component.html b/src/app/demo/components/room/room.component.html
index f746cfe4..c8571225 100644
--- a/src/app/demo/components/room/room.component.html
+++ b/src/app/demo/components/room/room.component.html
@@ -314,7 +314,25 @@ <h5 class="m-0">Szobák</h5>
                         </div>
                     </div>
                     <div *ngIf="climate?.dirty && climate?.errors?.['required']" class="p-error">
-                        Kérjük válassza ki, hogy kér-e babaágyat!
+                        Kérjük válassza ki, hogy klimatizált e a szoba!
+                    </div>
+                </div>
+
+                <!-- familyRoom -->
+                <div class="field mb-4 col-6">
+                    <label for="familyRoom" class="font-medium text-900">Családi szoba?</label>
+                    <div class="flex flex-wrap gap-3 my-3">
+                        <div class="flex align-items-center">
+                            <p-radioButton name="familyRoom" value="1" formControlName="familyRoom" inputId="familyRoom-yes"></p-radioButton>
+                            <label for="familyRoom-yes" class="ml-2">Igen</label>
+                        </div>
+                        <div class="flex align-items-center">
+                            <p-radioButton name="familyRoom" value="0" formControlName="familyRoom" inputId="familyRoom-no"></p-radioButton>
+                            <label for="familyRoom-no" class="ml-2">Nem</label>
+                        </div>
+                    </div>
+                    <div *ngIf="familyRoom?.dirty && familyRoom?.errors?.['required']" class="p-error">
+                        Kérjük válassza ki, hogy a szoba családi szoba e!
                     </div>
                 </div>
             </form>
diff --git a/src/app/demo/components/room/room.component.ts b/src/app/demo/components/room/room.component.ts
index c63e396c..c2314e09 100644
--- a/src/app/demo/components/room/room.component.ts
+++ b/src/app/demo/components/room/room.component.ts
@@ -11,7 +11,6 @@ import { ApiResponse } from '../../api/ApiResponse';
 import { Conference } from '../../api/conference';
 import { Room } from '../../api/room';
 import * as moment from 'moment';
-
 moment.locale('hu')
 
 @Component({
@@ -51,7 +50,7 @@ export class RoomComponent implements OnInit {
     occupancyFilter: any                         // TODO: Not used yet  
     selectedConferences: Conference[] = []       // Selected conferences
 
-    private defaultRoomFormValues = {
+    private initialFormValues = {
         id: null,
         roomNum: '',
         roomCode: '',
@@ -62,9 +61,10 @@ export class RoomComponent implements OnInit {
         floor: '',
         bedType: '',
         climate: 0,
+        familyRoom: 0,
         comment: '',
         extraBeds: 0
-    };
+    }
 
     private isFormValid$: Observable<boolean>
     private formChanges$: Subject<void> = new Subject()
@@ -80,18 +80,19 @@ export class RoomComponent implements OnInit {
 
         // Room form fields and validators
         this.roomForm = this.fb.group({
-            id: [this.defaultRoomFormValues.id],
-            roomNum: [this.defaultRoomFormValues.roomNum, Validators.required],
-            roomCode: [this.defaultRoomFormValues.roomCode, Validators.required],
-            beds: [this.defaultRoomFormValues.beds, Validators.required],
-            spareBeds: [this.defaultRoomFormValues.spareBeds],
-            bathroom: [this.defaultRoomFormValues.bathroom],
-            building: [this.defaultRoomFormValues.building, Validators.required],
-            floor: [this.defaultRoomFormValues.floor],
-            bedType: [this.defaultRoomFormValues.bedType],
-            climate: [this.defaultRoomFormValues.climate],
-            comment: [this.defaultRoomFormValues.comment],
-            extraBeds: [this.defaultRoomFormValues.extraBeds]
+            id: [this.initialFormValues.id],
+            roomNum: [this.initialFormValues.roomNum, Validators.required],
+            roomCode: [this.initialFormValues.roomCode, Validators.required],
+            beds: [this.initialFormValues.beds, Validators.required],
+            spareBeds: [this.initialFormValues.spareBeds],
+            bathroom: [this.initialFormValues.bathroom],
+            building: [this.initialFormValues.building, Validators.required],
+            floor: [this.initialFormValues.floor],
+            bedType: [this.initialFormValues.bedType],
+            climate: [this.initialFormValues.climate],
+            familyRoom: [this.initialFormValues.familyRoom],
+            comment: [this.initialFormValues.comment],
+            extraBeds: [this.initialFormValues.extraBeds]
         })
 
         this.isFormValid$ = new BehaviorSubject<boolean>(false)
@@ -142,6 +143,7 @@ export class RoomComponent implements OnInit {
     get floor() { return this.roomForm.get('floor') }
     get bedType() { return this.roomForm.get('bedType') }
     get climate() { return this.roomForm.get('climate') }
+    get familyRoom() { return this.roomForm.get('familyRoom') }
     get comment() { return this.roomForm.get('comment') }
     get extraBeds() { return this.roomForm.get('extraBeds') }
 
@@ -235,7 +237,7 @@ export class RoomComponent implements OnInit {
      * Create new Room
      */
     create() {
-        this.roomForm.reset(this.defaultRoomFormValues)
+        this.roomForm.reset(this.initialFormValues)
         this.sidebar = true
     }
 
@@ -244,7 +246,7 @@ export class RoomComponent implements OnInit {
      * @param room
      */
     edit(room: Room) {
-        this.roomForm.reset(this.defaultRoomFormValues)
+        this.roomForm.reset(this.initialFormValues)
         this.roomForm.patchValue(room)
         this.originalFormValues = this.roomForm.value
         this.sidebar = true


Reviews:
user: login: bito-code-review[bot]
state: COMMENTED
author_association: NONE
submitted_at: 2025-03-13T09:17:36Z
user: login: bito-code-review[bot]
state: COMMENTED
author_association: NONE
submitted_at: 2025-03-13T09:17:37Z
user: login: bito-code-review[bot]
state: COMMENTED
author_association: NONE
submitted_at: 2025-03-13T09:17:37Z

Review comments:
diff_hunk: @@ -1,5 +1,5 @@
 import { Component, isDevMode, OnInit } from '@angular/core';
-import { FormBuilder, FormGroup, FormArray, Validators } from '@angular/forms';
+import { FormBuilder, FormGroup, FormArray, Validators, FormControl } from '@angular/forms';
path: src/app/demo/components/conference/conference.component.ts
user: login: bito-code-review[bot]
body: 
<div>


<div id="suggestion">
<div id="issue"><b>Consider removing unused FormControl import</b></div>
<div id="fix">

It looks like `FormControl` is imported on line 2 but never used in this component. Consider removing it from the import statement to keep the code clean and avoid potential linting issues.
</div>
<details>
<summary>
<b>Code suggestion</b>
</summary>
<blockquote>Check the AI-generated fix before applying</blockquote>
<div id="code">


```suggestion
import { FormBuilder, FormGroup, FormArray, Validators } from '@angular/forms';
```

</div>
</details>
</div>


<small><i>Code Review Run <a href=https://github.com/mbair/Zichy2/pull/67#issuecomment-2720466264>#b3350c</a></i></small>
</div>

---
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- [ ] Yes, avoid them
created_at: 2025-03-13T09:17:35Z
author_association: NONE
diff_hunk: @@ -13,5 +13,6 @@ export interface Room {
     bedtype?: string;
     comment?: string;
     climate?: boolean;
+    familyRoom?: boolean;
path: src/app/demo/api/room.ts
user: login: bito-code-review[bot]
body: 
<div>


<div id="suggestion">
<div id="issue"><b>Type inconsistency between interface and implementation</b></div>
<div id="fix">

The newly added `familyRoom` property in the `Room` interface is defined as a boolean, but in `room.component.ts` it's initialized as a number (`familyRoom: 0`). This type inconsistency could lead to unexpected behavior. Consider using a consistent type across the codebase.
</div>
<details>
<summary>
<b>Code suggestion</b>
</summary>
<blockquote>Check the AI-generated fix before applying</blockquote>
<div id="code">


```suggestion
    familyRoom?: number;
```

</div>
</details>
</div>


<small><i>Code Review Run <a href=https://github.com/mbair/Zichy2/pull/67#issuecomment-2720466264>#b3350c</a></i></small>
</div>

---
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- [ ] Yes, avoid them
created_at: 2025-03-13T09:17:36Z
author_association: NONE
diff_hunk: @@ -0,0 +1 @@
+"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[5780],{5780:(vt,A,s)=>{s.r(A),s.d(A,{ConferenceModule:()=>ft});var p=s(6814),c=s(6223),_=s(1640),I=s(7582),e=s(2029),R=s(8645),b=s(5619),Q=s(3620),B=s(3997),O=s(7398),$=s(4279),K=s(1836),g=s(5219),f=s(6676),Y=s(1206),E=s(219),U=s(8814);let P=(()=>{class i{constructor(n){this.apiService=n,this.apiURL=n.apiURL,this.data$=new b.X(null),this.message$=new b.X(null)}get questionObs(){return this.data$.asObservable()}get messageObs(){return this.message$.asObservable()}get(n,t,r,l){let a="";""!==r&&(a=""!=r.sortField?`sort=${r.sortField}&order=${1===r.sortOrder?"ASC":"DESC"}`:"");const d=""!==a&&""!==l?a+"&"+l:""!==a&&""===l?a:""===a&&""!==l?l:"";this.apiService.get(`questions/get/${n}/${t}${""!==d?"?"+d:""}`).subscribe({next:m=>{this.data$.next(m)},error:m=>{this.message$.next(m)}})}getBySearch(n,t){let r="";""!==t&&(r=""!=t.sortField?`?sort=${t.sortField}&order=${1===t.sortOrder?"ASC":"DESC"}`:""),this.apiService.get(`questions/search/${n}${r}`).subscribe({next:l=>{this.data$.next(l)},error:l=>{this.message$.next(l)}})}getBySearchQuery(n){this.apiService.get(`questions/searchquery?${n}`).subscribe({next:t=>{this.data$.next(t)},error:t=>{this.message$.next(t)}})}create(n){this.apiService.post("questions/create/",n).subscribe({next:t=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s r\xf6gz\xedt\xe9s"})},error:t=>{this.message$.next(t)}})}update(n){this.apiService.put(`questions/update/${n.id}`,n).subscribe({next:()=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s m\xf3dos\xedt\xe1s"})},error:t=>{this.message$.next(t)}})}delete(n){this.apiService.delete(`questions/delete/${n.id}`).subscribe({next:t=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s t\xf6rl\xe9s"})},error:t=>{this.message$.next(t)}})}bulkdelete(n){let t={ids:n.map(r=>r.id)};this.apiService.post("question/bulkdelete",t).subscribe({next:r=>{this.message$.next({severity:"success",summary:"Sikeres k\xe9rd\xe9s t\xf6rl\xe9s"})},error:r=>{this.message$.next(r)}})}static#e=this.\u0275fac=function(t){return new(t||i)(e.LFG(U.s))};static#t=this.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var V=s(3139),G=s(8022),u=s(9664),h=s(707),y=s(4480),N=s(4104),Z=s(3714),S=s(7213),C=s(9246),z=s(7680),k=s(4204),v=s(3259),D=s(3212),M=s(4227),J=s(5609),L=s(7939),j=s(117),H=s(4520),X=s(8913),W=s(3069),ee=s(2991),te=s(4055),ne=s(2169),oe=s(9515);function ie(i,o){1&i&&(e.TgZ(0,"span",11),e._uU(1," Szoba konferenci\xe1hoz rendel\xe9s "),e.qZA())}function re(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",12),e._uU(3,"Szoba "),e._UZ(4,"p-sortIcon",13),e.qZA(),e.TgZ(5,"th",14),e._uU(6,"P\xf3t\xe1gy "),e._UZ(7,"p-sortIcon",15),e.qZA(),e.TgZ(8,"th",16),e._uU(9,"Konferenci\xe1k "),e._UZ(10,"p-sortIcon",17),e.qZA()(),e.TgZ(11,"tr")(12,"th",18),e._UZ(13,"p-tableHeaderCheckbox"),e.qZA(),e.TgZ(14,"th")(15,"input",19),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"roomNum"))}),e.qZA(),e.TgZ(16,"app-building-selector",20),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"building"))}),e.qZA(),e.TgZ(17,"app-bedtype-selector",21),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"bedType"))}),e.qZA()(),e.TgZ(18,"th")(19,"app-sparebed-selector",22),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"spareBeds"))}),e.qZA()(),e.TgZ(20,"th")(21,"input",23),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"comment"))}),e.qZA()()()}2&i&&(e.xp6(16),e.Q6J("showClear",!0),e.xp6(1),e.Q6J("showClear",!0),e.xp6(2),e.Q6J("showClear",!0))}function le(i,o){if(1&i&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&i){const n=e.oxw().$implicit;e.xp6(1),e.hij("(",n.floor,")")}}function se(i,o){1&i&&(e.TgZ(0,"span",40),e._uU(1,"\u2744\ufe0f"),e.qZA())}function ae(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const n=e.oxw().$implicit;e.xp6(1),e.hij(", ",n.bathroom,"")}}function ce(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const n=e.oxw().$implicit;e.Gre("sparebed-badge ",n.spareBeds,""),e.xp6(1),e.hij(" ",e.lcZ(2,4,"SPAREBEDS."+(null==n.spareBeds?null:n.spareBeds.toUpperCase()))," ")}}function ue(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div")(1,"p-chip",41),e.NdJ("onRemove",function(r){const a=e.CHM(n).$implicit,d=e.oxw(2);return e.KtG(d.onRemove(r,a))}),e.qZA()()}if(2&i){const n=o.$implicit;e.xp6(1),e.Q6J("label",n.name)("removable",!0)}}function pe(i,o){if(1&i&&(e.TgZ(0,"tr")(1,"td"),e._UZ(2,"p-tableCheckbox",24),e.qZA(),e.TgZ(3,"td")(4,"span",25),e._uU(5,"Szoba sz\xe1m"),e.qZA(),e.TgZ(6,"div")(7,"div",26)(8,"div",27),e._UZ(9,"i",28),e.TgZ(10,"span",29),e._uU(11),e.qZA()(),e.TgZ(12,"div",30)(13,"div",31)(14,"span",32),e._uU(15),e.ALo(16,"translate"),e.YNc(17,le,2,1,"span",33),e.YNc(18,se,2,0,"span",34),e.qZA(),e.TgZ(19,"span",35),e._uU(20),e.YNc(21,ae,2,1,"span",36),e._uU(22,") "),e.qZA()()()()()(),e.TgZ(23,"td")(24,"span",25),e._uU(25,"P\xf3t\xe1gy"),e.qZA(),e.YNc(26,ce,3,6,"span",37),e.qZA(),e.TgZ(27,"td")(28,"span",25),e._uU(29,"Konferenci\xe1k"),e.qZA(),e.YNc(30,ue,2,2,"div",38),e.qZA()()),2&i){const n=o.$implicit;e.xp6(2),e.Q6J("value",n),e.xp6(4),e.Gre("building-badge ",n.building," border-round-xl w-min p-0"),e.xp6(4),e.MGl("pTooltip","Szoba sz\xe1m: ",n.roomNum,""),e.xp6(1),e.hij(" ",n.roomNum," "),e.xp6(1),e.MGl("pTooltip","Szoba k\xf3d: ",n.roomCode,""),e.xp6(3),e.hij(" ",e.lcZ(16,15,"BUILDINGS."+n.building.toUpperCase())," "),e.xp6(2),e.Q6J("ngIf",n.floor),e.xp6(1),e.Q6J("ngIf",n.climate),e.xp6(2),e.AsE(" ",n.beds," SZEM\xc9LYES (",n.bedType,""),e.xp6(1),e.Q6J("ngIf",n.bathroom),e.xp6(5),e.Q6J("ngIf",n.spareBeds),e.xp6(4),e.Q6J("ngForOf",n.conferences)}}function de(i,o){1&i&&(e.TgZ(0,"tr")(1,"td",42),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&i&&(e.xp6(1),e.uIk("colspan",4))}const me=function(){return{minWidth:"50rem"}},ge=function(){return["roomNum"]},fe=function(){return{"min-height":"calc(100vh - 320px)"}};f.locale("hu");let he=(()=>{class i{constructor(n,t){this.roomService=n,this.conferenceService=t,this.visible=!!(0,e.X6Q)(),this.close=new e.vpe,this.assign=new e.vpe,this.loading=!0,this.loadingConferences=!0,this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100,9999],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.conferences=[],this.rooms=[],this.selected=[],this.selectedConferences=[],this.selectedRooms=[],this.canBindRoomToConference=!0,this.selectedConference={}}ngOnInit(){this.setConferences(),this.roomObs$=this.roomService.roomObs,this.roomObs$.subscribe(n=>{this.loading=!1,n&&(this.tableData=n.rows||[],this.totalRecords=n.totalItems||0,this.page=n.currentPage||0)})}setConferences(){this.conferenceService.getConferencesForSelector().subscribe(n=>{this.conferences=n,this.selectFirstOption&&this.conferences.length>0&&(this.selectedConference=this.conferences[0],this.onConferenceChange())})}loadAvailableRooms(){this.selectedConferences&&this.roomService.getAvailableRooms(this.selectedConferences).subscribe(n=>{this.tableData=n})}showDialog(){this.loadAvailableRooms(),this.canBindRoomToConference=!0,this.visible=!0}setSelectedConference(n){}onConferenceChange(){this.selectedRooms=[],this.loadAvailableRooms()}doQuery(){this.loading=!0;const t=Object.keys(this.filterValues).map(r=>this.filterValues[r].length>0?`${r}=${this.filterValues[r]}`:"").filter(r=>r.length>0).join("&");return""!==this.globalFilter?this.roomService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.roomService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},t)}onFilter(n,t){let l="";n instanceof Date?l=f(n).format("YYYY.MM.DD"):n&&(n.value||n.target?.value)?(l=n.value||n.target?.value,l=l.toString()):this.filterValues[t]="",this.filterValues[t]=l,["roomNum","building","bedType","spareBeds"].includes(t)?this.filterValues[t]===l&&this.doQuery():(this.debounce[t]&&clearTimeout(this.debounce[t]),this.debounce[t]=setTimeout(()=>{this.filterValues[t]===l&&this.doQuery()},500))}onLazyLoad(n){this.page=n.first/n.rows,this.rowsPerPage=n.rows??this.rowsPerPage,this.sortField=n.sortField??"",this.sortOrder=n.sortOrder??1,this.globalFilter=n.globalFilter??"",this.doQuery()}onGlobalFilter(n,t){n.filterGlobal(t.target.value,"contains")}onAssign(){const n=Number(this.selectedConferences[0].id),t=this.selectedRooms.map(r=>Number(r.id));this.conferenceService.assignRooms(n,t)}onRemove(n,t){console.log("onConferenceRemove",t),confirm(`Biztosan elt\xe1vol\xedtod a k\xf6vetkez\u0151 konferenci\xe1t: ${t.name}?`)}static#e=this.\u0275fac=function(t){return new(t||i)(e.Y36(H.X),e.Y36(E.Z))};static#t=this.\u0275cmp=e.Xpm({type:i,selectors:[["app-room-conference-binder"]],inputs:{visible:"visible"},outputs:{close:"close",assign:"assign"},features:[e._Bn([g.ez])],decls:12,vars:29,consts:[["pButton","","pRipple","","label","Szoba konferenci\xe1hoz rendel\xe9s","icon","pi pi-list-check","severity","help",1,"p-button","mr-2",3,"disabled","click"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","showCloseIcon","blockScroll","visibleChange"],["pTemplate","header"],[1,"flex","w-full","mb-2"],["display","chip","placeholder","V\xe1lasszon konferenci\xe1t, amihez szob\xe1t rendelne...","optionLabel","name",1,"multiselect-custom-virtual-scroll",3,"options","ngModel","showClear","selectionLimit","virtualScroll","virtualScrollItemSize","ngModelChange"],["pButton","","pRipple","","label","\xd6sszerendel\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],[1,"flex","w-full"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} szoba a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onLazyLoad"],["dt",""],["pTemplate","body"],["pTemplate","emptymessage"],[1,"font-semibold","text-xl"],["pSortableColumn","roomNum"],["field","roomNum"],["pSortableColumn","spareBed"],["field","spareBed"],["pSortableColumn","conferences"],["field","conferences"],["styleClass","w-3rem"],["pInputText","","type","text","placeholder","Szobasz\xe1m...",1,"mr-2",2,"width","8rem",3,"input"],["placeholder","\xc9p\xfclet...",1,"mr-2",3,"showClear","change"],["placeholder","\xc1gytipus...",3,"showClear","change"],[3,"showClear","change"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","40rem",3,"input"],[3,"value"],[1,"p-column-title"],[1,"flex","align-items-center","justify-content-center","py-1","px-1"],[1,"flex","align-items-center","justify-content-center","gap-2","px-2"],[1,"pi","pi-key","vertical-align-middle"],["tooltipPosition","top",1,"text-2xl","font-semibold","white-space-nowrap","vertical-align-middle",3,"pTooltip"],["tooltipPosition","top",1,"block","min-w-max","border-left-1","px-2",3,"pTooltip"],[1,"flex","flex-column","align-items-left","justify-content-center"],[1,"text-base","font-semibold","uppercase"],["class","font-normal text-sm uppercase",4,"ngIf"],["class","pl-1",4,"ngIf"],[1,"font-light","text-xs","uppercase"],[4,"ngIf"],[3,"class",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"font-normal","text-sm","uppercase"],[1,"pl-1"],["styleClass","m-1","icon","pi pi-calendar",3,"label","removable","onRemove"],[1,"text-center"]],template:function(t,r){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return r.showDialog()}),e.qZA(),e.TgZ(1,"p-sidebar",1),e.NdJ("visibleChange",function(a){return r.visible=a}),e.YNc(2,ie,2,0,"ng-template",2),e.TgZ(3,"div",3)(4,"p-multiSelect",4),e.NdJ("ngModelChange",function(a){return r.selectedConferences=a}),e.qZA(),e.TgZ(5,"button",5),e.NdJ("click",function(){return r.onAssign()}),e.qZA()(),e.TgZ(6,"div",6)(7,"p-table",7,8),e.NdJ("selectionChange",function(a){return r.selectedRooms=a})("onLazyLoad",function(a){return r.onLazyLoad(a)}),e.YNc(9,re,22,3,"ng-template",2),e.YNc(10,pe,31,17,"ng-template",9),e.YNc(11,de,3,1,"ng-template",10),e.qZA()()()),2&t&&(e.Q6J("disabled",!r.canBindRoomToConference),e.xp6(1),e.Q6J("visible",r.visible)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",!0)("showCloseIcon",!0)("blockScroll",!0),e.xp6(3),e.Akn(e.DdM(26,me)),e.Q6J("options",r.conferences)("ngModel",r.selectedConferences)("showClear",!0)("selectionLimit",1)("virtualScroll",!0)("virtualScrollItemSize",43),e.xp6(1),e.Q6J("disabled",!r.selectedRooms||!r.selectedRooms.length||!r.selectedConferences),e.xp6(2),e.Q6J("value",r.tableData)("rows",r.rowsPerPage)("totalRecords",r.totalRecords)("globalFilterFields",e.DdM(27,ge))("paginator",!0)("rowsPerPageOptions",r.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",r.selectedRooms)("tableStyle",e.DdM(28,fe))("rowHover",!0)("lazy",!0))},dependencies:[p.sg,p.O5,c.JJ,c.On,g.jx,h.Hq,C.Y,X.q,W.n,ee.p,u.iA,u.lQ,u.fz,u.UA,u.Mo,te.NU,Z.o,v.u,ne.A,oe.X$],encapsulation:2})}return i})();function _e(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",65)(1,"h5",66),e._uU(2,"Konferenci\xe1k"),e.qZA(),e.TgZ(3,"span",67),e._UZ(4,"i",68),e.TgZ(5,"input",69),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw(),a=e.MAs(4);return e.KtG(l.onGlobalFilter(a,r))}),e.qZA()(),e.TgZ(6,"span",70),e._UZ(7,"app-room-conference-binder"),e.TgZ(8,"button",71),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.create())}),e.qZA()()()}if(2&i){const n=e.oxw();e.xp6(8),e.Q6J("disabled",!n.canCreate)}}const be=function(){return{lineHeight:"30.5px"}};function Ze(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tr"),e._UZ(1,"th"),e.TgZ(2,"th",72),e._uU(3,"N\xe9v "),e._UZ(4,"p-sortIcon",73),e.qZA(),e.TgZ(5,"th",74),e._uU(6,"Kezdete "),e._UZ(7,"p-sortIcon",75),e.qZA(),e.TgZ(8,"th",76),e._uU(9,"Els\u0151 \xe9tkez\xe9s "),e._UZ(10,"p-sortIcon",75),e.qZA(),e.TgZ(11,"th",77),e._uU(12,"V\xe9ge "),e._UZ(13,"p-sortIcon",78),e.qZA(),e.TgZ(14,"th",79),e._uU(15,"Utols\xf3 \xe9tkez\xe9s "),e._UZ(16,"p-sortIcon",78),e.qZA(),e.TgZ(17,"th"),e._uU(18,"Enged\xe9lyezve "),e.qZA()(),e.TgZ(19,"tr"),e._UZ(20,"th"),e.TgZ(21,"th")(22,"input",80),e.NdJ("input",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"name"))}),e.qZA()(),e.TgZ(23,"th")(24,"p-calendar",81),e.NdJ("onSelect",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"beginDate"))})("onClearClick",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"beginDate"))}),e.qZA()(),e.TgZ(25,"th")(26,"app-meal-selector",82),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"firstMeal"))}),e.qZA()(),e.TgZ(27,"th")(28,"p-calendar",81),e.NdJ("onSelect",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"endDate"))})("onClearClick",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"endDate"))}),e.qZA()(),e.TgZ(29,"th")(30,"app-meal-selector",82),e.NdJ("change",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"lastMeal"))}),e.qZA()(),e.TgZ(31,"th")(32,"div",83)(33,"p-inputSwitch",84),e.NdJ("onChange",function(r){e.CHM(n);const l=e.oxw();return e.KtG(l.onFilter(r,"enabled"))}),e.qZA(),e.TgZ(34,"span",52),e._uU(35),e.qZA()()()()}if(2&i){const n=e.oxw();e.xp6(24),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showNothing",!1)("showClear",!0),e.xp6(2),e.Q6J("showButtonBar",!0),e.xp6(2),e.Q6J("showNothing",!1)("showClear",!0),e.xp6(3),e.Akn(e.DdM(11,be)),e.Q6J("ngModel","1"===n.filterValues.enabled)("styleClass","vertical-align-middle"),e.xp6(2),e.hij(" ","1"===n.filterValues.enabled?"Igen":"Nem"," ")}}function Ce(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tr")(1,"td",85),e._UZ(2,"p-button",86),e.qZA(),e.TgZ(3,"td",87)(4,"span",88),e._uU(5,"N\xe9v"),e.qZA(),e._uU(6),e.qZA(),e.TgZ(7,"td",89)(8,"span",88),e._uU(9,"Kezdete"),e.qZA(),e.TgZ(10,"span",90),e._UZ(11,"i",91),e._uU(12),e.ALo(13,"date"),e.qZA()(),e.TgZ(14,"td",89)(15,"span",88),e._uU(16,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e.TgZ(17,"span",92),e._uU(18),e.qZA()(),e.TgZ(19,"td",89)(20,"span",88),e._uU(21,"V\xe9ge"),e.qZA(),e.TgZ(22,"span",90),e._UZ(23,"i",91),e._uU(24),e.ALo(25,"date"),e.qZA()(),e.TgZ(26,"td",89)(27,"span",88),e._uU(28,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e.TgZ(29,"span",92),e._uU(30),e.qZA()(),e.TgZ(31,"td")(32,"div",93)(33,"button",94),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.copyUrl(l.formUrl))}),e.qZA(),e.TgZ(34,"button",95),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.navigateToConferenceForm(l))}),e.qZA(),e.TgZ(35,"button",96),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.editQuestions(l))}),e.qZA(),e.TgZ(36,"button",97),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return e.KtG(a.edit(l))}),e.qZA(),e.TgZ(37,"button",98),e.NdJ("click",function(){const l=e.CHM(n).$implicit,a=e.oxw();return a.tableItem=l,e.KtG(a.deleteDialog=!0)}),e.qZA()()()()}if(2&i){const n=o.$implicit,t=o.expanded,r=e.oxw();e.xp6(2),e.Q6J("pRowToggler",n)("icon",t?"pi pi-chevron-down":"pi pi-chevron-right"),e.xp6(4),e.hij(" ",n.name," "),e.xp6(6),e.hij(" ",e.xi3(13,13,n.beginDate,"yyyy.MM.dd")," "),e.xp6(5),e.Q6J("ngClass","meal-badge "+r.getMealStyle(n.firstMeal)),e.xp6(1),e.hij(" ",n.firstMeal," "),e.xp6(6),e.hij(" ",e.xi3(25,16,n.endDate,"yyyy.MM.dd")," "),e.xp6(5),e.Q6J("ngClass","meal-badge "+r.getMealStyle(n.lastMeal)),e.xp6(1),e.hij(" ",n.lastMeal," "),e.xp6(3),e.Q6J("disabled",!n.formUrl),e.xp6(2),e.Q6J("disabled",r.isOrganizer&&n.organizer_user_id!==r.loggedInUserId),e.xp6(1),e.Q6J("disabled",!r.canEdit),e.xp6(1),e.Q6J("disabled",!r.canDelete)}}function ve(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Oqu(n.organizer.fullname)}}function Te(i,o){1&i&&(e.TgZ(0,"span"),e._UZ(1,"p-skeleton",109),e.qZA())}function xe(i,o){if(1&i&&(e.TgZ(0,"div",111)(1,"div",112),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"img",113),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._UZ(7,"img",114),e._uU(8),e.qZA()()),2&i){const n=e.oxw(),t=n.index,r=n.$implicit;e.xp6(2),e.hij("",t+1,". k\xe9rd\xe9s"),e.xp6(3),e.hij(" ",r.hu," "),e.xp6(3),e.hij(" ",r.en," ")}}function Fe(i,o){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,xe,9,3,"div",110),e.qZA()),2&i){const n=o.$implicit;e.xp6(1),e.Q6J("ngIf",""!==n.hu||""!==n.en)}}function Ae(i,o){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,Fe,2,1,"div",108),e.qZA()),2&i){const n=o.$implicit;e.xp6(1),e.Q6J("ngForOf",n.translations)}}function qe(i,o){if(1&i&&(e.TgZ(0,"tr")(1,"td",99)(2,"div",100)(3,"div",101)(4,"div",102)(5,"div",103)(6,"table",104)(7,"tr")(8,"td",105),e._uU(9,"Regisztr\xe1ci\xf3s \u0171rlap link:"),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.qZA()(),e.TgZ(12,"tr")(13,"td",105),e._uU(14,"Szerz\u0151d\u0151 neve:"),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.qZA()(),e.TgZ(17,"tr")(18,"td",105),e._uU(19,"Szerz\u0151d\u0151 ad\xf3sz\xe1ma:"),e.qZA(),e.TgZ(20,"td"),e._uU(21),e.qZA()(),e.TgZ(22,"tr")(23,"td",105),e._uU(24,"Szerz\u0151d\u0151 c\xedme:"),e.qZA(),e.TgZ(25,"td"),e._uU(26),e.qZA()(),e.TgZ(27,"tr")(28,"td",105),e._uU(29,"Szervez\u0151:"),e.qZA(),e.TgZ(30,"td"),e.YNc(31,ve,2,1,"span",63),e.YNc(32,Te,2,0,"span",63),e.qZA()(),e.TgZ(33,"tr")(34,"td",105),e._uU(35,"Kapcsolattart\xf3 neve:"),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()(),e.TgZ(38,"tr")(39,"td",105),e._uU(40,"Kapcsolattart\xf3 telefonsz\xe1ma:"),e.qZA(),e.TgZ(41,"td")(42,"a",106),e._uU(43),e.qZA()()(),e.TgZ(44,"tr")(45,"td",105),e._uU(46,"Kapcsolattart\xf3 e-mail c\xedme:"),e.qZA(),e.TgZ(47,"td")(48,"a",106),e._uU(49),e.qZA()()(),e.TgZ(50,"tr")(51,"td",105),e._uU(52,"Regisztr\xe1ci\xf3 v\xe9ge"),e.qZA(),e.TgZ(53,"td"),e._uU(54),e.ALo(55,"date"),e.qZA()(),e.TgZ(56,"tr")(57,"td",105),e._uU(58,"Vend\xe9g m\xf3dos\xedt\xe1s hat\xe1rideje"),e.qZA(),e.TgZ(59,"td"),e._uU(60),e.ALo(61,"date"),e.qZA()(),e.TgZ(62,"tr")(63,"td",105),e._uU(64,"Enged\xe9lyezve"),e.qZA(),e.TgZ(65,"td"),e._uU(66),e.qZA()()()(),e.TgZ(67,"div",107),e.YNc(68,Ae,2,1,"div",108),e.qZA()()()()()()),2&i){const n=o.$implicit,t=e.oxw();e.xp6(11),e.Oqu(n.formUrl),e.xp6(5),e.Oqu(n.contractorName),e.xp6(5),e.Oqu(n.contractorTaxNumber),e.xp6(5),e.Oqu(n.contractorAdress),e.xp6(5),e.Q6J("ngIf",t.organizer),e.xp6(1),e.Q6J("ngIf",n.organizer_user_id&&!t.organizer),e.xp6(5),e.Oqu(n.contactName),e.xp6(5),e.MGl("href","tel:",n.contactPhone,"",e.LSH),e.xp6(1),e.Oqu(n.contactPhone),e.xp6(5),e.MGl("href","mailto:",n.contactEmail,"",e.LSH),e.xp6(1),e.Oqu(n.contactEmail),e.xp6(5),e.Oqu(e.xi3(55,15,n.registrationEndDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(e.xi3(61,18,n.guestEditEndDate,"yyyy.MM.dd")),e.xp6(6),e.Oqu(n.enabled?"Igen":"Nem"),e.xp6(2),e.Q6J("ngForOf",n.questions)}}function Ee(i,o){1&i&&(e.TgZ(0,"tr")(1,"td",115),e._uU(2,"Nincs tal\xe1lat..."),e.qZA()()),2&i&&(e.xp6(1),e.uIk("colspan",7))}function Ue(i,o){if(1&i&&(e.TgZ(0,"span",116),e._uU(1),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.hij(" ",null!=n.id&&n.id.value?"Konferencia adatai":"\xdaj konferencia"," ")}}function ye(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Ne(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Se(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function ze(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function ke(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function De(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Me(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Je(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function we(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Ie(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Re(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Qe(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Be(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"Nem megfelel\u0151 email form\xe1tum"),e.qZA())}function Oe(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function $e(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1,"K\xf6telez\u0151 kit\xf6lteni"),e.qZA())}function Ke(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," K\xf6telez\u0151 kit\xf6lteni "),e.qZA())}function Ye(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",119),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.cancel())}),e.qZA(),e.TgZ(2,"button",120),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.save())}),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("disabled",!n.conferenceForm.dirty),e.xp6(1),e.Q6J("disabled",!n.conferenceForm.valid||!n.conferenceForm.dirty)}}function Pe(i,o){1&i&&(e.TgZ(0,"span",116),e._uU(1,"Szerverz\u0151 k\xe9rd\xe9sei"),e.qZA())}function Ve(i,o){1&i&&(e.TgZ(0,"div",117),e._uU(1," Mindk\xe9t nyelven meg kell adni a k\xe9rd\xe9st! "),e.qZA())}function Ge(i,o){if(1&i&&(e.TgZ(0,"div",121)(1,"label",122),e._uU(2),e.qZA(),e.TgZ(3,"div",123)(4,"i"),e._UZ(5,"img",124),e.qZA(),e._UZ(6,"input",125),e.qZA(),e.TgZ(7,"div",123)(8,"i"),e._UZ(9,"img",126),e.qZA(),e._UZ(10,"input",127),e.qZA(),e.YNc(11,Ve,2,0,"div",16),e.qZA()),2&i){const n=o.$implicit,t=o.index;e.Q6J("formGroupName",t),e.xp6(1),e.MGl("for","en-",t,""),e.xp6(1),e.hij(" ",t+1,". k\xe9rd\xe9s "),e.xp6(4),e.MGl("id","hu-",t,""),e.xp6(4),e.MGl("id","en-",t,""),e.xp6(1),e.Q6J("ngIf",null==n.errors?null:n.errors.bothLanguagesRequired)}}function Le(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",119),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.cancelQuestions())}),e.qZA(),e.TgZ(2,"button",120),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.saveQuestions())}),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("disabled",!n.questionsForm.dirty),e.xp6(1),e.Q6J("disabled",!n.questionsForm.valid||!n.questionsForm.dirty)}}function je(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1,"Biztosan t\xf6r\xf6lni akarja a(z) "),e.TgZ(2,"b"),e._uU(3),e.qZA(),e._uU(4," konferenci\xe1t?"),e.qZA()),2&i){const n=e.oxw();e.xp6(3),e.Oqu(n.tableItem.name)}}function He(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",128),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.deleteDialog=!1)}),e.qZA(),e.TgZ(2,"button",129),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.delete())}),e.qZA()()}}function Xe(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",118)(1,"button",128),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.bulkDeleteDialog=!1)}),e.qZA(),e.TgZ(2,"button",129),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.deleteSelected())}),e.qZA()()}}const We=function(){return["name","beginDate","endDate","contractorName","contactName"]},et=function(){return{"min-height":"calc(100vh - 320px)"}},tt=function(){return{lineHeight:"44px"}},w=function(){return{width:"450px"}};f.locale("hu");let T=class F{constructor(o,n,t,r,l,a,d,x,m){this.userService=o,this.router=n,this.formBuilder=t,this.conferenceService=r,this.questionService=l,this.mealService=a,this.apiService=d,this.messageService=x,this.responsiveService=m,this.loading=!0,this.cols=[],this.tableItem={},this.tableData=[],this.rowsPerPageOptions=[20,50,100],this.rowsPerPage=20,this.totalRecords=0,this.page=0,this.sortField="",this.sortOrder=1,this.globalFilter="",this.filterValues={},this.debounce={},this.sidebar=!1,this.questionsSidebar=!1,this.deleteDialog=!1,this.bulkDeleteDialog=!1,this.selected=[],this.meals=[],this.organizer=null,this.canCreate=!1,this.canEdit=!1,this.canDelete=!1,this.isOrganizer=!1,this.isMobile=!1,this.initialFormValues={id:null,name:"",beginDate:"",endDate:"",firstMeal:"",lastMeal:"",contractorName:"",contractorAdress:"",contractorTaxNumber:"",contactName:"",contactEmail:"",contactPhone:"",formUrl:"",registrationEndDate:"",guestEditEndDate:"",organizer_user_id:"",enabled:!0},this.formChanges$=new R.x,this.conferenceForm=this.formBuilder.group({id:[this.initialFormValues.id],name:[this.initialFormValues.name,c.kI.required],beginDate:[this.initialFormValues.beginDate,c.kI.required],endDate:[this.initialFormValues.endDate,c.kI.required],firstMeal:[this.initialFormValues.firstMeal,c.kI.required],lastMeal:[this.initialFormValues.lastMeal,c.kI.required],contractorName:[this.initialFormValues.contractorName,c.kI.required],contractorAdress:[this.initialFormValues.contractorAdress,c.kI.required],contractorTaxNumber:[this.initialFormValues.contractorTaxNumber,[c.kI.required]],contactName:[this.initialFormValues.contactName,c.kI.required],contactEmail:[this.initialFormValues.contactEmail,[c.kI.required,(0,K.u)()]],contactPhone:[this.initialFormValues.contactPhone,c.kI.required],formUrl:[this.initialFormValues.formUrl,c.kI.required],registrationEndDate:[this.initialFormValues.registrationEndDate,c.kI.required],guestEditEndDate:[this.initialFormValues.guestEditEndDate,c.kI.required],organizer_user_id:[this.initialFormValues.organizer_user_id],enabled:[this.initialFormValues.enabled]}),this.isFormValid$=new b.X(!1),this.conferenceForm.get("name")?.valueChanges.subscribe(ht=>{const _t=this.apiService.productionURL,bt=this.apiService.developmentURL,Zt=(0,e.X6Q)()?bt:_t;let Ct=this.slugify(ht);this.conferenceForm.patchValue({formUrl:`${Zt}/#/conference-form/${Ct}`})}),this.initializeQuestionsForm()}ngOnInit(){this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canCreate=o),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canEdit=o),this.userService.hasRole(["Super Admin","Nagy Admin"]).subscribe(o=>this.canDelete=o),this.userService.hasRole(["Szervezo"]).subscribe(o=>this.isOrganizer=o),this.loggedInUserId=this.userService.getLoggedInUserId(),this.filterValues.enabled="1",this.conferenceObs$=this.conferenceService.conferenceObs,this.conferenceObs$.subscribe(o=>{this.loading=!1,o&&(this.tableData=o.rows||[],this.totalRecords=o.totalItems||0,this.page=o.currentPage||0)}),this.meals=this.mealService.getMealsForSelector(),this.responsiveService.isMobile$.subscribe(o=>{this.isMobile=o}),this.isFormValid$=this.formChanges$.pipe((0,Q.b)(300),(0,B.x)(),(0,O.U)(()=>this.conferenceForm.valid)),this.conferenceForm.valueChanges.subscribe(()=>this.formChanges$.next()),this.serviceMessageObs$=this.conferenceService.messageObs,this.serviceMessageObs$.subscribe(o=>this.handleMessage(o)),this.questionMessageObs$=this.questionService.messageObs,this.questionMessageObs$.subscribe(o=>this.handleMessage(o))}get id(){return this.conferenceForm.get("id")}get name(){return this.conferenceForm.get("name")}get beginDate(){return this.conferenceForm.get("beginDate")}get endDate(){return this.conferenceForm.get("endDate")}get firstMeal(){return this.conferenceForm.get("firstMeal")}get lastMeal(){return this.conferenceForm.get("lastMeal")}get contractorName(){return this.conferenceForm.get("contractorName")}get contractorAdress(){return this.conferenceForm.get("contractorAdress")}get contractorTaxNumber(){return this.conferenceForm.get("contractorTaxNumber")}get contactName(){return this.conferenceForm.get("contactName")}get contactEmail(){return this.conferenceForm.get("contactEmail")}get contactPhone(){return this.conferenceForm.get("contactPhone")}get formUrl(){return this.conferenceForm.get("formUrl")}get registrationEndDate(){return this.conferenceForm.get("registrationEndDate")}get guestEditEndDate(){return this.conferenceForm.get("guestEditEndDate")}get enabled(){return this.conferenceForm.get("enabled")}get questions(){return this.questionsForm.get("questions")}doQuery(){this.loading=!0;const n=Object.keys(this.filterValues).map(t=>this.filterValues[t].length>0?`${t}=${this.filterValues[t]}`:"").filter(t=>t.length>0).join("&");return""!==this.globalFilter?this.conferenceService.getBySearch(this.globalFilter,{sortField:this.sortField,sortOrder:this.sortOrder}):this.conferenceService.get(this.page,this.rowsPerPage,{sortField:this.sortField,sortOrder:this.sortOrder},n)}onFilter(o,n){let r="";"enabled"===n?r=o.checked?"1":"0":o instanceof Date?r=f(o).format("YYYY.MM.DD"):o&&(o.value||o.target?.value)?(r=o.value||o.target?.value,r=r.toString()):this.filterValues[n]="",this.filterValues[n]=r,["beginDate","endDate","firstMeal","lastMeal","enabled"].includes(n)?this.filterValues[n]===r&&this.doQuery():(this.debounce[n]&&clearTimeout(this.debounce[n]),this.debounce[n]=setTimeout(()=>{this.filterValues[n]===r&&this.doQuery()},500))}onLazyLoad(o){this.page=o.first/o.rows,this.rowsPerPage=o.rows??this.rowsPerPage,this.sortField=o.sortField??"",this.sortOrder=o.sortOrder??1,this.globalFilter=o.globalFilter??"",this.doQuery()}onGlobalFilter(o,n){o.filterGlobal(n.target.value,"contains")}onRowExpand(o){this.organizer=null;const n=o?.organizer_user_id;n&&this.userService.getUserById(n).subscribe(t=>{this.organizer=t})}handleMessage(o){o&&(this.loading=!1,"ERROR"==o?this.messageService.add({severity:"error",summary:"Error",detail:"Hiba t\xf6rt\xe9nt!"}):(this.messageService.add(o),this.tableItem={},this.selected=[],this.doQuery()))}initializeQuestionsForm(){const o=this.tableItem.questions,t=o&&o.length&&o[0].translations?o[0].translations:[];this.questionsForm=this.formBuilder.group({conferenceid:[this.tableItem.id],questions:this.formBuilder.array([])}),t.forEach(l=>{this.questions.push(this.formBuilder.group({hu:[l.hu],en:[l.en]},{validators:i=>{const o=i.get("hu")?.value,n=i.get("en")?.value;return o&&!n||!o&&n?{bothLanguagesRequired:!0}:null}}))});const r=5-this.questions.length;for(let l=0;l<r;l++)this.questions.push(this.formBuilder.group({hu:[""],en:[""]},{validators:i=>{const o=i.get("hu")?.value,n=i.get("en")?.value;return o&&!n||!o&&n?{bothLanguagesRequired:!0}:null}}));this.originalQuestionsFormValues=this.questionsForm.value}setFormUrl(){let o=this.tableItem.name||"";o=this.slugify(o),this.tableItem.formUrl=`/conference-form/${o}`}navigateToConferenceForm(o){const n=this.slugify(o.name);this.router.navigate(["/conference-form",n])}create(){this.conferenceForm.reset(this.initialFormValues),this.sidebar=!0}edit(o){this.conferenceForm.reset(this.initialFormValues),this.conferenceForm.patchValue(o),this.originalFormValues=this.conferenceForm.value,this.sidebar=!0}delete(){this.loading=!0,this.deleteDialog=!1,this.conferenceService.delete(this.tableItem)}deleteSelected(){this.loading=!0,this.deleteDialog=!1,this.conferenceService.bulkdelete(this.selected)}save(){if(this.conferenceForm.valid){this.loading=!0;const o=this.conferenceForm.value;o.id?this.conferenceService.update(o):this.conferenceService.create(o),this.sidebar=!1}}cancel(){this.conferenceForm.reset(this.originalFormValues)}editQuestions(o){this.tableItem=o,this.questionsForm.reset(),this.initializeQuestionsForm(),this.questionsSidebar=!0}saveQuestions(){this.loading=!0;const o={id:this.tableItem.questions&&this.tableItem.questions[0]?.id?this.tableItem.questions[0].id:null,conferenceid:this.tableItem.id,translations:this.questionsForm.value.questions};null==o.id?this.questionService.create(o):this.questionService.update(o),this.questionsSidebar=!1}cancelQuestions(){this.questionsForm.reset(this.originalQuestionsFormValues)}slugify(o){if(!o)return"";const n={\u00e1:"a",\u00e9:"e",\u00ed:"i",\u00f3:"o",\u00f6:"o",\u0151:"o",\u00fa:"u",\u00fc:"u",\u0171:"u",\u00c1:"A",\u00c9:"E",\u00cd:"I",\u00d3:"O",\u00d6:"O",\u0150:"O",\u00da:"U",\u00dc:"U",\u0170:"U"};return(o=o.split("").map(t=>n[t]||t).join("")).trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}copyUrl(o){navigator.clipboard.writeText(o),this.messageService.add({severity:"success",summary:"Regisztr\xe1ci\xf3s link v\xe1g\xf3lapra m\xe1solva",detail:o})}getMealStyle(o){switch(o){case"reggeli":return"breakfast";case"eb\xe9d":return"lunch";case"vacsora":return"dinner";default:return"nothing"}}ngOnDestroy(){}static#e=this.\u0275fac=function(n){return new(n||F)(e.Y36(Y.K),e.Y36(_.F0),e.Y36(c.qu),e.Y36(E.Z),e.Y36(P),e.Y36(V.Q),e.Y36(U.s),e.Y36(g.ez),e.Y36(G.k))};static#t=this.\u0275cmp=e.Xpm({type:F,selectors:[["conference"]],features:[e._Bn([g.ez])],decls:126,vars:66,consts:[[1,"grid"],[1,"col-12"],[1,"card","px-0","py-0"],["dataKey","id","responsiveLayout","scroll","currentPageReportTemplate","{first} - {last} bejegyz\xe9s a(z) {totalRecords}-b\xf3l megjelen\xedt\xe9se","selectionMode","multiple",3,"value","rows","totalRecords","globalFilterFields","paginator","rowsPerPageOptions","showCurrentPageReport","selection","tableStyle","rowHover","lazy","selectionChange","onRowExpand","onLazyLoad"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","rowexpansion"],["pTemplate","emptymessage"],["id","sidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],["novalidate","",1,"grid","formgrid","p-fluid",3,"formGroup","ngSubmit"],["formControlName","id","type","hidden"],[1,"field","mb-4","col-12"],["for","name",1,"font-medium","text-900"],["id","name","type","text","pInputText","","formControlName","name"],["class","block p-error",4,"ngIf"],["for","formUrl",1,"font-medium","text-900"],[1,"block","mt-2","md:mt-0","p-input-icon-right"],[1,"pi","pi-copy","cursor-pointer","hover:text-blue-500",3,"click"],["id","formUrl","type","text","pInputText","","formControlName","formUrl","readonly",""],[1,"field","mb-4","col-12","lg:col-6"],["for","beginDate",1,"font-medium","text-900"],["formControlName","beginDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","firstMeal",1,"font-medium","text-900"],["controlName","firstMeal",3,"parentForm"],["for","endDate",1,"font-medium","text-900"],["formControlName","endDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","lastMeal",1,"font-medium","text-900"],["controlName","lastMeal",3,"parentForm"],["for","contractorName",1,"font-medium","text-900"],["id","contractorName","type","text","pInputText","","formControlName","contractorName"],["for","contractorTaxNumber",1,"font-medium","text-900"],["id","contractorTaxNumber","type","text","pInputText","","formControlName","contractorTaxNumber"],["for","contractorAdress",1,"font-medium","text-900"],["id","contractorAdress","type","text","pInputText","","formControlName","contractorAdress"],["for","organizer",1,"font-medium","text-900"],["controlName","organizer_user_id",3,"parentForm","user_rolesid"],["for","contactName",1,"font-medium","text-900"],["id","contactName","type","text","pInputText","","formControlName","contactName"],["for","contactPhone",1,"font-medium","text-900"],["id","contactPhone","type","text","pInputText","","formControlName","contactPhone"],["for","contactEmail",1,"font-medium","text-900"],["id","contactEmail","type","text","pInputText","","formControlName","contactEmail"],["for","registrationEndDate",1,"font-medium","text-900"],["formControlName","registrationEndDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","guestEditEndDate",1,"font-medium","text-900"],["formControlName","guestEditEndDate","appendTo","body","dataType","string","dateFormat","yy-mm-dd",3,"showButtonBar"],["for","enabled",1,"font-medium","text-900"],[1,"block"],[1,"flex","align-items-center","vertical-align-middle",2,"min-height","44px"],["id","enabled","formControlName","enabled",3,"styleClass"],[1,"pl-2","font-normal","vertical-align-middle"],["pTemplate","footer"],["id","questionsSidebar","position","right","styleClass","p-sidebar-md",3,"visible","transitionOptions","fullScreen","blockScroll","visibleChange"],[1,"block","text-sm","mb-0"],["novalidate","",1,"p-fluid",3,"formGroup","ngSubmit"],["formControlName","conferenceid","type","hidden"],["formArrayName","questions",1,"flex","flex-wrap","w-full"],["class","w-full mt-3",3,"formGroupName",4,"ngFor","ngForOf"],["header","T\xf6rl\xe9s",3,"visible","modal","visibleChange"],[1,"flex","align-items-center","justify-content-center"],[1,"pi","pi-exclamation-triangle","mr-3",2,"font-size","2rem"],[4,"ngIf"],[3,"autoZIndex","blocked"],[1,"flex","flex-column","md:flex-row","md:justify-content-between","md:align-items-center"],[1,"m-0"],[1,"block","mt-2","md:mt-0","p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Keres\xe9s...",1,"w-full","sm:w-auto",3,"input"],[1,"block","mt-2","md:mt-0"],["pButton","","pRipple","","label","\xdaj","icon","pi pi-plus",1,"p-button-success","mr-2",3,"disabled","click"],["pSortableColumn","name"],["field","name"],["pSortableColumn","beginDate"],["field","beginDate"],["pSortableColumn","firstMeal"],["pSortableColumn","endDate"],["field","endDate"],["pSortableColumn","lastMeal"],["pInputText","","type","text","placeholder","Keres\xe9s...",2,"width","40%","min-width","22rem",3,"input"],["appendTo","body","dataType","string","placeholder","Keres\xe9s...",3,"showButtonBar","onSelect","onClearClick"],["placeholder","Keres\xe9s...",3,"showNothing","showClear","change"],[1,"flex","align-items-center","vertical-align-middle"],["id","enabled",3,"ngModel","styleClass","onChange"],[1,"pr-0"],["type","button","styleClass","p-button-rounded p-button-text","pRipple","",3,"pRowToggler","icon"],[2,"width","30%","min-width","15rem"],[1,"p-column-title"],[2,"width","14%","min-width","10rem"],[1,"calendar-badge"],[1,"pi","pi-calendar","mr-1"],[3,"ngClass"],[1,"flex"],["pButton","","pRipple","","icon","pi pi-copy","pTooltip","Regisztr\xe1ci\xf3s link m\xe1sol\xe1sa v\xe1g\xf3lapra","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-search","pTooltip","Regisztr\xe1ci\xf3s \u0171rlap megnyit\xe1sa","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"click"],["pButton","","pRipple","","icon","pi pi-question","pTooltip","Extra k\xe9rd\xe9sek be\xe1ll\xedt\xe1sa","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-pencil","pTooltip","Konferencia szerkeszt\xe9se","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"disabled","click"],["pButton","","pRipple","","icon","pi pi-trash","pTooltip","Konferencia t\xf6rl\xe9se","tooltipPosition","top",1,"p-button-rounded","p-button-warning",3,"disabled","click"],["colspan","10"],[1,"p-2"],[1,"w-full"],[1,"grid","w-full"],[1,"col-6"],["cellspacing","0","cellpadding","7"],[1,"font-medium"],[3,"href"],[1,"col-5"],[4,"ngFor","ngForOf"],["width","10rem","styleClass","mb-2"],["class","flex flex-column w-full mb-3",4,"ngIf"],[1,"flex","flex-column","w-full","mb-3"],[1,"font-medium","text-900"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-hu","mr-1",2,"width","18px"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-gb","mr-1",2,"width","18px"],[1,"text-center"],[1,"font-semibold","text-xl"],[1,"block","p-error"],[1,"flex","justify-content-end","ap-2"],["pButton","","pRipple","","label","M\xe9gsem","icon","pi pi-times",1,"p-button-outlined",3,"disabled","click"],["pButton","","pRipple","","label","Ment\xe9s","icon","pi pi-check",1,"p-button","ml-2",3,"disabled","click"],[1,"w-full","mt-3",3,"formGroupName"],[1,"font-medium","text-900","mb-2",3,"for"],[1,"block","mt-2","p-input-icon-left"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-hu",2,"width","18px","margin-top","-8px"],["type","text","pInputText","","formControlName","hu",1,"w-full",3,"id"],["src","assets/demo/images/flag/flag_placeholder.png",1,"flag","flag-gb",2,"width","18px","margin-top","-8px"],["type","text","pInputText","","formControlName","en",1,"w-full",3,"id"],["pButton","","pRipple","","label","Nem","icon","pi pi-times",1,"p-button-outlined",3,"click"],["pButton","","pRipple","","label","Igen","icon","pi pi-check",1,"p-button","ml-2",3,"click"]],template:function(n,t){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-table",3,4),e.NdJ("selectionChange",function(l){return t.selected=l})("onRowExpand",function(l){return t.onRowExpand(l.data)})("onLazyLoad",function(l){return t.onLazyLoad(l)}),e.YNc(5,_e,9,1,"ng-template",5),e.YNc(6,Ze,36,12,"ng-template",6),e.YNc(7,Ce,38,19,"ng-template",7),e.YNc(8,qe,69,21,"ng-template",8),e.YNc(9,Ee,3,1,"ng-template",9),e.qZA()(),e.TgZ(10,"p-sidebar",10),e.NdJ("visibleChange",function(l){return t.sidebar=l}),e.YNc(11,Ue,2,1,"ng-template",6),e.TgZ(12,"form",11),e.NdJ("ngSubmit",function(){return t.save()}),e._UZ(13,"input",12),e.TgZ(14,"div",13)(15,"label",14),e._uU(16,"Konferencia neve"),e.qZA(),e._UZ(17,"input",15),e.YNc(18,ye,2,0,"div",16),e.qZA(),e.TgZ(19,"div",13)(20,"label",17),e._uU(21,"Regisztr\xe1ci\xf3s \u0171rlap link"),e.qZA(),e.TgZ(22,"span",18)(23,"i",19),e.NdJ("click",function(){return t.copyUrl(null==t.formUrl?null:t.formUrl.value)}),e.qZA(),e._UZ(24,"input",20),e.qZA(),e.YNc(25,Ne,2,0,"div",16),e.qZA(),e.TgZ(26,"div",21)(27,"label",22),e._uU(28,"Kezdete"),e.qZA(),e._UZ(29,"p-calendar",23),e.YNc(30,Se,2,0,"div",16),e.qZA(),e.TgZ(31,"div",21)(32,"label",24),e._uU(33,"Els\u0151 \xe9tkez\xe9s"),e.qZA(),e._UZ(34,"app-meal-selector",25),e.YNc(35,ze,2,0,"div",16),e.qZA(),e.TgZ(36,"div",21)(37,"label",26),e._uU(38,"V\xe9ge"),e.qZA(),e._UZ(39,"p-calendar",27),e.YNc(40,ke,2,0,"div",16),e.qZA(),e.TgZ(41,"div",21)(42,"label",28),e._uU(43,"Utols\xf3 \xe9tkez\xe9s"),e.qZA(),e._UZ(44,"app-meal-selector",29),e.YNc(45,De,2,0,"div",16),e.qZA(),e.TgZ(46,"div",21)(47,"label",30),e._uU(48,"Szerz\u0151d\u0151 neve"),e.qZA(),e._UZ(49,"input",31),e.YNc(50,Me,2,0,"div",16),e.qZA(),e.TgZ(51,"div",21)(52,"label",32),e._uU(53,"Szerz\u0151d\u0151 ad\xf3sz\xe1ma"),e.qZA(),e._UZ(54,"input",33),e.YNc(55,Je,2,0,"div",16),e.qZA(),e.TgZ(56,"div",21)(57,"label",34),e._uU(58,"Szerz\u0151d\u0151 c\xedme"),e.qZA(),e._UZ(59,"input",35),e.YNc(60,we,2,0,"div",16),e.qZA(),e.TgZ(61,"div",21)(62,"label",36),e._uU(63,"Szervez\u0151"),e.qZA(),e._UZ(64,"app-user-selector",37),e.qZA(),e.TgZ(65,"div",21)(66,"label",38),e._uU(67,"Kapcsolattart\xf3 neve"),e.qZA(),e._UZ(68,"input",39),e.YNc(69,Ie,2,0,"div",16),e.qZA(),e.TgZ(70,"div",21)(71,"label",40),e._uU(72,"Kapcsolattart\xf3 telefonsz\xe1ma"),e.qZA(),e._UZ(73,"input",41),e.YNc(74,Re,2,0,"div",16),e.qZA(),e.TgZ(75,"div",21)(76,"label",42),e._uU(77,"Kapcsolattart\xf3 e-mail c\xedme"),e.qZA(),e._UZ(78,"input",43),e.YNc(79,Qe,2,0,"div",16),e.YNc(80,Be,2,0,"div",16),e.qZA(),e.TgZ(81,"div",21)(82,"label",44),e._uU(83,"Regisztr\xe1ci\xf3 v\xe9ge"),e.qZA(),e._UZ(84,"p-calendar",45),e.YNc(85,Oe,2,0,"div",16),e.qZA(),e.TgZ(86,"div",21)(87,"label",46),e._uU(88,"Vend\xe9g m\xf3dos\xedt\xe1s hat\xe1rideje"),e.qZA(),e._UZ(89,"p-calendar",47),e.YNc(90,$e,2,0,"div",16),e.qZA(),e.TgZ(91,"div",21)(92,"label",48),e._uU(93,"Enged\xe9lyezve"),e.qZA(),e.TgZ(94,"div",49)(95,"div",50),e._UZ(96,"p-inputSwitch",51),e.TgZ(97,"span",52),e._uU(98),e.qZA()()(),e.YNc(99,Ke,2,0,"div",16),e.qZA()(),e.YNc(100,Ye,3,2,"ng-template",53),e.qZA(),e.TgZ(101,"p-sidebar",54),e.NdJ("visibleChange",function(l){return t.questionsSidebar=l}),e.YNc(102,Pe,2,0,"ng-template",6),e.TgZ(103,"p",55),e._uU(104," \u0170rlaponk\xe9nt az alap\xe9rtelmezett mez\u0151k\xf6n fel\xfcl 5 extra k\xe9rd\xe9s tehet\u0151 fel."),e._UZ(105,"br"),e._uU(106," Az \xfcresen hagyott k\xe9rd\xe9sek nem fognak megjelenni az \u0171rlapon. "),e.qZA(),e.TgZ(107,"form",56),e.NdJ("ngSubmit",function(){return t.saveQuestions()}),e._UZ(108,"input",57),e.TgZ(109,"div",58),e.YNc(110,Ge,12,6,"div",59),e.qZA()(),e.YNc(111,Le,3,2,"ng-template",53),e.qZA(),e.TgZ(112,"p-dialog",60),e.NdJ("visibleChange",function(l){return t.deleteDialog=l}),e.TgZ(113,"div",61),e._UZ(114,"i",62),e.YNc(115,je,5,1,"span",63),e.qZA(),e.YNc(116,He,3,0,"ng-template",53),e.qZA(),e.TgZ(117,"p-dialog",60),e.NdJ("visibleChange",function(l){return t.bulkDeleteDialog=l}),e.TgZ(118,"div",61),e._UZ(119,"i",62),e.TgZ(120,"span"),e._uU(121,"Biztosan t\xf6r\xf6lni akarja a kiv\xe1lasztott konferenci\xe1kat?"),e.qZA()(),e.YNc(122,Xe,3,0,"ng-template",53),e.qZA()()(),e.TgZ(123,"p-blockUI",64),e._UZ(124,"p-progressSpinner"),e.qZA(),e._UZ(125,"p-toast")),2&n&&(e.xp6(3),e.Q6J("value",t.tableData)("rows",t.rowsPerPage)("totalRecords",t.totalRecords)("globalFilterFields",e.DdM(61,We))("paginator",!0)("rowsPerPageOptions",t.rowsPerPageOptions)("showCurrentPageReport",!0)("selection",t.selected)("tableStyle",e.DdM(62,et))("rowHover",!0)("lazy",!0),e.xp6(7),e.Q6J("visible",t.sidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",t.isMobile)("blockScroll",!0),e.xp6(2),e.Q6J("formGroup",t.conferenceForm),e.xp6(6),e.Q6J("ngIf",(null==t.name?null:t.name.dirty)&&(null==t.name||null==t.name.errors?null:t.name.errors.required)),e.xp6(7),e.Q6J("ngIf",(null==t.formUrl?null:t.formUrl.dirty)&&(null==t.formUrl||null==t.formUrl.errors?null:t.formUrl.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.beginDate?null:t.beginDate.dirty)&&(null==t.beginDate||null==t.beginDate.errors?null:t.beginDate.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm),e.xp6(1),e.Q6J("ngIf",(null==t.firstMeal?null:t.firstMeal.dirty)&&(null==t.firstMeal||null==t.firstMeal.errors?null:t.firstMeal.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.endDate?null:t.endDate.dirty)&&(null==t.endDate||null==t.endDate.errors?null:t.endDate.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm),e.xp6(1),e.Q6J("ngIf",(null==t.lastMeal?null:t.lastMeal.dirty)&&(null==t.lastMeal||null==t.lastMeal.errors?null:t.lastMeal.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorName?null:t.contractorName.dirty)&&(null==t.contractorName||null==t.contractorName.errors?null:t.contractorName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorTaxNumber?null:t.contractorTaxNumber.dirty)&&(null==t.contractorTaxNumber||null==t.contractorTaxNumber.errors?null:t.contractorTaxNumber.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contractorAdress?null:t.contractorAdress.dirty)&&(null==t.contractorAdress||null==t.contractorAdress.errors?null:t.contractorAdress.errors.required)),e.xp6(4),e.Q6J("parentForm",t.conferenceForm)("user_rolesid",4),e.xp6(5),e.Q6J("ngIf",(null==t.contactName?null:t.contactName.dirty)&&(null==t.contactName||null==t.contactName.errors?null:t.contactName.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contactPhone?null:t.contactPhone.dirty)&&(null==t.contactPhone||null==t.contactPhone.errors?null:t.contactPhone.errors.required)),e.xp6(5),e.Q6J("ngIf",(null==t.contactEmail?null:t.contactEmail.dirty)&&(null==t.contactEmail||null==t.contactEmail.errors?null:t.contactEmail.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==t.contactEmail?null:t.contactEmail.dirty)&&(null==t.contactEmail||null==t.contactEmail.errors?null:t.contactEmail.errors.invalidEmail)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.registrationEndDate?null:t.registrationEndDate.dirty)&&(null==t.registrationEndDate||null==t.registrationEndDate.errors?null:t.registrationEndDate.errors.required)),e.xp6(4),e.Q6J("showButtonBar",!0),e.xp6(1),e.Q6J("ngIf",(null==t.guestEditEndDate?null:t.guestEditEndDate.dirty)&&(null==t.guestEditEndDate||null==t.guestEditEndDate.errors?null:t.guestEditEndDate.errors.required)),e.xp6(6),e.Akn(e.DdM(63,tt)),e.Q6J("styleClass","vertical-align-middle"),e.xp6(2),e.hij(" ",null!=t.enabled&&t.enabled.value?"Igen":"Nem"," "),e.xp6(1),e.Q6J("ngIf",(null==t.enabled?null:t.enabled.dirty)&&(null==t.enabled||null==t.enabled.errors?null:t.enabled.errors.required)),e.xp6(2),e.Q6J("visible",t.questionsSidebar)("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)")("fullScreen",t.isMobile)("blockScroll",!0),e.xp6(6),e.Q6J("formGroup",t.questionsForm),e.xp6(3),e.Q6J("ngForOf",t.questions.controls),e.xp6(2),e.Akn(e.DdM(64,w)),e.Q6J("visible",t.deleteDialog)("modal",!0),e.xp6(3),e.Q6J("ngIf",t.tableItem),e.xp6(2),e.Akn(e.DdM(65,w)),e.Q6J("visible",t.bulkDeleteDialog)("modal",!0),e.xp6(6),e.Q6J("autoZIndex",!0)("blocked",t.loading))},dependencies:[p.mk,p.sg,p.O5,u.iA,g.jx,u.lQ,u.jB,u.fz,h.Hq,h.zx,c._Y,c.Fj,c.JJ,c.JL,c.On,c.sg,c.u,c.x0,c.CE,y.H,N.FN,Z.o,S.V,C.Y,z.G,k.b,v.u,D.f,M.O,J.Ql,L.H,j.T,he,p.uU],encapsulation:2})};T=(0,I.gn)([(0,$.k)()],T);let nt=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[_.Bz.forChild([{path:"",component:T}]),_.Bz]})}return i})();var ot=s(2610),it=s(6340),rt=s(6022),lt=s(6218),st=s(2160),at=s(1865),ct=s(9653),ut=s(6263),pt=s(5389),dt=s(8057),mt=s(2285),gt=s(9444);let ft=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=e.oAB({type:i});static#n=this.\u0275inj=e.cJS({imports:[p.ez,nt,u.U$,ot.O,c.u5,c.UX,h.hJ,y.T,N.EV,it.V,rt.Xt,Z.j,lt.A,st.kW,at.cc,ct.L$,S.S,C.l,z.L,k.u,ut.W,pt.dp,v.z,dt.nD,D._8,M.m,J.Iu,mt.L,gt.y]})}return i})()}}]);
path: docs/5780.b402e2c08aa7cbb5.js
user: login: bito-code-review[bot]
body: 
<div>


<div id="suggestion">
<div id="issue"><b>Consider fixing unused expressions</b></div>
<div id="fix">

There are multiple instances of unused expressions in `docs/5780.b402e2c08aa7cbb5.js`. These expressions have no effect as they're neither assigned to variables nor used in function calls. This could indicate unintended behavior or missing code. Consider either assigning these expressions to variables, using them in function calls, or removing them if unnecessary. There are over 40 similar issues throughout this file.
</div>
<details>
<summary>
<b>Code suggestion</b>
</summary>
<blockquote>Check the AI-generated fix before applying</blockquote>
<div id="code">


```
 -"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[5780],{5780:(vt,A,s)=>{s.r(A),s.d(A,{ConferenceModule:()=>ft});
 +"use strict";(self.webpackChunknfc_reserve=self.webpackChunknfc_reserve||[]).push([[5780],{5780:(vt,A,s)=>{s.r(A),s.d(A,{ConferenceModule:()=>ft}); // Expressions should be used in assignments or function calls
```

</div>
</details>
</div>


<small><i>Code Review Run <a href=https://github.com/mbair/Zichy2/pull/67#issuecomment-2720466264>#b3350c</a></i></small>
</div>

---
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- [ ] Yes, avoid them
created_at: 2025-03-13T09:17:37Z
author_association: NONE

PR comments:
user: login: coderabbitai[bot]
created_at: 2025-03-13T08:54:30Z
body: <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: failure by coderabbit.ai -->

> [!CAUTION]
> ## Review failed
> 
> The pull request is closed.

<!-- end of auto-generated comment: failure by coderabbit.ai -->
<!-- walkthrough_start -->

## Walkthrough
This update replaces an old ConferenceModule and RoomModule with new implementations, updating the underlying functionality for managing conference data and room selections. It also adjusts script references and package versions and enhances Angular component forms by introducing a unified defaults object and a new `familyRoom` property. UI elements have been refined with additional styling and validation changes.

## Changes

| File(s) | Change Summary |
|---------|----------------|
| `docs/5780.719aab57f94bbc63.js`<br>`docs/5780.b402e2c08aa7cbb5.js` | Removed the old ConferenceModule and introduced a new ConferenceModule with methods (`get`, `getBySearch`, `create`, `update`, `delete`, `bulkdelete`) to manage conference data using observables. |
| `docs/7883.4fb186bf3de38bc2.js`<br>`docs/7883.7c4f95d933064119.js` | Added a new RoomModule with `app-bathroom-selector` and `app-floor-selector` components while removing the previous RoomModule implementation. |
| `docs/index.html`<br>`docs/runtime.7bc6bd97a8f467fa.js` | Updated script tags: new runtime and main script sources and updated internal chunk identifier mappings. |
| `package.json` | Updated package version from "1.10.26" to "1.10.29". |
| `src/app/demo/api/room.ts`<br>`src/app/demo/components/conference/*`<br>`src/app/demo/components/guest/guest.component.html`<br>`src/app/demo/components/room/*` | Enhanced Angular component implementations: added an optional `familyRoom` property to the Room interface; refactored form initialization using `initialFormValues`; modified UI elements including input switches, error messages, and removed a conditional `[readonly]` from a room number input; and added form controls and getters for the new `familyRoom` field. |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant U as User
    participant CC as ConferenceComponent
    participant CM as ConferenceModule
    participant API as API Service
    U->>CC: Initiates conference operation
    CC->>CM: Calls get/create/update/delete method
    CM->>API: Sends API request
    API-->>CM: Returns response
    CM-->>CC: Updates observables & UI
```

```mermaid
sequenceDiagram
    participant U as User
    participant RC as RoomComponent
    participant RM as RoomModule
    participant UI as Angular UI
    U->>RC: Interacts with room selection
    RC->>RM: Processes selection (bathroom, floor, familyRoom)
    RM-->>RC: Returns updated data
    RC->>UI: Updates form and displays validation messages
```

## Possibly related PRs
- **mbair/Zichy2#59**: Introduces a new ConferenceModule with CRUD operations similar to the changes here.
- **mbair/Zichy2#64**: Removes the old ConferenceModule and implements a new one with updated methods for managing conference data.
- **mbair/Zichy2#52**: Incorporates a new ConferenceModule with similar API integration and observables for conference management.

## Poem
> In code fields vast I hop with delight,  
> New modules bloom in the soft morning light.  
> Conference and rooms now sing in tune,  
> Form defaults and toggles under the moon.  
> A rabbit cheers for changes bright! 🐇

<!-- walkthrough_end -->
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEejqANiS4ARElIv5ubDLgMA5bMwGUuANgB2AwBVRF9Ib20KI31jcCgyenwAMxwCYjJlGnomVnYuXn5hUXEpGXkmJSpVdS0dWJMoOFRUTDTCUnIqbIU81y4qAHdIRC9mNAp5OQUqlTVNbV0wQzjTA1p8BkQAegBWAIAOAAYNAIBGAE40FX3ki4AWVQY/AGYNIUQOAwAiX4MAYn+kAAggBJDJdah0EZjCbyFKMWCYUiIMywEiQJRWHrJeBWSAAAw2Wz2hxO5yuNwCd0eAmebw+BIUrm05HoaAiimw+OS+D44wwaCI8AwRGZyUoZAYGIo+BY6EQiHgRAwLlwyEG6gQWA5gxIAnQ3G4FngDGo8HwGA0MHRCgoGOS2AwYgtgpNuHkIoYFmwSnobFwsEUyF5fHtuAo8HsIqIABpGPbzaL49huLQk3H0Bh6FiSOJReLJc6SGB7RYoTnqGhrXAMcwufi8Hj4AAvaFtYEABVBI0oElNGIIKFcyjEkE1gcgAjQDAA1olIIluPgRerIKH+Nwsq7kKMGLAFeu8/uY5AAI7YaTiS2IeNhCYngsb2UsW9Z/2YIWnpgYCX24uYnm2gWIgGhGAA0iQ8gBkGtDIF6Pp+l8UAEqQuAElwABix7osgF5XjuU5oGESRYD+f5ShimD0C+zAoEorjwLilBvki2YmgWe7Soq76LhQsphtIy4YGEyBDqm6Y0EUYQUBIKj4pJHKIBGJBoMwoEGChaEAEKyAAyqpFD7hhkAGQ+uHrny56XsphHTiR/BYIgW4MExUY5JGNCRmgd7wMweITBY8gSRm0l9vJ0hEQ5logt2kD2s5N7SGBKEMImNAEvGBIhRl8bUYSuYZVwACyeawSGVkCl+BaBhiJoSgwsjehiCLkUW0rWQRN7xqp+6QGxtAcWKXY9quo7XiJvE5ae2AyUedDTnOETSIgQqRamMVcSt/B8MkwHYPaKWEgI3KzoVJAmZhM7NrgFaQLVgHYq6/CpMw3LiMaGL4bZN7oLgjnSnlRCsjwsr9rQM1zRKC0zrOUXQjFD1ONuloAOS7tgDDcRpBi1pytDclRIH4MO3q+gjAgyXJAhWBV/KfsKnG3VJ+WzZQy2Kmtb5kKMkY1Ui/0PcEPZMNyNG9aUJBBZiSDGmgwVplCMjEQjWBs3wY1UC6v35SN8VCUloGQAAovxVkDUN47ESgzCfWq0JDma3C4AdVHZvr5aeoqNlEUtQ4Perw5eXtgOLhgbGufzGKByQAAeW6RpRU7yLw+Dg6eflsBDULzbQi2zmBBgAPJSFQFgWPGD31gT+KDNbY1EGX90kw9jrOhNaDuvCqQPW1/4dVVpBqiMsjKSQzB5eX+CagW6tiSTJDJA1kvS4PMpynRxFKiqarIPlZZ3YphdGICIIWF55q/f7tpKN6EyX5NCJx8uFA9FZ3DYDTpph+I4jSDEkAADC5YeL2nrFIWgXACSAMtBRYsxUGwXWHAVTYOx9jHFOJca4AhbgPCeK8d4iACQ/D+JpNYxI0Fkg0AIe4RwABMJA6EMCOAca4AQGCqF2IQr4vxvgAiBGCCEWRoSjFYHCF6iJkT/1xraVO4NoQACk0ByT0mleAzt1x4gxKuWUBNuLoEgOQYY1dCZZRgb+dqJAEE1wuvGQYCA+pSjQNwUY5YaAhidNrN06h5AHx6EOQe35YGWNLFLQ+VZeLI26DuGstoTH4gQuTPejAQFiQFkHcaGotRZlij2KmA5m48EoKGOigCABKwQbCbhRo/MiwT+4YkUvGRJEMCxpVUvmTM01kyPTzDGPK7t7xGW1GKDcfdKJG1BP9JsJo2zIEEFTCK88IgM0aRE5SiZ1KWT4N9Cae93ZsE5iieMcj4CtLFImF0UhIA5UitfDEwtC54zvjxJQuJyC7nsMoCwy1AzBmQoSNCJkyl5kTmUTqP1Jr2VVoWBpkBQRVPyk4DuPzEB8k6Twe+AYWJHVQnmXSZlhkmUJfuSKG5dl2RVqRAxQy+peU3u7ZFrpO4jHRTGXF7SoTEs/v5NcHIjEQomoUh6et8oW0iltHi+VKACQ5qtFEuLbkmWCIrdxOS45IAxRSmK+U14hhIDDJahz5XJU0gVKWeYLq2AtWqjk2qdTu1OUoZAgdoZ51hrik6Fgzo2qtZAOw2JIpvXPuo/E9r4JYEtDKEguzeLiuQAlYSoknlxMQegYmpNEKRTkpGfAs0wqySWYUte91bTKRzgiRSvFjVcx6iJA6p5AzUFLQ8ns9pkhWDEGkjEDADr/n+uWqSCIHrOONKaB+1pTayothneCtsrD23oCKRcM4Dx6zNOXFMqrG1xJWmtAt1Na7ZNHbKXg8Ac5uvztsltNyZIprrGm1AGzMYu3tPQIcowjTopBKKbkEx0aAS3NmKUnoMAiC8ZPRwM8xTqEKT4UGaczntkFraF8/0rAOHjOMWcGd/ozmxvAGmg5YCymwEQIMeAb2jpNGaCax9+Fnwvns4VN9RDlmib9J+8d0UIz4B/L+DAf7qCjKiM1wCt7oFoEhQk5i4HSmsYTJky6iSoNJBgmh9DGHMNYWgdhnDCHEKgKVP57IpN0CgWhAAFBgSu8YKDxgsAASiU2RVJMn6mUQU1YFzKCSToJOBphhTCWFsI4TggzZrjOwUk9JvFuACWGX3NZyuznkEvOQNAjz8DEE+ZU35qhgWtMhd02FrhjJItlUUDF8zhJOU0Gs6l5d6X3MWIaV5pBymKFqYC7QoL2nQv6fK0ZyrpnYu3Iaz55rmXWueZy8gvLlD1O9aKzpvT4WhuQCi1VtAZnIHmsDRNtLbnptyasXNzrqn/PUOW8F1bpWIvDZM9VvbBIvU+oOxgRrrmJMncse13LXWruFduwN9bRCSF8LIWAIwXXDgHDePcZIAgzgHD8AIZILwlAvAOHSOh3CIcMcEZ0YR9BRHjEmBI/cUjRN4wFbiBJrhdGY0ihyeJDpKoM1PLRXi4yAJhE7cxic2oDF6gNNR8ddH4X/TeSKO5gwSbjCaywYS7BPiElHWAacgZaJgH5yUPkTJ8oEg1x2uUFBdcWrEAbuxDiDydyg7elihS9dji1yRje+z6Cm75G+RNJRJBS1kJO1dvQVeuBueIWZkVgS/vYwBy5kttlbICaskYzM3b0HFY7jWGAP6aBtD25XUbXDIHHrBr5Jfxzoicpb5jVPRQkHjCHG6oVchvQwBL56QvMX9tD8X9U97CRlI3v9lAyAZdsht6aA8fkX5rnINjcRMeiB/v5Igz3gE74JRvbkMPA+C99/IJXlpg5x5yzVRuWgp6NiDEmk26XstPabmY9C6lEZMCIDcYRVmc0Xd7NiY0tftPJNBMIXr+MqK7O+iTIgEGMMM1BMM/t/u7FnvXiiKWqRuRouFIOHmXrgF5DjFOubNRJbC0M6HyC/HdNrnmpgcvqvgBiUpAHJCaJJK6HWrzDus2vaBePAG+polLHBOgPaJouXAjJRj4KGBiKMAIP5IqK6AAYfqrummiisoKKQC2jwRkhQG6GnlCHeJjHbp8gLtCG7rRBvt7hQG+KzKqsRq2ugFjHyOckFIPvTtos6FmsgDmhaPmjMj4uuJ4sxs+IkJQI2mfm4izgcpzgWFfk4DflgD4EiP2HyGwQ2gWByImjeAHrxJrDOInjHPHMEZRPIWnN8qihGC+q7JJuiNvkOLQXHsgLvv3prlSoISeDQGIK7CcrKPWBivaLNCoDdPILqqyLdCKP0V3PRqfMCOfDUssg9LfOxg/PMqkM/DxkkHxp/DRkJn/KJgSLsZFmmjtrFsPiwKPhdiSHDgjkjijmjhjljjjgwHjhtjArbP3s9lAhriYRvBbgLgbvNrDgcPDhoIjsjqjujpjiQNjrjg9kAkXkfnhrtu8UaGAOYd8frhQADqphcUCVcaCbcRCfcY8eDrscQrwjEOQpiQCW8OwojhcLsLQBcC8C8EcH4PcGcJcPjqSZMeCMTt0CIrCBTq1GxCiGiI0r6l7lor5jsFidSXcHSQyUySyWyRcAZsyCMWyAYmzterqPqIaGOrRqwSMC5G5ButLH4g7CTByIHJrCHOzvTKoVzh7jzlltxPIZqSfvQJ4XmvUbCYoflPkvovfuuNdO6JQWWrXs9EMaoePOwBIqYfGJ8a+AMl7o4D7uOFqMupaXNNaTOCQNaJBPIG3F4p3MJpFO6V8AYGcNaAAFRVnHEMr0CyaWKbarJqg1lcB4yalOrQgNFwl0y9gC4OmvjVqRFii1QaHUARiEZ4DSB6F9TWzc4YBeA+D2YzCN6GJLnswIg+BwR3jcCgFTh0BvgJnqRJlTjYB4jnLDglITpS7ppQbQhzyFJ1Zrl0DqCnnnTxQbw/yJw4x46QA1k2CyCCj+SCaYR8jqRtkH6ak+Ftjiw5GZElLLJZ5Wm554DJF8yjnpJzERJ1weHFmSTtgRFRn0CLzLwB5OG3nulJ6qmyggTXqen5oTmRgnRqoIhxlpmThMFnIPzxSEx7xGgmjmlhy8xrK3QZKNw+KFxvD/lVk2BAG368QGQDkxTPF76ICQUdlpoSjUCQGYjyWTQbh/6njHlmEpkWF2LZK0BAVqTfy3LKzRRqy/7hk3jWhTJKEkxUU0DzpKzXoQzOSeynhMq/QZnZ7ImJzsTQSYBdCFz3DVlVnGzYH/QAASxBMYGlqaNiNsds7A0IFe/0M6T4VkKFF8Xib4e4BhkiDeEa/Z/ulozSqF/0eVlh7sDBUhMhSoLlt5uBPQTVhSGA+A4gyQ8ItUfAPZihgp1OTewZ6goUaREsmRqcjcak/kBY1cUshcXCMlAAMpsMWS2A/OlQ+plZ+nPtCI4Buq2A/JBtPKeBuO/iJF/pxqkOWD4HRbqnumga/o5DeurABuWL+vurwIvJYjjH4HFYQXwClexGlVWe2RlYTJmuTP6KIGxEgFshuAVWKDKqmQTBhbkowPbhvsVeNDuJ0YhpeZerDIUo+VQWRgeDWgqkYAEHFaEOzMPviMVC2ewJBW5aSnOA+XNLRXciTEoPSrLkUhQO1YRGMulP0ouBDJ0vGFZIVIOXROwD+ehRwf9JaNLGgHgEGJGLBdnt6WLBLa1TzMJtcvBS5UYCXCUZXPDbXPXCOEtT8vcn4e3Myl3BIiOgJZ3nVQhunKkaHvaNXkqNctmR1BuIEgWDrmaZWGJT/uzNkaVRMQItMRxnfi3KxlvosRIisa/LxjwBsd/OwCWaJlAOJqAuPMUS9nWacVgAttsNKQwDSXKYycyayeyeVqSVDjDqpiKEoLHBoLALgMwBYDwn8FyUIryaTvyd3JVcKTIo0kxKkDAdPMgNXMaXne7YgGohordEQNVQ9EldAMVFtcIRiE3YPXHCPWPRYASNaHpEabiCabIA7VfYgEZIbngcxdOUsTegSMAHvZGM7HoEyIfX2Q9ASBQE6OIGwIbu7ASIrhgEyCA+omuAkRiD4GQDctYbQPIUDYkfmjA3A35EgugxomigdB1KQ4xGwECbQK3QwgILQAEPqEcJjrQISUyEiDIAamREKUJXQ/A7mQEHSGjvSQEGgAcMkPcIEHtAZqedAyg2g/vQOnmkZFfSgxoOmCQAcHQgIC8LsMkAEEwgwBcLQLFYyP1NbDg2rPg4Usg6yKcAcPcC8GgBcKYwCX4HQrQn4MkAZvIQSMuEFPTiBGo6AxozQ9Gigy6s6EI+yBlqE7IOE6BPcAcLsGcKydOAEMY7sH4H4CQCcIyAAWEIvaWdmBLlRIwSxM9LctetA7A/Q0gkbqoyMOoxqAgPiPOCQNwDulfSk2k5Exg8yEqGPK4GnYxjMSxqKbncxlxqdWscXQJlsSJgAqolE6yjE3gwRS9sA+oyMEZAALzfDNOiOMPMP6hsMcNcOEnfD3SyBbinNs7fB6DADbCUO4DgOQCABJhISAc1s1/QwKc+c+Q6cBI6wxcNI7I/I9SNWB8A8x6M898K8+858+oz82cTsDfcPaPePYZqZIc9Q1o7sxWFAoC6M8Cy8y43owY0YyY2Y1jJY9Y4gEi08yQC84gm8x818z8/80A180cyC6iy44cO454946jn48yYE4i48yi2i7y5ixiSSLi3fQSwTn3esKpmCww+I88FCzC3Iwowi58ATtPTyXdGTuIhNVVSKTLEvCMLAcklva/Txcug9Eoiooc5UBiELp67aE3Xq2I5C1IzIya/CyqS4YQ5GOThUEI2PlRhnTxQiEpC/d/IIOBv9KnAnB6BxcLlXIggBprNoY4MKAwLG1Evm1vJsOej0N3r3LAE6HDEhoxMxHwASC8BkwELw3YwI2SziF0YSAECYxKAEFJmgCQIEBcGcMYxAyTASLsHQi8LSckHQlJlY6wi8HQnQo/TaKgKgVREvCUMgLATepqQlPgBYOCvlI4DtruBm4JvuC2wA36ycgNWXfboMRnQMweQkRaHwMOo7XVPgDtqeGwPXmjdaMCFJsJpaN+x/UIa0BU8glXKOoFT3LaC+xgK2wxINVGJ2xcZlFXtPrY/w7g7cl7sOwSDKbSfSR3YqZcAu4SMCdcWCXcbjvu7WOU3ZTCEQCiHhvrP2B1VgIG/6/LIwJQGqfjHxYIdg06INIRfQPe36M0rbPBVHPwKXPbrJ/iFez6EKhslCEQEHg68UWXKUbA+0UIXe/gBWz7SB/rCg0HDkRZZOP1YYiQMMIWcxocUXRqrZE+P4YRGArXfIUe3vEIRsqaLgKaWEv4tna4V5NoeMEaJh4iC2/RGXR2xvmOaNXyOkVUwWHwweEwTZFPnOUIWlJjOej8ndTfNZSBZAKpxl962gJs6M2zjjCfOnUxoRO7fMffAs8sdxoXcs/xpsWXdsQAu4BaSm8xoN2xsN4RIs6sTtCs1N4xNseOJKCskoGhwgOPqvWBL3RANDgYHuXOGtIQpaJPXwpa5kLPTCGIgKakJFw66XKJ45xiFd7OPunwweZR448kMO98JWWcCcHQn4EiyTODxoJDxoHQhcA8+J4SH9zdx8JaEyDGwe/UYm+2gLq64oNvUKmj1966Blw9Bj6QPVRDPqcHcuDQIxCyg08utpa+jOWeaMvALHFz8rX00Ec6CJpPH8nTTes5KIMaRU3vIqHW3dI20d7UxYc9F6GAjGfuf1dLkBFokulgNT2DEhjmCd0YL19M5nbMTnQsSN4uGN2/Osas9N+s2agAGp1MxRUdQLfAU+WjfBcDw+I/Q/fC5Y0+5lY+oN/OEje/u8YB++QAB9Q8o8h+wyY9oqoNavndGDAvbCjrbBKD1g5/9PbC0QaDqj3eE7clPfWvz2U5CM07YeJs6Jcj6L8reeIEIc/K5vSfyAEh7T+RBR1lMjDocvHRyhWCYAsfQOD+aE2mHef1GSF/cB5812F/wDF8byl9EKX2xKtBwdCr24b2NOoZ9MJTsCpupD2JlTsxpFfmoDOrKiCg9DWwch994i+Ibx1oRx/tVrPo2f+tah5o8Mv7AsIFwxRd9X4ImDbr5y9qSVTehOBbgNyS6b5req3Ubksw26TdS623Z3lAE7Cnpu+bxQkK/wH4bwAA/FwAEBj9VIEfZdJHSvrT9lM2fXPvn3wCr91+LATfiSVISZ8DATAo0MvwL5jUS82wXnNKBEHOlcyQgzQPiwnoWsBElfSED0BtZvcZeDrSLnP0DpG9HWqQEUBIGvbXI3W/tLOjelPrn0081nTnrxCYpTlWKWHK+sAG4BgARQeePSBOH3A/MpBeXdEBoV5ikZiuWNBdIoTR4EhRBkgn0pMxkE48tET9J9ohxvR8hlQoxH5EA0cHOC8Arg9QO4KZAWpd4tja5PY3HBUAjQ0IEKkAwhgSAfmivHtKkkii98rAscEjsbhNAqgnBXlRAGAGlAjh0Sp5AkKXHEAbowAxZFof5CkzeZP+mASOJhTqjyxABycdNA/z/aIA3Bdud2OoGQAvUpYyvfod+2tBGAwKfAVuDwWUjDhy0AEYDvYNSENUMhuALIXlD35e0/ok5FipFCwZA8dQCJQkAAG1lIsgKwFXUQAABdU5qjD6HjoLAgw5oRgDAAjClOqMYPrxAJDfCPQVgIEd8AADeqMDiCQCSokBlQo9VGFwFRhMkNAuwbgLHFRgABfYPjBwBbORMAPzHITGUB4FCm+eiaEOQFjiCwkBSwzIbAEq4HgfwCtL2tLD8pyxR4N6GgJyMgCoxQQnQVGBt1RjuBx48or6ojFtDlcWoqQXvniC8gu9O4NkT4ajDIARRaAqMAEY/SMCgh9eYZQUScNujFhfI/fBAr/1fQsp1BrwgoeMCUDBMHBTgq4csKxbIB+qwwTuMoUGBFCtwevAxGUMkCVDskD0VaGwBSRbwue+UWDCfm7QjA1IVEe4R30eF/0L8VkH4UNHkL4ZlcmAWQKeEFZ7kMAPzUUZ7GQAyi5RCopUcwBVHNE1RGIDURIgJDGiiMtAUgRoA1Hccg2xY1pr/RsG2kb0WI/qLiPIz5V+2uDHbEIFmiJdpR9we4GSNRiFw7alnD+uU3UFkAI4NhRgkgGwAsogaYQFkPv3dhDDVQMZc4cODzwjBlhChSvPlHy4tcVAUsLJGLyAFeQBmGhRTpQCCi3UQuHfWAab0mIICr4SAobhb3zp28i6mAwTE72kRQA5u6afrrBJvTwS86a3cbhgJLqoTsBkUPUEIS9GuFS0d/E3mdzWB8Cl+LA8QS8V7LiCZsxYNiadg0BSDN+5fR7ooL5KvcF6H3ZejLyDhM4OorfYYGejkhSRwB+bAkCKGEydx9hzAPUT6GkA+ZoGjZBpKpX7xMh0s/IpNm0CzYlBVSrIU8G8j1rnxGC+oslFZAYp0w6IzECwAIXjqFIOQoQnfvMmKBjgMxCGPNpAPKqHhFJtARocBVsTHQSAjMGwFyiyiJBYpuUIgUcNwClRO4jQkBKlNUgP0soP4d/FbgoDuBsxjQvKVrAIAUBYOCUIhLlMtD5Typ0ANALHE8DeBKAJU2qTkSKkIMapLIMQMbEVw5Tas7UsQJ2CDDkBGhJSYIBQAGkwNopmqTOsbGzCJTIpqEGyLgGNgK0FptAJaY0L5DAwO8bYCgAAH11Yh0s5CRyNx9irAYU9znbiNCnpvIUkKye9FskaTZe28NkM4XArDhlJsyHiuW2/ho8fwLooghRywCGChKMFYjKgAFSKSO84gFSeBXUk2Qh+vk/PMbBDwMFSp17JNsGO+nwyo89AKoXaCK6XluxoPeULDJ+mqSkZmkuzH03LCTCb0RDLwmewmBMNFA0IJ6TZI1FGxmg+PKRGHGPGZiUGapMYr4UfHm0XY3AOYZ0PfyzJv+i8ayf9B5nIIo0RQbNoXFg5CiO+QUD+oSFP7oRfk0WE0sfSDbPlEG9AXsQrSZAwRgweQ7BgOyo6FIDZN6BgrNCrGBgkAGgJSfjOpl2TqpwlFIphWbStwvpqAZcB/DCKEz4xrGPaM9JVkT4Sh1ojEAKnknyBL+Ynf6KgANk7idOm6HfHX3MGqRx64tUOZLTxl1dLqN48WGEBzayhsYkUaYBhmUCMwxQSkGMPiBJYdRh0sDScJfkVnxz/ZUzKYthOMFzFluCEgifb025YDf4OAyAEqOkmRhZJv3fAa/EGIfCQmy8nOD7Lq5+zXpk2Y7DpMoh6S4SuWBiQINYGeDOJliG+Q0m4nhDNA6oLgZDh4EXymJ18lfFeG2BfzlID8liewA1ayDOS8gmetXyEm19qcagxvhgD0E3s7kGVUns9EfGwy882QwIeHga5X1aIzUqIfwQLZo8GCwQ3+ZoB4mRDt+B+BIYzBZQziqKHIREYmA2AYAgo5o/MZONLTNpcKzIbWW6Gli1z4Yb+INkgCLgUA9prYVqbZO8hEYjJRDHKiRSFEFhHxaQ/6C5MJnV5CQwi0RZgHEXokrYYkWBrmQPxOyZxYXcFJ7IyyfDGFOtWQKwusHPDrq0GQBjgq8AuZnxqiuDBiFfK3QiM+sYGBQCU48QUFmisRQdLQbMxZo3k1Dp3HwI/UsyXQ62lgCJklJdyUvd1uXALJWQmmG8XBU+LQorIcMBYWDPhhWiEYeQVkLxaeGbS6dRGPXeAaPMt5zMUBT1W3ugPfjES1m0iTCdEpmZLd5mqAlpetzaWO9SJGoPbpRMO40Sl4p3bgfRIX7MCV+182iOwOYD/y98QCviaAqtZKCa+drJenjAhhOtWRzOTeiT3daLckBpgi+l5XPyainFG/MhffSiFWBY2fkcREe2HBwLwU3SKYXxFlQM1o0Uc2ZikleVSQjKloIopGGoU/J/lCGW2BihprQFa8BiacNMG3Lkc3h+sOWNKGjmTg5qsaIcIPWqZV4r+Bw1DLfz3g8EOhloHhXQBg65jeF79AxAKjCBeJr0RlAsJfxGo3pucKHYge/3lDMiB2/nAhnj17Csr/JVACGCTBYoEADKmS20EFUmjfAAAmtIAeb5Rvgc3WMOqscAcrj0OoOXq5DujY1+QH1YjM2lThwqXUMkZZJL1chDUUAdgz8vKF5U2VTSt/J1coqTYQx15TpFkCKFLxmwLCRRPOVZ3KJCEJZX0sBKyAjS3QxA8ZSjE22pyCyJhJ44mhQFn7TAnU34cfvaCA7OwkCHpfCjxX+W1LoJ9SoFXhJt4F1p5KEjpRXQXnzcK1vSppY/DQGDKHeW3OeWRLGU7YqJ5i7QdMtfmzKGAi/S+cxLUrLLllqy/vLxLkEggFBJOF7vG0gX2tRJ6g4IXWVPnsADJbmXQfoJPH/gbKiip1USAHnnw6y+85GZIvPQ+KhwlM32YjP9nnTdVYoImYcXg6RpUgUkgKQQN75urZADAuGZXKNr3qjgI420nRF3l7U/p9nb+IKuB57NnZwNOFA+r3lPqD5do1SEkC1FczcAl6jDcjJiGpKwRus12V9Mbh5ppZtc1MIYmniI1nURAgDdP2f58FXJRkrhVr1BjRgvS0sS8YApBD0q4h0Dc2QiK8U2yRsrM/IQO3BlQF9Y/CsuXRHdkFg0NCMyWjTK34BqaAO2H7vwFck3qIokS95TzFdhpIQ5toBgrjP8nQM+V0/dxfvEXhE8fqjjYCkElgVl1wVDrNCDEo3AMFVFUmomMoQKFOyCVbhcmAYm83swNw/6/voBo3gvqoMlSrGNtGvjQy2+fmqMK5OtC7j7cesw8eHFTXkbJaAGF0RUWmBehyCfIUKA9FTlrya2gye0emH8Wtg/2rmk9Temg0/IeZw8mCWPKt4rdmlNa5Ce0rQkNq9RUi/TsaKzhQIZJOcPDQRvU3Pr5s78hZY/J2BLKS+PE5+ZHy3mSAd5wGtTWpKW2MC5l/Aj+WtqnWbbH5nA13hMFvWNh8GXALWdCDTlMbYtdZLgOBvmyzapInWq9ZpOW2nbGJq2gBcII233Lrtz8s1AAHE8wXkQgXFiDLvaN4lmL7ISBW2CCLt4OjgVtvBx0SVgjQMODhvaBgKegbefIPFDQDDBlBUwCoBzOqDzA6gSwPQEAA= -->

<!-- internal state end -->
<!-- announcements_start -->

> [!TIP]
> <details>
> <summary>⚡🧪 Multi-step agentic review comment chat (experimental)</summary>
> 
> - We're introducing multi-step agentic chat in review comments. This experimental feature enhances review discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments.
> 						- To enable this feature, set early_access to true under in the settings.
> 
> </details>

<!-- announcements_end -->

---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between d2a48856f77d89e5e6759610f1330fcb73eace16 and 78d5ef5de5181ea18f175dc6d14c3040969c8fed.

</details>

<details>
<summary>📒 Files selected for processing (13)</summary>

* `docs/5780.719aab57f94bbc63.js` (0 hunks)
* `docs/5780.b402e2c08aa7cbb5.js` (1 hunks)
* `docs/7883.4fb186bf3de38bc2.js` (1 hunks)
* `docs/7883.7c4f95d933064119.js` (0 hunks)
* `docs/index.html` (1 hunks)
* `docs/runtime.7bc6bd97a8f467fa.js` (1 hunks)
* `package.json` (1 hunks)
* `src/app/demo/api/room.ts` (1 hunks)
* `src/app/demo/components/conference/conference.component.html` (2 hunks)
* `src/app/demo/components/conference/conference.component.ts` (5 hunks)
* `src/app/demo/components/guest/guest.component.html` (1 hunks)
* `src/app/demo/components/room/room.component.html` (1 hunks)
* `src/app/demo/components/room/room.component.ts` (6 hunks)

</details>

</details>
<!-- finishing_touch_checkbox_start -->

<details>
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=mbair/Zichy2&utm_content=67):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->
author_association: NONE
user: login: bito-code-review[bot]
created_at: 2025-03-13T08:54:41Z
body: <div>
<h3>Code Review Agent Run #b3350c</h3>

<div>
<details>
<summary>
<b>Actionable Suggestions -  3</b>
</summary>

<ul>

<li>
<div id="suggestion">
src/app/demo/components/conference/conference.component.ts - <b>1</b>

<ul>
<li>Consider removing unused FormControl import · <a href ="https://github.com/mbair/Zichy2/pull/67/files#r1993091471">Line 2-2</a></li>
</ul>

</div>
</li>

<li>
<div id="suggestion">
src/app/demo/api/room.ts - <b>1</b>

<ul>
<li>Type inconsistency between interface and implementation · <a href ="https://github.com/mbair/Zichy2/pull/67/files#r1993091504">Line 16-16</a></li>
</ul>

</div>
</li>

<li>
<div id="suggestion">
docs/5780.b402e2c08aa7cbb5.js - <b>1</b>

<ul>
<li>Consider fixing unused expressions · <a href ="https://github.com/mbair/Zichy2/pull/67/files#r1993091534">Line 1-1</a></li>
</ul>

</div>
</li>

</ul>

</details>
</div>







<div>
<details>
<summary>
<b>Review Details</b>
</summary>

<ul>
<li>
<div id="file_reviewed">
Files reviewed - <b>14</b> · Commit Range: <code>bf1dc47..78d5ef5</code>
<ul>
<li>docs/3487.75ffe7ddae679135.js</li><li>docs/5780.719aab57f94bbc63.js</li><li>docs/5780.b402e2c08aa7cbb5.js</li><li>docs/7883.4fb186bf3de38bc2.js</li><li>docs/7883.7c4f95d933064119.js</li><li>docs/index.html</li><li>docs/main.7843a9f78862406f.js</li><li>docs/runtime.7bc6bd97a8f467fa.js</li><li>src/app/demo/api/room.ts</li><li>src/app/demo/components/conference/conference.component.html</li><li>src/app/demo/components/conference/conference.component.ts</li><li>src/app/demo/components/guest/guest.component.html</li><li>src/app/demo/components/room/room.component.html</li><li>src/app/demo/components/room/room.component.ts</li>
</ul>
</div>
</li>

<li>
<div id="file_skipped">
Files skipped - <b>1</b>
<ul>
      <li>package.json - <i>Reason:  Filter setting</i>  </li>
</ul>
</div>
</li>


<li>
<div id="tools">
Tools
<ul>
      <li><b>Eslint</b> (Linter) - ✔︎ Successful</li><li><b>Whispers</b> (Secret Scanner) - ✔︎ Successful</li><li><b>Detect-secrets</b> (Secret Scanner) - ✔︎ Successful</li>
</ul>
</div>
</li>

</ul>
</details>
</div>

<hr>


<details>
<summary>
      
### Bito Usage Guide ###
      
</summary>
      
**Commands**
      
Type the following command in the pull request comment and save the comment.
      
- `/review` - Manually triggers a full AI review.
      
Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
      
**Configuration**

This repository uses `Default Agent` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at mbair@almaspite.hu.
      
**Documentation & Help**

- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>

- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
</details>




<span><i>AI Code Review powered by</i> <sub><sub><a href="https://bito.ai/" target="_blank"><img src="https://bito.ai/wp-content/uploads/2023/10/Logo-Bito-Black-cropped.svg" alt="Bito Logo" width="50" height="20" /></a></sub></sub></span>


</div>
author_association: NONE
user: login: bito-code-review[bot]
created_at: 2025-03-13T09:17:34Z
body: <div>
<h2>Changelist by <a href="https://bito.ai">Bito</a></h2>
<p>This pull request implements the following key changes.</p>

<div>
<table width="100%">
<tbody>
  <tr>
    <th>Key Change</th>
    <th>Files Impacted</th>
  </tr>

<tr>
<td width="30%">
    <b>New Feature</b> - Added Module Implementations
</td>
<td width="70%">


<div>

-&nbsp;[`5780.b402e2c08aa7cbb5.js`](https://github.com/mbair/Zichy2/pull/67/files#diff-21deb8f936658811032611a5302e4c68df35b31f7a185a98915f4da36d3d08fc) - Introduced a new Conference Module with enhanced Angular and webpack integration for conference functionalities.
<div>

-&nbsp;[`7883.4fb186bf3de38bc2.js`](https://github.com/mbair/Zichy2/pull/67/files#diff-7efe8d92e65877ba6e98b5681c9e1890772c77db55bad7190bed7a2146342598) - Added a new RoomModule with Angular lazy-loading and webpack chunk integration for room management.
<div>

-&nbsp;[`room.ts`](https://github.com/mbair/Zichy2/pull/67/files#diff-85ac9d55191e5090627e51066b64fe10b6bf6ae5320c069c39c4ee2440cbd9cb) - Added optional familyRoom property to Room interface for extended room features.
<div>

-&nbsp;[`room.component.html`](https://github.com/mbair/Zichy2/pull/67/files#diff-8d59ce07444558adf730a50b5c77999260702197579889743c6c7924d5efb94a) - Added family room options via radio buttons and updated error messaging for the climate field.
</div>
</td>
</tr>

<tr>
<td width="30%">
    <b>Feature Improvement</b> - Enhanced UI and Form Handling
</td>
<td width="70%">


<div>

-&nbsp;[`index.html`](https://github.com/mbair/Zichy2/pull/67/files#diff-b04b38d4e36f7a7171aeb211bf933eaf36d41d9866ebbc3639f673f84dc350ae) - Updated script references to use new runtime and main bundles.
<div>

-&nbsp;[`runtime.7bc6bd97a8f467fa.js`](https://github.com/mbair/Zichy2/pull/67/files#diff-8f2cabea2a13ba0adcd6f758d34d0cfa86a8533890aa9f454bb19e25dd44b7fa) - Refactored runtime JavaScript to update module loading logic and improve script management.
<div>

-&nbsp;[`conference.component.html`](https://github.com/mbair/Zichy2/pull/67/files#diff-dde5a5dad62b0df074853c48378b5666248ba2e781e2f80a535952e7d14f3d7d) - Enhanced the input switch UI by introducing improved styling, layout, and label presentation.
<div>

-&nbsp;[`conference.component.ts`](https://github.com/mbair/Zichy2/pull/67/files#diff-9cd29b0e110ded2b58524b7df0b23d11da6a99b9651df73530a136870c946508) - Improved form handling by introducing initialFormValues and adding FormControl import to streamline resets and validations.
<div>

-&nbsp;[`guest.component.html`](https://github.com/mbair/Zichy2/pull/67/files#diff-913eedec2b1844f7ba6faa204f70e29719f008ea1fbeb154fc3bfbbe2f55fc68) - Modified the room number input field by removing the read-only attribute, allowing guest edits.
<div>

-&nbsp;[`room.component.ts`](https://github.com/mbair/Zichy2/pull/67/files#diff-b5a7915c2bd478cb0fe1e6c89c221f49462b28389f9872ca04320851ac2e4040) - Refactored room form logic to use consistent initial values and added a getter for familyRoom.
</div>
</td>
</tr>

<tr>
<td width="30%">
    <b>Other Improvements</b> - Removed Conference Module Chunk
</td>
<td width="70%">


<div>

-&nbsp;[`5780.719aab57f94bbc63.js`](https://github.com/mbair/Zichy2/pull/67/files#diff-9e2564ad29374cd02fa093ef1eea0df9741bf1c83e1de4527517724e2903318c) - The file's entire content, which defined a conference module and associated Angular/webpack logic, has been removed, indicating a cleanup or refactoring effort.
<div>

-&nbsp;[`7883.7c4f95d933064119.js`](https://github.com/mbair/Zichy2/pull/67/files#diff-9d871c942b8bc7501ed95efbaa47463304d1eb94ba842e0c0895acaf7799d0fb) - Removed legacy webpack module bundle as part of code cleanup, eliminating obsolete module definitions.
</div>
</td>
</tr>

</tbody>
</table>
</div>
</div>
author_association: NONE