daimon 0.4.3 → 0.5.0

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 (50) hide show
  1. package/CHANGELOG.md +177 -0
  2. package/dist/cli.js +67 -58
  3. package/dist/dashboard/3rdpartylicenses.txt +461 -0
  4. package/dist/dashboard/browser/chunk-3TYCIBMV.js +1 -0
  5. package/dist/dashboard/browser/chunk-5UAN6ETO.js +1 -0
  6. package/dist/dashboard/browser/chunk-AEERNAF7.js +1 -0
  7. package/dist/dashboard/browser/chunk-AX3RJNG4.js +1 -0
  8. package/dist/dashboard/browser/chunk-BADBUP5C.js +3 -0
  9. package/dist/dashboard/browser/chunk-BF6RQFHS.js +2 -0
  10. package/dist/dashboard/browser/chunk-C65CUT7O.js +4 -0
  11. package/dist/dashboard/browser/chunk-CNIZYK4A.js +1 -0
  12. package/dist/dashboard/browser/chunk-D4BFRQ63.js +4 -0
  13. package/dist/dashboard/browser/chunk-E235WGFQ.js +3 -0
  14. package/dist/dashboard/browser/chunk-F2EDJ6FT.js +4 -0
  15. package/dist/dashboard/browser/chunk-HFAARBWL.js +1 -0
  16. package/dist/dashboard/browser/chunk-HFJ25UTJ.js +4 -0
  17. package/dist/dashboard/browser/chunk-JX3IOOXU.js +4 -0
  18. package/dist/dashboard/browser/chunk-LQNYSOSZ.js +1 -0
  19. package/dist/dashboard/browser/chunk-MBVVV35N.js +1 -0
  20. package/dist/dashboard/browser/chunk-NC2VPB4Y.js +2 -0
  21. package/dist/dashboard/browser/chunk-NXNVIINH.js +1 -0
  22. package/dist/dashboard/browser/chunk-Q7R63OUT.js +3 -0
  23. package/dist/dashboard/browser/chunk-QLKOKZDG.js +9 -0
  24. package/dist/dashboard/browser/chunk-QQSPJIPQ.js +1 -0
  25. package/dist/dashboard/browser/chunk-SCAIGUJL.js +6 -0
  26. package/dist/dashboard/browser/chunk-SLQ2WBUA.js +1 -0
  27. package/dist/dashboard/browser/chunk-TSB6OOH2.js +6 -0
  28. package/dist/dashboard/browser/chunk-WAN7TQQW.js +1 -0
  29. package/dist/dashboard/browser/chunk-WWUKM5OG.js +1 -0
  30. package/dist/dashboard/browser/chunk-ZVU34B5S.js +1 -0
  31. package/dist/dashboard/browser/chunk-ZYE3XQS4.js +2 -0
  32. package/dist/dashboard/browser/index.html +15 -0
  33. package/dist/dashboard/browser/main-Z6L5VPBT.js +4 -0
  34. package/dist/dashboard/browser/styles-SIPYJLMG.css +1 -0
  35. package/dist/dashboard/prerendered-routes.json +3 -0
  36. package/dist/main.js +49 -44
  37. package/dist/mcp.js +2 -2
  38. package/package.json +5 -4
  39. package/src/templates/claude/skill.md.tmpl +23 -31
  40. package/src/dashboard.html +0 -451
  41. package/src/templates/claude/commands/doctor.md.tmpl +0 -10
  42. package/src/templates/claude/commands/errors.md.tmpl +0 -10
  43. package/src/templates/claude/commands/logs.md.tmpl +0 -10
  44. package/src/templates/claude/commands/restart.md.tmpl +0 -10
  45. package/src/templates/claude/commands/start.md.tmpl +0 -12
  46. package/src/templates/claude/commands/status.md.tmpl +0 -10
  47. package/src/templates/claude/commands/stop.md.tmpl +0 -10
  48. package/src/templates/claude/commands/up.md.tmpl +0 -10
  49. package/src/templates/claude/commands/wait.md.tmpl +0 -10
  50. package/src/templates/claude/commands/why.md.tmpl +0 -10
@@ -0,0 +1,3 @@
1
+ import{g as hi}from"./chunk-SCAIGUJL.js";import{a as di,c as si,e as li}from"./chunk-TSB6OOH2.js";import{F as ci,I as oi,M as ni,N as P,U as ri,W as L,u as ei,w as B,x as ai}from"./chunk-QLKOKZDG.js";import{Aa as q,Ab as E,Ac as R,B as C,Bb as S,Ca as f,Da as N,Dc as h,Ec as T,Gb as Z,Hb as u,Ib as b,Jb as D,Kb as X,Lb as J,Pb as Y,Qb as w,T as g,Tb as M,U as V,Ub as _,V as p,Vb as s,Wb as $,Xb as r,Yb as d,Za as y,aa as Q,ca as l,cb as I,cc as A,db as K,dc as ii,ea as n,i as v,na as G,nc as F,oa as j,ob as x,pb as W,qb as k,rb as U,wc as ti,zb as m}from"./chunk-F2EDJ6FT.js";var yi=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],bi=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function wi(a,vi){a&1&&(u(0,"span",3),_(1,1),b())}function Ci(a,vi){a&1&&(u(0,"span",6),_(1,2),b())}var Ii=["*"];var xi=new l("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),pi=new l("MatChipAvatar"),mi=new l("MatChipTrailingIcon"),ui=new l("MatChipEdit"),O=new l("MatChipRemove"),_i=new l("MatChip"),H=(()=>{class a{_elementRef=n(f);_parentChip=n(_i);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(i){this._disabled=i}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){n(B).load(L),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(e){return new(e||a)};static \u0275dir=k({type:a,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(e,t){e&1&&w("click",function(c){return t._handleClick(c)})("keydown",function(c){return t._handleKeydown(c)}),e&2&&(m("tabindex",t._getTabindex())("disabled",t._getDisabledAttribute())("aria-disabled",t.disabled),A("mdc-evolution-chip__action--primary",t._isPrimary)("mdc-evolution-chip__action--presentational",!t.isInteractive)("mdc-evolution-chip__action--secondary",!t._isPrimary)("mdc-evolution-chip__action--trailing",!t._isPrimary&&!t._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",h],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:T(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return a})();var at=(()=>{class a extends H{_isPrimary=!1;_handleClick(i){this.disabled||(i.stopPropagation(),i.preventDefault(),this._parentChip.remove())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&(i.stopPropagation(),i.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let i;return function(t){return(i||(i=q(a)))(t||a)}})();static \u0275dir=k({type:a,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,t){e&2&&m("aria-hidden",null)},features:[F([{provide:O,useExisting:a}]),U]})}return a})(),ki=(()=>{class a{_changeDetectorRef=n(R);_elementRef=n(f);_tagName=n(ti);_ngZone=n(K);_focusMonitor=n(ei);_globalRippleOptions=n(di,{optional:!0});_document=n(j);_onFocus=new v;_onBlur=new v;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=ri();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=n(ci).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}_disabled=!1;removed=new I;destroyed=new I;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=n(si);_injector=n(G);constructor(){let i=n(B);i.load(L),i.load(ai),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=C(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(e=>{let t=e._elementRef.nativeElement;return t===i||t.contains(i)})}_getActions(){let i=[];return this.editIcon&&i.push(this.editIcon),this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(i=>i.isInteractive)}_edit(i){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let e=i!==null;e!==this._hasFocusInternal&&(this._hasFocusInternal=e,e?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=x({type:a,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,o){if(e&1&&(s(o,pi,5),s(o,ui,5),s(o,mi,5),s(o,O,5),s(o,pi,5),s(o,mi,5),s(o,ui,5),s(o,O,5)),e&2){let c;r(c=d())&&(t.leadingIcon=c.first),r(c=d())&&(t.editIcon=c.first),r(c=d())&&(t.trailingIcon=c.first),r(c=d())&&(t.removeIcon=c.first),r(c=d())&&(t._allLeadingIcons=c),r(c=d())&&(t._allTrailingIcons=c),r(c=d())&&(t._allEditIcons=c),r(c=d())&&(t._allRemoveIcons=c)}},viewQuery:function(e,t){if(e&1&&$(H,5),e&2){let o;r(o=d())&&(t.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(e,t){e&1&&w("keydown",function(c){return t._handleKeydown(c)}),e&2&&(Y("id",t.id),m("role",t.role)("aria-label",t.ariaLabel),ii("mat-"+(t.color||"primary")),A("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",t.leadingIcon)("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-basic-chip",t._isBasicChip)("mat-mdc-standard-chip",!t._isBasicChip)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon())("_mat-animation-noopable",t._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",h],highlighted:[2,"highlighted","highlighted",h],disableRipple:[2,"disableRipple","disableRipple",h],disabled:[2,"disabled","disabled",h]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[F([{provide:_i,useExisting:a}])],ngContentSelectors:bi,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,t){e&1&&(M(yi),D(0,"span",0),u(1,"span",1)(2,"span",2),E(3,wi,2,0,"span",3),u(4,"span",4),_(5),D(6,"span",5),b()()(),E(7,Ci,2,0,"span",6)),e&2&&(y(2),Z("isInteractive",!1),y(),S(t.leadingIcon?3:-1),y(4),S(t._hasTrailingIcon()?7:-1))},dependencies:[H],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}
2
+ `],encapsulation:2,changeDetection:0})}return a})();var ct=(()=>{class a{_elementRef=n(f);_changeDetectorRef=n(R);_dir=n(ni,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new v;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(i){this._explicitRole=i}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new N;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips?.forEach(i=>{i._chipListDisabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){let i=this._elementRef.nativeElement.tabIndex;i!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(g(null),V(()=>C(...this._chips.map(i))))}_originatesFromChip(i){let e=i.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-mdc-chip"))return!0;e=e.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(g(this._chips)).subscribe(i=>{let e=[];i.forEach(t=>t._getActions().forEach(o=>e.push(o))),this._chipActions.reset(e),this._chipActions.notifyOnChanges()}),this._keyManager=new oi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(p(this._destroyed)).subscribe(({chip:i})=>{let e=i._getSourceAction(document.activeElement);e&&this._keyManager.updateActiveItem(e)}),this._dir?.change.pipe(p(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(g(null),p(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(p(this._destroyed)).subscribe(i=>{let t=this._chips.toArray().indexOf(i.chip),o=i.chip._hasFocus(),c=i.chip._hadFocusOnRemove&&this._keyManager.activeItem&&i.chip._getActions().includes(this._keyManager.activeItem),gi=o||c;this._isValidIndex(t)&&gi&&(this._lastDestroyedFocusedChipIndex=t)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),e=this._chips.toArray()[i];e.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():e.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=x({type:a,selectors:[["mat-chip-set"]],contentQueries:function(e,t,o){if(e&1&&s(o,ki,5),e&2){let c;r(c=d())&&(t._chips=c)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,t){e&1&&w("keydown",function(c){return t._handleKeydown(c)}),e&2&&m("role",t.role)},inputs:{disabled:[2,"disabled","disabled",h],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:T(i)]},ngContentSelectors:Ii,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(M(),X(0,"div",0),_(1),J())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}
3
+ `],encapsulation:2,changeDetection:0})}return a})();var ot=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275mod=W({type:a});static \u0275inj=Q({providers:[hi,{provide:xi,useValue:{separatorKeyCodes:[13]}}],imports:[P,li,P]})}return a})();export{at as a,ki as b,ct as c,ot as d};
@@ -0,0 +1,4 @@
1
+ var Up=Object.defineProperty,qp=Object.defineProperties;var Wp=Object.getOwnPropertyDescriptors;var ur=Object.getOwnPropertySymbols;var Pc=Object.prototype.hasOwnProperty,Lc=Object.prototype.propertyIsEnumerable;var kc=(e,t,n)=>t in e?Up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t)=>{for(var n in t||={})Pc.call(t,n)&&kc(e,n,t[n]);if(ur)for(var n of ur(t))Lc.call(t,n)&&kc(e,n,t[n]);return e},q=(e,t)=>qp(e,Wp(t));var cD=(e,t)=>{var n={};for(var r in e)Pc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ur)for(var r of ur(e))t.indexOf(r)<0&&Lc.call(e,r)&&(n[r]=e[r]);return n};function Pt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ae=Pt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function w(e){return typeof e=="function"}var dr=Pt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ot(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Fc(i)}catch(s){t=t??[],s instanceof dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Fc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ot(n,t)}remove(t){let{_finalizers:n}=this;n&&ot(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var fi=P.EMPTY;function fr(e){return e instanceof P||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Fc(e){w(e)?e():e.unsubscribe()}var fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Lt={setTimeout(e,t,...n){let{delegate:r}=Lt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Lt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function pr(e){Lt.setTimeout(()=>{let{onUnhandledError:t}=fe;if(t)t(e);else throw e})}function mn(){}var jc=pi("C",void 0,void 0);function Vc(e){return pi("E",void 0,e)}function Hc(e){return pi("N",e,void 0)}function pi(e,t,n){return{kind:e,value:t,error:n}}var it=null;function Ft(e){if(fe.useDeprecatedSynchronousErrorHandling){let t=!it;if(t&&(it={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=it;if(it=null,n)throw r}}else e()}function Bc(e){fe.useDeprecatedSynchronousErrorHandling&&it&&(it.errorThrown=!0,it.error=e)}var st=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fr(t)&&t.add(this)):this.destination=Qp}static create(t,n,r){return new pe(t,n,r)}next(t){this.isStopped?gi(Hc(t),this):this._next(t)}error(t){this.isStopped?gi(Vc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?gi(jc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Gp=Function.prototype.bind;function hi(e,t){return Gp.call(e,t)}var mi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){hr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){hr(r)}else hr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){hr(n)}}},pe=class extends st{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&fe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&hi(t.next,i),error:t.error&&hi(t.error,i),complete:t.complete&&hi(t.complete,i)}):o=t}this.destination=new mi(o)}};function hr(e){fe.useDeprecatedSynchronousErrorHandling?Bc(e):pr(e)}function zp(e){throw e}function gi(e,t){let{onStoppedNotification:n}=fe;n&&Lt.setTimeout(()=>n(e,t))}var Qp={closed:!0,next:mn,error:zp,complete:mn};function Zp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new pe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Ae)}});e.subscribe(i)})}var jt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function Yp(...e){return yi(e)}function yi(e){return e.length===0?Z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Jp(n)?n:new pe(n,r,o);return Ft(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=$c(r),new r((o,i)=>{let s=new pe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[jt](){return this}pipe(...n){return yi(n)(this)}toPromise(n){return n=$c(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $c(e){var t;return(t=e??fe.Promise)!==null&&t!==void 0?t:Promise}function Kp(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Jp(e){return e&&e instanceof st||Kp(e)&&fr(e)}function vi(e){return w(e?.lift)}function D(e){return t=>{if(vi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function I(e,t,n,r,o){return new Ii(e,t,n,r,o)}var Ii=class extends st{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ei(){return D((e,t)=>{let n=null;e._refCount++;let r=I(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Di=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,vi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new P;let n=this.getSubject();t.add(this.source.subscribe(I(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=P.EMPTY)}return t}refCount(){return Ei()(this)}};var Vt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Vt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new P(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Vt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Vt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Uc=Pt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new gr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Uc}next(n){Ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?fi:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,ot(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new gr(t,n),e})(),gr=class extends ie{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:fi}};var yn=class extends ie{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var vn={now(){return(vn.delegate||Date).now()},delegate:void 0};var mr=class extends ie{constructor(t=1/0,n=1/0,r=vn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var yr=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var In={setInterval(e,t,...n){let{delegate:r}=In;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=In;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ue=class extends yr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return In.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&In.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ot(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Xp=1,Ci,wi={};function qc(e){return e in wi?(delete wi[e],!0):!1}var Wc={setImmediate(e){let t=Xp++;return wi[t]=!0,Ci||(Ci=Promise.resolve()),Ci.then(()=>qc(t)&&e()),t},clearImmediate(e){qc(e)}};var{setImmediate:eh,clearImmediate:th}=Wc,En={setImmediate(...e){let{delegate:t}=En;return(t?.setImmediate||eh)(...e)},clearImmediate(e){let{delegate:t}=En;return(t?.clearImmediate||th)(e)},delegate:void 0};var vr=class extends Ue{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=En.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(En.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Ht=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ht.now=vn.now;var qe=class extends Ht{constructor(t,n=Ht.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Ir=class extends qe{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var nh=new Ir(vr);var Dn=new qe(Ue),Gc=Dn;var Er=class extends Ue{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Vt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Vt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Dr=class extends qe{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var rh=new Dr(Er);var at=new M(e=>e.complete());function Cr(e){return e&&w(e.schedule)}function Ti(e){return e[e.length-1]}function wr(e){return w(Ti(e))?e.pop():void 0}function De(e){return Cr(Ti(e))?e.pop():void 0}function zc(e,t){return typeof Ti(e)=="number"?e.pop():t}function Zc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Qc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function Yc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(N,T){i.push([f,m,N,T])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof ct?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Kc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Qc=="function"?Qc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Tr=e=>e&&typeof e.length=="number"&&typeof e!="function";function br(e){return w(e?.then)}function _r(e){return w(e[jt])}function Mr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function Nr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function oh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xr=oh();function Sr(e){return w(e?.[xr])}function Ar(e){return Yc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ct(n.read());if(o)return yield ct(void 0);yield yield ct(r)}}finally{n.releaseLock()}})}function Rr(e){return w(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(_r(e))return ih(e);if(Tr(e))return sh(e);if(br(e))return ah(e);if(Mr(e))return Jc(e);if(Sr(e))return ch(e);if(Rr(e))return lh(e)}throw Nr(e)}function ih(e){return new M(t=>{let n=e[jt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function sh(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ah(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,pr)})}function ch(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Jc(e){return new M(t=>{uh(e,t).catch(n=>t.error(n))})}function lh(e){return Jc(Ar(e))}function uh(e,t){var n,r,o,i;return Zc(this,void 0,void 0,function*(){try{for(n=Kc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function X(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Or(e,t=0){return D((n,r)=>{n.subscribe(I(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function kr(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xc(e,t){return O(e).pipe(kr(t),Or(t))}function el(e,t){return O(e).pipe(kr(t),Or(t))}function tl(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nl(e,t){return new M(n=>{let r;return X(n,t,()=>{r=e[xr](),X(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function Pr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rl(e,t){return Pr(Ar(e),t)}function ol(e,t){if(e!=null){if(_r(e))return Xc(e,t);if(Tr(e))return tl(e,t);if(br(e))return el(e,t);if(Mr(e))return Pr(e,t);if(Sr(e))return nl(e,t);if(Rr(e))return rl(e,t)}throw Nr(e)}function Ce(e,t){return t?ol(e,t):O(e)}function dh(...e){let t=De(e);return Ce(e,t)}function fh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function ph(e){return!!e&&(e instanceof M||w(e.lift)&&w(e.subscribe))}function il(e){return e instanceof Date&&!isNaN(e)}function lt(e,t){return D((n,r)=>{let o=0;n.subscribe(I(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:hh}=Array;function gh(e,t){return hh(t)?e(...t):e(t)}function Lr(e){return lt(t=>gh(e,t))}var{isArray:mh}=Array,{getPrototypeOf:yh,prototype:vh,keys:Ih}=Object;function Fr(e){if(e.length===1){let t=e[0];if(mh(t))return{args:t,keys:null};if(Eh(t)){let n=Ih(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Eh(e){return e&&typeof e=="object"&&yh(e)===vh}function jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dh(...e){let t=De(e),n=wr(e),{args:r,keys:o}=Fr(e);if(r.length===0)return Ce([],t);let i=new M(Ch(r,t,o?s=>jr(o,s):Z));return n?i.pipe(Lr(n)):i}function Ch(e,t,n=Z){return r=>{sl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)sl(t,()=>{let l=Ce(e[c],t),u=!1;l.subscribe(I(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function sl(e,t,n){e?X(n,e,t):t()}function al(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l<r?h(m):c.push(m),h=m=>{i&&t.next(m),l++;let N=!1;O(n(m,u++)).subscribe(I(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&l<r;){let T=c.shift();s?X(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(I(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return w(t)?ut((r,o)=>lt((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>al(r,o,e,n)))}function Cn(e=1/0){return ut(Z,e)}function cl(){return Cn(1)}function Vr(...e){return cl()(Ce(e,De(e)))}function wh(e){return new M(t=>{O(e()).subscribe(t)})}function Th(...e){let t=wr(e),{args:n,keys:r}=Fr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(I(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?jr(r,a):a),i.complete())}))}});return t?o.pipe(Lr(t)):o}function bi(e=0,t,n=Gc){let r=-1;return t!=null&&(Cr(t)?n=t:r=t),new M(o=>{let i=il(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function bh(...e){let t=De(e),n=zc(e,1/0),r=e;return r.length?r.length===1?O(r[0]):Cn(n)(Ce(r,t)):at}function dt(e,t){return D((n,r)=>{let o=0;n.subscribe(I(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ll(e){return D((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(I(n,l=>{r=!0,o=l,i||O(e(l)).subscribe(i=I(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function _h(e,t=Dn){return ll(()=>bi(e,t))}function ul(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(I(n,void 0,void 0,s=>{i=O(e(s,ul(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function dl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(I(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Mh(e,t){return w(t)?ut(e,t,1):ut(e,1)}function Nh(e,t=Dn){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(I(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function wn(e){return D((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function _i(e){return e<=0?()=>at:D((t,n)=>{let r=0;t.subscribe(I(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function xh(e,t=Z){return e=e??Sh,D((n,r)=>{let o,i=!0;n.subscribe(I(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Sh(e,t){return e===t}function Hr(e=Ah){return D((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ah(){return new Ae}function Rh(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Oh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?dt((o,i)=>e(o,i,r)):Z,_i(1),n?wn(t):Hr(()=>new Ae))}function Mi(e){return e<=0?()=>at:D((t,n)=>{let r=[];t.subscribe(I(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function kh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?dt((o,i)=>e(o,i,r)):Z,Mi(1),n?wn(t):Hr(()=>new Ae))}function Ph(){return D((e,t)=>{let n,r=!1;e.subscribe(I(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Lh(e,t){return D(dl(e,t,arguments.length>=2,!0))}function xi(e={}){let{connector:t=()=>new ie,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return D((m,N)=>{l++,!d&&!u&&p();let T=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=Ni(h,o))}),T.subscribe(N),!s&&l>0&&(s=new pe({next:Ee=>T.next(Ee),error:Ee=>{d=!0,p(),a=Ni(f,n,Ee),T.error(Ee)},complete:()=>{u=!0,p(),a=Ni(f,r),T.complete()}}),O(m).subscribe(s))})(i)}}function Ni(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new pe({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function Fh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,xi({connector:()=>new mr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function jh(e){return dt((t,n)=>e<=n)}function Vh(...e){let t=De(e);return D((n,r)=>{(t?Vr(e,n,t):Vr(e,n)).subscribe(r)})}function Hh(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(I(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=I(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bh(e){return D((t,n)=>{O(e).subscribe(I(n,()=>n.complete(),mn)),!n.closed&&t.subscribe(n)})}function $h(e,t=!1){return D((n,r)=>{let o=0;n.subscribe(I(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Uh(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(I(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Z}var Si;function Br(){return Si}function we(e){let t=Si;return Si=e,t}var fl=Symbol("NotFound");function Bt(e){return e===fl||e?.name==="\u0275NotFound"}var G=null,$r=!1,Ai=1,qh=null,H=Symbol("SIGNAL");function E(e){let t=G;return G=e,t}function Gr(){return G}var ft={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function pt(e){if($r)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=G.recomputing;if(r&&(n=t!==void 0?t.nextProducer:G.producers,n!==void 0&&n.producer===e)){G.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===G&&(!r||Gh(o,G)))return;let i=$t(G),s={producer:e,consumer:G,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};G.producersTail=s,t!==void 0?t.nextProducer=s:G.producers=s,i&&ml(e,s)}function pl(){Ai++}function zr(e){if(!($t(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ai)){if(!e.producerMustRecompute(e)&&!gt(e)){Wr(e);return}e.producerRecomputeValue(e),Wr(e)}}function Ri(e){if(e.consumers===void 0)return;let t=$r;$r=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Wh(r)}}finally{$r=t}}function Oi(){return G?.consumerAllowSignalWrites!==!1}function Wh(e){e.dirty=!0,Ri(e),e.consumerMarkedDirty?.(e)}function Wr(e){e.dirty=!1,e.lastCleanEpoch=Ai}function We(e){return e&&hl(e),E(e)}function hl(e){e.producersTail=void 0,e.recomputing=!0}function ht(e,t){E(t),e&&gl(e)}function gl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if($t(e))do n=ki(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function gt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(zr(n),r!==n.version))return!0}return!1}function Ge(e){if($t(e)){let t=e.producers;for(;t!==void 0;)t=ki(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ml(e,t){let n=e.consumersTail,r=$t(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ml(o.producer,o)}function ki(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!$t(t)){let i=t.producers;for(;i!==void 0;)i=ki(i)}return n}function $t(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Qr(e){qh?.(e)}function Gh(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Zr(e,t){return Object.is(e,t)}function bn(e,t){let n=Object.create(zh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(zr(n),pt(n),n.value===Tn)throw n.error;return n.value};return r[H]=n,Qr(n),r}var Ur=Symbol("UNSET"),qr=Symbol("COMPUTING"),Tn=Symbol("ERRORED"),zh=q(U({},ft),{value:Ur,dirty:!0,error:null,equal:Zr,kind:"computed",producerMustRecompute(e){return e.value===Ur||e.value===qr},producerRecomputeValue(e){if(e.value===qr)throw new Error("");let t=e.value;e.value=qr;let n=We(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Ur&&t!==Tn&&r!==Tn&&e.equal(t,r)}catch(i){r=Tn,e.error=i}finally{ht(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Qh(){throw new Error}var yl=Qh;function vl(e){yl(e)}function Pi(e){yl=e}var Zh=null;function Li(e,t){let n=Object.create(_n);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Il(n);return r[H]=n,Qr(n),[r,s=>Ut(n,s),s=>Fi(n,s)]}function Il(e){return pt(e),e.value}function Ut(e,t){Oi()||vl(e),e.equal(e.value,t)||(e.value=t,Yh(e))}function Fi(e,t){Oi()||vl(e),Ut(e,t(e.value))}var _n=q(U({},ft),{equal:Zr,value:void 0,kind:"signal"});function Yh(e){e.version++,pl(),Ri(e),Zh?.(e)}function El(e){let t=E(null);try{return e()}finally{E(t)}}var Dl=q(U({},ft),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Cl(e){if(e.dirty=!1,e.version>0&&!gt(e))return;e.version++;let t=We(e);try{e.cleanup(),e.fn()}finally{ht(e,t)}}var Xr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(t,n){super(eo(t,n)),this.code=t}};function Kh(e){return`NG0${Math.abs(e)}`}function eo(e,t){return`${Kh(e)}${t?": "+t:""}`}var Wt=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("")}function bl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Oe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Oe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function to(e,t){return e?t?`${e} ${t}`:e:t||""}var Jh=x({__forward_ref__:x});function no(e){return e.__forward_ref__=no,e.toString=function(){return Oe(this())},e}function W(e){return Zi(e)?e():e}function Zi(e){return typeof e=="function"&&e.hasOwnProperty(Jh)&&e.__forward_ref__===no}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _l(e){return{providers:e.providers||[],imports:e.imports||[]}}function An(e){return eg(e,ro)}function Xh(e){return An(e)!==null}function eg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function tg(e){let t=e?.[ro]??null;return t||null}function Vi(e){return e&&e.hasOwnProperty(Kr)?e[Kr]:null}var ro=x({\u0275prov:x}),Kr=x({\u0275inj:x}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Yi(e){return e&&!!e.\u0275providers}var Ki=x({\u0275cmp:x}),Ji=x({\u0275dir:x}),Xi=x({\u0275pipe:x}),es=x({\u0275mod:x}),Nn=x({\u0275fac:x}),Dt=x({__NG_ELEMENT_ID__:x}),wl=x({__NG_ENV_ID__:x});function ae(e){return typeof e=="string"?e:e==null?"":String(e)}function Ml(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ae(e)}var Nl=x({ngErrorCode:x}),ng=x({ngErrorMessage:x}),rg=x({ngTokenPath:x});function ts(e,t){return xl("",-200,t)}function oo(e,t){throw new _(-201,!1)}function xl(e,t,n){let r=new _(t,e);return r[Nl]=t,r[ng]=e,n&&(r[rg]=n),r}function og(e){return e[Nl]}var Hi;function Sl(){return Hi}function ee(e){let t=Hi;return Hi=e,t}function ns(e,t,n){let r=An(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;oo(e,"Injector")}var ig={},mt=ig,Bi="__NG_DI_FLAG__",$i=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=yt(n)||0;try{return this.injector.get(t,r&8?null:mt,r)}catch(o){if(Bt(o))return o;throw o}}};function sg(e,t=0){let n=Br();if(n===void 0)throw new _(-203,!1);if(n===null)return ns(e,void 0,t);{let r=ag(t),o=n.retrieve(e,r);if(Bt(o)){if(r.optional)return null;throw o}return o}}function Te(e,t=0){return(Sl()||sg)(W(e),t)}function C(e,t){return Te(e,yt(t))}function yt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ag(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ui(e){let t=[];for(let n=0;n<e.length;n++){let r=W(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=cg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Te(o,i))}else t.push(Te(r))}return t}function rs(e,t){return e[Bi]=t,e.prototype[Bi]=t,e}function cg(e){return e[Bi]}function vt(e,t){let n=e.hasOwnProperty(Nn);return n?e[Nn]:null}function Al(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Rl(e){return e.flat(Number.POSITIVE_INFINITY)}function io(e,t){e.forEach(n=>Array.isArray(n)?io(n,t):t(n))}function os(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ol(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function kl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function so(e,t,n){let r=Gt(e,t);return r>=0?e[r|1]=n:(r=~r,kl(e,r,t,n)),r}function ao(e,t){let n=Gt(e,t);if(n>=0)return e[n|1]}function Gt(e,t){return lg(e,t,1)}function lg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Qe={},z=[],Ct=new S(""),is=new S("",-1),ss=new S(""),xn=class{get(t,n=mt){if(n===mt){let o=xl("",-201);throw o.name="\u0275NotFound",o}return n}};function as(e){return e[es]||null}function be(e){return e[Ki]||null}function cs(e){return e[Ji]||null}function Pl(e){return e[Xi]||null}function ls(e){return{\u0275providers:e}}function Ll(...e){return{\u0275providers:us(!0,e),\u0275fromNgModule:!0}}function us(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return io(t,s=>{let a=s;Jr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Fl(o,i),n}function Fl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ds(o,i=>{t(i,r)})}}function Jr(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Vi(e),s=!i&&be(e);if(!i&&!s){let c=e.ngModule;if(i=Vi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Jr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;io(i.imports,u=>{Jr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Fl(l,t)}if(!a){let l=vt(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:ss,useValue:o,multi:!0},o),t({provide:Ct,useValue:()=>Te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ds(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ds(e,t){for(let n of e)Yi(n)&&(n=n.\u0275providers),Array.isArray(n)?ds(n,t):t(n)}var ug=x({provide:String,useValue:x});function jl(e){return e!==null&&typeof e=="object"&&ug in e}function dg(e){return!!(e&&e.useExisting)}function fg(e){return!!(e&&e.useFactory)}function It(e){return typeof e=="function"}function Vl(e){return!!e.useClass}var fs=new S(""),Yr={},Tl={},ji;function zt(){return ji===void 0&&(ji=new xn),ji}var se=class{},Et=class extends se{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Wi(t,s=>this.processProvider(s)),this.records.set(is,qt(void 0,this)),o.has("environment")&&this.records.set(se,qt(void 0,this));let i=this.records.get(fs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ss,z,{self:!0}))}retrieve(t,n){let r=yt(n)||0;try{return this.get(t,mt,r)}catch(o){if(Bt(o))return o;throw o}}destroy(){Mn(this),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return Mn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Mn(this);let n=we(this),r=ee(void 0),o;try{return t()}finally{we(n),ee(r)}}get(t,n=mt,r){if(Mn(this),t.hasOwnProperty(wl))return t[wl](this);let o=yt(r),i,s=we(this),a=ee(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=yg(t)&&An(t);u&&this.injectableDefInScope(u)?l=qt(qi(t),Yr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?zt():this.parent;return n=o&8&&n===mt?null:n,c.get(t,n)}catch(c){let l=og(c);throw l===-200||l===-201?new _(l,null):c}finally{ee(a),we(s)}}resolveInjectorInitializers(){let t=E(null),n=we(this),r=ee(void 0),o;try{let i=this.get(Ct,z,{self:!0});for(let s of i)s()}finally{we(n),ee(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Oe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=W(t);let n=It(t)?t:W(t&&t.provide),r=hg(t);if(!It(t)&&t.multi===!0){let o=this.records.get(n);o||(o=qt(void 0,Yr,!0),o.factory=()=>Ui(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Tl)throw ts(Oe(t));return n.value===Yr&&(n.value=Tl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&mg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function qi(e){let t=An(e),n=t!==null?t.factory:vt(e);if(n!==null)return n;if(e instanceof S)throw new _(204,!1);if(e instanceof Function)return pg(e);throw new _(204,!1)}function pg(e){if(e.length>0)throw new _(204,!1);let n=tg(e);return n!==null?()=>n.factory(e):()=>new e}function hg(e){if(jl(e))return qt(void 0,e.useValue);{let t=ps(e);return qt(t,Yr)}}function ps(e,t,n){let r;if(It(e)){let o=W(e);return vt(o)||qi(o)}else if(jl(e))r=()=>W(e.useValue);else if(fg(e))r=()=>e.useFactory(...Ui(e.deps||[]));else if(dg(e))r=(o,i)=>Te(W(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=W(e&&(e.useClass||e.provide));if(gg(e))r=()=>new o(...Ui(e.deps));else return vt(o)||qi(o)}return r}function Mn(e){if(e.destroyed)throw new _(205,!1)}function qt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gg(e){return!!e.deps}function mg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function yg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wi(e,t){for(let n of e)Array.isArray(n)?Wi(n,t):n&&Yi(n)?Wi(n.\u0275providers,t):t(n)}function co(e,t){let n;e instanceof Et?(Mn(e),n=e):n=new $i(e);let r,o=we(n),i=ee(void 0);try{return t()}finally{we(o),ee(i)}}function Hl(){return Sl()!==void 0||Br()!=null}var ge=0,g=1,v=2,B=3,ce=4,Y=5,wt=6,Qt=7,j=8,Pe=9,_e=10,A=11,Zt=12,hs=13,Tt=14,K=15,Ze=16,bt=17,Me=18,On=19,gs=20,Re=21,lo=22,Le=23,ne=24,_t=25,Mt=26,L=27,Bl=1,ms=6,Ye=7,kn=8,Nt=9,F=10;function Ne(e){return Array.isArray(e)&&typeof e[Bl]=="object"}function me(e){return Array.isArray(e)&&e[Bl]===!0}function ys(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Yt(e){return(e.flags&1)===1}function xe(e){return!!e.template}function Kt(e){return(e[v]&512)!==0}function xt(e){return(e[v]&256)===256}var vs="svg",$l="math";function le(e){for(;Array.isArray(e);)e=e[ge];return e}function Is(e,t){return le(t[e])}function ue(e,t){return le(t[e.index])}function Pn(e,t){return e.data[t]}function Ul(e,t){return e[t]}function de(e,t){let n=t[e];return Ne(n)?n:n[ge]}function ql(e){return(e[v]&4)===4}function uo(e){return(e[v]&128)===128}function Wl(e){return me(e[B])}function re(e,t){return t==null?null:e[t]}function Es(e){e[bt]=0}function Ds(e){e[v]&1024||(e[v]|=1024,uo(e)&&Ke(e))}function Gl(e,t){for(;e>0;)t=t[Tt],e--;return t}function Ln(e){return!!(e[v]&9216||e[ne]?.dirty)}function fo(e){e[_e].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),Ln(e)&&Ke(e)}function Ke(e){e[_e].changeDetectionScheduler?.notify(0);let t=ze(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!uo(t)));)t=ze(t)}function Cs(e,t){if(xt(e))throw new _(911,!1);e[Re]===null&&(e[Re]=[]),e[Re].push(t)}function zl(e,t){if(e[Re]===null)return;let n=e[Re].indexOf(t);n!==-1&&e[Re].splice(n,1)}function ze(e){let t=e[B];return me(t)?t[B]:t}function ws(e){return e[Qt]??=[]}function Ts(e){return e.cleanup??=[]}function Ql(e,t,n,r){let o=ws(t);o.push(n),e.firstCreatePass&&Ts(e).push(r,o.length-1)}var b={lFrame:cu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Gi=!1;function Zl(){return b.lFrame.elementDepthCount}function Yl(){b.lFrame.elementDepthCount++}function bs(){b.lFrame.elementDepthCount--}function po(){return b.bindingsEnabled}function _s(){return b.skipHydrationRootTNode!==null}function Ms(e){return b.skipHydrationRootTNode===e}function Ns(){b.skipHydrationRootTNode=null}function y(){return b.lFrame.lView}function k(){return b.lFrame.tView}function Kl(e){return b.lFrame.contextLView=e,e[j]}function Jl(e){return b.lFrame.contextLView=null,e}function V(){let e=xs();for(;e!==null&&e.type===64;)e=e.parent;return e}function xs(){return b.lFrame.currentTNode}function Xl(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Jt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Ss(){return b.lFrame.isParent}function As(){b.lFrame.isParent=!1}function eu(){return b.lFrame.contextLView}function Rs(){return Gi}function Xt(e){let t=Gi;return Gi=e,t}function tu(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Os(){return b.lFrame.bindingIndex}function nu(e){return b.lFrame.bindingIndex=e}function je(){return b.lFrame.bindingIndex++}function Fn(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ru(){return b.lFrame.inI18n}function ou(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,ho(t)}function iu(){return b.lFrame.currentDirectiveIndex}function ho(e){b.lFrame.currentDirectiveIndex=e}function su(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function go(){return b.lFrame.currentQueryIndex}function jn(e){b.lFrame.currentQueryIndex=e}function vg(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Y]:null}function ks(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=vg(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=au();return r.currentTNode=t,r.lView=e,!0}function mo(e){let t=au(),n=e[g];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function au(){let e=b.lFrame,t=e===null?null:e.child;return t===null?cu(e):t}function cu(e){let 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 e!==null&&(e.child=t),t}function lu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ps=lu;function yo(){let e=lu();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 uu(e){return(b.lFrame.contextLView=Gl(e,b.lFrame.contextLView))[j]}function ye(){return b.lFrame.selectedIndex}function Je(e){b.lFrame.selectedIndex=e}function en(){let e=b.lFrame;return Pn(e.tView,e.selectedIndex)}function du(){b.lFrame.currentNamespace=vs}function fu(){Ig()}function Ig(){b.lFrame.currentNamespace=null}function pu(){return b.lFrame.currentNamespace}var hu=!0;function vo(){return hu}function Vn(e){hu=e}function zi(e,t=null,n=null,r){let o=Ls(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ls(e,t=null,n=null,r,o=new Set){let i=[n||z,Ll(e)];return r=r||(typeof e=="object"?void 0:Oe(e)),new Et(i,t||zt(),r||null,o)}var he=class e{static THROW_IF_NOT_FOUND=mt;static NULL=new xn;static create(t,n){if(Array.isArray(t))return zi({name:""},n,t,"");{let r=t.name??"";return zi({name:r},t.parent,t.providers,r)}}static \u0275prov=$({token:e,providedIn:"any",factory:()=>Te(is)});static __NG_ELEMENT_ID__=-1},Eg=new S(""),Xe=(()=>{class e{static __NG_ELEMENT_ID__=Dg;static __NG_ENV_ID__=n=>n}return e})(),Sn=class extends Xe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return xt(this._lView)}onDestroy(t){let n=this._lView;return Cs(n,t),()=>zl(n,t)}};function Dg(){return new Sn(y())}var ke=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ve=new S("",{providedIn:"root",factory:()=>{let e=C(se),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(ke),t.handleError(n))}}}),gu={provide:Ct,useValue:()=>{C(ke)},multi:!0};function Fs(e){return typeof e=="function"&&e[H]!==void 0}function Io(e,t){let[n,r,o]=Li(e,t?.equal),i=n,s=i[H];return i.set=r,i.update=o,i.asReadonly=js.bind(i),i}function js(){let e=this[H];if(e.readonlyFn===void 0){let t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function Vs(e){return Fs(e)&&typeof e.set=="function"}var St=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Cg}return e})();function Cg(){return new St(y(),V())}var te=class{},Hn=new S("",{providedIn:"root",factory:()=>!1});var Hs=new S(""),Eo=new S(""),et=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new yn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),Bs=(()=>{class e{internalPendingTasks=C(et);scheduler=C(te);errorHandler=C(Ve);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})();function At(...e){}var Bn=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>new Qi})}return e})(),Qi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function dn(e){return{toString:e}.toString()}var Do="__parameters__";function Sg(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Yu(e,t,n){return dn(()=>{let r=Sg(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Do)?c[Do]:Object.defineProperty(c,Do,{value:[]})[Do];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ag=rs(Yu("Inject",e=>({token:e})),-1),Rg=rs(Yu("Optional"),8);function Og(e){return typeof e=="function"}var Ao=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ku(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var kg=(()=>{let e=()=>Ju;return e.ngInherit=!0,e})();function Ju(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lg),Pg}function Pg(){let e=ed(this),t=e?.current;if(t){let n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Lg(e,t,n,r,o){let i=this.declaredInputs[r],s=ed(e)||Fg(e,{previous:Qe,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ao(l&&l.currentValue,n,c===Qe),Ku(e,t,o,n)}var Xu="__ngSimpleChanges__";function ed(e){return e[Xu]||null}function Fg(e,t){return e[Xu]=t}var mu=[];var R=function(e,t=null,n){for(let r=0;r<mu.length;r++){let o=mu[r];o(e,t,n)}};function jg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ju(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function td(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function _o(e,t,n){nd(e,t,3,n)}function Mo(e,t,n,r){(e[v]&3)===n&&nd(e,t,n,r)}function $s(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function nd(e,t,n,r){let o=r!==void 0?e[bt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[bt]+=65536),(a<i||i==-1)&&(Vg(e,n,t,c),e[bt]=(e[bt]&4294901760)+c+2),c++}function yu(e,t){R(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),R(5,e,t)}}function Vg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[bt]>>16&&(e[v]&3)===t&&(e[v]+=16384,yu(a,i)):yu(a,i)}var nn=-1,Ot=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Hg(e){return(e.flags&8)!==0}function Bg(e){return(e.flags&16)!==0}function $g(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Ug(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function rd(e){return e===3||e===4||e===6}function Ug(e){return e.charCodeAt(0)===64}function rn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?vu(e,n,o,null,t[++r]):vu(e,n,o,null,null))}}return e}function vu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function od(e){return e!==nn}function Ro(e){return e&32767}function qg(e){return e>>16}function Oo(e,t){let n=qg(e),r=t;for(;n>0;)r=r[Tt],n--;return r}var Js=!0;function Iu(e){let t=Js;return Js=e,t}var Wg=256,id=Wg-1,sd=5,Gg=0,Se={};function zg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),r==null&&(r=n[Dt]=Gg++);let o=r&id,i=1<<o;t.data[e+(o>>sd)]|=i}function ko(e,t){let n=ad(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Us(r.data,e),Us(t,null),Us(r.blueprint,null));let o=Fa(e,t),i=e.injectorIndex;if(od(o)){let s=Ro(o),a=Oo(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Us(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ad(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=fd(o),r===null)return nn;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nn}function Xs(e,t,n){zg(e,t,n)}function Qg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(rd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function cd(e,t,n){if(n&8||e!==void 0)return e;oo(t,"NodeInjector")}function ld(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Pe],i=ee(void 0);try{return o?o.get(t,r,n&8):ns(t,r,n&8)}finally{ee(i)}}return cd(r,t,n)}function ud(e,t,n,r=0,o){if(e!==null){if(t[v]&2048&&!(r&2)){let s=Xg(e,t,n,r,Se);if(s!==Se)return s}let i=dd(e,t,n,r,Se);if(i!==Se)return i}return ld(t,n,r,o)}function dd(e,t,n,r,o){let i=Yg(n);if(typeof i=="function"){if(!ks(t,e,r))return r&1?cd(o,n,r):ld(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))oo(n);else return s}finally{Ps()}}else if(typeof i=="number"){let s=null,a=ad(e,t),c=nn,l=r&1?t[K][Y]:null;for((a===-1||r&4)&&(c=a===-1?Fa(e,t):t[a+8],c===nn||!Du(r,!1)?a=-1:(s=t[g],a=Ro(c),t=Oo(c,t)));a!==-1;){let u=t[g];if(Eu(i,a,u.data)){let d=Zg(a,t,n,s,r,l);if(d!==Se)return d}c=t[a+8],c!==nn&&Du(r,t[g].data[a+8]===l)&&Eu(i,a,t)?(s=u,a=Ro(c),t=Oo(c,t)):a=-1}}return o}function Zg(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&Js:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=No(a,s,n,c,l);return u!==null?qn(t,s,u,a,o):Se}function No(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&xe(f)&&f.type===n)return c}return null}function qn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ot){let a=i;if(a.resolving){let f=Ml(s[n]);throw ts(f)}let c=Iu(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ee(a.injectImpl):null,p=ks(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&jg(n,s[n],t)}finally{d!==null&&ee(d),Iu(c),a.resolving=!1,Ps()}}return i}function Yg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dt)?e[Dt]:void 0;return typeof t=="number"?t>=0?t&id:Kg:t}function Eu(e,t,n){let r=1<<e;return!!(n[t+(e>>sd)]&r)}function Du(e,t){return!(e&2)&&!(e&1&&t)}var Rt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ud(this._tNode,this._lView,t,yt(r),n)}};function Kg(){return new Rt(V(),y())}function Jg(e){return dn(()=>{let t=e.prototype.constructor,n=t[Nn]||ea(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Nn]||ea(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ea(e){return Zi(e)?()=>{let t=ea(W(e));return t&&t()}:vt(e)}function Xg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!Kt(s);){let a=dd(i,s,n,r|2,Se);if(a!==Se)return a;let c=i.parent;if(!c){let l=s[gs];if(l){let u=l.get(n,Se,r);if(u!==Se)return u}c=fd(s),s=s[Tt]}i=c}return o}function fd(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Y]:null}function pd(e){return Qg(V(),e)}function em(){return fn(V(),y())}function fn(e,t){return new er(ue(e,t))}var er=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=em}return e})();function hd(e){return e instanceof er?e.nativeElement:e}function tm(){return this._results[Symbol.iterator]()}var Po=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ie}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Rl(t);(this._changesDetected=!Al(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=tm};function gd(e){return(e.flags&128)===128}var ja=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ja||{}),md=new Map,nm=0;function rm(){return nm++}function om(e){md.set(e[On],e)}function ta(e){md.delete(e[On])}var Cu="__ngContext__";function on(e,t){Ne(t)?(e[Cu]=t[On],om(t)):e[Cu]=t}function yd(e){return Id(e[Zt])}function vd(e){return Id(e[ce])}function Id(e){for(;e!==null&&!me(e);)e=e[ce];return e}var na;function im(e){na=e}function Va(){if(na!==void 0)return na;if(typeof document<"u")return document;throw new _(210,!1)}var sm=new S("",{providedIn:"root",factory:()=>am}),am="ng",Ed=new S(""),cm=new S("",{providedIn:"platform",factory:()=>"unknown"});var lm=new S(""),um=new S("",{providedIn:"root",factory:()=>Va().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var dm="h",fm="b";var Dd="r";var Cd="di";var wd=!1,Td=new S("",{providedIn:"root",factory:()=>wd});var pm=(e,t,n,r)=>{};function hm(e,t,n,r){pm(e,t,n,r)}function Yo(e){return(e.flags&32)===32}var gm=()=>null;function bd(e,t,n=!1){return gm(e,t,n)}function _d(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];jn(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function ra(e,t,n){jn(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Ha(e,t,n){if(ys(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var sn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(sn||{});var Co;function mm(){if(Co===void 0&&(Co=null,Wt.trustedTypes))try{Co=Wt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Co}function Ko(e){return mm()?.createHTML(e)||e}var wo;function Md(){if(wo===void 0&&(wo=null,Wt.trustedTypes))try{wo=Wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return wo}function wu(e){return Md()?.createHTML(e)||e}function Tu(e){return Md()?.createScriptURL(e)||e}var Be=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xr})`}},oa=class extends Be{getTypeName(){return"HTML"}},ia=class extends Be{getTypeName(){return"Style"}},sa=class extends Be{getTypeName(){return"Script"}},aa=class extends Be{getTypeName(){return"URL"}},ca=class extends Be{getTypeName(){return"ResourceURL"}};function pn(e){return e instanceof Be?e.changingThisBreaksApplicationSecurity:e}function Jo(e,t){let n=Nd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Xr})`)}return n===t}function Nd(e){return e instanceof Be&&e.getTypeName()||null}function ym(e){return new oa(e)}function vm(e){return new ia(e)}function Im(e){return new sa(e)}function Em(e){return new aa(e)}function Dm(e){return new ca(e)}function Cm(e){let t=new ua(e);return wm()?new la(t):t}var la=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ko(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ua=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ko(t),n}};function wm(){try{return!!new window.DOMParser().parseFromString(Ko(""),"text/html")}catch{return!1}}var Tm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ba(e){return e=String(e),e.match(Tm)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function tr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var xd=$e("area,br,col,hr,img,wbr"),Sd=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ad=$e("rp,rt"),bm=tr(Ad,Sd),_m=tr(Sd,$e("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")),Mm=tr(Ad,$e("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")),bu=tr(xd,_m,Mm,bm),Rd=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nm=$e("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xm=$e("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"),Sm=tr(Rd,Nm,xm),Am=$e("script,style,template");var da=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];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){o.push(n),n=km(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Om(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=_u(t).toLowerCase();if(!bu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Am.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Sm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Rd[a]&&(c=Ba(c)),this.buf.push(" ",s,'="',Mu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=_u(t).toLowerCase();bu.hasOwnProperty(n)&&!xd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Mu(t))}};function Rm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Om(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Od(t);return t}function km(e){let t=e.firstChild;if(t&&Rm(e,t))throw Od(t);return t}function _u(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Od(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Pm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lm=/([^\#-~ |!])/g;function Mu(e){return e.replace(/&/g,"&amp;").replace(Pm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var To;function kd(e,t){let n=null;try{To=To||Cm(e);let r=t?String(t):"";n=To.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=To.getInertBodyElement(r)}while(r!==i);let a=new da().sanitizeChildren(Nu(n)||n);return Ko(a)}finally{if(n){let r=Nu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Nu(e){return"content"in e&&Fm(e)?e.content:null}function Fm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var jm=/^>|^->|<!--|-->|--!>|<!-$/g,Vm=/(<|>)/g,Hm="\u200B$1\u200B";function Bm(e){return e.replace(jm,t=>t.replace(Vm,Hm))}function $m(e,t){return e.createText(t)}function Um(e,t,n){e.setValue(t,n)}function qm(e,t){return e.createComment(Bm(t))}function Pd(e,t,n){return e.createElement(t,n)}function Lo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ld(e,t,n){e.appendChild(t,n)}function xu(e,t,n,r,o){r!==null?Lo(e,t,n,r,o):Ld(e,t,n)}function Fd(e,t,n,r){e.removeChild(null,t,n,r)}function Wm(e,t,n){e.setAttribute(t,"style",n)}function Gm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function jd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&$g(e,t,r),o!==null&&Gm(e,t,o),i!==null&&Wm(e,t,i)}var nr=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(nr||{});function zm(e){let t=$a();return t?wu(t.sanitize(nr.HTML,e)||""):Jo(e,"HTML")?wu(pn(e)):kd(Va(),ae(e))}function Vd(e){let t=$a();return t?t.sanitize(nr.URL,e)||"":Jo(e,"URL")?pn(e):Ba(ae(e))}function Hd(e){let t=$a();if(t)return Tu(t.sanitize(nr.RESOURCE_URL,e)||"");if(Jo(e,"ResourceURL"))return Tu(pn(e));throw new _(904,!1)}var Qm=new Set(["embed","frame","iframe","media","script"]),Zm=new Set(["base","link","script"]);function Ym(e,t){return t==="src"&&Qm.has(e)||t==="href"&&Zm.has(e)||t==="xlink:href"&&e==="script"?Hd:Vd}function Km(e,t,n){return Ym(t,n)(e)}function $a(){let e=y();return e&&e[_e].sanitizer}function Jm(e){return e.ownerDocument.defaultView}function Bd(e){return e instanceof Function?e():e}function Xm(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var $d="ng-template";function ey(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Xm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ua(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ua(e){return e.type===4&&e.value!==$d}function ty(e,t,n){let r=e.type===4&&!n?$d:e.value;return t===r}function ny(e,t,n){let r=4,o=e.attrs,i=o!==null?iy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ve(r)&&!ve(c))return!1;if(s&&ve(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ty(e,c,n)||c===""&&t.length===1){if(ve(r))return!1;s=!0}}else if(r&8){if(o===null||!ey(e,o,c,n)){if(ve(r))return!1;s=!0}}else{let l=t[++a],u=ry(c,o,Ua(e),n);if(u===-1){if(ve(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(e){return(e&1)===0}function ry(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return sy(t,e)}function Ud(e,t,n=!1){for(let r=0;r<t.length;r++)if(ny(e,t[r],n))return!0;return!1}function oy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function iy(e){for(let t=0;t<e.length;t++){let n=e[t];if(rd(n))return t}return e.length}function sy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function ay(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Su(e,t){return e?":not("+t.trim()+")":t}function cy(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ve(s)&&(t+=Su(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=Su(i,o)),t}function ly(e){return e.map(cy).join(",")}function uy(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ve(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Q={};function qa(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=dy(d,p),h=typeof l=="function"?l():l;return f[g]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function dy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function fy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=qa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Wa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ge]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),Es(d),d[B]=d[Tt]=e,d[j]=n,d[_e]=s||e&&e[_e],d[A]=a||e&&e[A],d[Pe]=c||e&&e[Pe]||null,d[Y]=i,d[On]=rm(),d[wt]=u,d[gs]=l,d[K]=t.type==2?e[K]:d,d}function py(e,t,n){let r=ue(t,e),o=fy(n),i=e[_e].rendererFactory,s=Ga(e,Wa(e,o,null,qd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function qd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Wd(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ga(e,t){return e[Zt]?e[hs][ce]=t:e[Zt]=t,e[hs]=t,t}function hy(e=1){Gd(k(),y(),ye()+e,!1)}function Gd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&_o(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Mo(t,i,0,n)}Je(n)}var Xo=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Xo||{});function fa(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Xo.SignalBased)!==0&&(c=t[i][H]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Ku(t,c,i,r)}finally{E(o)}}var Fo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Fo||{}),gy;function za(e,t){return gy(e,t)}var Wn=new Set,ei=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ei||{}),hn=new S(""),Au=new Set;function rt(e){Au.has(e)||(Au.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var zd=!1,pa=class extends ie{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Hl()&&(this.destroyRef=C(Xe,{optional:!0})??void 0,this.pendingTasks=C(et,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof P&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},He=pa;function Qd(e){let t,n;function r(){e=At;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ru(e){return queueMicrotask(()=>e()),()=>{e=At}}var Qa="isAngularZone",jo=Qa+"_ID",my=0,J=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new He(!1);onMicrotaskEmpty=new He(!1);onStable=new He(!1);onError=new He(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=zd}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Iy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,yy,At,At);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},yy={};function Za(e){if(e._nesting==0&&!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 vy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Qd(()=>{e.callbackScheduled=!1,ha(e),e.isCheckStableRunning=!0,Za(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ha(e)}function Iy(e){let t=()=>{vy(e)},n=my++;e._inner=e._inner.fork({name:"angular",properties:{[Qa]:!0,[jo]:n,[jo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ey(c))return r.invokeTask(i,s,a,c);try{return Ou(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ku(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Ou(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Dy(c)&&t(),ku(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ha(e),Za(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ha(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ou(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ku(e){e._nesting--,Za(e)}var Gn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new He;onMicrotaskEmpty=new He;onStable=new He;onError=new He;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,o){return t.apply(n,r)}};function Ey(e){return Zd(e,"__ignore_ng_zone__")}function Dy(e){return Zd(e,"__scheduler_tick__")}function Zd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ti=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ya=[0,1,2,3],Ka=(()=>{class e{ngZone=C(J);scheduler=C(te);errorHandler=C(ke,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(hn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of Ya)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[_t]??=[]).push(n),Ke(r),r[v]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ei.AFTER_NEXT_RENDER,n):n()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),zn=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[_t];t&&(this.view[_t]=t.filter(n=>n!==this))}};function Cy(e,t){let n=t?.injector??C(he);return rt("NgAfterNextRender"),Ty(e,n,t,!0)}function wy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ty(e,t,n,r){let o=t.get(ti);o.impl??=t.get(Ka);let i=t.get(hn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Xe):null,a=t.get(St,null,{optional:!0}),c=new zn(o.impl,wy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Yd=new S("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Kd(e,t,n){let r=e.get(Yd);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function by(e,t){let n=e.get(Yd);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function _y(e,t){for(let[n,r]of t)Kd(e,r.animateFns)}function Pu(e,t,n,r){let o=e?.[Mt]?.enter;t!==null&&o&&o.has(n.index)&&_y(r,o)}function tn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;me(o)?c=o:Ne(o)&&(l=!0,o=o[ge]);let u=le(o);e===0&&r!==null?(Pu(a,r,i,n),s==null?Ld(t,r,u):Lo(t,r,u,s||null,!0)):e===1&&r!==null?(Pu(a,r,i,n),Lo(t,r,u,s||null,!0)):e===2?Lu(a,i,n,d=>{Fd(t,u,l,d)}):e===3&&Lu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&Fy(t,e,n,c,i,r,s)}}function My(e,t){Jd(e,t),t[ge]=null,t[Y]=null}function Ny(e,t,n,r,o,i){r[ge]=o,r[Y]=t,ri(e,r,n,1,o,i)}function Jd(e,t){t[_e].changeDetectionScheduler?.notify(9),ri(e,t,t[A],2,null,null)}function xy(e){let t=e[Zt];if(!t)return qs(e[g],e);for(;t;){let n=null;if(Ne(t))n=t[Zt];else{let r=t[F];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Ne(t)&&qs(t[g],t),t=t[B];t===null&&(t=e),Ne(t)&&qs(t[g],t),n=t&&t[ce]}t=n}}function Ja(e,t){let n=e[Nt],r=n.indexOf(t);n.splice(r,1)}function ni(e,t){if(xt(t))return;let n=t[A];n.destroyNode&&ri(e,t,n,3,null,null),xy(t)}function qs(e,t){if(xt(t))return;let n=E(null);try{t[v]&=-129,t[v]|=256,t[ne]&&Ge(t[ne]),Ry(e,t),Ay(e,t),t[g].type===1&&t[A].destroy();let r=t[Ze];if(r!==null&&me(t[B])){r!==t[B]&&Ja(r,t);let o=t[Me];o!==null&&o.detachView(e)}ta(t)}finally{E(n)}}function Lu(e,t,n,r){let o=e?.[Mt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Wn.add(e),Kd(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Sy(e,r)}else e&&Wn.delete(e),r(!1)},o)}function Sy(e,t){let n=e[Mt]?.running;if(n){n.then(()=>{e[Mt].running=void 0,Wn.delete(e),t(!0)});return}t(!1)}function Ay(e,t){let n=e.cleanup,r=t[Qt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Qt]=null);let o=t[Re];if(o!==null){t[Re]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Le];if(i!==null){t[Le]=null;for(let s of i)s.destroy()}}function Ry(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Ot)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function Xd(e,t,n){return Oy(e,t.parent,n)}function Oy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ge];if(Fe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===sn.None||o===sn.Emulated)return null}return ue(r,n)}function ef(e,t,n){return Py(e,t,n)}function ky(e,t,n){return e.type&40?ue(e,n):null}var Py=ky,Fu;function Xa(e,t,n,r){let o=Xd(e,r,t),i=t[A],s=r.parent||t[Y],a=ef(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)xu(i,o,n[c],a,!1);else xu(i,o,n,a,!1);Fu!==void 0&&Fu(i,r,t,n,o)}function $n(e,t){if(t!==null){let n=t.type;if(n&3)return ue(t,e);if(n&4)return ga(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $n(e,r);{let o=e[t.index];return me(o)?ga(-1,o):le(o)}}else{if(n&128)return $n(e,t.next);if(n&32)return za(t,e)()||le(e[t.index]);{let r=tf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ze(e[K]);return $n(o,r)}else return $n(e,t.next)}}}return null}function tf(e,t){if(t!==null){let r=e[K][Y],o=t.projection;return r.projection[o]}return null}function ga(e,t){let n=F+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return $n(r,o)}return t[Ye]}function ec(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Pe];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&on(le(c),r),n.flags|=2),!Yo(n))if(l&8)ec(e,t,n.child,r,o,i,!1),tn(t,e,a,o,c,n,i,r);else if(l&32){let u=za(n,r),d;for(;d=u();)tn(t,e,a,o,d,n,i,r);tn(t,e,a,o,c,n,i,r)}else l&16?nf(e,t,r,n,o,i):tn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ri(e,t,n,r,o,i){ec(n,r,e.firstChild,t,o,i,!1)}function Ly(e,t,n){let r=t[A],o=Xd(e,n,t),i=n.parent||t[Y],s=ef(i,n,t);nf(r,0,t,n,o,s)}function nf(e,t,n,r,o,i){let s=n[K],c=s[Y].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];tn(t,e,n[Pe],o,u,r,i,n)}else{let l=c,u=s[B];gd(r)&&(l.flags|=128),ec(e,t,l,u,o,i,!0)}}function Fy(e,t,n,r,o,i,s){let a=r[Ye],c=le(r);a!==c&&tn(t,e,n,i,a,o,s);for(let l=F;l<r.length;l++){let u=r[l];ri(u[g],u,e,t,i,a)}}function jy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Fo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fo.Important),e.setStyle(n,r,o,i))}}function rf(e,t,n,r,o){let i=ye(),s=r&2;try{Je(-1),s&&t.length>L&&Gd(e,t,L,!1),R(s?2:0,o,n),n(r,o)}finally{Je(i),R(s?3:1,o,n)}}function oi(e,t,n){Uy(e,t,n),(n.flags&64)===64&&qy(e,t,n)}function rr(e,t,n=ue){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Vy(e,t,n,r){let i=r.get(Td,wd)||n===sn.ShadowDom,s=e.selectRootElement(t,i);return Hy(s),s}function Hy(e){By(e)}var By=()=>null;function $y(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function of(e,t,n,r,o,i){let s=t[g];if(ii(e,s,t,n,r)){Fe(e)&&af(t,e.index);return}e.type&3&&(n=$y(n)),sf(e,t,n,r,o,i)}function sf(e,t,n,r,o,i){if(e.type&3){let s=ue(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function af(e,t){let n=de(t,e);n[v]&16||(n[v]|=64)}function Uy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&py(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ko(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=qn(t,e,s,n);if(on(c,t),i!==null&&zy(t,s-r,c,a,n,i),xe(a)){let l=de(n.index,t);l[j]=qn(t,e,s,n)}}}function qy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=iu();try{Je(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ho(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Wy(c,l)}}finally{Je(-1),ho(s)}}function Wy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function tc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Ud(t,i.selectors,!1)&&(r??=[],xe(i)?r.unshift(i):r.push(i))}return r}function Gy(e,t,n,r,o,i){let s=ue(e,t);cf(t[A],s,i,e.value,n,r,o)}function cf(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ae(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function zy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];fa(r,n,c,l)}}function nc(e,t,n,r,o){let i=L+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,Jt(e,!0);let c=e.type===2;return c?(jd(t[A],a,e),(Zl()===0||Yt(e))&&on(a,t),Yl()):on(a,t),vo()&&(!c||!Yo(e))&&Xa(s,t,a,e),e}function rc(e){let t=e;return Ss()?As():(t=t.parent,Jt(t,!1)),t}function Qy(e,t){let n=e[Pe];if(!n)return;let r;try{r=n.get(Ve,null)}catch{r=null}r?.(t)}function ii(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];fa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];fa(u,l,r,o),a=!0}return a}function Zy(e,t){let n=de(t,e),r=n[g];Yy(r,n);let o=n[ge];o!==null&&n[wt]===null&&(n[wt]=bd(o,n[Pe])),R(18),oc(r,n,n[j]),R(19,n[j])}function Yy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function oc(e,t,n){mo(t);try{let r=e.viewQuery;r!==null&&ra(1,r,n);let o=e.template;o!==null&&rf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Me]?.finishViewCreation(e),e.staticContentQueries&&_d(e,t),e.staticViewQueries&&ra(2,e.viewQuery,n);let i=e.components;i!==null&&Ky(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,yo()}}function Ky(e,t){for(let n=0;n<t.length;n++)Zy(e,t[n])}function or(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Wa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ze]=l;let u=e[Me];return u!==null&&(c[Me]=u.createEmbeddedView(i)),oc(i,c,n),c}finally{E(o)}}function an(e,t){return!t||t.firstChild===null||gd(e)}function Qn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(le(i)),me(i)&&lf(i,r);let s=n.type;if(s&8)Qn(e,t,n.child,r);else if(s&32){let a=za(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=tf(t,n);if(Array.isArray(a))r.push(...a);else{let c=ze(t[K]);Qn(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function lf(e,t){for(let n=F;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Qn(r[g],r,o,t)}e[Ye]!==e[ge]&&t.push(e[Ye])}function uf(e){if(e[_t]!==null){for(let t of e[_t])t.impl.addSequence(t);e[_t].length=0}}var df=[];function Jy(e){return e[ne]??Xy(e)}function Xy(e){let t=df.pop()??Object.create(tv);return t.lView=e,t}function ev(e){e.lView[ne]!==e&&(e.lView=null,df.push(e))}var tv=q(U({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ke(e.lView)},consumerOnSignalRead(){this.lView[ne]=this}});function nv(e){let t=e[ne]??Object.create(rv);return t.lView=e,t}var rv=q(U({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ze(e.lView);for(;t&&!ff(t[g]);)t=ze(t);t&&Ds(t)},consumerOnSignalRead(){this.lView[ne]=this}});function ff(e){return e.type!==2}function pf(e){if(e[Le]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Le])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var ov=100;function hf(e,t=0){let r=e[_e].rendererFactory,o=!1;o||r.begin?.();try{iv(e,t)}finally{o||r.end?.()}}function iv(e,t){let n=Rs();try{Xt(!0),ma(e,t);let r=0;for(;Ln(e);){if(r===ov)throw new _(103,!1);r++,ma(e,1)}}finally{Xt(n)}}function sv(e,t,n,r){if(xt(t))return;let o=t[v],i=!1,s=!1;mo(t);let a=!0,c=null,l=null;i||(ff(e)?(l=Jy(t),c=We(l)):Gr()===null?(a=!1,l=nv(t),c=We(l)):t[ne]&&(Ge(t[ne]),t[ne]=null));try{Es(t),nu(e.bindingStartIndex),n!==null&&rf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&_o(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Mo(t,f,0,null),$s(t,0)}if(s||av(t),pf(t),gf(t,0),e.contentQueries!==null&&_d(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&_o(t,f)}else{let f=e.contentHooks;f!==null&&Mo(t,f,1),$s(t,1)}lv(e,t);let d=e.components;d!==null&&yf(t,d,0);let p=e.viewQuery;if(p!==null&&ra(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&_o(t,f)}else{let f=e.viewHooks;f!==null&&Mo(t,f,2),$s(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[lo]){for(let f of t[lo])f();t[lo]=null}i||(uf(t),t[v]&=-73)}catch(u){throw i||Ke(t),u}finally{l!==null&&(ht(l,c),a&&ev(l)),yo()}}function gf(e,t){for(let n=yd(e);n!==null;n=vd(n))for(let r=F;r<n.length;r++){let o=n[r];mf(o,t)}}function av(e){for(let t=yd(e);t!==null;t=vd(t)){if(!(t[v]&2))continue;let n=t[Nt];for(let r=0;r<n.length;r++){let o=n[r];Ds(o)}}}function cv(e,t,n){R(18);let r=de(t,e);mf(r,n),R(19,r[j])}function mf(e,t){uo(e)&&ma(e,t)}function ma(e,t){let r=e[g],o=e[v],i=e[ne],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&gt(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)sv(r,e,r.template,e[j]);else if(o&8192){let a=E(null);try{pf(e),gf(e,1);let c=r.components;c!==null&&yf(e,c,1),uf(e)}finally{E(a)}}}function yf(e,t,n){for(let r=0;r<t.length;r++)cv(e,t[r],n)}function lv(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Je(~o);else{let i=o,s=n[++r],a=n[++r];ou(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{Je(-1)}}function ic(e,t){let n=Rs()?64:1088;for(e[_e].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=ze(e);if(Kt(e)&&!r)return e;e=r}return null}function vf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function If(e,t){let n=F+t;if(n<e.length)return e[n]}function ir(e,t,n,r=!0){let o=t[g];if(uv(o,t,e,n),r){let s=ga(n,e),a=t[A],c=a.parentNode(e[Ye]);c!==null&&Ny(o,e[Y],a,t,c,s)}let i=t[wt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ef(e,t){let n=Zn(e,t);return n!==void 0&&ni(n[g],n),n}function Zn(e,t){if(e.length<=F)return;let n=F+t,r=e[n];if(r){let o=r[Ze];o!==null&&o!==e&&Ja(o,r),t>0&&(e[n-1][ce]=r[ce]);let i=Rn(e,F+t);My(r[g],r);let s=i[Me];s!==null&&s.detachView(i[g]),r[B]=null,r[ce]=null,r[v]&=-129}return r}function uv(e,t,n,r){let o=F+r,i=n.length;r>0&&(n[o-1][ce]=t),r<i-F?(t[ce]=n[o],os(n,F+r,t)):(n.push(t),t[ce]=null),t[B]=n;let s=t[Ze];s!==null&&n!==s&&Df(s,t);let a=t[Me];a!==null&&a.insertView(e),fo(t),t[v]|=128}function Df(e,t){let n=e[Nt],r=t[B];if(Ne(r))e[v]|=2;else{let o=r[B][K];t[K]!==o&&(e[v]|=2)}n===null?e[Nt]=[t]:n.push(t)}var tt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Qn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return xt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(me(t)){let n=t[kn],r=n?n.indexOf(this):-1;r>-1&&(Zn(t,r),Rn(n,r))}this._attachedToViewContainer=!1}ni(this._lView[g],this._lView)}onDestroy(t){Cs(this._lView,t)}markForCheck(){ic(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){fo(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,hf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Kt(this._lView),n=this._lView[Ze];n!==null&&!t&&Ja(n,this._lView),Jd(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=Kt(this._lView),r=this._lView[Ze];r!==null&&!n&&Df(r,this._lView),fo(this._lView)}};var Yn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=dv;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=or(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new tt(i)}}return e})();function dv(){return si(V(),y())}function si(e,t){return e.type&4?new Yn(t,e,fn(e,t)):null}function gn(e,t,n,r,o){let i=e.data[t];if(i===null)i=fv(e,t,n,r,o),ru()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Xl();i.injectorIndex=s===null?-1:s.injectorIndex}return Jt(i,!0),i}function fv(e,t,n,r,o){let i=xs(),s=Ss(),a=s?i:i&&i.parent,c=e.data[t]=hv(e,a,n,t,r,o);return pv(e,c,i,s),c}function pv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function hv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return _s()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var mS=new RegExp(`^(\\d+)*(${fm}|${dm})*(.*)`);function gv(e){let t=e[ms]??[],r=e[B][A],o=[];for(let i of t)i.data[Cd]!==void 0?o.push(i):mv(i,r);e[ms]=o}function mv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Dd];for(;n<o;){let i=r.nextSibling;Fd(t,r,!1),r=i,n++}}}var yv=()=>null,vv=()=>null;function Vo(e,t){return yv(e,t)}function Cf(e,t,n){return vv(e,t,n)}var wf=class{},ai=class{},ya=class{resolveComponentFactory(t){throw new _(917,!1)}},sr=class{static NULL=new ya},Kn=class{},Iv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Ev()}return e})();function Ev(){let e=y(),t=V(),n=de(t.index,e);return(Ne(n)?n:e)[A]}var Tf=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>null})}return e})();var xo={},va=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,xo,r);return o!==xo||n===xo?o:this.parentInjector.get(t,n,r)}};function Ho(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=to(o,a);else if(i==2){let c=a,l=t[++s];r=to(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ci(e,t=0){let n=y();if(n===null)return Te(e,t);let r=V();return ud(r,n,W(e),t)}function Dv(){let e="invalid";throw new Error(e)}function bf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Tv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Cv(n,r,i)}function Cv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new _(-301,!1);r.push(t[o],i)}}function wv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Tv(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&xe(f)&&(c=!0,wv(e,n,p)),Xs(ko(n,t),e,f.type)}Sv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Wd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=rn(n.mergedAttrs,f.hostAttrs),_v(e,n,t,d,f),xv(d,f,o),s!==null&&s.has(f)){let[m,N]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,N+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}bv(e,n,i)}function bv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))ju(0,t,o,r),ju(1,t,o,r),Hu(t,r,!1);else{let i=n.get(o);Vu(0,t,i,r),Vu(1,t,i,r),Hu(t,r,!0)}}}function ju(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),_f(t,i)}}function Vu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),_f(t,s)}}function _f(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ua(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function _v(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=vt(o.type,!0)),s=new Ot(i,xe(o),ci,null);e.blueprint[r]=s,n[r]=s,Mv(e,t,r,Wd(e,n,o.hostVars,Q),o)}function Mv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Nv(s)!=a&&s.push(a),s.push(n,r,i)}}function Nv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function xv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;xe(t)&&(n[""]=e)}}function Sv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function sc(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=re(l,s),d=gn(c,e,n,r,u);return i&&bf(c,t,d,re(l,a),o),d.mergedAttrs=rn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ho(d,d.attrs,!1),d.mergedAttrs!==null&&Ho(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ac(e,t){td(e,t),ys(t)&&e.queries.elementEnd(t)}function Av(e,t,n,r,o,i){let s=t.consts,a=re(s,o),c=gn(t,e,n,r,a);if(c.mergedAttrs=rn(c.mergedAttrs,c.attrs),i!=null){let l=re(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ho(c,c.attrs,!1),c.mergedAttrs!==null&&Ho(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function cc(e){return Nf(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Mf(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Nf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Rv(e,t,n){return e[t]=n}function oe(e,t,n){if(n===Q)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ia(e,t,n,r){let o=oe(e,t,n);return oe(e,t+1,r)||o}function Ov(e,t,n,r,o,i){let s=Ia(e,t,n,r);return Ia(e,t+2,o,i)||s}function So(e,t,n){return function r(o){let i=Fe(e)?de(e.index,t):t;ic(i,5);let s=t[j],a=Bu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Bu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Bu(e,t,n,r){let o=E(null);try{return R(6,t,n),n(r)!==!1}catch(i){return Qy(e,i),!1}finally{R(7,t,n),E(o)}}function xf(e,t,n,r,o,i,s,a){let c=Yt(e),l=!1,u=null;if(!r&&c&&(u=Pv(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ue(e,n),p=r?r(d):d;hm(n,p,i,a);let f=o.listen(p,i,a);if(!kv(i)){let h=r?m=>r(le(m[e.index])):e.index;Sf(h,t,n,i,a,f,!1)}}return l}function kv(e){return e.startsWith("animation")||e.startsWith("transition")}function Pv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Qt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Sf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ts(t):null,c=ws(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function $u(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);Sf(e.index,a,t,o,i,d,!0)}var Ea=Symbol("BINDING");var Bo=class extends sr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=be(t);return new nt(n,this.ngModule)}};function Lv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Xo.SignalBased)!==0};return o&&(i.transform=o),i})}function Fv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function jv(e,t,n){let r=t instanceof se?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new va(n,r):n}function Vv(e){let t=e.get(Kn,null);if(t===null)throw new _(407,!1);let n=e.get(Tf,null),r=e.get(te,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Hv(e,t){let n=Af(e);return Pd(t,n,n==="svg"?vs:n==="math"?$l:null)}function Af(e){return(e.selectors[0][0]||"div").toLowerCase()}var nt=class extends ai{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Lv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Fv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ly(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(22);let a=E(null);try{let c=this.componentDef,l=Bv(r,c,s,i),u=jv(c,o||this.ngModule,t),d=Vv(u),p=d.rendererFactory.createRenderer(null,c),f=r?Vy(p,r,c.encapsulation,u):Hv(c,p),h=s?.some(Uu)||i?.some(T=>typeof T!="function"&&T.bindings.some(Uu)),m=Wa(null,l,null,512|qd(c),null,null,d,p,u,null,bd(f,u,!0));m[L]=f,mo(m);let N=null;try{let T=sc(L,m,2,"#host",()=>l.directiveRegistry,!0,0);jd(p,f,T),on(f,m),oi(l,m,T),Ha(l,T,m),ac(l,T),n!==void 0&&Uv(T,this.ngContentSelectors,n),N=de(T.index,m),m[j]=N[j],oc(l,m,null)}catch(T){throw N!==null&&ta(N),ta(m),T}finally{R(23),yo()}return new $o(this.componentType,m,!!h)}finally{E(a)}}};function Bv(e,t,n,r){let o=e?["ng-version","20.3.21"]:uy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ea].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ea].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=cs(d);c.push(p)}return qa(0,null,$v(i,s),1,a,c,null,null,null,[o],null)}function $v(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Uu(e){let t=e[Ea].kind;return t==="input"||t==="twoWay"}var $o=class extends wf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Pn(n[g],L),this.location=fn(this._tNode,n),this.instance=de(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new tt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=ii(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=de(r.index,o);ic(s,1)}get injector(){return new Rt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Uv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var li=(()=>{class e{static __NG_ELEMENT_ID__=qv}return e})();function qv(){let e=V();return Of(e,y())}var Wv=li,Rf=class extends Wv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return fn(this._hostTNode,this._hostLView)}get injector(){return new Rt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fa(this._hostTNode,this._hostLView);if(od(t)){let n=Oo(t,this._hostLView),r=Ro(t),o=n[g].data[r+8];return new Rt(o,n)}else return new Rt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=qu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-F}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Vo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,an(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Og(t),l;if(c)l=n;else{let N=n||{};l=N.index,r=N.injector,o=N.projectableNodes,i=N.environmentInjector||N.ngModuleRef,s=N.directives,a=N.bindings}let u=c?t:new nt(be(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(se,null);T&&(i=T)}let p=be(u.componentType??{}),f=Vo(this._lContainer,p?.id??null),h=f?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,an(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Wl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new Rf(c,c[Y],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ir(s,o,i,r),t.attachToViewContainerRef(),os(Ws(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=qu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Zn(this._lContainer,n);r&&(Rn(Ws(this._lContainer),n),ni(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Zn(this._lContainer,n);return r&&Rn(Ws(this._lContainer),n)!=null?new tt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function qu(e){return e[kn]}function Ws(e){return e[kn]||(e[kn]=[])}function Of(e,t){let n,r=t[e.index];return me(r)?n=r:(n=vf(r,t,null,e),t[e.index]=n,Ga(t,n)),zv(n,t,e,r),new Rf(n,e,t)}function Gv(e,t){let n=e[A],r=n.createComment(""),o=ue(t,e),i=n.parentNode(o);return Lo(n,i,r,n.nextSibling(o),!1),r}var zv=Yv,Qv=()=>!1;function Zv(e,t,n){return Qv(e,t,n)}function Yv(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=le(r):o=Gv(t,n),e[Ye]=o}var Da=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ca=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)uc(t,n).matches!==null&&this.queries[n].setDirty()}},Uo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=tI(t):this.predicate=t}},wa=class e{queries;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++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(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)}},Ta=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Kv(n,i)),this.matchTNodeWithReadOption(t,n,No(n,t,i,!1,!1))}else r===Yn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,No(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===er||o===li||o===Yn&&n.type&4)this.addMatch(n.index,-2);else{let i=No(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Kv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Jv(e,t){return e.type&11?fn(e,t):e.type&4?si(e,t):null}function Xv(e,t,n,r){return n===-1?Jv(t,e):n===-2?eI(e,t,r):qn(e,e[g],n,t)}function eI(e,t,n){if(n===er)return fn(t,e);if(n===Yn)return si(t,e);if(n===li)return Of(t,e)}function kf(e,t,n,r){let o=t[Me].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Xv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ba(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=kf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=F;d<u.length;d++){let p=u[d];p[Ze]===p[B]&&ba(p[g],p,l,r)}if(u[Nt]!==null){let d=u[Nt];for(let p=0;p<d.length;p++){let f=d[p];ba(f[g],f,l,r)}}}}}return r}function lc(e,t){return e[Me].queries[t].queryList}function Pf(e,t,n){let r=new Po((n&4)===4);return Ql(e,t,r,r.destroy),(t[Me]??=new Ca).queries.push(new Da(r))-1}function Lf(e,t,n){let r=k();return r.firstCreatePass&&(jf(r,new Uo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Pf(r,y(),t)}function Ff(e,t,n,r){let o=k();if(o.firstCreatePass){let i=V();jf(o,new Uo(t,n,r),i.index),nI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Pf(o,y(),n)}function tI(e){return e.split(",").map(t=>t.trim())}function jf(e,t,n){e.queries===null&&(e.queries=new wa),e.queries.track(new Ta(t,n))}function nI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function uc(e,t){return e.queries.getByIndex(t)}function Vf(e,t){let n=e[g],r=uc(n,t);return r.crossesNgTemplate?ba(n,e,t,[]):kf(n,e,r,t)}function Hf(e,t,n){let r,o=bn(()=>{r._dirtyCounter();let i=rI(r,e);if(t&&i===void 0)throw new _(-951,!1);return i});return r=o[H],r._dirtyCounter=Io(0),r._flatValue=void 0,o}function dc(e){return Hf(!0,!1,e)}function fc(e){return Hf(!0,!0,e)}function Bf(e,t){let n=e[H];n._lView=y(),n._queryIndex=t,n._queryList=lc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function rI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:z;let o=lc(n,r),i=Vf(n,r);return o.reset(i,hd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var cn=class{},$f=class{};var qo=class extends cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Bo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=as(t);this._bootstrapComponents=Bd(i.bootstrap),this._r3Injector=Ls(t,n,[{provide:cn,useValue:this},{provide:sr,useValue:this.componentFactoryResolver},...r],Oe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Wo=class extends $f{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new qo(this.moduleType,t,[])}};var Jn=class extends cn{injector;componentFactoryResolver=new Bo(this);instance=null;constructor(t){super();let n=new Et([...t.providers,{provide:cn,useValue:this},{provide:sr,useValue:this.componentFactoryResolver}],t.parent||zt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Uf(e,t,n=null){return new Jn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var oI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=us(!1,n.type),o=r.length>0?Uf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=$({token:e,providedIn:"environment",factory:()=>new e(Te(se))})}return e})();function iI(e){return dn(()=>{let t=qf(e),n=q(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ja.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(oI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||sn.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&rt("NgStandalone"),Wf(n);let r=e.dependencies;return n.directiveDefs=Wu(r,sI),n.pipeDefs=Wu(r,Pl),n.id=dI(n),n})}function sI(e){return be(e)||cs(e)}function aI(e){return dn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function cI(e,t){if(e==null)return Qe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Xo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function lI(e){if(e==null)return Qe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function uI(e){return dn(()=>{let t=qf(e);return Wf(t),t})}function qf(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Qe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:cI(e.inputs,t),outputs:lI(e.outputs),debugInfo:null}}function Wf(e){e.features?.forEach(t=>t(e))}function Wu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function dI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function fI(e){return Object.getPrototypeOf(e.prototype).constructor}function Gf(e){let t=fI(e.type),n=!0,r=[e];for(;t;){let o;if(xe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Gs(e.inputs),s.declaredInputs=Gs(e.declaredInputs),s.outputs=Gs(e.outputs);let a=o.hostBindings;a&&yI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&gI(e,c),l&&mI(e,l),pI(e,o),bl(e.outputs,o.outputs),xe(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Gf&&(n=!1)}}t=Object.getPrototypeOf(t)}hI(r)}function pI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function hI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}function Gs(e){return e===Qe?{}:e===z?[]:e}function gI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function mI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function yI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function zf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=rn(e.mergedAttrs,e.attrs);let u=e.tView=qa(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Jt(e,!1);let c=II(n,t,e,r);vo()&&Xa(n,t,c,e),on(c,t);let l=vf(c,t,c,e);t[r+L]=l,Ga(t,l),Zv(l,e,t)}function vI(e,t,n,r,o,i,s,a,c,l,u){let d=n+L,p;return t.firstCreatePass?(p=gn(t,d,4,s||null,a||null),po()&&bf(t,e,p,re(t.consts,l),tc),td(t,p)):p=t.data[d],zf(p,e,t,n,r,o,i,c),Yt(p)&&oi(t,e,p),l!=null&&rr(e,p,u),p}function ln(e,t,n,r,o,i,s,a,c,l,u){let d=n+L,p;if(t.firstCreatePass){if(p=gn(t,d,4,s||null,a||null),l!=null){let f=re(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return zf(p,e,t,n,r,o,i,c),l!=null&&rr(e,p,u),p}function Qf(e,t,n,r,o,i,s,a){let c=y(),l=k(),u=re(l.consts,i);return vI(c,l,e,t,n,r,o,u,void 0,s,a),Qf}function Zf(e,t,n,r,o,i,s,a){let c=y(),l=k(),u=re(l.consts,i);return ln(c,l,e,t,n,r,o,u,void 0,s,a),Zf}var II=EI;function EI(e,t,n,r){return Vn(!0),t[A].createComment("")}var DI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Yf=new S("");function pc(e){return!!e&&typeof e.then=="function"}function Kf(e){return!!e&&typeof e.subscribe=="function"}var Jf=new S("");var hc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(Jf,{optional:!0})??[];injector=C(he);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=co(this.injector,o);if(pc(i))n.push(i);else if(Kf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xf=new S("");function ep(){Pi(()=>{let e="";throw new _(600,e)})}function tp(e){return e.isBoundToModule}var CI=10;var ar=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Ve);afterRenderManager=C(ti);zonelessEnabled=C(Hn);rootEffectScheduler=C(Bn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ie;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(et);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(lt(n=>!n))}constructor(){C(hn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=he.NULL){return this._injector.get(J).run(()=>{R(10);let s=n instanceof ai;if(!this._injector.get(hc).done){let h="";throw new _(405,h)}let c;s?c=n:c=this._injector.get(sr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=tp(c)?void 0:this._injector.get(cn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Yf,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Un(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ei.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Kn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<CI;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Ln(o))continue;let i=r&&!this.zonelessEnabled?0:1;hf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ln(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Un(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Xf,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Un(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Un(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function np(e,t){let n=y(),r=je();if(oe(n,r,t)){let o=k(),i=en();if(ii(i,o,n,e,t))Fe(i)&&af(n,i.index);else{let a=ue(i,n);cf(n[A],a,null,i.value,e,t,null)}}return np}function rp(e,t,n,r){let o=y(),i=je();if(oe(o,i,t)){let s=k(),a=en();Gy(a,o,e,t,n,r)}return rp}var wS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var _a=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function zs(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function wI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=zs(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=zs(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),N=n(s,p),T=n(i,u);if(Object.is(T,N)){let Ee=n(c,f);Object.is(Ee,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Go,o??=zu(e,i,s,n),Ma(e,r,i,T))e.updateValue(i,u),i++,s++;else if(o.has(T))r.set(m,e.detach(i)),s--;else{let Ee=e.create(i,t[i]);e.attach(i,Ee),i++,s++}}for(;i<=c;)Gu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=zs(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Go,o??=zu(e,i,s,n);let f=n(i,d);if(Ma(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Gu(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ma(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Gu(e,t,n,r,o){if(Ma(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function zu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Go=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function TI(e,t,n,r,o,i,s,a){rt("NgControlFlow");let c=y(),l=k(),u=re(l.consts,i);return ln(c,l,e,t,n,r,o,u,256,s,a),gc}function gc(e,t,n,r,o,i,s,a){rt("NgControlFlow");let c=y(),l=k(),u=re(l.consts,i);return ln(c,l,e,t,n,r,o,u,512,s,a),gc}function bI(e,t){rt("NgControlFlow");let n=y(),r=je(),o=n[r]!==Q?n[r]:-1,i=o!==-1?zo(n,L+o):void 0,s=0;if(oe(n,r,e)){let a=E(null);try{if(i!==void 0&&Ef(i,s),e!==-1){let c=L+e,l=zo(n,c),u=Aa(n[g],c),d=Cf(l,u,n),p=or(n,u,t,{dehydratedView:d});ir(l,p,s,an(u,d))}}finally{E(a)}}else if(i!==void 0){let a=If(i,s);a!==void 0&&(a[j]=t)}}var Na=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-F}};function _I(e){return e}function MI(e,t){return t}var xa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function NI(e,t,n,r,o,i,s,a,c,l,u,d,p){rt("NgControlFlow");let f=y(),h=k(),m=c!==void 0,N=y(),T=a?s.bind(N[K][j]):s,Ee=new xa(m,T);N[L+e]=Ee,ln(f,h,e+1,t,n,r,o,re(h.consts,i),256),m&&ln(f,h,e+2,c,l,u,d,re(h.consts,p),512)}var Sa=class extends _a{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-F}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[wt];this.needsIndexUpdate||=t!==this.length,ir(this.lContainer,n,t,an(this.templateTNode,r)),SI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,AI(this.lContainer,t),RI(this.lContainer,t)}create(t,n){let r=Vo(this.lContainer,this.templateTNode.tView.ssrId),o=or(this.hostLView,this.templateTNode,new Na(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ni(t[g],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return OI(this.lContainer,t)}};function xI(e){let t=E(null),n=ye();try{let r=y(),o=r[g],i=r[n],s=n+1,a=zo(r,s);if(i.liveCollection===void 0){let l=Aa(o,s);i.liveCollection=new Sa(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(wI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=je(),u=c.length===0;if(oe(r,l,u)){let d=n+2,p=zo(r,d);if(u){let f=Aa(o,d),h=Cf(p,f,r),m=or(r,f,void 0,{dehydratedView:h});ir(p,m,0,an(f,h))}else o.firstUpdatePass&&gv(p),Ef(p,0)}}}finally{E(t)}}function zo(e,t){return e[t]}function SI(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Mt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Pe];by(i,o),Wn.delete(r),o.detachedLeaveAnimationFns=void 0}}function AI(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Mt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function RI(e,t){return Zn(e,t)}function OI(e,t){return If(e,t)}function Aa(e,t){return Pn(e,t)}function op(e,t,n){let r=y(),o=je();if(oe(r,o,t)){let i=k(),s=en();of(s,r,e,t,r[A],n)}return op}function Ra(e,t,n,r,o){ii(t,e,n,o?"class":"style",r)}function mc(e,t,n,r){let o=y(),i=o[g],s=e+L,a=i.firstCreatePass?sc(s,o,2,t,tc,po(),n,r):i.data[s];if(nc(a,o,e,t,ap),Yt(a)){let c=o[g];oi(c,o,a),Ha(c,a,o)}return r!=null&&rr(o,a),mc}function yc(){let e=k(),t=V(),n=rc(t);return e.firstCreatePass&&ac(e,n),Ms(n)&&Ns(),bs(),n.classesWithoutHost!=null&&Hg(n)&&Ra(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Bg(n)&&Ra(e,n,y(),n.stylesWithoutHost,!1),yc}function ip(e,t,n,r){return mc(e,t,n,r),yc(),ip}function vc(e,t,n,r){let o=y(),i=o[g],s=e+L,a=i.firstCreatePass?Av(s,i,2,t,n,r):i.data[s];return nc(a,o,e,t,ap),r!=null&&rr(o,a),vc}function Ic(){let e=V(),t=rc(e);return Ms(t)&&Ns(),bs(),Ic}function sp(e,t,n,r){return vc(e,t,n,r),Ic(),sp}var ap=(e,t,n,r,o)=>(Vn(!0),Pd(t[A],r,pu()));function Ec(e,t,n){let r=y(),o=r[g],i=e+L,s=o.firstCreatePass?sc(i,r,8,"ng-container",tc,po(),t,n):o.data[i];if(nc(s,r,e,"ng-container",kI),Yt(s)){let a=r[g];oi(a,r,s),Ha(a,s,r)}return n!=null&&rr(r,s),Ec}function Dc(){let e=k(),t=V(),n=rc(t);return e.firstCreatePass&&ac(e,n),Dc}function cp(e,t,n){return Ec(e,t,n),Dc(),cp}var kI=(e,t,n,r,o)=>(Vn(!0),qm(t[A],""));function PI(){return y()}function lp(e,t,n){let r=y(),o=je();if(oe(r,o,t)){let i=k(),s=en();sf(s,r,e,t,r[A],n)}return lp}var cr="en-US";var LI=cr;function up(e){typeof e=="string"&&(LI=e.toLowerCase().replace(/_/g,"-"))}function dp(e,t,n){let r=y(),o=k(),i=V();return pp(o,r,r[A],i,e,t,n),dp}function fp(e,t,n){let r=y(),o=k(),i=V();return(i.type&3||n)&&xf(i,o,r,n,r[A],e,t,So(i,r,t)),fp}function pp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=So(r,t,i),xf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=So(r,t,i),$u(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=So(r,t,i),$u(r,t,d,o,o,c)}}function FI(e=1){return uu(e)}function jI(e,t){let n=null,r=oy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ud(e,i,!0):ay(r,i))return o}return n}function VI(e){let t=y()[K][Y];if(!t.projection){let n=e?e.length:1,r=t.projection=Ol(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?jI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function HI(e,t=0,n,r,o,i){let s=y(),a=k(),c=r?e+1:null;c!==null&&ln(s,a,c,r,o,i,null,n);let l=gn(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),As();let d=!s[wt]||_s();s[K][Y].projection[l.projection]===null&&c!==null?BI(s,a,c):d&&!Yo(l)&&Ly(a,s,l)}function BI(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Vo(i,o.tView.ssrId),a=or(e,o,void 0,{dehydratedView:s});ir(i,a,0,an(o,s))}function $I(e,t,n,r){Ff(e,t,n,r)}function UI(e,t,n){Lf(e,t,n)}function qI(e){let t=y(),n=k(),r=go();jn(r+1);let o=uc(n,r);if(e.dirty&&ql(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Vf(t,r);e.reset(i,hd),e.notifyOnChanges()}return!0}return!1}function WI(){return lc(y(),go())}function GI(e,t,n,r,o){Bf(t,Ff(e,n,r,o))}function zI(e,t,n,r){Bf(e,Lf(t,n,r))}function QI(e=1){jn(go()+e)}function ZI(e){let t=eu();return Ul(t,L+e)}function bo(e,t){return e<<17|t<<2}function kt(e){return e>>17&32767}function YI(e){return(e&2)==2}function KI(e,t){return e&131071|t<<17}function Oa(e){return e|2}function un(e){return(e&131068)>>2}function Qs(e,t){return e&-131069|t<<2}function JI(e){return(e&1)===1}function ka(e){return e|1}function XI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=kt(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Gt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=kt(e[a+1]);e[r+1]=bo(p,a),p!==0&&(e[p+1]=Qs(e[p+1],r)),e[a+1]=KI(e[a+1],r)}else e[r+1]=bo(a,0),a!==0&&(e[a+1]=Qs(e[a+1],r)),a=r;else e[r+1]=bo(c,0),a===0?a=r:e[c+1]=Qs(e[c+1],r),c=r;l&&(e[r+1]=Oa(e[r+1])),Qu(e,u,r,!0),Qu(e,u,r,!1),eE(t,u,e,r,i),s=bo(a,c),i?t.classBindings=s:t.styleBindings=s}function eE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Gt(i,t)>=0&&(n[r+1]=ka(n[r+1]))}function Qu(e,t,n,r){let o=e[n+1],i=t===null,s=r?kt(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];tE(c,t)&&(a=!0,e[s+1]=r?ka(l):Oa(l)),s=r?kt(l):un(l)}a&&(e[n+1]=r?Oa(o):ka(o))}function tE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Gt(e,t)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nE(e){return e.substring(Ie.key,Ie.keyEnd)}function rE(e){return oE(e),hp(e,gp(e,0,Ie.textEnd))}function hp(e,t){let n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=iE(e,Ie.key=t,n),gp(e,t,n))}function oE(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function gp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function iE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function mp(e,t,n){return vp(e,t,n,!1),mp}function yp(e,t){return vp(e,t,null,!0),yp}function sE(e){cE(hE,aE,e,!0)}function aE(e,t){for(let n=rE(t);n>=0;n=hp(t,n))so(e,nE(t),!0)}function vp(e,t,n,r){let o=y(),i=k(),s=Fn(2);if(i.firstUpdatePass&&Ep(i,e,s,r),t!==Q&&oe(o,s,t)){let a=i.data[ye()];Dp(i,a,o,o[A],e,o[s+1]=mE(t,n),r,s)}}function cE(e,t,n,r){let o=k(),i=Fn(2);o.firstUpdatePass&&Ep(o,null,i,r);let s=y();if(n!==Q&&oe(s,i,n)){let a=o.data[ye()];if(Cp(a,r)&&!Ip(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=to(c,n||"")),Ra(o,a,s,n,r)}else gE(o,a,s,s[A],s[i+1],s[i+1]=pE(e,t,n),r,i)}}function Ip(e,t){return t>=e.expandoStartIndex}function Ep(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=Ip(e,n);Cp(i,r)&&t===null&&!s&&(t=!1),t=lE(o,i,t,r),XI(o,i,t,n,s,r)}}function lE(e,t,n,r){let o=su(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Zs(null,e,t,n,r),n=Xn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Zs(o,e,t,n,r),i===null){let c=uE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Zs(null,e,t,c[1],r),c=Xn(c,t.attrs,r),dE(e,t,r,c))}else i=fE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function uE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[kt(r)]}function dE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[kt(o)]=r}function fE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Xn(r,s,n)}return Xn(r,t.attrs,n)}function Zs(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Xn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Xn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),so(e,s,n?!0:t[++i]))}return e===void 0?null:e}function pE(e,t,n){if(n==null||n==="")return z;let r=[],o=pn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function hE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&so(e,r,n)}function gE(e,t,n,r,o,i,s,a){o===Q&&(o=z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=f),h!==null&&Dp(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Dp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=JI(l)?Zu(c,t,n,o,un(l),s):void 0;if(!Qo(u)){Qo(i)||YI(l)&&(i=Zu(c,null,n,o,a,s));let d=Is(ye(),n);jy(r,s,d,o,i)}}function Zu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Q&&(p=d?z:void 0);let f=d?ao(p,r):u===r?p:void 0;if(l&&!Qo(f)&&(f=ao(c,r)),Qo(f)&&(a=f,s))return a;let h=e[o+1];o=s?kt(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ao(c,r))}return a}function Qo(e){return e!==void 0}function mE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Oe(pn(e)))),e}function Cp(e,t){return(e.flags&(t?8:16))!==0}function yE(e,t=""){let n=y(),r=k(),o=e+L,i=r.firstCreatePass?gn(r,o,1,t,null):r.data[o],s=vE(r,n,i,t,e);n[o]=s,vo()&&Xa(r,n,s,i),Jt(i,!1)}var vE=(e,t,n,r,o)=>(Vn(!0),$m(t[A],r));function wp(e,t,n,r=""){return oe(e,je(),n)?t+ae(n)+r:Q}function IE(e,t,n,r,o,i=""){let s=Os(),a=Ia(e,s,n,o);return Fn(2),a?t+ae(n)+r+ae(o)+i:Q}function EE(e,t,n,r,o,i,s,a,c,l=""){let u=Os(),d=Ov(e,u,n,o,s,c);return Fn(4),d?t+ae(n)+r+ae(o)+i+ae(s)+a+ae(c)+l:Q}function Tp(e){return Cc("",e),Tp}function Cc(e,t,n){let r=y(),o=wp(r,e,t,n);return o!==Q&&wc(r,ye(),o),Cc}function bp(e,t,n,r,o){let i=y(),s=IE(i,e,t,n,r,o);return s!==Q&&wc(i,ye(),s),bp}function _p(e,t,n,r,o,i,s,a,c){let l=y(),u=EE(l,e,t,n,r,o,i,s,a,c);return u!==Q&&wc(l,ye(),u),_p}function wc(e,t,n){let r=Is(t,e);Um(e[A],r,n)}function Mp(e,t,n){Vs(t)&&(t=t());let r=y(),o=je();if(oe(r,o,t)){let i=k(),s=en();of(s,r,e,t,r[A],n)}return Mp}function DE(e,t){let n=Vs(e);return n&&e.set(t),n}function Np(e,t){let n=y(),r=k(),o=V();return pp(r,n,n[A],o,e,t),Np}function CE(e,t,n=""){return wp(y(),e,t,n)}function wE(e,t,n){let r=k();if(r.firstCreatePass){let o=xe(e);Pa(n,r.data,r.blueprint,o,!0),Pa(t,r.data,r.blueprint,o,!1)}}function Pa(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i<e.length;i++)Pa(e[i],t,n,r,o);else{let i=k(),s=y(),a=V(),c=It(e)?e:W(e.provide),l=ps(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(It(e)||!e.multi){let f=new Ot(l,o,ci,null),h=Ks(c,t,o?u:u+p,d);h===-1?(Xs(ko(a,s),i,c),Ys(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ks(c,t,u+p,d),h=Ks(c,t,u,u+p),m=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!m){Xs(ko(a,s),i,c);let T=_E(o?bE:TE,n.length,o,r,l,e);!o&&N&&(n[h].providerFactory=T),Ys(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=xp(n[o?h:f],l,!o&&r);Ys(i,e,f>-1?f:h,T)}!o&&r&&N&&n[h].componentProviders++}}}function Ys(e,t,n,r){let o=It(t),i=Vl(t);if(o||i){let c=(i?W(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function xp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ks(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function TE(e,t,n,r,o){return La(this.multi,[])}function bE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=qn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),La(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],La(i,s);return s}function La(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function _E(e,t,n,r,o,i){let s=new Ot(e,n,ci,null);return s.multi=[],s.index=t,s.componentProviders=0,xp(s,o,r&&!n),s}function ME(e,t=[]){return n=>{n.providersResolver=(r,o)=>wE(r,o?o(e):e,t)}}function NE(e,t,n,r){return SE(y(),tu(),e,t,n,r)}function xE(e,t){let n=e[t];return n===Q?void 0:n}function SE(e,t,n,r,o,i){let s=t+n;return oe(e,s,o)?Rv(e,s+1,i?r.call(i,o):r(o)):xE(e,s+1)}function AE(e,t){return si(e,t)}var Zo=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},RE=(()=>{class e{compileModuleSync(n){return new Wo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=as(n),i=Bd(o.declarations).reduce((s,a)=>{let c=be(a);return c&&s.push(new nt(c)),s},[]);return new Zo(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var OE=(()=>{class e{zone=C(J);changeDetectionScheduler=C(te);applicationRef=C(ar);applicationErrorHandler=C(Ve);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new J(q(U({},Ap()),{scheduleInRootZone:n})),[{provide:J,useFactory:e},{provide:Ct,multi:!0,useFactory:()=>{let r=C(OE,{optional:!0});return()=>r.initialize()}},{provide:Ct,multi:!0,useFactory:()=>{let r=C(kE);return()=>{r.initialize()}}},t===!0?{provide:Hs,useValue:!0}:[],{provide:Eo,useValue:n??zd},{provide:Ve,useFactory:()=>{let r=C(J),o=C(se),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(ke),i.handleError(s))})}}}]}function Ap(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var kE=(()=>{class e{subscription=new P;initialized=!1;zone=C(J);pendingTasks=C(et);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Tc=(()=>{class e{applicationErrorHandler=C(Ve);appRef=C(ar);taskService=C(et);ngZone=C(J);zonelessEnabled=C(Hn);tracing=C(hn,{optional:!0});disableScheduling=C(Hs,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new P;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(jo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Eo,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Gn||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ru:Qd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(jo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ru(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function PE(){return rt("NgZoneless"),ls([{provide:te,useExisting:Tc},{provide:J,useClass:Gn},{provide:Hn,useValue:!0},{provide:Eo,useValue:!1},[]])}function LE(){return typeof $localize<"u"&&$localize.locale||cr}var bc=new S("",{providedIn:"root",factory:()=>C(bc,{optional:!0,skipSelf:!0})||LE()});function FE(e){return El(e)}function jE(e,t){return bn(e,t?.equal)}var _c=class{[H];constructor(t){this[H]=t}destroy(){this[H].destroy()}};function VE(e,t){let n=t?.injector??C(he),r=t?.manualCleanup!==!0?n.get(Xe):null,o,i=n.get(St,null,{optional:!0}),s=n.get(te);return i!==null?(o=$E(i.view,s,e),r instanceof Sn&&r._lView===i.view&&(r=null)):o=UE(e,n.get(Bn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new _c(o)}var Rp=q(U({},Dl),{cleanupFns:void 0,zone:null,onDestroyFn:At,run(){let e=Xt(!1);try{Cl(this)}finally{Xt(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),HE=q(U({},Rp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ge(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),BE=q(U({},Rp),{consumerMarkedDirty(){this.view[v]|=8192,Ke(this.view),this.notifier.notify(13)},destroy(){Ge(this),this.onDestroyFn(),this.cleanup(),this.view[Le]?.delete(this)}});function $E(e,t,n){let r=Object.create(BE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Op(r,n),e[Le]??=new Set,e[Le].add(r),r.consumerMarkedDirty(r),r}function UE(e,t,n){let r=Object.create(HE);return r.fn=Op(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Op(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Hp=Symbol("InputSignalNode#UNSET"),WE=q(U({},_n),{transformFn:void 0,applyValueToInputSignal(e,t){Ut(e,t)}});function Bp(e,t){let n=Object.create(WE);n.value=e,n.transformFn=t?.transform;function r(){if(pt(n),n.value===Hp){let o=null;throw new _(-950,o)}return n.value}return r[H]=n,r}var kp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>pd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},GE=new S("");GE.__NG_ELEMENT_ID__=e=>{let t=V();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new _(204,!1)};function Pp(e,t){return Bp(e,t)}function zE(e){return Bp(Hp,e)}var xL=(Pp.required=zE,Pp);function Lp(e,t){return dc(t)}function QE(e,t){return fc(t)}var SL=(Lp.required=QE,Lp);function Fp(e,t){return dc(t)}function ZE(e,t){return fc(t)}var AL=(Fp.required=ZE,Fp);var Nc=new S(""),YE=new S("");function lr(e){return!e.moduleRef}function KE(e){let t=lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ve),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Nc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Nc);s.add(i),e.moduleRef.onDestroy(()=>{Un(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return XE(r,n,()=>{let i=t.get(et),s=i.add(),a=t.get(hc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(bc,cr);if(up(c||cr),!t.get(YE,!0))return lr(e)?t.get(ar):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(lr(e)){let u=t.get(ar);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return JE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var JE;function XE(e,t,n){try{let r=n();return pc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ui=null;function eD(e=[],t){return he.create({name:t,providers:[{provide:fs,useValue:"platform"},{provide:Nc,useValue:new Set([()=>ui=null])},...e]})}function tD(e=[]){if(ui)return ui;let t=eD(e);return ui=t,ep(),nD(t),t}function nD(e){let t=e.get(Ed,null);co(e,()=>{t?.forEach(n=>n())})}var RL=(()=>{class e{static __NG_ELEMENT_ID__=rD}return e})();function rD(e){return oD(V(),y(),(e&16)===16)}function oD(e,t,n){if(Fe(e)&&!n){let r=de(e.index,t);return new tt(r,r)}else if(e.type&175){let r=t[K];return new tt(r,t)}return null}var xc=class{constructor(){}supports(t){return cc(t)}create(t){return new Sc(t)}},iD=(e,t)=>t,Sc=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||iD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<jp(r,o,i)?n:r,a=jp(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!cc(t))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Mf(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;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,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Ac(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,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=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new di),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new di),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=t,t}},Ac=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Rc=class{_head=null;_tail=null;add(t){this._head===null?(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;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},di=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Rc,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jp(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function Vp(){return new sD([new xc])}var sD=(()=>{class e{factories;static \u0275prov=$({token:e,providedIn:"root",factory:Vp});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=C(e,{optional:!0,skipSelf:!0});return e.create(n,r||Vp())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _(901,!1)}}return e})();function OL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(8);try{let i=o?.injector??tD(r),s=[Sp({}),{provide:te,useExisting:Tc},gu,...n||[]],a=new Jn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return KE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(9)}}function kL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function PL(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Mc=Symbol("NOT_SET"),$p=new Set,aD=q(U({},_n),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Mc,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Mc&&!gt(this))return this.signal;try{for(let o of this.cleanup??$p)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=We(this),r;try{r=this.userFn.apply(null,t)}finally{ht(this,n)}return(this.value===Mc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Oc=class extends zn{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Xe),s),this.scheduler=o;for(let a of Ya){let c=n[a];if(c===void 0)continue;let l=Object.create(aD);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(pt(l),l.value),l.signal[H]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??$p)n()}finally{Ge(t)}}};function LL(e,t){let n=t?.injector??C(he),r=n.get(te),o=n.get(ti),i=n.get(hn,null,{optional:!0});o.impl??=n.get(Ka);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(St,null,{optional:!0}),c=new Oc(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function FL(e,t){let n=be(e),r=t.elementInjector||zt();return new nt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function jL(e){let t=be(e);if(!t)return null;let n=new nt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{U as a,q as b,cD as c,P as d,Yp as e,M as f,Ei as g,Di as h,ie as i,yn as j,nh as k,rh as l,at as m,Ce as n,dh as o,fh as p,ph as q,Ae as r,Zp as s,lt as t,Dh as u,ut as v,Cn as w,Vr as x,wh as y,Th as z,bi as A,bh as B,dt as C,_h as D,ul as E,Mh as F,Nh as G,wn as H,_i as I,xh as J,Rh as K,Oh as L,Mi as M,kh as N,Ph as O,Lh as P,xi as Q,Fh as R,jh as S,Vh as T,Hh as U,Bh as V,$h as W,Uh as X,_ as Y,eo as Z,no as _,$,_l as aa,Xh as ba,S as ca,Te as da,C as ea,ls as fa,fs as ga,se as ha,co as ia,Kl as ja,Jl as ka,du as la,fu as ma,he as na,Eg as oa,Xe as pa,ke as qa,Ve as ra,Fs as sa,Io as ta,te as ua,et as va,Bs as wa,Ag as xa,Rg as ya,kg as za,Jg as Aa,pd as Ba,er as Ca,Po as Da,im as Ea,sm as Fa,Ed as Ga,cm as Ha,lm as Ia,um as Ja,sn as Ka,pn as La,Jo as Ma,ym as Na,vm as Oa,Im as Pa,Em as Qa,Dm as Ra,Ba as Sa,kd as Ta,nr as Ua,zm as Va,Vd as Wa,Km as Xa,Jm as Ya,hy as Za,Fo as _a,Wn as $a,hn as ab,rt as bb,He as cb,J as db,Cy as eb,Yn as fb,Kn as gb,Iv as hb,ci as ib,Dv as jb,li as kb,cn as lb,$f as mb,Uf as nb,iI as ob,aI as pb,uI as qb,Gf as rb,Qf as sb,Zf as tb,DI as ub,pc as vb,Xf as wb,ar as xb,np as yb,rp as zb,TI as Ab,bI as Bb,_I as Cb,MI as Db,NI as Eb,xI as Fb,op as Gb,mc as Hb,yc as Ib,ip as Jb,vc as Kb,Ic as Lb,sp as Mb,cp as Nb,PI as Ob,lp as Pb,dp as Qb,fp as Rb,FI as Sb,VI as Tb,HI as Ub,$I as Vb,UI as Wb,qI as Xb,WI as Yb,GI as Zb,zI as _b,QI as $b,ZI as ac,mp as bc,yp as cc,sE as dc,yE as ec,Tp as fc,Cc as gc,bp as hc,_p as ic,Mp as jc,DE as kc,Np as lc,CE as mc,ME as nc,NE as oc,AE as pc,RE as qc,PE as rc,FE as sc,jE as tc,VE as uc,kp as vc,GE as wc,xL as xc,SL as yc,AL as zc,RL as Ac,sD as Bc,OL as Cc,kL as Dc,PL as Ec,LL as Fc,FL as Gc,jL as Hc};
@@ -0,0 +1 @@
1
+ import{a as te,b as ne,c as ie,d as ae,f as oe,h as re,i as se,l as le,m as me}from"./chunk-SCAIGUJL.js";import{b as z,f as G,h as J,j as W}from"./chunk-SLQ2WBUA.js";import"./chunk-3TYCIBMV.js";import"./chunk-AEERNAF7.js";import{a as Q,b as K}from"./chunk-NC2VPB4Y.js";import{d as $,f as U,g as H}from"./chunk-TSB6OOH2.js";import{a as X,b as Y,c as Z,d as ee}from"./chunk-NXNVIINH.js";import{c as L}from"./chunk-LQNYSOSZ.js";import{P as A,Q as V,f as N,i as B,ua as j}from"./chunk-QLKOKZDG.js";import{Ab as g,Bb as f,Cb as I,Db as O,Eb as v,Fb as y,Gb as u,Hb as o,Ib as a,Jb as b,Ob as M,Qb as h,Sb as d,Za as s,cc as T,ea as w,ec as r,fc as p,gc as k,ja as _,ka as C,ob as q,oc as D,s as E,ta as c,tc as P,uc as F,za as R,zb as x}from"./chunk-F2EDJ6FT.js";var ue=n=>["/apps",n],he=(n,t)=>t.value;function ge(n,t){if(n&1&&b(0,"dm-status-pill",4),n&2){let e=t;u("status",e.status)("health",e.health)}}function fe(n,t){if(n&1&&(o(0,"span"),r(1,"Last refreshed "),o(2,"dm-mono"),r(3),a()()),n&2){let e=d();s(3),p(e.lastRefreshedLabel())}}function _e(n,t){n&1&&(o(0,"span"),r(1,"Loading\u2026"),a())}function Ce(n,t){n&1&&(o(0,"span",2),r(1,"\xB7"),a(),o(2,"span",10),r(3,"paused"),a())}function xe(n,t){n&1&&(o(0,"dm-empty",9)(1,"a",11),r(2,"Go to apps"),a()())}function ve(n,t){if(n&1&&(o(0,"mat-option",15),r(1),a()),n&2){let e=t.$implicit;u("value",e.value),s(),p(e.label)}}function ye(n,t){if(n&1){let e=M();o(0,"button",26),h("click",function(){let l=_(e).$implicit,m=d(2);return C(m.toggleMethod(l))}),r(1),a()}if(n&2){let e=t.$implicit,i=d(2);T("dm-chip-active",i.methodFilter().has(e)),x("data-method",e),s(),k(" ",e," ")}}function be(n,t){if(n&1){let e=M();o(0,"button",26),h("click",function(){let l=_(e).$implicit,m=d(2);return C(m.toggleStatus(l))}),r(1),a()}if(n&2){let e=t.$implicit,i=d(2);T("dm-chip-active",i.statusFilter().has(e)),x("data-bucket",e),s(),k(" ",e," ")}}function Me(n,t){if(n&1){let e=M();o(0,"button",27),h("click",function(){_(e);let l=d(2);return C(l.pathQuery.set(""))}),o(1,"mat-icon"),r(2,"close"),a()()}}function Pe(n,t){n&1&&(o(0,"div",22),b(1,"dm-skeleton",28)(2,"dm-skeleton",28)(3,"dm-skeleton",28)(4,"dm-skeleton",28),a())}function Se(n,t){n&1&&b(0,"dm-empty",23)}function ke(n,t){n&1&&b(0,"dm-empty",24)}function we(n,t){if(n&1&&(o(0,"tr")(1,"td",30)(2,"dm-mono")(3,"span",35),r(4),a()()(),o(5,"td",31)(6,"dm-mono")(7,"span",36),r(8),a()()(),o(9,"td",32)(10,"dm-mono")(11,"span",37),r(12),a()()(),o(13,"td",33)(14,"dm-mono")(15,"span",38),r(16),a()()(),o(17,"td",34)(18,"dm-mono"),r(19),a()()()),n&2){let e=t.$implicit,i=d(3);s(3),u("matTooltip",i.absTs(e.ts)),s(),p(i.relTs(e.ts)),s(3),x("data-method",e.method),s(),p(e.method),s(3),x("data-bucket",i.bucketOf(e.status)),s(),p(e.status),s(3),u("title",e.path),s(),p(e.path),s(3),p(e.durationMs)}}function Oe(n,t){if(n&1&&(o(0,"div",25)(1,"table",29)(2,"thead")(3,"tr")(4,"th",30),r(5,"Time"),a(),o(6,"th",31),r(7,"Method"),a(),o(8,"th",32),r(9,"Status"),a(),o(10,"th",33),r(11,"Path"),a(),o(12,"th",34),r(13,"ms"),a()()(),o(14,"tbody"),v(15,we,20,9,"tr",null,I),a()()()),n&2){let e=d(2);s(15),y(e.filtered())}}function Te(n,t){if(n&1){let e=M();o(0,"div",12)(1,"mat-form-field",13)(2,"mat-label"),r(3,"Since"),a(),o(4,"mat-select",14),h("ngModelChange",function(l){_(e);let m=d();return C(m.since.set(l))}),v(5,ve,2,2,"mat-option",15,he),a()(),o(7,"div",16)(8,"span",17),r(9,"Methods"),a(),v(10,ye,2,4,"button",18,O),a(),o(12,"div",16)(13,"span",17),r(14,"Status"),a(),v(15,be,2,4,"button",18,O),a(),o(17,"mat-form-field",19)(18,"mat-label"),r(19,"Path contains"),a(),o(20,"input",20),h("ngModelChange",function(l){_(e);let m=d();return C(m.pathQuery.set(l))}),a(),g(21,Me,3,0,"button",21),a()(),g(22,Pe,5,0,"div",22)(23,Se,1,0,"dm-empty",23)(24,ke,1,0,"dm-empty",24)(25,Oe,17,0,"div",25)}if(n&2){let e=d();s(4),u("ngModel",e.since()),s(),y(e.sinceOptions),s(5),y(e.methods),s(5),y(e.statusBuckets),s(5),u("ngModel",e.pathQuery()),s(),f(e.pathQuery()?21:-1),s(),f(e.loading()&&e.rows().length===0?22:e.filtered().length===0&&e.rows().length===0?23:e.filtered().length===0?24:25)}}var Ee=["GET","POST","PUT","DELETE","PATCH"],Re=["2xx","3xx","4xx","5xx"],qe=[{value:"5m",label:"5m"},{value:"15m",label:"15m"},{value:"1h",label:"1h"},{value:"all",label:"All"}],Ie=5e3;function de(n,t){let e=Math.max(0,Math.floor((t-n)/1e3));if(e<1)return"just now";if(e<60)return`${e}s ago`;let i=Math.floor(e/60);if(i<60)return`${i}m ago`;let l=Math.floor(i/60);return l<24?`${l}h ago`:`${Math.floor(l/24)}d ago`}function ce(n){return n>=200&&n<300?"2xx":n>=300&&n<400?"3xx":n>=400&&n<500?"4xx":n>=500&&n<600?"5xx":null}var pe=class n{name="";api=w(j);http=w(B);methods=Ee;statusBuckets=Re;sinceOptions=qe;loading=c(!0);rows=c([]);since=c("5m");methodFilter=c(new Set);statusFilter=c(new Set);pathQuery=c("");paused=c(!1);lastRefreshed=c(null);tick=c(0);currentApp=P(()=>this.name?this.api.byName(this.name):void 0);unknownApp=P(()=>this.name?this.api.ready()?!this.api.byName(this.name):!1:!0);filtered=P(()=>{let t=this.rows(),e=this.methodFilter(),i=this.statusFilter(),l=this.pathQuery().trim().toLowerCase();return t.filter(m=>{if(e.size>0&&!e.has(m.method.toUpperCase()))return!1;if(i.size>0){let S=ce(m.status);if(!S||!i.has(S))return!1}return!(l&&!m.path.toLowerCase().includes(l))}).sort((m,S)=>S.ts-m.ts)});lastRefreshedLabel=P(()=>{this.tick();let t=this.lastRefreshed();return t?de(t,Date.now()):"\u2014"});refreshTimer;tickTimer;sinceFirst=!0;constructor(){F(()=>{let t=this.since();if(this.sinceFirst){this.sinceFirst=!1;return}this.refresh()})}ngOnInit(){this.refresh(),this.refreshTimer=setInterval(()=>{this.paused()||this.refresh(!0)},Ie),this.tickTimer=setInterval(()=>this.tick.update(t=>t+1),1e3)}ngOnChanges(t){"name"in t&&!t.name.firstChange&&(this.rows.set([]),this.refresh())}ngOnDestroy(){this.refreshTimer&&clearInterval(this.refreshTimer),this.tickTimer&&clearInterval(this.tickTimer)}togglePause(){this.paused.update(t=>!t)}toggleMethod(t){this.methodFilter.update(e=>{let i=new Set(e);return i.has(t)?i.delete(t):i.add(t),i})}toggleStatus(t){this.statusFilter.update(e=>{let i=new Set(e);return i.has(t)?i.delete(t):i.add(t),i})}async refresh(t=!1){if(this.name){t||this.loading.set(!0);try{let e=this.since(),i=e==="all"?"":`?since=${encodeURIComponent(e)}`,l=`/api/apps/${encodeURIComponent(this.name)}/requests${i}`,m=await E(this.http.get(l));this.rows.set(Array.isArray(m)?m:[]),this.lastRefreshed.set(Date.now())}catch{}finally{t||this.loading.set(!1)}}}relTs(t){return this.tick(),de(t,Date.now())}absTs(t){return new Date(t).toLocaleString()}bucketOf(t){return ce(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=q({type:n,selectors:[["dm-requests-page"]],inputs:{name:"name"},features:[R],decls:29,vars:11,consts:[[1,"dm-page-header"],["matTooltip","Back to app",1,"dm-back",3,"routerLink"],[1,"dm-sep"],[1,"dm-app"],[3,"status","health"],[1,"dm-page-sub"],[1,"dm-header-actions"],["mat-stroked-button","",3,"click","matTooltip"],["mat-stroked-button","","matTooltip","Refresh now",3,"click"],["icon","search_off","title","Unknown app","hint","No app with that name. Head back to the apps list."],[1,"dm-paused"],["routerLink","/",1,"dm-empty-link"],[1,"dm-toolbar"],["appearance","outline",1,"dm-since"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"dm-chip-group"],[1,"dm-chip-label"],[1,"dm-chip",3,"dm-chip-active"],["appearance","outline",1,"dm-path-filter"],["matInput","","placeholder","/api/...",3,"ngModelChange","ngModel"],["matSuffix","","mat-icon-button",""],[1,"dm-skel-rows"],["icon","hourglass_empty","title","No requests yet","hint","Either no traffic has hit the dev server, or requestLog.enabled is false in your config."],["icon","filter_alt_off","title","No matching requests","hint","Adjust filters to see more rows."],[1,"dm-table-wrap"],[1,"dm-chip",3,"click"],["matSuffix","","mat-icon-button","",3,"click"],["height","2rem"],[1,"dm-req-table"],[1,"dm-col-time"],[1,"dm-col-method"],[1,"dm-col-status"],[1,"dm-col-path"],[1,"dm-col-dur"],[3,"matTooltip"],[1,"dm-method"],[1,"dm-status"],[1,"dm-path",3,"title"]],template:function(e,i){if(e&1&&(o(0,"div",0)(1,"div")(2,"h1")(3,"a",1)(4,"mat-icon"),r(5,"arrow_back"),a()(),o(6,"span"),r(7,"Requests"),a(),o(8,"span",2),r(9,"\xB7"),a(),o(10,"dm-mono")(11,"span",3),r(12),a()(),g(13,ge,1,2,"dm-status-pill",4),a(),o(14,"div",5),g(15,fe,4,1,"span")(16,_e,2,0,"span"),g(17,Ce,4,0),a()(),o(18,"div",6)(19,"button",7),h("click",function(){return i.togglePause()}),o(20,"mat-icon"),r(21),a(),r(22),a(),o(23,"button",8),h("click",function(){return i.refresh()}),o(24,"mat-icon"),r(25,"refresh"),a(),r(26," Refresh "),a()()(),g(27,xe,3,0,"dm-empty",9)(28,Te,26,4)),e&2){let l;s(3),u("routerLink",D(9,ue,i.name)),s(9),p(i.name),s(),f((l=i.currentApp())?13:-1,l),s(2),f(i.lastRefreshed()?15:16),s(2),f(i.paused()?17:-1),s(2),u("matTooltip",i.paused()?"Resume auto-refresh":"Pause auto-refresh"),s(2),p(i.paused()?"play_arrow":"pause"),s(),k(" ",i.paused()?"Resume":"Pause"," "),s(5),f(i.unknownApp()?27:28)}},dependencies:[N,W,z,G,J,L,ae,ie,te,ne,se,re,oe,me,le,H,U,$,V,A,K,Q,X,Z,Y,ee],styles:['[_nghost-%COMP%]{display:block}.dm-page-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.dm-page-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:0}.dm-sep[_ngcontent-%COMP%]{color:var(--mat-sys-outline)}.dm-app[_ngcontent-%COMP%]{color:var(--mat-sys-primary);font-weight:500}.dm-back[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;color:var(--mat-sys-on-surface-variant);text-decoration:none;padding:4px;border-radius:8px}.dm-back[_ngcontent-%COMP%]:hover{background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface)}.dm-page-sub[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant);margin-top:.25rem;font-size:.875rem}.dm-paused[_ngcontent-%COMP%]{color:var(--mat-sys-tertiary)}.dm-header-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}.dm-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:1rem 0}.dm-since[_ngcontent-%COMP%]{width:8rem}.dm-path-filter[_ngcontent-%COMP%]{flex:1;min-width:14rem}.dm-chip-group[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.35rem;flex-wrap:wrap}.dm-chip-label[_ngcontent-%COMP%]{font:500 .6875rem/1rem Roboto;text-transform:uppercase;letter-spacing:.04rem;color:var(--mat-sys-on-surface-variant);margin-right:.25rem}.dm-chip[_ngcontent-%COMP%]{font-family:Roboto Mono,ui-monospace,monospace;font-size:.75rem;padding:4px 10px;border-radius:999px;border:1px solid var(--mat-sys-outline-variant);background:var(--mat-sys-surface-container);color:var(--mat-sys-on-surface-variant);cursor:pointer;letter-spacing:.04rem}.dm-chip[_ngcontent-%COMP%]:hover{color:var(--mat-sys-on-surface)}.dm-chip-active[_ngcontent-%COMP%]{background:color-mix(in oklch,var(--mat-sys-primary) 14%,transparent);border-color:color-mix(in oklch,var(--mat-sys-primary) 35%,transparent);color:var(--mat-sys-primary)}.dm-skel-rows[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem}.dm-table-wrap[_ngcontent-%COMP%]{border:1px solid var(--mat-sys-outline-variant);border-radius:12px;overflow:hidden;background:var(--mat-sys-surface-container-lowest)}.dm-req-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;table-layout:fixed}.dm-req-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:8px 12px;font:500 .6875rem/1rem Roboto;text-transform:uppercase;letter-spacing:.04rem;color:var(--mat-sys-on-surface-variant);background:var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant)}.dm-req-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:6px 12px;border-bottom:1px solid var(--mat-sys-outline-variant);font-size:.8125rem;height:32px;line-height:20px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-req-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]{border-bottom:none}.dm-req-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:color-mix(in oklch,var(--mat-sys-primary) 6%,transparent)}.dm-col-time[_ngcontent-%COMP%]{width:7rem}.dm-col-method[_ngcontent-%COMP%], .dm-col-status[_ngcontent-%COMP%]{width:5rem}.dm-col-path[_ngcontent-%COMP%]{width:auto}.dm-col-dur[_ngcontent-%COMP%]{width:5rem;text-align:right}.dm-method[data-method=GET][_ngcontent-%COMP%]{color:var(--mat-sys-primary)}.dm-method[data-method=POST][_ngcontent-%COMP%]{color:var(--mat-sys-tertiary)}.dm-method[data-method=DELETE][_ngcontent-%COMP%]{color:var(--mat-sys-error)}.dm-method[data-method=PUT][_ngcontent-%COMP%], .dm-method[data-method=PATCH][_ngcontent-%COMP%]{color:var(--mat-sys-secondary)}.dm-method[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant)}.dm-status[data-bucket="2xx"][_ngcontent-%COMP%]{color:var(--mat-sys-primary)}.dm-status[data-bucket="3xx"][_ngcontent-%COMP%]{color:var(--mat-sys-secondary)}.dm-status[data-bucket="4xx"][_ngcontent-%COMP%]{color:var(--mat-sys-tertiary)}.dm-status[data-bucket="5xx"][_ngcontent-%COMP%]{color:var(--mat-sys-error)}.dm-status[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface-variant)}.dm-path[_ngcontent-%COMP%]{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;color:var(--mat-sys-on-surface)}.dm-empty-link[_ngcontent-%COMP%]{color:var(--mat-sys-primary);text-decoration:none;margin-top:.5rem}.dm-empty-link[_ngcontent-%COMP%]:hover{text-decoration:underline}'],changeDetection:0})};export{pe as RequestsPageComponent};
@@ -0,0 +1,4 @@
1
+ import{f as ot,g as rt}from"./chunk-TSB6OOH2.js";import{$ as R,D as at,F as it,N as D,S as st,U as T,X as E,Y as ct,Z as lt,aa as mt,la as dt,pa as ut,q as et,qa as ht,ta as pt,y as nt}from"./chunk-QLKOKZDG.js";import{$ as F,Ab as X,Ac as tt,Bb as G,Ca as q,Hb as k,Ib as f,Jb as $,Ob as Y,Qb as A,Sb as x,V as j,Wb as S,Xb as B,Yb as C,Za as p,a as m,aa as N,ca as v,cc as J,db as H,ea as o,eb as y,ec as w,fb as Z,gc as M,i as c,ja as L,ka as z,na as h,o as P,oa as V,ob as g,pb as Q,qb as b,rb as U,sb as W,zb as K}from"./chunk-F2EDJ6FT.js";function vt(a,l){if(a&1){let t=Y();k(0,"div",1)(1,"button",2),A("click",function(){L(t);let n=x();return z(n.action())}),w(2),f()()}if(a&2){let t=x();p(2),M(" ",t.data.action," ")}}var yt=["label"];function gt(a,l){}var At=Math.pow(2,31)-1,_=class{_overlayRef;instance;containerInstance;_afterDismissed=new c;_afterOpened=new c;_onAction=new c;_durationTimeoutId;_dismissedByAction=!1;constructor(l,t){this._overlayRef=t,this.containerInstance=l,l._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(l){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(l,At))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},ft=new v("MatSnackBarData"),d=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},xt=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=b({type:a,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return a})(),St=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=b({type:a,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return a})(),Bt=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=b({type:a,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return a})(),_t=(()=>{class a{snackBarRef=o(_);data=o(ft);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=g({type:a,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(k(0,"div",0),w(1),f(),X(2,vt,3,1,"div",1)),e&2&&(p(),M(" ",n.data.message,`
2
+ `),p(),G(n.hasAction?2:-1))},dependencies:[ot,xt,St,Bt],styles:[`.mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}
3
+ `],encapsulation:2,changeDetection:0})}return a})(),I="_mat-snack-bar-enter",O="_mat-snack-bar-exit",Ct=(()=>{class a extends lt{_ngZone=o(H);_elementRef=o(q);_changeDetectorRef=o(tt);_platform=o(et);_animationsDisabled=T();snackBarConfig=o(d);_document=o(V);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=o(h);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new c;_onExit=new c;_onEnter=new c;_animationState="void";_live;_label;_role;_liveElementId=o(it).getId("mat-snack-bar-container-live-");constructor(){super();let t=this.snackBarConfig;t.politeness==="assertive"&&!t.announcementMessage?this._live="assertive":t.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}attachDomPortal=t=>{this._assertNotAttached();let e=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),e};onAnimationEnd(t){t===O?this._completeExit():t===I&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?y(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(I)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(I)},200)))}exit(){return this._destroyed?P(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?y(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(O)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(O),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(s=>t.classList.add(s)):t.classList.add(e)),this._exposeToModals();let n=this._label.nativeElement,i="mdc-snackbar__label";n.classList.toggle(i,!n.querySelector(`.${i}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n<e.length;n++){let i=e[n],s=i.getAttribute("aria-owns");this._trackedModals.add(i),s?s.indexOf(t)===-1&&i.setAttribute("aria-owns",s+" "+t):i.setAttribute("aria-owns",t)}}_clearFromModals(){this._trackedModals.forEach(t=>{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let t=this._elementRef.nativeElement,e=t.querySelector("[aria-hidden]"),n=t.querySelector("[aria-live]");if(e&&n){let i=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(i=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),i?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=g({type:a,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(e&1&&(S(R,7),S(yt,7)),e&2){let i;B(i=C())&&(n._portalOutlet=i.first),B(i=C())&&(n._label=i.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(e,n){e&1&&A("animationend",function(s){return n.onAnimationEnd(s.animationName)})("animationcancel",function(s){return n.onAnimationEnd(s.animationName)}),e&2&&J("mat-snack-bar-container-enter",n._animationState==="visible")("mat-snack-bar-container-exit",n._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!n._animationsDisabled)},features:[U],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(k(0,"div",1)(1,"div",2,0)(3,"div",3),W(4,gt,0,0,"ng-template",4),f(),$(5,"div"),f()()),e&2&&(p(5),K("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[R],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
4
+ `],encapsulation:2})}return a})();function wt(){return new d}var Mt=new v("mat-snack-bar-default-options",{providedIn:"root",factory:wt}),Dt=(()=>{class a{_live=o(at);_injector=o(h);_breakpointObserver=o(nt);_parentSnackBar=o(a,{optional:!0,skipSelf:!0});_defaultConfig=o(Mt);_animationsDisabled=T();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=_t;snackBarContainerComponent=Ct;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(){}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let i=m(m({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=h.create({parent:n||this._injector,providers:[{provide:d,useValue:e}]}),s=new E(this.snackBarContainerComponent,e.viewContainerRef,i),r=t.attach(s);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){let n=m(m(m({},new d),this._defaultConfig),e),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),r=new _(s,i);if(t instanceof Z){let u=new ct(t,null,{$implicit:n.data,snackBarRef:r});r.instance=s.attachTemplatePortal(u)}else{let u=this._createInjector(n,r),bt=new E(t,void 0,u),kt=s.attachComponentPortal(bt);r.instance=kt.instance}return this._breakpointObserver.observe(st.HandsetPortrait).pipe(j(i.detachments())).subscribe(u=>{i.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter()}_createOverlay(t){let e=new dt;e.direction=t.direction;let n=ut(this._injector),i=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!i||t.horizontalPosition==="end"&&i,r=!s&&t.horizontalPosition!=="center";return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,e.disableAnimations=this._animationsDisabled,ht(this._injector,e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return h.create({parent:n||this._injector,providers:[{provide:_,useValue:e},{provide:ft,useValue:t.data}]})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=F({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Xt=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275mod=Q({type:a});static \u0275inj=N({providers:[Dt],imports:[pt,mt,rt,D,_t,D]})}return a})();export{Dt as a,Xt as b};