marketplacepos 2.4.3 → 2.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/Marketplace/162.4ce4550bb805d5d4.js +1 -0
  2. package/Marketplace/171.9cd91ffa365b9491.js +1 -0
  3. package/Marketplace/174.e214431f31fd131d.js +1 -0
  4. package/Marketplace/25.ad4f583264f99556.js +1 -0
  5. package/Marketplace/334.fca544ca6d7e11d3.js +1 -0
  6. package/Marketplace/360.479b6dc19c3aedfd.js +1 -0
  7. package/Marketplace/387.ef404fc903278a1c.js +1 -0
  8. package/Marketplace/402.f385d64daee6049e.js +1 -0
  9. package/Marketplace/{458.556f206f7d19bc29.js → 458.a9aae1853888dd58.js} +1 -1
  10. package/Marketplace/466.2e9f76621dd59e88.js +1 -0
  11. package/Marketplace/516.71620076f01c2cd7.js +1 -0
  12. package/Marketplace/61.481724edf2d23475.js +1 -0
  13. package/Marketplace/874.d45d1026769d75d1.js +1 -0
  14. package/Marketplace/assets/version-adjustment-v5.scss +2 -2
  15. package/Marketplace/common.1acc3df88ef73d5d.js +1 -0
  16. package/Marketplace/index.html +3 -3
  17. package/Marketplace/main.2fa426747cc66a26.js +1 -0
  18. package/Marketplace/runtime.22e3909f138762cb.js +1 -0
  19. package/Marketplace/{styles.f8366e17917068bd.css → styles.ab4c60b3cc2298c3.css} +2 -2
  20. package/package.json +1 -1
  21. package/Marketplace/102.00a16fb36f5a57f2.js +0 -1
  22. package/Marketplace/162.9784f9e579112c86.js +0 -1
  23. package/Marketplace/285.7583f3169c88c210.js +0 -1
  24. package/Marketplace/387.10f091023152d154.js +0 -1
  25. package/Marketplace/402.60951eab064c9706.js +0 -1
  26. package/Marketplace/455.fc7663306b753727.js +0 -1
  27. package/Marketplace/667.b7320f874219caa9.js +0 -1
  28. package/Marketplace/785.a0973529f8e8819e.js +0 -1
  29. package/Marketplace/874.9879a8b9489c9845.js +0 -1
  30. package/Marketplace/882.5d3edc53a8e4c38e.js +0 -1
  31. package/Marketplace/common.f2cd628914f2fae7.js +0 -1
  32. package/Marketplace/main.f30bf3b0f501021c.js +0 -1
  33. package/Marketplace/runtime.9cbc4802b0456746.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{1318:(Ye,me,b)=>{b.d(me,{O:()=>ye});var D=b(515),f=b(8306),oe=b(4986),ce=b(1165),$=b(4482),ee=b(8421),J=b(3888),le=b(5403),he=b(9672);const re=(0,J.d)(xe=>function(Ue=null){xe(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Ue});function q(xe){throw new re(xe)}var je=b(262),Ee=b(4650),_e=b(529),Ne=b(7185);let ye=(()=>{class xe{constructor(Ue,te){this.http=Ue,this.toastr=te}get(Ue){return this.http.get(Ue).pipe((0,je.K)(te=>{let j=this.errorMessageHandling(te);return this.toastr.error(""!=j.message?j.message:"An unknown error has occured!",j.header),D.E}))}post(Ue,te,j=1e5){return new f.y(k=>{this.http.post(Ue,te).pipe(function se(xe,Xe){const{first:Ue,each:te,with:j=q,scheduler:k=Xe??oe.z,meta:ve=null}=(0,ce.q)(xe)?{first:xe}:"number"==typeof xe?{each:xe}:xe;if(null==Ue&&null==te)throw new TypeError("No timeout provided.");return(0,$.e)((Z,Q)=>{let pe,R,N=null,G=0;const de=ie=>{R=(0,he.f)(Q,k,()=>{try{pe.unsubscribe(),(0,ee.Xf)(j({meta:ve,lastValue:N,seen:G})).subscribe(Q)}catch(Ie){Q.error(Ie)}},ie)};pe=Z.subscribe((0,le.x)(Q,ie=>{R?.unsubscribe(),G++,Q.next(N=ie),te>0&&de(te)},void 0,void 0,()=>{R?.closed||R?.unsubscribe(),N=null})),!G&&de(null!=Ue?"number"==typeof Ue?Ue:+Ue-k.now():te)})}(j)).subscribe({next:ve=>{k.next(ve),k.complete()},error:ve=>{if(200==ve.status)k.next(ve.error.text),k.complete();else{if(!this.unauthorizedErrorHandling(ve)&&!Array.isArray(ve?.error?.Message)){let Q=this.errorMessageHandling(ve);this.toastr.error(""!=Q.message?Q.message:"An unknown error has occured!",Q.header,{enableHtml:!0})}k.error(ve)}}})})}unauthorizedErrorHandling(Ue){let te=!1;return 401==Ue.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",te=!0),te}errorMessageHandling(Ue){let te="API Error",j="Exception Message";return Ue.error?(te="API Error - "+Ue.status,Ue.error.Message&&(j=-1!=Ue.error.Message.indexOf("Message")?JSON.parse(Ue.error.Message).Message:Ue.error.Message)):Ue.message&&(te="API Error - "+Ue.name,j=Ue.message),{header:te,message:j}}}return xe.\u0275fac=function(Ue){return new(Ue||xe)(Ee.LFG(_e.eN),Ee.LFG(Ne._W))},xe.\u0275prov=Ee.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})()},8002:(Ye,me,b)=>{b.d(me,{e:()=>f});var D=b(4650);let f=(()=>{class oe{constructor(){}GetNamePOS(){let $=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken($.Token.access_token)}GetRoles(){return this.GetNamePOS().Role}ParseToken($){try{const J=$.split(".")[0].replace("-","+").replace("_","/"),le=JSON.parse(window.atob(J)),re=$.split(".")[1].replace("-","+").replace("_","/"),se=JSON.parse(window.atob(re));return se.header=le,se}catch{return!1}}}return oe.\u0275fac=function($){return new($||oe)},oe.\u0275prov=D.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})()},5310:(Ye,me,b)=>{var D=b(1481),f=b(4650),oe=b(529),ce=b(4707);function $(y,a){return(o,p)=>!y.call(a,o,p)}var ee=b(9300),J=b(8421),he=b(6451),re=b(2805),se=b(8746),q=b(3900),je=b(4482),Ee=b(5032),_e=b(5403);function Ne(y){return(0,je.e)((a,o)=>{let p=!1,w=null,A=null;const F=()=>{if(A?.unsubscribe(),A=null,p){p=!1;const L=w;w=null,o.next(L)}};a.subscribe((0,_e.x)(o,L=>{A?.unsubscribe(),p=!0,w=L,A=(0,_e.x)(o,F,Ee.Z),(0,J.Xf)(y(L)).subscribe(A)},()=>{F(),o.complete()},void 0,()=>{w=A=null}))})}var ye=b(1884),xe=b(8505),Xe=b(6895);function Ue(y,a){1&y&&f.GkF(0)}function te(y,a){if(1&y&&f._UZ(0,"sk-cube-grid",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function j(y,a){if(1&y&&f._UZ(0,"sk-chasing-dots",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function k(y,a){if(1&y&&f._UZ(0,"sk-double-bounce",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function ve(y,a){if(1&y&&f._UZ(0,"sk-rotating-plane",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function Z(y,a){if(1&y&&f._UZ(0,"sk-spinner-pulse",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function Q(y,a){if(1&y&&f._UZ(0,"sk-three-bounce",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function pe(y,a){if(1&y&&f._UZ(0,"sk-wandering-cubes",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function R(y,a){if(1&y&&f._UZ(0,"sk-wave",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}const N=function(y){return{"background-color":y}};function G(y,a){if(1&y&&(f.TgZ(0,"div",1),f.YNc(1,Ue,1,0,"ng-container",2),f.YNc(2,te,1,1,"sk-cube-grid",3),f.YNc(3,j,1,1,"sk-chasing-dots",3),f.YNc(4,k,1,1,"sk-double-bounce",3),f.YNc(5,ve,1,1,"sk-rotating-plane",3),f.YNc(6,Z,1,1,"sk-spinner-pulse",3),f.YNc(7,Q,1,1,"sk-three-bounce",3),f.YNc(8,pe,1,1,"sk-wandering-cubes",3),f.YNc(9,R,1,1,"sk-wave",3),f.qZA()),2&y){const o=f.oxw();f.Udp("opacity",o.opacity),f.ekj("backdrop",o.backdrop),f.Q6J("ngStyle",f.VKq(14,N,o.backdrop?o.backdropBackgroundColor:"transparent")),f.xp6(1),f.Q6J("ngComponentOutlet",o.entryComponent),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skCubeGrid),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skChasingDots),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skDoubleBounce),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skRotatingPlane),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skSpinnerPulse),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skThreeBounce),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skWanderingCubes),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skWave)}}let de=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275dir=f.lG2({type:y,inputs:{backgroundColor:"backgroundColor"}}),y})(),ie=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-chasing-dots"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),y})(),Ie=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-cube-grid"]],features:[f.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),y})(),Je=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-double-bounce"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),y})(),ft=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-rotating-plane"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(o,p){1&o&&f._UZ(0,"div",0),2&o&&f.Udp("background-color",p.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),y})(),gt=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-spinner-pulse"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(o,p){1&o&&f._UZ(0,"div",0),2&o&&f.Udp("background-color",p.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),y})(),ze=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-three-bounce"]],features:[f.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),y})(),$t=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-wandering-cubes"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),y})(),gn=(()=>{class y extends de{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-wave"]],features:[f.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),y})();const Oe={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let X=(()=>{class y{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new ce.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(o){this._filteredMethods=o}set filteredHeaders(o){this._filteredHeaders=o}set forceByPass(o){this._forceByPass=o}shouldBypassUrl(o){return this._filteredUrlPatterns.some(p=>p.test(o))}shouldBypassMethod(o){return this._filteredMethods.some(p=>p.toUpperCase()===o.method.toUpperCase())}shouldBypassHeader(o){return this._filteredHeaders.some(p=>o.headers.has(p))}shouldBypass(o){return this._forceByPass||this.shouldBypassUrl(o.urlWithParams)||this.shouldBypassMethod(o)||this.shouldBypassHeader(o)}intercept(o,p){const w=this.shouldBypass(o);return w||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),p.handle(o).pipe((0,se.x)(()=>{w||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})();const ge=[{provide:oe.TP,useExisting:X,multi:!0}];let He=(()=>{class y{constructor(o){this.pendingRequestsInterceptor=o,this._visibility$=new ce.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(X))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})(),vt=(()=>{class y{constructor(o,p){this.pendingRequestsInterceptor=o,this.spinnerVisibility=p,this.spinkit=Oe,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Oe.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[o,p]=function le(y,a,o){return[(0,ee.h)(a,o)((0,J.Xf)(y)),(0,ee.h)($(a,o))((0,J.Xf)(y))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,w=>w);this.isVisible$=(0,he.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,q.w)(()=>o.pipe(Ne(()=>(0,re.H)(this.debounceDelay))))),o.pipe((0,q.w)(()=>p.pipe(Ne(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,ye.x)(),(0,xe.b)(w=>this.updateExpirationDelay(w)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(o=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(o)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(o){o&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,re.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return y.\u0275fac=function(o){return new(o||y)(f.Y36(X),f.Y36(He))},y.\u0275cmp=f.Xpm({type:y,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(o,p){1&o&&(f.YNc(0,G,10,16,"div",0),f.ALo(1,"async")),2&o&&f.Q6J("ngIf",f.lcZ(1,1,p.isVisible$))},dependencies:[Xe.$G,Xe.O5,Xe.PC,Ie,ie,Je,ft,gt,ze,$t,gn,Xe.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),y})(),cn=(()=>{class y{static forRoot(){return{ngModule:y,providers:[ge]}}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y}),y.\u0275inj=f.cJS({imports:[Xe.ez]}),y})();var An=b(1318),xn=b(8002),en=b(8252);const _n=[{path:"",loadChildren:()=>Promise.all([b.e(6),b.e(592),b.e(458)]).then(b.bind(b,5458)).then(y=>y.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([b.e(6),b.e(387)]).then(b.bind(b,2387)).then(y=>y.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Rn=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y}),y.\u0275inj=f.cJS({imports:[en.Bz.forRoot(_n,{relativeLinkResolution:"legacy"}),en.Bz]}),y})();var Nn=b(4004),ot=b(5577);let sr=(()=>{class y{constructor(o,p,w){this._router=o,this.titleService=p,this.activatedRoute=w}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,ee.h)(o=>o instanceof en.m2)).pipe((0,Nn.U)(()=>this.activatedRoute),(0,Nn.U)(o=>{for(;o.firstChild;)o=o.firstChild;return o}),(0,ee.h)(o=>"primary"===o.outlet),(0,ot.z)(o=>o.data)).subscribe(o=>{let p=" | Marketplace";"Dealpos x Marketplace"==o.title&&(p=""),this.titleService.setTitle(o.title+p)})}overrideDateToJsonFunction(){function o(p){return p<10?"0"+p:p}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+o(this.getMonth()+1)+"-"+o(this.getDate())+"T"+o(this.getHours())+":"+o(this.getMinutes())+":"+o(this.getSeconds())+".000"}}}return y.\u0275fac=function(o){return new(o||y)(f.Y36(en.F0),f.Y36(D.Dx),f.Y36(en.gz))},y.\u0275cmp=f.Xpm({type:y,selectors:[["app-root"]],decls:2,vars:0,template:function(o,p){1&o&&f._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[en.lC,vt]}),y})();var nt=b(7340);function fr(y){return new f.vHH(3e3,!1)}function B(){return typeof window<"u"&&typeof window.document<"u"}function O(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function W(y){switch(y.length){case 0:return new nt.ZN;case 1:return y[0];default:return new nt.ZE(y)}}function Ae(y,a,o,p,w=new Map,A=new Map){const F=[],L=[];let ue=-1,be=null;if(p.forEach($e=>{const Qe=$e.get("offset"),Ct=Qe==ue,Dt=Ct&&be||new Map;$e.forEach((lt,ht)=>{let Bt=ht,zt=lt;if("offset"!==ht)switch(Bt=a.normalizePropertyName(Bt,F),zt){case nt.k1:zt=w.get(ht);break;case nt.l3:zt=A.get(ht);break;default:zt=a.normalizeStyleValue(ht,Bt,zt,F)}Dt.set(Bt,zt)}),Ct||L.push(Dt),be=Dt,ue=Qe}),F.length)throw function Cr(y){return new f.vHH(3502,!1)}();return L}function Ve(y,a,o,p){switch(a){case"start":y.onStart(()=>p(o&&wt(o,"start",y)));break;case"done":y.onDone(()=>p(o&&wt(o,"done",y)));break;case"destroy":y.onDestroy(()=>p(o&&wt(o,"destroy",y)))}}function wt(y,a,o){const A=Ft(y.element,y.triggerName,y.fromState,y.toState,a||y.phaseName,o.totalTime??y.totalTime,!!o.disabled),F=y._data;return null!=F&&(A._data=F),A}function Ft(y,a,o,p,w="",A=0,F){return{element:y,triggerName:a,fromState:o,toState:p,phaseName:w,totalTime:A,disabled:!!F}}function Ze(y,a,o){let p=y.get(a);return p||y.set(a,p=o),p}function ir(y){const a=y.indexOf(":");return[y.substring(1,a),y.slice(a+1)]}let or=(y,a)=>!1,Nr=(y,a,o)=>[],hr=null;function sn(y){const a=y.parentNode||y.host;return a===hr?null:a}(O()||typeof Element<"u")&&(B()?(hr=(()=>document.documentElement)(),or=(y,a)=>{for(;a;){if(a===y)return!0;a=sn(a)}return!1}):or=(y,a)=>y.contains(a),Nr=(y,a,o)=>{if(o)return Array.from(y.querySelectorAll(a));const p=y.querySelector(a);return p?[p]:[]});let tn=null,gr=!1;const Vr=or,mr=Nr;let On=(()=>{class y{validateStyleProperty(o){return function Ws(y){tn||(tn=function Ks(){return typeof document<"u"?document.body:null}()||{},gr=!!tn.style&&"WebkitAppearance"in tn.style);let a=!0;return tn.style&&!function pr(y){return"ebkit"==y.substring(1,6)}(y)&&(a=y in tn.style,!a&&gr&&(a="Webkit"+y.charAt(0).toUpperCase()+y.slice(1)in tn.style)),a}(o)}matchesElement(o,p){return!1}containsElement(o,p){return Vr(o,p)}getParentElement(o){return sn(o)}query(o,p,w){return mr(o,p,w)}computeStyle(o,p,w){return w||""}animate(o,p,w,A,F,L=[],ue){return new nt.ZN(w,A)}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})(),br=(()=>{class y{}return y.NOOP=new On,y})();const an="ng-enter",Dn="ng-leave",Wn="ng-trigger",Bn=".ng-trigger",Kn="ng-animating",mn=".ng-animating";function jn(y){if("number"==typeof y)return y;const a=y.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Ts(parseFloat(a[1]),a[2])}function Ts(y,a){return"s"===a?1e3*y:y}function $r(y,a,o){return y.hasOwnProperty("duration")?y:function zr(y,a,o){let w,A=0,F="";if("string"==typeof y){const L=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===L)return a.push(fr()),{duration:0,delay:0,easing:""};w=Ts(parseFloat(L[1]),L[2]);const ue=L[3];null!=ue&&(A=Ts(parseFloat(ue),L[4]));const be=L[5];be&&(F=be)}else w=y;if(!o){let L=!1,ue=a.length;w<0&&(a.push(function Gs(){return new f.vHH(3100,!1)}()),L=!0),A<0&&(a.push(function ut(){return new f.vHH(3101,!1)}()),L=!0),L&&a.splice(ue,0,fr())}return{duration:w,delay:A,easing:F}}(y,a,o)}function Gr(y,a={}){return Object.keys(y).forEach(o=>{a[o]=y[o]}),a}function Ys(y){const a=new Map;return Object.keys(y).forEach(o=>{a.set(o,y[o])}),a}function Yn(y,a=new Map,o){if(o)for(let[p,w]of o)a.set(p,w);for(let[p,w]of y)a.set(p,w);return a}function Wr(y,a,o){return o?a+":"+o+";":""}function Ss(y){let a="";for(let o=0;o<y.style.length;o++){const p=y.style.item(o);a+=Wr(0,p,y.style.getPropertyValue(p))}for(const o in y.style)y.style.hasOwnProperty(o)&&!o.startsWith("_")&&(a+=Wr(0,Js(o),y.style[o]));y.setAttribute("style",a)}function Qn(y,a,o){y.style&&(a.forEach((p,w)=>{const A=Zs(w);o&&!o.has(w)&&o.set(w,y.style[A]),y.style[A]=p}),O()&&Ss(y))}function yr(y,a){y.style&&(a.forEach((o,p)=>{const w=Zs(p);y.style[w]=""}),O()&&Ss(y))}function is(y){return Array.isArray(y)?1==y.length?y[0]:(0,nt.vP)(y):y}const qs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Di(y){let a=[];if("string"==typeof y){let o;for(;o=qs.exec(y);)a.push(o[1]);qs.lastIndex=0}return a}function Ms(y,a,o){const p=y.toString(),w=p.replace(qs,(A,F)=>{let L=a[F];return null==L&&(o.push(function z(y){return new f.vHH(3003,!1)}()),L=""),L.toString()});return w==p?y:w}function Sr(y){const a=[];let o=y.next();for(;!o.done;)a.push(o.value),o=y.next();return a}const Fr=/-+([a-z0-9])/g;function Zs(y){return y.replace(Fr,(...a)=>a[1].toUpperCase())}function Js(y){return y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Cn(y,a,o){switch(a.type){case 7:return y.visitTrigger(a,o);case 0:return y.visitState(a,o);case 1:return y.visitTransition(a,o);case 2:return y.visitSequence(a,o);case 3:return y.visitGroup(a,o);case 4:return y.visitAnimate(a,o);case 5:return y.visitKeyframes(a,o);case 6:return y.visitStyle(a,o);case 8:return y.visitReference(a,o);case 9:return y.visitAnimateChild(a,o);case 10:return y.visitAnimateRef(a,o);case 11:return y.visitQuery(a,o);case 12:return y.visitStagger(a,o);default:throw function K(y){return new f.vHH(3004,!1)}()}}function Kr(y,a){return window.getComputedStyle(y)[a]}function ei(y,a){const o=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(p=>function Qi(y,a,o){if(":"==y[0]){const ue=function Yr(y,a){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,p)=>parseFloat(p)>parseFloat(o);case":decrement":return(o,p)=>parseFloat(p)<parseFloat(o);default:return a.push(function ln(y){return new f.vHH(3016,!1)}()),"* => *"}}(y,o);if("function"==typeof ue)return void a.push(ue);y=ue}const p=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return o.push(function kn(y){return new f.vHH(3015,!1)}()),a;const w=p[1],A=p[2],F=p[3];a.push(Qt(w,F));"<"==A[0]&&!("*"==w&&"*"==F)&&a.push(Qt(F,w))}(p,o,a)):o.push(y),o}const ls=new Set(["true","1"]),ti=new Set(["false","0"]);function Qt(y,a){const o=ls.has(y)||ti.has(y),p=ls.has(a)||ti.has(a);return(w,A)=>{let F="*"==y||y==w,L="*"==a||a==A;return!F&&o&&"boolean"==typeof w&&(F=w?ls.has(y):ti.has(y)),!L&&p&&"boolean"==typeof A&&(L=A?ls.has(a):ti.has(a)),F&&L}}const Zn=new RegExp("s*:selfs*,?","g");function Ir(y,a,o,p){return new ni(y).build(a,o,p)}class ni{constructor(a){this._driver=a}build(a,o,p){const w=new Tn(o);return this._resetContextStyleTimingState(w),Cn(this,is(a),w)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,o){let p=o.queryCount=0,w=o.depCount=0;const A=[],F=[];return"@"==a.name.charAt(0)&&o.errors.push(function ne(){return new f.vHH(3006,!1)}()),a.definitions.forEach(L=>{if(this._resetContextStyleTimingState(o),0==L.type){const ue=L,be=ue.name;be.toString().split(/\s*,\s*/).forEach($e=>{ue.name=$e,A.push(this.visitState(ue,o))}),ue.name=be}else if(1==L.type){const ue=this.visitTransition(L,o);p+=ue.queryCount,w+=ue.depCount,F.push(ue)}else o.errors.push(function Le(){return new f.vHH(3007,!1)}())}),{type:7,name:a.name,states:A,transitions:F,queryCount:p,depCount:w,options:null}}visitState(a,o){const p=this.visitStyle(a.styles,o),w=a.options&&a.options.params||null;if(p.containsDynamicStyles){const A=new Set,F=w||{};p.styles.forEach(L=>{L instanceof Map&&L.forEach(ue=>{Di(ue).forEach(be=>{F.hasOwnProperty(be)||A.add(be)})})}),A.size&&(Sr(A.values()),o.errors.push(function Ot(y,a){return new f.vHH(3008,!1)}()))}return{type:0,name:a.name,style:p,options:w?{params:w}:null}}visitTransition(a,o){o.queryCount=0,o.depCount=0;const p=Cn(this,is(a.animation),o);return{type:1,matchers:ei(a.expr,o.errors),animation:p,queryCount:o.queryCount,depCount:o.depCount,options:_(a.options)}}visitSequence(a,o){return{type:2,steps:a.steps.map(p=>Cn(this,p,o)),options:_(a.options)}}visitGroup(a,o){const p=o.currentTime;let w=0;const A=a.steps.map(F=>{o.currentTime=p;const L=Cn(this,F,o);return w=Math.max(w,o.currentTime),L});return o.currentTime=w,{type:3,steps:A,options:_(a.options)}}visitAnimate(a,o){const p=function M(y,a){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return I($r(y,a).duration,0,"");const o=y;if(o.split(/\s+/).some(A=>"{"==A.charAt(0)&&"{"==A.charAt(1))){const A=I(0,0,"");return A.dynamic=!0,A.strValue=o,A}const w=$r(o,a);return I(w.duration,w.delay,w.easing)}(a.timings,o.errors);o.currentAnimateTimings=p;let w,A=a.styles?a.styles:(0,nt.oB)({});if(5==A.type)w=this.visitKeyframes(A,o);else{let F=a.styles,L=!1;if(!F){L=!0;const be={};p.easing&&(be.easing=p.easing),F=(0,nt.oB)(be)}o.currentTime+=p.duration+p.delay;const ue=this.visitStyle(F,o);ue.isEmptyStep=L,w=ue}return o.currentAnimateTimings=null,{type:4,timings:p,style:w,options:null}}visitStyle(a,o){const p=this._makeStyleAst(a,o);return this._validateStyleAst(p,o),p}_makeStyleAst(a,o){const p=[],w=Array.isArray(a.styles)?a.styles:[a.styles];for(let L of w)"string"==typeof L?L===nt.l3?p.push(L):o.errors.push(new f.vHH(3002,!1)):p.push(Ys(L));let A=!1,F=null;return p.forEach(L=>{if(L instanceof Map&&(L.has("easing")&&(F=L.get("easing"),L.delete("easing")),!A))for(let ue of L.values())if(ue.toString().indexOf("{{")>=0){A=!0;break}}),{type:6,styles:p,easing:F,offset:a.offset,containsDynamicStyles:A,options:null}}_validateStyleAst(a,o){const p=o.currentAnimateTimings;let w=o.currentTime,A=o.currentTime;p&&A>0&&(A-=p.duration+p.delay),a.styles.forEach(F=>{"string"!=typeof F&&F.forEach((L,ue)=>{const be=o.collectedStyles.get(o.currentQuerySelector),$e=be.get(ue);let Qe=!0;$e&&(A!=w&&A>=$e.startTime&&w<=$e.endTime&&(o.errors.push(function Nt(y,a,o,p,w){return new f.vHH(3010,!1)}()),Qe=!1),A=$e.startTime),Qe&&be.set(ue,{startTime:A,endTime:w}),o.options&&function Qs(y,a,o){const p=a.params||{},w=Di(y);w.length&&w.forEach(A=>{p.hasOwnProperty(A)||o.push(function we(y){return new f.vHH(3001,!1)}())})}(L,o.options,o.errors)})})}visitKeyframes(a,o){const p={type:5,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function Gt(){return new f.vHH(3011,!1)}()),p;let A=0;const F=[];let L=!1,ue=!1,be=0;const $e=a.steps.map(zt=>{const d=this._makeStyleAst(zt,o);let c=null!=d.offset?d.offset:function v(y){if("string"==typeof y)return null;let a=null;if(Array.isArray(y))y.forEach(o=>{if(o instanceof Map&&o.has("offset")){const p=o;a=parseFloat(p.get("offset")),p.delete("offset")}});else if(y instanceof Map&&y.has("offset")){const o=y;a=parseFloat(o.get("offset")),o.delete("offset")}return a}(d.styles),u=0;return null!=c&&(A++,u=d.offset=c),ue=ue||u<0||u>1,L=L||u<be,be=u,F.push(u),d});ue&&o.errors.push(function fn(){return new f.vHH(3012,!1)}()),L&&o.errors.push(function St(){return new f.vHH(3200,!1)}());const Qe=a.steps.length;let Ct=0;A>0&&A<Qe?o.errors.push(function ct(){return new f.vHH(3202,!1)}()):0==A&&(Ct=1/(Qe-1));const Dt=Qe-1,lt=o.currentTime,ht=o.currentAnimateTimings,Bt=ht.duration;return $e.forEach((zt,d)=>{const c=Ct>0?d==Dt?1:Ct*d:F[d],u=c*Bt;o.currentTime=lt+ht.delay+u,ht.duration=u,this._validateStyleAst(zt,o),zt.offset=c,p.styles.push(zt)}),p}visitReference(a,o){return{type:8,animation:Cn(this,is(a.animation),o),options:_(a.options)}}visitAnimateChild(a,o){return o.depCount++,{type:9,options:_(a.options)}}visitAnimateRef(a,o){return{type:10,animation:this.visitReference(a.animation,o),options:_(a.options)}}visitQuery(a,o){const p=o.currentQuerySelector,w=a.options||{};o.queryCount++,o.currentQuery=a;const[A,F]=function Ps(y){const a=!!y.split(/\s*,\s*/).find(o=>":self"==o);return a&&(y=y.replace(Zn,"")),y=y.replace(/@\*/g,Bn).replace(/@\w+/g,o=>Bn+"-"+o.slice(1)).replace(/:animating/g,mn),[y,a]}(a.selector);o.currentQuerySelector=p.length?p+" "+A:A,Ze(o.collectedStyles,o.currentQuerySelector,new Map);const L=Cn(this,is(a.animation),o);return o.currentQuery=null,o.currentQuerySelector=p,{type:11,selector:A,limit:w.limit||0,optional:!!w.optional,includeSelf:F,animation:L,originalSelector:a.selector,options:_(a.options)}}visitStagger(a,o){o.currentQuery||o.errors.push(function rt(){return new f.vHH(3013,!1)}());const p="full"===a.timings?{duration:0,delay:0,easing:"full"}:$r(a.timings,o.errors,!0);return{type:12,animation:Cn(this,is(a.animation),o),timings:p,options:null}}}class Tn{constructor(a){this.errors=a,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,this.nonAnimatableCSSPropertiesFound=new Set}}function _(y){return y?(y=Gr(y)).params&&(y.params=function _r(y){return y?Gr(y):null}(y.params)):y={},y}function I(y,a,o){return{duration:y,delay:a,easing:o}}function V(y,a,o,p,w,A,F=null,L=!1){return{type:1,element:y,keyframes:a,preStyleProps:o,postStyleProps:p,duration:w,delay:A,totalTime:w+A,easing:F,subTimeline:L}}class De{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,o){let p=this._map.get(a);p||this._map.set(a,p=[]),p.push(...o)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const kt=new RegExp(":enter","g"),Ut=new RegExp(":leave","g");function Mt(y,a,o,p,w,A=new Map,F=new Map,L,ue,be=[]){return(new un).buildKeyframes(y,a,o,p,w,A,F,L,ue,be)}class un{buildKeyframes(a,o,p,w,A,F,L,ue,be,$e=[]){be=be||new De;const Qe=new qt(a,o,be,w,A,$e,[]);Qe.options=ue;const Ct=ue.delay?jn(ue.delay):0;Qe.currentTimeline.delayNextStep(Ct),Qe.currentTimeline.setStyles([F],null,Qe.errors,ue),Cn(this,p,Qe);const Dt=Qe.timelines.filter(lt=>lt.containsAnimation());if(Dt.length&&L.size){let lt;for(let ht=Dt.length-1;ht>=0;ht--){const Bt=Dt[ht];if(Bt.element===o){lt=Bt;break}}lt&&!lt.allowOnlyTimelineStyles()&&lt.setStyles([L],null,Qe.errors,ue)}return Dt.length?Dt.map(lt=>lt.buildKeyframes()):[V(o,[],[],[],0,Ct,"",!1)]}visitTrigger(a,o){}visitState(a,o){}visitTransition(a,o){}visitAnimateChild(a,o){const p=o.subInstructions.get(o.element);if(p){const w=o.createSubContext(a.options),A=o.currentTimeline.currentTime,F=this._visitSubInstructions(p,w,w.options);A!=F&&o.transformIntoNewTimeline(F)}o.previousNode=a}visitAnimateRef(a,o){const p=o.createSubContext(a.options);p.transformIntoNewTimeline(),this.visitReference(a.animation,p),o.transformIntoNewTimeline(p.currentTimeline.currentTime),o.previousNode=a}_visitSubInstructions(a,o,p){let A=o.currentTimeline.currentTime;const F=null!=p.duration?jn(p.duration):null,L=null!=p.delay?jn(p.delay):null;return 0!==F&&a.forEach(ue=>{const be=o.appendInstructionToTimeline(ue,F,L);A=Math.max(A,be.duration+be.delay)}),A}visitReference(a,o){o.updateOptions(a.options,!0),Cn(this,a.animation,o),o.previousNode=a}visitSequence(a,o){const p=o.subContextCount;let w=o;const A=a.options;if(A&&(A.params||A.delay)&&(w=o.createSubContext(A),w.transformIntoNewTimeline(),null!=A.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=Lt);const F=jn(A.delay);w.delayNextStep(F)}a.steps.length&&(a.steps.forEach(F=>Cn(this,F,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>p&&w.transformIntoNewTimeline()),o.previousNode=a}visitGroup(a,o){const p=[];let w=o.currentTimeline.currentTime;const A=a.options&&a.options.delay?jn(a.options.delay):0;a.steps.forEach(F=>{const L=o.createSubContext(a.options);A&&L.delayNextStep(A),Cn(this,F,L),w=Math.max(w,L.currentTimeline.currentTime),p.push(L.currentTimeline)}),p.forEach(F=>o.currentTimeline.mergeTimelineCollectedStyles(F)),o.transformIntoNewTimeline(w),o.previousNode=a}_visitTiming(a,o){if(a.dynamic){const p=a.strValue;return $r(o.params?Ms(p,o.params,o.errors):p,o.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,o){const p=o.currentAnimateTimings=this._visitTiming(a.timings,o),w=o.currentTimeline;p.delay&&(o.incrementTime(p.delay),w.snapshotCurrentStyles());const A=a.style;5==A.type?this.visitKeyframes(A,o):(o.incrementTime(p.duration),this.visitStyle(A,o),w.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=a}visitStyle(a,o){const p=o.currentTimeline,w=o.currentAnimateTimings;!w&&p.hasCurrentStyleProperties()&&p.forwardFrame();const A=w&&w.easing||a.easing;a.isEmptyStep?p.applyEmptyStep(A):p.setStyles(a.styles,A,o.errors,o.options),o.previousNode=a}visitKeyframes(a,o){const p=o.currentAnimateTimings,w=o.currentTimeline.duration,A=p.duration,L=o.createSubContext().currentTimeline;L.easing=p.easing,a.styles.forEach(ue=>{L.forwardTime((ue.offset||0)*A),L.setStyles(ue.styles,ue.easing,o.errors,o.options),L.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(L),o.transformIntoNewTimeline(w+A),o.previousNode=a}visitQuery(a,o){const p=o.currentTimeline.currentTime,w=a.options||{},A=w.delay?jn(w.delay):0;A&&(6===o.previousNode.type||0==p&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Lt);let F=p;const L=o.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!w.optional,o.errors);o.currentQueryTotal=L.length;let ue=null;L.forEach((be,$e)=>{o.currentQueryIndex=$e;const Qe=o.createSubContext(a.options,be);A&&Qe.delayNextStep(A),be===o.element&&(ue=Qe.currentTimeline),Cn(this,a.animation,Qe),Qe.currentTimeline.applyStylesToKeyframe(),F=Math.max(F,Qe.currentTimeline.currentTime)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(F),ue&&(o.currentTimeline.mergeTimelineCollectedStyles(ue),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=a}visitStagger(a,o){const p=o.parentContext,w=o.currentTimeline,A=a.timings,F=Math.abs(A.duration),L=F*(o.currentQueryTotal-1);let ue=F*o.currentQueryIndex;switch(A.duration<0?"reverse":A.easing){case"reverse":ue=L-ue;break;case"full":ue=p.currentStaggerTime}const $e=o.currentTimeline;ue&&$e.delayNextStep(ue);const Qe=$e.currentTime;Cn(this,a.animation,o),o.previousNode=a,p.currentStaggerTime=w.currentTime-Qe+(w.startTime-p.currentTimeline.startTime)}}const Lt={};class qt{constructor(a,o,p,w,A,F,L,ue){this._driver=a,this.element=o,this.subInstructions=p,this._enterClassName=w,this._leaveClassName=A,this.errors=F,this.timelines=L,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Lt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ue||new Me(this._driver,o,0),L.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,o){if(!a)return;const p=a;let w=this.options;null!=p.duration&&(w.duration=jn(p.duration)),null!=p.delay&&(w.delay=jn(p.delay));const A=p.params;if(A){let F=w.params;F||(F=this.options.params={}),Object.keys(A).forEach(L=>{(!o||!F.hasOwnProperty(L))&&(F[L]=Ms(A[L],F,this.errors))})}}_copyOptions(){const a={};if(this.options){const o=this.options.params;if(o){const p=a.params={};Object.keys(o).forEach(w=>{p[w]=o[w]})}}return a}createSubContext(a=null,o,p){const w=o||this.element,A=new qt(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,p||0));return A.previousNode=this.previousNode,A.currentAnimateTimings=this.currentAnimateTimings,A.options=this._copyOptions(),A.updateOptions(a),A.currentQueryIndex=this.currentQueryIndex,A.currentQueryTotal=this.currentQueryTotal,A.parentContext=this,this.subContextCount++,A}transformIntoNewTimeline(a){return this.previousNode=Lt,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,o,p){const w={duration:o??a.duration,delay:this.currentTimeline.currentTime+(p??0)+a.delay,easing:""},A=new _t(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,w,a.stretchStartingKeyframe);return this.timelines.push(A),w}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,o,p,w,A,F){let L=[];if(w&&L.push(this.element),a.length>0){a=(a=a.replace(kt,"."+this._enterClassName)).replace(Ut,"."+this._leaveClassName);let be=this._driver.query(this.element,a,1!=p);0!==p&&(be=p<0?be.slice(be.length+p,be.length):be.slice(0,p)),L.push(...be)}return!A&&0==L.length&&F.push(function Fn(y){return new f.vHH(3014,!1)}()),L}}class Me{constructor(a,o,p,w){this._driver=a,this.element=o,this.startTime=p,this._elementTimelineStylesLookup=w,this.duration=0,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(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,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(a){const o=1===this._keyframes.size&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+a),o&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,o){return this.applyStylesToKeyframe(),new Me(this._driver,a,o||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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,o){this._localTimelineStyles.set(a,o),this._globalTimelineStyles.set(a,o),this._styleSummary.set(a,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[o,p]of this._globalTimelineStyles)this._backFill.set(o,p||nt.l3),this._currentKeyframe.set(o,nt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,o,p,w){o&&this._previousKeyframe.set("easing",o);const A=w&&w.params||{},F=function Jn(y,a){const o=new Map;let p;return y.forEach(w=>{if("*"===w){p=p||a.keys();for(let A of p)o.set(A,nt.l3)}else Yn(w,o)}),o}(a,this._globalTimelineStyles);for(let[L,ue]of F){const be=Ms(ue,A,p);this._pendingStyles.set(L,be),this._localTimelineStyles.has(L)||this._backFill.set(L,this._globalTimelineStyles.get(L)||nt.l3),this._updateStyle(L,be)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,o)=>{this._currentKeyframe.set(o,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,a)}))}snapshotCurrentStyles(){for(let[a,o]of this._localTimelineStyles)this._pendingStyles.set(a,o),this._updateStyle(a,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let o in this._currentKeyframe)a.push(o);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((o,p)=>{const w=this._styleSummary.get(p);(!w||o.time>w.time)&&this._updateStyle(p,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,o=new Set,p=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((L,ue)=>{const be=Yn(L,new Map,this._backFill);be.forEach(($e,Qe)=>{$e===nt.k1?a.add(Qe):$e===nt.l3&&o.add(Qe)}),p||be.set("offset",ue/this.duration),w.push(be)});const A=a.size?Sr(a.values()):[],F=o.size?Sr(o.values()):[];if(p){const L=w[0],ue=new Map(L);L.set("offset",0),ue.set("offset",1),w=[L,ue]}return V(this.element,w,A,F,this.duration,this.startTime,this.easing,!1)}}class _t extends Me{constructor(a,o,p,w,A,F,L=!1){super(a,o,F.delay),this.keyframes=p,this.preStyleProps=w,this.postStyleProps=A,this._stretchStartingKeyframe=L,this.timings={duration:F.duration,delay:F.delay,easing:F.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:o,duration:p,easing:w}=this.timings;if(this._stretchStartingKeyframe&&o){const A=[],F=p+o,L=o/F,ue=Yn(a[0]);ue.set("offset",0),A.push(ue);const be=Yn(a[0]);be.set("offset",lr(L)),A.push(be);const $e=a.length-1;for(let Qe=1;Qe<=$e;Qe++){let Ct=Yn(a[Qe]);const Dt=Ct.get("offset");Ct.set("offset",lr((o+Dt*p)/F)),A.push(Ct)}p=F,o=0,w="",a=A}return V(this.element,a,this.preStyleProps,this.postStyleProps,p,o,w,!0)}}function lr(y,a=3){const o=Math.pow(10,a-1);return Math.round(y*o)/o}class Xn{}const Dr=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 wi extends Xn{normalizePropertyName(a,o){return Zs(a)}normalizeStyleValue(a,o,p,w){let A="";const F=p.toString().trim();if(Dr.has(o)&&0!==p&&"0"!==p)if("number"==typeof p)A="px";else{const L=p.match(/^[+-]?[\d\.]+([a-z]*)$/);L&&0==L[1].length&&w.push(function Te(y,a){return new f.vHH(3005,!1)}())}return F+A}}function ri(y,a,o,p,w,A,F,L,ue,be,$e,Qe,Ct){return{type:0,element:y,triggerName:a,isRemovalTransition:w,fromState:o,fromStyles:A,toState:p,toStyles:F,timelines:L,queriedElements:ue,preStyleProps:be,postStyleProps:$e,totalTime:Qe,errors:Ct}}const qi={};class Zi{constructor(a,o,p){this._triggerName=a,this.ast=o,this._stateStyles=p}match(a,o,p,w){return function Ji(y,a,o,p,w){return y.some(A=>A(a,o,p,w))}(this.ast.matchers,a,o,p,w)}buildStyles(a,o,p){let w=this._stateStyles.get("*");return void 0!==a&&(w=this._stateStyles.get(a?.toString())||w),w?w.buildStyles(o,p):new Map}build(a,o,p,w,A,F,L,ue,be,$e){const Qe=[],Ct=this.ast.options&&this.ast.options.params||qi,lt=this.buildStyles(p,L&&L.params||qi,Qe),ht=ue&&ue.params||qi,Bt=this.buildStyles(w,ht,Qe),zt=new Set,d=new Map,c=new Map,u="void"===w,m={params:si(ht,Ct),delay:this.ast.options?.delay},C=$e?[]:Mt(a,o,this.ast.animation,A,F,lt,Bt,m,be,Qe);let S=0;if(C.forEach(H=>{S=Math.max(H.duration+H.delay,S)}),Qe.length)return ri(o,this._triggerName,p,w,u,lt,Bt,[],[],d,c,S,Qe);C.forEach(H=>{const Ce=H.element,We=Ze(d,Ce,new Set);H.preStyleProps.forEach(Be=>We.add(Be));const Tt=Ze(c,Ce,new Set);H.postStyleProps.forEach(Be=>Tt.add(Be)),Ce!==o&&zt.add(Ce)});const x=Sr(zt.values());return ri(o,this._triggerName,p,w,u,lt,Bt,C,x,d,c,S)}}function si(y,a){const o=Gr(a);for(const p in y)y.hasOwnProperty(p)&&null!=y[p]&&(o[p]=y[p]);return o}class wn{constructor(a,o,p){this.styles=a,this.defaultParams=o,this.normalizer=p}buildStyles(a,o){const p=new Map,w=Gr(this.defaultParams);return Object.keys(a).forEach(A=>{const F=a[A];null!==F&&(w[A]=F)}),this.styles.styles.forEach(A=>{"string"!=typeof A&&A.forEach((F,L)=>{F&&(F=Ms(F,w,o));const ue=this.normalizer.normalizePropertyName(L,o);F=this.normalizer.normalizeStyleValue(L,ue,F,o),p.set(ue,F)})}),p}}class Xi{constructor(a,o,p){this.name=a,this.ast=o,this._normalizer=p,this.transitionFactories=[],this.states=new Map,o.states.forEach(w=>{this.states.set(w.name,new wn(w.style,w.options&&w.options.params||{},p))}),Un(this.states,"true","1"),Un(this.states,"false","0"),o.transitions.forEach(w=>{this.transitionFactories.push(new Zi(a,w,this.states))}),this.fallbackTransition=function us(y,a,o){return new Zi(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(F,L)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,o,p,w){return this.transitionFactories.find(F=>F.match(a,o,p,w))||null}matchStyles(a,o,p){return this.fallbackTransition.buildStyles(a,o,p)}}function Un(y,a,o){y.has(a)?y.has(o)||y.set(o,y.get(a)):y.has(o)&&y.set(a,y.get(o))}const Os=new De;class eo{constructor(a,o,p){this.bodyNode=a,this._driver=o,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,o){const p=[],A=Ir(this._driver,o,p,[]);if(p.length)throw function xr(y){return new f.vHH(3503,!1)}();this._animations.set(a,A)}_buildPlayer(a,o,p){const w=a.element,A=Ae(0,this._normalizer,0,a.keyframes,o,p);return this._driver.animate(w,A,a.duration,a.delay,a.easing,[],!0)}create(a,o,p={}){const w=[],A=this._animations.get(a);let F;const L=new Map;if(A?(F=Mt(this._driver,o,A,an,Dn,new Map,new Map,p,Os,w),F.forEach($e=>{const Qe=Ze(L,$e.element,new Map);$e.postStyleProps.forEach(Ct=>Qe.set(Ct,null))})):(w.push(function Rr(){return new f.vHH(3300,!1)}()),F=[]),w.length)throw function ss(y){return new f.vHH(3504,!1)}();L.forEach(($e,Qe)=>{$e.forEach((Ct,Dt)=>{$e.set(Dt,this._driver.computeStyle(Qe,Dt,nt.l3))})});const be=W(F.map($e=>{const Qe=L.get($e.element);return this._buildPlayer($e,new Map,Qe)}));return this._playersById.set(a,be),be.onDestroy(()=>this.destroy(a)),this.players.push(be),be}destroy(a){const o=this._getPlayer(a);o.destroy(),this._playersById.delete(a);const p=this.players.indexOf(o);p>=0&&this.players.splice(p,1)}_getPlayer(a){const o=this._playersById.get(a);if(!o)throw function Er(y){return new f.vHH(3301,!1)}();return o}listen(a,o,p,w){const A=Ft(o,"","","");return Ve(this._getPlayer(a),p,A,w),()=>{}}command(a,o,p,w){if("register"==p)return void this.register(a,w[0]);if("create"==p)return void this.create(a,o,w[0]||{});const A=this._getPlayer(a);switch(p){case"play":A.play();break;case"pause":A.pause();break;case"reset":A.reset();break;case"restart":A.restart();break;case"finish":A.finish();break;case"init":A.init();break;case"setPosition":A.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(a)}}}const to="ng-animate-queued",Rs="ng-animate-disabled",Uo=[],Si={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class cs{constructor(a,o=""){this.namespaceId=o;const p=a&&a.hasOwnProperty("value");if(this.value=function Lr(y){return y??null}(p?a.value:a),p){const A=Gr(a);delete A.value,this.options=A}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const o=a.params;if(o){const p=this.options.params;Object.keys(o).forEach(w=>{null==p[w]&&(p[w]=o[w])})}}}const ds="void",Ns=new cs(ds);class Ii{constructor(a,o,p){this.id=a,this.hostElement=o,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,$n(o,this._hostClassName)}listen(a,o,p,w){if(!this._triggers.has(o))throw function It(y,a){return new f.vHH(3302,!1)}();if(null==p||0==p.length)throw function at(y){return new f.vHH(3303,!1)}();if(!function $o(y){return"start"==y||"done"==y}(p))throw function Yt(y,a){return new f.vHH(3400,!1)}();const A=Ze(this._elementListeners,a,[]),F={name:o,phase:p,callback:w};A.push(F);const L=Ze(this._engine.statesByElement,a,new Map);return L.has(o)||($n(a,Wn),$n(a,Wn+"-"+o),L.set(o,Ns)),()=>{this._engine.afterFlush(()=>{const ue=A.indexOf(F);ue>=0&&A.splice(ue,1),this._triggers.has(o)||L.delete(o)})}}register(a,o){return!this._triggers.has(a)&&(this._triggers.set(a,o),!0)}_getTrigger(a){const o=this._triggers.get(a);if(!o)throw function hn(y){return new f.vHH(3401,!1)}();return o}trigger(a,o,p,w=!0){const A=this._getTrigger(o),F=new Ai(this.id,o,a);let L=this._engine.statesByElement.get(a);L||($n(a,Wn),$n(a,Wn+"-"+o),this._engine.statesByElement.set(a,L=new Map));let ue=L.get(o);const be=new cs(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&ue&&be.absorbOptions(ue.options),L.set(o,be),ue||(ue=Ns),be.value!==ds&&ue.value===be.value){if(!function xi(y,a){const o=Object.keys(y),p=Object.keys(a);if(o.length!=p.length)return!1;for(let w=0;w<o.length;w++){const A=o[w];if(!a.hasOwnProperty(A)||y[A]!==a[A])return!1}return!0}(ue.params,be.params)){const ht=[],Bt=A.matchStyles(ue.value,ue.params,ht),zt=A.matchStyles(be.value,be.params,ht);ht.length?this._engine.reportError(ht):this._engine.afterFlush(()=>{yr(a,Bt),Qn(a,zt)})}return}const Ct=Ze(this._engine.playersByElement,a,[]);Ct.forEach(ht=>{ht.namespaceId==this.id&&ht.triggerName==o&&ht.queued&&ht.destroy()});let Dt=A.matchTransition(ue.value,be.value,a,be.params),lt=!1;if(!Dt){if(!w)return;Dt=A.fallbackTransition,lt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:o,transition:Dt,fromState:ue,toState:be,player:F,isFallbackTransition:lt}),lt||($n(a,to),F.onStart(()=>{Qr(a,to)})),F.onDone(()=>{let ht=this.players.indexOf(F);ht>=0&&this.players.splice(ht,1);const Bt=this._engine.playersByElement.get(a);if(Bt){let zt=Bt.indexOf(F);zt>=0&&Bt.splice(zt,1)}}),this.players.push(F),Ct.push(F),F}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(o=>o.delete(a)),this._elementListeners.forEach((o,p)=>{this._elementListeners.set(p,o.filter(w=>w.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const o=this._engine.playersByElement.get(a);o&&(o.forEach(p=>p.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,o){const p=this._engine.driver.query(a,Bn,!0),w=a.shadowRoot?this._engine.driver.query(a.shadowRoot,Bn,!0):[];[...p,...w].forEach(A=>{if(A[Vn])return;const F=this._engine.fetchNamespacesByElement(A);F.size?F.forEach(L=>L.triggerLeaveAnimation(A,o,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(a,o,p,w){const A=this._engine.statesByElement.get(a),F=new Map;if(A){const L=[];if(A.forEach((ue,be)=>{if(F.set(be,ue.value),this._triggers.has(be)){const $e=this.trigger(a,be,ds,w);$e&&L.push($e)}}),L.length)return this._engine.markElementAsRemoved(this.id,a,!0,o,F),p&&W(L).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const o=this._elementListeners.get(a),p=this._engine.statesByElement.get(a);if(o&&p){const w=new Set;o.forEach(A=>{const F=A.name;if(w.has(F))return;w.add(F);const ue=this._triggers.get(F).fallbackTransition,be=p.get(F)||Ns,$e=new cs(ds),Qe=new Ai(this.id,F,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:F,transition:ue,fromState:be,toState:$e,player:Qe,isFallbackTransition:!0})})}}removeNode(a,o){const p=this._engine;if((!!a.childElementCount||!(!a.shadowRoot||!a.shadowRoot.childElementCount))&&this._signalRemovalForInnerTriggers(a,o),this.triggerLeaveAnimation(a,o,!0))return;let F=!1;if(p.totalAnimations){const L=p.players.length?p.playersByQueriedElement.get(a):[];if(L&&L.length)F=!0;else{let ue=a;for(;ue=ue.parentNode;)if(p.statesByElement.get(ue)){F=!0;break}}}if(this.prepareLeaveAnimationListeners(a),F)p.markElementAsRemoved(this.id,a,!1,o);else{const L=a[Vn];(!L||L===Si)&&(p.afterFlush(()=>this.clearElementCache(a)),p.destroyInnerAnimations(a),p._onRemovalComplete(a,o))}}insertNode(a,o){$n(a,this._hostClassName)}drainQueuedTransitions(a){const o=[];return this._queue.forEach(p=>{const w=p.player;if(w.destroyed)return;const A=p.element,F=this._elementListeners.get(A);F&&F.forEach(L=>{if(L.name==p.triggerName){const ue=Ft(A,p.triggerName,p.fromState.value,p.toState.value);ue._data=a,Ve(p.player,L.phase,ue,L.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):o.push(p)}),this._queue=[],o.sort((p,w)=>{const A=p.transition.ast.depCount,F=w.transition.ast.depCount;return 0==A||0==F?A-F:this._engine.driver.containsElement(p.element,w.element)?1:-1})}destroy(a){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let o=!1;return this._elementListeners.has(a)&&(o=!0),o=!!this._queue.find(p=>p.element===a)||o,o}}class Vo{constructor(a,o,p){this.bodyNode=a,this.driver=o,this._normalizer=p,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,A)=>{}}_onRemovalComplete(a,o){this.onRemovalComplete(a,o)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(o=>{o.players.forEach(p=>{p.queued&&a.push(p)})}),a}createNamespace(a,o){const p=new Ii(a,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(p,o):(this.newHostElements.set(o,p),this.collectEnterElement(o)),this._namespaceLookup[a]=p}_balanceNamespaceList(a,o){const p=this._namespaceList,w=this.namespacesByHostElement;if(p.length-1>=0){let F=!1,L=this.driver.getParentElement(o);for(;L;){const ue=w.get(L);if(ue){const be=p.indexOf(ue);p.splice(be+1,0,a),F=!0;break}L=this.driver.getParentElement(L)}F||p.unshift(a)}else p.push(a);return w.set(o,a),a}register(a,o){let p=this._namespaceLookup[a];return p||(p=this.createNamespace(a,o)),p}registerTrigger(a,o,p){let w=this._namespaceLookup[a];w&&w.register(o,p)&&this.totalAnimations++}destroy(a,o){if(!a)return;const p=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[a];const w=this._namespaceList.indexOf(p);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>p.destroy(o))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const o=new Set,p=this.statesByElement.get(a);if(p)for(let w of p.values())if(w.namespaceId){const A=this._fetchNamespace(w.namespaceId);A&&o.add(A)}return o}trigger(a,o,p,w){if(Vt(o)){const A=this._fetchNamespace(a);if(A)return A.trigger(o,p,w),!0}return!1}insertNode(a,o,p,w){if(!Vt(o))return;const A=o[Vn];if(A&&A.setForRemoval){A.setForRemoval=!1,A.setForMove=!0;const F=this.collectedLeaveElements.indexOf(o);F>=0&&this.collectedLeaveElements.splice(F,1)}if(a){const F=this._fetchNamespace(a);F&&F.insertNode(o,p)}w&&this.collectEnterElement(o)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,o){o?this.disabledNodes.has(a)||(this.disabledNodes.add(a),$n(a,Rs)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Qr(a,Rs))}removeNode(a,o,p,w){if(Vt(o)){const A=a?this._fetchNamespace(a):null;if(A?A.removeNode(o,w):this.markElementAsRemoved(a,o,!1,w),p){const F=this.namespacesByHostElement.get(o);F&&F.id!==a&&F.removeNode(o,w)}}else this._onRemovalComplete(o,w)}markElementAsRemoved(a,o,p,w,A){this.collectedLeaveElements.push(o),o[Vn]={namespaceId:a,setForRemoval:w,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:A}}listen(a,o,p,w,A){return Vt(o)?this._fetchNamespace(a).listen(o,p,w,A):()=>{}}_buildInstruction(a,o,p,w,A){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,p,w,a.fromState.options,a.toState.options,o,A)}destroyInnerAnimations(a){let o=this.driver.query(a,Bn,!0);o.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(o=this.driver.query(a,mn,!0),o.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(a){const o=this.playersByElement.get(a);o&&o.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(a){const o=this.playersByQueriedElement.get(a);o&&o.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return W(this.players).onDone(()=>a());a()})}processLeaveNode(a){const o=a[Vn];if(o&&o.setForRemoval){if(a[Vn]=Si,o.namespaceId){this.destroyInnerAnimations(a);const p=this._fetchNamespace(o.namespaceId);p&&p.clearElementCache(a)}this._onRemovalComplete(a,o.setForRemoval)}a.classList?.contains(Rs)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(a=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,w)=>this._balanceNamespaceList(p,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)$n(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{o=this._flushAnimations(p,a)}finally{for(let w=0;w<p.length;w++)p[w]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],o.length?W(o).onDone(()=>{p.forEach(w=>w())}):p.forEach(w=>w())}}reportError(a){throw function Wt(y){return new f.vHH(3402,!1)}()}_flushAnimations(a,o){const p=new De,w=[],A=new Map,F=[],L=new Map,ue=new Map,be=new Map,$e=new Set;this.disabledNodes.forEach(qe=>{$e.add(qe);const it=this.driver.query(qe,".ng-animate-queued",!0);for(let et=0;et<it.length;et++)$e.add(it[et])});const Qe=this.bodyNode,Ct=Array.from(this.statesByElement.keys()),Dt=Oi(Ct,this.collectedEnterElements),lt=new Map;let ht=0;Dt.forEach((qe,it)=>{const et=an+ht++;lt.set(it,et),qe.forEach(Et=>$n(Et,et))});const Bt=[],zt=new Set,d=new Set;for(let qe=0;qe<this.collectedLeaveElements.length;qe++){const it=this.collectedLeaveElements[qe],et=it[Vn];et&&et.setForRemoval&&(Bt.push(it),zt.add(it),et.hasAnimation?this.driver.query(it,".ng-star-inserted",!0).forEach(Et=>zt.add(Et)):d.add(it))}const c=new Map,u=Oi(Ct,Array.from(zt));u.forEach((qe,it)=>{const et=Dn+ht++;c.set(it,et),qe.forEach(Et=>$n(Et,et))}),a.push(()=>{Dt.forEach((qe,it)=>{const et=lt.get(it);qe.forEach(Et=>Qr(Et,et))}),u.forEach((qe,it)=>{const et=c.get(it);qe.forEach(Et=>Qr(Et,et))}),Bt.forEach(qe=>{this.processLeaveNode(qe)})});const m=[],C=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(o).forEach(et=>{const Et=et.player,Kt=et.element;if(m.push(Et),this.collectedEnterElements.length){const Gn=Kt[Vn];if(Gn&&Gn.setForMove){if(Gn.previousTriggersValues&&Gn.previousTriggersValues.has(et.triggerName)){const gs=Gn.previousTriggersValues.get(et.triggerName),Xt=this.statesByElement.get(et.element);if(Xt&&Xt.has(et.triggerName)){const gi=Xt.get(et.triggerName);gi.value=gs,Xt.set(et.triggerName,gi)}}return void Et.destroy()}}const zn=!Qe||!this.driver.containsElement(Qe,Kt),Mn=c.get(Kt),Jr=lt.get(Kt),nn=this._buildInstruction(et,p,Jr,Mn,zn);if(nn.errors&&nn.errors.length)return void C.push(nn);if(zn)return Et.onStart(()=>yr(Kt,nn.fromStyles)),Et.onDestroy(()=>Qn(Kt,nn.toStyles)),void w.push(Et);if(et.isFallbackTransition)return Et.onStart(()=>yr(Kt,nn.fromStyles)),Et.onDestroy(()=>Qn(Kt,nn.toStyles)),void w.push(Et);const Ta=[];nn.timelines.forEach(Gn=>{Gn.stretchStartingKeyframe=!0,this.disabledNodes.has(Gn.element)||Ta.push(Gn)}),nn.timelines=Ta,p.append(Kt,nn.timelines),F.push({instruction:nn,player:Et,element:Kt}),nn.queriedElements.forEach(Gn=>Ze(L,Gn,[]).push(Et)),nn.preStyleProps.forEach((Gn,gs)=>{if(Gn.size){let Xt=ue.get(gs);Xt||ue.set(gs,Xt=new Set),Gn.forEach((gi,ms)=>Xt.add(ms))}}),nn.postStyleProps.forEach((Gn,gs)=>{let Xt=be.get(gs);Xt||be.set(gs,Xt=new Set),Gn.forEach((gi,ms)=>Xt.add(ms))})});if(C.length){const qe=[];C.forEach(it=>{qe.push(function mt(y,a){return new f.vHH(3505,!1)}())}),m.forEach(it=>it.destroy()),this.reportError(qe)}const S=new Map,x=new Map;F.forEach(qe=>{const it=qe.element;p.has(it)&&(x.set(it,it),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,S))}),w.forEach(qe=>{const it=qe.element;this._getPreviousPlayers(it,!1,qe.namespaceId,qe.triggerName,null).forEach(Et=>{Ze(S,it,[]).push(Et),Et.destroy()})});const H=Bt.filter(qe=>Ri(qe,ue,be)),Ce=new Map;ii(Ce,this.driver,d,be,nt.l3).forEach(qe=>{Ri(qe,ue,be)&&H.push(qe)});const Tt=new Map;Dt.forEach((qe,it)=>{ii(Tt,this.driver,new Set(qe),ue,nt.k1)}),H.forEach(qe=>{const it=Ce.get(qe),et=Tt.get(qe);Ce.set(qe,new Map([...Array.from(it?.entries()??[]),...Array.from(et?.entries()??[])]))});const Be=[],Rt=[],jt={};F.forEach(qe=>{const{element:it,player:et,instruction:Et}=qe;if(p.has(it)){if($e.has(it))return et.onDestroy(()=>Qn(it,Et.toStyles)),et.disabled=!0,et.overrideTotalTime(Et.totalTime),void w.push(et);let Kt=jt;if(x.size>1){let Mn=it;const Jr=[];for(;Mn=Mn.parentNode;){const nn=x.get(Mn);if(nn){Kt=nn;break}Jr.push(Mn)}Jr.forEach(nn=>x.set(nn,Kt))}const zn=this._buildAnimation(et.namespaceId,Et,S,A,Tt,Ce);if(et.setRealPlayer(zn),Kt===jt)Be.push(et);else{const Mn=this.playersByElement.get(Kt);Mn&&Mn.length&&(et.parentPlayer=W(Mn)),w.push(et)}}else yr(it,Et.fromStyles),et.onDestroy(()=>Qn(it,Et.toStyles)),Rt.push(et),$e.has(it)&&w.push(et)}),Rt.forEach(qe=>{const it=A.get(qe.element);if(it&&it.length){const et=W(it);qe.setRealPlayer(et)}}),w.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe<Bt.length;qe++){const it=Bt[qe],et=it[Vn];if(Qr(it,Dn),et&&et.hasAnimation)continue;let Et=[];if(L.size){let zn=L.get(it);zn&&zn.length&&Et.push(...zn);let Mn=this.driver.query(it,mn,!0);for(let Jr=0;Jr<Mn.length;Jr++){let nn=L.get(Mn[Jr]);nn&&nn.length&&Et.push(...nn)}}const Kt=Et.filter(zn=>!zn.destroyed);Kt.length?oi(this,it,Kt):this.processLeaveNode(it)}return Bt.length=0,Be.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const it=this.players.indexOf(qe);this.players.splice(it,1)}),qe.play()}),Be}elementContainsData(a,o){let p=!1;const w=o[Vn];return w&&w.setForRemoval&&(p=!0),this.playersByElement.has(o)&&(p=!0),this.playersByQueriedElement.has(o)&&(p=!0),this.statesByElement.has(o)&&(p=!0),this._fetchNamespace(a).elementContainsData(o)||p}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,o,p,w,A){let F=[];if(o){const L=this.playersByQueriedElement.get(a);L&&(F=L)}else{const L=this.playersByElement.get(a);if(L){const ue=!A||A==ds;L.forEach(be=>{be.queued||!ue&&be.triggerName!=w||F.push(be)})}}return(p||w)&&(F=F.filter(L=>!(p&&p!=L.namespaceId||w&&w!=L.triggerName))),F}_beforeAnimationBuild(a,o,p){const A=o.element,F=o.isRemovalTransition?void 0:a,L=o.isRemovalTransition?void 0:o.triggerName;for(const ue of o.timelines){const be=ue.element,$e=be!==A,Qe=Ze(p,be,[]);this._getPreviousPlayers(be,$e,F,L,o.toState).forEach(Dt=>{const lt=Dt.getRealPlayer();lt.beforeDestroy&&lt.beforeDestroy(),Dt.destroy(),Qe.push(Dt)})}yr(A,o.fromStyles)}_buildAnimation(a,o,p,w,A,F){const L=o.triggerName,ue=o.element,be=[],$e=new Set,Qe=new Set,Ct=o.timelines.map(lt=>{const ht=lt.element;$e.add(ht);const Bt=ht[Vn];if(Bt&&Bt.removedBeforeQueried)return new nt.ZN(lt.duration,lt.delay);const zt=ht!==ue,d=function fs(y){const a=[];return Fs(y,a),a}((p.get(ht)||Uo).map(S=>S.getRealPlayer())).filter(S=>!!S.element&&S.element===ht),c=A.get(ht),u=F.get(ht),m=Ae(0,this._normalizer,0,lt.keyframes,c,u),C=this._buildPlayer(lt,m,d);if(lt.subTimeline&&w&&Qe.add(ht),zt){const S=new Ai(a,L,ht);S.setRealPlayer(C),be.push(S)}return C});be.forEach(lt=>{Ze(this.playersByQueriedElement,lt.element,[]).push(lt),lt.onDone(()=>function Sn(y,a,o){let p=y.get(a);if(p){if(p.length){const w=p.indexOf(o);p.splice(w,1)}0==p.length&&y.delete(a)}return p}(this.playersByQueriedElement,lt.element,lt))}),$e.forEach(lt=>$n(lt,Kn));const Dt=W(Ct);return Dt.onDestroy(()=>{$e.forEach(lt=>Qr(lt,Kn)),Qn(ue,o.toStyles)}),Qe.forEach(lt=>{Ze(w,lt,[]).push(Dt)}),Dt}_buildPlayer(a,o,p){return o.length>0?this.driver.animate(a.element,o,a.duration,a.delay,a.easing,p):new nt.ZN(a.duration,a.delay)}}class Ai{constructor(a,o,p){this.namespaceId=a,this.triggerName=o,this.element=p,this._player=new nt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((o,p)=>{o.forEach(w=>Ve(a,p,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const o=this._player;o.triggerCallback&&a.onStart(()=>o.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,o){Ze(this._queuedCallbacks,a,[]).push(o)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const o=this._player;o.triggerCallback&&o.triggerCallback(a)}}function Vt(y){return y&&1===y.nodeType}function Pi(y,a){const o=y.style.display;return y.style.display=a??"none",o}function ii(y,a,o,p,w){const A=[];o.forEach(ue=>A.push(Pi(ue)));const F=[];p.forEach((ue,be)=>{const $e=new Map;ue.forEach(Qe=>{const Ct=a.computeStyle(be,Qe,w);$e.set(Qe,Ct),(!Ct||0==Ct.length)&&(be[Vn]=Mi,F.push(be))}),y.set(be,$e)});let L=0;return o.forEach(ue=>Pi(ue,A[L++])),F}function Oi(y,a){const o=new Map;if(y.forEach(L=>o.set(L,[])),0==a.length)return o;const w=new Set(a),A=new Map;function F(L){if(!L)return 1;let ue=A.get(L);if(ue)return ue;const be=L.parentNode;return ue=o.has(be)?be:w.has(be)?1:F(be),A.set(L,ue),ue}return a.forEach(L=>{const ue=F(L);1!==ue&&o.get(ue).push(L)}),o}function $n(y,a){y.classList?.add(a)}function Qr(y,a){y.classList?.remove(a)}function oi(y,a,o){W(o).onDone(()=>y.processLeaveNode(a))}function Fs(y,a){for(let o=0;o<y.length;o++){const p=y[o];p instanceof nt.ZE?Fs(p.players,a):a.push(p)}}function Ri(y,a,o){const p=o.get(y);if(!p)return!1;let w=a.get(y);return w?p.forEach(A=>w.add(A)):a.set(y,p),o.delete(y),!0}class ai{constructor(a,o,p){this.bodyNode=a,this._driver=o,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(w,A)=>{},this._transitionEngine=new Vo(a,o,p),this._timelineEngine=new eo(a,o,p),this._transitionEngine.onRemovalComplete=(w,A)=>this.onRemovalComplete(w,A)}registerTrigger(a,o,p,w,A){const F=a+"-"+w;let L=this._triggerCache[F];if(!L){const ue=[],$e=Ir(this._driver,A,ue,[]);if(ue.length)throw function Ur(y,a){return new f.vHH(3404,!1)}();L=function er(y,a,o){return new Xi(y,a,o)}(w,$e,this._normalizer),this._triggerCache[F]=L}this._transitionEngine.registerTrigger(o,w,L)}register(a,o){this._transitionEngine.register(a,o)}destroy(a,o){this._transitionEngine.destroy(a,o)}onInsert(a,o,p,w){this._transitionEngine.insertNode(a,o,p,w)}onRemove(a,o,p,w){this._transitionEngine.removeNode(a,o,w||!1,p)}disableAnimations(a,o){this._transitionEngine.markElementAsDisabled(a,o)}process(a,o,p,w){if("@"==p.charAt(0)){const[A,F]=ir(p);this._timelineEngine.command(A,o,F,w)}else this._transitionEngine.trigger(a,o,p,w)}listen(a,o,p,w,A){if("@"==p.charAt(0)){const[F,L]=ir(p);return this._timelineEngine.listen(F,o,L,A)}return this._transitionEngine.listen(a,o,p,w,A)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let hs=(()=>{class y{constructor(o,p,w){this._element=o,this._startStyles=p,this._endStyles=w,this._state=0;let A=y.initialStylesByElement.get(o);A||y.initialStylesByElement.set(o,A=new Map),this._initialStyles=A}start(){this._state<1&&(this._startStyles&&Qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qn(this._element,this._initialStyles),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(y.initialStylesByElement.delete(this._element),this._startStyles&&(yr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yr(this._element,this._endStyles),this._endStyles=null),Qn(this._element,this._initialStyles),this._state=3)}}return y.initialStylesByElement=new WeakMap,y})();function ks(y){let a=null;return y.forEach((o,p)=>{(function zo(y){return"display"===y||"position"===y})(p)&&(a=a||new Map,a.set(p,o))}),a}class ps{constructor(a,o,p,w){this.element=a,this.keyframes=o,this.options=p,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=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const o=[];return a.forEach(p=>{o.push(Object.fromEntries(p))}),o}_triggerWebAnimation(a,o,p){return a.animate(this._convertKeyframesToObject(o),p)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,w)=>{"offset"!==w&&a.set(w,this._finished?p:Kr(this.element,w))}),this.currentSnapshot=a}triggerCallback(a){const o="start"===a?this._onStartFns:this._onDoneFns;o.forEach(p=>p()),o.length=0}}class Ni{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,o){return!1}containsElement(a,o){return Vr(a,o)}getParentElement(a){return sn(a)}query(a,o,p){return mr(a,o,p)}computeStyle(a,o,p){return window.getComputedStyle(a)[o]}animate(a,o,p,w,A,F=[]){const ue={duration:p,delay:w,fill:0==w?"both":"forwards"};A&&(ue.easing=A);const be=new Map,$e=F.filter(Dt=>Dt instanceof ps);(function Ci(y,a){return 0===y||0===a})(p,w)&&$e.forEach(Dt=>{Dt.currentSnapshot.forEach((lt,ht)=>be.set(ht,lt))});let Qe=function _i(y){return y.length?y[0]instanceof Map?y:y.map(a=>Ys(a)):[]}(o).map(Dt=>Yn(Dt));Qe=function vr(y,a,o){if(o.size&&a.length){let p=a[0],w=[];if(o.forEach((A,F)=>{p.has(F)||w.push(F),p.set(F,A)}),w.length)for(let A=1;A<a.length;A++){let F=a[A];w.forEach(L=>F.set(L,Kr(y,L)))}}return a}(a,Qe,be);const Ct=function Br(y,a){let o=null,p=null;return Array.isArray(a)&&a.length?(o=ks(a[0]),a.length>1&&(p=ks(a[a.length-1]))):a instanceof Map&&(o=ks(a)),o||p?new hs(y,o,p):null}(a,Qe);return new ps(a,Qe,ue,Ct)}}let ro=(()=>{class y extends nt._j{constructor(o,p){super(),this._nextAnimationId=0,this._renderer=o.createRenderer(p.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(o){const p=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(o)?(0,nt.vP)(o):o;return Go(this._renderer,null,p,"register",[w]),new Fi(p,this._renderer)}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(f.FYo),f.LFG(Xe.K0))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})();class Fi extends nt.LC{constructor(a,o){super(),this._id=a,this._renderer=o}create(a,o){return new so(this._id,a,o||{},this._renderer)}}class so{constructor(a,o,p,w){this.id=a,this.element=o,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(a,o){return this._renderer.listen(this.element,`@@${this.id}:${a}`,o)}_command(a,...o){return Go(this._renderer,this.element,this.id,a,o)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Go(y,a,o,p,w){return y.setProperty(a,`@@${o}:${p}`,w)}const li="@.disabled";let io=(()=>{class y{constructor(o,p,w){this.delegate=o,this.engine=p,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(A,F)=>{const L=F?.parentNode(A);L&&F.removeChild(L,A)}}createRenderer(o,p){const A=this.delegate.createRenderer(o,p);if(!(o&&p&&p.data&&p.data.animation)){let $e=this._rendererCache.get(A);return $e||($e=new Ls("",A,this.engine),this._rendererCache.set(A,$e)),$e}const F=p.id,L=p.id+"-"+this._currentId;this._currentId++,this.engine.register(L,o);const ue=$e=>{Array.isArray($e)?$e.forEach(ue):this.engine.registerTrigger(F,L,o,$e.name,$e)};return p.data.animation.forEach(ue),new oo(this,L,A,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(o,p,w){o>=0&&o<this._microtaskId?this._zone.run(()=>p(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(A=>{const[F,L]=A;F(L)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,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()}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(f.FYo),f.LFG(ai),f.LFG(f.R0b))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})();class Ls{constructor(a,o,p){this.namespaceId=a,this.delegate=o,this.engine=p,this.destroyNode=this.delegate.destroyNode?w=>o.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,o){return this.delegate.createElement(a,o)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,o){this.delegate.appendChild(a,o),this.engine.onInsert(this.namespaceId,o,a,!1)}insertBefore(a,o,p,w=!0){this.delegate.insertBefore(a,o,p),this.engine.onInsert(this.namespaceId,o,a,w)}removeChild(a,o,p){this.engine.onRemove(this.namespaceId,o,this.delegate,p)}selectRootElement(a,o){return this.delegate.selectRootElement(a,o)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,o,p,w){this.delegate.setAttribute(a,o,p,w)}removeAttribute(a,o,p){this.delegate.removeAttribute(a,o,p)}addClass(a,o){this.delegate.addClass(a,o)}removeClass(a,o){this.delegate.removeClass(a,o)}setStyle(a,o,p,w){this.delegate.setStyle(a,o,p,w)}removeStyle(a,o,p){this.delegate.removeStyle(a,o,p)}setProperty(a,o,p){"@"==o.charAt(0)&&o==li?this.disableAnimations(a,!!p):this.delegate.setProperty(a,o,p)}setValue(a,o){this.delegate.setValue(a,o)}listen(a,o,p){return this.delegate.listen(a,o,p)}disableAnimations(a,o){this.engine.disableAnimations(a,o)}}class oo extends Ls{constructor(a,o,p,w){super(o,p,w),this.factory=a,this.namespaceId=o}setProperty(a,o,p){"@"==o.charAt(0)?"."==o.charAt(1)&&o==li?this.disableAnimations(a,p=void 0===p||!!p):this.engine.process(this.namespaceId,a,o.slice(1),p):this.delegate.setProperty(a,o,p)}listen(a,o,p){if("@"==o.charAt(0)){const w=function ao(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(a);let A=o.slice(1),F="";return"@"!=A.charAt(0)&&([A,F]=function Jt(y){const a=y.indexOf(".");return[y.substring(0,a),y.slice(a+1)]}(A)),this.engine.listen(this.namespaceId,w,A,F,L=>{this.factory.scheduleListenerCallback(L._data||-1,p,L)})}return this.delegate.listen(a,o,p)}}const jr=[{provide:nt._j,useClass:ro},{provide:Xn,useFactory:function Zr(){return new wi}},{provide:ai,useClass:(()=>{class y extends ai{constructor(o,p,w,A){super(o.body,p,w)}ngOnDestroy(){this.flush()}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(Xe.K0),f.LFG(br),f.LFG(Xn),f.LFG(f.z2F))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})()},{provide:f.FYo,useFactory:function Bs(y,a,o){return new io(y,a,o)},deps:[D.se,ai,f.R0b]}],lo=[{provide:br,useFactory:()=>new Ni},{provide:f.QbO,useValue:"BrowserAnimations"},...jr],uo=[{provide:br,useClass:On},{provide:f.QbO,useValue:"NoopAnimations"},...jr];let ki=(()=>{class y{static withConfig(o){return{ngModule:y,providers:o.disableAnimations?uo:lo}}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y}),y.\u0275inj=f.cJS({providers:lo,imports:[D.b2]}),y})(),ur=(()=>{class y{constructor(o){this._router=o}intercept(o,p){let w=JSON.parse(window.localStorage.getItem("user")),A=new Date;if(null!=w){let F=new Date(w.Token.expiredAt);o=o.clone(A<F?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${w.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else o=o.clone({setHeaders:{"Content-Type":"application/json"}});return p.handle(o)}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(en.F0))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})();var Li=b(7185);const ui=["custom-toast-component",""];function ci(y,a){if(1&y){const o=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(o);const w=f.oxw(2);return f.KtG(w.remove())}),f._uU(1," x "),f.qZA()}}function di(y,a){if(1&y&&(f.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),f._uU(4),f.qZA()()(),f.TgZ(5,"div",8),f.YNc(6,ci,2,0,"a",9),f.qZA()()),2&y){const o=f.oxw();f.Udp("display","inactive"===o.state.value?"none":""),f.xp6(2),f.Tol(o.options.titleClass),f.uIk("aria-label",o.title),f.xp6(2),f.Oqu(o.title),f.xp6(2),f.Q6J("ngIf",o.options.closeButton)}}const js=function(y){return{notitle:y}};function tr(y,a){if(1&y&&f._UZ(0,"div",11),2&y){const o=f.oxw();f.Tol(o.options.messageClass),f.Q6J("ngClass",f.VKq(4,js,null==o.title))("innerHTML",o.message,f.oJD)}}function ba(y,a){if(1&y&&(f.TgZ(0,"div",12),f._uU(1),f.qZA()),2&y){const o=f.oxw();f.Tol(o.options.messageClass),f.Q6J("ngClass",f.VKq(5,js,null==o.title)),f.uIk("aria-label",o.message),f.xp6(1),f.hij(" ",o.message," ")}}function fi(y,a){if(1&y){const o=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(o);const w=f.oxw();return f.KtG(w.remove())}),f._uU(1," x "),f.qZA()}}function Bi(y,a){if(1&y&&(f.TgZ(0,"div"),f._UZ(1,"div",13),f.qZA()),2&y){const o=f.oxw();f.xp6(1),f.Udp("width",o.width+"%")}}let ji=(()=>{class y extends Li.FN{constructor(o,p){super(o,p),this.toastrService=o,this.toastPackage=p}ngOnInit(){}action(o){return o.stopPropagation(),this.toastPackage.triggerAction(),!1}}return y.\u0275fac=function(o){return new(o||y)(f.Y36(Li._W),f.Y36(Li.PR))},y.\u0275cmp=f.Xpm({type:y,selectors:[["","custom-toast-component",""]],features:[f.qOj],attrs:ui,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body ps-3","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body ps-3","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","pe-0","ps-2"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","ps-3",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","ps-3",3,"ngClass"],[1,"toast-progress"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f.YNc(1,di,7,7,"div",1),f.YNc(2,tr,1,6,"div",2),f.YNc(3,ba,2,7,"div",3),f.YNc(4,fi,2,0,"a",4),f.YNc(5,Bi,2,2,"div",5),f.qZA()),2&o&&(f.xp6(1),f.Q6J("ngIf",p.title),f.xp6(1),f.Q6J("ngIf",p.message&&p.options.enableHtml),f.xp6(1),f.Q6J("ngIf",p.message&&!p.options.enableHtml),f.xp6(1),f.Q6J("ngIf",p.options.closeButton&&null==p.title),f.xp6(1),f.Q6J("ngIf",p.options.progressBar))},dependencies:[Xe.mk,Xe.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,nt.X$)("flyInOut",[(0,nt.SB)("inactive",(0,nt.oB)({opacity:0})),(0,nt.eR)("inactive => active",(0,nt.jt)("400ms ease-out",(0,nt.F4)([(0,nt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,nt.oB)({transform:"skewX(20deg)",opacity:1}),(0,nt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,nt.oB)({transform:"none",opacity:1})]))),(0,nt.eR)("active => removed",(0,nt.jt)("400ms ease-out",(0,nt.F4)([(0,nt.oB)({opacity:1}),(0,nt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),y})();var co=b(3131);const Ko={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]};let hi=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y,bootstrap:[sr]}),y.\u0275inj=f.cJS({providers:[{provide:oe.TP,useClass:ur,multi:!0},An.O,xn.e],imports:[D.b2,Rn,ki,Li.Rh.forRoot({toastComponent:ji,positionClass:"toast-bottom-right",closeButton:!0}),oe.JF,co.Cz.forRoot(Ko),cn.forRoot()]}),y})();(0,f.G48)(),D.q6().bootstrapModule(hi).catch(y=>console.error(y))},1135:(Ye,me,b)=>{b.d(me,{X:()=>f});var D=b(7579);class f extends D.x{constructor(ce){super(),this._value=ce}get value(){return this.getValue()}_subscribe(ce){const $=super._subscribe(ce);return!$.closed&&ce.next(this._value),$}getValue(){const{hasError:ce,thrownError:$,_value:ee}=this;if(ce)throw $;return this._throwIfClosed(),ee}next(ce){super.next(this._value=ce)}}},8306:(Ye,me,b)=>{b.d(me,{y:()=>re});var D=b(930),f=b(727),oe=b(8822),ce=b(4671);var J=b(2416),le=b(576),he=b(2806);let re=(()=>{class Ee{constructor(Ne){Ne&&(this._subscribe=Ne)}lift(Ne){const ye=new Ee;return ye.source=this,ye.operator=Ne,ye}subscribe(Ne,ye,xe){const Xe=function je(Ee){return Ee&&Ee instanceof D.Lv||function q(Ee){return Ee&&(0,le.m)(Ee.next)&&(0,le.m)(Ee.error)&&(0,le.m)(Ee.complete)}(Ee)&&(0,f.Nn)(Ee)}(Ne)?Ne:new D.Hp(Ne,ye,xe);return(0,he.x)(()=>{const{operator:Ue,source:te}=this;Xe.add(Ue?Ue.call(Xe,te):te?this._subscribe(Xe):this._trySubscribe(Xe))}),Xe}_trySubscribe(Ne){try{return this._subscribe(Ne)}catch(ye){Ne.error(ye)}}forEach(Ne,ye){return new(ye=se(ye))((xe,Xe)=>{const Ue=new D.Hp({next:te=>{try{Ne(te)}catch(j){Xe(j),Ue.unsubscribe()}},error:Xe,complete:xe});this.subscribe(Ue)})}_subscribe(Ne){var ye;return null===(ye=this.source)||void 0===ye?void 0:ye.subscribe(Ne)}[oe.L](){return this}pipe(...Ne){return function ee(Ee){return 0===Ee.length?ce.y:1===Ee.length?Ee[0]:function(Ne){return Ee.reduce((ye,xe)=>xe(ye),Ne)}}(Ne)(this)}toPromise(Ne){return new(Ne=se(Ne))((ye,xe)=>{let Xe;this.subscribe(Ue=>Xe=Ue,Ue=>xe(Ue),()=>ye(Xe))})}}return Ee.create=_e=>new Ee(_e),Ee})();function se(Ee){var _e;return null!==(_e=Ee??J.v.Promise)&&void 0!==_e?_e:Promise}},4707:(Ye,me,b)=>{b.d(me,{t:()=>oe});var D=b(7579),f=b(6063);class oe extends D.x{constructor($=1/0,ee=1/0,J=f.l){super(),this._bufferSize=$,this._windowTime=ee,this._timestampProvider=J,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ee===1/0,this._bufferSize=Math.max(1,$),this._windowTime=Math.max(1,ee)}next($){const{isStopped:ee,_buffer:J,_infiniteTimeWindow:le,_timestampProvider:he,_windowTime:re}=this;ee||(J.push($),!le&&J.push(he.now()+re)),this._trimBuffer(),super.next($)}_subscribe($){this._throwIfClosed(),this._trimBuffer();const ee=this._innerSubscribe($),{_infiniteTimeWindow:J,_buffer:le}=this,he=le.slice();for(let re=0;re<he.length&&!$.closed;re+=J?1:2)$.next(he[re]);return this._checkFinalizedStatuses($),ee}_trimBuffer(){const{_bufferSize:$,_timestampProvider:ee,_buffer:J,_infiniteTimeWindow:le}=this,he=(le?1:2)*$;if($<1/0&&he<J.length&&J.splice(0,J.length-he),!le){const re=ee.now();let se=0;for(let q=1;q<J.length&&J[q]<=re;q+=2)se=q;se&&J.splice(0,se+1)}}}},7579:(Ye,me,b)=>{b.d(me,{x:()=>J});var D=b(8306),f=b(727);const ce=(0,b(3888).d)(he=>function(){he(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var $=b(8737),ee=b(2806);let J=(()=>{class he extends D.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(se){const q=new le(this,this);return q.operator=se,q}_throwIfClosed(){if(this.closed)throw new ce}next(se){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const q of this.currentObservers)q.next(se)}})}error(se){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=se;const{observers:q}=this;for(;q.length;)q.shift().error(se)}})}complete(){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:se}=this;for(;se.length;)se.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var se;return(null===(se=this.observers)||void 0===se?void 0:se.length)>0}_trySubscribe(se){return this._throwIfClosed(),super._trySubscribe(se)}_subscribe(se){return this._throwIfClosed(),this._checkFinalizedStatuses(se),this._innerSubscribe(se)}_innerSubscribe(se){const{hasError:q,isStopped:je,observers:Ee}=this;return q||je?f.Lc:(this.currentObservers=null,Ee.push(se),new f.w0(()=>{this.currentObservers=null,(0,$.P)(Ee,se)}))}_checkFinalizedStatuses(se){const{hasError:q,thrownError:je,isStopped:Ee}=this;q?se.error(je):Ee&&se.complete()}asObservable(){const se=new D.y;return se.source=this,se}}return he.create=(re,se)=>new le(re,se),he})();class le extends J{constructor(re,se){super(),this.destination=re,this.source=se}next(re){var se,q;null===(q=null===(se=this.destination)||void 0===se?void 0:se.next)||void 0===q||q.call(se,re)}error(re){var se,q;null===(q=null===(se=this.destination)||void 0===se?void 0:se.error)||void 0===q||q.call(se,re)}complete(){var re,se;null===(se=null===(re=this.destination)||void 0===re?void 0:re.complete)||void 0===se||se.call(re)}_subscribe(re){var se,q;return null!==(q=null===(se=this.source)||void 0===se?void 0:se.subscribe(re))&&void 0!==q?q:f.Lc}}},930:(Ye,me,b)=>{b.d(me,{Hp:()=>Ne,Lv:()=>q});var D=b(576),f=b(727),oe=b(2416),ce=b(7849),$=b(5032);const ee=he("C",void 0,void 0);function he(te,j,k){return{kind:te,value:j,error:k}}var re=b(3410),se=b(2806);class q extends f.w0{constructor(j){super(),this.isStopped=!1,j?(this.destination=j,(0,f.Nn)(j)&&j.add(this)):this.destination=Ue}static create(j,k,ve){return new Ne(j,k,ve)}next(j){this.isStopped?Xe(function le(te){return he("N",te,void 0)}(j),this):this._next(j)}error(j){this.isStopped?Xe(function J(te){return he("E",void 0,te)}(j),this):(this.isStopped=!0,this._error(j))}complete(){this.isStopped?Xe(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(j){this.destination.next(j)}_error(j){try{this.destination.error(j)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const je=Function.prototype.bind;function Ee(te,j){return je.call(te,j)}class _e{constructor(j){this.partialObserver=j}next(j){const{partialObserver:k}=this;if(k.next)try{k.next(j)}catch(ve){ye(ve)}}error(j){const{partialObserver:k}=this;if(k.error)try{k.error(j)}catch(ve){ye(ve)}else ye(j)}complete(){const{partialObserver:j}=this;if(j.complete)try{j.complete()}catch(k){ye(k)}}}class Ne extends q{constructor(j,k,ve){let Z;if(super(),(0,D.m)(j)||!j)Z={next:j??void 0,error:k??void 0,complete:ve??void 0};else{let Q;this&&oe.v.useDeprecatedNextContext?(Q=Object.create(j),Q.unsubscribe=()=>this.unsubscribe(),Z={next:j.next&&Ee(j.next,Q),error:j.error&&Ee(j.error,Q),complete:j.complete&&Ee(j.complete,Q)}):Z=j}this.destination=new _e(Z)}}function ye(te){oe.v.useDeprecatedSynchronousErrorHandling?(0,se.O)(te):(0,ce.h)(te)}function Xe(te,j){const{onStoppedNotification:k}=oe.v;k&&re.z.setTimeout(()=>k(te,j))}const Ue={closed:!0,next:$.Z,error:function xe(te){throw te},complete:$.Z}},727:(Ye,me,b)=>{b.d(me,{Lc:()=>ee,w0:()=>$,Nn:()=>J});var D=b(576);const oe=(0,b(3888).d)(he=>function(se){he(this),this.message=se?`${se.length} errors occurred during unsubscription:\n${se.map((q,je)=>`${je+1}) ${q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=se});var ce=b(8737);class ${constructor(re){this.initialTeardown=re,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let re;if(!this.closed){this.closed=!0;const{_parentage:se}=this;if(se)if(this._parentage=null,Array.isArray(se))for(const Ee of se)Ee.remove(this);else se.remove(this);const{initialTeardown:q}=this;if((0,D.m)(q))try{q()}catch(Ee){re=Ee instanceof oe?Ee.errors:[Ee]}const{_finalizers:je}=this;if(je){this._finalizers=null;for(const Ee of je)try{le(Ee)}catch(_e){re=re??[],_e instanceof oe?re=[...re,..._e.errors]:re.push(_e)}}if(re)throw new oe(re)}}add(re){var se;if(re&&re!==this)if(this.closed)le(re);else{if(re instanceof $){if(re.closed||re._hasParent(this))return;re._addParent(this)}(this._finalizers=null!==(se=this._finalizers)&&void 0!==se?se:[]).push(re)}}_hasParent(re){const{_parentage:se}=this;return se===re||Array.isArray(se)&&se.includes(re)}_addParent(re){const{_parentage:se}=this;this._parentage=Array.isArray(se)?(se.push(re),se):se?[se,re]:re}_removeParent(re){const{_parentage:se}=this;se===re?this._parentage=null:Array.isArray(se)&&(0,ce.P)(se,re)}remove(re){const{_finalizers:se}=this;se&&(0,ce.P)(se,re),re instanceof $&&re._removeParent(this)}}$.EMPTY=(()=>{const he=new $;return he.closed=!0,he})();const ee=$.EMPTY;function J(he){return he instanceof $||he&&"closed"in he&&(0,D.m)(he.remove)&&(0,D.m)(he.add)&&(0,D.m)(he.unsubscribe)}function le(he){(0,D.m)(he)?he():he.unsubscribe()}},2416:(Ye,me,b)=>{b.d(me,{v:()=>D});const D={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Ye,me,b)=>{b.d(me,{a:()=>re});var D=b(8306),f=b(4742),oe=b(2076),ce=b(4671),$=b(3268),ee=b(3269),J=b(1810),le=b(5403),he=b(9672);function re(...je){const Ee=(0,ee.yG)(je),_e=(0,ee.jO)(je),{args:Ne,keys:ye}=(0,f.D)(je);if(0===Ne.length)return(0,oe.D)([],Ee);const xe=new D.y(function se(je,Ee,_e=ce.y){return Ne=>{q(Ee,()=>{const{length:ye}=je,xe=new Array(ye);let Xe=ye,Ue=ye;for(let te=0;te<ye;te++)q(Ee,()=>{const j=(0,oe.D)(je[te],Ee);let k=!1;j.subscribe((0,le.x)(Ne,ve=>{xe[te]=ve,k||(k=!0,Ue--),Ue||Ne.next(_e(xe.slice()))},()=>{--Xe||Ne.complete()}))},Ne)},Ne)}}(Ne,Ee,ye?Xe=>(0,J.n)(ye,Xe):ce.y));return _e?xe.pipe((0,$.Z)(_e)):xe}function q(je,Ee,_e){je?(0,he.f)(_e,je,Ee):Ee()}},7272:(Ye,me,b)=>{b.d(me,{z:()=>$});var D=b(8189),oe=b(3269),ce=b(2076);function $(...ee){return function f(){return(0,D.J)(1)}()((0,ce.D)(ee,(0,oe.yG)(ee)))}},9770:(Ye,me,b)=>{b.d(me,{P:()=>oe});var D=b(8306),f=b(8421);function oe(ce){return new D.y($=>{(0,f.Xf)(ce()).subscribe($)})}},515:(Ye,me,b)=>{b.d(me,{E:()=>f});const f=new(b(8306).y)($=>$.complete())},2076:(Ye,me,b)=>{b.d(me,{D:()=>ve});var D=b(8421),f=b(9672),oe=b(4482),ce=b(5403);function $(Z,Q=0){return(0,oe.e)((pe,R)=>{pe.subscribe((0,ce.x)(R,N=>(0,f.f)(R,Z,()=>R.next(N),Q),()=>(0,f.f)(R,Z,()=>R.complete(),Q),N=>(0,f.f)(R,Z,()=>R.error(N),Q)))})}function ee(Z,Q=0){return(0,oe.e)((pe,R)=>{R.add(Z.schedule(()=>pe.subscribe(R),Q))})}var he=b(8306),se=b(2202),q=b(576);function Ee(Z,Q){if(!Z)throw new Error("Iterable cannot be null");return new he.y(pe=>{(0,f.f)(pe,Q,()=>{const R=Z[Symbol.asyncIterator]();(0,f.f)(pe,Q,()=>{R.next().then(N=>{N.done?pe.complete():pe.next(N.value)})},0,!0)})})}var _e=b(3670),Ne=b(8239),ye=b(1144),xe=b(6495),Xe=b(2206),Ue=b(4532),te=b(3260);function ve(Z,Q){return Q?function k(Z,Q){if(null!=Z){if((0,_e.c)(Z))return function J(Z,Q){return(0,D.Xf)(Z).pipe(ee(Q),$(Q))}(Z,Q);if((0,ye.z)(Z))return function re(Z,Q){return new he.y(pe=>{let R=0;return Q.schedule(function(){R===Z.length?pe.complete():(pe.next(Z[R++]),pe.closed||this.schedule())})})}(Z,Q);if((0,Ne.t)(Z))return function le(Z,Q){return(0,D.Xf)(Z).pipe(ee(Q),$(Q))}(Z,Q);if((0,Xe.D)(Z))return Ee(Z,Q);if((0,xe.T)(Z))return function je(Z,Q){return new he.y(pe=>{let R;return(0,f.f)(pe,Q,()=>{R=Z[se.h](),(0,f.f)(pe,Q,()=>{let N,G;try{({value:N,done:G}=R.next())}catch(de){return void pe.error(de)}G?pe.complete():pe.next(N)},0,!0)}),()=>(0,q.m)(R?.return)&&R.return()})}(Z,Q);if((0,te.L)(Z))return function j(Z,Q){return Ee((0,te.Q)(Z),Q)}(Z,Q)}throw(0,Ue.z)(Z)}(Z,Q):(0,D.Xf)(Z)}},8421:(Ye,me,b)=>{b.d(me,{Xf:()=>je});var D=b(655),f=b(1144),oe=b(8239),ce=b(8306),$=b(3670),ee=b(2206),J=b(4532),le=b(6495),he=b(3260),re=b(576),se=b(7849),q=b(8822);function je(te){if(te instanceof ce.y)return te;if(null!=te){if((0,$.c)(te))return function Ee(te){return new ce.y(j=>{const k=te[q.L]();if((0,re.m)(k.subscribe))return k.subscribe(j);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(te);if((0,f.z)(te))return function _e(te){return new ce.y(j=>{for(let k=0;k<te.length&&!j.closed;k++)j.next(te[k]);j.complete()})}(te);if((0,oe.t)(te))return function Ne(te){return new ce.y(j=>{te.then(k=>{j.closed||(j.next(k),j.complete())},k=>j.error(k)).then(null,se.h)})}(te);if((0,ee.D)(te))return xe(te);if((0,le.T)(te))return function ye(te){return new ce.y(j=>{for(const k of te)if(j.next(k),j.closed)return;j.complete()})}(te);if((0,he.L)(te))return function Xe(te){return xe((0,he.Q)(te))}(te)}throw(0,J.z)(te)}function xe(te){return new ce.y(j=>{(function Ue(te,j){var k,ve,Z,Q;return(0,D.mG)(this,void 0,void 0,function*(){try{for(k=(0,D.KL)(te);!(ve=yield k.next()).done;)if(j.next(ve.value),j.closed)return}catch(pe){Z={error:pe}}finally{try{ve&&!ve.done&&(Q=k.return)&&(yield Q.call(k))}finally{if(Z)throw Z.error}}j.complete()})})(te,j).catch(k=>j.error(k))})}},6451:(Ye,me,b)=>{b.d(me,{T:()=>ee});var D=b(8189),f=b(8421),oe=b(515),ce=b(3269),$=b(2076);function ee(...J){const le=(0,ce.yG)(J),he=(0,ce._6)(J,1/0),re=J;return re.length?1===re.length?(0,f.Xf)(re[0]):(0,D.J)(he)((0,$.D)(re,le)):oe.E}},9646:(Ye,me,b)=>{b.d(me,{of:()=>oe});var D=b(3269),f=b(2076);function oe(...ce){const $=(0,D.yG)(ce);return(0,f.D)(ce,$)}},2843:(Ye,me,b)=>{b.d(me,{_:()=>oe});var D=b(8306),f=b(576);function oe(ce,$){const ee=(0,f.m)(ce)?ce:()=>ce,J=le=>le.error(ee());return new D.y($?le=>$.schedule(J,0,le):J)}},2805:(Ye,me,b)=>{b.d(me,{H:()=>$});var D=b(8306),f=b(4986),oe=b(3532),ce=b(1165);function $(ee=0,J,le=f.P){let he=-1;return null!=J&&((0,oe.K)(J)?le=J:he=J),new D.y(re=>{let se=(0,ce.q)(ee)?+ee-le.now():ee;se<0&&(se=0);let q=0;return le.schedule(function(){re.closed||(re.next(q++),0<=he?this.schedule(void 0,he):re.complete())},se)})}},5403:(Ye,me,b)=>{b.d(me,{x:()=>f});var D=b(930);function f(ce,$,ee,J,le){return new oe(ce,$,ee,J,le)}class oe extends D.Lv{constructor($,ee,J,le,he,re){super($),this.onFinalize=he,this.shouldUnsubscribe=re,this._next=ee?function(se){try{ee(se)}catch(q){$.error(q)}}:super._next,this._error=le?function(se){try{le(se)}catch(q){$.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=J?function(){try{J()}catch(se){$.error(se)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var $;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===($=this.onFinalize)||void 0===$||$.call(this))}}}},262:(Ye,me,b)=>{b.d(me,{K:()=>ce});var D=b(8421),f=b(5403),oe=b(4482);function ce($){return(0,oe.e)((ee,J)=>{let re,le=null,he=!1;le=ee.subscribe((0,f.x)(J,void 0,void 0,se=>{re=(0,D.Xf)($(se,ce($)(ee))),le?(le.unsubscribe(),le=null,re.subscribe(J)):he=!0})),he&&(le.unsubscribe(),le=null,re.subscribe(J))})}},4351:(Ye,me,b)=>{b.d(me,{b:()=>oe});var D=b(5577),f=b(576);function oe(ce,$){return(0,f.m)($)?(0,D.z)(ce,$,1):(0,D.z)(ce,1)}},1884:(Ye,me,b)=>{b.d(me,{x:()=>ce});var D=b(4671),f=b(4482),oe=b(5403);function ce(ee,J=D.y){return ee=ee??$,(0,f.e)((le,he)=>{let re,se=!0;le.subscribe((0,oe.x)(he,q=>{const je=J(q);(se||!ee(re,je))&&(se=!1,re=je,he.next(q))}))})}function $(ee,J){return ee===J}},9300:(Ye,me,b)=>{b.d(me,{h:()=>oe});var D=b(4482),f=b(5403);function oe(ce,$){return(0,D.e)((ee,J)=>{let le=0;ee.subscribe((0,f.x)(J,he=>ce.call($,he,le++)&&J.next(he)))})}},8746:(Ye,me,b)=>{b.d(me,{x:()=>f});var D=b(4482);function f(oe){return(0,D.e)((ce,$)=>{try{ce.subscribe($)}finally{$.add(oe)}})}},4004:(Ye,me,b)=>{b.d(me,{U:()=>oe});var D=b(4482),f=b(5403);function oe(ce,$){return(0,D.e)((ee,J)=>{let le=0;ee.subscribe((0,f.x)(J,he=>{J.next(ce.call($,he,le++))}))})}},9718:(Ye,me,b)=>{b.d(me,{h:()=>f});var D=b(4004);function f(oe){return(0,D.U)(()=>oe)}},8189:(Ye,me,b)=>{b.d(me,{J:()=>oe});var D=b(5577),f=b(4671);function oe(ce=1/0){return(0,D.z)(f.y,ce)}},5577:(Ye,me,b)=>{b.d(me,{z:()=>le});var D=b(4004),f=b(8421),oe=b(4482),ce=b(9672),$=b(5403),J=b(576);function le(he,re,se=1/0){return(0,J.m)(re)?le((q,je)=>(0,D.U)((Ee,_e)=>re(q,Ee,je,_e))((0,f.Xf)(he(q,je))),se):("number"==typeof re&&(se=re),(0,oe.e)((q,je)=>function ee(he,re,se,q,je,Ee,_e,Ne){const ye=[];let xe=0,Xe=0,Ue=!1;const te=()=>{Ue&&!ye.length&&!xe&&re.complete()},j=ve=>xe<q?k(ve):ye.push(ve),k=ve=>{Ee&&re.next(ve),xe++;let Z=!1;(0,f.Xf)(se(ve,Xe++)).subscribe((0,$.x)(re,Q=>{je?.(Q),Ee?j(Q):re.next(Q)},()=>{Z=!0},void 0,()=>{if(Z)try{for(xe--;ye.length&&xe<q;){const Q=ye.shift();_e?(0,ce.f)(re,_e,()=>k(Q)):k(Q)}te()}catch(Q){re.error(Q)}}))};return he.subscribe((0,$.x)(re,j,()=>{Ue=!0,te()})),()=>{Ne?.()}}(q,je,he,se)))}},5026:(Ye,me,b)=>{b.d(me,{R:()=>ce});var D=b(4482),f=b(5403);function oe($,ee,J,le,he){return(re,se)=>{let q=J,je=ee,Ee=0;re.subscribe((0,f.x)(se,_e=>{const Ne=Ee++;je=q?$(je,_e,Ne):(q=!0,_e),le&&se.next(je)},he&&(()=>{q&&se.next(je),se.complete()})))}}function ce($,ee){return(0,D.e)(oe($,ee,arguments.length>=2,!0))}},3099:(Ye,me,b)=>{b.d(me,{B:()=>$});var D=b(8421),f=b(7579),oe=b(930),ce=b(4482);function $(J={}){const{connector:le=(()=>new f.x),resetOnError:he=!0,resetOnComplete:re=!0,resetOnRefCountZero:se=!0}=J;return q=>{let je,Ee,_e,Ne=0,ye=!1,xe=!1;const Xe=()=>{Ee?.unsubscribe(),Ee=void 0},Ue=()=>{Xe(),je=_e=void 0,ye=xe=!1},te=()=>{const j=je;Ue(),j?.unsubscribe()};return(0,ce.e)((j,k)=>{Ne++,!xe&&!ye&&Xe();const ve=_e=_e??le();k.add(()=>{Ne--,0===Ne&&!xe&&!ye&&(Ee=ee(te,se))}),ve.subscribe(k),!je&&Ne>0&&(je=new oe.Hp({next:Z=>ve.next(Z),error:Z=>{xe=!0,Xe(),Ee=ee(Ue,he,Z),ve.error(Z)},complete:()=>{ye=!0,Xe(),Ee=ee(Ue,re),ve.complete()}}),(0,D.Xf)(j).subscribe(je))})(q)}}function ee(J,le,...he){if(!0===le)return void J();if(!1===le)return;const re=new oe.Hp({next:()=>{re.unsubscribe(),J()}});return le(...he).subscribe(re)}},8675:(Ye,me,b)=>{b.d(me,{O:()=>ce});var D=b(7272),f=b(3269),oe=b(4482);function ce(...$){const ee=(0,f.yG)($);return(0,oe.e)((J,le)=>{(ee?(0,D.z)($,J,ee):(0,D.z)($,J)).subscribe(le)})}},3900:(Ye,me,b)=>{b.d(me,{w:()=>ce});var D=b(8421),f=b(4482),oe=b(5403);function ce($,ee){return(0,f.e)((J,le)=>{let he=null,re=0,se=!1;const q=()=>se&&!he&&le.complete();J.subscribe((0,oe.x)(le,je=>{he?.unsubscribe();let Ee=0;const _e=re++;(0,D.Xf)($(je,_e)).subscribe(he=(0,oe.x)(le,Ne=>le.next(ee?ee(je,Ne,_e,Ee++):Ne),()=>{he=null,q()}))},()=>{se=!0,q()}))})}},5698:(Ye,me,b)=>{b.d(me,{q:()=>ce});var D=b(515),f=b(4482),oe=b(5403);function ce($){return $<=0?()=>D.E:(0,f.e)((ee,J)=>{let le=0;ee.subscribe((0,oe.x)(J,he=>{++le<=$&&(J.next(he),$<=le&&J.complete())}))})}},8505:(Ye,me,b)=>{b.d(me,{b:()=>$});var D=b(576),f=b(4482),oe=b(5403),ce=b(4671);function $(ee,J,le){const he=(0,D.m)(ee)||J||le?{next:ee,error:J,complete:le}:ee;return he?(0,f.e)((re,se)=>{var q;null===(q=he.subscribe)||void 0===q||q.call(he);let je=!0;re.subscribe((0,oe.x)(se,Ee=>{var _e;null===(_e=he.next)||void 0===_e||_e.call(he,Ee),se.next(Ee)},()=>{var Ee;je=!1,null===(Ee=he.complete)||void 0===Ee||Ee.call(he),se.complete()},Ee=>{var _e;je=!1,null===(_e=he.error)||void 0===_e||_e.call(he,Ee),se.error(Ee)},()=>{var Ee,_e;je&&(null===(Ee=he.unsubscribe)||void 0===Ee||Ee.call(he)),null===(_e=he.finalize)||void 0===_e||_e.call(he)}))}):ce.y}},4408:(Ye,me,b)=>{b.d(me,{o:()=>$});var D=b(727);class f extends D.w0{constructor(J,le){super()}schedule(J,le=0){return this}}const oe={setInterval(ee,J,...le){const{delegate:he}=oe;return he?.setInterval?he.setInterval(ee,J,...le):setInterval(ee,J,...le)},clearInterval(ee){const{delegate:J}=oe;return(J?.clearInterval||clearInterval)(ee)},delegate:void 0};var ce=b(8737);class $ extends f{constructor(J,le){super(J,le),this.scheduler=J,this.work=le,this.pending=!1}schedule(J,le=0){if(this.closed)return this;this.state=J;const he=this.id,re=this.scheduler;return null!=he&&(this.id=this.recycleAsyncId(re,he,le)),this.pending=!0,this.delay=le,this.id=this.id||this.requestAsyncId(re,this.id,le),this}requestAsyncId(J,le,he=0){return oe.setInterval(J.flush.bind(J,this),he)}recycleAsyncId(J,le,he=0){if(null!=he&&this.delay===he&&!1===this.pending)return le;oe.clearInterval(le)}execute(J,le){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const he=this._execute(J,le);if(he)return he;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,le){let re,he=!1;try{this.work(J)}catch(se){he=!0,re=se||new Error("Scheduled action threw falsy error")}if(he)return this.unsubscribe(),re}unsubscribe(){if(!this.closed){const{id:J,scheduler:le}=this,{actions:he}=le;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ce.P)(he,this),null!=J&&(this.id=this.recycleAsyncId(le,J,null)),this.delay=null,super.unsubscribe()}}}},7565:(Ye,me,b)=>{b.d(me,{v:()=>oe});var D=b(6063);class f{constructor($,ee=f.now){this.schedulerActionCtor=$,this.now=ee}schedule($,ee=0,J){return new this.schedulerActionCtor(this,$).schedule(J,ee)}}f.now=D.l.now;class oe extends f{constructor($,ee=f.now){super($,ee),this.actions=[],this._active=!1,this._scheduled=void 0}flush($){const{actions:ee}=this;if(this._active)return void ee.push($);let J;this._active=!0;do{if(J=$.execute($.state,$.delay))break}while($=ee.shift());if(this._active=!1,J){for(;$=ee.shift();)$.unsubscribe();throw J}}}},4986:(Ye,me,b)=>{b.d(me,{P:()=>ce,z:()=>oe});var D=b(4408);const oe=new(b(7565).v)(D.o),ce=oe},6063:(Ye,me,b)=>{b.d(me,{l:()=>D});const D={now:()=>(D.delegate||Date).now(),delegate:void 0}},3410:(Ye,me,b)=>{b.d(me,{z:()=>D});const D={setTimeout(f,oe,...ce){const{delegate:$}=D;return $?.setTimeout?$.setTimeout(f,oe,...ce):setTimeout(f,oe,...ce)},clearTimeout(f){const{delegate:oe}=D;return(oe?.clearTimeout||clearTimeout)(f)},delegate:void 0}},2202:(Ye,me,b)=>{b.d(me,{h:()=>f});const f=function D(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ye,me,b)=>{b.d(me,{L:()=>D});const D="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Ye,me,b)=>{b.d(me,{_6:()=>ee,jO:()=>ce,yG:()=>$});var D=b(576),f=b(3532);function oe(J){return J[J.length-1]}function ce(J){return(0,D.m)(oe(J))?J.pop():void 0}function $(J){return(0,f.K)(oe(J))?J.pop():void 0}function ee(J,le){return"number"==typeof oe(J)?J.pop():le}},4742:(Ye,me,b)=>{b.d(me,{D:()=>$});const{isArray:D}=Array,{getPrototypeOf:f,prototype:oe,keys:ce}=Object;function $(J){if(1===J.length){const le=J[0];if(D(le))return{args:le,keys:null};if(function ee(J){return J&&"object"==typeof J&&f(J)===oe}(le)){const he=ce(le);return{args:he.map(re=>le[re]),keys:he}}}return{args:J,keys:null}}},8737:(Ye,me,b)=>{function D(f,oe){if(f){const ce=f.indexOf(oe);0<=ce&&f.splice(ce,1)}}b.d(me,{P:()=>D})},3888:(Ye,me,b)=>{function D(f){const ce=f($=>{Error.call($),$.stack=(new Error).stack});return ce.prototype=Object.create(Error.prototype),ce.prototype.constructor=ce,ce}b.d(me,{d:()=>D})},1810:(Ye,me,b)=>{function D(f,oe){return f.reduce((ce,$,ee)=>(ce[$]=oe[ee],ce),{})}b.d(me,{n:()=>D})},2806:(Ye,me,b)=>{b.d(me,{O:()=>ce,x:()=>oe});var D=b(2416);let f=null;function oe($){if(D.v.useDeprecatedSynchronousErrorHandling){const ee=!f;if(ee&&(f={errorThrown:!1,error:null}),$(),ee){const{errorThrown:J,error:le}=f;if(f=null,J)throw le}}else $()}function ce($){D.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=$)}},9672:(Ye,me,b)=>{function D(f,oe,ce,$=0,ee=!1){const J=oe.schedule(function(){ce(),ee?f.add(this.schedule(null,$)):this.unsubscribe()},$);if(f.add(J),!ee)return J}b.d(me,{f:()=>D})},4671:(Ye,me,b)=>{function D(f){return f}b.d(me,{y:()=>D})},1144:(Ye,me,b)=>{b.d(me,{z:()=>D});const D=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(Ye,me,b)=>{b.d(me,{D:()=>f});var D=b(576);function f(oe){return Symbol.asyncIterator&&(0,D.m)(oe?.[Symbol.asyncIterator])}},1165:(Ye,me,b)=>{function D(f){return f instanceof Date&&!isNaN(f)}b.d(me,{q:()=>D})},576:(Ye,me,b)=>{function D(f){return"function"==typeof f}b.d(me,{m:()=>D})},3670:(Ye,me,b)=>{b.d(me,{c:()=>oe});var D=b(8822),f=b(576);function oe(ce){return(0,f.m)(ce[D.L])}},6495:(Ye,me,b)=>{b.d(me,{T:()=>oe});var D=b(2202),f=b(576);function oe(ce){return(0,f.m)(ce?.[D.h])}},8239:(Ye,me,b)=>{b.d(me,{t:()=>f});var D=b(576);function f(oe){return(0,D.m)(oe?.then)}},3260:(Ye,me,b)=>{b.d(me,{L:()=>ce,Q:()=>oe});var D=b(655),f=b(576);function oe($){return(0,D.FC)(this,arguments,function*(){const J=$.getReader();try{for(;;){const{value:le,done:he}=yield(0,D.qq)(J.read());if(he)return yield(0,D.qq)(void 0);yield yield(0,D.qq)(le)}}finally{J.releaseLock()}})}function ce($){return(0,f.m)($?.getReader)}},3532:(Ye,me,b)=>{b.d(me,{K:()=>f});var D=b(576);function f(oe){return oe&&(0,D.m)(oe.schedule)}},4482:(Ye,me,b)=>{b.d(me,{A:()=>f,e:()=>oe});var D=b(576);function f(ce){return(0,D.m)(ce?.lift)}function oe(ce){return $=>{if(f($))return $.lift(function(ee){try{return ce(ee,this)}catch(J){this.error(J)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ye,me,b)=>{b.d(me,{Z:()=>ce});var D=b(4004);const{isArray:f}=Array;function ce($){return(0,D.U)(ee=>function oe($,ee){return f(ee)?$(...ee):$(ee)}($,ee))}},5032:(Ye,me,b)=>{function D(){}b.d(me,{Z:()=>D})},7849:(Ye,me,b)=>{b.d(me,{h:()=>oe});var D=b(2416),f=b(3410);function oe(ce){f.z.setTimeout(()=>{const{onUnhandledError:$}=D.v;if(!$)throw ce;$(ce)})}},4532:(Ye,me,b)=>{function D(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}b.d(me,{z:()=>D})},655:(Ye,me,b)=>{function le(R,N,G,de){return new(G||(G=Promise))(function(Ie,Je){function ft($t){try{ze(de.next($t))}catch(gn){Je(gn)}}function gt($t){try{ze(de.throw($t))}catch(gn){Je(gn)}}function ze($t){$t.done?Ie($t.value):function ie(Ie){return Ie instanceof G?Ie:new G(function(Je){Je(Ie)})}($t.value).then(ft,gt)}ze((de=de.apply(R,N||[])).next())})}function ye(R){return this instanceof ye?(this.v=R,this):new ye(R)}function xe(R,N,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie,de=G.apply(R,N||[]),Ie=[];return ie={},Je("next"),Je("throw"),Je("return"),ie[Symbol.asyncIterator]=function(){return this},ie;function Je(Oe){de[Oe]&&(ie[Oe]=function(Pe){return new Promise(function(X,ge){Ie.push([Oe,Pe,X,ge])>1||ft(Oe,Pe)})})}function ft(Oe,Pe){try{!function gt(Oe){Oe.value instanceof ye?Promise.resolve(Oe.value.v).then(ze,$t):gn(Ie[0][2],Oe)}(de[Oe](Pe))}catch(X){gn(Ie[0][3],X)}}function ze(Oe){ft("next",Oe)}function $t(Oe){ft("throw",Oe)}function gn(Oe,Pe){Oe(Pe),Ie.shift(),Ie.length&&ft(Ie[0][0],Ie[0][1])}}function Ue(R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,N=R[Symbol.asyncIterator];return N?N.call(R):(R=function q(R){var N="function"==typeof Symbol&&Symbol.iterator,G=N&&R[N],de=0;if(G)return G.call(R);if(R&&"number"==typeof R.length)return{next:function(){return R&&de>=R.length&&(R=void 0),{value:R&&R[de++],done:!R}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}(R),G={},de("next"),de("throw"),de("return"),G[Symbol.asyncIterator]=function(){return this},G);function de(Ie){G[Ie]=R[Ie]&&function(Je){return new Promise(function(ft,gt){!function ie(Ie,Je,ft,gt){Promise.resolve(gt).then(function(ze){Ie({value:ze,done:ft})},Je)}(ft,gt,(Je=R[Ie](Je)).done,Je.value)})}}}b.d(me,{FC:()=>xe,KL:()=>Ue,mG:()=>le,qq:()=>ye})},7340:(Ye,me,b)=>{b.d(me,{F4:()=>re,IO:()=>_e,LC:()=>f,SB:()=>he,X$:()=>ce,ZE:()=>Xe,ZN:()=>xe,_j:()=>D,eR:()=>se,jt:()=>$,k1:()=>Ue,l3:()=>oe,oB:()=>le,pV:()=>je,ru:()=>ee,vP:()=>J});class D{}class f{}const oe="*";function ce(te,j){return{type:7,name:te,definitions:j,options:{}}}function $(te,j=null){return{type:4,styles:j,timings:te}}function ee(te,j=null){return{type:3,steps:te,options:j}}function J(te,j=null){return{type:2,steps:te,options:j}}function le(te){return{type:6,styles:te,offset:null}}function he(te,j,k){return{type:0,name:te,styles:j,options:k}}function re(te){return{type:5,steps:te}}function se(te,j,k=null){return{type:1,expr:te,animation:j,options:k}}function je(te=null){return{type:9,options:te}}function _e(te,j,k=null){return{type:11,selector:te,animation:j,options:k}}function ye(te){Promise.resolve(null).then(te)}class xe{constructor(j=0,k=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=j+k}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}onStart(j){this._originalOnStartFns.push(j),this._onStartFns.push(j)}onDone(j){this._originalOnDoneFns.push(j),this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ye(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(j=>j()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(j){this._position=this.totalTime?j*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(j){const k="start"==j?this._onStartFns:this._onDoneFns;k.forEach(ve=>ve()),k.length=0}}class Xe{constructor(j){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=j;let k=0,ve=0,Z=0;const Q=this.players.length;0==Q?ye(()=>this._onFinish()):this.players.forEach(pe=>{pe.onDone(()=>{++k==Q&&this._onFinish()}),pe.onDestroy(()=>{++ve==Q&&this._onDestroy()}),pe.onStart(()=>{++Z==Q&&this._onStart()})}),this.totalTime=this.players.reduce((pe,R)=>Math.max(pe,R.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}init(){this.players.forEach(j=>j.init())}onStart(j){this._onStartFns.push(j)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(j=>j()),this._onStartFns=[])}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(j=>j.play())}pause(){this.players.forEach(j=>j.pause())}restart(){this.players.forEach(j=>j.restart())}finish(){this._onFinish(),this.players.forEach(j=>j.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(j=>j.destroy()),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this.players.forEach(j=>j.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(j){const k=j*this.totalTime;this.players.forEach(ve=>{const Z=ve.totalTime?Math.min(1,k/ve.totalTime):1;ve.setPosition(Z)})}getPosition(){const j=this.players.reduce((k,ve)=>null===k||ve.totalTime>k.totalTime?ve:k,null);return null!=j?j.getPosition():0}beforeDestroy(){this.players.forEach(j=>{j.beforeDestroy&&j.beforeDestroy()})}triggerCallback(j){const k="start"==j?this._onStartFns:this._onDoneFns;k.forEach(ve=>ve()),k.length=0}}const Ue="!"},6895:(Ye,me,b)=>{b.d(me,{$G:()=>mr,Do:()=>te,ED:()=>jn,EM:()=>Ir,HT:()=>$,JF:()=>Tn,JJ:()=>qn,K0:()=>J,Mx:()=>Ks,NF:()=>ls,O5:()=>an,Ov:()=>yr,PC:()=>Gr,RF:()=>Kn,S$:()=>ye,Ts:()=>Ci,V_:()=>re,Ye:()=>j,b0:()=>Ue,bD:()=>yn,ez:()=>Ho,mk:()=>Vr,n9:()=>mn,q:()=>oe,sg:()=>ar,tP:()=>Ys,uU:()=>Sr,w_:()=>ee});var D=b(4650);let f=null;function oe(){return f}function $(v){f||(f=v)}class ee{}const J=new D.OlP("DocumentToken");let le=(()=>{class v{historyGo(_){throw new Error("Not implemented")}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275prov=D.Yz7({token:v,factory:function(){return function he(){return(0,D.LFG)(se)}()},providedIn:"platform"}),v})();const re=new D.OlP("Location Initialized");let se=(()=>{class v extends le{constructor(_){super(),this._doc=_,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oe().getBaseHref(this._doc)}onPopState(_){const I=oe().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",_,!1),()=>I.removeEventListener("popstate",_)}onHashChange(_){const I=oe().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",_,!1),()=>I.removeEventListener("hashchange",_)}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(_){this.location.pathname=_}pushState(_,I,V){q()?this._history.pushState(_,I,V):this.location.hash=V}replaceState(_,I,V){q()?this._history.replaceState(_,I,V):this.location.hash=V}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(J))},v.\u0275prov=D.Yz7({token:v,factory:function(){return function je(){return new se((0,D.LFG)(J))}()},providedIn:"platform"}),v})();function q(){return!!window.history.pushState}function Ee(v,M){if(0==v.length)return M;if(0==M.length)return v;let _=0;return v.endsWith("/")&&_++,M.startsWith("/")&&_++,2==_?v+M.substring(1):1==_?v+M:v+"/"+M}function _e(v){const M=v.match(/#|\?|$/),_=M&&M.index||v.length;return v.slice(0,_-("/"===v[_-1]?1:0))+v.slice(_)}function Ne(v){return v&&"?"!==v[0]?"?"+v:v}let ye=(()=>{class v{historyGo(_){throw new Error("Not implemented")}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275prov=D.Yz7({token:v,factory:function(){return function xe(){const v=(0,D.LFG)(J).location;return new Ue((0,D.LFG)(le),v&&v.origin||"")}()},providedIn:"root"}),v})();const Xe=new D.OlP("appBaseHref");let Ue=(()=>{class v extends ye{constructor(_,I){if(super(),this._platformLocation=_,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return Ee(this._baseHref,_)}path(_=!1){const I=this._platformLocation.pathname+Ne(this._platformLocation.search),V=this._platformLocation.hash;return V&&_?`${I}${V}`:I}pushState(_,I,V,De){const fe=this.prepareExternalUrl(V+Ne(De));this._platformLocation.pushState(_,I,fe)}replaceState(_,I,V,De){const fe=this.prepareExternalUrl(V+Ne(De));this._platformLocation.replaceState(_,I,fe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(le),D.LFG(Xe,8))},v.\u0275prov=D.Yz7({token:v,factory:v.\u0275fac}),v})(),te=(()=>{class v extends ye{constructor(_,I){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(_){const I=Ee(this._baseHref,_);return I.length>0?"#"+I:I}pushState(_,I,V,De){let fe=this.prepareExternalUrl(V+Ne(De));0==fe.length&&(fe=this._platformLocation.pathname),this._platformLocation.pushState(_,I,fe)}replaceState(_,I,V,De){let fe=this.prepareExternalUrl(V+Ne(De));0==fe.length&&(fe=this._platformLocation.pathname),this._platformLocation.replaceState(_,I,fe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(le),D.LFG(Xe,8))},v.\u0275prov=D.Yz7({token:v,factory:v.\u0275fac}),v})(),j=(()=>{class v{constructor(_){this._subject=new D.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const I=this._locationStrategy.getBaseHref();this._baseHref=_e(Z(I)),this._locationStrategy.onPopState(V=>{this._subject.emit({url:this.path(!0),pop:!0,state:V.state,type:V.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,I=""){return this.path()==this.normalize(_+Ne(I))}normalize(_){return v.stripTrailingSlash(function ve(v,M){return v&&M.startsWith(v)?M.substring(v.length):M}(this._baseHref,Z(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,I="",V=null){this._locationStrategy.pushState(V,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ne(I)),V)}replaceState(_,I="",V=null){this._locationStrategy.replaceState(V,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ne(I)),V)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)})),()=>{const I=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",I){this._urlChangeListeners.forEach(V=>V(_,I))}subscribe(_,I,V){return this._subject.subscribe({next:_,error:I,complete:V})}}return v.normalizeQueryParams=Ne,v.joinWithSlash=Ee,v.stripTrailingSlash=_e,v.\u0275fac=function(_){return new(_||v)(D.LFG(ye))},v.\u0275prov=D.Yz7({token:v,factory:function(){return function k(){return new j((0,D.LFG)(ye))}()},providedIn:"root"}),v})();function Z(v){return v.replace(/\/index.html$/,"")}var pe=(()=>((pe=pe||{})[pe.Decimal=0]="Decimal",pe[pe.Percent=1]="Percent",pe[pe.Currency=2]="Currency",pe[pe.Scientific=3]="Scientific",pe))(),N=(()=>((N=N||{})[N.Format=0]="Format",N[N.Standalone=1]="Standalone",N))(),G=(()=>((G=G||{})[G.Narrow=0]="Narrow",G[G.Abbreviated=1]="Abbreviated",G[G.Wide=2]="Wide",G[G.Short=3]="Short",G))(),de=(()=>((de=de||{})[de.Short=0]="Short",de[de.Medium=1]="Medium",de[de.Long=2]="Long",de[de.Full=3]="Full",de))(),ie=(()=>((ie=ie||{})[ie.Decimal=0]="Decimal",ie[ie.Group=1]="Group",ie[ie.List=2]="List",ie[ie.PercentSign=3]="PercentSign",ie[ie.PlusSign=4]="PlusSign",ie[ie.MinusSign=5]="MinusSign",ie[ie.Exponential=6]="Exponential",ie[ie.SuperscriptingExponent=7]="SuperscriptingExponent",ie[ie.PerMille=8]="PerMille",ie[ie.Infinity=9]="Infinity",ie[ie.NaN=10]="NaN",ie[ie.TimeSeparator=11]="TimeSeparator",ie[ie.CurrencyDecimal=12]="CurrencyDecimal",ie[ie.CurrencyGroup=13]="CurrencyGroup",ie))();function Pe(v,M){return nt((0,D.cg1)(v)[D.wAp.DateFormat],M)}function X(v,M){return nt((0,D.cg1)(v)[D.wAp.TimeFormat],M)}function ge(v,M){return nt((0,D.cg1)(v)[D.wAp.DateTimeFormat],M)}function He(v,M){const _=(0,D.cg1)(v),I=_[D.wAp.NumberSymbols][M];if(typeof I>"u"){if(M===ie.CurrencyDecimal)return _[D.wAp.NumberSymbols][ie.Decimal];if(M===ie.CurrencyGroup)return _[D.wAp.NumberSymbols][ie.Group]}return I}function Rn(v){if(!v[D.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${v[D.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nt(v,M){for(let _=M;_>-1;_--)if(typeof v[_]<"u")return v[_];throw new Error("Locale data API: locale data undefined")}function dn(v){const[M,_]=v.split(":");return{hours:+M,minutes:+_}}const we=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z={},K=/((?:[^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 Te=(()=>((Te=Te||{})[Te.Short=0]="Short",Te[Te.ShortGMT=1]="ShortGMT",Te[Te.Long=2]="Long",Te[Te.Extended=3]="Extended",Te))(),ne=(()=>((ne=ne||{})[ne.FullYear=0]="FullYear",ne[ne.Month=1]="Month",ne[ne.Date=2]="Date",ne[ne.Hours=3]="Hours",ne[ne.Minutes=4]="Minutes",ne[ne.Seconds=5]="Seconds",ne[ne.FractionalSeconds=6]="FractionalSeconds",ne[ne.Day=7]="Day",ne))(),Le=(()=>((Le=Le||{})[Le.DayPeriods=0]="DayPeriods",Le[Le.Days=1]="Days",Le[Le.Months=2]="Months",Le[Le.Eras=3]="Eras",Le))();function Ot(v,M,_,I){let V=function Yt(v){if(Wt(v))return v;if("number"==typeof v&&!isNaN(v))return new Date(v);if("string"==typeof v){if(v=v.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(v)){const[V,De=1,fe=1]=v.split("-").map(st=>+st);return At(V,De-1,fe)}const _=parseFloat(v);if(!isNaN(v-_))return new Date(_);let I;if(I=v.match(we))return function hn(v){const M=new Date(0);let _=0,I=0;const V=v[8]?M.setUTCFullYear:M.setFullYear,De=v[8]?M.setUTCHours:M.setHours;v[9]&&(_=Number(v[9]+v[10]),I=Number(v[9]+v[11])),V.call(M,Number(v[1]),Number(v[2])-1,Number(v[3]));const fe=Number(v[4]||0)-_,st=Number(v[5]||0)-I,kt=Number(v[6]||0),xt=Math.floor(1e3*parseFloat("0."+(v[7]||0)));return De.call(M,fe,st,kt,xt),M}(I)}const M=new Date(v);if(!Wt(M))throw new Error(`Unable to convert "${v}" into a date`);return M}(v);M=Fe(_,M)||M;let st,fe=[];for(;M;){if(st=K.exec(M),!st){fe.push(M);break}{fe=fe.concat(st.slice(1));const Ut=fe.pop();if(!Ut)break;M=Ut}}let kt=V.getTimezoneOffset();I&&(kt=Er(I,kt),V=function at(v,M,_){const I=_?-1:1,V=v.getTimezoneOffset();return function It(v,M){return(v=new Date(v.getTime())).setMinutes(v.getMinutes()+M),v}(v,I*(Er(M,V)-V))}(V,I,!0));let xt="";return fe.forEach(Ut=>{const Mt=function ss(v){if(Rr[v])return Rr[v];let M;switch(v){case"G":case"GG":case"GGG":M=rt(Le.Eras,G.Abbreviated);break;case"GGGG":M=rt(Le.Eras,G.Wide);break;case"GGGGG":M=rt(Le.Eras,G.Narrow);break;case"y":M=St(ne.FullYear,1,0,!1,!0);break;case"yy":M=St(ne.FullYear,2,0,!0,!0);break;case"yyy":M=St(ne.FullYear,3,0,!1,!0);break;case"yyyy":M=St(ne.FullYear,4,0,!1,!0);break;case"Y":M=xr(1);break;case"YY":M=xr(2,!0);break;case"YYY":M=xr(3);break;case"YYYY":M=xr(4);break;case"M":case"L":M=St(ne.Month,1,1);break;case"MM":case"LL":M=St(ne.Month,2,1);break;case"MMM":M=rt(Le.Months,G.Abbreviated);break;case"MMMM":M=rt(Le.Months,G.Wide);break;case"MMMMM":M=rt(Le.Months,G.Narrow);break;case"LLL":M=rt(Le.Months,G.Abbreviated,N.Standalone);break;case"LLLL":M=rt(Le.Months,G.Wide,N.Standalone);break;case"LLLLL":M=rt(Le.Months,G.Narrow,N.Standalone);break;case"w":M=Cr(1);break;case"ww":M=Cr(2);break;case"W":M=Cr(1,!0);break;case"d":M=St(ne.Date,1);break;case"dd":M=St(ne.Date,2);break;case"c":case"cc":M=St(ne.Day,1);break;case"ccc":M=rt(Le.Days,G.Abbreviated,N.Standalone);break;case"cccc":M=rt(Le.Days,G.Wide,N.Standalone);break;case"ccccc":M=rt(Le.Days,G.Narrow,N.Standalone);break;case"cccccc":M=rt(Le.Days,G.Short,N.Standalone);break;case"E":case"EE":case"EEE":M=rt(Le.Days,G.Abbreviated);break;case"EEEE":M=rt(Le.Days,G.Wide);break;case"EEEEE":M=rt(Le.Days,G.Narrow);break;case"EEEEEE":M=rt(Le.Days,G.Short);break;case"a":case"aa":case"aaa":M=rt(Le.DayPeriods,G.Abbreviated);break;case"aaaa":M=rt(Le.DayPeriods,G.Wide);break;case"aaaaa":M=rt(Le.DayPeriods,G.Narrow);break;case"b":case"bb":case"bbb":M=rt(Le.DayPeriods,G.Abbreviated,N.Standalone,!0);break;case"bbbb":M=rt(Le.DayPeriods,G.Wide,N.Standalone,!0);break;case"bbbbb":M=rt(Le.DayPeriods,G.Narrow,N.Standalone,!0);break;case"B":case"BB":case"BBB":M=rt(Le.DayPeriods,G.Abbreviated,N.Format,!0);break;case"BBBB":M=rt(Le.DayPeriods,G.Wide,N.Format,!0);break;case"BBBBB":M=rt(Le.DayPeriods,G.Narrow,N.Format,!0);break;case"h":M=St(ne.Hours,1,-12);break;case"hh":M=St(ne.Hours,2,-12);break;case"H":M=St(ne.Hours,1);break;case"HH":M=St(ne.Hours,2);break;case"m":M=St(ne.Minutes,1);break;case"mm":M=St(ne.Minutes,2);break;case"s":M=St(ne.Seconds,1);break;case"ss":M=St(ne.Seconds,2);break;case"S":M=St(ne.FractionalSeconds,1);break;case"SS":M=St(ne.FractionalSeconds,2);break;case"SSS":M=St(ne.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":M=kn(Te.Short);break;case"ZZZZZ":M=kn(Te.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":M=kn(Te.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":M=kn(Te.Long);break;default:return null}return Rr[v]=M,M}(Ut);xt+=Mt?Mt(V,_,kt):"''"===Ut?"'":Ut.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),xt}function At(v,M,_){const I=new Date(0);return I.setFullYear(v,M,_),I.setHours(0,0,0),I}function Fe(v,M){const _=function Je(v){return(0,D.cg1)(v)[D.wAp.LocaleId]}(v);if(z[_]=z[_]||{},z[_][M])return z[_][M];let I="";switch(M){case"shortDate":I=Pe(v,de.Short);break;case"mediumDate":I=Pe(v,de.Medium);break;case"longDate":I=Pe(v,de.Long);break;case"fullDate":I=Pe(v,de.Full);break;case"shortTime":I=X(v,de.Short);break;case"mediumTime":I=X(v,de.Medium);break;case"longTime":I=X(v,de.Long);break;case"fullTime":I=X(v,de.Full);break;case"short":const V=Fe(v,"shortTime"),De=Fe(v,"shortDate");I=Nt(ge(v,de.Short),[V,De]);break;case"medium":const fe=Fe(v,"mediumTime"),st=Fe(v,"mediumDate");I=Nt(ge(v,de.Medium),[fe,st]);break;case"long":const kt=Fe(v,"longTime"),xt=Fe(v,"longDate");I=Nt(ge(v,de.Long),[kt,xt]);break;case"full":const Ut=Fe(v,"fullTime"),Mt=Fe(v,"fullDate");I=Nt(ge(v,de.Full),[Ut,Mt])}return I&&(z[_][M]=I),I}function Nt(v,M){return M&&(v=v.replace(/\{([^}]+)}/g,function(_,I){return null!=M&&I in M?M[I]:_})),v}function Gt(v,M,_="-",I,V){let De="";(v<0||V&&v<=0)&&(V?v=1-v:(v=-v,De=_));let fe=String(v);for(;fe.length<M;)fe="0"+fe;return I&&(fe=fe.slice(fe.length-M)),De+fe}function St(v,M,_=0,I=!1,V=!1){return function(De,fe){let st=function ct(v,M){switch(v){case ne.FullYear:return M.getFullYear();case ne.Month:return M.getMonth();case ne.Date:return M.getDate();case ne.Hours:return M.getHours();case ne.Minutes:return M.getMinutes();case ne.Seconds:return M.getSeconds();case ne.FractionalSeconds:return M.getMilliseconds();case ne.Day:return M.getDay();default:throw new Error(`Unknown DateType value "${v}".`)}}(v,De);if((_>0||st>-_)&&(st+=_),v===ne.Hours)0===st&&-12===_&&(st=12);else if(v===ne.FractionalSeconds)return function fn(v,M){return Gt(v,3).substring(0,M)}(st,M);const kt=He(fe,ie.MinusSign);return Gt(st,M,kt,I,V)}}function rt(v,M,_=N.Format,I=!1){return function(V,De){return function Fn(v,M,_,I,V,De){switch(_){case Le.Months:return function ze(v,M,_){const I=(0,D.cg1)(v),De=nt([I[D.wAp.MonthsFormat],I[D.wAp.MonthsStandalone]],M);return nt(De,_)}(M,V,I)[v.getMonth()];case Le.Days:return function gt(v,M,_){const I=(0,D.cg1)(v),De=nt([I[D.wAp.DaysFormat],I[D.wAp.DaysStandalone]],M);return nt(De,_)}(M,V,I)[v.getDay()];case Le.DayPeriods:const fe=v.getHours(),st=v.getMinutes();if(De){const xt=function Nn(v){const M=(0,D.cg1)(v);return Rn(M),(M[D.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?dn(I):[dn(I[0]),dn(I[1])])}(M),Ut=function ot(v,M,_){const I=(0,D.cg1)(v);Rn(I);const De=nt([I[D.wAp.ExtraData][0],I[D.wAp.ExtraData][1]],M)||[];return nt(De,_)||[]}(M,V,I),Mt=xt.findIndex(un=>{if(Array.isArray(un)){const[Lt,qt]=un,Me=fe>=Lt.hours&&st>=Lt.minutes,_t=fe<qt.hours||fe===qt.hours&&st<qt.minutes;if(Lt.hours<qt.hours){if(Me&&_t)return!0}else if(Me||_t)return!0}else if(un.hours===fe&&un.minutes===st)return!0;return!1});if(-1!==Mt)return Ut[Mt]}return function ft(v,M,_){const I=(0,D.cg1)(v),De=nt([I[D.wAp.DayPeriodsFormat],I[D.wAp.DayPeriodsStandalone]],M);return nt(De,_)}(M,V,I)[fe<12?0:1];case Le.Eras:return function $t(v,M){return nt((0,D.cg1)(v)[D.wAp.Eras],M)}(M,I)[v.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${_}`)}}(V,De,v,M,_,I)}}function kn(v){return function(M,_,I){const V=-1*I,De=He(_,ie.MinusSign),fe=V>0?Math.floor(V/60):Math.ceil(V/60);switch(v){case Te.Short:return(V>=0?"+":"")+Gt(fe,2,De)+Gt(Math.abs(V%60),2,De);case Te.ShortGMT:return"GMT"+(V>=0?"+":"")+Gt(fe,1,De);case Te.Long:return"GMT"+(V>=0?"+":"")+Gt(fe,2,De)+":"+Gt(Math.abs(V%60),2,De);case Te.Extended:return 0===I?"Z":(V>=0?"+":"")+Gt(fe,2,De)+":"+Gt(Math.abs(V%60),2,De);default:throw new Error(`Unknown zone width "${v}"`)}}}function Ur(v){return At(v.getFullYear(),v.getMonth(),v.getDate()+(4-v.getDay()))}function Cr(v,M=!1){return function(_,I){let V;if(M){const De=new Date(_.getFullYear(),_.getMonth(),1).getDay()-1,fe=_.getDate();V=1+Math.floor((fe+De)/7)}else{const De=Ur(_),fe=function Or(v){const M=At(v,0,1).getDay();return At(v,0,1+(M<=4?4:11)-M)}(De.getFullYear()),st=De.getTime()-fe.getTime();V=1+Math.round(st/6048e5)}return Gt(V,v,He(I,ie.MinusSign))}}function xr(v,M=!1){return function(_,I){return Gt(Ur(_).getFullYear(),v,He(I,ie.MinusSign),M)}}const Rr={};function Er(v,M){v=v.replace(/:/g,"");const _=Date.parse("Jan 01, 1970 00:00:00 "+v)/6e4;return isNaN(_)?M:_}function Wt(v){return v instanceof Date&&!isNaN(v.valueOf())}const Ge=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Y=".",B="0";function pr(v){const M=parseInt(v);if(isNaN(M))throw new Error("Invalid integer literal when parsing "+v);return M}function Ks(v,M){M=encodeURIComponent(M);for(const _ of v.split(";")){const I=_.indexOf("="),[V,De]=-1==I?[_,""]:[_.slice(0,I),_.slice(I+1)];if(V.trim()===M)return decodeURIComponent(De)}return null}let Vr=(()=>{class v{constructor(_,I,V,De){this._iterableDiffers=_,this._keyValueDiffers=I,this._ngEl=V,this._renderer=De,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(_){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof _?_.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(_){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof _?_.split(/\s+/):_,this._rawClass&&((0,D.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const _=this._iterableDiffer.diff(this._rawClass);_&&this._applyIterableChanges(_)}else if(this._keyValueDiffer){const _=this._keyValueDiffer.diff(this._rawClass);_&&this._applyKeyValueChanges(_)}}_applyKeyValueChanges(_){_.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),_.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),_.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(_){_.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,D.AaK)(I.item)}`);this._toggleClass(I.item,!0)}),_.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(I=>this._toggleClass(I,!0)):Object.keys(_).forEach(I=>this._toggleClass(I,!!_[I])))}_removeClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(I=>this._toggleClass(I,!1)):Object.keys(_).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(_,I){(_=_.trim())&&_.split(/\s+/g).forEach(V=>{I?this._renderer.addClass(this._ngEl.nativeElement,V):this._renderer.removeClass(this._ngEl.nativeElement,V)})}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.ZZ4),D.Y36(D.aQg),D.Y36(D.SBq),D.Y36(D.Qsj))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),v})(),mr=(()=>{class v{constructor(_){this._viewContainerRef=_,this.ngComponentOutlet=null}ngOnChanges(_){const{_viewContainerRef:I,ngComponentOutletNgModule:V,ngComponentOutletNgModuleFactory:De}=this;if(I.clear(),this._componentRef=void 0,this.ngComponentOutlet){const fe=this.ngComponentOutletInjector||I.parentInjector;(_.ngComponentOutletNgModule||_.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=V?(0,D.hM9)(V,Ln(fe)):De?De.create(Ln(fe)):void 0),this._componentRef=I.createComponent(this.ngComponentOutlet,{index:I.length,injector:fe,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[D.TTD]}),v})();function Ln(v){return v.get(D.h0i).injector}class br{constructor(M,_,I,V){this.$implicit=M,this.ngForOf=_,this.index=I,this.count=V}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 ar=(()=>{class v{constructor(_,I,V){this._viewContainer=_,this._template=I,this._differs=V,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const I=this._viewContainer;_.forEachOperation((V,De,fe)=>{if(null==V.previousIndex)I.createEmbeddedView(this._template,new br(V.item,this._ngForOf,-1,-1),null===fe?void 0:fe);else if(null==fe)I.remove(null===De?void 0:De);else if(null!==De){const st=I.get(De);I.move(st,fe),on(st,V)}});for(let V=0,De=I.length;V<De;V++){const st=I.get(V).context;st.index=V,st.count=De,st.ngForOf=this._ngForOf}_.forEachIdentityChange(V=>{on(I.get(V.currentIndex),V)})}static ngTemplateContextGuard(_,I){return!0}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(D.ZZ4))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),v})();function on(v,M){v.context.$implicit=M.item}let an=(()=>{class v{constructor(_,I){this._viewContainer=_,this._context=new Dn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Wn("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Wn("ngIfElse",_),this._elseTemplateRef=_,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(_,I){return!0}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),v})();class Dn{constructor(){this.$implicit=null,this.ngIf=null}}function Wn(v,M){if(M&&!M.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,D.AaK)(M)}'.`)}class Bn{constructor(M,_){this._viewContainerRef=M,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(M){M&&!this._created?this.create():!M&&this._created&&this.destroy()}}let Kn=(()=>{class v{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(_)}_matchCase(_){const I=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(_){if(this._defaultViews&&_!==this._defaultUsed){this._defaultUsed=_;for(let I=0;I<this._defaultViews.length;I++)this._defaultViews[I].enforceState(_)}}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),v})(),mn=(()=>{class v{constructor(_,I,V){this.ngSwitch=V,V._addCase(),this._view=new Bn(_,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(Kn,9))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),v})(),jn=(()=>{class v{constructor(_,I,V){V._addDefault(new Bn(_,I))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(Kn,9))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitchDefault",""]]}),v})(),Gr=(()=>{class v{constructor(_,I,V){this._ngEl=_,this._differs=I,this._renderer=V,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,I){const[V,De]=_.split("."),fe=-1===V.indexOf("-")?void 0:D.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,V,De?`${I}${De}`:I,fe):this._renderer.removeStyle(this._ngEl.nativeElement,V,fe)}_applyChanges(_){_.forEachRemovedItem(I=>this._setStyle(I.key,null)),_.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),_.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.SBq),D.Y36(D.aQg),D.Y36(D.Qsj))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),v})(),Ys=(()=>{class v{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:V,ngTemplateOutletContext:De,ngTemplateOutletInjector:fe}=this;this._viewRef=I.createEmbeddedView(V,De,fe?{injector:fe}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[D.TTD]}),v})();function Hn(v,M){return new D.vHH(2100,!1)}class Yn{createSubscription(M,_){return M.subscribe({next:_,error:I=>{throw I}})}dispose(M){M.unsubscribe()}}class Wr{createSubscription(M,_){return M.then(_,I=>{throw I})}dispose(M){}}const Ss=new Wr,Qn=new Yn;let yr=(()=>{class v{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,I=>this._updateLatestValue(_,I))}_selectStrategy(_){if((0,D.QGY)(_))return Ss;if((0,D.F4k)(_))return Qn;throw Hn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,I){_===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.sBO,16))},v.\u0275pipe=D.Yjl({name:"async",type:v,pure:!1}),v})();const Ms=new D.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Sr=(()=>{class v{constructor(_,I){this.locale=_,this.defaultTimezone=I}transform(_,I="mediumDate",V,De){if(null==_||""===_||_!=_)return null;try{return Ot(_,I,De||this.locale,V??this.defaultTimezone??void 0)}catch(fe){throw Hn()}}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.soG,16),D.Y36(Ms,24))},v.\u0275pipe=D.Yjl({name:"date",type:v,pure:!0}),v})(),Ci=(()=>{class v{transform(_){return JSON.stringify(_,null,2)}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275pipe=D.Yjl({name:"json",type:v,pure:!1}),v})(),qn=(()=>{class v{constructor(_){this._locale=_}transform(_,I,V){if(!function os(v){return!(null==v||""===v||v!=v)}(_))return null;V=V||this._locale;try{return function or(v,M,_){return function Ft(v,M,_,I,V,De,fe=!1){let st="",kt=!1;if(isFinite(v)){let xt=function sn(v){let I,V,De,fe,st,M=Math.abs(v)+"",_=0;for((V=M.indexOf(Y))>-1&&(M=M.replace(Y,"")),(De=M.search(/e/i))>0?(V<0&&(V=De),V+=+M.slice(De+1),M=M.substring(0,De)):V<0&&(V=M.length),De=0;M.charAt(De)===B;De++);if(De===(st=M.length))I=[0],V=1;else{for(st--;M.charAt(st)===B;)st--;for(V-=De,I=[],fe=0;De<=st;De++,fe++)I[fe]=Number(M.charAt(De))}return V>22&&(I=I.splice(0,21),_=V-1,V=1),{digits:I,exponent:_,integerLen:V}}(v);fe&&(xt=function hr(v){if(0===v.digits[0])return v;const M=v.digits.length-v.integerLen;return v.exponent?v.exponent+=2:(0===M?v.digits.push(0,0):1===M&&v.digits.push(0),v.integerLen+=2),v}(xt));let Ut=M.minInt,Mt=M.minFrac,un=M.maxFrac;if(De){const Jn=De.match(Ge);if(null===Jn)throw new Error(`${De} is not a valid digit info`);const Zt=Jn[1],Xn=Jn[3],kr=Jn[5];null!=Zt&&(Ut=pr(Zt)),null!=Xn&&(Mt=pr(Xn)),null!=kr?un=pr(kr):null!=Xn&&Mt>un&&(un=Mt)}!function wr(v,M,_){if(M>_)throw new Error(`The minimum number of digits after fraction (${M}) is higher than the maximum (${_}).`);let I=v.digits,V=I.length-v.integerLen;const De=Math.min(Math.max(M,V),_);let fe=De+v.integerLen,st=I[fe];if(fe>0){I.splice(Math.max(v.integerLen,fe));for(let Mt=fe;Mt<I.length;Mt++)I[Mt]=0}else{V=Math.max(0,V),v.integerLen=1,I.length=Math.max(1,fe=De+1),I[0]=0;for(let Mt=1;Mt<fe;Mt++)I[Mt]=0}if(st>=5)if(fe-1<0){for(let Mt=0;Mt>fe;Mt--)I.unshift(0),v.integerLen++;I.unshift(1),v.integerLen++}else I[fe-1]++;for(;V<Math.max(0,De);V++)I.push(0);let kt=0!==De;const xt=M+v.integerLen,Ut=I.reduceRight(function(Mt,un,Lt,qt){return qt[Lt]=(un+=Mt)<10?un:un-10,kt&&(0===qt[Lt]&&Lt>=xt?qt.pop():kt=!1),un>=10?1:0},0);Ut&&(I.unshift(Ut),v.integerLen++)}(xt,Mt,un);let Lt=xt.digits,qt=xt.integerLen;const Me=xt.exponent;let _t=[];for(kt=Lt.every(Jn=>!Jn);qt<Ut;qt++)Lt.unshift(0);for(;qt<0;qt++)Lt.unshift(0);qt>0?_t=Lt.splice(qt,Lt.length):(_t=Lt,Lt=[0]);const lr=[];for(Lt.length>=M.lgSize&&lr.unshift(Lt.splice(-M.lgSize,Lt.length).join(""));Lt.length>M.gSize;)lr.unshift(Lt.splice(-M.gSize,Lt.length).join(""));Lt.length&&lr.unshift(Lt.join("")),st=lr.join(He(_,I)),_t.length&&(st+=He(_,V)+_t.join("")),Me&&(st+=He(_,ie.Exponential)+"+"+Me)}else st=He(_,ie.Infinity);return st=v<0&&!kt?M.negPre+st+M.negSuf:M.posPre+st+M.posSuf,st}(v,function Nr(v,M="-"){const _={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=v.split(";"),V=I[0],De=I[1],fe=-1!==V.indexOf(Y)?V.split(Y):[V.substring(0,V.lastIndexOf(B)+1),V.substring(V.lastIndexOf(B)+1)],st=fe[0],kt=fe[1]||"";_.posPre=st.substring(0,st.indexOf("#"));for(let Ut=0;Ut<kt.length;Ut++){const Mt=kt.charAt(Ut);Mt===B?_.minFrac=_.maxFrac=Ut+1:"#"===Mt?_.maxFrac=Ut+1:_.posSuf+=Mt}const xt=st.split(",");if(_.gSize=xt[1]?xt[1].length:0,_.lgSize=xt[2]||xt[1]?(xt[2]||xt[1]).length:0,De){const Ut=V.length-_.posPre.length-_.posSuf.length,Mt=De.indexOf("#");_.negPre=De.substring(0,Mt).replace(/'/g,""),_.negSuf=De.slice(Mt+Ut).replace(/'/g,"")}else _.negPre=M+_.posPre,_.negSuf=_.posSuf;return _}(function vt(v,M){return(0,D.cg1)(v)[D.wAp.NumberFormats][M]}(M,pe.Decimal),He(M,ie.MinusSign)),M,ie.Group,ie.Decimal,_)}(function as(v){if("string"==typeof v&&!isNaN(Number(v)-parseFloat(v)))return Number(v);if("number"!=typeof v)throw new Error(`${v} is not a number`);return v}(_),V,I)}catch(De){throw Hn()}}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.soG,16))},v.\u0275pipe=D.Yjl({name:"number",type:v,pure:!0}),v})();let Ho=(()=>{class v{}return v.\u0275fac=function(_){return new(_||v)},v.\u0275mod=D.oAB({type:v}),v.\u0275inj=D.cJS({}),v})();const yn="browser";function ls(v){return v===yn}let Ir=(()=>{class v{}return v.\u0275prov=(0,D.Yz7)({token:v,providedIn:"root",factory:()=>new En((0,D.LFG)(J),window)}),v})();class En{constructor(M,_){this.document=M,this.window=_,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const _=function Ps(v,M){const _=v.getElementById(M)||v.getElementsByName(M)[0];if(_)return _;if("function"==typeof v.createTreeWalker&&v.body&&(v.body.createShadowRoot||v.body.attachShadow)){const I=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let V=I.currentNode;for(;V;){const De=V.shadowRoot;if(De){const fe=De.getElementById(M)||De.querySelector(`[name="${M}"]`);if(fe)return fe}V=I.nextNode()}}return null}(this.document,M);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(M){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=M)}}scrollToElement(M){const _=M.getBoundingClientRect(),I=_.left+this.window.pageXOffset,V=_.top+this.window.pageYOffset,De=this.offset();this.window.scrollTo(I-De[0],V-De[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const M=ni(this.window.history)||ni(Object.getPrototypeOf(this.window.history));return!(!M||!M.writable&&!M.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ni(v){return Object.getOwnPropertyDescriptor(v,"scrollRestoration")}class Tn{}},529:(Ye,me,b)=>{b.d(me,{JF:()=>fr,TP:()=>Je,eN:()=>ie});var D=b(6895),f=b(4650),oe=b(9646),ce=b(8306),$=b(4351),ee=b(9300),J=b(4004);class le{}class he{}class re{constructor(z){this.normalizedNames=new Map,this.lazyUpdate=null,z?this.lazyInit="string"==typeof z?()=>{this.headers=new Map,z.split("\n").forEach(K=>{const Te=K.indexOf(":");if(Te>0){const ne=K.slice(0,Te),Le=ne.toLowerCase(),Ot=K.slice(Te+1).trim();this.maybeSetNormalizedName(ne,Le),this.headers.has(Le)?this.headers.get(Le).push(Ot):this.headers.set(Le,[Ot])}})}:()=>{this.headers=new Map,Object.keys(z).forEach(K=>{let Te=z[K];const ne=K.toLowerCase();"string"==typeof Te&&(Te=[Te]),Te.length>0&&(this.headers.set(ne,Te),this.maybeSetNormalizedName(K,ne))})}:this.headers=new Map}has(z){return this.init(),this.headers.has(z.toLowerCase())}get(z){this.init();const K=this.headers.get(z.toLowerCase());return K&&K.length>0?K[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(z){return this.init(),this.headers.get(z.toLowerCase())||null}append(z,K){return this.clone({name:z,value:K,op:"a"})}set(z,K){return this.clone({name:z,value:K,op:"s"})}delete(z,K){return this.clone({name:z,value:K,op:"d"})}maybeSetNormalizedName(z,K){this.normalizedNames.has(K)||this.normalizedNames.set(K,z)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(z=>this.applyUpdate(z)),this.lazyUpdate=null))}copyFrom(z){z.init(),Array.from(z.headers.keys()).forEach(K=>{this.headers.set(K,z.headers.get(K)),this.normalizedNames.set(K,z.normalizedNames.get(K))})}clone(z){const K=new re;return K.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,K.lazyUpdate=(this.lazyUpdate||[]).concat([z]),K}applyUpdate(z){const K=z.name.toLowerCase();switch(z.op){case"a":case"s":let Te=z.value;if("string"==typeof Te&&(Te=[Te]),0===Te.length)return;this.maybeSetNormalizedName(z.name,K);const ne=("a"===z.op?this.headers.get(K):void 0)||[];ne.push(...Te),this.headers.set(K,ne);break;case"d":const Le=z.value;if(Le){let Ot=this.headers.get(K);if(!Ot)return;Ot=Ot.filter(At=>-1===Le.indexOf(At)),0===Ot.length?(this.headers.delete(K),this.normalizedNames.delete(K)):this.headers.set(K,Ot)}else this.headers.delete(K),this.normalizedNames.delete(K)}}forEach(z){this.init(),Array.from(this.normalizedNames.keys()).forEach(K=>z(this.normalizedNames.get(K),this.headers.get(K)))}}class se{encodeKey(z){return _e(z)}encodeValue(z){return _e(z)}decodeKey(z){return decodeURIComponent(z)}decodeValue(z){return decodeURIComponent(z)}}const je=/%(\d[a-f0-9])/gi,Ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _e(we){return encodeURIComponent(we).replace(je,(z,K)=>Ee[K]??z)}function Ne(we){return`${we}`}class ye{constructor(z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=z.encoder||new se,z.fromString){if(z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(we,z){const K=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(ne=>{const Le=ne.indexOf("="),[Ot,At]=-1==Le?[z.decodeKey(ne),""]:[z.decodeKey(ne.slice(0,Le)),z.decodeValue(ne.slice(Le+1))],Fe=K.get(Ot)||[];Fe.push(At),K.set(Ot,Fe)}),K}(z.fromString,this.encoder)}else z.fromObject?(this.map=new Map,Object.keys(z.fromObject).forEach(K=>{const Te=z.fromObject[K],ne=Array.isArray(Te)?Te.map(Ne):[Ne(Te)];this.map.set(K,ne)})):this.map=null}has(z){return this.init(),this.map.has(z)}get(z){this.init();const K=this.map.get(z);return K?K[0]:null}getAll(z){return this.init(),this.map.get(z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(z,K){return this.clone({param:z,value:K,op:"a"})}appendAll(z){const K=[];return Object.keys(z).forEach(Te=>{const ne=z[Te];Array.isArray(ne)?ne.forEach(Le=>{K.push({param:Te,value:Le,op:"a"})}):K.push({param:Te,value:ne,op:"a"})}),this.clone(K)}set(z,K){return this.clone({param:z,value:K,op:"s"})}delete(z,K){return this.clone({param:z,value:K,op:"d"})}toString(){return this.init(),this.keys().map(z=>{const K=this.encoder.encodeKey(z);return this.map.get(z).map(Te=>K+"="+this.encoder.encodeValue(Te)).join("&")}).filter(z=>""!==z).join("&")}clone(z){const K=new ye({encoder:this.encoder});return K.cloneFrom=this.cloneFrom||this,K.updates=(this.updates||[]).concat(z),K}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(z=>this.map.set(z,this.cloneFrom.map.get(z))),this.updates.forEach(z=>{switch(z.op){case"a":case"s":const K=("a"===z.op?this.map.get(z.param):void 0)||[];K.push(Ne(z.value)),this.map.set(z.param,K);break;case"d":if(void 0===z.value){this.map.delete(z.param);break}{let Te=this.map.get(z.param)||[];const ne=Te.indexOf(Ne(z.value));-1!==ne&&Te.splice(ne,1),Te.length>0?this.map.set(z.param,Te):this.map.delete(z.param)}}}),this.cloneFrom=this.updates=null)}}class Xe{constructor(){this.map=new Map}set(z,K){return this.map.set(z,K),this}get(z){return this.map.has(z)||this.map.set(z,z.defaultValue()),this.map.get(z)}delete(z){return this.map.delete(z),this}has(z){return this.map.has(z)}keys(){return this.map.keys()}}function te(we){return typeof ArrayBuffer<"u"&&we instanceof ArrayBuffer}function j(we){return typeof Blob<"u"&&we instanceof Blob}function k(we){return typeof FormData<"u"&&we instanceof FormData}class Z{constructor(z,K,Te,ne){let Le;if(this.url=K,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=z.toUpperCase(),function Ue(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ne?(this.body=void 0!==Te?Te:null,Le=ne):Le=Te,Le&&(this.reportProgress=!!Le.reportProgress,this.withCredentials=!!Le.withCredentials,Le.responseType&&(this.responseType=Le.responseType),Le.headers&&(this.headers=Le.headers),Le.context&&(this.context=Le.context),Le.params&&(this.params=Le.params)),this.headers||(this.headers=new re),this.context||(this.context=new Xe),this.params){const Ot=this.params.toString();if(0===Ot.length)this.urlWithParams=K;else{const At=K.indexOf("?");this.urlWithParams=K+(-1===At?"?":At<K.length-1?"&":"")+Ot}}else this.params=new ye,this.urlWithParams=K}serializeBody(){return null===this.body?null:te(this.body)||j(this.body)||k(this.body)||function ve(we){return typeof URLSearchParams<"u"&&we instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ye?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||k(this.body)?null:j(this.body)?this.body.type||null:te(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ye?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(z={}){const K=z.method||this.method,Te=z.url||this.url,ne=z.responseType||this.responseType,Le=void 0!==z.body?z.body:this.body,Ot=void 0!==z.withCredentials?z.withCredentials:this.withCredentials,At=void 0!==z.reportProgress?z.reportProgress:this.reportProgress;let Fe=z.headers||this.headers,Nt=z.params||this.params;const Gt=z.context??this.context;return void 0!==z.setHeaders&&(Fe=Object.keys(z.setHeaders).reduce((fn,St)=>fn.set(St,z.setHeaders[St]),Fe)),z.setParams&&(Nt=Object.keys(z.setParams).reduce((fn,St)=>fn.set(St,z.setParams[St]),Nt)),new Z(K,Te,Le,{params:Nt,headers:Fe,context:Gt,reportProgress:At,responseType:ne,withCredentials:Ot})}}var Q=(()=>((Q=Q||{})[Q.Sent=0]="Sent",Q[Q.UploadProgress=1]="UploadProgress",Q[Q.ResponseHeader=2]="ResponseHeader",Q[Q.DownloadProgress=3]="DownloadProgress",Q[Q.Response=4]="Response",Q[Q.User=5]="User",Q))();class pe{constructor(z,K=200,Te="OK"){this.headers=z.headers||new re,this.status=void 0!==z.status?z.status:K,this.statusText=z.statusText||Te,this.url=z.url||null,this.ok=this.status>=200&&this.status<300}}class R extends pe{constructor(z={}){super(z),this.type=Q.ResponseHeader}clone(z={}){return new R({headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class N extends pe{constructor(z={}){super(z),this.type=Q.Response,this.body=void 0!==z.body?z.body:null}clone(z={}){return new N({body:void 0!==z.body?z.body:this.body,headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class G extends pe{constructor(z){super(z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${z.url||"(unknown url)"}`:`Http failure response for ${z.url||"(unknown url)"}: ${z.status} ${z.statusText}`,this.error=z.error||null}}function de(we,z){return{body:z,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let ie=(()=>{class we{constructor(K){this.handler=K}request(K,Te,ne={}){let Le;if(K instanceof Z)Le=K;else{let Fe,Nt;Fe=ne.headers instanceof re?ne.headers:new re(ne.headers),ne.params&&(Nt=ne.params instanceof ye?ne.params:new ye({fromObject:ne.params})),Le=new Z(K,Te,void 0!==ne.body?ne.body:null,{headers:Fe,context:ne.context,params:Nt,reportProgress:ne.reportProgress,responseType:ne.responseType||"json",withCredentials:ne.withCredentials})}const Ot=(0,oe.of)(Le).pipe((0,$.b)(Fe=>this.handler.handle(Fe)));if(K instanceof Z||"events"===ne.observe)return Ot;const At=Ot.pipe((0,ee.h)(Fe=>Fe instanceof N));switch(ne.observe||"body"){case"body":switch(Le.responseType){case"arraybuffer":return At.pipe((0,J.U)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Fe.body}));case"blob":return At.pipe((0,J.U)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof Blob))throw new Error("Response is not a Blob.");return Fe.body}));case"text":return At.pipe((0,J.U)(Fe=>{if(null!==Fe.body&&"string"!=typeof Fe.body)throw new Error("Response is not a string.");return Fe.body}));default:return At.pipe((0,J.U)(Fe=>Fe.body))}case"response":return At;default:throw new Error(`Unreachable: unhandled observe type ${ne.observe}}`)}}delete(K,Te={}){return this.request("DELETE",K,Te)}get(K,Te={}){return this.request("GET",K,Te)}head(K,Te={}){return this.request("HEAD",K,Te)}jsonp(K,Te){return this.request("JSONP",K,{params:(new ye).append(Te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,Te={}){return this.request("OPTIONS",K,Te)}patch(K,Te,ne={}){return this.request("PATCH",K,de(ne,Te))}post(K,Te,ne={}){return this.request("POST",K,de(ne,Te))}put(K,Te,ne={}){return this.request("PUT",K,de(ne,Te))}}return we.\u0275fac=function(K){return new(K||we)(f.LFG(le))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})();class Ie{constructor(z,K){this.next=z,this.interceptor=K}handle(z){return this.interceptor.intercept(z,this.next)}}const Je=new f.OlP("HTTP_INTERCEPTORS");let ft=(()=>{class we{intercept(K,Te){return Te.handle(K)}}return we.\u0275fac=function(K){return new(K||we)},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})();const vt=/^\)\]\}',?\n/;let An=(()=>{class we{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce.y(Te=>{const ne=this.xhrFactory.build();if(ne.open(K.method,K.urlWithParams),K.withCredentials&&(ne.withCredentials=!0),K.headers.forEach((ct,rt)=>ne.setRequestHeader(ct,rt.join(","))),K.headers.has("Accept")||ne.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const ct=K.detectContentTypeHeader();null!==ct&&ne.setRequestHeader("Content-Type",ct)}if(K.responseType){const ct=K.responseType.toLowerCase();ne.responseType="json"!==ct?ct:"text"}const Le=K.serializeBody();let Ot=null;const At=()=>{if(null!==Ot)return Ot;const ct=ne.statusText||"OK",rt=new re(ne.getAllResponseHeaders()),Fn=function cn(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(ne)||K.url;return Ot=new R({headers:rt,status:ne.status,statusText:ct,url:Fn}),Ot},Fe=()=>{let{headers:ct,status:rt,statusText:Fn,url:kn}=At(),ln=null;204!==rt&&(ln=typeof ne.response>"u"?ne.responseText:ne.response),0===rt&&(rt=ln?200:0);let Pn=rt>=200&&rt<300;if("json"===K.responseType&&"string"==typeof ln){const Or=ln;ln=ln.replace(vt,"");try{ln=""!==ln?JSON.parse(ln):null}catch(Ur){ln=Or,Pn&&(Pn=!1,ln={error:Ur,text:ln})}}Pn?(Te.next(new N({body:ln,headers:ct,status:rt,statusText:Fn,url:kn||void 0})),Te.complete()):Te.error(new G({error:ln,headers:ct,status:rt,statusText:Fn,url:kn||void 0}))},Nt=ct=>{const{url:rt}=At(),Fn=new G({error:ct,status:ne.status||0,statusText:ne.statusText||"Unknown Error",url:rt||void 0});Te.error(Fn)};let Gt=!1;const fn=ct=>{Gt||(Te.next(At()),Gt=!0);let rt={type:Q.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(rt.total=ct.total),"text"===K.responseType&&!!ne.responseText&&(rt.partialText=ne.responseText),Te.next(rt)},St=ct=>{let rt={type:Q.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(rt.total=ct.total),Te.next(rt)};return ne.addEventListener("load",Fe),ne.addEventListener("error",Nt),ne.addEventListener("timeout",Nt),ne.addEventListener("abort",Nt),K.reportProgress&&(ne.addEventListener("progress",fn),null!==Le&&ne.upload&&ne.upload.addEventListener("progress",St)),ne.send(Le),Te.next({type:Q.Sent}),()=>{ne.removeEventListener("error",Nt),ne.removeEventListener("abort",Nt),ne.removeEventListener("load",Fe),ne.removeEventListener("timeout",Nt),K.reportProgress&&(ne.removeEventListener("progress",fn),null!==Le&&ne.upload&&ne.upload.removeEventListener("progress",St)),ne.readyState!==ne.DONE&&ne.abort()}})}}return we.\u0275fac=function(K){return new(K||we)(f.LFG(D.JF))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})();const xn=new f.OlP("XSRF_COOKIE_NAME"),en=new f.OlP("XSRF_HEADER_NAME");class _n{}let Rn=(()=>{class we{constructor(K,Te,ne){this.doc=K,this.platform=Te,this.cookieName=ne,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,D.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}return we.\u0275fac=function(K){return new(K||we)(f.LFG(D.K0),f.LFG(f.Lbi),f.LFG(xn))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})(),Nn=(()=>{class we{constructor(K,Te){this.tokenService=K,this.headerName=Te}intercept(K,Te){const ne=K.url.toLowerCase();if("GET"===K.method||"HEAD"===K.method||ne.startsWith("http://")||ne.startsWith("https://"))return Te.handle(K);const Le=this.tokenService.getToken();return null!==Le&&!K.headers.has(this.headerName)&&(K=K.clone({headers:K.headers.set(this.headerName,Le)})),Te.handle(K)}}return we.\u0275fac=function(K){return new(K||we)(f.LFG(_n),f.LFG(en))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})(),ot=(()=>{class we{constructor(K,Te){this.backend=K,this.injector=Te,this.chain=null}handle(K){if(null===this.chain){const Te=this.injector.get(Je,[]);this.chain=Te.reduceRight((ne,Le)=>new Ie(ne,Le),this.backend)}return this.chain.handle(K)}}return we.\u0275fac=function(K){return new(K||we)(f.LFG(he),f.LFG(f.zs3))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})(),dn=(()=>{class we{static disable(){return{ngModule:we,providers:[{provide:Nn,useClass:ft}]}}static withOptions(K={}){return{ngModule:we,providers:[K.cookieName?{provide:xn,useValue:K.cookieName}:[],K.headerName?{provide:en,useValue:K.headerName}:[]]}}}return we.\u0275fac=function(K){return new(K||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({providers:[Nn,{provide:Je,useExisting:Nn,multi:!0},{provide:_n,useClass:Rn},{provide:xn,useValue:"XSRF-TOKEN"},{provide:en,useValue:"X-XSRF-TOKEN"}]}),we})(),fr=(()=>{class we{}return we.\u0275fac=function(K){return new(K||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({providers:[ie,{provide:le,useClass:ot},An,{provide:he,useExisting:An}],imports:[dn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),we})()},4650:(Ye,me,b)=>{b.d(me,{$8M:()=>be,$Z:()=>gf,AFp:()=>Rg,ALo:()=>Jp,AaK:()=>le,AsE:()=>Yu,BQk:()=>Za,CHM:()=>lr,CRH:()=>ug,CZH:()=>cl,CqO:()=>ah,D6c:()=>SE,DdM:()=>Up,EJc:()=>UC,EiD:()=>fd,EpF:()=>ih,F$t:()=>fh,F4k:()=>oh,FYo:()=>Op,FiY:()=>Zo,G48:()=>lE,Gf:()=>ag,GfV:()=>xp,GkF:()=>Lu,Gpc:()=>se,Gre:()=>$h,Hsn:()=>hh,Ikx:()=>Qu,JOm:()=>vs,JVY:()=>Um,KtG:()=>Jn,L6k:()=>Vm,LAX:()=>zm,LFG:()=>bn,LSH:()=>Ml,Lbi:()=>LC,MAs:()=>sh,MMx:()=>lc,NdJ:()=>ju,O4$:()=>$o,OlP:()=>d,Oqu:()=>Ku,PXZ:()=>nE,Q6J:()=>Nu,QGY:()=>Bu,QP$:()=>Bo,QbO:()=>BC,Qsj:()=>I0,R0b:()=>Pr,RDi:()=>xm,Rgc:()=>Ca,SBq:()=>ya,Sil:()=>$C,Suo:()=>lg,TTD:()=>Kr,TgZ:()=>Ya,Tol:()=>Ih,Udp:()=>zu,VKq:()=>Vp,W1O:()=>hg,WFA:()=>Hu,WLB:()=>$p,XFs:()=>ot,Xpm:()=>kn,Xts:()=>Wl,Y36:()=>Do,YKP:()=>Ap,YNc:()=>rh,Yjl:()=>Er,Yz7:()=>Pe,ZZ4:()=>xc,_Bn:()=>Mp,_UZ:()=>ku,_Vd:()=>ma,_c5:()=>bE,_uU:()=>Fh,aQg:()=>Rc,c2e:()=>jC,cJS:()=>ge,cg1:()=>Zu,d8E:()=>qu,dDg:()=>JC,deG:()=>c,dqk:()=>ne,eBb:()=>$m,eFA:()=>Wg,ekj:()=>Gu,eoX:()=>$g,f3M:()=>Kc,g9A:()=>Fg,h0i:()=>Wi,hGG:()=>TE,hM9:()=>L0,hYB:()=>$u,hij:()=>Xa,iGM:()=>og,ifc:()=>Te,ip1:()=>xg,kEZ:()=>zp,kL8:()=>Xh,kcU:()=>ii,l5B:()=>Gp,lG2:()=>ss,lcZ:()=>Xp,lqb:()=>yo,lri:()=>Ug,mCW:()=>ta,n5z:()=>A,n_E:()=>il,oAB:()=>Cr,oJD:()=>hd,oxw:()=>dh,pB0:()=>Gm,q3G:()=>vn,qLn:()=>sa,qOj:()=>Pu,qZA:()=>Qa,qbA:()=>Wp,qzn:()=>po,rWj:()=>Vg,s9C:()=>Uu,sBO:()=>uE,sIi:()=>ua,s_b:()=>al,soG:()=>dl,tb:()=>kg,tp0:()=>Jo,uIk:()=>Ru,vHH:()=>_e,vpe:()=>bs,wAp:()=>pt,xi3:()=>eg,xp6:()=>Wd,ynx:()=>qa,z2F:()=>fl,z3N:()=>Hs,zSh:()=>ql,zs3:()=>_s});var D=b(7579),f=b(727),oe=b(8306),ce=b(6451),$=b(3099);function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function J(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function le(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(le).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 he(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const re=ee({__forward_ref__:ee});function se(e){return e.__forward_ref__=se,e.toString=function(){return le(this())},e}function q(e){return je(e)?e():e}function je(e){return"function"==typeof e&&e.hasOwnProperty(re)&&e.__forward_ref__===se}class _e extends Error{constructor(t,n){super(function Ne(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ye(e){return"string"==typeof e?e:null==e?"":String(e)}function j(e,t){throw new _e(-201,!1)}function gt(e,t){null==e&&function ze(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ge(e){return{providers:e.providers||[],imports:e.imports||[]}}function He(e){return vt(e,en)||vt(e,Rn)}function vt(e,t){return e.hasOwnProperty(t)?e[t]:null}function xn(e){return e&&(e.hasOwnProperty(_n)||e.hasOwnProperty(Nn))?e[_n]:null}const en=ee({\u0275prov:ee}),_n=ee({\u0275inj:ee}),Rn=ee({ngInjectableDef:ee}),Nn=ee({ngInjectorDef:ee});var ot=(()=>((ot=ot||{})[ot.Default=0]="Default",ot[ot.Host=1]="Host",ot[ot.Self=2]="Self",ot[ot.SkipSelf=4]="SkipSelf",ot[ot.Optional=8]="Optional",ot))();let sr;function dn(e){const t=sr;return sr=e,t}function fr(e,t,n){const r=He(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ot.Optional?null:void 0!==t?t:void j(le(e))}function ut(e){return{toString:e}.toString()}var we=(()=>((we=we||{})[we.OnPush=0]="OnPush",we[we.Default=1]="Default",we))(),Te=(()=>{return(e=Te||(Te={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Te;var e})();const ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),At={},Fe=[],Nt=ee({\u0275cmp:ee}),Gt=ee({\u0275dir:ee}),fn=ee({\u0275pipe:ee}),St=ee({\u0275mod:ee}),ct=ee({\u0275fac:ee}),rt=ee({__NG_ELEMENT_ID__:ee});let Fn=0;function kn(e){return ut(()=>{const n=!0===e.standalone,r={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===we.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Te.Emulated,id:"c"+Fn++,styles:e.styles||Fe,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,l=e.features;return s.inputs=Rr(e.inputs,r),s.outputs=Rr(e.outputs),l&&l.forEach(h=>h(s)),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(Pn).filter(Or):null,s.pipeDefs=i?()=>("function"==typeof i?i():i).map(Yt).filter(Or):null,s})}function Pn(e){return It(e)||at(e)}function Or(e){return null!==e}const Ur={};function Cr(e){return ut(()=>{const t={type:e.type,bootstrap:e.bootstrap||Fe,declarations:e.declarations||Fe,imports:e.imports||Fe,exports:e.exports||Fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Ur[e.id]=e.type),t})}function Rr(e,t){if(null==e)return At;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const ss=kn;function Er(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 It(e){return e[Nt]||null}function at(e){return e[Gt]||null}function Yt(e){return e[fn]||null}function hn(e,t){const n=e[St]||null;if(!n&&!0===t)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}function an(e){return Array.isArray(e)&&"object"==typeof e[1]}function Dn(e){return Array.isArray(e)&&!0===e[1]}function Wn(e){return 0!=(8&e.flags)}function Bn(e){return 2==(2&e.flags)}function Kn(e){return 1==(1&e.flags)}function mn(e){return null!==e.template}function jn(e){return 0!=(256&e[2])}function vr(e,t){return e.hasOwnProperty(ct)?e[ct]:null}class Cn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Kr(){return qn}function qn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Is),Mr}function Mr(){const e=as(this),t=e?.current;if(t){const n=e.previous;if(n===At)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Is(e,t,n,r){const s=as(e)||function Ei(e,t){return e[os]=t}(e,{previous:At,current:null}),i=s.current||(s.current={}),l=s.previous,h=this.declaredInputs[n],g=l[h];i[h]=new Cn(g&&g.currentValue,t,l===At),e[r]=t}Kr.ngInherit=!0;const os="__ngSimpleChanges__";function as(e){return e[os]||null}function Qt(e){for(;Array.isArray(e);)e=e[0];return e}function Ir(e,t){return Qt(t[e])}function En(e,t){return Qt(t[e.index])}function Ps(e,t){return e.data[t]}function _r(e,t){return e[t]}function Tn(e,t){const n=t[e];return an(n)?n:n[0]}function v(e){return 4==(4&e[2])}function M(e){return 64==(64&e[2])}function I(e,t){return null==t?null:e[t]}function V(e){e[18]=0}function De(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const fe={lFrame:cs(null),bindingsEnabled:!0};function un(){return fe.bindingsEnabled}function Me(){return fe.lFrame.lView}function _t(){return fe.lFrame.tView}function lr(e){return fe.lFrame.contextLView=e,e[8]}function Jn(e){return fe.lFrame.contextLView=null,e}function Zt(){let e=Xn();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xn(){return fe.lFrame.currentTNode}function Dr(e,t){const n=fe.lFrame;n.currentTNode=e,n.isParent=t}function wi(){return fe.lFrame.isParent}function ri(){fe.lFrame.isParent=!1}function wn(){const e=fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function us(){return fe.lFrame.bindingIndex++}function Un(e){const t=fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function to(e,t){const n=fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rs(t)}function Rs(e){fe.lFrame.currentDirectiveIndex=e}function bi(e){const t=fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function no(){return fe.lFrame.currentQueryIndex}function Ti(e){fe.lFrame.currentQueryIndex=e}function Uo(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Si(e,t,n){if(n&ot.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&ot.Host||(s=Uo(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=fe.lFrame=Vn();return r.currentTNode=t,r.lView=e,!0}function Mi(e){const t=Vn(),n=e[1];fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vn(){const e=fe.lFrame,t=null===e?null:e.child;return null===t?cs(e):t}function cs(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 ds(){const e=fe.lFrame;return fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ns=ds;function Ii(){const e=ds();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 Sn(){return fe.lFrame.selectedIndex}function Lr(e){fe.lFrame.selectedIndex=e}function Vt(){const e=fe.lFrame;return Ps(e.tView,e.selectedIndex)}function $o(){fe.lFrame.currentNamespace="svg"}function ii(){!function Oi(){fe.lFrame.currentNamespace=null}()}function oi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:T}=i;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=T&&(e.destroyHooks||(e.destroyHooks=[])).push(n,T)}}function fs(e,t,n){Ri(e,t,3,n)}function Fs(e,t,n,r){(3&e[2])===n&&Ri(e,t,n,r)}function xi(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ri(e,t,n,r){const i=r??-1,l=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<l;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<i||-1==i)&&(ai(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function ai(e,t,n,r){const s=n[r]<0,i=n[r+1],h=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(h)}finally{}}}else try{i.call(h)}finally{}}class hs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function qr(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const i=n[r++],l=n[r++],h=n[r++];e.setAttribute(t,l,h,i)}else{const i=s,l=n[++r];io(i)?e.setProperty(t,i,l):e.setAttribute(t,i,l),r++}}return r}function li(e){return 3===e||4===e||6===e}function io(e){return 64===e.charCodeAt(0)}function Ls(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||oo(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function oo(e,t,n,r,s){let i=0,l=e.length;if(-1===t)l=-1;else for(;i<e.length;){const h=e[i++];if("number"==typeof h){if(h===t){l=-1;break}if(h>t){l=i-1;break}}}for(;i<e.length;){const h=e[i];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==l&&(e.splice(l,0,t),i=l+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function ao(e){return-1!==e}function Jt(e){return 32767&e}function Zr(e,t){let n=function Wo(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Bs=!0;function jr(e){const t=Bs;return Bs=e,t}let wa=0;const ur={};function ui(e,t){const n=di(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ci(r.data,e),ci(t,null),ci(r.blueprint,null));const s=js(e,t),i=e.injectorIndex;if(ao(s)){const l=Jt(s),h=Zr(s,t),g=h[1].data;for(let E=0;E<8;E++)t[i+E]=h[l+E]|g[l+E]}return t[i+8]=s,i}function ci(e,t){e.push(0,0,0,0,0,0,0,0,t)}function di(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function js(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=ue(s),null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function tr(e,t,n){!function Li(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(rt)&&(r=n[rt]),null==r&&(r=n[rt]=wa++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function fi(e,t,n){if(n&ot.Optional)return e;j()}function Bi(e,t,n,r){if(n&ot.Optional&&void 0===r&&(r=null),0==(n&(ot.Self|ot.Host))){const s=e[9],i=dn(void 0);try{return s?s.get(t,r,n&ot.Optional):fr(t,r,n&ot.Optional)}finally{dn(i)}}return fi(r,0,n)}function ji(e,t,n,r=ot.Default,s){if(null!==e){if(1024&t[2]){const l=function L(e,t,n,r,s){let i=e,l=t;for(;null!==i&&null!==l&&1024&l[2]&&!(256&l[2]);){const h=co(i,l,n,r|ot.Self,ur);if(h!==ur)return h;let g=i.parent;if(!g){const E=l[21];if(E){const T=E.get(n,ur,r);if(T!==ur)return T}g=ue(l),l=l[15]}i=g}return s}(e,t,n,r,ur);if(l!==ur)return l}const i=co(e,t,n,r,ur);if(i!==ur)return i}return Bi(t,n,r,s)}function co(e,t,n,r,s){const i=function y(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(rt)?e[rt]:void 0;return"number"==typeof t?t>=0?255&t:w:t}(n);if("function"==typeof i){if(!Si(t,e,r))return r&ot.Host?fi(s,0,r):Bi(t,n,r,s);try{const l=i(r);if(null!=l||r&ot.Optional)return l;j()}finally{Ns()}}else if("number"==typeof i){let l=null,h=di(e,t),g=-1,E=r&ot.Host?t[16][6]:null;for((-1===h||r&ot.SkipSelf)&&(g=-1===h?js(e,t):t[h+8],-1!==g&&o(r,!1)?(l=t[1],h=Jt(g),t=Zr(g,t)):h=-1);-1!==h;){const T=t[1];if(a(i,h,T.data)){const P=Ko(h,t,n,l,r,E);if(P!==ur)return P}g=t[h+8],-1!==g&&o(r,t[1].data[h+8]===E)&&a(i,h,t)?(l=T,h=Jt(g),t=Zr(g,t)):h=-1}}return s}function Ko(e,t,n,r,s,i){const l=t[1],h=l.data[e+8],T=hi(h,l,n,null==r?Bn(h)&&Bs:r!=l&&0!=(3&h.type),s&ot.Host&&i===h);return null!==T?pi(t,l,T,h):ur}function hi(e,t,n,r,s){const i=e.providerIndexes,l=t.data,h=1048575&i,g=e.directiveStart,T=i>>20,U=s?h+T:e.directiveEnd;for(let ae=r?h:h+T;ae<U;ae++){const Se=l[ae];if(ae<g&&n===Se||ae>=g&&Se.type===n)return ae}if(s){const ae=l[g];if(ae&&mn(ae)&&ae.type===n)return g}return null}function pi(e,t,n,r){let s=e[n];const i=t.data;if(function ks(e){return e instanceof hs}(s)){const l=s;l.resolving&&function Xe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _e(-200,`Circular dependency in DI detected for ${e}${n}`)}(function xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ye(e)}(i[n]));const h=jr(l.canSeeViewProviders);l.resolving=!0;const g=l.injectImpl?dn(l.injectImpl):null;Si(e,r,ot.Default);try{s=e[n]=l.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Qr(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const l=qn(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==g&&dn(g),jr(h),l.resolving=!1,Ns()}}return s}function a(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function o(e,t){return!(e&ot.Self||e&ot.Host&&t)}class p{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ji(this._tNode,this._lView,t,r,n)}}function w(){return new p(Zt(),Me())}function A(e){return ut(()=>{const t=e.prototype.constructor,n=t[ct]||F(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[ct]||F(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function F(e){return je(e)?()=>{const t=F(q(e));return t&&t()}:vr(e)}function ue(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function be(e){return function ba(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const i=n[s];if(li(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Zt(),e)}const Qe="__parameters__";function ht(e,t,n){return ut(()=>{const r=function lt(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const l=new s(...i);return h.annotation=l,h;function h(g,E,T){const P=g.hasOwnProperty(Qe)?g[Qe]:Object.defineProperty(g,Qe,{value:[]})[Qe];for(;P.length<=T;)P.push(null);return(P[T]=P[T]||[]).push(l),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class d{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=Pe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const c=new d("AnalyzeForEntryComponents");function et(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),et(r,t)):t!==e&&t.push(r)}return t}function Et(e,t){e.forEach(n=>Array.isArray(n)?Et(n,t):t(n))}function Kt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Mn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Xt(e,t,n){let r=ms(e,t);return r>=0?e[1|r]=n:(r=~r,function Ta(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function gi(e,t){const n=ms(e,t);if(n>=0)return e[1|n]}function ms(e,t){return function zc(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),l=e[i<<n];if(t===l)return i<<n;l>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const Yo={},yl="__NG_DI_FLAG__",Ma="ngTempTokenPath",ym=/\n/gm,Gc="__source";let Qo;function Ia(e){const t=Qo;return Qo=e,t}function _m(e,t=ot.Default){if(void 0===Qo)throw new _e(-203,!1);return null===Qo?fr(e,void 0,t):Qo.get(e,t&ot.Optional?null:void 0,t)}function bn(e,t=ot.Default){return(function nt(){return sr}()||_m)(q(e),t)}function Kc(e,t=ot.Default){return bn(e,t)}function vl(e){const t=[];for(let n=0;n<e.length;n++){const r=q(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _e(900,!1);let s,i=ot.Default;for(let l=0;l<r.length;l++){const h=r[l],g=Dm(h);"number"==typeof g?-1===g?s=h.token:i|=g:s=h}t.push(bn(s,i))}else t.push(bn(r))}return t}function qo(e,t){return e[yl]=t,e.prototype[yl]=t,e}function Dm(e){return e[yl]}const Zo=qo(ht("Optional"),8),Jo=qo(ht("SkipSelf"),4);let Dl,Oa,xa;function xm(e){Dl=e}function ho(e){return function Cl(){if(void 0===Oa&&(Oa=null,ne.trustedTypes))try{Oa=ne.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oa}()?.createHTML(e)||e}function nd(e){return function El(){if(void 0===xa&&(xa=null,ne.trustedTypes))try{xa=ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xa}()?.createHTML(e)||e}class Hi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Fm extends Hi{getTypeName(){return"HTML"}}class km extends Hi{getTypeName(){return"Style"}}class Lm extends Hi{getTypeName(){return"Script"}}class Bm extends Hi{getTypeName(){return"URL"}}class jm extends Hi{getTypeName(){return"ResourceURL"}}function Hs(e){return e instanceof Hi?e.changingThisBreaksApplicationSecurity:e}function po(e,t){const n=function Hm(e){return e instanceof Hi&&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 https://g.co/ng/security#xss)`)}return n===t}function Um(e){return new Fm(e)}function Vm(e){return new km(e)}function $m(e){return new Lm(e)}function zm(e){return new Bm(e)}function Gm(e){return new jm(e)}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ho(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Km{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ho(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ho(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const l=n.item(s).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Qm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,qm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ta(e){return(e=String(e)).match(Qm)||e.match(qm)?e:"unsafe:"+e}function ys(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function na(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const ad=ys("area,br,col,hr,img,wbr"),ld=ys("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ud=ys("rp,rt"),wl=na(ad,na(ld,ys("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")),na(ud,ys("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")),na(ud,ld)),bl=ys("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tl=ys("srcset"),cd=na(bl,Tl,ys("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ys("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")),Zm=ys("script,style,template");class Jm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Zm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),l=i.name,h=l.toLowerCase();if(!cd.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=i.value;bl[h]&&(g=ta(g)),Tl[h]&&(e=g,g=(e=String(e)).split(",").map(t=>ta(t.trim())).join(", ")),this.buf.push(" ",l,'="',dd(g),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();wl.hasOwnProperty(n)&&!ad.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(dd(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 Xm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/([^\#-~ |!])/g;function dd(e){return e.replace(/&/g,"&amp;").replace(Xm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ey,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ra;function fd(e,t){let n=null;try{Ra=Ra||function id(e){const t=new Km(e);return function Ym(){try{return!!(new window.DOMParser).parseFromString(ho(""),"text/html")}catch{return!1}}()?new Wm(t):t}(e);let r=t?String(t):"";n=Ra.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Ra.getInertBodyElement(r)}while(r!==i);return ho((new Jm).sanitizeChildren(Sl(n)||n))}finally{if(n){const r=Sl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Sl(e){return"content"in e&&function ty(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vn=(()=>((vn=vn||{})[vn.NONE=0]="NONE",vn[vn.HTML=1]="HTML",vn[vn.STYLE=2]="STYLE",vn[vn.SCRIPT=3]="SCRIPT",vn[vn.URL=4]="URL",vn[vn.RESOURCE_URL=5]="RESOURCE_URL",vn))();function hd(e){const t=ra();return t?nd(t.sanitize(vn.HTML,e)||""):po(e,"HTML")?nd(Hs(e)):fd(function td(){return void 0!==Dl?Dl:typeof document<"u"?document:void 0}(),ye(e))}function Ml(e){const t=ra();return t?t.sanitize(vn.URL,e)||"":po(e,"URL")?Hs(e):ta(ye(e))}function ra(){const e=Me();return e&&e[12]}function Al(e){return e.ngOriginalError}class sa{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&&Al(t);for(;n&&Al(n);)n=Al(n);return n||null}}const Pl=new Map;let my=0;const xl="__ngContext__";function nr(e,t){an(t)?(e[xl]=t[20],function vy(e){Pl.set(e[20],e)}(t)):e[xl]=t}function ia(e){const t=e[xl];return"number"==typeof t?function md(e){return Pl.get(e)||null}(t):t||null}function Rl(e){const t=ia(e);return t?an(t)?t:t.lView:null}const My=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(ne))();function Us(e){return e instanceof Function?e():e}var vs=(()=>((vs=vs||{})[vs.Important=1]="Important",vs[vs.DashCase=2]="DashCase",vs))();function Fl(e,t){return undefined(e,t)}function oa(e){const t=e[3];return Dn(t)?t[3]:t}function kl(e){return Td(e[13])}function Ll(e){return Td(e[4])}function Td(e){for(;null!==e&&!Dn(e);)e=e[4];return e}function mo(e,t,n,r,s){if(null!=r){let i,l=!1;Dn(r)?i=r:an(r)&&(l=!0,r=r[0]);const h=Qt(r);0===e&&null!==n?null==s?Od(t,n,h):Ui(t,n,h,s||null,!0):1===e&&null!==n?Ui(t,n,h,s||null,!0):2===e?function Bd(e,t,n){const r=Na(e,t);r&&function $y(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,l):3===e&&t.destroyNode(h),null!=i&&function Wy(e,t,n,r,s){const i=n[7];i!==Qt(n)&&mo(t,e,r,i,s);for(let h=10;h<n.length;h++){const g=n[h];aa(g[1],g,e,t,r,i)}}(t,e,i,n,s)}}function jl(e,t,n){return e.createElement(t,n)}function Md(e,t){const n=e[9],r=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,De(s,-1)),n.splice(r,1)}function Hl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Md(s,r),t>0&&(e[n-1][4]=r[4]);const i=zn(e,10+t);!function Fy(e,t){aa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Id(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&aa(e,t,n,3,null,null),function By(e){let t=e[13];if(!t)return Ul(e[1],e);for(;t;){let n=null;if(an(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)an(t)&&Ul(t[1],t),t=t[3];null===t&&(t=e),an(t)&&Ul(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ul(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Vy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof hs)){const i=n[r+1];if(Array.isArray(i))for(let l=0;l<i.length;l+=2){const h=s[i[l]],g=i[l+1];try{g.call(h)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function Uy(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const l=n[i+1],h="function"==typeof l?l(t):Qt(t[l]),g=r[s=n[i+2]],E=n[i+3];"boolean"==typeof E?h.removeEventListener(n[i],g,E):E>=0?r[s=E]():r[s=-E].unsubscribe(),i+=2}else{const l=r[s=n[i+1]];n[i].call(l)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Dn(t[3])){n!==t[3]&&Md(n,t);const r=t[19];null!==r&&r.detachView(e)}!function _y(e){Pl.delete(e[20])}(t)}}function Ad(e,t,n){return function Pd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===Te.None||s===Te.Emulated)return null}return En(r,n)}(e,t.parent,n)}function Ui(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Od(e,t,n){e.appendChild(t,n)}function xd(e,t,n,r,s){null!==r?Ui(e,t,n,r,s):Od(e,t,n)}function Na(e,t){return e.parentNode(t)}function Rd(e,t,n){return Fd(e,t,n)}let Fd=function Nd(e,t,n){return 40&e.type?En(e,n):null};function Fa(e,t,n,r){const s=Ad(e,r,t),i=t[11],h=Rd(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)xd(i,s,n[g],h,!1);else xd(i,s,n,h,!1)}function ka(e,t){if(null!==t){const n=t.type;if(3&n)return En(t,e);if(4&n)return $l(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ka(e,r);{const s=e[t.index];return Dn(s)?$l(-1,s):Qt(s)}}if(32&n)return Fl(t,e)()||Qt(e[t.index]);{const r=Ld(e,t);return null!==r?Array.isArray(r)?r[0]:ka(oa(e[16]),r):ka(e,t.next)}}return null}function Ld(e,t){return null!==t?e[16][6].projection[t.projection]:null}function $l(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return ka(r,s)}return t[7]}function zl(e,t,n,r,s,i,l){for(;null!=n;){const h=r[n.index],g=n.type;if(l&&0===t&&(h&&nr(Qt(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)zl(e,t,n.child,r,s,i,!1),mo(t,e,s,h,i);else if(32&g){const E=Fl(n,r);let T;for(;T=E();)mo(t,e,s,T,i);mo(t,e,s,h,i)}else 16&g?jd(e,t,r,n,s,i):mo(t,e,s,h,i);n=l?n.projectionNext:n.next}}function aa(e,t,n,r,s,i){zl(n,r,e.firstChild,t,s,i,!1)}function jd(e,t,n,r,s,i){const l=n[16],g=l[6].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)mo(t,e,s,g[E],i);else zl(e,t,g,l[3],s,i,!0)}function Hd(e,t,n){e.setAttribute(t,"style",n)}function Gl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ud(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const Vd="ng-template";function Yy(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Ud(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function $d(e){return 4===e.type&&e.value!==Vd}function Qy(e,t,n){return t===(4!==e.type||n?e.value:Vd)}function qy(e,t,n){let r=4;const s=e.attrs||[],i=function Xy(e){for(let t=0;t<e.length;t++)if(li(e[t]))return t;return e.length}(s);let l=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!l)if(4&r){if(r=2|1&r,""!==g&&!Qy(e,g,n)||""===g&&1===t.length){if(Xr(r))return!1;l=!0}}else{const E=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!Yy(e.attrs,E,n)){if(Xr(r))return!1;l=!0}continue}const P=Zy(8&r?"class":g,s,$d(e),n);if(-1===P){if(Xr(r))return!1;l=!0;continue}if(""!==E){let U;U=P>i?"":s[P+1].toLowerCase();const ae=8&r?U:null;if(ae&&-1!==Ud(ae,E,0)||2&r&&E!==U){if(Xr(r))return!1;l=!0}}}}else{if(!l&&!Xr(r)&&!Xr(g))return!1;if(l&&Xr(g))continue;l=!1,r=g|1&r}}return Xr(r)||l}function Xr(e){return 0==(1&e)}function Zy(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const l=t[s];if(l===e)return s;if(3===l||6===l)i=!0;else{if(1===l||2===l){let h=t[++s];for(;"string"==typeof h;)h=t[++s];continue}if(4===l)break;if(0===l){s+=4;continue}}s+=i?1:2}return-1}return function ev(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function zd(e,t,n=!1){for(let r=0;r<t.length;r++)if(qy(e,t[r],n))return!0;return!1}function tv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function Gd(e,t){return e?":not("+t.trim()+")":t}function nv(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const h=e[++n];s+="["+l+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?s+="."+l:4&r&&(s+=" "+l);else""!==s&&!Xr(l)&&(t+=Gd(i,s),s=""),r=l,i=i||!Xr(r);n++}return""!==s&&(t+=Gd(i,s)),t}const bt={};function Wd(e){Kd(_t(),Me(),Sn()+e,!1)}function Kd(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&fs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Fs(t,i,0,n)}Lr(n)}const Wl=new d("ENVIRONMENT_INITIALIZER"),Zd=new d("INJECTOR_DEF_TYPES");function cv(...e){return{\u0275providers:Jd(0,e)}}function Jd(e,...t){const n=[],r=new Set;let s;return Et(t,i=>{const l=i;Kl(l,n,[],r)&&(s||(s=[]),s.push(l))}),void 0!==s&&Xd(s,n),n}function Xd(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];Et(s,i=>{t.push(i)})}}function Kl(e,t,n,r){if(!(e=q(e)))return!1;let s=null,i=xn(e);const l=!i&&It(e);if(i||l){if(l&&!l.standalone)return!1;s=e}else{const g=e.ngModule;if(i=xn(g),!i)return!1;s=g}const h=r.has(s);if(l){if(h)return!1;if(r.add(s),l.dependencies){const g="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const E of g)Kl(E,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!h){let E;r.add(s);try{Et(i.imports,T=>{Kl(T,t,n,r)&&(E||(E=[]),E.push(T))})}finally{}void 0!==E&&Xd(E,t)}if(!h){const E=vr(s)||(()=>new s);t.push({provide:s,useFactory:E,deps:Fe},{provide:Zd,useValue:s,multi:!0},{provide:Wl,useValue:()=>bn(s),multi:!0})}const g=i.providers;null==g||h||Et(g,T=>{t.push(T)})}}return s!==e&&void 0!==e.providers}const dv=ee({provide:String,useValue:ee});function Yl(e){return null!==e&&"object"==typeof e&&dv in e}function Vi(e){return"function"==typeof e}const Ql=new d("INJECTOR",-1);class nf{get(t,n=Yo){if(n===Yo){const r=new Error(`NullInjectorError: No provider for ${le(t)}!`);throw r.name="NullInjectorError",r}return n}}const ql=new d("Set Injector scope."),La={},hv={};let Zl;function Jl(){return void 0===Zl&&(Zl=new nf),Zl}class yo{}class rf extends yo{constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,eu(t,l=>this.processProvider(l)),this.records.set(Ql,vo(void 0,this)),s.has("environment")&&this.records.set(yo,vo(void 0,this));const i=this.records.get(ql);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zd.multi,Fe,ot.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}get(t,n=Yo,r=ot.Default){this.assertNotDestroyed();const s=Ia(this),i=dn(void 0);try{if(!(r&ot.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function vv(e){return"function"==typeof e||"object"==typeof e&&e instanceof d}(t)&&He(t);h=g&&this.injectableDefInScope(g)?vo(Xl(t),La):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ot.Self?Jl():this.parent).get(t,n=r&ot.Optional&&n===Yo?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Ma]=l[Ma]||[]).unshift(le(t)),s)throw l;return function Cm(e,t,n,r){const s=e[Ma];throw t[Gc]&&s.unshift(t[Gc]),e.message=function Em(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=le(t);if(Array.isArray(t))s=t.map(le).join(" -> ");else if("object"==typeof t){let i=[];for(let l in t)if(t.hasOwnProperty(l)){let h=t[l];i.push(l+":"+("string"==typeof h?JSON.stringify(h):le(h)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(ym,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Ma]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{dn(i),Ia(s)}}resolveInjectorInitializers(){const t=Ia(this),n=dn(void 0);try{const r=this.get(Wl.multi,Fe,ot.Self);for(const s of r)s()}finally{Ia(t),dn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(le(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _e(205,!1)}processProvider(t){let n=Vi(t=q(t))?t:q(t&&t.provide);const r=function gv(e){return Yl(e)?vo(void 0,e.useValue):vo(sf(e),La)}(t);if(Vi(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=vo(void 0,La,!0),s.factory=()=>vl(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===La&&(n.value=hv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yv(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=q(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Xl(e){const t=He(e),n=null!==t?t.factory:vr(e);if(null!==n)return n;if(e instanceof d)throw new _e(204,!1);if(e instanceof Function)return function pv(e){const t=e.length;if(t>0)throw Mn(t,"?"),new _e(204,!1);const n=function cn(e){const t=e&&(e[en]||e[Rn]);if(t){const n=function An(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _e(204,!1)}function sf(e,t,n){let r;if(Vi(e)){const s=q(e);return vr(s)||Xl(s)}if(Yl(e))r=()=>q(e.useValue);else if(function tf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...vl(e.deps||[]));else if(function ef(e){return!(!e||!e.useExisting)}(e))r=()=>bn(q(e.useExisting));else{const s=q(e&&(e.useClass||e.provide));if(!function mv(e){return!!e.deps}(e))return vr(s)||Xl(s);r=()=>new s(...vl(e.deps))}return r}function vo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function _v(e){return!!e.\u0275providers}function eu(e,t){for(const n of e)Array.isArray(n)?eu(n,t):_v(n)?eu(n.\u0275providers,t):t(n)}function af(e,t=null,n=null,r){const s=lf(e,t,n,r);return s.resolveInjectorInitializers(),s}function lf(e,t=null,n=null,r,s=new Set){const i=[n||Fe,cv(e)];return r=r||("object"==typeof e?void 0:le(e)),new rf(i,t||Jl(),r||null,s)}let _s=(()=>{class e{static create(n,r){if(Array.isArray(n))return af({name:""},r,n,"");{const s=n.name??"";return af({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Yo,e.NULL=new nf,e.\u0275prov=Pe({token:e,providedIn:"any",factory:()=>bn(Ql)}),e.__NG_ELEMENT_ID__=-1,e})();function Do(e,t=ot.Default){const n=Me();return null===n?bn(e,t):ji(Zt(),n,q(e),t)}function gf(){throw new Error("invalid")}function ja(e,t){return e<<17|t<<2}function es(e){return e>>17&32767}function lu(e){return 2|e}function Vs(e){return(131068&e)>>2}function uu(e,t){return-131069&e|t<<2}function cu(e){return 1|e}function Af(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const l=e.data[i];Ti(s),l.contentQueries(2,t[i],i)}}}function Va(e,t,n,r,s,i,l,h,g,E,T){const P=t.blueprint.slice();return P[0]=s,P[2]=76|r,(null!==T||e&&1024&e[2])&&(P[2]|=1024),V(P),P[3]=P[15]=e,P[8]=n,P[10]=l||e&&e[10],P[11]=h||e&&e[11],P[12]=g||e&&e[12]||null,P[9]=E||e&&e[9]||null,P[6]=i,P[20]=function yy(){return my++}(),P[21]=T,P[16]=2==t.type?e[16]:P,P}function Co(e,t,n,r,s){let i=e.data[t];if(null===i)i=function _u(e,t,n,r,s){const i=Xn(),l=wi(),g=e.data[t]=function Jv(e,t,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,l?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==i&&(l?null==i.child&&null!==g.parent&&(i.child=g):null===i.next&&(i.next=g)),g}(e,t,n,r,s),function Os(){return fe.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const l=function kr(){const e=fe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===l?-1:l.injectorIndex}return Dr(i,!0),i}function Eo(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function $a(e,t,n){Mi(t);try{const r=e.viewQuery;null!==r&&Au(1,r,n);const s=e.template;null!==s&&Pf(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Af(e,t),e.staticViewQueries&&Au(2,e.viewQuery,n);const i=e.components;null!==i&&function Yv(e,t){for(let n=0;n<t.length;n++)m_(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Ii()}}function la(e,t,n,r){const s=t[2];if(128!=(128&s)){Mi(t);try{V(t),function Xi(e){return fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Pf(e,t,n,2,r);const l=3==(3&s);if(l){const E=e.preOrderCheckHooks;null!==E&&fs(t,E,null)}else{const E=e.preOrderHooks;null!==E&&Fs(t,E,0,null),xi(t,0)}if(function p_(e){for(let t=kl(e);null!==t;t=Ll(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(512&s[2])&&De(i,1),s[2]|=512}}}(t),function h_(e){for(let t=kl(e);null!==t;t=Ll(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];M(r)&&la(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Af(e,t),l){const E=e.contentCheckHooks;null!==E&&fs(t,E)}else{const E=e.contentHooks;null!==E&&Fs(t,E,1),xi(t,1)}!function Wv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)Lr(~s);else{const i=s,l=n[++r],h=n[++r];to(l,i),h(2,t[i])}}}finally{Lr(-1)}}(e,t);const h=e.components;null!==h&&function Kv(e,t){for(let n=0;n<t.length;n++)g_(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Au(2,g,r),l){const E=e.viewCheckHooks;null!==E&&fs(t,E)}else{const E=e.viewHooks;null!==E&&Fs(t,E,2),xi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,De(t[3],-1))}finally{Ii()}}}function Qv(e,t,n,r){const s=t[10],l=v(t);try{!l&&s.begin&&s.begin(),l&&$a(e,t,r),la(e,t,n,r)}finally{!l&&s.end&&s.end()}}function Pf(e,t,n,r,s){const i=Sn(),l=2&r;try{Lr(-1),l&&t.length>22&&Kd(e,t,22,!1),n(r,s)}finally{Lr(i)}}function Of(e,t,n){if(Wn(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const l=e.data[i];l.contentQueries&&l.contentQueries(1,n[i],i)}}}function Du(e,t,n){!un()||(function i_(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||ui(n,t),nr(r,t);const l=n.initialInputs;for(let h=s;h<i;h++){const g=e.data[h],E=mn(g);E&&c_(t,n,g);const T=pi(t,e,h,n);nr(T,t),null!==l&&d_(0,h-s,T,g,0,l),E&&(Tn(n.index,t)[8]=T)}}(e,t,n,En(n,t)),128==(128&n.flags)&&function o_(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,l=function xs(){return fe.lFrame.currentDirectiveIndex}();try{Lr(i);for(let h=r;h<s;h++){const g=e.data[h],E=t[h];Rs(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&kf(g,E)}}finally{Lr(-1),Rs(l)}}(e,t,n))}function Cu(e,t,n=En){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const l=r[i+1],h=-1===l?n(t,e):e[l];e[s++]=h}}}function xf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Eu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Eu(e,t,n,r,s,i,l,h,g,E){const T=22+r,P=T+s,U=function qv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:bt);return n}(T,P),ae="function"==typeof E?E():E;return U[1]={type:e,blueprint:U,template:n,queries:null,viewQuery:h,declTNode:t,data:U.slice().fill(null,T),bindingStartIndex:T,expandoStartIndex:P,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 i?i():i,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:g,consts:ae,incompleteFirstPass:!1}}function Rf(e,t,n,r){const s=Vf(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&$f(e).push(r,s.length-1))}function Nf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Ar(e,t,n,r,s,i,l,h){const g=En(t,n);let T,E=t.inputs;!h&&null!=E&&(T=E[r])?(Wf(e,n,T,r,s),Bn(t)&&function t_(e,t){const n=Tn(t,e);16&n[2]||(n[2]|=32)}(n,t.index)):3&t.type&&(r=function e_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=l?l(s,t.value||"",r):s,i.setProperty(g,r,s))}function wu(e,t,n,r){let s=!1;if(un()){const i=function a_(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const l=r[i];zd(n,l.selectors,!1)&&(s||(s=[]),tr(ui(n,t),e,l.type),mn(l)?(Lf(e,n),s.unshift(l)):s.push(l))}return s}(e,t,n),l=null===r?null:{"":-1};if(null!==i){s=!0,Bf(n,e.data.length,i.length);for(let T=0;T<i.length;T++){const P=i[T];P.providersResolver&&P.providersResolver(P)}let h=!1,g=!1,E=Eo(e,t,i.length,null);for(let T=0;T<i.length;T++){const P=i[T];n.mergedAttrs=Ls(n.mergedAttrs,P.hostAttrs),jf(e,n,t,E,P),u_(E,P,l),null!==P.contentQueries&&(n.flags|=8),(null!==P.hostBindings||null!==P.hostAttrs||0!==P.hostVars)&&(n.flags|=128);const U=P.type.prototype;!h&&(U.ngOnChanges||U.ngOnInit||U.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(U.ngOnChanges||U.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),E++}!function Xv(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,l=[];let h=null,g=null;for(let E=t.directiveStart;E<r;E++){const T=s[E],P=T.inputs,U=null===i||$d(t)?null:f_(P,i);l.push(U),h=Nf(P,E,h),g=Nf(T.outputs,E,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=h,t.outputs=g}(e,n)}l&&function l_(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new _e(-301,!1);r.push(t[s],i)}}}(n,r,l)}return n.mergedAttrs=Ls(n.mergedAttrs,n.attrs),s}function Ff(e,t,n,r,s,i){const l=i.hostBindings;if(l){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function s_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,s,l)}}function kf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Lf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function u_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mn(t)&&(n[""]=e)}}function Bf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function jf(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=vr(s.type)),l=new hs(i,mn(s),Do);e.blueprint[r]=l,n[r]=l,Ff(e,t,0,r,Eo(e,n,s.hostVars,bt),s)}function c_(e,t,n){const r=En(t,e),s=xf(n),i=e[10],l=za(e,Va(e,s,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=l}function Ds(e,t,n,r,s,i){const l=En(e,t);!function bu(e,t,n,r,s,i,l){if(null==i)e.removeAttribute(t,s,n);else{const h=null==l?ye(i):l(i,r||"",s);e.setAttribute(t,s,h,n)}}(t[11],l,i,e.value,n,r,s)}function d_(e,t,n,r,s,i){const l=i[t];if(null!==l){const h=r.setInput;for(let g=0;g<l.length;){const E=l[g++],T=l[g++],P=l[g++];null!==h?r.setInput(n,P,E,T):n[T]=P}}}function f_(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Hf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function g_(e,t){const n=Tn(t,e);if(M(n)){const r=n[1];48&n[2]?la(r,n,r.template,n[8]):n[5]>0&&Tu(n)}}function Tu(e){for(let r=kl(e);null!==r;r=Ll(r))for(let s=10;s<r.length;s++){const i=r[s];if(512&i[2]){const l=i[1];la(l,i,l.template,i[8])}else i[5]>0&&Tu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Tn(n[r],e);M(s)&&s[5]>0&&Tu(s)}}function m_(e,t){const n=Tn(t,e),r=n[1];(function y_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),$a(r,n,n[8])}function za(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Su(e){for(;e;){e[2]|=32;const t=oa(e);if(jn(e)&&!t)return e;e=t}return null}function Uf(e){!function Mu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Rl(n);if(null!==r){const s=r[1];Qv(s,r,s.template,n)}}}(e[8])}function Au(e,t,n){Ti(0),t(e,n)}const __=(()=>Promise.resolve(null))();function Vf(e){return e[7]||(e[7]=[])}function $f(e){return e.cleanup||(e.cleanup=[])}function zf(e,t,n){return(null===e||mn(e))&&(n=function As(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Gf(e,t){const n=e[9],r=n?n.get(sa,null):null;r&&r.handleError(t)}function Wf(e,t,n,r,s){for(let i=0;i<n.length;){const l=n[i++],h=n[i++],g=t[l],E=e.data[l];null!==E.setInput?E.setInput(g,s,r,h):g[h]=s}}function $s(e,t,n){const r=Ir(t,e);!function Sd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Ga(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let l=0;l<t.length;l++){const h=t[l];"number"==typeof h?i=h:1==i?s=he(s,h):2==i&&(r=he(r,h+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function w_(){const e=Zt();oi(Me()[1],e)}function Pu(e){let t=function Kf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(mn(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _e(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const l=e;l.inputs=Ou(e.inputs),l.declaredInputs=Ou(e.declaredInputs),l.outputs=Ou(e.outputs);const h=s.hostBindings;h&&M_(e,h);const g=s.viewQuery,E=s.contentQueries;if(g&&T_(e,g),E&&S_(e,E),J(e.inputs,s.inputs),J(e.declaredInputs,s.declaredInputs),J(e.outputs,s.outputs),mn(s)&&s.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let l=0;l<i.length;l++){const h=i[l];h&&h.ngInherit&&h(e),h===Pu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function b_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Ls(s.hostAttrs,n=Ls(n,s.hostAttrs))}}(r)}function Ou(e){return e===At?{}:e===Fe?[]:e}function T_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function S_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function M_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Wa=null;function $i(){if(!Wa){const e=ne.Symbol;if(e&&e.iterator)Wa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Wa=r)}}}return Wa}function ua(e){return!!xu(e)&&(Array.isArray(e)||!(e instanceof Map)&&$i()in e)}function xu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cs(e,t,n){return e[t]=n}function ca(e,t){return e[t]}function rr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function zi(e,t,n,r){const s=rr(e,t,n);return rr(e,t+1,r)||s}function Hr(e,t,n,r,s,i){const l=zi(e,t,n,r);return zi(e,t+2,s,i)||l}function Ru(e,t,n,r){const s=Me();return rr(s,us(),t)&&(_t(),Ds(Vt(),s,e,t,n,r)),Ru}function bo(e,t,n,r){return rr(e,us(),n)?t+ye(n)+r:bt}function To(e,t,n,r,s,i){const h=zi(e,function er(){return fe.lFrame.bindingIndex}(),n,s);return Un(2),h?t+ye(n)+r+ye(s)+i:bt}function rh(e,t,n,r,s,i,l,h){const g=Me(),E=_t(),T=e+22,P=E.firstCreatePass?function k_(e,t,n,r,s,i,l,h,g){const E=t.consts,T=Co(t,e,4,l||null,I(E,h));wu(t,n,T,I(E,g)),oi(t,T);const P=T.tViews=Eu(2,T,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,T),P.queries=t.queries.embeddedTView(T)),T}(T,E,g,t,n,r,s,i,l):E.data[T];Dr(P,!1);const U=g[11].createComment("");Fa(E,g,U,P),nr(U,g),za(g,g[T]=Hf(U,g,U,P)),Kn(P)&&Du(E,g,P),null!=l&&Cu(g,P,h)}function sh(e){return _r(function Zi(){return fe.lFrame.contextLView}(),22+e)}function Nu(e,t,n){const r=Me();return rr(r,us(),t)&&Ar(_t(),Vt(),r,e,t,r[11],n,!1),Nu}function Fu(e,t,n,r,s){const l=s?"class":"style";Wf(e,n,t.inputs[l],l,r)}function Ya(e,t,n,r){const s=Me(),i=_t(),l=22+e,h=s[11],g=s[l]=jl(h,t,function $n(){return fe.lFrame.currentNamespace}()),E=i.firstCreatePass?function B_(e,t,n,r,s,i,l){const h=t.consts,E=Co(t,e,2,s,I(h,i));return wu(t,n,E,I(h,l)),null!==E.attrs&&Ga(E,E.attrs,!1),null!==E.mergedAttrs&&Ga(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(l,i,s,0,t,n,r):i.data[l];Dr(E,!0);const T=E.mergedAttrs;null!==T&&qr(h,g,T);const P=E.classes;null!==P&&Gl(h,g,P);const U=E.styles;return null!==U&&Hd(h,g,U),64!=(64&E.flags)&&Fa(i,s,g,E),0===function xt(){return fe.lFrame.elementDepthCount}()&&nr(g,s),function Ut(){fe.lFrame.elementDepthCount++}(),Kn(E)&&(Du(i,s,E),Of(i,E,s)),null!==r&&Cu(s,E),Ya}function Qa(){let e=Zt();wi()?ri():(e=e.parent,Dr(e,!1));const t=e;!function Mt(){fe.lFrame.elementDepthCount--}();const n=_t();return n.firstCreatePass&&(oi(n,e),Wn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ro(e){return 0!=(16&e.flags)}(t)&&Fu(n,t,Me(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Fi(e){return 0!=(32&e.flags)}(t)&&Fu(n,t,Me(),t.stylesWithoutHost,!1),Qa}function ku(e,t,n,r){return Ya(e,t,n,r),Qa(),ku}function qa(e,t,n){const r=Me(),s=_t(),i=e+22,l=s.firstCreatePass?function j_(e,t,n,r,s){const i=t.consts,l=I(i,r),h=Co(t,e,8,"ng-container",l);return null!==l&&Ga(h,l,!0),wu(t,n,h,I(i,s)),null!==t.queries&&t.queries.elementStart(t,h),h}(i,s,r,t,n):s.data[i];Dr(l,!0);const h=r[i]=r[11].createComment("");return Fa(s,r,h,l),nr(h,r),Kn(l)&&(Du(s,r,l),Of(s,l,r)),null!=n&&Cu(r,l),qa}function Za(){let e=Zt();const t=_t();return wi()?ri():(e=e.parent,Dr(e,!1)),t.firstCreatePass&&(oi(t,e),Wn(e)&&t.queries.elementEnd(e)),Za}function Lu(e,t,n){return qa(e,t,n),Za(),Lu}function ih(){return Me()}function Bu(e){return!!e&&"function"==typeof e.then}function oh(e){return!!e&&"function"==typeof e.subscribe}const ah=oh;function ju(e,t,n,r){const s=Me(),i=_t(),l=Zt();return lh(i,s,s[11],l,e,t,0,r),ju}function Hu(e,t){const n=Zt(),r=Me(),s=_t();return lh(s,r,zf(bi(s.data),n,r),n,e,t),Hu}function lh(e,t,n,r,s,i,l,h){const g=Kn(r),T=e.firstCreatePass&&$f(e),P=t[8],U=Vf(t);let ae=!0;if(3&r.type||h){const Ke=En(r,t),tt=h?h(Ke):Ke,yt=U.length,Re=h?Pt=>h(Qt(Pt[r.index])):r.index;let dt=null;if(!h&&g&&(dt=function H_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const l=s[i];if(l===n&&s[i+1]===r){const h=t[7],g=s[i+2];return h.length>g?h[g]:null}"string"==typeof l&&(i+=2)}return null}(e,t,s,r.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=i,dt.__ngLastListenerFn__=i,ae=!1;else{i=ch(r,t,P,i,!1);const Pt=n.listen(tt,s,i);U.push(i,Pt),T&&T.push(s,Re,yt,yt+1)}}else i=ch(r,t,P,i,!1);const Se=r.outputs;let ke;if(ae&&null!==Se&&(ke=Se[s])){const Ke=ke.length;if(Ke)for(let tt=0;tt<Ke;tt+=2){const rn=t[ke[tt]][ke[tt+1]].subscribe(i),Yi=U.length;U.push(i,rn),T&&T.push(s,r.index,Yi,-(Yi+1))}}}function uh(e,t,n,r){try{return!1!==n(r)}catch(s){return Gf(e,s),!1}}function ch(e,t,n,r,s){return function i(l){if(l===Function)return r;Su(2&e.flags?Tn(e.index,t):t);let g=uh(t,0,r,l),E=i.__ngNextListenerFn__;for(;E;)g=uh(t,0,E,l)&&g,E=E.__ngNextListenerFn__;return s&&!1===g&&(l.preventDefault(),l.returnValue=!1),g}}function dh(e=1){return function Vo(e){return(fe.lFrame.contextLView=function Ai(e,t){for(;e>0;)t=t[15],e--;return t}(e,fe.lFrame.contextLView))[8]}(e)}function U_(e,t){let n=null;const r=function Jy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?zd(e,i,!0):tv(r,i))return s}else n=s}return n}function fh(e){const t=Me()[16][6];if(!t.projection){const r=t.projection=Mn(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const l=e?U_(i,e):0;null!==l&&(s[l]?s[l].projectionNext=i:r[l]=i,s[l]=i),i=i.next}}}function hh(e,t=0,n){const r=Me(),s=_t(),i=Co(s,22+e,16,null,n||null);null===i.projection&&(i.projection=t),ri(),64!=(64&i.flags)&&function Gy(e,t,n){jd(t[11],0,t,n,Ad(e,n,t),Rd(n.parent||t[6],n,t))}(s,r,i)}function Uu(e,t,n){return Vu(e,"",t,"",n),Uu}function Vu(e,t,n,r,s){const i=Me(),l=bo(i,t,n,r);return l!==bt&&Ar(_t(),Vt(),i,e,l,i[11],s,!1),Vu}function $u(e,t,n,r,s,i,l){const h=Me(),g=To(h,t,n,r,s,i);return g!==bt&&Ar(_t(),Vt(),h,e,g,h[11],l,!1),$u}function Ch(e,t,n,r,s){const i=e[n+1],l=null===t;let h=r?es(i):Vs(i),g=!1;for(;0!==h&&(!1===g||l);){const T=e[h+1];z_(e[h],t)&&(g=!0,e[h+1]=r?cu(T):lu(T)),h=r?es(T):Vs(T)}g&&(e[n+1]=r?lu(i):cu(i))}function z_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ms(e,t)>=0}const In={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Eh(e){return e.substring(In.key,In.keyEnd)}function wh(e,t){const n=In.textEnd;return n===t?-1:(t=In.keyEnd=function Y_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,In.key=t,n),xo(e,t,n))}function xo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zu(e,t,n){return ts(e,t,n,!1),zu}function Gu(e,t){return ts(e,t,null,!0),Gu}function Ih(e){ns(Xt,ws,e,!0)}function ws(e,t){for(let n=function W_(e){return function Th(e){In.key=0,In.keyEnd=0,In.value=0,In.valueEnd=0,In.textEnd=e.length}(e),wh(e,xo(e,0,In.textEnd))}(t);n>=0;n=wh(t,n))Xt(e,Eh(t),!0)}function ts(e,t,n,r){const s=Me(),i=_t(),l=Un(2);i.firstUpdatePass&&Ph(i,e,l,r),t!==bt&&rr(s,l,t)&&xh(i,i.data[Sn()],s,s[11],e,s[l+1]=function sD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=le(Hs(e)))),e}(t,n),r,l)}function ns(e,t,n,r){const s=_t(),i=Un(2);s.firstUpdatePass&&Ph(s,null,i,r);const l=Me();if(n!==bt&&rr(l,i,n)){const h=s.data[Sn()];if(Nh(h,r)&&!Ah(s,i)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=he(g,n||"")),Fu(s,h,l,n,r)}else!function rD(e,t,n,r,s,i,l,h){s===bt&&(s=Fe);let g=0,E=0,T=0<s.length?s[0]:null,P=0<i.length?i[0]:null;for(;null!==T||null!==P;){const U=g<s.length?s[g+1]:void 0,ae=E<i.length?i[E+1]:void 0;let ke,Se=null;T===P?(g+=2,E+=2,U!==ae&&(Se=P,ke=ae)):null===P||null!==T&&T<P?(g+=2,Se=T):(E+=2,Se=P,ke=ae),null!==Se&&xh(e,t,n,r,Se,ke,l,h),T=g<s.length?s[g]:null,P=E<i.length?i[E]:null}}(s,h,l,l[11],l[i+1],l[i+1]=function nD(e,t,n){if(null==n||""===n)return Fe;const r=[],s=Hs(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function Ah(e,t){return t>=e.expandoStartIndex}function Ph(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Sn()],l=Ah(e,n);Nh(i,r)&&null===t&&!l&&(t=!1),t=function J_(e,t,n,r){const s=bi(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=da(n=Wu(null,e,t,n,r),t.attrs,r),i=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==s)if(n=Wu(s,e,t,n,r),null===i){let g=function X_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Vs(r))return e[es(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Wu(null,e,t,g[1],r),g=da(g,t.attrs,r),function eD(e,t,n,r){e[es(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else i=function tD(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=da(r,e[i].hostAttrs,n);return da(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function V_(e,t,n,r,s,i){let l=i?t.classBindings:t.styleBindings,h=es(l),g=Vs(l);e[r]=n;let T,E=!1;if(Array.isArray(n)){const P=n;T=P[1],(null===T||ms(P,T)>0)&&(E=!0)}else T=n;if(s)if(0!==g){const U=es(e[h+1]);e[r+1]=ja(U,h),0!==U&&(e[U+1]=uu(e[U+1],r)),e[h+1]=function kv(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=ja(h,0),0!==h&&(e[h+1]=uu(e[h+1],r)),h=r;else e[r+1]=ja(g,0),0===h?h=r:e[g+1]=uu(e[g+1],r),g=r;E&&(e[r+1]=lu(e[r+1])),Ch(e,T,r,!0),Ch(e,T,r,!1),function $_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ms(i,t)>=0&&(n[r+1]=cu(n[r+1]))}(t,T,e,r,i),l=ja(h,g),i?t.classBindings=l:t.styleBindings=l}(s,i,t,n,l,r)}}function Wu(e,t,n,r,s){let i=null;const l=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<l&&(i=t[h],r=da(r,i.hostAttrs,s),i!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function da(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const l=t[i];"number"==typeof l?s=l:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Xt(e,l,!!n||t[++i]))}return void 0===e?null:e}function xh(e,t,n,r,s,i,l,h){if(!(3&t.type))return;const g=e.data,E=g[h+1];Ja(function Cf(e){return 1==(1&e)}(E)?Rh(g,t,n,s,Vs(E),l):void 0)||(Ja(i)||function Df(e){return 2==(2&e)}(E)&&(i=Rh(g,null,n,s,h,l)),function Ky(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:vs.DashCase;null==s?e.removeStyle(n,r,i):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),i|=vs.Important),e.setStyle(n,r,s,i))}}(r,l,Ir(Sn(),n),s,i))}function Rh(e,t,n,r,s,i){const l=null===t;let h;for(;s>0;){const g=e[s],E=Array.isArray(g),T=E?g[1]:g,P=null===T;let U=n[s+1];U===bt&&(U=P?Fe:void 0);let ae=P?gi(U,r):T===r?U:void 0;if(E&&!Ja(ae)&&(ae=gi(g,r)),Ja(ae)&&(h=ae,l))return h;const Se=e[s+1];s=l?es(Se):Vs(Se)}if(null!==t){let g=i?t.residualClasses:t.residualStyles;null!=g&&(h=gi(g,r))}return h}function Ja(e){return void 0!==e}function Nh(e,t){return 0!=(e.flags&(t?16:32))}function Fh(e,t=""){const n=Me(),r=_t(),s=e+22,i=r.firstCreatePass?Co(r,s,1,t,null):r.data[s],l=n[s]=function Bl(e,t){return e.createText(t)}(n[11],t);Fa(r,n,l,i),Dr(i,!1)}function Ku(e){return Xa("",e,""),Ku}function Xa(e,t,n){const r=Me(),s=bo(r,e,t,n);return s!==bt&&$s(r,Sn(),s),Xa}function Yu(e,t,n,r,s){const i=Me(),l=To(i,e,t,n,r,s);return l!==bt&&$s(i,Sn(),l),Yu}function $h(e,t,n){ns(Xt,ws,bo(Me(),e,t,n),!0)}function Qu(e,t,n){const r=Me();return rr(r,us(),t)&&Ar(_t(),Vt(),r,e,t,r[11],n,!0),Qu}function qu(e,t,n){const r=Me();if(rr(r,us(),t)){const i=_t(),l=Vt();Ar(i,l,r,e,t,zf(bi(i.data),l,r),n,!0)}return qu}const Gi=void 0;var wD=["en",[["a","p"],["AM","PM"],Gi],[["AM","PM"],Gi,Gi],[["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"]],Gi,[["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"]],Gi,[["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}",Gi,"{1} 'at' {0}",Gi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ED(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ro={};function Zu(e){const t=function bD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ep(t);if(n)return n;const r=t.split("-")[0];if(n=ep(r),n)return n;if("en"===r)return wD;throw new _e(701,!1)}function Xh(e){return Zu(e)[pt.PluralCase]}function ep(e){return e in Ro||(Ro[e]=ne.ng&&ne.ng.common&&ne.ng.common.locales&&ne.ng.common.locales[e]),Ro[e]}var pt=(()=>((pt=pt||{})[pt.LocaleId=0]="LocaleId",pt[pt.DayPeriodsFormat=1]="DayPeriodsFormat",pt[pt.DayPeriodsStandalone=2]="DayPeriodsStandalone",pt[pt.DaysFormat=3]="DaysFormat",pt[pt.DaysStandalone=4]="DaysStandalone",pt[pt.MonthsFormat=5]="MonthsFormat",pt[pt.MonthsStandalone=6]="MonthsStandalone",pt[pt.Eras=7]="Eras",pt[pt.FirstDayOfWeek=8]="FirstDayOfWeek",pt[pt.WeekendRange=9]="WeekendRange",pt[pt.DateFormat=10]="DateFormat",pt[pt.TimeFormat=11]="TimeFormat",pt[pt.DateTimeFormat=12]="DateTimeFormat",pt[pt.NumberSymbols=13]="NumberSymbols",pt[pt.NumberFormats=14]="NumberFormats",pt[pt.CurrencyCode=15]="CurrencyCode",pt[pt.CurrencySymbol=16]="CurrencySymbol",pt[pt.CurrencyName=17]="CurrencyName",pt[pt.Currencies=18]="Currencies",pt[pt.Directionality=19]="Directionality",pt[pt.PluralCase=20]="PluralCase",pt[pt.ExtraData=21]="ExtraData",pt))();const No="en-US";let tp=No;function ec(e,t,n,r,s){if(e=q(e),Array.isArray(e))for(let i=0;i<e.length;i++)ec(e[i],t,n,r,s);else{const i=_t(),l=Me();let h=Vi(e)?e:q(e.provide),g=sf(e);const E=Zt(),T=1048575&E.providerIndexes,P=E.directiveStart,U=E.providerIndexes>>20;if(Vi(e)||!e.multi){const ae=new hs(g,s,Do),Se=nc(h,t,s?T:T+U,P);-1===Se?(tr(ui(E,l),i,h),tc(i,e,t.length),t.push(h),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(ae),l.push(ae)):(n[Se]=ae,l[Se]=ae)}else{const ae=nc(h,t,T+U,P),Se=nc(h,t,T,T+U),ke=ae>=0&&n[ae],Ke=Se>=0&&n[Se];if(s&&!Ke||!s&&!ke){tr(ui(E,l),i,h);const tt=function E0(e,t,n,r,s){const i=new hs(e,n,Do);return i.multi=[],i.index=t,i.componentProviders=0,Sp(i,s,r&&!n),i}(s?C0:D0,n.length,s,r,g);!s&&Ke&&(n[Se].providerFactory=tt),tc(i,e,t.length,0),t.push(h),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(tt),l.push(tt)}else tc(i,e,ae>-1?ae:Se,Sp(n[s?Se:ae],g,!s&&r));!s&&r&&Ke&&n[Se].componentProviders++}}}function tc(e,t,n,r){const s=Vi(t),i=function fv(e){return!!e.useClass}(t);if(s||i){const g=(i?q(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const T=E.indexOf(n);-1===T?E.push(n,[r,g]):E[T+1].push(r,g)}else E.push(n,g)}}}function Sp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nc(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function D0(e,t,n,r){return rc(this.multi,[])}function C0(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const l=this.providerFactory.componentProviders,h=pi(n,n[1],this.providerFactory.index,r);i=h.slice(0,l),rc(s,i);for(let g=l;g<h.length;g++)i.push(h[g])}else i=[],rc(s,i);return i}function rc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Mp(e,t=[]){return n=>{n.providersResolver=(r,s)=>function _0(e,t,n){const r=_t();if(r.firstCreatePass){const s=mn(e);ec(n,r.data,r.blueprint,s,!0),ec(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class b0{resolveComponentFactory(t){throw function w0(e){const t=Error(`No component factory found for ${le(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ma=(()=>{class e{}return e.NULL=new b0,e})();class Wi{}class Ap{}class Pp{}function S0(){return ko(Zt(),Me())}function ko(e,t){return new ya(En(e,t))}let ya=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=S0,e})();function M0(e){return e instanceof ya?e.nativeElement:e}class Op{}let I0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function A0(){const e=Me(),n=Tn(Zt().index,e);return(an(n)?n:e)[11]}(),e})(),P0=(()=>{class e{}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:()=>null}),e})();class xp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const O0=new xp("14.0.5"),sc={};function sl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Qt(i)),Dn(i))for(let h=10;h<i.length;h++){const g=i[h],E=g[1].firstChild;null!==E&&sl(g[1],g,E,r)}const l=n.type;if(8&l)sl(e,t,n.child,r);else if(32&l){const h=Fl(n,t);let g;for(;g=h();)r.push(g)}else if(16&l){const h=Ld(t,n);if(Array.isArray(h))r.push(...h);else{const g=oa(t[16]);sl(g[1],g,h,r,!0)}}n=s?n.projectionNext:n.next}return r}class va{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return sl(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Dn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Hl(t,r),zn(n,r))}this._attachedToViewContainer=!1}Id(this._lView[1],this._lView)}onDestroy(t){Rf(this._lView[1],this._lView,null,t)}markForCheck(){Su(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Iu(e,t,n){const r=t[10];r.begin&&r.begin();try{la(e,t,e.template,n)}catch(s){throw Gf(t,s),s}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ly(e,t){aa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _e(902,!1);this._appRef=t}}class x0 extends va{constructor(t){super(t),this._view=t}detectChanges(){Uf(this._view)}checkNoChanges(){}get context(){return null}}class ic extends ma{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=It(t);return new oc(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 N0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,sc,r);return s!==sc||n===sc?s:this.parentInjector.get(t,n,r)}}class oc extends Pp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function rv(e){return e.map(nv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Rp(this.componentDef.inputs)}get outputs(){return Rp(this.componentDef.outputs)}create(t,n,r,s){let i=(s=s||this.ngModule)instanceof yo?s:s?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const l=i?new N0(t,i):t,h=l.get(Op,null);if(null===h)throw new _e(407,!1);const g=l.get(P0,null),E=h.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",P=r?function Zv(e,t,n){return e.selectRootElement(t,n===Te.ShadowDom)}(E,r,this.componentDef.encapsulation):jl(h.createRenderer(null,this.componentDef),T,function R0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(T)),U=this.componentDef.onPush?288:272,ae=function E_(e,t){return{components:[],scheduler:e||My,clean:__,playerHandler:t||null,flags:0}}(),Se=Eu(0,null,null,1,0,null,null,null,null,null),ke=Va(null,Se,ae,U,null,null,h,E,g,l,null);let Ke,tt;Mi(ke);try{const yt=function D_(e,t,n,r,s,i){const l=n[1];n[22]=e;const g=Co(l,22,2,"#host",null),E=g.mergedAttrs=t.hostAttrs;null!==E&&(Ga(g,E,!0),null!==e&&(qr(s,e,E),null!==g.classes&&Gl(s,e,g.classes),null!==g.styles&&Hd(s,e,g.styles)));const T=r.createRenderer(e,t),P=Va(n,xf(t),null,t.onPush?32:16,n[22],g,r,T,i||null,null,null);return l.firstCreatePass&&(tr(ui(g,n),l,t.type),Lf(l,g),Bf(g,n.length,1)),za(n,P),n[22]=P}(P,this.componentDef,ke,h,E);if(P)if(r)qr(E,P,["ng-version",O0.full]);else{const{attrs:Re,classes:dt}=function sv(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!Xr(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Re&&qr(E,P,Re),dt&&dt.length>0&&Gl(E,P,dt.join(" "))}if(tt=Ps(Se,22),void 0!==n){const Re=tt.projection=[];for(let dt=0;dt<this.ngContentSelectors.length;dt++){const Pt=n[dt];Re.push(null!=Pt?Array.from(Pt):null)}}Ke=function C_(e,t,n,r,s){const i=n[1],l=function r_(e,t,n){const r=Zt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),jf(e,r,t,Eo(e,t,1,null),n));const s=pi(t,e,r.directiveStart,r);nr(s,t);const i=En(r,t);return i&&nr(i,t),s}(i,n,t);if(r.components.push(l),e[8]=l,null!==s)for(const g of s)g(l,t);if(t.contentQueries){const g=Zt();t.contentQueries(1,l,g.directiveStart)}const h=Zt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Lr(h.index),Ff(n[1],h,0,h.directiveStart,h.directiveEnd,t),kf(t,l)),l}(yt,this.componentDef,ke,ae,[w_]),$a(Se,ke,null)}finally{Ii()}return new k0(this.componentType,Ke,ko(tt,ke),ke,tt)}}class k0 extends class T0{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new x0(s),this.componentType=t}get injector(){return new p(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function L0(e,t){return new Np(e,t??null)}class Np extends Wi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ic(this);const r=hn(t);this._bootstrapComponents=Us(r.bootstrap),this._r3Injector=lf(t,n,[{provide:Wi,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],le(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this.get(t)}get(t,n=_s.THROW_IF_NOT_FOUND,r=ot.Default){return t===_s||t===Wi||t===Ql?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ac extends Ap{constructor(t){super(),this.moduleType=t}create(t){return new Np(this.moduleType,t)}}class B0 extends Wi{constructor(t,n,r){super(),this.componentFactoryResolver=new ic(this),this.instance=null;const s=new rf([...t,{provide:Wi,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],n||Jl(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function lc(e,t=null,n=null){return new B0(e,t,n).injector}function Up(e,t,n){const r=wn()+e,s=Me();return s[r]===bt?Cs(s,r,n?t.call(n):t()):ca(s,r)}function Vp(e,t,n,r){return Kp(Me(),wn(),e,t,n,r)}function $p(e,t,n,r,s){return Yp(Me(),wn(),e,t,n,r,s)}function zp(e,t,n,r,s,i){return function Qp(e,t,n,r,s,i,l,h){const g=t+n;return function Ka(e,t,n,r,s){const i=zi(e,t,n,r);return rr(e,t+2,s)||i}(e,g,s,i,l)?Cs(e,g+3,h?r.call(h,s,i,l):r(s,i,l)):_a(e,g+3)}(Me(),wn(),e,t,n,r,s,i)}function Gp(e,t,n,r,s,i,l){return function qp(e,t,n,r,s,i,l,h,g){const E=t+n;return Hr(e,E,s,i,l,h)?Cs(e,E+4,g?r.call(g,s,i,l,h):r(s,i,l,h)):_a(e,E+4)}(Me(),wn(),e,t,n,r,s,i,l)}function Wp(e,t,n,r,s,i,l,h){const g=wn()+e,E=Me(),T=Hr(E,g,n,r,s,i);return rr(E,g+4,l)||T?Cs(E,g+5,h?t.call(h,n,r,s,i,l):t(n,r,s,i,l)):ca(E,g+5)}function _a(e,t){const n=e[t];return n===bt?void 0:n}function Kp(e,t,n,r,s,i){const l=t+n;return rr(e,l,s)?Cs(e,l+1,i?r.call(i,s):r(s)):_a(e,l+1)}function Yp(e,t,n,r,s,i,l){const h=t+n;return zi(e,h,s,i)?Cs(e,h+2,l?r.call(l,s,i):r(s,i)):_a(e,h+2)}function Jp(e,t){const n=_t();let r;const s=e+22;n.firstCreatePass?(r=function X0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=vr(r.type)),l=dn(Do);try{const h=jr(!1),g=i();return jr(h),function L_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Me(),s,g),g}finally{dn(l)}}function Xp(e,t,n){const r=e+22,s=Me(),i=_r(s,r);return Da(s,r)?Kp(s,wn(),t,i.transform,n,i):i.transform(n)}function eg(e,t,n,r){const s=e+22,i=Me(),l=_r(i,s);return Da(i,s)?Yp(i,wn(),t,l.transform,n,r,l):l.transform(n,r)}function Da(e,t){return e[1].data[t].pure}function cc(e){return t=>{setTimeout(e,void 0,t)}}const bs=class rC extends D.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),l=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),i=g.error?.bind(g),l=g.complete?.bind(g)}this.__isAsync&&(i=cc(i),s&&(s=cc(s)),l&&(l=cc(l)));const h=super.subscribe({next:s,error:i,complete:l});return t instanceof f.w0&&t.add(h),h}};function sC(){return this._results[$i()]()}class il{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=$i(),r=il.prototype;r[n]||(r[n]=sC)}get changes(){return this._changes||(this._changes=new bs)}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 r=this;r.dirty=!1;const s=et(t);(this._changesDetected=!function it(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=aC,e})();const iC=Ca,oC=class extends iC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,s=Va(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(s[19]=l.createEmbeddedView(r)),$a(r,s,t),new va(s)}};function aC(){return ol(Zt(),Me())}function ol(e,t){return 4&e.type?new oC(t,e,ko(e,t)):null}let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=lC,e})();function lC(){return rg(Zt(),Me())}const uC=al,tg=class extends uC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ko(this._hostTNode,this._hostLView)}get injector(){return new p(this._hostTNode,this._hostLView)}get parentInjector(){const t=js(this._hostTNode,this._hostLView);if(ao(t)){const n=Zr(t,this._hostLView),r=Jt(t);return new p(n[1].data[r+8],n)}return new p(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ng(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let s,i;"number"==typeof r?s=r:null!=r&&(s=r.index,i=r.injector);const l=t.createEmbeddedView(n||{},i);return this.insert(l,s),l}createComponent(t,n,r,s,i){const l=t&&!function jt(e){return"function"==typeof e}(t);let h;if(l)h=n;else{const P=n||{};h=P.index,r=P.injector,s=P.projectableNodes,i=P.environmentInjector||P.ngModuleRef}const g=l?t:new oc(It(t)),E=r||this.parentInjector;if(!i&&null==g.ngModule){const U=(l?E:this.parentInjector).get(yo,null);U&&(i=U)}const T=g.create(E,s,void 0,i);return this.insert(T.hostView,h),T}insert(t,n){const r=t._lView,s=r[1];if(function _(e){return Dn(e[3])}(r)){const T=this.indexOf(t);if(-1!==T)this.detach(T);else{const P=r[3],U=new tg(P,P[6],P[3]);U.detach(U.indexOf(t))}}const i=this._adjustIndex(n),l=this._lContainer;!function jy(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],Kt(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function Hy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(s,r,l,i);const h=$l(i,l),g=r[11],E=Na(g,l[7]);return null!==E&&function ky(e,t,n,r,s,i){r[0]=s,r[6]=t,aa(e,r,n,1,s,i)}(s,l[6],g,r,E,h),t.attachToViewContainerRef(),Kt(dc(l),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ng(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Hl(this._lContainer,n);r&&(zn(dc(this._lContainer),n),Id(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Hl(this._lContainer,n);return r&&null!=zn(dc(this._lContainer),n)?new va(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ng(e){return e[8]}function dc(e){return e[8]||(e[8]=[])}function rg(e,t){let n;const r=t[e.index];if(Dn(r))n=r;else{let s;if(8&e.type)s=Qt(r);else{const i=t[11];s=i.createComment("");const l=En(e,t);Ui(i,Na(i,l),s,function zy(e,t){return e.nextSibling(t)}(i,l),!1)}t[e.index]=n=Hf(r,t,s,e),za(t,n)}return new tg(n,e,t)}class fc{constructor(t){this.queryList=t,this.matches=null}clone(){return new fc(this.queryList)}setDirty(){this.queryList.setDirty()}}class hc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const l=n.getByIndex(i);s.push(this.queries[l.indexInDeclarationView].clone())}return new hc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==fg(t,n).matches&&this.queries[n].setDirty()}}class sg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class pc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){const s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new pc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class gc{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 gc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,fC(n,i)),this.matchTNodeWithReadOption(t,n,hi(n,t,i,!1,!1))}else r===Ca?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,hi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===ya||s===al||s===Ca&&4&n.type)this.addMatch(n.index,-2);else{const i=hi(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function fC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function pC(e,t,n,r){return-1===n?function hC(e,t){return 11&e.type?ko(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function gC(e,t,n){return n===ya?ko(t,e):n===Ca?ol(t,e):n===al?rg(t,e):void 0}(e,t,r):pi(e,e[1],n,t)}function ig(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,l=n.matches,h=[];for(let g=0;g<l.length;g+=2){const E=l[g];h.push(E<0?null:pC(t,i[E],l[g+1],n.metadata.read))}s.matches=h}return s.matches}function mc(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const l=ig(e,t,s,n);for(let h=0;h<i.length;h+=2){const g=i[h];if(g>0)r.push(l[h/2]);else{const E=i[h+1],T=t[-g];for(let P=10;P<T.length;P++){const U=T[P];U[17]===U[3]&&mc(U[1],U,E,r)}if(null!==T[9]){const P=T[9];for(let U=0;U<P.length;U++){const ae=P[U];mc(ae[1],ae,E,r)}}}}}return r}function og(e){const t=Me(),n=_t(),r=no();Ti(r+1);const s=fg(n,r);if(e.dirty&&v(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?mc(n,t,r,[]):ig(n,t,s,r);e.reset(i,M0),e.notifyOnChanges()}return!0}return!1}function ag(e,t,n){const r=_t();r.firstCreatePass&&(dg(r,new sg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),cg(r,Me(),t)}function lg(e,t,n,r){const s=_t();if(s.firstCreatePass){const i=Zt();dg(s,new sg(t,n,r),i.index),function yC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}cg(s,Me(),n)}function ug(){return function mC(e,t){return e[19].queries[t].queryList}(Me(),no())}function cg(e,t,n){const r=new il(4==(4&n));Rf(e,t,r,r.destroy),null===t[19]&&(t[19]=new hc),t[19].queries.push(new fc(r))}function dg(e,t,n){null===e.queries&&(e.queries=new pc),e.queries.track(new gc(t,n))}function fg(e,t){return e.queries.getByIndex(t)}function hg(e,t){return ol(e,t)}function Bo(e){const t=It(e)||at(e)||Yt(e);return null!==t&&t.standalone}function ul(...e){}const xg=new d("Application Initializer");let cl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ul,this.reject=ul,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if(Bu(i))n.push(i);else if(ah(i)){const l=new Promise((h,g)=>{i.subscribe({complete:h,error:g})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(bn(xg,8))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rg=new d("AppId",{providedIn:"root",factory:function Ng(){return`${Cc()}${Cc()}${Cc()}`}});function Cc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Fg=new d("Platform Initializer"),LC=new d("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),kg=new d("appBootstrapListener"),BC=new d("AnimationModuleType");let jC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const dl=new d("LocaleId",{providedIn:"root",factory:()=>Kc(dl,ot.Optional|ot.SkipSelf)||function HC(){return typeof $localize<"u"&&$localize.locale||No}()}),UC=new d("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class VC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let $C=(()=>{class e{compileModuleSync(n){return new ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Us(hn(n).declarations).reduce((l,h)=>{const g=It(h);return g&&l.push(new oc(g)),l},[]);return new VC(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const WC=(()=>Promise.resolve(0))();function Ec(e){typeof Zone>"u"?WC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Pr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bs(!1),this.onMicrotaskEmpty=new bs(!1),this.onStable=new bs(!1),this.onError=new bs(!1),typeof Zone>"u")throw new _e(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function KC(){let e=ne.requestAnimationFrame,t=ne.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function qC(e){const t=()=>{!function QC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bc(e),e.isCheckStableRunning=!0,wc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,l,h)=>{try{return jg(e),n.invokeTask(s,i,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hg(e)}},onInvoke:(n,r,s,i,l,h,g)=>{try{return jg(e),n.invoke(s,i,l,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,bc(e),wc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pr.isInAngularZone())throw new _e(909,!1)}static assertNotInAngularZone(){if(Pr.isInAngularZone())throw new _e(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+s,t,YC,ul,ul);try{return i.runTask(l,n,r)}finally{i.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const YC={};function wc(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 bc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hg(e){e._nesting--,wc(e)}class ZC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bs,this.onMicrotaskEmpty=new bs,this.onStable=new bs,this.onError=new bs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,s){return t.apply(n,r)}}const Ug=new d(""),Vg=new d("");let Tc,JC=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Tc||(function XC(e){Tc=e}(s),s.addToWindow(r)),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:()=>{Pr.assertNotInAngularZone(),Ec(()=>{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())Ec(()=>{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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(bn(Pr),bn($g),bn(Vg))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac}),e})(),$g=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Tc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),vi=null;const zg=new d("AllowMultipleToken"),Sc=new d("PlatformDestroyListeners");class nE{constructor(t,n){this.name=t,this.token=n}}function Wg(e,t,n=[]){const r=`Platform: ${t}`,s=new d(r);return(i=[])=>{let l=Mc();if(!l||l.injector.get(zg,!1)){const h=[...n,...i,{provide:s,useValue:!0}];e?e(h):function rE(e){if(vi&&!vi.get(zg,!1))throw new _e(400,!1);vi=e;const t=e.get(Yg);(function Gg(e){const t=e.get(Fg,null);t&&t.forEach(n=>n())})(e)}(function Kg(e=[],t){return _s.create({name:t,providers:[{provide:ql,useValue:"platform"},{provide:Sc,useValue:new Set([()=>vi=null])},...e]})}(h,r))}return function iE(e){const t=Mc();if(!t)throw new _e(401,!1);return t}()}}function Mc(){return vi?.get(Yg)??null}let Yg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function oE(e,t){let n;return n="noop"===e?new ZC:("zone.js"===e?void 0:e)||new Pr(t),n}(r?.ngZone,function Qg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Pr,useValue:s}];return s.run(()=>{const l=_s.create({providers:i,parent:this.injector,name:n.moduleType.name}),h=n.create(l),g=h.injector.get(sa,null);if(!g)throw new _e(402,!1);return s.runOutsideAngular(()=>{const E=s.onError.subscribe({next:T=>{g.handleError(T)}});h.onDestroy(()=>{hl(this._modules,h),E.unsubscribe()})}),function qg(e,t,n){try{const r=n();return Bu(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,s,()=>{const E=h.injector.get(cl);return E.runInitializers(),E.donePromise.then(()=>(function np(e){gt(e,"Expected localeId to be defined"),"string"==typeof e&&(tp=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(dl,No)||No),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const s=Zg({},r);return function eE(e,t,n){const r=new ac(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(fl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new _e(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _e(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Sc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(bn(_s))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Zg(e,t){return Array.isArray(t)?t.reduce(Zg,e):{...e,...t}}let fl=(()=>{class e{constructor(n,r,s){this._zone=n,this._injector=r,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new oe.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),l=new oe.y(h=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{Pr.assertNotInAngularZone(),Ec(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const E=this._zone.onUnstable.subscribe(()=>{Pr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{g.unsubscribe(),E.unsubscribe()}});this.isStable=(0,ce.T)(i,l.pipe((0,$.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof Pp;if(!this._injector.get(cl).done)throw!s&&Bo(n),new _e(405,false);let l;l=s?n:this._injector.get(ma).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const h=function tE(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Wi),E=l.create(_s.NULL,[],r||l.selector,h),T=E.location.nativeElement,P=E.injector.get(Ug,null);return P?.registerApplication(T),E.onDestroy(()=>{this.detachView(E.hostView),hl(this.components,E),P?.unregisterApplication(T)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new _e(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(kg,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _e(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(bn(Pr),bn(_s),bn(sa))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Xg=!0;function lE(){Xg=!1}let uE=(()=>{class e{}return e.__NG_ELEMENT_ID__=cE,e})();function cE(e){return function dE(e,t,n){if(Bn(e)&&!n){const r=Tn(e.index,t);return new va(r,r)}return 47&e.type?new va(t[16],t):null}(Zt(),Me(),16==(16&e))}class sm{constructor(){}supports(t){return ua(t)}create(t){return new yE(t)}}const mE=(e,t)=>t;class yE{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||mE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const l=!r||n&&n.currentIndex<om(r,s,i)?n:r,h=om(l,s,i),g=l.currentIndex;if(l===r)s--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)s++;else{i||(i=[]);const E=h-s,T=g-s;if(E!=T){for(let U=0;U<E;U++){const ae=U<i.length?i[U]:i[U]=0,Se=ae+U;T<=Se&&Se<E&&(i[U]=ae+1)}i[l.previousIndex]=T-E}}h!==g&&t(l,h,g)}}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=[]),!ua(t))throw new _e(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)i=t[h],l=this._trackByFn(h,i),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,i,l,h)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,l,h),r=!0),n=n._next}else s=0,function x_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[$i()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{l=this._trackByFn(s,h),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,h,l,s)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,l,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new vE(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new im),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new im),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 vE{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 _E{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class im{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _E,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 om(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class am{constructor(){}supports(t){return t instanceof Map||xu(t)}create(){return new DE}}class DE{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||xu(t)))throw new _e(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,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,l=s._next;return i&&(i._next=l),l&&(l._prev=i),s._next=null,s._prev=null,s}const r=new CE(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class CE{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 lm(){return new xc([new sm])}let xc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Jo,new Zo]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new _e(901,!1)}}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:lm}),e})();function um(){return new Rc([new am])}let Rc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||um()),deps:[[e,new Jo,new Zo]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new _e(901,!1)}}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:um}),e})();const bE=Wg(null,"core",[]);let TE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(bn(fl))},e.\u0275mod=Cr({type:e}),e.\u0275inj=ge({}),e})();function SE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1481:(Ye,me,b)=>{b.d(me,{Dx:()=>K,H7:()=>hn,b2:()=>fr,q6:()=>ot,se:()=>de});var D=b(6895),f=b(4650);class oe extends D.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ce extends oe{static makeCurrent(){(0,D.HT)(new ce)}onAndCancel(B,O,W){return B.addEventListener(O,W,!1),()=>{B.removeEventListener(O,W,!1)}}dispatchEvent(B,O){B.dispatchEvent(O)}remove(B){B.parentNode&&B.parentNode.removeChild(B)}createElement(B,O){return(O=O||this.getDefaultDocument()).createElement(B)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(B){return B.nodeType===Node.ELEMENT_NODE}isShadowRoot(B){return B instanceof DocumentFragment}getGlobalEventTarget(B,O){return"window"===O?window:"document"===O?B:"body"===O?B.body:null}getBaseHref(B){const O=function ee(){return $=$||document.querySelector("base"),$?$.getAttribute("href"):null}();return null==O?null:function le(Y){J=J||document.createElement("a"),J.setAttribute("href",Y);const B=J.pathname;return"/"===B.charAt(0)?B:`/${B}`}(O)}resetBaseElement(){$=null}getUserAgent(){return window.navigator.userAgent}getCookie(B){return(0,D.Mx)(document.cookie,B)}}let J,$=null;const he=new f.OlP("TRANSITION_ID"),se=[{provide:f.ip1,useFactory:function re(Y,B,O){return()=>{O.get(f.CZH).donePromise.then(()=>{const W=(0,D.q)(),Ae=B.querySelectorAll(`style[ng-transition="${Y}"]`);for(let Ve=0;Ve<Ae.length;Ve++)W.remove(Ae[Ve])})}},deps:[he,D.K0,f.zs3],multi:!0}];let je=(()=>{class Y{build(){return new XMLHttpRequest}}return Y.\u0275fac=function(O){return new(O||Y)},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const Ee=new f.OlP("EventManagerPlugins");let _e=(()=>{class Y{constructor(O,W){this._zone=W,this._eventNameToPlugin=new Map,O.forEach(Ae=>Ae.manager=this),this._plugins=O.slice().reverse()}addEventListener(O,W,Ae){return this._findPluginFor(W).addEventListener(O,W,Ae)}addGlobalEventListener(O,W,Ae){return this._findPluginFor(W).addGlobalEventListener(O,W,Ae)}getZone(){return this._zone}_findPluginFor(O){const W=this._eventNameToPlugin.get(O);if(W)return W;const Ae=this._plugins;for(let Ve=0;Ve<Ae.length;Ve++){const wt=Ae[Ve];if(wt.supports(O))return this._eventNameToPlugin.set(O,wt),wt}throw new Error(`No event manager plugin found for event ${O}`)}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(Ee),f.LFG(f.R0b))},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class Ne{constructor(B){this._doc=B}addGlobalEventListener(B,O,W){const Ae=(0,D.q)().getGlobalEventTarget(this._doc,B);if(!Ae)throw new Error(`Unsupported event target ${Ae} for event ${O}`);return this.addEventListener(Ae,O,W)}}let ye=(()=>{class Y{constructor(){this._stylesSet=new Set}addStyles(O){const W=new Set;O.forEach(Ae=>{this._stylesSet.has(Ae)||(this._stylesSet.add(Ae),W.add(Ae))}),this.onStylesAdded(W)}onStylesAdded(O){}getAllStyles(){return Array.from(this._stylesSet)}}return Y.\u0275fac=function(O){return new(O||Y)},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),xe=(()=>{class Y extends ye{constructor(O){super(),this._doc=O,this._hostNodes=new Map,this._hostNodes.set(O.head,[])}_addStylesToHost(O,W,Ae){O.forEach(Ve=>{const wt=this._doc.createElement("style");wt.textContent=Ve,Ae.push(W.appendChild(wt))})}addHost(O){const W=[];this._addStylesToHost(this._stylesSet,O,W),this._hostNodes.set(O,W)}removeHost(O){const W=this._hostNodes.get(O);W&&W.forEach(Xe),this._hostNodes.delete(O)}onStylesAdded(O){this._hostNodes.forEach((W,Ae)=>{this._addStylesToHost(O,Ae,W)})}ngOnDestroy(){this._hostNodes.forEach(O=>O.forEach(Xe))}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(D.K0))},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})();function Xe(Y){(0,D.q)().remove(Y)}const Ue={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/"},te=/%COMP%/g,k="%COMP%",ve=`_nghost-${k}`,Z=`_ngcontent-${k}`;function R(Y,B,O){for(let W=0;W<B.length;W++){let Ae=B[W];Array.isArray(Ae)?R(Y,Ae,O):(Ae=Ae.replace(te,Y),O.push(Ae))}return O}function N(Y){return B=>{if("__ngUnwrap__"===B)return Y;!1===Y(B)&&(B.preventDefault(),B.returnValue=!1)}}let de=(()=>{class Y{constructor(O,W,Ae){this.eventManager=O,this.sharedStylesHost=W,this.appId=Ae,this.rendererByCompId=new Map,this.defaultRenderer=new ie(O)}createRenderer(O,W){if(!O||!W)return this.defaultRenderer;switch(W.encapsulation){case f.ifc.Emulated:{let Ae=this.rendererByCompId.get(W.id);return Ae||(Ae=new gt(this.eventManager,this.sharedStylesHost,W,this.appId),this.rendererByCompId.set(W.id,Ae)),Ae.applyToHost(O),Ae}case 1:case f.ifc.ShadowDom:return new ze(this.eventManager,this.sharedStylesHost,O,W);default:if(!this.rendererByCompId.has(W.id)){const Ae=R(W.id,W.styles,[]);this.sharedStylesHost.addStyles(Ae),this.rendererByCompId.set(W.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(_e),f.LFG(xe),f.LFG(f.AFp))},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ie{constructor(B){this.eventManager=B,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(B,O){return O?document.createElementNS(Ue[O]||O,B):document.createElement(B)}createComment(B){return document.createComment(B)}createText(B){return document.createTextNode(B)}appendChild(B,O){(ft(B)?B.content:B).appendChild(O)}insertBefore(B,O,W){B&&(ft(B)?B.content:B).insertBefore(O,W)}removeChild(B,O){B&&B.removeChild(O)}selectRootElement(B,O){let W="string"==typeof B?document.querySelector(B):B;if(!W)throw new Error(`The selector "${B}" did not match any elements`);return O||(W.textContent=""),W}parentNode(B){return B.parentNode}nextSibling(B){return B.nextSibling}setAttribute(B,O,W,Ae){if(Ae){O=Ae+":"+O;const Ve=Ue[Ae];Ve?B.setAttributeNS(Ve,O,W):B.setAttribute(O,W)}else B.setAttribute(O,W)}removeAttribute(B,O,W){if(W){const Ae=Ue[W];Ae?B.removeAttributeNS(Ae,O):B.removeAttribute(`${W}:${O}`)}else B.removeAttribute(O)}addClass(B,O){B.classList.add(O)}removeClass(B,O){B.classList.remove(O)}setStyle(B,O,W,Ae){Ae&(f.JOm.DashCase|f.JOm.Important)?B.style.setProperty(O,W,Ae&f.JOm.Important?"important":""):B.style[O]=W}removeStyle(B,O,W){W&f.JOm.DashCase?B.style.removeProperty(O):B.style[O]=""}setProperty(B,O,W){B[O]=W}setValue(B,O){B.nodeValue=O}listen(B,O,W){return"string"==typeof B?this.eventManager.addGlobalEventListener(B,O,N(W)):this.eventManager.addEventListener(B,O,N(W))}}function ft(Y){return"TEMPLATE"===Y.tagName&&void 0!==Y.content}class gt extends ie{constructor(B,O,W,Ae){super(B),this.component=W;const Ve=R(Ae+"-"+W.id,W.styles,[]);O.addStyles(Ve),this.contentAttr=function Q(Y){return Z.replace(te,Y)}(Ae+"-"+W.id),this.hostAttr=function pe(Y){return ve.replace(te,Y)}(Ae+"-"+W.id)}applyToHost(B){super.setAttribute(B,this.hostAttr,"")}createElement(B,O){const W=super.createElement(B,O);return super.setAttribute(W,this.contentAttr,""),W}}class ze extends ie{constructor(B,O,W,Ae){super(B),this.sharedStylesHost=O,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ve=R(Ae.id,Ae.styles,[]);for(let wt=0;wt<Ve.length;wt++){const Ft=document.createElement("style");Ft.textContent=Ve[wt],this.shadowRoot.appendChild(Ft)}}nodeOrShadowRoot(B){return B===this.hostEl?this.shadowRoot:B}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(B,O){return super.appendChild(this.nodeOrShadowRoot(B),O)}insertBefore(B,O,W){return super.insertBefore(this.nodeOrShadowRoot(B),O,W)}removeChild(B,O){return super.removeChild(this.nodeOrShadowRoot(B),O)}parentNode(B){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(B)))}}let $t=(()=>{class Y extends Ne{constructor(O){super(O)}supports(O){return!0}addEventListener(O,W,Ae){return O.addEventListener(W,Ae,!1),()=>this.removeEventListener(O,W,Ae)}removeEventListener(O,W,Ae){return O.removeEventListener(W,Ae)}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(D.K0))},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const gn=["alt","control","meta","shift"],Pe={"\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"},X={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ge={alt:Y=>Y.altKey,control:Y=>Y.ctrlKey,meta:Y=>Y.metaKey,shift:Y=>Y.shiftKey};let He=(()=>{class Y extends Ne{constructor(O){super(O)}supports(O){return null!=Y.parseEventName(O)}addEventListener(O,W,Ae){const Ve=Y.parseEventName(W),wt=Y.eventCallback(Ve.fullKey,Ae,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,D.q)().onAndCancel(O,Ve.domEventName,wt))}static parseEventName(O){const W=O.toLowerCase().split("."),Ae=W.shift();if(0===W.length||"keydown"!==Ae&&"keyup"!==Ae)return null;const Ve=Y._normalizeKey(W.pop());let wt="";if(gn.forEach(Ze=>{const ir=W.indexOf(Ze);ir>-1&&(W.splice(ir,1),wt+=Ze+".")}),wt+=Ve,0!=W.length||0===Ve.length)return null;const Ft={};return Ft.domEventName=Ae,Ft.fullKey=wt,Ft}static getEventFullKey(O){let W="",Ae=function vt(Y){let B=Y.key;if(null==B){if(B=Y.keyIdentifier,null==B)return"Unidentified";B.startsWith("U+")&&(B=String.fromCharCode(parseInt(B.substring(2),16)),3===Y.location&&X.hasOwnProperty(B)&&(B=X[B]))}return Pe[B]||B}(O);return Ae=Ae.toLowerCase()," "===Ae?Ae="space":"."===Ae&&(Ae="dot"),gn.forEach(Ve=>{Ve!=Ae&&ge[Ve](O)&&(W+=Ve+".")}),W+=Ae,W}static eventCallback(O,W,Ae){return Ve=>{Y.getEventFullKey(Ve)===O&&Ae.runGuarded(()=>W(Ve))}}static _normalizeKey(O){return"esc"===O?"escape":O}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(D.K0))},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const ot=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:D.bD},{provide:f.g9A,useValue:function en(){ce.makeCurrent()},multi:!0},{provide:D.K0,useFactory:function Rn(){return(0,f.RDi)(document),document},deps:[]}]),sr=new f.OlP(""),nt=[{provide:f.rWj,useClass:class q{addToWindow(B){f.dqk.getAngularTestability=(W,Ae=!0)=>{const Ve=B.findTestabilityInTree(W,Ae);if(null==Ve)throw new Error("Could not find testability for element.");return Ve},f.dqk.getAllAngularTestabilities=()=>B.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>B.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(W=>{const Ae=f.dqk.getAllAngularTestabilities();let Ve=Ae.length,wt=!1;const Ft=function(Ze){wt=wt||Ze,Ve--,0==Ve&&W(wt)};Ae.forEach(function(Ze){Ze.whenStable(Ft)})})}findTestabilityInTree(B,O,W){return null==O?null:B.getTestability(O)??(W?(0,D.q)().isShadowRoot(O)?this.findTestabilityInTree(B,O.host,!0):this.findTestabilityInTree(B,O.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],dn=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function _n(){return new f.qLn},deps:[]},{provide:Ee,useClass:$t,multi:!0,deps:[D.K0,f.R0b,f.Lbi]},{provide:Ee,useClass:He,multi:!0,deps:[D.K0]},{provide:de,useClass:de,deps:[_e,xe,f.AFp]},{provide:f.FYo,useExisting:de},{provide:ye,useExisting:xe},{provide:xe,useClass:xe,deps:[D.K0]},{provide:_e,useClass:_e,deps:[Ee,f.R0b]},{provide:D.JF,useClass:je,deps:[]},[]];let fr=(()=>{class Y{constructor(O){}static withServerTransition(O){return{ngModule:Y,providers:[{provide:f.AFp,useValue:O.appId},{provide:he,useExisting:f.AFp},se]}}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(sr,12))},Y.\u0275mod=f.oAB({type:Y}),Y.\u0275inj=f.cJS({providers:[...dn,...nt],imports:[D.ez,f.hGG]}),Y})(),K=(()=>{class Y{constructor(O){this._doc=O}getTitle(){return this._doc.title}setTitle(O){this._doc.title=O||""}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(D.K0))},Y.\u0275prov=f.Yz7({token:Y,factory:function(O){let W=null;return W=O?new O:function z(){return new K((0,f.LFG)(D.K0))}(),W},providedIn:"root"}),Y})();typeof window<"u"&&window;let hn=(()=>{class Y{}return Y.\u0275fac=function(O){return new(O||Y)},Y.\u0275prov=f.Yz7({token:Y,factory:function(O){let W=null;return W=O?new(O||Y):f.LFG(Ge),W},providedIn:"root"}),Y})(),Ge=(()=>{class Y extends hn{constructor(O){super(),this._doc=O}sanitize(O,W){if(null==W)return null;switch(O){case f.q3G.NONE:return W;case f.q3G.HTML:return(0,f.qzn)(W,"HTML")?(0,f.z3N)(W):(0,f.EiD)(this._doc,String(W)).toString();case f.q3G.STYLE:return(0,f.qzn)(W,"Style")?(0,f.z3N)(W):W;case f.q3G.SCRIPT:if((0,f.qzn)(W,"Script"))return(0,f.z3N)(W);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.qzn)(W,"URL")?(0,f.z3N)(W):(0,f.mCW)(String(W));case f.q3G.RESOURCE_URL:if((0,f.qzn)(W,"ResourceURL"))return(0,f.z3N)(W);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${O} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(O){return(0,f.JVY)(O)}bypassSecurityTrustStyle(O){return(0,f.L6k)(O)}bypassSecurityTrustScript(O){return(0,f.eBb)(O)}bypassSecurityTrustUrl(O){return(0,f.LAX)(O)}bypassSecurityTrustResourceUrl(O){return(0,f.pB0)(O)}}return Y.\u0275fac=function(O){return new(O||Y)(f.LFG(D.K0))},Y.\u0275prov=f.Yz7({token:Y,factory:function(O){let W=null;return W=O?new O:function Wt(Y){return new Ge(Y.get(D.K0))}(f.LFG(f.zs3)),W},providedIn:"root"}),Y})()},8252:(Ye,me,b)=>{b.d(me,{gz:()=>Tr,m2:()=>ge,F0:()=>Jt,Od:()=>lo,yS:()=>jr,Bz:()=>hi,lC:()=>Is});var D=b(6895),f=b(4650);const ce=(0,b(3888).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"});var $=b(8306),ee=b(727),J=b(4482),le=b(5403);function he(){return(0,J.e)((d,c)=>{let u=null;d._refCount++;const m=(0,le.x)(c,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(u=null);const C=d._connection,S=u;u=null,C&&(!S||C===S)&&C.unsubscribe(),c.unsubscribe()});d.subscribe(m),m.closed||(u=d.connect())})}class re extends $.y{constructor(c,u){super(),this.source=c,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,J.A)(c)&&(this.lift=c.lift)}_subscribe(c){return this.getSubject().subscribe(c)}getSubject(){const c=this._subject;return(!c||c.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:c}=this;this._subject=this._connection=null,c?.unsubscribe()}connect(){let c=this._connection;if(!c){c=this._connection=new ee.w0;const u=this.getSubject();c.add(this.source.subscribe((0,le.x)(u,void 0,()=>{this._teardown(),u.complete()},m=>{this._teardown(),u.error(m)},()=>this._teardown()))),c.closed&&(this._connection=null,c=ee.w0.EMPTY)}return c}refCount(){return he()(this)}}var se=b(2076),q=b(9646),je=b(1135),Ee=b(9841),_e=b(2843),Ne=b(7272),ye=b(9770),xe=b(515),Xe=b(7579),Ue=b(9300);function te(d){return d<=0?()=>xe.E:(0,J.e)((c,u)=>{let m=[];c.subscribe((0,le.x)(u,C=>{m.push(C),d<m.length&&m.shift()},()=>{for(const C of m)u.next(C);u.complete()},void 0,()=>{m=null}))})}function j(d=k){return(0,J.e)((c,u)=>{let m=!1;c.subscribe((0,le.x)(u,C=>{m=!0,u.next(C)},()=>m?u.complete():u.error(d())))})}function k(){return new ce}function ve(d){return(0,J.e)((c,u)=>{let m=!1;c.subscribe((0,le.x)(u,C=>{m=!0,u.next(C)},()=>{m||u.next(d),u.complete()}))})}var Z=b(4671),pe=b(5698);function R(d,c){const u=arguments.length>=2;return m=>m.pipe(d?(0,Ue.h)((C,S)=>d(C,S,m)):Z.y,(0,pe.q)(1),u?ve(c):j(()=>new ce))}var N=b(4004),G=b(3900),de=b(8675),ie=b(5026),Ie=b(262),Je=b(4351),ft=b(5577),gt=b(8505),ze=b(9718),$t=b(8746),gn=b(8189),Oe=b(1481);class Pe{constructor(c,u){this.id=c,this.url=u}}class X extends Pe{constructor(c,u,m="imperative",C=null){super(c,u),this.type=0,this.navigationTrigger=m,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ge extends Pe{constructor(c,u,m){super(c,u),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class He extends Pe{constructor(c,u,m){super(c,u),this.reason=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vt extends Pe{constructor(c,u,m){super(c,u),this.error=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cn extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class An extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xn extends Pe{constructor(c,u,m,C,S){super(c,u),this.urlAfterRedirects=m,this.state=C,this.shouldActivate=S,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class en extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rn{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nn{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ot{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dn{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{constructor(c,u,m){this.routerEvent=c,this.position=u,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ut="primary";class we{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u[0]:u}return null}getAll(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function z(d){return new we(d)}const K="Redirecting to ",Te="ngNavigationCancelingError";function ne(d){const c=Error("NavigationCancelingError: "+(d||""));return c[Te]=!0,c}function Ot(d,c,u){const m=u.path.split("/");if(m.length>d.length||"full"===u.pathMatch&&(c.hasChildren()||m.length<d.length))return null;const C={};for(let S=0;S<m.length;S++){const x=m[S],H=d[S];if(x.startsWith(":"))C[x.substring(1)]=H;else if(x!==H.path)return null}return{consumed:d.slice(0,m.length),posParams:C}}function Fe(d,c){const u=d?Object.keys(d):void 0,m=c?Object.keys(c):void 0;if(!u||!m||u.length!=m.length)return!1;let C;for(let S=0;S<u.length;S++)if(C=u[S],!Nt(d[C],c[C]))return!1;return!0}function Nt(d,c){if(Array.isArray(d)&&Array.isArray(c)){if(d.length!==c.length)return!1;const u=[...d].sort(),m=[...c].sort();return u.every((C,S)=>m[S]===C)}return d===c}function Gt(d){return Array.prototype.concat.apply([],d)}function fn(d){return d.length>0?d[d.length-1]:null}function ct(d,c){for(const u in d)d.hasOwnProperty(u)&&c(d[u],u)}function rt(d){return(0,f.CqO)(d)?d:(0,f.QGY)(d)?(0,se.D)(Promise.resolve(d)):(0,q.of)(d)}const ln={exact:function Cr(d,c,u){if(!Wt(d.segments,c.segments)||!Er(d.segments,c.segments,u)||d.numberOfChildren!==c.numberOfChildren)return!1;for(const m in c.children)if(!d.children[m]||!Cr(d.children[m],c.children[m],u))return!1;return!0},subset:Rr},Pn={exact:function Ur(d,c){return Fe(d,c)},subset:function xr(d,c){return Object.keys(c).length<=Object.keys(d).length&&Object.keys(c).every(u=>Nt(d[u],c[u]))},ignored:()=>!0};function Or(d,c,u){return ln[u.paths](d.root,c.root,u.matrixParams)&&Pn[u.queryParams](d.queryParams,c.queryParams)&&!("exact"===u.fragment&&d.fragment!==c.fragment)}function Rr(d,c,u){return ss(d,c,c.segments,u)}function ss(d,c,u,m){if(d.segments.length>u.length){const C=d.segments.slice(0,u.length);return!(!Wt(C,u)||c.hasChildren()||!Er(C,u,m))}if(d.segments.length===u.length){if(!Wt(d.segments,u)||!Er(d.segments,u,m))return!1;for(const C in c.children)if(!d.children[C]||!Rr(d.children[C],c.children[C],m))return!1;return!0}{const C=u.slice(0,d.segments.length),S=u.slice(d.segments.length);return!!(Wt(d.segments,C)&&Er(d.segments,C,m)&&d.children[ut])&&ss(d.children[ut],c,S,m)}}function Er(d,c,u){return c.every((m,C)=>Pn[u](d[C].parameters,m.parameters))}class It{constructor(c,u,m){this.root=c,this.queryParams=u,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=z(this.queryParams)),this._queryParamMap}toString(){return B.serialize(this)}}class at{constructor(c,u){this.segments=c,this.children=u,this.parent=null,ct(u,(m,C)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return O(this)}}class Yt{constructor(c,u){this.path=c,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=z(this.parameters)),this._parameterMap}toString(){return or(this)}}function Wt(d,c){return d.length===c.length&&d.every((u,m)=>u.path===c[m].path)}class mt{}class Y{parse(c){const u=new Ht(c);return new It(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(c){const u=`/${W(c.root,!0)}`,m=function hr(d){const c=Object.keys(d).map(u=>{const m=d[u];return Array.isArray(m)?m.map(C=>`${Ve(u)}=${Ve(C)}`).join("&"):`${Ve(u)}=${Ve(m)}`}).filter(u=>!!u);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${u}${m}${"string"==typeof c.fragment?`#${function wt(d){return encodeURI(d)}(c.fragment)}`:""}`}}const B=new Y;function O(d){return d.segments.map(c=>or(c)).join("/")}function W(d,c){if(!d.hasChildren())return O(d);if(c){const u=d.children[ut]?W(d.children[ut],!1):"",m=[];return ct(d.children,(C,S)=>{S!==ut&&m.push(`${S}:${W(C,!1)}`)}),m.length>0?`${u}(${m.join("//")})`:u}{const u=function Ge(d,c){let u=[];return ct(d.children,(m,C)=>{C===ut&&(u=u.concat(c(m,C)))}),ct(d.children,(m,C)=>{C!==ut&&(u=u.concat(c(m,C)))}),u}(d,(m,C)=>C===ut?[W(d.children[ut],!1)]:[`${C}:${W(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ut]?`${O(d)}/${u[0]}`:`${O(d)}/(${u.join("//")})`}}function Ae(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ve(d){return Ae(d).replace(/%3B/gi,";")}function Ft(d){return Ae(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ze(d){return decodeURIComponent(d)}function ir(d){return Ze(d.replace(/\+/g,"%20"))}function or(d){return`${Ft(d.path)}${function Nr(d){return Object.keys(d).map(c=>`;${Ft(c)}=${Ft(d[c])}`).join("")}(d.parameters)}`}const sn=/^[^\/()?;=#]+/;function wr(d){const c=d.match(sn);return c?c[0]:""}const pr=/^[^=?&#]+/,gr=/^[^&#]+/;class Ht{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new at([],{}):new at([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(c.length>0||Object.keys(u).length>0)&&(m[ut]=new at(c,u)),m}parseSegment(){const c=wr(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new f.vHH(4009,!1);return this.capture(c),new Yt(Ze(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const u=wr(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const C=wr(this.remaining);C&&(m=C,this.capture(m))}c[Ze(u)]=Ze(m)}parseQueryParam(c){const u=function tn(d){const c=d.match(pr);return c?c[0]:""}(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const x=function Ws(d){const c=d.match(gr);return c?c[0]:""}(this.remaining);x&&(m=x,this.capture(m))}const C=ir(u),S=ir(m);if(c.hasOwnProperty(C)){let x=c[C];Array.isArray(x)||(x=[x],c[C]=x),x.push(S)}else c[C]=S}parseParens(c){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=wr(this.remaining),C=this.remaining[m.length];if("/"!==C&&")"!==C&&";"!==C)throw new f.vHH(4010,!1);let S;m.indexOf(":")>-1?(S=m.slice(0,m.indexOf(":")),this.capture(S),this.capture(":")):c&&(S=ut);const x=this.parseChildren();u[S]=1===Object.keys(x).length?x[ut]:new at([],x),this.consumeOptional("//")}return u}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new f.vHH(4011,!1)}}class Ks{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const u=this.pathFromRoot(c);return u.length>1?u[u.length-2]:null}children(c){const u=Vr(c,this._root);return u?u.children.map(m=>m.value):[]}firstChild(c){const u=Vr(c,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(c){const u=mr(c,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==c)}pathFromRoot(c){return mr(c,this._root).map(u=>u.value)}}function Vr(d,c){if(d===c.value)return c;for(const u of c.children){const m=Vr(d,u);if(m)return m}return null}function mr(d,c){if(d===c.value)return[c];for(const u of c.children){const m=mr(d,u);if(m.length)return m.unshift(c),m}return[]}class Ln{constructor(c,u){this.value=c,this.children=u}toString(){return`TreeNode(${this.value})`}}function On(d){const c={};return d&&d.children.forEach(u=>c[u.value.outlet]=u),c}class br extends Ks{constructor(c,u){super(c),this.snapshot=u,Kn(this,c)}toString(){return this.snapshot.toString()}}function ar(d,c){const u=function on(d,c){const x=new Wn([],{},{},"",{},ut,c,null,d.root,-1,{});return new Bn("",new Ln(x,[]))}(d,c),m=new je.X([new Yt("",{})]),C=new je.X({}),S=new je.X({}),x=new je.X({}),H=new je.X(""),Ce=new Tr(m,C,x,H,S,ut,c,u.root);return Ce.snapshot=u.root,new br(new Ln(Ce,[]),u)}class Tr{constructor(c,u,m,C,S,x,H,Ce){this.url=c,this.params=u,this.queryParams=m,this.fragment=C,this.data=S,this.outlet=x,this.component=H,this._futureSnapshot=Ce}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,N.U)(c=>z(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,N.U)(c=>z(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function an(d,c="emptyOnly"){const u=d.pathFromRoot;let m=0;if("always"!==c)for(m=u.length-1;m>=1;){const C=u[m],S=u[m-1];if(C.routeConfig&&""===C.routeConfig.path)m--;else{if(S.component)break;m--}}return function Dn(d){return d.reduce((c,u)=>({params:{...c.params,...u.params},data:{...c.data,...u.data},resolve:{...u.data,...c.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(m))}class Wn{constructor(c,u,m,C,S,x,H,Ce,We,Tt,Be,Rt){this.url=c,this.params=u,this.queryParams=m,this.fragment=C,this.data=S,this.outlet=x,this.component=H,this.routeConfig=Ce,this._urlSegment=We,this._lastPathIndex=Tt,this._correctedLastPathIndex=Rt??Tt,this._resolve=Be}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=z(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=z(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bn extends Ks{constructor(c,u){super(u),this.url=c,Kn(this,u)}toString(){return mn(this._root)}}function Kn(d,c){c.value._routerState=d,c.children.forEach(u=>Kn(d,u))}function mn(d){const c=d.children.length>0?` { ${d.children.map(mn).join(", ")} } `:"";return`${d.value}${c}`}function jn(d){if(d.snapshot){const c=d.snapshot,u=d._futureSnapshot;d.snapshot=u,Fe(c.queryParams,u.queryParams)||d.queryParams.next(u.queryParams),c.fragment!==u.fragment&&d.fragment.next(u.fragment),Fe(c.params,u.params)||d.params.next(u.params),function At(d,c){if(d.length!==c.length)return!1;for(let u=0;u<d.length;++u)if(!Fe(d[u],c[u]))return!1;return!0}(c.url,u.url)||d.url.next(u.url),Fe(c.data,u.data)||d.data.next(u.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Ts(d,c){const u=Fe(d.params,c.params)&&function hn(d,c){return Wt(d,c)&&d.every((u,m)=>Fe(u.parameters,c[m].parameters))}(d.url,c.url);return u&&!(!d.parent!=!c.parent)&&(!d.parent||Ts(d.parent,c.parent))}function zr(d,c,u){if(u&&d.shouldReuseRoute(c.value,u.value.snapshot)){const m=u.value;m._futureSnapshot=c.value;const C=function Gr(d,c,u){return c.children.map(m=>{for(const C of u.children)if(d.shouldReuseRoute(m.value,C.value.snapshot))return zr(d,m,C);return zr(d,m)})}(d,c,u);return new Ln(m,C)}{if(d.shouldAttach(c.value)){const S=d.retrieve(c.value);if(null!==S){const x=S.route;return x.value._futureSnapshot=c.value,x.children=c.children.map(H=>zr(d,H)),x}}const m=function Ys(d){return new Tr(new je.X(d.url),new je.X(d.params),new je.X(d.queryParams),new je.X(d.fragment),new je.X(d.data),d.outlet,d.component,d)}(c.value),C=c.children.map(S=>zr(d,S));return new Ln(m,C)}}function Yn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Wr(d){return"object"==typeof d&&null!=d&&d.outlets}function Ss(d,c,u,m,C){let S={};if(m&&ct(m,(H,Ce)=>{S[Ce]=Array.isArray(H)?H.map(We=>`${We}`):`${H}`}),d===c)return new It(u,S,C);const x=Qn(d,c,u);return new It(x,S,C)}function Qn(d,c,u){const m={};return ct(d.children,(C,S)=>{m[S]=C===c?u:Qn(C,c,u)}),new at(d.segments,m)}class yr{constructor(c,u,m){if(this.isAbsolute=c,this.numberOfDoubleDots=u,this.commands=m,c&&m.length>0&&Yn(m[0]))throw new f.vHH(4003,false);const C=m.find(Wr);if(C&&C!==fn(m))throw new f.vHH(4004,false)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qs{constructor(c,u,m){this.segmentGroup=c,this.processChildren=u,this.index=m}}function Sr(d,c,u){if(d||(d=new at([],{})),0===d.segments.length&&d.hasChildren())return Fr(d,c,u);const m=function Zs(d,c,u){let m=0,C=c;const S={match:!1,pathIndex:0,commandIndex:0};for(;C<d.segments.length;){if(m>=u.length)return S;const x=d.segments[C],H=u[m];if(Wr(H))break;const Ce=`${H}`,We=m<u.length-1?u[m+1]:null;if(C>0&&void 0===Ce)break;if(Ce&&We&&"object"==typeof We&&void 0===We.outlets){if(!Cn(Ce,We,x))return S;m+=2}else{if(!Cn(Ce,{},x))return S;m++}C++}return{match:!0,pathIndex:C,commandIndex:m}}(d,c,u),C=u.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const S=new at(d.segments.slice(0,m.pathIndex),{});return S.children[ut]=new at(d.segments.slice(m.pathIndex),d.children),Fr(S,0,C)}return m.match&&0===C.length?new at(d.segments,{}):m.match&&!d.hasChildren()?Js(d,c,u):m.match?Fr(d,0,C):Js(d,c,u)}function Fr(d,c,u){if(0===u.length)return new at(d.segments,{});{const m=function Ms(d){return Wr(d[0])?d[0].outlets:{[ut]:d}}(u),C={};return ct(m,(S,x)=>{"string"==typeof S&&(S=[S]),null!==S&&(C[x]=Sr(d.children[x],c,S))}),ct(d.children,(S,x)=>{void 0===m[x]&&(C[x]=S)}),new at(d.segments,C)}}function Js(d,c,u){const m=d.segments.slice(0,c);let C=0;for(;C<u.length;){const S=u[C];if(Wr(S)){const Ce=Ci(S.outlets);return new at(m,Ce)}if(0===C&&Yn(u[0])){m.push(new Yt(d.segments[c].path,vr(u[0]))),C++;continue}const x=Wr(S)?S.outlets[ut]:`${S}`,H=C<u.length-1?u[C+1]:null;x&&H&&Yn(H)?(m.push(new Yt(x,vr(H))),C+=2):(m.push(new Yt(x,{})),C++)}return new at(m,{})}function Ci(d){const c={};return ct(d,(u,m)=>{"string"==typeof u&&(u=[u]),null!==u&&(c[m]=Js(new at([],{}),0,u))}),c}function vr(d){const c={};return ct(d,(u,m)=>c[m]=`${u}`),c}function Cn(d,c,u){return d==u.path&&Fe(c,u.parameters)}class Kr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new qn,this.attachRef=null}}class qn{constructor(){this.contexts=new Map}onChildOutletCreated(c,u){const m=this.getOrCreateContext(c);m.outlet=u,this.contexts.set(c,m)}onChildOutletDestroyed(c){const u=this.getContext(c);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let u=this.getContext(c);return u||(u=new Kr,this.contexts.set(c,u)),u}getContext(c){return this.contexts.get(c)||null}}const Mr=!1;let Is=(()=>{class d{constructor(u,m,C,S,x){this.parentContexts=u,this.location=m,this.changeDetector=S,this.environmentInjector=x,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=C||ut,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new f.vHH(4012,Mr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new f.vHH(4012,Mr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new f.vHH(4012,Mr);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,m){this.activated=u,this._activatedRoute=m,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,m){if(this.isActivated)throw new f.vHH(4013,Mr);this._activatedRoute=u;const C=this.location,x=u._futureSnapshot.component,H=this.parentContexts.getOrCreateContext(this.name).children,Ce=new os(u,H,C.injector);if(m&&function as(d){return!!d.resolveComponentFactory}(m)){const We=m.resolveComponentFactory(x);this.activated=C.createComponent(We,C.length,Ce)}else this.activated=C.createComponent(x,{index:C.length,injector:Ce,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(qn),f.Y36(f.s_b),f.$8M("name"),f.Y36(f.sBO),f.Y36(f.lqb))},d.\u0275dir=f.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),d})();class os{constructor(c,u,m){this.route=c,this.childContexts=u,this.parent=m}get(c,u){return c===Tr?this.route:c===qn?this.childContexts:this.parent.get(c,u)}}let Ei=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=f.Xpm({type:d,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,m){1&u&&f._UZ(0,"router-outlet")},dependencies:[Is],encapsulation:2}),d})();function Xs(d,c){return d.providers&&!d._injector&&(d._injector=(0,f.MMx)(d.providers,c,`Route: ${d.path}`)),d._injector??c}function As(d){const c=d.children&&d.children.map(As),u=c?{...d,children:c}:{...d};return!u.component&&!u.loadComponent&&(c||u.loadChildren)&&u.outlet&&u.outlet!==ut&&(u.component=Ei),u}function Zn(d){return d.outlet||ut}function Ir(d,c){const u=d.filter(m=>Zn(m)===c);return u.push(...d.filter(m=>Zn(m)!==c)),u}function En(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let c=d.parent;c;c=c.parent){const u=c.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class Ps{constructor(c,u,m,C){this.routeReuseStrategy=c,this.futureState=u,this.currState=m,this.forwardEvent=C}activate(c){const u=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,m,c),jn(this.futureState.root),this.activateChildRoutes(u,m,c)}deactivateChildRoutes(c,u,m){const C=On(u);c.children.forEach(S=>{const x=S.value.outlet;this.deactivateRoutes(S,C[x],m),delete C[x]}),ct(C,(S,x)=>{this.deactivateRouteAndItsChildren(S,m)})}deactivateRoutes(c,u,m){const C=c.value,S=u?u.value:null;if(C===S)if(C.component){const x=m.getContext(C.outlet);x&&this.deactivateChildRoutes(c,u,x.children)}else this.deactivateChildRoutes(c,u,m);else S&&this.deactivateRouteAndItsChildren(u,m)}deactivateRouteAndItsChildren(c,u){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,u):this.deactivateRouteAndOutlet(c,u)}detachAndStoreRouteSubtree(c,u){const m=u.getContext(c.value.outlet),C=m&&c.value.component?m.children:u,S=On(c);for(const x of Object.keys(S))this.deactivateRouteAndItsChildren(S[x],C);if(m&&m.outlet){const x=m.outlet.detach(),H=m.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:x,route:c,contexts:H})}}deactivateRouteAndOutlet(c,u){const m=u.getContext(c.value.outlet),C=m&&c.value.component?m.children:u,S=On(c);for(const x of Object.keys(S))this.deactivateRouteAndItsChildren(S[x],C);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(c,u,m){const C=On(u);c.children.forEach(S=>{this.activateRoutes(S,C[S.value.outlet],m),this.forwardEvent(new dn(S.value.snapshot))}),c.children.length&&this.forwardEvent(new sr(c.value.snapshot))}activateRoutes(c,u,m){const C=c.value,S=u?u.value:null;if(jn(C),C===S)if(C.component){const x=m.getOrCreateContext(C.outlet);this.activateChildRoutes(c,u,x.children)}else this.activateChildRoutes(c,u,m);else if(C.component){const x=m.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const H=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),x.children.onOutletReAttached(H.contexts),x.attachRef=H.componentRef,x.route=H.route.value,x.outlet&&x.outlet.attach(H.componentRef,H.route.value),jn(H.route.value),this.activateChildRoutes(c,null,x.children)}else{const H=En(C.snapshot),Ce=H?.get(f._Vd)??null;x.attachRef=null,x.route=C,x.resolver=Ce,x.injector=H,x.outlet&&x.outlet.activateWith(C,x.injector),this.activateChildRoutes(c,null,x.children)}}else this.activateChildRoutes(c,null,m)}}function _r(d){return"function"==typeof d}function v(d){return d instanceof It}const De=Symbol("INITIAL_VALUE");function fe(){return(0,G.w)(d=>(0,Ee.a)(d.map(c=>c.pipe((0,pe.q)(1),(0,de.O)(De)))).pipe((0,ie.R)((c,u)=>{let m=!1;return u.reduce((C,S,x)=>C!==De?C:(S===De&&(m=!0),m||!1!==S&&x!==u.length-1&&!v(S)?C:S),c)},De),(0,Ue.h)(c=>c!==De),(0,N.U)(c=>v(c)?c:!0===c),(0,pe.q)(1)))}const st={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kt(d,c,u){if(""===c.path)return"full"===c.pathMatch&&(d.hasChildren()||u.length>0)?{...st}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(c.matcher||Ot)(u,d,c);if(!C)return{...st};const S={};ct(C.posParams,(H,Ce)=>{S[Ce]=H.path});const x=C.consumed.length>0?{...S,...C.consumed[C.consumed.length-1].parameters}:S;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:x,positionalParamSegments:C.posParams??{}}}function xt(d,c,u,m,C="corrected"){if(u.length>0&&function un(d,c,u){return u.some(m=>qt(d,c,m)&&Zn(m)!==ut)}(d,u,m)){const x=new at(c,function Mt(d,c,u,m){const C={};C[ut]=m,m._sourceSegment=d,m._segmentIndexShift=c.length;for(const S of u)if(""===S.path&&Zn(S)!==ut){const x=new at([],{});x._sourceSegment=d,x._segmentIndexShift=c.length,C[Zn(S)]=x}return C}(d,c,m,new at(u,d.children)));return x._sourceSegment=d,x._segmentIndexShift=c.length,{segmentGroup:x,slicedSegments:[]}}if(0===u.length&&function Lt(d,c,u){return u.some(m=>qt(d,c,m))}(d,u,m)){const x=new at(d.segments,function Ut(d,c,u,m,C,S){const x={};for(const H of m)if(qt(d,u,H)&&!C[Zn(H)]){const Ce=new at([],{});Ce._sourceSegment=d,Ce._segmentIndexShift="legacy"===S?d.segments.length:c.length,x[Zn(H)]=Ce}return{...C,...x}}(d,c,u,m,d.children,C));return x._sourceSegment=d,x._segmentIndexShift=c.length,{segmentGroup:x,slicedSegments:u}}const S=new at(d.segments,d.children);return S._sourceSegment=d,S._segmentIndexShift=c.length,{segmentGroup:S,slicedSegments:u}}function qt(d,c,u){return(!(d.hasChildren()||c.length>0)||"full"!==u.pathMatch)&&""===u.path}function Me(d,c,u,m){return!!(Zn(d)===m||m!==ut&&qt(c,u,d))&&("**"===d.path||kt(c,d,u).matched)}function _t(d,c,u){return 0===c.length&&!d.children[u]}const lr=!1;class Jn{constructor(c){this.segmentGroup=c||null}}class Zt{constructor(c){this.urlTree=c}}function Xn(d){return(0,_e._)(new Jn(d))}function kr(d){return(0,_e._)(new Zt(d))}class qi{constructor(c,u,m,C,S){this.injector=c,this.configLoader=u,this.urlSerializer=m,this.urlTree=C,this.config=S,this.allowRedirects=!0}apply(){const c=xt(this.urlTree.root,[],[],this.config).segmentGroup,u=new at(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,u,ut).pipe((0,N.U)(S=>this.createUrlTree(Ji(S),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Ie.K)(S=>{if(S instanceof Zt)return this.allowRedirects=!1,this.match(S.urlTree);throw S instanceof Jn?this.noMatchError(S):S}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,ut).pipe((0,N.U)(C=>this.createUrlTree(Ji(C),c.queryParams,c.fragment))).pipe((0,Ie.K)(C=>{throw C instanceof Jn?this.noMatchError(C):C}))}noMatchError(c){return new f.vHH(4002,lr)}createUrlTree(c,u,m){const C=c.segments.length>0?new at([],{[ut]:c}):c;return new It(C,u,m)}expandSegmentGroup(c,u,m,C){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(c,u,m).pipe((0,N.U)(S=>new at([],S))):this.expandSegment(c,m,u,m.segments,C,!0)}expandChildren(c,u,m){const C=[];for(const S of Object.keys(m.children))"primary"===S?C.unshift(S):C.push(S);return(0,se.D)(C).pipe((0,Je.b)(S=>{const x=m.children[S],H=Ir(u,S);return this.expandSegmentGroup(c,H,x,S).pipe((0,N.U)(Ce=>({segment:Ce,outlet:S})))}),(0,ie.R)((S,x)=>(S[x.outlet]=x.segment,S),{}),function Q(d,c){const u=arguments.length>=2;return m=>m.pipe(d?(0,Ue.h)((C,S)=>d(C,S,m)):Z.y,te(1),u?ve(c):j(()=>new ce))}())}expandSegment(c,u,m,C,S,x){return(0,se.D)(m).pipe((0,Je.b)(H=>this.expandSegmentAgainstRoute(c,u,m,H,C,S,x).pipe((0,Ie.K)(We=>{if(We instanceof Jn)return(0,q.of)(null);throw We}))),R(H=>!!H),(0,Ie.K)((H,Ce)=>{if(H instanceof ce||"EmptyError"===H.name)return _t(u,C,S)?(0,q.of)(new at([],{})):Xn(u);throw H}))}expandSegmentAgainstRoute(c,u,m,C,S,x,H){return Me(C,u,S,x)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(c,u,C,S,x):H&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,u,m,C,S,x):Xn(u):Xn(u)}expandSegmentAgainstRouteUsingRedirect(c,u,m,C,S,x){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,m,C,x):this.expandRegularSegmentAgainstRouteUsingRedirect(c,u,m,C,S,x)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,u,m,C){const S=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?kr(S):this.lineralizeSegments(m,S).pipe((0,ft.z)(x=>{const H=new at(x,{});return this.expandSegment(c,H,u,x,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,u,m,C,S,x){const{matched:H,consumedSegments:Ce,remainingSegments:We,positionalParamSegments:Tt}=kt(u,C,S);if(!H)return Xn(u);const Be=this.applyRedirectCommands(Ce,C.redirectTo,Tt);return C.redirectTo.startsWith("/")?kr(Be):this.lineralizeSegments(C,Be).pipe((0,ft.z)(Rt=>this.expandSegment(c,u,m,Rt.concat(We),x,!1)))}matchSegmentAgainstRoute(c,u,m,C,S){if("**"===m.path)return c=Xs(m,c),m.loadChildren?(m._loadedRoutes?(0,q.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(c,m)).pipe((0,N.U)(Be=>(m._loadedRoutes=Be.routes,m._loadedInjector=Be.injector,new at(C,{})))):(0,q.of)(new at(C,{}));const{matched:x,consumedSegments:H,remainingSegments:Ce}=kt(u,m,C);return x?(c=Xs(m,c),this.getChildConfig(c,m,C).pipe((0,ft.z)(Tt=>{const Be=Tt.injector??c,Rt=Tt.routes,{segmentGroup:jt,slicedSegments:qe}=xt(u,H,Ce,Rt),it=new at(jt.segments,jt.children);if(0===qe.length&&it.hasChildren())return this.expandChildren(Be,Rt,it).pipe((0,N.U)(zn=>new at(H,zn)));if(0===Rt.length&&0===qe.length)return(0,q.of)(new at(H,{}));const et=Zn(m)===S;return this.expandSegment(Be,it,Rt,qe,et?ut:S,!0).pipe((0,N.U)(Kt=>new at(H.concat(Kt.segments),Kt.children)))}))):Xn(u)}getChildConfig(c,u,m){return u.children?(0,q.of)({routes:u.children,injector:c}):u.loadChildren?void 0!==u._loadedRoutes?(0,q.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):this.runCanLoadGuards(c,u,m).pipe((0,ft.z)(C=>C?this.configLoader.loadChildren(c,u).pipe((0,gt.b)(S=>{u._loadedRoutes=S.routes,u._loadedInjector=S.injector})):function wi(d){return(0,_e._)(ne(lr))}())):(0,q.of)({routes:[],injector:c})}runCanLoadGuards(c,u,m){const C=u.canLoad;if(!C||0===C.length)return(0,q.of)(!0);const S=C.map(x=>{const H=c.get(x);return rt(function M(d){return d&&_r(d.canLoad)}(H)?H.canLoad(u,m):H(u,m))});return(0,q.of)(S).pipe(fe(),(0,gt.b)(x=>{if(!v(x))return;const H=ne(K+this.urlSerializer.serialize(x));throw H.url=x,H}),(0,N.U)(x=>!0===x))}lineralizeSegments(c,u){let m=[],C=u.root;for(;;){if(m=m.concat(C.segments),0===C.numberOfChildren)return(0,q.of)(m);if(C.numberOfChildren>1||!C.children[ut])return(0,_e._)(new f.vHH(4e3,lr));C=C.children[ut]}}applyRedirectCommands(c,u,m){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),c,m)}applyRedirectCreatreUrlTree(c,u,m,C){const S=this.createSegmentGroup(c,u.root,m,C);return new It(S,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(c,u){const m={};return ct(c,(C,S)=>{if("string"==typeof C&&C.startsWith(":")){const H=C.substring(1);m[S]=u[H]}else m[S]=C}),m}createSegmentGroup(c,u,m,C){const S=this.createSegments(c,u.segments,m,C);let x={};return ct(u.children,(H,Ce)=>{x[Ce]=this.createSegmentGroup(c,H,m,C)}),new at(S,x)}createSegments(c,u,m,C){return u.map(S=>S.path.startsWith(":")?this.findPosParam(c,S,C):this.findOrReturn(S,m))}findPosParam(c,u,m){const C=m[u.path.substring(1)];if(!C)throw new f.vHH(4001,lr);return C}findOrReturn(c,u){let m=0;for(const C of u){if(C.path===c.path)return u.splice(m),C;m++}return c}}function Ji(d){const c={};for(const m of Object.keys(d.children)){const S=Ji(d.children[m]);(S.segments.length>0||S.hasChildren())&&(c[m]=S)}return function Zi(d){if(1===d.numberOfChildren&&d.children[ut]){const c=d.children[ut];return new at(d.segments.concat(c.segments),c.children)}return d}(new at(d.segments,c))}class wn{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class er{constructor(c,u){this.component=c,this.route=u}}function Xi(d,c,u){const m=d._root;return Os(m,c?c._root:null,u,[m.value])}function Un(d,c,u){return(En(c)??u).get(d)}function Os(d,c,u,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=On(c);return d.children.forEach(x=>{(function eo(d,c,u,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=d.value,x=c?c.value:null,H=u?u.getContext(d.value.outlet):null;if(x&&S.routeConfig===x.routeConfig){const Ce=function to(d,c,u){if("function"==typeof u)return u(d,c);switch(u){case"pathParamsChange":return!Wt(d.url,c.url);case"pathParamsOrQueryParamsChange":return!Wt(d.url,c.url)||!Fe(d.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ts(d,c)||!Fe(d.queryParams,c.queryParams);default:return!Ts(d,c)}}(x,S,S.routeConfig.runGuardsAndResolvers);Ce?C.canActivateChecks.push(new wn(m)):(S.data=x.data,S._resolvedData=x._resolvedData),Os(d,c,S.component?H?H.children:null:u,m,C),Ce&&H&&H.outlet&&H.outlet.isActivated&&C.canDeactivateChecks.push(new er(H.outlet.component,x))}else x&&xs(c,H,C),C.canActivateChecks.push(new wn(m)),Os(d,null,S.component?H?H.children:null:u,m,C)})(x,S[x.value.outlet],u,m.concat([x.value]),C),delete S[x.value.outlet]}),ct(S,(x,H)=>xs(x,u.getContext(H),C)),C}function xs(d,c,u){const m=On(d),C=d.value;ct(m,(S,x)=>{xs(S,C.component?c?c.children.getContext(x):null:c,u)}),u.canDeactivateChecks.push(new er(C.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,C))}class ds{}function Ns(d){return new $.y(c=>c.error(d))}class Vo{constructor(c,u,m,C,S,x){this.rootComponentType=c,this.config=u,this.urlTree=m,this.url=C,this.paramsInheritanceStrategy=S,this.relativeLinkResolution=x}recognize(){const c=xt(this.urlTree.root,[],[],this.config.filter(x=>void 0===x.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,c,ut);if(null===u)return null;const m=new Wn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new Ln(m,u),S=new Bn(this.url,C);return this.inheritParamsAndData(S._root),S}inheritParamsAndData(c){const u=c.value,m=an(u,this.paramsInheritanceStrategy);u.params=Object.freeze(m.params),u.data=Object.freeze(m.data),c.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(c,u,m){return 0===u.segments.length&&u.hasChildren()?this.processChildren(c,u):this.processSegment(c,u,u.segments,m)}processChildren(c,u){const m=[];for(const S of Object.keys(u.children)){const x=u.children[S],H=Ir(c,S),Ce=this.processSegmentGroup(H,x,S);if(null===Ce)return null;m.push(...Ce)}const C=Vt(m);return function Ai(d){d.sort((c,u)=>c.value.outlet===ut?-1:u.value.outlet===ut?1:c.value.outlet.localeCompare(u.value.outlet))}(C),C}processSegment(c,u,m,C){for(const S of c){const x=this.processSegmentAgainstRoute(S,u,m,C);if(null!==x)return x}return _t(u,m,C)?[]:null}processSegmentAgainstRoute(c,u,m,C){if(c.redirectTo||!Me(c,u,m,C))return null;let S,x=[],H=[];if("**"===c.path){const jt=m.length>0?fn(m).parameters:{},qe=ii(u)+m.length;S=new Wn(m,jt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$n(c),Zn(c),c.component??c._loadedComponent??null,c,Pi(u),qe,Qr(c),qe)}else{const jt=kt(u,c,m);if(!jt.matched)return null;x=jt.consumedSegments,H=jt.remainingSegments;const qe=ii(u)+x.length;S=new Wn(x,jt.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$n(c),Zn(c),c.component??c._loadedComponent??null,c,Pi(u),qe,Qr(c),qe)}const Ce=function Sn(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:We,slicedSegments:Tt}=xt(u,x,H,Ce.filter(jt=>void 0===jt.redirectTo),this.relativeLinkResolution);if(0===Tt.length&&We.hasChildren()){const jt=this.processChildren(Ce,We);return null===jt?null:[new Ln(S,jt)]}if(0===Ce.length&&0===Tt.length)return[new Ln(S,[])];const Be=Zn(c)===C,Rt=this.processSegment(Ce,We,Tt,Be?ut:C);return null===Rt?null:[new Ln(S,Rt)]}}function Lr(d){const c=d.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function Vt(d){const c=[],u=new Set;for(const m of d){if(!Lr(m)){c.push(m);continue}const C=c.find(S=>m.value.routeConfig===S.value.routeConfig);void 0!==C?(C.children.push(...m.children),u.add(C)):c.push(m)}for(const m of u){const C=Vt(m.children);c.push(new Ln(m.value,C))}return c.filter(m=>!u.has(m))}function Pi(d){let c=d;for(;c._sourceSegment;)c=c._sourceSegment;return c}function ii(d){let c=d,u=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,u+=c._segmentIndexShift??0;return u-1}function $n(d){return d.data||{}}function Qr(d){return d.resolve||{}}const fs=Symbol("RouteTitle");function hs(d){return"string"==typeof d.title||null===d.title}function ks(d){return(0,G.w)(c=>{const u=d(c);return u?(0,se.D)(u).pipe((0,N.U)(()=>c)):(0,q.of)(c)})}class Ni extends class ps{shouldDetach(c){return!1}store(c,u){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,u){return c.routeConfig===u.routeConfig}}{}const Fi=new f.OlP("ROUTES");let so=(()=>{class d{constructor(u,m){this.injector=u,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,q.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const m=rt(u.loadComponent()).pipe((0,gt.b)(S=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=S}),(0,$t.x)(()=>{this.componentLoaders.delete(u)})),C=new re(m,()=>new Xe.x).pipe(he());return this.componentLoaders.set(u,C),C}loadChildren(u,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,q.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const S=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,N.U)(H=>{this.onLoadEndListener&&this.onLoadEndListener(m);let Ce,We,Tt=!1;Array.isArray(H)?We=H:(Ce=H.create(u).injector,We=Gt(Ce.get(Fi,[],f.XFs.Self|f.XFs.Optional)));return{routes:We.map(As),injector:Ce}}),(0,$t.x)(()=>{this.childrenLoaders.delete(m)})),x=new re(S,()=>new Xe.x).pipe(he());return this.childrenLoaders.set(m,x),x}loadModuleFactoryOrRoutes(u){return rt(u()).pipe((0,ft.z)(m=>m instanceof f.YKP||Array.isArray(m)?(0,q.of)(m):(0,se.D)(this.compiler.compileModuleAsync(m))))}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(f.zs3),f.LFG(f.Sil))},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();class qr{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,u){return c}}function io(d){throw d}function Ls(d,c,u){return c.parse("/")}const oo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ao={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jt=(()=>{class d{constructor(u,m,C,S,x,H,Ce){this.rootComponentType=u,this.urlSerializer=m,this.rootContexts=C,this.location=S,this.config=Ce,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Xe.x,this.errorHandler=io,this.malformedUriErrorHandler=Ls,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,q.of)(void 0),this.urlHandlingStrategy=new qr,this.routeReuseStrategy=new Ni,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=x.get(so),this.configLoader.onLoadEndListener=Rt=>this.triggerEvent(new Nn(Rt)),this.configLoader.onLoadStartListener=Rt=>this.triggerEvent(new Rn(Rt)),this.ngModule=x.get(f.h0i),this.console=x.get(f.c2e);const Be=x.get(f.R0b);this.isNgZoneEnabled=Be instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(Ce),this.currentUrlTree=function kn(){return new It(new at([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ar(this.currentUrlTree,this.rootComponentType),this.transitions=new je.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const m=this.events;return u.pipe((0,Ue.h)(C=>0!==C.id),(0,N.U)(C=>({...C,extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,G.w)(C=>{let S=!1,x=!1;return(0,q.of)(C).pipe((0,gt.b)(H=>{this.currentNavigation={id:H.id,initialUrl:H.rawUrl,extractedUrl:H.extractedUrl,trigger:H.source,extras:H.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,G.w)(H=>{const Ce=this.browserUrlTree.toString(),We=!this.navigated||H.extractedUrl.toString()!==Ce||Ce!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||We)&&this.urlHandlingStrategy.shouldProcessUrl(H.rawUrl))return Zr(H.source)&&(this.browserUrlTree=H.extractedUrl),(0,q.of)(H).pipe((0,G.w)(Be=>{const Rt=this.transitions.getValue();return m.next(new X(Be.id,this.serializeUrl(Be.extractedUrl),Be.source,Be.restoredState)),Rt!==this.transitions.getValue()?xe.E:Promise.resolve(Be)}),function si(d,c,u,m){return(0,G.w)(C=>function ri(d,c,u,m,C){return new qi(d,c,u,m,C).apply()}(d,c,u,C.extractedUrl,m).pipe((0,N.U)(S=>({...C,urlAfterRedirects:S}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,gt.b)(Be=>{this.currentNavigation={...this.currentNavigation,finalUrl:Be.urlAfterRedirects}}),function oi(d,c,u,m,C){return(0,ft.z)(S=>function Ii(d,c,u,m,C="emptyOnly",S="legacy"){try{const x=new Vo(d,c,u,m,C,S).recognize();return null===x?Ns(new ds):(0,q.of)(x)}catch(x){return Ns(x)}}(d,c,S.urlAfterRedirects,u(S.urlAfterRedirects),m,C).pipe((0,N.U)(x=>({...S,targetSnapshot:x}))))}(this.rootComponentType,this.config,Be=>this.serializeUrl(Be),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,gt.b)(Be=>{if("eager"===this.urlUpdateStrategy){if(!Be.extras.skipLocationChange){const jt=this.urlHandlingStrategy.merge(Be.urlAfterRedirects,Be.rawUrl);this.setBrowserUrl(jt,Be)}this.browserUrlTree=Be.urlAfterRedirects}const Rt=new cn(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);m.next(Rt)}));if(We&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Rt,extractedUrl:jt,source:qe,restoredState:it,extras:et}=H,Et=new X(Rt,this.serializeUrl(jt),qe,it);m.next(Et);const Kt=ar(jt,this.rootComponentType).snapshot;return(0,q.of)({...H,targetSnapshot:Kt,urlAfterRedirects:jt,extras:{...et,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=H.rawUrl,H.resolve(null),xe.E}),(0,gt.b)(H=>{const Ce=new An(H.id,this.serializeUrl(H.extractedUrl),this.serializeUrl(H.urlAfterRedirects),H.targetSnapshot);this.triggerEvent(Ce)}),(0,N.U)(H=>({...H,guards:Xi(H.targetSnapshot,H.currentSnapshot,this.rootContexts)})),function Rs(d,c){return(0,ft.z)(u=>{const{targetSnapshot:m,currentSnapshot:C,guards:{canActivateChecks:S,canDeactivateChecks:x}}=u;return 0===x.length&&0===S.length?(0,q.of)({...u,guardsResult:!0}):function bi(d,c,u,m){return(0,se.D)(d).pipe((0,ft.z)(C=>function Vn(d,c,u,m,C){const S=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,q.of)(!0);const x=S.map(H=>{const Ce=Un(H,c,C);return rt(function V(d){return d&&_r(d.canDeactivate)}(Ce)?Ce.canDeactivate(d,c,u,m):Ce(d,c,u,m)).pipe(R())});return(0,q.of)(x).pipe(fe())}(C.component,C.route,u,c,m)),R(C=>!0!==C,!0))}(x,m,C,d).pipe((0,ft.z)(H=>H&&function Tn(d){return"boolean"==typeof d}(H)?function no(d,c,u,m){return(0,se.D)(c).pipe((0,Je.b)(C=>(0,Ne.z)(function Uo(d,c){return null!==d&&c&&c(new ot(d)),(0,q.of)(!0)}(C.route.parent,m),function Ti(d,c){return null!==d&&c&&c(new nt(d)),(0,q.of)(!0)}(C.route,m),function Mi(d,c,u){const m=c[c.length-1],S=c.slice(0,c.length-1).reverse().map(x=>function us(d){const c=d.routeConfig?d.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:d,guards:c}:null}(x)).filter(x=>null!==x).map(x=>(0,ye.P)(()=>{const H=x.guards.map(Ce=>{const We=Un(Ce,x.node,u);return rt(function I(d){return d&&_r(d.canActivateChild)}(We)?We.canActivateChild(m,d):We(m,d)).pipe(R())});return(0,q.of)(H).pipe(fe())}));return(0,q.of)(S).pipe(fe())}(d,C.path,u),function Si(d,c,u){const m=c.routeConfig?c.routeConfig.canActivate:null;if(!m||0===m.length)return(0,q.of)(!0);const C=m.map(S=>(0,ye.P)(()=>{const x=Un(S,c,u);return rt(function _(d){return d&&_r(d.canActivate)}(x)?x.canActivate(c,d):x(c,d)).pipe(R())}));return(0,q.of)(C).pipe(fe())}(d,C.route,u))),R(C=>!0!==C,!0))}(m,S,d,c):(0,q.of)(H)),(0,N.U)(H=>({...u,guardsResult:H})))})}(this.ngModule.injector,H=>this.triggerEvent(H)),(0,gt.b)(H=>{if(v(H.guardsResult)){const We=ne(`Redirecting to "${this.serializeUrl(H.guardsResult)}"`);throw We.url=H.guardsResult,We}const Ce=new xn(H.id,this.serializeUrl(H.extractedUrl),this.serializeUrl(H.urlAfterRedirects),H.targetSnapshot,!!H.guardsResult);this.triggerEvent(Ce)}),(0,Ue.h)(H=>!!H.guardsResult||(this.restoreHistory(H),this.cancelNavigationTransition(H,""),!1)),ks(H=>{if(H.guards.canActivateChecks.length)return(0,q.of)(H).pipe((0,gt.b)(Ce=>{const We=new en(Ce.id,this.serializeUrl(Ce.extractedUrl),this.serializeUrl(Ce.urlAfterRedirects),Ce.targetSnapshot);this.triggerEvent(We)}),(0,G.w)(Ce=>{let We=!1;return(0,q.of)(Ce).pipe(function Fs(d,c){return(0,ft.z)(u=>{const{targetSnapshot:m,guards:{canActivateChecks:C}}=u;if(!C.length)return(0,q.of)(u);let S=0;return(0,se.D)(C).pipe((0,Je.b)(x=>function xi(d,c,u,m){const C=d.routeConfig,S=d._resolve;return void 0!==C?.title&&!hs(C)&&(S[fs]=C.title),function Ri(d,c,u,m){const C=function ai(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===C.length)return(0,q.of)({});const S={};return(0,se.D)(C).pipe((0,ft.z)(x=>function Br(d,c,u,m){const C=Un(d,c,m);return rt(C.resolve?C.resolve(c,u):C(c,u))}(d[x],c,u,m).pipe(R(),(0,gt.b)(H=>{S[x]=H}))),te(1),(0,ze.h)(S),(0,Ie.K)(x=>x instanceof ce?xe.E:(0,_e._)(x)))}(S,d,c,m).pipe((0,N.U)(x=>(d._resolvedData=x,d.data=an(d,u).resolve,C&&hs(C)&&(d.data[fs]=C.title),null)))}(x.route,m,d,c)),(0,gt.b)(()=>S++),te(1),(0,ft.z)(x=>S===C.length?(0,q.of)(u):xe.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,gt.b)({next:()=>We=!0,complete:()=>{We||(this.restoreHistory(Ce),this.cancelNavigationTransition(Ce,"At least one route resolver didn't emit any value."))}}))}),(0,gt.b)(Ce=>{const We=new _n(Ce.id,this.serializeUrl(Ce.extractedUrl),this.serializeUrl(Ce.urlAfterRedirects),Ce.targetSnapshot);this.triggerEvent(We)}))}),ks(H=>{const Ce=We=>{const Tt=[];We.routeConfig?.loadComponent&&!We.routeConfig._loadedComponent&&Tt.push(this.configLoader.loadComponent(We.routeConfig).pipe((0,gt.b)(Be=>{We.component=Be}),(0,N.U)(()=>{})));for(const Be of We.children)Tt.push(...Ce(Be));return Tt};return(0,Ee.a)(Ce(H.targetSnapshot.root)).pipe(ve(),(0,pe.q)(1))}),ks(()=>this.afterPreactivation()),(0,N.U)(H=>{const Ce=function $r(d,c,u){const m=zr(d,c._root,u?u._root:void 0);return new br(m,c)}(this.routeReuseStrategy,H.targetSnapshot,H.currentRouterState);return{...H,targetRouterState:Ce}}),(0,gt.b)(H=>{this.currentUrlTree=H.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(H.urlAfterRedirects,H.rawUrl),this.routerState=H.targetRouterState,"deferred"===this.urlUpdateStrategy&&(H.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,H),this.browserUrlTree=H.urlAfterRedirects)}),((d,c,u)=>(0,N.U)(m=>(new Ps(c,m.targetRouterState,m.currentRouterState,u).activate(d),m)))(this.rootContexts,this.routeReuseStrategy,H=>this.triggerEvent(H)),(0,gt.b)({next(){S=!0},complete(){S=!0}}),(0,$t.x)(()=>{S||x||this.cancelNavigationTransition(C,`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),(0,Ie.K)(H=>{if(x=!0,function Le(d){return d&&d[Te]}(H)){const Ce=v(H.url);Ce||(this.navigated=!0,this.restoreHistory(C,!0));const We=new He(C.id,this.serializeUrl(C.extractedUrl),H.message);if(m.next(We),Ce){const Tt=this.urlHandlingStrategy.merge(H.url,this.rawUrlTree),Be={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Zr(C.source)};this.scheduleNavigation(Tt,"imperative",null,Be,{resolve:C.resolve,reject:C.reject,promise:C.promise})}else C.resolve(!1)}else{this.restoreHistory(C,!0);const Ce=new vt(C.id,this.serializeUrl(C.extractedUrl),H);m.next(Ce);try{C.resolve(this.errorHandler(H))}catch(We){C.reject(We)}}return xe.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const m="popstate"===u.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{const C={replaceUrl:!0},S=u.state?.navigationId?u.state:null;if(S){const H={...S};delete H.navigationId,delete H.\u0275routerPageId,0!==Object.keys(H).length&&(C.state=H)}const x=this.parseUrl(u.url);this.scheduleNavigation(x,m,S,C)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(As),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,m={}){const{relativeTo:C,queryParams:S,fragment:x,queryParamsHandling:H,preserveFragment:Ce}=m,We=C||this.routerState.root,Tt=Ce?this.currentUrlTree.fragment:x;let Be=null;switch(H){case"merge":Be={...this.currentUrlTree.queryParams,...S};break;case"preserve":Be=this.currentUrlTree.queryParams;break;default:Be=S||null}return null!==Be&&(Be=this.removeEmptyProps(Be)),function Hn(d,c,u,m,C){if(0===u.length)return Ss(c.root,c.root,c.root,m,C);const S=function is(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new yr(!0,0,d);let c=0,u=!1;const m=d.reduce((C,S,x)=>{if("object"==typeof S&&null!=S){if(S.outlets){const H={};return ct(S.outlets,(Ce,We)=>{H[We]="string"==typeof Ce?Ce.split("/"):Ce}),[...C,{outlets:H}]}if(S.segmentPath)return[...C,S.segmentPath]}return"string"!=typeof S?[...C,S]:0===x?(S.split("/").forEach((H,Ce)=>{0==Ce&&"."===H||(0==Ce&&""===H?u=!0:".."===H?c++:""!=H&&C.push(H))}),C):[...C,S]},[]);return new yr(u,c,m)}(u);return S.toRoot()?Ss(c.root,c.root,new at([],{}),m,C):function x(Ce){const We=function qs(d,c,u,m){return d.isAbsolute?new Qs(c.root,!0,0):-1===m?new Qs(u,u===c.root,0):function Di(d,c,u){let m=d,C=c,S=u;for(;S>C;){if(S-=C,m=m.parent,!m)throw new f.vHH(4005,!1);C=m.segments.length}return new Qs(m,!1,C-S)}(u,m+(Yn(d.commands[0])?0:1),d.numberOfDoubleDots)}(S,c,d.snapshot?._urlSegment,Ce),Tt=We.processChildren?Fr(We.segmentGroup,We.index,S.commands):Sr(We.segmentGroup,We.index,S.commands);return Ss(c.root,We.segmentGroup,Tt,m,C)}(d.snapshot?._lastPathIndex)}(We,this.currentUrlTree,u,Be,Tt??null)}navigateByUrl(u,m={skipLocationChange:!1}){const C=v(u)?u:this.parseUrl(u),S=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(S,"imperative",null,m)}navigate(u,m={skipLocationChange:!1}){return function Wo(d){for(let c=0;c<d.length;c++){if(null==d[c])throw new f.vHH(4008,!1)}}(u),this.navigateByUrl(this.createUrlTree(u,m),m)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let m;try{m=this.urlSerializer.parse(u)}catch(C){m=this.malformedUriErrorHandler(C,this.urlSerializer,u)}return m}isActive(u,m){let C;if(C=!0===m?{...oo}:!1===m?{...ao}:m,v(u))return Or(this.currentUrlTree,u,C);const S=this.parseUrl(u);return Or(this.currentUrlTree,S,C)}removeEmptyProps(u){return Object.keys(u).reduce((m,C)=>{const S=u[C];return null!=S&&(m[C]=S),m},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new ge(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,m,C,S,x){if(this.disposed)return Promise.resolve(!1);let H,Ce,We;x?(H=x.resolve,Ce=x.reject,We=x.promise):We=new Promise((Rt,jt)=>{H=Rt,Ce=jt});const Tt=++this.navigationId;let Be;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),Be=C&&C.\u0275routerPageId?C.\u0275routerPageId:S.replaceUrl||S.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Be=0,this.setTransition({id:Tt,targetPageId:Be,source:m,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:S,resolve:H,reject:Ce,promise:We,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),We.catch(Rt=>Promise.reject(Rt))}setBrowserUrl(u,m){const C=this.urlSerializer.serialize(u),S={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(C)||m.extras.replaceUrl?this.location.replaceState(C,"",S):this.location.go(C,"",S)}restoreHistory(u,m=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===C?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===C&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(C)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,m){const C=new He(u.id,this.serializeUrl(u.extractedUrl),m);this.triggerEvent(C),u.resolve(!1)}generateNgRouterState(u,m){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:m}:{navigationId:u}}}return d.\u0275fac=function(u){f.$Z()},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();function Zr(d){return"imperative"!==d}let Bs=(()=>{class d{constructor(u,m,C,S,x){this.router=u,this.route=m,this.tabIndexAttribute=C,this.renderer=S,this.el=x,this.commands=null,this.onChanges=new Xe.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const m=this.renderer,C=this.el.nativeElement;null!==u?m.setAttribute(C,"tabindex",u):m.removeAttribute(C,"tabindex")}ngOnChanges(u){this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const u={skipLocationChange:(0,f.D6c)(this.skipLocationChange),replaceUrl:(0,f.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,u),!0}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:(0,f.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(Jt),f.Y36(Tr),f.$8M("tabindex"),f.Y36(f.Qsj),f.Y36(f.SBq))},d.\u0275dir=f.lG2({type:d,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(u,m){1&u&&f.NdJ("click",function(){return m.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[f.TTD]}),d})(),jr=(()=>{class d{constructor(u,m,C){this.router=u,this.route=m,this.locationStrategy=C,this.commands=null,this.href=null,this.onChanges=new Xe.x,this.subscription=u.events.subscribe(S=>{S instanceof ge&&this.updateTargetUrlAndHref()})}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,m,C,S,x){if(0!==u||m||C||S||x||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const H={skipLocationChange:(0,f.D6c)(this.skipLocationChange),replaceUrl:(0,f.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,H),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:(0,f.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(Jt),f.Y36(Tr),f.Y36(D.S$))},d.\u0275dir=f.lG2({type:d,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,m){1&u&&f.NdJ("click",function(S){return m.onClick(S.button,S.ctrlKey,S.shiftKey,S.altKey,S.metaKey)}),2&u&&f.uIk("target",m.target)("href",m.href,f.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[f.TTD]}),d})(),lo=(()=>{class d{constructor(u,m,C,S,x,H){this.router=u,this.element=m,this.renderer=C,this.cdr=S,this.link=x,this.linkWithHref=H,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new f.vpe,this.routerEventsSubscription=u.events.subscribe(Ce=>{Ce instanceof ge&&this.update()})}ngAfterContentInit(){(0,q.of)(this.links.changes,this.linksWithHrefs.changes,(0,q.of)(null)).pipe((0,gn.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,se.D)(u).pipe((0,gn.J)()).subscribe(m=>{this.isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(u){const m=Array.isArray(u)?u:u.split(" ");this.classes=m.filter(C=>!!C)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const u=this.hasActiveLinks();this.isActive!==u&&(this.isActive=u,this.cdr.markForCheck(),this.classes.forEach(m=>{u?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),u&&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(u))})}isLinkActive(u){const m=function uo(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>!!C.urlTree&&u.isActive(C.urlTree,m)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.linkWithHref&&u(this.linkWithHref)||this.links.some(u)||this.linksWithHrefs.some(u)}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(Jt),f.Y36(f.SBq),f.Y36(f.Qsj),f.Y36(f.sBO),f.Y36(Bs,8),f.Y36(jr,8))},d.\u0275dir=f.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(u,m,C){if(1&u&&(f.Suo(C,Bs,5),f.Suo(C,jr,5)),2&u){let S;f.iGM(S=f.CRH())&&(m.links=S),f.iGM(S=f.CRH())&&(m.linksWithHrefs=S)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[f.TTD]}),d})();class ki{buildTitle(c){let u,m=c.root;for(;void 0!==m;)u=this.getResolvedTitleForRoute(m)??u,m=m.children.find(C=>C.outlet===ut);return u}getResolvedTitleForRoute(c){return c.data[fs]}}let wa=(()=>{class d extends ki{constructor(u){super(),this.title=u}updateTitle(u){const m=this.buildTitle(u);void 0!==m&&this.title.setTitle(m)}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(Oe.Dx))},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class ur{}let ci=(()=>{class d{constructor(u,m,C,S,x){this.router=u,this.injector=C,this.preloadingStrategy=S,this.loader=x}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ue.h)(u=>u instanceof ge),(0,Je.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,m){const C=[];for(const S of m){S.providers&&!S._injector&&(S._injector=(0,f.MMx)(S.providers,u,`Route: ${S.path}`));const x=S._injector??u,H=S._loadedInjector??x;S.loadChildren&&!S._loadedRoutes||S.loadComponent&&!S._loadedComponent?C.push(this.preloadConfig(x,S)):(S.children||S._loadedRoutes)&&C.push(this.processRoutes(H,S.children??S._loadedRoutes))}return(0,se.D)(C).pipe((0,gn.J)())}preloadConfig(u,m){return this.preloadingStrategy.preload(m,()=>{let C;C=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(u,m):(0,q.of)(null);const S=C.pipe((0,ft.z)(x=>null===x?(0,q.of)(void 0):(m._loadedRoutes=x.routes,m._loadedInjector=x.injector,this.processRoutes(x.injector??u,x.routes))));if(m.loadComponent&&!m._loadedComponent){const x=this.loader.loadComponent(m);return(0,se.D)([S,x]).pipe((0,gn.J)())}return S})}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(Jt),f.LFG(f.Sil),f.LFG(f.lqb),f.LFG(ur),f.LFG(so))},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();const di=new f.OlP("");let js=(()=>{class d{constructor(u,m,C={}){this.router=u,this.viewportScroller=m,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof X?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof ge&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof fr&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,m){this.router.triggerEvent(new fr(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(u){f.$Z()},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();const fi=new f.OlP("ROUTER_CONFIGURATION",{providedIn:"root",factory:()=>({})}),Bi=new f.OlP("ROUTER_FORROOT_GUARD"),ji=new f.OlP(""),co=[D.Ye,{provide:mt,useClass:Y},{provide:Jt,useFactory:function w(d,c,u,m,C,S,x={},H,Ce,We,Tt){const Be=new Jt(null,d,c,u,m,C,Gt(S));return We&&(Be.urlHandlingStrategy=We),Tt&&(Be.routeReuseStrategy=Tt),Be.titleStrategy=Ce??H,function A(d,c){d.errorHandler&&(c.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(c.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(c.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(c.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(c.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(c.canceledNavigationResolution=d.canceledNavigationResolution)}(x,Be),Be},deps:[mt,qn,D.Ye,f.zs3,f.Sil,Fi,fi,wa,[ki,new f.FiY],[class Go{},new f.FiY],[class zo{},new f.FiY]]},qn,{provide:Tr,useFactory:function F(d){return d.routerState.root},deps:[Jt]},so];function Ko(){return new f.PXZ("Router",Jt)}let hi=(()=>{class d{constructor(u,m){}static forRoot(u,m){return{ngModule:d,providers:[co,[],p(u),{provide:Bi,useFactory:o,deps:[[Jt,new f.FiY,new f.tp0]]},{provide:fi,useValue:m||{}},m?.useHash?{provide:D.S$,useClass:D.Do}:{provide:D.S$,useClass:D.b0},{provide:di,useFactory:()=>{const d=(0,f.f3M)(Jt),c=(0,f.f3M)(D.EM),u=(0,f.f3M)(fi);return u.scrollOffset&&c.setOffset(u.scrollOffset),new js(d,c,u)}},m?.preloadingStrategy?Bt(m.preloadingStrategy):[],{provide:f.PXZ,multi:!0,useFactory:Ko},m?.initialNavigation?be(m):[],[{provide:ue,useFactory:L},{provide:f.tb,multi:!0,useExisting:ue}]]}}static forChild(u){return{ngModule:d,providers:[p(u)]}}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(Bi,8),f.LFG(Jt,8))},d.\u0275mod=f.oAB({type:d}),d.\u0275inj=f.cJS({}),d})();function o(d){return"guarded"}function p(d){return[{provide:f.deG,multi:!0,useValue:d},{provide:Fi,multi:!0,useValue:d}]}function L(){const d=(0,f.f3M)(f.zs3);return c=>{const u=d.get(f.z2F);if(c!==u.components[0])return;const m=d.get(Jt),C=d.get(Qe);null===d.get(Dt,null,f.XFs.Optional)&&m.initialNavigation(),d.get(ji,null,f.XFs.Optional)?.setUpPreloading(),d.get(di,null,f.XFs.Optional)?.init(),m.resetRootComponentType(u.componentTypes[0]),C.next(),C.complete()}}const ue=new f.OlP("");function be(d){return["disabled"===d.initialNavigation?[{provide:f.ip1,multi:!0,useFactory:()=>{const d=(0,f.f3M)(Jt);return()=>{d.setUpLocationChangeListener()}}},{provide:Dt,useValue:"disabled"}]:[],"enabledBlocking"===d.initialNavigation?[{provide:Dt,useValue:"enabledBlocking"},{provide:f.ip1,multi:!0,deps:[f.zs3],useFactory:d=>{const c=d.get(D.V_,Promise.resolve(null));let u=!1;return()=>c.then(()=>new Promise(C=>{const S=d.get(Jt),x=d.get(Qe);(function m(C){const S=d.get(Jt);S.events.pipe((0,Ue.h)(x=>x instanceof ge||x instanceof He||x instanceof vt),(0,N.U)(x=>{if(x instanceof ge)return!0;const H=S.navigationId!==x.id,Ce=x instanceof He&&-1!==x.reason.indexOf(K);return!(!H&&!Ce)&&null}),(0,Ue.h)(x=>null!==x),(0,pe.q)(1)).subscribe(()=>{C()})})(()=>{C(!0),u=!0}),S.afterPreactivation=()=>(C(!0),u||x.closed?(0,q.of)(void 0):x),S.initialNavigation()}))}}]:[]]}const Qe=new f.OlP("",{factory:()=>new Xe.x}),Dt=new f.OlP("");function Bt(d){return[ci,{provide:ji,useExisting:ci},{provide:ur,useExisting:d}]}},3131:(Ye,me,b)=>{function D(te,j,k,ve,Z,Q,pe){try{var R=te[Q](pe),N=R.value}catch(G){return void k(G)}R.done?j(N):Promise.resolve(N).then(ve,Z)}function f(te){return function(){var j=this,k=arguments;return new Promise(function(ve,Z){var Q=te.apply(j,k);function pe(N){D(Q,ve,Z,pe,R,"next",N)}function R(N){D(Q,ve,Z,pe,R,"throw",N)}pe(void 0)})}}b.d(me,{Cz:()=>Ue,ys:()=>Xe});var oe=b(4650),ce=b(6895),$=b(8306),ee=b(2076),J=b(9841),le=b(7579),he=b(5698);function re(te,j,k,ve){return new Promise((Z,Q)=>{te||Q("IndexedDB not available");const pe=te.open(j,k);let R;pe.onsuccess=N=>{R=pe.result,Z(R)},pe.onerror=N=>{Q(`IndexedDB error: ${pe.error}`)},"function"==typeof ve&&(pe.onupgradeneeded=N=>{ve(N,R)})})}function se(te,j,k,ve,Z){if(!te)return;const Q=te.open(j,k);Q.onupgradeneeded=pe=>{const R=pe.target.result;ve.forEach(G=>{if(!R.objectStoreNames.contains(G.store)){const de=R.createObjectStore(G.store,G.storeConfig);G.storeSchema.forEach(ie=>{de.createIndex(ie.name,ie.keypath,ie.options)})}});const N=Z&&Z();N&&Object.keys(N).map(G=>parseInt(G,10)).filter(G=>G>pe.oldVersion).sort((G,de)=>G-de).forEach(G=>{N[G](R,Q.transaction)}),R.close()},Q.onsuccess=pe=>{pe.target.result.close()}}function Ee(te,j,k){te||k("You need to use the openDatabase function to create a database before you query it!"),function je(te,j){return te.objectStoreNames.contains(j)}(te,j)||k(`objectStore does not exists: ${j}`)}function _e(te,j){const k=te.transaction(j.storeName,j.dbMode);return k.onerror=j.error,k.onabort=j.abort,k}function Ne(te,j,k,ve){return{storeName:j,dbMode:te,error:Z=>{k(Z)},abort:Z=>{k(Z)}}}var ye=(()=>{return(te=ye||(ye={})).readonly="readonly",te.readwrite="readwrite",ye;var te})();const xe=new oe.OlP(null);let Xe=(()=>{class te{constructor(k,ve){if(this.dbConfig=k,this.platformId=ve,!k.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!k.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,ce.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,se(this.indexedDB,k.name,k.version,k.objectStoresMeta,k.migrationFactory),re(this.indexedDB,k.name).then(Z=>{Z.version!==k.version&&(this.dbConfig.version=Z.version)}))}createObjectStore(k,ve){const Z=[k];se(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,Z,ve)}add(k,ve,Z){return new $.y(Q=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{const N=_e(pe,Ne(ye.readwrite,k,de=>Q.error(de))).objectStore(k);(Boolean(Z)?N.add(ve,Z):N.add(ve)).onsuccess=function(){var de=f(function*(ie){N.get(ie.target.result).onsuccess=ft=>{Q.next(ft.target.result),Q.complete()}});return function(ie){return de.apply(this,arguments)}}()}).catch(pe=>Q.error(pe))})}bulkAdd(k,ve){const Z=new Promise((Q,pe)=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(R=>{const G=_e(R,Ne(ye.readwrite,k,Q)).objectStore(k),de=ve.map(ie=>new Promise((Ie,Je)=>{const ft=ie.key;delete ie.key,(Boolean(ft)?G.add(ie,ft):G.add(ie)).onsuccess=ze=>{Ie(ze.target.result)}}));Q(Promise.all(de))}).catch(R=>pe(R))});return(0,ee.D)(Z)}bulkDelete(k,ve){const Z=ve.map(Q=>new Promise((pe,R)=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(N=>{const G=_e(N,Ne(ye.readwrite,k,R));G.objectStore(k).delete(Q),G.oncomplete=()=>{this.getAll(k).pipe((0,he.q)(1)).subscribe(ie=>{pe(ie)})}}).catch(N=>R(N))}));return(0,ee.D)(Promise.all(Z))}getByKey(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{const N=_e(Q,Ne(ye.readonly,k,Z.error)).objectStore(k).get(ve);N.onsuccess=G=>{Z.next(G.target.result),Z.complete()},N.onerror=G=>{Z.error(G)}}).catch(Q=>Z.error(Q))})}bulkGet(k,ve){const Z=ve.map(Q=>this.getByKey(k,Q));return new $.y(Q=>{(0,J.a)(Z).subscribe(pe=>{Q.next(pe),Q.complete()})})}getByID(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ee(Q,k,G=>Z.error(G)),_e(Q,Ne(ye.readonly,k,Z.error)).objectStore(k).get(ve).onsuccess=G=>{Z.next(G.target.result)}}).catch(Q=>Z.error(Q))})}getByIndex(k,ve,Z){return new $.y(Q=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{Ee(pe,k,ie=>Q.error(ie)),_e(pe,Ne(ye.readonly,k,Q.error)).objectStore(k).index(ve).get(Z).onsuccess=ie=>{Q.next(ie.target.result),Q.complete()}}).catch(pe=>Q.error(pe))})}getAll(k){return new $.y(ve=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Z=>{Ee(Z,k,N=>ve.error(N));const R=_e(Z,Ne(ye.readonly,k,ve.error)).objectStore(k).getAll();R.onerror=N=>{ve.error(N)},R.onsuccess=({target:{result:N}})=>{ve.next(N),ve.complete()}}).catch(Z=>ve.error(Z))})}update(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ee(Q,k,G=>Z.error(G));const R=_e(Q,Ne(ye.readwrite,k,G=>Z.error(G))).objectStore(k);R.put(ve).onsuccess=function(){var G=f(function*(de){R.get(de.target.result).onsuccess=Je=>{Z.next(Je.target.result),Z.complete()}});return function(de){return G.apply(this,arguments)}}()}).catch(Q=>Z.error(Q))})}delete(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ee(Q,k,N=>Z.error(N));const pe=_e(Q,Ne(ye.readwrite,k,N=>Z.error(N)));pe.objectStore(k).delete(ve),pe.oncomplete=()=>{this.getAll(k).pipe((0,he.q)(1)).subscribe(N=>{Z.next(N),Z.complete()})}}).catch(Q=>Z.error(Q))})}deleteByKey(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ee(Q,k,N=>Z.error(N));const pe=_e(Q,Ne(ye.readwrite,k,N=>Z.error(N))),R=pe.objectStore(k);pe.oncomplete=()=>{Z.next(!0),Z.complete()},R.delete(ve)}).catch(Q=>Z.error(Q))})}clear(k){return new $.y(ve=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Z=>{Ee(Z,k,R=>ve.error(R));const Q=_e(Z,Ne(ye.readwrite,k,R=>ve.error(R)));Q.objectStore(k).clear(),Q.oncomplete=()=>{ve.next(!0),ve.complete()}}).catch(Z=>ve.error(Z))})}deleteDatabase(){var k=this;return new $.y(ve=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var Z=f(function*(Q){yield Q.close();const pe=k.indexedDB.deleteDatabase(k.dbConfig.name);pe.onsuccess=()=>{ve.next(!0),ve.complete()},pe.onerror=R=>ve.error(R),pe.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(Q){return Z.apply(this,arguments)}}()).catch(Z=>ve.error(Z))})}openCursor(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ee(Q,k,G=>Z.error(G));const R=_e(Q,Ne(ye.readonly,k,Z.error)).objectStore(k);(void 0===ve?R.openCursor():R.openCursor(ve)).onsuccess=G=>{Z.next(G),Z.complete()}}).catch(Q=>Z.error(Q))})}openCursorByIndex(k,ve,Z,Q=ye.readonly){const pe=new le.x;return re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(R=>{Ee(R,k,Ie=>{pe.error(Ie)}),_e(R,Ne(Q,k,Ie=>{pe.error(Ie)})).objectStore(k).index(ve).openCursor(Z).onsuccess=Ie=>{pe.next(Ie)}}).catch(R=>pe.error(R)),pe}getAllByIndex(k,ve,Z){const Q=[];return new $.y(pe=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(R=>{Ee(R,k,Ie=>pe.error(Ie)),_e(R,Ne(ye.readonly,k,pe.error)).objectStore(k).index(ve).openCursor(Z).onsuccess=Ie=>{const Je=Ie.target.result;Je?(Q.push(Je.value),Je.continue()):(pe.next(Q),pe.complete())}}).catch(R=>pe.error(R))})}getAllKeysByIndex(k,ve,Z){const Q=[];return new $.y(pe=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(R=>{Ee(R,k,Ie=>pe.error(Ie)),_e(R,Ne(ye.readonly,k,pe.error)).objectStore(k).index(ve).openKeyCursor(Z).onsuccess=Ie=>{const Je=Ie.target.result;Je?(Q.push({primaryKey:Je.primaryKey,key:Je.key}),Je.continue()):(pe.next(Q),pe.complete())}}).catch(R=>pe.error(R))})}count(k,ve){return new $.y(Z=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ee(Q,k,G=>Z.error(G));const N=_e(Q,Ne(ye.readonly,k,Z.error)).objectStore(k).count(ve);N.onerror=G=>Z.error(G),N.onsuccess=G=>{Z.next(G.target.result),Z.complete()}}).catch(Q=>Z.error(Q))})}countByIndex(k,ve,Z){return new $.y(Q=>{re(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{Ee(pe,k,ie=>Q.error(ie));const de=_e(pe,Ne(ye.readonly,k,Q.error)).objectStore(k).index(ve).count(Z);de.onerror=ie=>Q.error(ie),de.onsuccess=ie=>{Q.next(ie.target.result),Q.complete()}}).catch(pe=>Q.error(pe))})}deleteObjectStore(k){return function q(te,j,k){if(!te||!j||!k)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new $.y(ve=>{try{const Q=indexedDB.open(te,j+1);Q.onupgradeneeded=pe=>{const R=pe.target.result;R.deleteObjectStore(k),R.close(),console.log("onupgradeneeded"),ve.next(!0),ve.complete()},Q.onerror=pe=>ve.error(pe)}catch(Z){ve.error(Z)}})}(this.dbConfig.name,++this.dbConfig.version,k)}}return te.\u0275fac=function(k){return new(k||te)(oe.LFG(xe),oe.LFG(oe.Lbi))},te.\u0275prov=oe.Yz7({token:te,factory:te.\u0275fac}),te})(),Ue=(()=>{class te{static forRoot(k){return{ngModule:te,providers:[Xe,{provide:xe,useValue:k}]}}}return te.\u0275fac=function(k){return new(k||te)},te.\u0275mod=oe.oAB({type:te}),te.\u0275inj=oe.cJS({imports:[[ce.ez]]}),te})()},7185:(Ye,me,b)=>{b.d(me,{FN:()=>Ie,PR:()=>k,Rh:()=>ft,_W:()=>ie});var D=b(4650),f=b(7340),oe=b(7579),ce=b(6895),$=b(1481);const ee=["toast-component",""];function J(Oe,Pe){if(1&Oe){const X=D.EpF();D.TgZ(0,"button",5),D.NdJ("click",function(){D.CHM(X);const He=D.oxw();return D.KtG(He.remove())}),D.TgZ(1,"span",6),D._uU(2,"\xd7"),D.qZA()()}}function le(Oe,Pe){if(1&Oe&&(D.ynx(0),D._uU(1),D.BQk()),2&Oe){const X=D.oxw(2);D.xp6(1),D.hij("[",X.duplicatesCount+1,"]")}}function he(Oe,Pe){if(1&Oe&&(D.TgZ(0,"div"),D._uU(1),D.YNc(2,le,2,1,"ng-container",4),D.qZA()),2&Oe){const X=D.oxw();D.Tol(X.options.titleClass),D.uIk("aria-label",X.title),D.xp6(1),D.hij(" ",X.title," "),D.xp6(1),D.Q6J("ngIf",X.duplicatesCount)}}function re(Oe,Pe){if(1&Oe&&D._UZ(0,"div",7),2&Oe){const X=D.oxw();D.Tol(X.options.messageClass),D.Q6J("innerHTML",X.message,D.oJD)}}function se(Oe,Pe){if(1&Oe&&(D.TgZ(0,"div",8),D._uU(1),D.qZA()),2&Oe){const X=D.oxw();D.Tol(X.options.messageClass),D.uIk("aria-label",X.message),D.xp6(1),D.hij(" ",X.message," ")}}function q(Oe,Pe){if(1&Oe&&(D.TgZ(0,"div"),D._UZ(1,"div",9),D.qZA()),2&Oe){const X=D.oxw();D.xp6(1),D.Udp("width",X.width+"%")}}class te{constructor(Pe,X){this.component=Pe,this.injector=X}attach(Pe,X){return this._attachedHost=Pe,Pe.attach(this,X)}detach(){const Pe=this._attachedHost;if(Pe)return this._attachedHost=void 0,Pe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Pe){this._attachedHost=Pe}}class k{constructor(Pe,X,ge,He,vt,cn){this.toastId=Pe,this.config=X,this.message=ge,this.title=He,this.toastType=vt,this.toastRef=cn,this._onTap=new oe.x,this._onAction=new oe.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Pe){this._onAction.next(Pe)}onAction(){return this._onAction.asObservable()}}const Z=new D.OlP("ToastConfig");class Q{constructor(Pe){this._overlayRef=Pe,this.duplicatesCount=0,this._afterClosed=new oe.x,this._activate=new oe.x,this._manualClose=new oe.x,this._resetTimeout=new oe.x,this._countDuplicate=new oe.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Pe,X){Pe&&this._resetTimeout.next(),X&&this._countDuplicate.next(++this.duplicatesCount)}}class pe{constructor(Pe,X){this._toastPackage=Pe,this._parentInjector=X}get(Pe,X,ge){return Pe===k?this._toastPackage:this._parentInjector.get(Pe,X,ge)}}class R extends class j{attach(Pe,X){return this._attachedPortal=Pe,this.attachComponentPortal(Pe,X)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Pe){this._disposeFn=Pe}}{constructor(Pe,X,ge){super(),this._hostDomElement=Pe,this._componentFactoryResolver=X,this._appRef=ge}attachComponentPortal(Pe,X){const ge=this._componentFactoryResolver.resolveComponentFactory(Pe.component);let He;return He=ge.create(Pe.injector),this._appRef.attachView(He.hostView),this.setDisposeFn(()=>{this._appRef.detachView(He.hostView),He.destroy()}),X?this._hostDomElement.insertBefore(this._getComponentRootNode(He),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(He)),He}_getComponentRootNode(Pe){return Pe.hostView.rootNodes[0]}}class N{constructor(Pe){this._portalHost=Pe}attach(Pe,X=!0){return this._portalHost.attach(Pe,X)}detach(){return this._portalHost.detach()}}let G=(()=>{class Oe{constructor(X){this._document=X}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const X=this._document.createElement("div");X.classList.add("overlay-container"),X.setAttribute("aria-live","polite"),this._document.body.appendChild(X),this._containerElement=X}}return Oe.\u0275fac=function(X){return new(X||Oe)(D.LFG(ce.K0))},Oe.\u0275prov=D.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})(),de=(()=>{class Oe{constructor(X,ge,He,vt){this._overlayContainer=X,this._componentFactoryResolver=ge,this._appRef=He,this._document=vt,this._paneElements=new Map}create(X,ge){return this._createOverlayRef(this.getPaneElement(X,ge))}getPaneElement(X="",ge){return this._paneElements.get(ge)||this._paneElements.set(ge,{}),this._paneElements.get(ge)[X]||(this._paneElements.get(ge)[X]=this._createPaneElement(X,ge)),this._paneElements.get(ge)[X]}_createPaneElement(X,ge){const He=this._document.createElement("div");return He.id="toast-container",He.classList.add(X),He.classList.add("toast-container"),ge?ge.getContainerElement().appendChild(He):this._overlayContainer.getContainerElement().appendChild(He),He}_createPortalHost(X){return new R(X,this._componentFactoryResolver,this._appRef)}_createOverlayRef(X){return new N(this._createPortalHost(X))}}return Oe.\u0275fac=function(X){return new(X||Oe)(D.LFG(G),D.LFG(D._Vd),D.LFG(D.z2F),D.LFG(ce.K0))},Oe.\u0275prov=D.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})(),ie=(()=>{class Oe{constructor(X,ge,He,vt,cn){this.overlay=ge,this._injector=He,this.sanitizer=vt,this.ngZone=cn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...X.default,...X.config},X.config.iconClasses&&(this.toastrConfig.iconClasses={...X.default.iconClasses,...X.config.iconClasses})}show(X,ge,He={},vt=""){return this._preBuildNotification(vt,X,ge,this.applyConfig(He))}success(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",X,ge,this.applyConfig(He))}error(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",X,ge,this.applyConfig(He))}info(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",X,ge,this.applyConfig(He))}warning(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",X,ge,this.applyConfig(He))}clear(X){for(const ge of this.toasts)if(void 0!==X){if(ge.toastId===X)return void ge.toastRef.manualClose()}else ge.toastRef.manualClose()}remove(X){const ge=this._findToast(X);if(!ge||(ge.activeToast.toastRef.close(),this.toasts.splice(ge.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const He=this.toasts[this.currentlyActive].toastRef;He.isInactive()||(this.currentlyActive=this.currentlyActive+1,He.activate())}return!0}findDuplicate(X="",ge="",He,vt){const{includeTitleDuplicates:cn}=this.toastrConfig;for(const An of this.toasts){const xn=cn&&An.title===X;if((!cn||xn)&&An.message===ge)return An.toastRef.onDuplicate(He,vt),An}return null}applyConfig(X={}){return{...this.toastrConfig,...X}}_findToast(X){for(let ge=0;ge<this.toasts.length;ge++)if(this.toasts[ge].toastId===X)return{index:ge,activeToast:this.toasts[ge]};return null}_preBuildNotification(X,ge,He,vt){return vt.onActivateTick?this.ngZone.run(()=>this._buildNotification(X,ge,He,vt)):this._buildNotification(X,ge,He,vt)}_buildNotification(X,ge,He,vt){if(!vt.toastComponent)throw new Error("toastComponent required");const cn=this.findDuplicate(He,ge,this.toastrConfig.resetTimeoutOnDuplicate&&vt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&He||ge)&&this.toastrConfig.preventDuplicates&&null!==cn)return cn;this.previousToastMessage=ge;let An=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(An=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const xn=this.overlay.create(vt.positionClass,this.overlayContainer);this.index=this.index+1;let en=ge;ge&&vt.enableHtml&&(en=this.sanitizer.sanitize(D.q3G.HTML,ge));const _n=new Q(xn),Rn=new k(this.index,vt,en,He,X,_n),Nn=new pe(Rn,this._injector),ot=new te(vt.toastComponent,Nn),sr=xn.attach(ot,this.toastrConfig.newestOnTop);_n.componentInstance=sr.instance;const nt={toastId:this.index,title:He||"",message:ge||"",toastRef:_n,onShown:_n.afterActivate(),onHidden:_n.afterClosed(),onTap:Rn.onTap(),onAction:Rn.onAction(),portal:sr};return An||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{nt.toastRef.activate()})),this.toasts.push(nt),nt}}return Oe.\u0275fac=function(X){return new(X||Oe)(D.LFG(Z),D.LFG(de),D.LFG(D.zs3),D.LFG($.H7),D.LFG(D.R0b))},Oe.\u0275prov=D.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})(),Ie=(()=>{class Oe{constructor(X,ge,He){this.toastrService=X,this.toastPackage=ge,this.ngZone=He,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ge.message,this.title=ge.title,this.options=ge.config,this.originalTimeout=ge.config.timeOut,this.toastClasses=`${ge.toastType} ${ge.config.toastClass}`,this.sub=ge.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ge.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ge.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ge.toastRef.countDuplicate().subscribe(vt=>{this.duplicatesCount=vt})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(X,ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(X),ge)):this.timeout=setTimeout(()=>X(),ge)}outsideInterval(X,ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(X),ge)):this.intervalId=setInterval(()=>X(),ge)}runInsideAngular(X){this.ngZone?this.ngZone.run(()=>X()):X()}}return Oe.\u0275fac=function(X){return new(X||Oe)(D.Y36(ie),D.Y36(k),D.Y36(D.R0b))},Oe.\u0275cmp=D.Xpm({type:Oe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(X,ge){1&X&&D.NdJ("click",function(){return ge.tapToast()})("mouseenter",function(){return ge.stickAround()})("mouseleave",function(){return ge.delayedHideToast()}),2&X&&(D.d8E("@flyInOut",ge.state),D.Tol(ge.toastClasses),D.Udp("display",ge.displayStyle))},attrs:ee,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(X,ge){1&X&&(D.YNc(0,J,3,0,"button",0),D.YNc(1,he,3,5,"div",1),D.YNc(2,re,1,3,"div",2),D.YNc(3,se,2,4,"div",3),D.YNc(4,q,2,2,"div",4)),2&X&&(D.Q6J("ngIf",ge.options.closeButton),D.xp6(1),D.Q6J("ngIf",ge.title),D.xp6(1),D.Q6J("ngIf",ge.message&&ge.options.enableHtml),D.xp6(1),D.Q6J("ngIf",ge.message&&!ge.options.enableHtml),D.xp6(1),D.Q6J("ngIf",ge.options.progressBar))},dependencies:[ce.O5],encapsulation:2,data:{animation:[(0,f.X$)("flyInOut",[(0,f.SB)("inactive",(0,f.oB)({opacity:0})),(0,f.SB)("active",(0,f.oB)({opacity:1})),(0,f.SB)("removed",(0,f.oB)({opacity:0})),(0,f.eR)("inactive => active",(0,f.jt)("{{ easeTime }}ms {{ easing }}")),(0,f.eR)("active => removed",(0,f.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Oe})();const Je={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:Ie};let ft=(()=>{class Oe{static forRoot(X={}){return{ngModule:Oe,providers:[{provide:Z,useValue:{default:Je,config:X}}]}}}return Oe.\u0275fac=function(X){return new(X||Oe)},Oe.\u0275mod=D.oAB({type:Oe}),Oe.\u0275inj=D.cJS({imports:[ce.ez]}),Oe})()}},Ye=>{Ye(Ye.s=5310)}]);