diff --git a/404.html b/404.html index 8e03c4a..6628132 100644 --- a/404.html +++ b/404.html @@ -11,5 +11,5 @@ - + diff --git a/chunk-4AFKNOE3.js b/chunk-24RKEVHA.js similarity index 99% rename from chunk-4AFKNOE3.js rename to chunk-24RKEVHA.js index 678b2f3..bc8b13a 100644 --- a/chunk-4AFKNOE3.js +++ b/chunk-24RKEVHA.js @@ -1 +1 @@ -import{Ba as Z,Bb as ve,Da as H,Ea as ue,Fa as S,G as F,Ha as pe,K as ce,Ka as p,Kb as Se,L as P,La as x,Lb as X,Ma as E,Na as q,Nb as O,Nc as ee,Pb as Q,Q as I,Qa as B,Sa as J,T as Y,Ta as A,U as K,Ua as V,Uc as Ne,Vc as Te,W,Xb as Ce,Yc as Be,Z as N,_ as de,aa as M,ba as ge,bb as _,cb as he,d as Ze,e as qe,ec as be,f as le,fc as we,gc as De,hc as Ie,i as oe,ic as Me,ja as me,jc as _e,kc as He,la as w,lc as Ee,ma as d,mc as k,ra as D,rc as Oe,sa as T,sc as ke,ta as G,tc as Le,uc as je,vc as Fe,wc as Pe,xb as xe,ya as fe,yb as ye,z as ae}from"./chunk-L73B4PLA.js";var Ye=Ze((ie,Ue)=>{"use strict";(function(e,i){typeof define=="function"&&define.amd?define([],function(){return i(e)}):typeof ie=="object"?Ue.exports=i(e):e.Gumshoe=i(e)})(typeof global<"u"?global:typeof window<"u"?window:ie,function(e){"use strict";var i={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},t=function(r,l,o){if(o.settings.events){var a=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:o});l.dispatchEvent(a)}},n=function(r){var l=0;if(r.offsetParent)for(;r;)l+=r.offsetTop,r=r.offsetParent;return l>=0?l:0},s=function(r){r&&r.sort(function(l,o){return n(l.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},y=function(r,l){var o=r[r.length-1];if(function(g,m){return!(!h()||!c(g.content,m,!0))}(o,l))return o;for(var a=r.length-1;a>=0;a--)if(c(r[a].content,l))return r[a]},L=function(r,l){if(l.nested&&r.parentNode){var o=r.parentNode.closest("li");o&&(o.classList.remove(l.nestedClass),L(o,l))}},U=function(r,l){if(r){var o=r.nav.closest("li");o&&(o.classList.remove(l.navClass),r.content.classList.remove(l.contentClass),L(o,l),t("gumshoeDeactivate",o,{link:r.nav,content:r.content,settings:l}))}},ne=function(r,l){if(l.nested){var o=r.parentNode.closest("li");o&&(o.classList.add(l.nestedClass),ne(o,l))}};return function(r,l){var o,a,g,m,v,C={};C.setup=function(){o=document.querySelectorAll(r),a=[],Array.prototype.forEach.call(o,function(f){var u=document.getElementById(decodeURIComponent(f.hash.substr(1)));u&&a.push({nav:f,content:u})}),s(a)},C.detect=function(){var f=y(a,v);f?g&&f.content===g.content||(U(g,v),function(u,b){if(u){var j=u.nav.closest("li");j&&(j.classList.add(b.navClass),u.content.classList.add(b.contentClass),ne(j,b),t("gumshoeActivate",j,{link:u.nav,content:u.content,settings:b}))}}(f,v),g=f):g&&(U(g,v),g=null)};var se=function(f){m&&e.cancelAnimationFrame(m),m=e.requestAnimationFrame(C.detect)},re=function(f){m&&e.cancelAnimationFrame(m),m=e.requestAnimationFrame(function(){s(a),C.detect()})};return C.destroy=function(){g&&U(g,v),e.removeEventListener("scroll",se,!1),v.reflow&&e.removeEventListener("resize",re,!1),a=null,o=null,g=null,m=null,v=null},v=function(){var f={};return Array.prototype.forEach.call(arguments,function(u){for(var b in u){if(!u.hasOwnProperty(b))return;f[b]=u[b]}}),f}(i,l||{}),C.setup(),C.detect(),e.addEventListener("scroll",se,!1),v.reflow&&e.addEventListener("resize",re,!1),C}})});var Je=["*"],R=class e{constructor(i,t,n){this.element=i;this.markdownService=t;this.viewContainerRef=n;this.error=new N;this.load=new N;this.ready=new N;this._clipboard=!1;this._commandLine=!1;this._disableSanitizer=!1;this._emoji=!1;this._inline=!1;this._katex=!1;this._lineHighlight=!1;this._lineNumbers=!1;this._mermaid=!1;this.destroyed$=new oe}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(i){this._disableSanitizer=this.coerceBooleanProperty(i)}get inline(){return this._inline}set inline(i){this._inline=this.coerceBooleanProperty(i)}get clipboard(){return this._clipboard}set clipboard(i){this._clipboard=this.coerceBooleanProperty(i)}get emoji(){return this._emoji}set emoji(i){this._emoji=this.coerceBooleanProperty(i)}get katex(){return this._katex}set katex(i){this._katex=this.coerceBooleanProperty(i)}get mermaid(){return this._mermaid}set mermaid(i){this._mermaid=this.coerceBooleanProperty(i)}get lineHighlight(){return this._lineHighlight}set lineHighlight(i){this._lineHighlight=this.coerceBooleanProperty(i)}get lineNumbers(){return this._lineNumbers}set lineNumbers(i){this._lineNumbers=this.coerceBooleanProperty(i)}get commandLine(){return this._commandLine}set commandLine(i){this._commandLine=this.coerceBooleanProperty(i)}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(F(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(i,t=!1){return le(this,null,function*(){let n={decodeHtml:t,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},s={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},c=yield this.markdownService.parse(i,n);this.element.nativeElement.innerHTML=c,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(i){return i!=null&&`${String(i)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:i=>{this.render(i).then(()=>{this.load.emit(i)})},error:i=>this.error.emit(i)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,"command-line"),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,"line-numbers"),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(i,t){let n=i.querySelectorAll("pre");for(let s=0;s{let h=t[c];if(h){let y=this.toLispCase(c);n.item(s).setAttribute(y,h.toString())}})}toLispCase(i){let t=i.match(/([A-Z])/g);if(!t)return i;let n=i.toString();for(let s=0,c=t.length;s{class e extends Me{buildStyles(t,n){return{display:t==="true"?n.display||(n.isServer?"initial":""):"none"}}}return e.\u0275fac=(()=>{let i;return function(n){return(i||(i=W(e)))(n||e)}})(),e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Qe=(()=>{class e extends Ee{constructor(t,n,s,c,h,y,L){super(t,n,s,c),this.layoutConfig=h,this.platformId=y,this.serverModuleLoaded=L,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();let t=Array.from(this.nativeElement.children);for(let s=0;s{if(this.inputs.indexOf(n)!==-1){let s=n.split("."),c=s.slice(1).join("."),h=t[n].currentValue,y=h!==""?h!==0?k(h):!1:!0;s[0]==="fxHide"&&(y=!y),this.setValue(y,c)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe(F(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(t=!0){if(t==="")return;let n=ve(this.platformId);this.addStyles(t?"true":"false",{display:this.display,isServer:n}),n&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return e.\u0275fac=function(t){return new(t||e)(d(M),d(Xe),d(_e),d(He),d(De),d(ge),d(Ie))},e.\u0275dir=G({type:e,standalone:!1,features:[Z,I]}),e})(),te=new WeakMap,et=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];var Ve=(()=>{class e extends Qe{constructor(){super(...arguments),this.inputs=et}}return e.\u0275fac=(()=>{let i;return function(n){return(i||(i=W(e)))(n||e)}})(),e.\u0275dir=G({type:e,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},standalone:!1,features:[Z]}),e})();var Re=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=T({type:e}),e.\u0275inj=P({imports:[we]}),e})();var ze=(()=>{class e{get vertical(){return this._vertical}set vertical(t){this._vertical=k(t)}_vertical=!1;get inset(){return this._inset}set inset(t){this._inset=k(t)}_inset=!1;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=D({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,s){n&2&&(ue("aria-orientation",s.vertical?"vertical":"horizontal"),pe("mat-divider-vertical",s.vertical)("mat-divider-horizontal",!s.vertical)("mat-divider-inset",s.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,s){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return e})(),$e=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=T({type:e});static \u0275inj=P({imports:[ee,ee]})}return e})();var Ke=qe(Ye());function nt(e,i){if(e&1&&(p(0,"li")(1,"a",2),_(2),x()()),e&2){let t=i.$implicit;w(),S("fragment",t.id),w(),he(t.innerHTML)}}var $=class e{constructor(i,t){this.elementRef=i;this.zone=t}ngOnChanges(i){i.headings?.currentValue&&this.setScrollSpy()}ngOnDestroy(){this.destroyScrollSpy()}destroyScrollSpy(){this.scrollSpy&&this.scrollSpy.destroy()}setScrollSpy(){if(this.scrollSpy){this.scrollSpy.setup();return}this.zone.onStable.pipe(ae()).subscribe(()=>{let i=this.elementRef.nativeElement,t=`${i.tagName}.${i.className} a`;this.scrollSpy=new Ke.default(t,{offset:64,reflow:!0})})}static{this.\u0275fac=function(t){return new(t||e)(d(M),d(de))}}static{this.\u0275cmp=D({type:e,selectors:[["app-scrollspy-nav"]],inputs:{headings:"headings"},features:[I],decls:2,vars:1,consts:[[1,"scrollspy-nav"],[4,"ngFor","ngForOf"],["routerLink",".",3,"fragment"]],template:function(t,n){t&1&&(p(0,"ul",0),H(1,nt,3,2,"li",1),x()),t&2&&(w(),S("ngForOf",n.headings))},dependencies:[xe,Ce],styles:["ul.scrollspy-nav[_ngcontent-%COMP%]{padding:0}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:2px;font-size:14px;font-weight:500;list-style:none;padding:4px 0 4px 16px}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:none}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.active){border-color:transparent;opacity:.6}"],changeDetection:0})}};var We=Se("zoomAnimation",[Q("void => *",[O({opacity:0,transform:"translateY(32px) scale(0)"}),X("400ms cubic-bezier(0.35, 0, 0.25, 1)",O({opacity:1,transform:"translateY(0) scale(1)"}))]),Q("* => void",[O({opacity:1,transform:"translateY(0)"}),X("300ms cubic-bezier(0.35, 0, 0.25, 1)",O({opacity:0,transform:"translateY(32px)"}))])]);var st=["*"];function rt(e,i){if(e&1){let t=q();p(0,"button",9),B("click",function(){Y(t);let s=J();return K(s.onScrollUp())}),E(1,"img",10),x()}e&2&&S("@zoomAnimation",void 0)}function lt(e,i){if(e&1){let t=q();p(0,"button",11),B("click",function(){Y(t);let s=J();return K(s.onScrollUp())}),E(1,"img",10),x()}e&2&&S("@zoomAnimation",void 0)}var Ge=class e{constructor(){this.showScrollUpButton=!1}onWindowScroll(){this.showScrollUpButton=Math.ceil(window.pageYOffset)>64}onScrollUp(){window.scrollTo(0,0),location.hash=""}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=D({type:e,selectors:[["app-scrollspy-nav-layout"]],hostBindings:function(t,n){t&1&&B("scroll",function(){return n.onWindowScroll()},!1,me)},inputs:{headings:"headings"},ngContentSelectors:st,decls:14,vars:3,consts:[["fxLayout","row","fxLayoutGap","40px"],["fxFlex","1 1 calc(100% - 220px)"],[1,"footer"],["emoji","","fxLayout","row","fxLayoutAlign.gt-xs","center",1,"footer-text"],[2,"margin","0 .15em"],["class","scrollup-button--fixed","mat-fab","","color","accent","fxHide.gt-sm","",3,"click",4,"ngIf"],["fxLayout","column","fxFlex","1 0 180px","fxFlexAlign","flex-start","fxHide.lt-md","",1,"sticky"],[3,"headings"],["class","scrollup-button","mat-mini-fab","","color","accent",3,"click",4,"ngIf"],["mat-fab","","color","accent","fxHide.gt-sm","",1,"scrollup-button--fixed",3,"click"],["src","icon-chevron-up.svg"],["mat-mini-fab","","color","accent",1,"scrollup-button",3,"click"]],template:function(t,n){t&1&&(A(),p(0,"div",0)(1,"div",1),V(2),p(3,"div",2),E(4,"mat-divider"),p(5,"markdown",3),_(6," Crafted with :heart: by **jfcere** "),p(7,"span",4),_(8,"\u2022"),x(),_(9," Follow on [GitHub](https://github.com/jfcere) "),x()(),H(10,rt,2,1,"button",5),x(),p(11,"div",6),E(12,"app-scrollspy-nav",7),H(13,lt,2,1,"button",8),x()()),t&2&&(w(10),S("ngIf",n.showScrollUpButton),w(2),S("headings",n.headings),w(),S("ngIf",n.showScrollUpButton))},dependencies:[Re,Ve,Pe,Oe,ke,Fe,je,Le,R,Be,Te,Ne,$e,ze,ye,$],styles:[".footer[_ngcontent-%COMP%]{margin:32px 0 8px}.footer-text[_ngcontent-%COMP%]{display:block;font-size:13px;padding-top:4px}.sticky[_ngcontent-%COMP%]{position:sticky;top:80px}.scrollup-button[_ngcontent-%COMP%]{margin:14px}.scrollup-button--fixed[_ngcontent-%COMP%]{position:fixed;bottom:16px;right:16px}.scrollup-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:flex}"],data:{animation:[We]},changeDetection:0})}};export{R as a,Ge as b}; +import{Ba as Z,Bb as ve,Da as H,Ea as ue,Fa as S,G as F,Ha as pe,K as ce,Ka as p,Kb as Se,L as P,La as x,Lb as X,Ma as E,Na as q,Nb as O,Nc as ee,Pb as Q,Q as I,Qa as B,Sa as J,T as Y,Ta as A,U as K,Ua as V,Uc as Ne,Vc as Te,W,Xb as Ce,Yc as Be,Z as N,_ as de,aa as M,ba as ge,bb as _,cb as he,d as Ze,e as qe,ec as be,f as le,fc as we,gc as De,hc as Ie,i as oe,ic as Me,ja as me,jc as _e,kc as He,la as w,lc as Ee,ma as d,mc as k,ra as D,rc as Oe,sa as T,sc as ke,ta as G,tc as Le,uc as je,vc as Fe,wc as Pe,xb as xe,ya as fe,yb as ye,z as ae}from"./chunk-XUHCC3XM.js";var Ye=Ze((ie,Ue)=>{"use strict";(function(e,i){typeof define=="function"&&define.amd?define([],function(){return i(e)}):typeof ie=="object"?Ue.exports=i(e):e.Gumshoe=i(e)})(typeof global<"u"?global:typeof window<"u"?window:ie,function(e){"use strict";var i={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},t=function(r,l,o){if(o.settings.events){var a=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:o});l.dispatchEvent(a)}},n=function(r){var l=0;if(r.offsetParent)for(;r;)l+=r.offsetTop,r=r.offsetParent;return l>=0?l:0},s=function(r){r&&r.sort(function(l,o){return n(l.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},y=function(r,l){var o=r[r.length-1];if(function(g,m){return!(!h()||!c(g.content,m,!0))}(o,l))return o;for(var a=r.length-1;a>=0;a--)if(c(r[a].content,l))return r[a]},L=function(r,l){if(l.nested&&r.parentNode){var o=r.parentNode.closest("li");o&&(o.classList.remove(l.nestedClass),L(o,l))}},U=function(r,l){if(r){var o=r.nav.closest("li");o&&(o.classList.remove(l.navClass),r.content.classList.remove(l.contentClass),L(o,l),t("gumshoeDeactivate",o,{link:r.nav,content:r.content,settings:l}))}},ne=function(r,l){if(l.nested){var o=r.parentNode.closest("li");o&&(o.classList.add(l.nestedClass),ne(o,l))}};return function(r,l){var o,a,g,m,v,C={};C.setup=function(){o=document.querySelectorAll(r),a=[],Array.prototype.forEach.call(o,function(f){var u=document.getElementById(decodeURIComponent(f.hash.substr(1)));u&&a.push({nav:f,content:u})}),s(a)},C.detect=function(){var f=y(a,v);f?g&&f.content===g.content||(U(g,v),function(u,b){if(u){var j=u.nav.closest("li");j&&(j.classList.add(b.navClass),u.content.classList.add(b.contentClass),ne(j,b),t("gumshoeActivate",j,{link:u.nav,content:u.content,settings:b}))}}(f,v),g=f):g&&(U(g,v),g=null)};var se=function(f){m&&e.cancelAnimationFrame(m),m=e.requestAnimationFrame(C.detect)},re=function(f){m&&e.cancelAnimationFrame(m),m=e.requestAnimationFrame(function(){s(a),C.detect()})};return C.destroy=function(){g&&U(g,v),e.removeEventListener("scroll",se,!1),v.reflow&&e.removeEventListener("resize",re,!1),a=null,o=null,g=null,m=null,v=null},v=function(){var f={};return Array.prototype.forEach.call(arguments,function(u){for(var b in u){if(!u.hasOwnProperty(b))return;f[b]=u[b]}}),f}(i,l||{}),C.setup(),C.detect(),e.addEventListener("scroll",se,!1),v.reflow&&e.addEventListener("resize",re,!1),C}})});var Je=["*"],R=class e{constructor(i,t,n){this.element=i;this.markdownService=t;this.viewContainerRef=n;this.error=new N;this.load=new N;this.ready=new N;this._clipboard=!1;this._commandLine=!1;this._disableSanitizer=!1;this._emoji=!1;this._inline=!1;this._katex=!1;this._lineHighlight=!1;this._lineNumbers=!1;this._mermaid=!1;this.destroyed$=new oe}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(i){this._disableSanitizer=this.coerceBooleanProperty(i)}get inline(){return this._inline}set inline(i){this._inline=this.coerceBooleanProperty(i)}get clipboard(){return this._clipboard}set clipboard(i){this._clipboard=this.coerceBooleanProperty(i)}get emoji(){return this._emoji}set emoji(i){this._emoji=this.coerceBooleanProperty(i)}get katex(){return this._katex}set katex(i){this._katex=this.coerceBooleanProperty(i)}get mermaid(){return this._mermaid}set mermaid(i){this._mermaid=this.coerceBooleanProperty(i)}get lineHighlight(){return this._lineHighlight}set lineHighlight(i){this._lineHighlight=this.coerceBooleanProperty(i)}get lineNumbers(){return this._lineNumbers}set lineNumbers(i){this._lineNumbers=this.coerceBooleanProperty(i)}get commandLine(){return this._commandLine}set commandLine(i){this._commandLine=this.coerceBooleanProperty(i)}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(F(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(i,t=!1){return le(this,null,function*(){let n={decodeHtml:t,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},s={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},c=yield this.markdownService.parse(i,n);this.element.nativeElement.innerHTML=c,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(i){return i!=null&&`${String(i)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:i=>{this.render(i).then(()=>{this.load.emit(i)})},error:i=>this.error.emit(i)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,"command-line"),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,"line-numbers"),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(i,t){let n=i.querySelectorAll("pre");for(let s=0;s{let h=t[c];if(h){let y=this.toLispCase(c);n.item(s).setAttribute(y,h.toString())}})}toLispCase(i){let t=i.match(/([A-Z])/g);if(!t)return i;let n=i.toString();for(let s=0,c=t.length;s{class e extends Me{buildStyles(t,n){return{display:t==="true"?n.display||(n.isServer?"initial":""):"none"}}}return e.\u0275fac=(()=>{let i;return function(n){return(i||(i=W(e)))(n||e)}})(),e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Qe=(()=>{class e extends Ee{constructor(t,n,s,c,h,y,L){super(t,n,s,c),this.layoutConfig=h,this.platformId=y,this.serverModuleLoaded=L,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();let t=Array.from(this.nativeElement.children);for(let s=0;s{if(this.inputs.indexOf(n)!==-1){let s=n.split("."),c=s.slice(1).join("."),h=t[n].currentValue,y=h!==""?h!==0?k(h):!1:!0;s[0]==="fxHide"&&(y=!y),this.setValue(y,c)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe(F(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(t=!0){if(t==="")return;let n=ve(this.platformId);this.addStyles(t?"true":"false",{display:this.display,isServer:n}),n&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return e.\u0275fac=function(t){return new(t||e)(d(M),d(Xe),d(_e),d(He),d(De),d(ge),d(Ie))},e.\u0275dir=G({type:e,standalone:!1,features:[Z,I]}),e})(),te=new WeakMap,et=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];var Ve=(()=>{class e extends Qe{constructor(){super(...arguments),this.inputs=et}}return e.\u0275fac=(()=>{let i;return function(n){return(i||(i=W(e)))(n||e)}})(),e.\u0275dir=G({type:e,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},standalone:!1,features:[Z]}),e})();var Re=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=T({type:e}),e.\u0275inj=P({imports:[we]}),e})();var ze=(()=>{class e{get vertical(){return this._vertical}set vertical(t){this._vertical=k(t)}_vertical=!1;get inset(){return this._inset}set inset(t){this._inset=k(t)}_inset=!1;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=D({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,s){n&2&&(ue("aria-orientation",s.vertical?"vertical":"horizontal"),pe("mat-divider-vertical",s.vertical)("mat-divider-horizontal",!s.vertical)("mat-divider-inset",s.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,s){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return e})(),$e=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=T({type:e});static \u0275inj=P({imports:[ee,ee]})}return e})();var Ke=qe(Ye());function nt(e,i){if(e&1&&(p(0,"li")(1,"a",2),_(2),x()()),e&2){let t=i.$implicit;w(),S("fragment",t.id),w(),he(t.innerHTML)}}var $=class e{constructor(i,t){this.elementRef=i;this.zone=t}ngOnChanges(i){i.headings?.currentValue&&this.setScrollSpy()}ngOnDestroy(){this.destroyScrollSpy()}destroyScrollSpy(){this.scrollSpy&&this.scrollSpy.destroy()}setScrollSpy(){if(this.scrollSpy){this.scrollSpy.setup();return}this.zone.onStable.pipe(ae()).subscribe(()=>{let i=this.elementRef.nativeElement,t=`${i.tagName}.${i.className} a`;this.scrollSpy=new Ke.default(t,{offset:64,reflow:!0})})}static{this.\u0275fac=function(t){return new(t||e)(d(M),d(de))}}static{this.\u0275cmp=D({type:e,selectors:[["app-scrollspy-nav"]],inputs:{headings:"headings"},features:[I],decls:2,vars:1,consts:[[1,"scrollspy-nav"],[4,"ngFor","ngForOf"],["routerLink",".",3,"fragment"]],template:function(t,n){t&1&&(p(0,"ul",0),H(1,nt,3,2,"li",1),x()),t&2&&(w(),S("ngForOf",n.headings))},dependencies:[xe,Ce],styles:["ul.scrollspy-nav[_ngcontent-%COMP%]{padding:0}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:2px;font-size:14px;font-weight:500;list-style:none;padding:4px 0 4px 16px}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:none}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.active){border-color:transparent;opacity:.6}"],changeDetection:0})}};var We=Se("zoomAnimation",[Q("void => *",[O({opacity:0,transform:"translateY(32px) scale(0)"}),X("400ms cubic-bezier(0.35, 0, 0.25, 1)",O({opacity:1,transform:"translateY(0) scale(1)"}))]),Q("* => void",[O({opacity:1,transform:"translateY(0)"}),X("300ms cubic-bezier(0.35, 0, 0.25, 1)",O({opacity:0,transform:"translateY(32px)"}))])]);var st=["*"];function rt(e,i){if(e&1){let t=q();p(0,"button",9),B("click",function(){Y(t);let s=J();return K(s.onScrollUp())}),E(1,"img",10),x()}e&2&&S("@zoomAnimation",void 0)}function lt(e,i){if(e&1){let t=q();p(0,"button",11),B("click",function(){Y(t);let s=J();return K(s.onScrollUp())}),E(1,"img",10),x()}e&2&&S("@zoomAnimation",void 0)}var Ge=class e{constructor(){this.showScrollUpButton=!1}onWindowScroll(){this.showScrollUpButton=Math.ceil(window.pageYOffset)>64}onScrollUp(){window.scrollTo(0,0),location.hash=""}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=D({type:e,selectors:[["app-scrollspy-nav-layout"]],hostBindings:function(t,n){t&1&&B("scroll",function(){return n.onWindowScroll()},!1,me)},inputs:{headings:"headings"},ngContentSelectors:st,decls:14,vars:3,consts:[["fxLayout","row","fxLayoutGap","40px"],["fxFlex","1 1 calc(100% - 220px)"],[1,"footer"],["emoji","","fxLayout","row","fxLayoutAlign.gt-xs","center",1,"footer-text"],[2,"margin","0 .15em"],["class","scrollup-button--fixed","mat-fab","","color","accent","fxHide.gt-sm","",3,"click",4,"ngIf"],["fxLayout","column","fxFlex","1 0 180px","fxFlexAlign","flex-start","fxHide.lt-md","",1,"sticky"],[3,"headings"],["class","scrollup-button","mat-mini-fab","","color","accent",3,"click",4,"ngIf"],["mat-fab","","color","accent","fxHide.gt-sm","",1,"scrollup-button--fixed",3,"click"],["src","icon-chevron-up.svg"],["mat-mini-fab","","color","accent",1,"scrollup-button",3,"click"]],template:function(t,n){t&1&&(A(),p(0,"div",0)(1,"div",1),V(2),p(3,"div",2),E(4,"mat-divider"),p(5,"markdown",3),_(6," Crafted with :heart: by **jfcere** "),p(7,"span",4),_(8,"\u2022"),x(),_(9," Follow on [GitHub](https://github.com/jfcere) "),x()(),H(10,rt,2,1,"button",5),x(),p(11,"div",6),E(12,"app-scrollspy-nav",7),H(13,lt,2,1,"button",8),x()()),t&2&&(w(10),S("ngIf",n.showScrollUpButton),w(2),S("headings",n.headings),w(),S("ngIf",n.showScrollUpButton))},dependencies:[Re,Ve,Pe,Oe,ke,Fe,je,Le,R,Be,Te,Ne,$e,ze,ye,$],styles:[".footer[_ngcontent-%COMP%]{margin:32px 0 8px}.footer-text[_ngcontent-%COMP%]{display:block;font-size:13px;padding-top:4px}.sticky[_ngcontent-%COMP%]{position:sticky;top:80px}.scrollup-button[_ngcontent-%COMP%]{margin:14px}.scrollup-button--fixed[_ngcontent-%COMP%]{position:fixed;bottom:16px;right:16px}.scrollup-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:flex}"],data:{animation:[We]},changeDetection:0})}};export{R as a,Ge as b}; diff --git a/chunk-LI3L4VBM.js b/chunk-2C5KW35L.js similarity index 95% rename from chunk-LI3L4VBM.js rename to chunk-2C5KW35L.js index dbfe55d..1bbe0c6 100644 --- a/chunk-LI3L4VBM.js +++ b/chunk-2C5KW35L.js @@ -1 +1 @@ -import{C as c,G as v,K as l,O as a,_ as f,h as b,i,s as d}from"./chunk-L73B4PLA.js";var n=class{_box;_destroyed=new i;_resizeSubject=new i;_resizeObserver;_elementObservables=new Map;constructor(r){this._box=r,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(r){return this._elementObservables.has(r)||this._elementObservables.set(r,new b(e=>{let s=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(r,{box:this._box}),()=>{this._resizeObserver?.unobserve(r),s.unsubscribe(),this._elementObservables.delete(r)}}).pipe(d(e=>e.some(s=>s.target===r)),c({bufferSize:1,refCount:!0}),v(this._destroyed))),this._elementObservables.get(r)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},y=(()=>{class o{_observers=new Map;_ngZone=a(f);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,s){let t=s?.box||"content-box";return this._observers.has(t)||this._observers.set(t,new n(t)),this._observers.get(t).observe(e)}static \u0275fac=function(s){return new(s||o)};static \u0275prov=l({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();export{y as a}; +import{C as c,G as v,K as l,O as a,_ as f,h as b,i,s as d}from"./chunk-XUHCC3XM.js";var n=class{_box;_destroyed=new i;_resizeSubject=new i;_resizeObserver;_elementObservables=new Map;constructor(r){this._box=r,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(r){return this._elementObservables.has(r)||this._elementObservables.set(r,new b(e=>{let s=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(r,{box:this._box}),()=>{this._resizeObserver?.unobserve(r),s.unsubscribe(),this._elementObservables.delete(r)}}).pipe(d(e=>e.some(s=>s.target===r)),c({bufferSize:1,refCount:!0}),v(this._destroyed))),this._elementObservables.get(r)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},y=(()=>{class o{_observers=new Map;_ngZone=a(f);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,s){let t=s?.box||"content-box";return this._observers.has(t)||this._observers.set(t,new n(t)),this._observers.get(t).observe(e)}static \u0275fac=function(s){return new(s||o)};static \u0275prov=l({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();export{y as a}; diff --git a/chunk-IF4R6WMN.js b/chunk-4GNX3KTN.js similarity index 98% rename from chunk-IF4R6WMN.js rename to chunk-4GNX3KTN.js index d437c7c..792aaf4 100644 --- a/chunk-IF4R6WMN.js +++ b/chunk-4GNX3KTN.js @@ -1,4 +1,4 @@ -import{a as N,c as Q,d as $}from"./chunk-FPZ3WRTH.js";import{a as z,b as q,c as G,d as K,f as Y,g as X,h as Z,i as J}from"./chunk-2AOCEGWT.js";import"./chunk-LI3L4VBM.js";import{a as V,b as U}from"./chunk-4AFKNOE3.js";import{$b as F,Da as P,Fa as a,Ka as t,La as n,Ma as i,Na as k,Qa as T,R as M,S,Sa as B,T as c,U as b,V as E,aa as _,ab as D,bb as e,eb as g,fb as h,ga as O,gb as x,hb as A,la as o,lb as I,ma as w,ra as j,rc as R,sc as H,tc as W,wc as L}from"./chunk-L73B4PLA.js";var y;(r=>{let u;(f=>(f.Strict="strict",f.Loose="loose",f.Antiscript="antiscript",f.Sandbox="sandbox"))(u=r.SecurityLevel||={});let p;(l=>(l.Base="base",l.Forest="forest",l.Dark="dark",l.Default="default",l.Neutral="neutral"))(p=r.Theme||={});let d;(l=>(l[l.Debug=1]="Debug",l[l.Info=2]="Info",l[l.Warn=3]="Warn",l[l.Error=4]="Error",l[l.Fatal=5]="Fatal"))(d=r.LogLevel||={})})(y||={});function ee(u,p){if(u&1){let d=k();t(0,"button",29),T("click",function(){c(d);let s=B();return b(s.onCopyToClipboard())}),E(),t(1,"svg",30),i(2,"path",31),n()()}}var v=class u{constructor(p,d){this.elementRef=p;this.snackbar=d;this.clipboardButton=$;this.emojiMarkdown="# I :heart: ngx-markdown";this.katexMarkdown="#### `katex` directive example\n\n```latex\nf(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi\n```\n\n$f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi$";this.mermaidMarkdown="```mermaid\ngraph TD;\n A-->B;\n A-->C;\n B-->D;\n C-->D;\n```";this.mermaidOptions={fontFamily:"inherit",theme:y.Theme.Dark}}ngOnInit(){this.setHeadings()}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via ng-template!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}setHeadings(){let p=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(d=>p.push(d)),this.headings=p}static{this.\u0275fac=function(d){return new(d||u)(w(_),w(Q))}}static{this.\u0275cmp=j({type:u,selectors:[["app-plugins"]],features:[A([N({clipboardOptions:{provide:F,useValue:{}},sanitize:O.NONE})])],decls:153,vars:34,consts:[["buttonTemplate",""],[3,"headings"],["id","emoji"],[3,"src"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","16px"],["appearance","fill","color","accent","fxFlex.gt-sm","calc(50% - 8px)"],["matInput","",3,"ngModelChange","ngModel"],["emoji","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["emoji",""],["id","line-numbers"],["lineNumbers",""],["lineNumbers","",3,"start"],["id","line-highlight"],["lineHighlight","",3,"line","lineOffset"],["id","command-line"],["commandLine","",3,"user","host","src"],["commandLine","",3,"user","host","output","src"],["commandLine","",3,"prompt","output","src"],["commandLine","",3,"prompt","filterOutput","src"],["id","katex"],["katex","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["id","mermaid"],["mermaid","","fxFlex.gt-sm","calc(50% - 8px)",3,"data","mermaidOptions"],["id","clipboard"],["clipboard",""],["clipboard","",1,"btn-clipboard-toolbar"],["clipboard","",1,"btn-clipboard-default"],["clipboard","",3,"clipboardButtonComponent"],["clipboard","",3,"clipboardButtonTemplate"],[1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z"]],template:function(d,r){if(d&1){let s=k();t(0,"app-scrollspy-nav-layout",1)(1,"h1"),e(2,"Plugins"),n(),t(3,"markdown"),e(4," Before to use any plugin, make sure you've installed the required libraries by following the [installation](/get-started#installation) section of the __Get Started__ page. "),n(),t(5,"section")(6,"h2",2),e(7,"Emoji plugin"),n(),t(8,"markdown"),e(9,` +import{a as N,c as Q,d as $}from"./chunk-OWYKYSAM.js";import{a as z,b as q,c as G,d as K,f as Y,g as X,h as Z,i as J}from"./chunk-A4DKVPQ2.js";import"./chunk-2C5KW35L.js";import{a as V,b as U}from"./chunk-24RKEVHA.js";import{$b as F,Da as P,Fa as a,Ka as t,La as n,Ma as i,Na as k,Qa as T,R as M,S,Sa as B,T as c,U as b,V as E,aa as _,ab as D,bb as e,eb as g,fb as h,ga as O,gb as x,hb as A,la as o,lb as I,ma as w,ra as j,rc as R,sc as H,tc as W,wc as L}from"./chunk-XUHCC3XM.js";var y;(r=>{let u;(f=>(f.Strict="strict",f.Loose="loose",f.Antiscript="antiscript",f.Sandbox="sandbox"))(u=r.SecurityLevel||={});let p;(l=>(l.Base="base",l.Forest="forest",l.Dark="dark",l.Default="default",l.Neutral="neutral"))(p=r.Theme||={});let d;(l=>(l[l.Debug=1]="Debug",l[l.Info=2]="Info",l[l.Warn=3]="Warn",l[l.Error=4]="Error",l[l.Fatal=5]="Fatal"))(d=r.LogLevel||={})})(y||={});function ee(u,p){if(u&1){let d=k();t(0,"button",29),T("click",function(){c(d);let s=B();return b(s.onCopyToClipboard())}),E(),t(1,"svg",30),i(2,"path",31),n()()}}var v=class u{constructor(p,d){this.elementRef=p;this.snackbar=d;this.clipboardButton=$;this.emojiMarkdown="# I :heart: ngx-markdown";this.katexMarkdown="#### `katex` directive example\n\n```latex\nf(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi\n```\n\n$f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi$";this.mermaidMarkdown="```mermaid\ngraph TD;\n A-->B;\n A-->C;\n B-->D;\n C-->D;\n```";this.mermaidOptions={fontFamily:"inherit",theme:y.Theme.Dark}}ngOnInit(){this.setHeadings()}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via ng-template!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}setHeadings(){let p=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(d=>p.push(d)),this.headings=p}static{this.\u0275fac=function(d){return new(d||u)(w(_),w(Q))}}static{this.\u0275cmp=j({type:u,selectors:[["app-plugins"]],features:[A([N({clipboardOptions:{provide:F,useValue:{}},sanitize:O.NONE})])],decls:153,vars:34,consts:[["buttonTemplate",""],[3,"headings"],["id","emoji"],[3,"src"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","16px"],["appearance","fill","color","accent","fxFlex.gt-sm","calc(50% - 8px)"],["matInput","",3,"ngModelChange","ngModel"],["emoji","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["emoji",""],["id","line-numbers"],["lineNumbers",""],["lineNumbers","",3,"start"],["id","line-highlight"],["lineHighlight","",3,"line","lineOffset"],["id","command-line"],["commandLine","",3,"user","host","src"],["commandLine","",3,"user","host","output","src"],["commandLine","",3,"prompt","output","src"],["commandLine","",3,"prompt","filterOutput","src"],["id","katex"],["katex","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["id","mermaid"],["mermaid","","fxFlex.gt-sm","calc(50% - 8px)",3,"data","mermaidOptions"],["id","clipboard"],["clipboard",""],["clipboard","",1,"btn-clipboard-toolbar"],["clipboard","",1,"btn-clipboard-default"],["clipboard","",3,"clipboardButtonComponent"],["clipboard","",3,"clipboardButtonTemplate"],[1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z"]],template:function(d,r){if(d&1){let s=k();t(0,"app-scrollspy-nav-layout",1)(1,"h1"),e(2,"Plugins"),n(),t(3,"markdown"),e(4," Before to use any plugin, make sure you've installed the required libraries by following the [installation](/get-started#installation) section of the __Get Started__ page. "),n(),t(5,"section")(6,"h2",2),e(7,"Emoji plugin"),n(),t(8,"markdown"),e(9,` #### Emoji-Toolkit file to include \`\`\`javascript node_modules/emoji-toolkit/lib/js/joypixels.min.js diff --git a/chunk-2AOCEGWT.js b/chunk-A4DKVPQ2.js similarity index 99% rename from chunk-2AOCEGWT.js rename to chunk-A4DKVPQ2.js index 4f224c8..b70f1b6 100644 --- a/chunk-2AOCEGWT.js +++ b/chunk-A4DKVPQ2.js @@ -1,4 +1,4 @@ -import{a as It}from"./chunk-LI3L4VBM.js";import{$a as pt,A as nt,Aa as ft,Ba as B,Ca as Ae,Da as _,Dc as Vt,E as rt,Ea as U,Fa as T,G as De,Gc as At,Ha as x,I as le,J as X,Ja as v,K as we,Ka as m,Kb as xt,L as M,La as h,Lb as Ct,M as u,Ma as H,Mc as te,Na as mt,Nb as Oe,Nc as Q,O as s,Oa as de,Ob as Ft,Oc as Et,Pb as Dt,Pc as St,Q as K,Qa as A,Sa as E,T as ot,Ta as Ee,U as at,Ua as C,W as st,Wa as q,X as Me,Xa as D,Ya as p,Z as L,Za as g,_ as R,_a as ht,a as y,aa as b,ab as Se,b as F,bb as gt,ca as lt,cb as _t,ea as dt,g as Xe,hb as S,i as k,k as Ke,la as f,lb as vt,ma as l,mb as ce,mc as W,n as se,nb as ee,o as Je,p as et,pb as I,pc as ke,qa as Ve,qb as O,qc as wt,r as tt,ra as J,rb as yt,s as it,sa as V,ta as c,tb as Ie,va as ct,wa as ut,xc as $,yc as Re,za as G,zb as bt,zc as Mt}from"./chunk-L73B4PLA.js";var Bt=(()=>{class i{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||i)(l(Ve),l(b))};static \u0275dir=c({type:i})}return i})(),Fi=(()=>{class i extends Bt{static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(i)))(r||i)}})();static \u0275dir=c({type:i,features:[B]})}return i})(),Ht=new u("");var Di={provide:Ht,useExisting:X(()=>zt),multi:!0};function wi(){let i=Ie()?Ie().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Mi=new u(""),zt=(()=>{class i extends Bt{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!wi())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||i)(l(Ve),l(b),l(Mi,8))};static \u0275dir=c({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&A("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[S([Di]),B]})}return i})();function N(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function jt(i){return i!=null&&typeof i.length=="number"}var He=new u(""),ze=new u(""),Vi=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,fe=class{static min(t){return Ai(t)}static max(t){return Ei(t)}static required(t){return Si(t)}static requiredTrue(t){return Ii(t)}static email(t){return Oi(t)}static minLength(t){return ki(t)}static maxLength(t){return Ri(t)}static pattern(t){return Ti(t)}static nullValidator(t){return Gt(t)}static compose(t){return Zt(t)}static composeAsync(t){return Yt(t)}};function Ai(i){return t=>{if(N(t.value)||N(i))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(N(t.value)||N(i))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null}}function Si(i){return N(i.value)?{required:!0}:null}function Ii(i){return i.value===!0?null:{required:!0}}function Oi(i){return N(i.value)||Vi.test(i.value)?null:{email:!0}}function ki(i){return t=>N(t.value)||!jt(t.value)?null:t.value.lengthjt(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}function Ti(i){if(!i)return Gt;let t,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),n=>{if(N(n.value))return null;let r=n.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Gt(i){return null}function Ut(i){return i!=null}function qt(i){return ut(i)?Je(i):i}function Wt(i){let t={};return i.forEach(e=>{t=e!=null?y(y({},t),e):t}),Object.keys(t).length===0?null:t}function $t(i,t){return t.map(e=>e(i))}function Ni(i){return!i.validate}function Qt(i){return i.map(t=>Ni(t)?t:e=>t.validate(e))}function Zt(i){if(!i)return null;let t=i.filter(Ut);return t.length==0?null:function(e){return Wt($t(e,t))}}function je(i){return i!=null?Zt(Qt(i)):null}function Yt(i){if(!i)return null;let t=i.filter(Ut);return t.length==0?null:function(e){let n=$t(e,t).map(qt);return et(n).pipe(se(Wt))}}function Ge(i){return i!=null?Yt(Qt(i)):null}function Ot(i,t){return i===null?[t]:Array.isArray(i)?[...i,t]:[i,t]}function Xt(i){return i._rawValidators}function Kt(i){return i._rawAsyncValidators}function Te(i){return i?Array.isArray(i)?i:[i]:[]}function me(i,t){return Array.isArray(i)?i.includes(t):i===t}function kt(i,t){let e=Te(t);return Te(i).forEach(r=>{me(e,r)||e.push(r)}),e}function Rt(i,t){return Te(t).filter(e=>!me(i,e))}var he=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=je(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},z=class extends he{name;get formDirective(){return null}get path(){return null}},j=class extends he{_parent=null;name=null;valueAccessor=null},Ne=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Pi={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},sr=F(y({},Pi),{"[class.ng-submitted]":"isSubmitted"}),lr=(()=>{class i extends Ne{constructor(e){super(e)}static \u0275fac=function(n){return new(n||i)(l(j,2))};static \u0275dir=c({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&x("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[B]})}return i})();var ie="VALID",ue="INVALID",Z="PENDING",ne="DISABLED",P=class{},pe=class extends P{value;source;constructor(t,e){super(),this.value=t,this.source=e}},oe=class extends P{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},ae=class extends P{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},Y=class extends P{status;source;constructor(t,e){super(),this.status=t,this.source=e}},Pe=class extends P{source;constructor(t){super(),this.source=t}},Le=class extends P{source;constructor(t){super(),this.source=t}};function Jt(i){return(xe(i)?i.validators:i)||null}function Li(i){return Array.isArray(i)?je(i):i||null}function ei(i,t){return(xe(t)?t.asyncValidators:i)||null}function Bi(i){return Array.isArray(i)?Ge(i):i||null}function xe(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function Hi(i,t,e){let n=i.controls;if(!(t?Object.keys(n):n).length)throw new le(1e3,"");if(!n[e])throw new le(1001,"")}function zi(i,t,e){i._forEachChild((n,r)=>{if(e[r]===void 0)throw new le(1002,"")})}var ge=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return O(this.statusReactive)}set status(t){O(()=>this.statusReactive.set(t))}_status=I(()=>this.statusReactive());statusReactive=G(void 0);get valid(){return this.status===ie}get invalid(){return this.status===ue}get pending(){return this.status==Z}get disabled(){return this.status===ne}get enabled(){return this.status!==ne}errors;get pristine(){return O(this.pristineReactive)}set pristine(t){O(()=>this.pristineReactive.set(t))}_pristine=I(()=>this.pristineReactive());pristineReactive=G(!0);get dirty(){return!this.pristine}get touched(){return O(this.touchedReactive)}set touched(t){O(()=>this.touchedReactive.set(t))}_touched=I(()=>this.touchedReactive());touchedReactive=G(!1);get untouched(){return!this.touched}_events=new k;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(kt(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(kt(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Rt(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Rt(t,this._rawAsyncValidators))}hasValidator(t){return me(this._rawValidators,t)}hasAsyncValidator(t){return me(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(F(y({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new ae(!0,n))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:n})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n),e&&t.emitEvent!==!1&&this._events.next(new ae(!1,n))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(F(y({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new oe(!1,n))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),e&&t.emitEvent!==!1&&this._events.next(new oe(!0,n))}markAsPending(t={}){this.status=Z;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Y(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(F(y({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=ne,this.errors=null,this._forEachChild(r=>{r.disable(F(y({},t),{onlySelf:!0}))}),this._updateValue();let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new pe(this.value,n)),this._events.next(new Y(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(y({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=ie,this._forEachChild(n=>{n.enable(F(y({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(F(y({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ie||this.status===Z)&&this._runAsyncValidator(n,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new pe(this.value,e)),this._events.next(new Y(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(F(y({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ne:ie}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=Z,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=qt(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(t,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,n){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||n)&&this._events.next(new Y(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,n)}_initObservables(){this.valueChanges=new L,this.statusChanges=new L}_calculateStatus(){return this._allControlsDisabled()?ne:this.errors?ue:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Z)?Z:this._anyControlsHaveStatus(ue)?ue:ie}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new oe(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new ae(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){xe(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Li(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Bi(this._rawAsyncValidators)}},_e=class extends ge{constructor(t,e,n){super(Jt(e),ei(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){zi(this,!0,t),Object.keys(t).forEach(n=>{Hi(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(n=>{let r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((r,o)=>{n=e(n,r,o)}),n}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Ce=new u("CallSetDisabledState",{providedIn:"root",factory:()=>Ue}),Ue="always";function ji(i,t){return[...t.path,i]}function ve(i,t,e=Ue){qe(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(i.disabled),Ui(i,t),Wi(i,t),qi(i,t),Gi(i,t)}function Tt(i,t,e=!0){let n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),be(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ye(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Gi(i,t){if(t.valueAccessor.setDisabledState){let e=n=>{t.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function qe(i,t){let e=Xt(i);t.validator!==null?i.setValidators(Ot(e,t.validator)):typeof e=="function"&&i.setValidators([e]);let n=Kt(i);t.asyncValidator!==null?i.setAsyncValidators(Ot(n,t.asyncValidator)):typeof n=="function"&&i.setAsyncValidators([n]);let r=()=>i.updateValueAndValidity();ye(t._rawValidators,r),ye(t._rawAsyncValidators,r)}function be(i,t){let e=!1;if(i!==null){if(t.validator!==null){let r=Xt(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,i.setValidators(o))}}if(t.asyncValidator!==null){let r=Kt(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o))}}}let n=()=>{};return ye(t._rawValidators,n),ye(t._rawAsyncValidators,n),e}function Ui(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&ti(i,t)})}function qi(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&ti(i,t),i.updateOn!=="submit"&&i.markAsTouched()})}function ti(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Wi(i,t){let e=(n,r)=>{t.valueAccessor.writeValue(n),r&&t.viewToModelUpdate(n)};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function ii(i,t){i==null,qe(i,t)}function $i(i,t){return be(i,t)}function Qi(i,t){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function Zi(i){return Object.getPrototypeOf(i.constructor)===Fi}function ni(i,t){i._syncPendingControls(),t.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Yi(i,t){if(!t)return null;Array.isArray(t);let e,n,r;return t.forEach(o=>{o.constructor===zt?e=o:Zi(o)?n=o:r=o}),r||n||e||null}function Xi(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1)}var Ki={provide:z,useExisting:X(()=>We)},re=Promise.resolve(),We=(()=>{class i extends z{callSetDisabledState;get submitted(){return O(this.submittedReactive)}_submitted=I(()=>this.submittedReactive());submittedReactive=G(!1);_directives=new Set;form;ngSubmit=new L;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new _e({},je(e),Ge(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){re.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),ve(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){re.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){re.then(()=>{let n=this._findContainer(e.path),r=new _e({});ii(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){re.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){re.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),ni(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||i)(l(He,10),l(ze,10),l(Ce,8))};static \u0275dir=c({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&A("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[S([Ki]),B]})}return i})();function Nt(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1)}function Pt(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var ri=class extends ge{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,n){super(Jt(e),ei(n,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xe(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pt(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Nt(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Nt(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Pt(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Ji=i=>i instanceof ri;var en={provide:j,useExisting:X(()=>tn)},Lt=Promise.resolve(),tn=(()=>{class i extends j{_changeDetectorRef;callSetDisabledState;control=new ri;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new L;constructor(e,n,r,o,a,d){super(),this._changeDetectorRef=a,this.callSetDisabledState=d,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=Yi(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Qi(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ve(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Lt.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&ee(n);Lt.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ji(e,this._parent):[e]}static \u0275fac=function(n){return new(n||i)(l(z,9),l(He,10),l(ze,10),l(Ht,10),l(ce,8),l(Ce,8))};static \u0275dir=c({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[S([en]),B,K]})}return i})();var nn={provide:z,useExisting:X(()=>$e)},$e=(()=>{class i extends z{callSetDisabledState;get submitted(){return O(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=I(()=>this._submittedReactive());_submittedReactive=G(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new L;constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(be(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return ve(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){Tt(e.control||null,e,!1),Xi(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),ni(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Pe(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Le(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(Tt(n||null,e),Ji(r)&&(ve(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);ii(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&$i(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qe(this.form,this),this._oldForm&&be(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||i)(l(He,10),l(ze,10),l(Ce,8))};static \u0275dir=c({type:i,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&A("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[S([nn]),B,K]})}return i})();var rn=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({})}return i})();var cr=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Ce,useValue:e.callSetDisabledState??Ue}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({imports:[rn]})}return i})();var on=["notch"],an=["matFormFieldNotchedOutline",""],sn=["*"],ln=["textField"],dn=["iconPrefixContainer"],cn=["textPrefixContainer"],un=["iconSuffixContainer"],fn=["textSuffixContainer"],mn=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],hn=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function pn(i,t){i&1&&H(0,"span",21)}function gn(i,t){if(i&1&&(m(0,"label",20),C(1,1),_(2,pn,1,0,"span",21),h()),i&2){let e=E(2);T("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),U("for",e._control.disableAutomaticLabeling?null:e._control.id),f(2),v(!e.hideRequiredMarker&&e._control.required?2:-1)}}function _n(i,t){if(i&1&&_(0,gn,3,5,"label",20),i&2){let e=E();v(e._hasFloatingLabel()?0:-1)}}function vn(i,t){i&1&&H(0,"div",7)}function yn(i,t){}function bn(i,t){if(i&1&&_(0,yn,0,0,"ng-template",13),i&2){E(2);let e=Se(1);T("ngTemplateOutlet",e)}}function xn(i,t){if(i&1&&(m(0,"div",9),_(1,bn,1,1,null,13),h()),i&2){let e=E();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),f(),v(e._forceDisplayInfixLabel()?-1:1)}}function Cn(i,t){i&1&&(m(0,"div",10,2),C(2,2),h())}function Fn(i,t){i&1&&(m(0,"div",11,3),C(2,3),h())}function Dn(i,t){}function wn(i,t){if(i&1&&_(0,Dn,0,0,"ng-template",13),i&2){E();let e=Se(1);T("ngTemplateOutlet",e)}}function Mn(i,t){i&1&&(m(0,"div",14,4),C(2,4),h())}function Vn(i,t){i&1&&(m(0,"div",15,5),C(2,5),h())}function An(i,t){i&1&&H(0,"div",16)}function En(i,t){if(i&1&&(m(0,"div",18),C(1,6),h()),i&2){let e=E();T("@transitionMessages",e._subscriptAnimationState)}}function Sn(i,t){if(i&1&&(m(0,"mat-hint",22),gt(1),h()),i&2){let e=E(2);T("id",e._hintLabelId),f(),_t(e.hintLabel)}}function In(i,t){if(i&1&&(m(0,"div",19),_(1,Sn,2,2,"mat-hint",22),C(2,7),H(3,"div",23),C(4,8),h()),i&2){let e=E();T("@transitionMessages",e._subscriptAnimationState),f(),v(e.hintLabel?1:-1)}}var oi=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["mat-label"]]})}return i})(),On=new u("MatError");var ai=(()=>{class i{align="start";id=s(te).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(de("id",r.id),U("align",null),x("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),kn=new u("MatPrefix");var Rn=new u("MatSuffix");var mi=new u("FloatingLabelParent"),si=(()=>{class i{_elementRef=s(b);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=s(It);_ngZone=s(R);_parent=s(mi);_resizeSubscription=new Xe;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Tn(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&x("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Tn(i){let t=i;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var li="mdc-line-ripple--active",Fe="mdc-line-ripple--deactivating",di=(()=>{class i{_elementRef=s(b);constructor(){s(R).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fe),e.add(li)}deactivate(){this._elementRef.nativeElement.classList.add(Fe)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,r=n.contains(Fe);e.propertyName==="opacity"&&r&&n.remove(li,Fe)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),ci=(()=>{class i{_elementRef=s(b);_ngZone=s(R);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=J({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&D(on,5),n&2){let o;p(o=g())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&x("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:an,ngContentSelectors:sn,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,r){n&1&&(Ee(),H(0,"div",1),m(1,"div",2,0),C(3),h(),H(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),Nn={transitionMessages:xt("transitionMessages",[Ft("enter",Oe({opacity:1,transform:"translateY(0%)"})),Dt("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Ct("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Qe=(()=>{class i{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i})}return i})();var Ze=new u("MatFormField"),Pn=new u("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ui="fill",Ln="auto",fi="fixed",Bn="translateY(-50%)",Tr=(()=>{class i{_elementRef=s(b);_changeDetectorRef=s(ce);_dir=s(wt);_platform=s($);_idGenerator=s(te);_defaults=s(Pn,{optional:!0});_animationMode=s(lt,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=ft(oi);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=W(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Ln}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let n=this._appearance,r=e||this._defaults?.appearance||ui;this._appearance=r,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=ui;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||fi}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||fi}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new k;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=s(Me);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=I(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let n=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(r+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(rt([void 0,void 0]),se(()=>[n.errorState,n.userAriaDescribedBy]),nt(),it(([[o,a],[d,w]])=>o!==d||a!==w)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(De(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),tt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),dt(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(De(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=I(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,d=n?.getBoundingClientRect().width??0,w=r?.getBoundingClientRect().width??0,_i=o?.getBoundingClientRect().width??0,vi=a?.getBoundingClientRect().width??0,yi=this._dir.value==="rtl"?"-1":"1",bi=`${d+w}px`,xi=`calc(${yi} * (${bi} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( +import{a as It}from"./chunk-2C5KW35L.js";import{$a as pt,A as nt,Aa as ft,Ba as B,Ca as Ae,Da as _,Dc as Vt,E as rt,Ea as U,Fa as T,G as De,Gc as At,Ha as x,I as le,J as X,Ja as v,K as we,Ka as m,Kb as xt,L as M,La as h,Lb as Ct,M as u,Ma as H,Mc as te,Na as mt,Nb as Oe,Nc as Q,O as s,Oa as de,Ob as Ft,Oc as Et,Pb as Dt,Pc as St,Q as K,Qa as A,Sa as E,T as ot,Ta as Ee,U as at,Ua as C,W as st,Wa as q,X as Me,Xa as D,Ya as p,Z as L,Za as g,_ as R,_a as ht,a as y,aa as b,ab as Se,b as F,bb as gt,ca as lt,cb as _t,ea as dt,g as Xe,hb as S,i as k,k as Ke,la as f,lb as vt,ma as l,mb as ce,mc as W,n as se,nb as ee,o as Je,p as et,pb as I,pc as ke,qa as Ve,qb as O,qc as wt,r as tt,ra as J,rb as yt,s as it,sa as V,ta as c,tb as Ie,va as ct,wa as ut,xc as $,yc as Re,za as G,zb as bt,zc as Mt}from"./chunk-XUHCC3XM.js";var Bt=(()=>{class i{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||i)(l(Ve),l(b))};static \u0275dir=c({type:i})}return i})(),Fi=(()=>{class i extends Bt{static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(i)))(r||i)}})();static \u0275dir=c({type:i,features:[B]})}return i})(),Ht=new u("");var Di={provide:Ht,useExisting:X(()=>zt),multi:!0};function wi(){let i=Ie()?Ie().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Mi=new u(""),zt=(()=>{class i extends Bt{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!wi())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||i)(l(Ve),l(b),l(Mi,8))};static \u0275dir=c({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&A("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[S([Di]),B]})}return i})();function N(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function jt(i){return i!=null&&typeof i.length=="number"}var He=new u(""),ze=new u(""),Vi=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,fe=class{static min(t){return Ai(t)}static max(t){return Ei(t)}static required(t){return Si(t)}static requiredTrue(t){return Ii(t)}static email(t){return Oi(t)}static minLength(t){return ki(t)}static maxLength(t){return Ri(t)}static pattern(t){return Ti(t)}static nullValidator(t){return Gt(t)}static compose(t){return Zt(t)}static composeAsync(t){return Yt(t)}};function Ai(i){return t=>{if(N(t.value)||N(i))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(N(t.value)||N(i))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null}}function Si(i){return N(i.value)?{required:!0}:null}function Ii(i){return i.value===!0?null:{required:!0}}function Oi(i){return N(i.value)||Vi.test(i.value)?null:{email:!0}}function ki(i){return t=>N(t.value)||!jt(t.value)?null:t.value.lengthjt(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}function Ti(i){if(!i)return Gt;let t,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),n=>{if(N(n.value))return null;let r=n.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Gt(i){return null}function Ut(i){return i!=null}function qt(i){return ut(i)?Je(i):i}function Wt(i){let t={};return i.forEach(e=>{t=e!=null?y(y({},t),e):t}),Object.keys(t).length===0?null:t}function $t(i,t){return t.map(e=>e(i))}function Ni(i){return!i.validate}function Qt(i){return i.map(t=>Ni(t)?t:e=>t.validate(e))}function Zt(i){if(!i)return null;let t=i.filter(Ut);return t.length==0?null:function(e){return Wt($t(e,t))}}function je(i){return i!=null?Zt(Qt(i)):null}function Yt(i){if(!i)return null;let t=i.filter(Ut);return t.length==0?null:function(e){let n=$t(e,t).map(qt);return et(n).pipe(se(Wt))}}function Ge(i){return i!=null?Yt(Qt(i)):null}function Ot(i,t){return i===null?[t]:Array.isArray(i)?[...i,t]:[i,t]}function Xt(i){return i._rawValidators}function Kt(i){return i._rawAsyncValidators}function Te(i){return i?Array.isArray(i)?i:[i]:[]}function me(i,t){return Array.isArray(i)?i.includes(t):i===t}function kt(i,t){let e=Te(t);return Te(i).forEach(r=>{me(e,r)||e.push(r)}),e}function Rt(i,t){return Te(t).filter(e=>!me(i,e))}var he=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=je(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},z=class extends he{name;get formDirective(){return null}get path(){return null}},j=class extends he{_parent=null;name=null;valueAccessor=null},Ne=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Pi={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},sr=F(y({},Pi),{"[class.ng-submitted]":"isSubmitted"}),lr=(()=>{class i extends Ne{constructor(e){super(e)}static \u0275fac=function(n){return new(n||i)(l(j,2))};static \u0275dir=c({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&x("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[B]})}return i})();var ie="VALID",ue="INVALID",Z="PENDING",ne="DISABLED",P=class{},pe=class extends P{value;source;constructor(t,e){super(),this.value=t,this.source=e}},oe=class extends P{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},ae=class extends P{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},Y=class extends P{status;source;constructor(t,e){super(),this.status=t,this.source=e}},Pe=class extends P{source;constructor(t){super(),this.source=t}},Le=class extends P{source;constructor(t){super(),this.source=t}};function Jt(i){return(xe(i)?i.validators:i)||null}function Li(i){return Array.isArray(i)?je(i):i||null}function ei(i,t){return(xe(t)?t.asyncValidators:i)||null}function Bi(i){return Array.isArray(i)?Ge(i):i||null}function xe(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function Hi(i,t,e){let n=i.controls;if(!(t?Object.keys(n):n).length)throw new le(1e3,"");if(!n[e])throw new le(1001,"")}function zi(i,t,e){i._forEachChild((n,r)=>{if(e[r]===void 0)throw new le(1002,"")})}var ge=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return O(this.statusReactive)}set status(t){O(()=>this.statusReactive.set(t))}_status=I(()=>this.statusReactive());statusReactive=G(void 0);get valid(){return this.status===ie}get invalid(){return this.status===ue}get pending(){return this.status==Z}get disabled(){return this.status===ne}get enabled(){return this.status!==ne}errors;get pristine(){return O(this.pristineReactive)}set pristine(t){O(()=>this.pristineReactive.set(t))}_pristine=I(()=>this.pristineReactive());pristineReactive=G(!0);get dirty(){return!this.pristine}get touched(){return O(this.touchedReactive)}set touched(t){O(()=>this.touchedReactive.set(t))}_touched=I(()=>this.touchedReactive());touchedReactive=G(!1);get untouched(){return!this.touched}_events=new k;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(kt(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(kt(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Rt(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Rt(t,this._rawAsyncValidators))}hasValidator(t){return me(this._rawValidators,t)}hasAsyncValidator(t){return me(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(F(y({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new ae(!0,n))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:n})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n),e&&t.emitEvent!==!1&&this._events.next(new ae(!1,n))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let n=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(F(y({},t),{sourceControl:n})),e&&t.emitEvent!==!1&&this._events.next(new oe(!1,n))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),e&&t.emitEvent!==!1&&this._events.next(new oe(!0,n))}markAsPending(t={}){this.status=Z;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Y(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(F(y({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=ne,this.errors=null,this._forEachChild(r=>{r.disable(F(y({},t),{onlySelf:!0}))}),this._updateValue();let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new pe(this.value,n)),this._events.next(new Y(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(y({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=ie,this._forEachChild(n=>{n.enable(F(y({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(F(y({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ie||this.status===Z)&&this._runAsyncValidator(n,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new pe(this.value,e)),this._events.next(new Y(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(F(y({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ne:ie}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=Z,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=qt(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(t,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,n){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||n)&&this._events.next(new Y(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,n)}_initObservables(){this.valueChanges=new L,this.statusChanges=new L}_calculateStatus(){return this._allControlsDisabled()?ne:this.errors?ue:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Z)?Z:this._anyControlsHaveStatus(ue)?ue:ie}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new oe(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new ae(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){xe(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Li(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Bi(this._rawAsyncValidators)}},_e=class extends ge{constructor(t,e,n){super(Jt(e),ei(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){zi(this,!0,t),Object.keys(t).forEach(n=>{Hi(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(n=>{let r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((r,o)=>{n=e(n,r,o)}),n}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Ce=new u("CallSetDisabledState",{providedIn:"root",factory:()=>Ue}),Ue="always";function ji(i,t){return[...t.path,i]}function ve(i,t,e=Ue){qe(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(i.disabled),Ui(i,t),Wi(i,t),qi(i,t),Gi(i,t)}function Tt(i,t,e=!0){let n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),be(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ye(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Gi(i,t){if(t.valueAccessor.setDisabledState){let e=n=>{t.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function qe(i,t){let e=Xt(i);t.validator!==null?i.setValidators(Ot(e,t.validator)):typeof e=="function"&&i.setValidators([e]);let n=Kt(i);t.asyncValidator!==null?i.setAsyncValidators(Ot(n,t.asyncValidator)):typeof n=="function"&&i.setAsyncValidators([n]);let r=()=>i.updateValueAndValidity();ye(t._rawValidators,r),ye(t._rawAsyncValidators,r)}function be(i,t){let e=!1;if(i!==null){if(t.validator!==null){let r=Xt(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,i.setValidators(o))}}if(t.asyncValidator!==null){let r=Kt(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o))}}}let n=()=>{};return ye(t._rawValidators,n),ye(t._rawAsyncValidators,n),e}function Ui(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&ti(i,t)})}function qi(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&ti(i,t),i.updateOn!=="submit"&&i.markAsTouched()})}function ti(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Wi(i,t){let e=(n,r)=>{t.valueAccessor.writeValue(n),r&&t.viewToModelUpdate(n)};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function ii(i,t){i==null,qe(i,t)}function $i(i,t){return be(i,t)}function Qi(i,t){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function Zi(i){return Object.getPrototypeOf(i.constructor)===Fi}function ni(i,t){i._syncPendingControls(),t.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Yi(i,t){if(!t)return null;Array.isArray(t);let e,n,r;return t.forEach(o=>{o.constructor===zt?e=o:Zi(o)?n=o:r=o}),r||n||e||null}function Xi(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1)}var Ki={provide:z,useExisting:X(()=>We)},re=Promise.resolve(),We=(()=>{class i extends z{callSetDisabledState;get submitted(){return O(this.submittedReactive)}_submitted=I(()=>this.submittedReactive());submittedReactive=G(!1);_directives=new Set;form;ngSubmit=new L;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new _e({},je(e),Ge(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){re.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),ve(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){re.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){re.then(()=>{let n=this._findContainer(e.path),r=new _e({});ii(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){re.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){re.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),ni(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||i)(l(He,10),l(ze,10),l(Ce,8))};static \u0275dir=c({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&A("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[S([Ki]),B]})}return i})();function Nt(i,t){let e=i.indexOf(t);e>-1&&i.splice(e,1)}function Pt(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var ri=class extends ge{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,n){super(Jt(e),ei(n,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xe(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Pt(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Nt(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Nt(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Pt(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Ji=i=>i instanceof ri;var en={provide:j,useExisting:X(()=>tn)},Lt=Promise.resolve(),tn=(()=>{class i extends j{_changeDetectorRef;callSetDisabledState;control=new ri;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new L;constructor(e,n,r,o,a,d){super(),this._changeDetectorRef=a,this.callSetDisabledState=d,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=Yi(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Qi(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ve(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Lt.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&ee(n);Lt.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ji(e,this._parent):[e]}static \u0275fac=function(n){return new(n||i)(l(z,9),l(He,10),l(ze,10),l(Ht,10),l(ce,8),l(Ce,8))};static \u0275dir=c({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[S([en]),B,K]})}return i})();var nn={provide:z,useExisting:X(()=>$e)},$e=(()=>{class i extends z{callSetDisabledState;get submitted(){return O(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=I(()=>this._submittedReactive());_submittedReactive=G(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new L;constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(be(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return ve(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){Tt(e.control||null,e,!1),Xi(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),ni(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Pe(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Le(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(Tt(n||null,e),Ji(r)&&(ve(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);ii(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&$i(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qe(this.form,this),this._oldForm&&be(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||i)(l(He,10),l(ze,10),l(Ce,8))};static \u0275dir=c({type:i,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&A("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[S([nn]),B,K]})}return i})();var rn=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({})}return i})();var cr=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Ce,useValue:e.callSetDisabledState??Ue}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({imports:[rn]})}return i})();var on=["notch"],an=["matFormFieldNotchedOutline",""],sn=["*"],ln=["textField"],dn=["iconPrefixContainer"],cn=["textPrefixContainer"],un=["iconSuffixContainer"],fn=["textSuffixContainer"],mn=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],hn=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function pn(i,t){i&1&&H(0,"span",21)}function gn(i,t){if(i&1&&(m(0,"label",20),C(1,1),_(2,pn,1,0,"span",21),h()),i&2){let e=E(2);T("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),U("for",e._control.disableAutomaticLabeling?null:e._control.id),f(2),v(!e.hideRequiredMarker&&e._control.required?2:-1)}}function _n(i,t){if(i&1&&_(0,gn,3,5,"label",20),i&2){let e=E();v(e._hasFloatingLabel()?0:-1)}}function vn(i,t){i&1&&H(0,"div",7)}function yn(i,t){}function bn(i,t){if(i&1&&_(0,yn,0,0,"ng-template",13),i&2){E(2);let e=Se(1);T("ngTemplateOutlet",e)}}function xn(i,t){if(i&1&&(m(0,"div",9),_(1,bn,1,1,null,13),h()),i&2){let e=E();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),f(),v(e._forceDisplayInfixLabel()?-1:1)}}function Cn(i,t){i&1&&(m(0,"div",10,2),C(2,2),h())}function Fn(i,t){i&1&&(m(0,"div",11,3),C(2,3),h())}function Dn(i,t){}function wn(i,t){if(i&1&&_(0,Dn,0,0,"ng-template",13),i&2){E();let e=Se(1);T("ngTemplateOutlet",e)}}function Mn(i,t){i&1&&(m(0,"div",14,4),C(2,4),h())}function Vn(i,t){i&1&&(m(0,"div",15,5),C(2,5),h())}function An(i,t){i&1&&H(0,"div",16)}function En(i,t){if(i&1&&(m(0,"div",18),C(1,6),h()),i&2){let e=E();T("@transitionMessages",e._subscriptAnimationState)}}function Sn(i,t){if(i&1&&(m(0,"mat-hint",22),gt(1),h()),i&2){let e=E(2);T("id",e._hintLabelId),f(),_t(e.hintLabel)}}function In(i,t){if(i&1&&(m(0,"div",19),_(1,Sn,2,2,"mat-hint",22),C(2,7),H(3,"div",23),C(4,8),h()),i&2){let e=E();T("@transitionMessages",e._subscriptAnimationState),f(),v(e.hintLabel?1:-1)}}var oi=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["mat-label"]]})}return i})(),On=new u("MatError");var ai=(()=>{class i{align="start";id=s(te).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(de("id",r.id),U("align",null),x("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),kn=new u("MatPrefix");var Rn=new u("MatSuffix");var mi=new u("FloatingLabelParent"),si=(()=>{class i{_elementRef=s(b);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=s(It);_ngZone=s(R);_parent=s(mi);_resizeSubscription=new Xe;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Tn(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&x("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Tn(i){let t=i;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var li="mdc-line-ripple--active",Fe="mdc-line-ripple--deactivating",di=(()=>{class i{_elementRef=s(b);constructor(){s(R).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fe),e.add(li)}deactivate(){this._elementRef.nativeElement.classList.add(Fe)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,r=n.contains(Fe);e.propertyName==="opacity"&&r&&n.remove(li,Fe)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),ci=(()=>{class i{_elementRef=s(b);_ngZone=s(R);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=J({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&D(on,5),n&2){let o;p(o=g())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&x("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:an,ngContentSelectors:sn,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,r){n&1&&(Ee(),H(0,"div",1),m(1,"div",2,0),C(3),h(),H(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),Nn={transitionMessages:xt("transitionMessages",[Ft("enter",Oe({opacity:1,transform:"translateY(0%)"})),Dt("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Ct("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Qe=(()=>{class i{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i})}return i})();var Ze=new u("MatFormField"),Pn=new u("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ui="fill",Ln="auto",fi="fixed",Bn="translateY(-50%)",Tr=(()=>{class i{_elementRef=s(b);_changeDetectorRef=s(ce);_dir=s(wt);_platform=s($);_idGenerator=s(te);_defaults=s(Pn,{optional:!0});_animationMode=s(lt,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=ft(oi);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=W(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Ln}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let n=this._appearance,r=e||this._defaults?.appearance||ui;this._appearance=r,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=ui;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||fi}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||fi}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new k;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=s(Me);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=I(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let n=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(r+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(rt([void 0,void 0]),se(()=>[n.errorState,n.userAriaDescribedBy]),nt(),it(([[o,a],[d,w]])=>o!==d||a!==w)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(De(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),tt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),dt(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(De(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=I(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,d=n?.getBoundingClientRect().width??0,w=r?.getBoundingClientRect().width??0,_i=o?.getBoundingClientRect().width??0,vi=a?.getBoundingClientRect().width??0,yi=this._dir.value==="rtl"?"-1":"1",bi=`${d+w}px`,xi=`calc(${yi} * (${bi} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, ${Bn} translateX(${xi}) )`;let Ci=d+w+_i+vi;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Ci}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=J({type:i,selectors:[["mat-form-field"]],contentQueries:function(n,r,o){if(n&1&&(ht(o,r._labelChild,oi,5),q(o,Qe,5),q(o,kn,5),q(o,Rn,5),q(o,On,5),q(o,ai,5)),n&2){pt();let a;p(a=g())&&(r._formFieldControl=a.first),p(a=g())&&(r._prefixChildren=a),p(a=g())&&(r._suffixChildren=a),p(a=g())&&(r._errorChildren=a),p(a=g())&&(r._hintChildren=a)}},viewQuery:function(n,r){if(n&1&&(D(ln,5),D(dn,5),D(cn,5),D(un,5),D(fn,5),D(si,5),D(ci,5),D(di,5)),n&2){let o;p(o=g())&&(r._textField=o.first),p(o=g())&&(r._iconPrefixContainer=o.first),p(o=g())&&(r._textPrefixContainer=o.first),p(o=g())&&(r._iconSuffixContainer=o.first),p(o=g())&&(r._textSuffixContainer=o.first),p(o=g())&&(r._floatingLabel=o.first),p(o=g())&&(r._notchedOutline=o.first),p(o=g())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,r){n&2&&x("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[S([{provide:Ze,useExisting:i},{provide:mi,useExisting:i}])],ngContentSelectors:hn,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,r){if(n&1){let o=mt();Ee(mn),_(0,_n,1,1,"ng-template",null,0,vt),m(2,"div",6,1),A("click",function(d){return ot(o),at(r._control.onContainerClick(d))}),_(4,vn,1,0,"div",7),m(5,"div",8),_(6,xn,2,2,"div",9)(7,Cn,3,0,"div",10)(8,Fn,3,0,"div",11),m(9,"div",12),_(10,wn,1,1,null,13),C(11),h(),_(12,Mn,3,0,"div",14)(13,Vn,3,0,"div",15),h(),_(14,An,1,0,"div",16),h(),m(15,"div",17),_(16,En,2,1,"div",18)(17,In,5,2,"div",19),h()}if(n&2){let o;f(2),x("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),f(2),v(!r._hasOutline()&&!r._control.disabled?4:-1),f(2),v(r._hasOutline()?6:-1),f(),v(r._hasIconPrefix?7:-1),f(),v(r._hasTextPrefix?8:-1),f(2),v(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),f(2),v(r._hasTextSuffix?12:-1),f(),v(r._hasIconSuffix?13:-1),f(),v(r._hasOutline()?-1:14),f(),x("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),f(),v((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[si,ci,bt,di,ai],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Nn.transitionMessages]},changeDetection:0})}return i})(),Ye=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({imports:[Q,At,Q]})}return i})();var Hn=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275cmp=J({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return i})(),hi=Mt({passive:!0}),pi=(()=>{class i{_platform=s($);_ngZone=s(R);_styleLoader=s(Vt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Ke;this._styleLoader.load(Hn);let n=ke(e),r=this._monitoredElements.get(n);if(r)return r.subject;let o=new k,a="cdk-text-field-autofilled",d=w=>{w.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>o.next({target:w.target,isAutofilled:!0}))):w.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>o.next({target:w.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",d,hi),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:o,unlisten:()=>{n.removeEventListener("animationstart",d,hi)}}),o}stopMonitoring(e){let n=ke(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||i)};static \u0275prov=we({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var gi=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({})}return i})();var zn=new u("MAT_INPUT_VALUE_ACCESSOR"),jn=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Gn=new u("MAT_INPUT_CONFIG"),fo=(()=>{class i{_elementRef=s(b);_platform=s($);ngControl=s(j,{optional:!0,self:!0});_autofillMonitor=s(pi);_ngZone=s(R);_formField=s(Ze,{optional:!0});_uid=s(te).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=s(Gn,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new k;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=W(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(fe.required)??!1}set required(e){this._required=W(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Re().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=W(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Re().has(e));constructor(){let e=s(We,{optional:!0}),n=s($e,{optional:!0}),r=s(St),o=s(zn,{optional:!0,self:!0}),a=this._elementRef.nativeElement,d=a.nodeName.toLowerCase();o?ct(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{a.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Et(r,this.ngControl,n,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=d==="select",this._isTextarea=d==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&yt(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let n=this._elementRef.nativeElement;n.type==="number"?(n.type="text",n.setSelectionRange(0,0),n.type="number"):n.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){jn.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let n=this._elementRef.nativeElement,r=n.getAttribute("aria-describedby"),o;if(r){let a=this._formFieldDescribedBy||e;o=e.concat(r.split(" ").filter(d=>d&&!a.includes(d)))}else o=e;this._formFieldDescribedBy=e,o.length?n.setAttribute("aria-describedby",o.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let n=e.target;!n.value&&n.selectionStart===0&&n.selectionEnd===0&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||i)};static \u0275dir=c({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(n,r){n&1&&A("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),n&2&&(de("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),U("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),x("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ee]},exportAs:["matInput"],features:[S([{provide:Qe,useExisting:i}]),Ae,K]})}return i})(),mo=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=V({type:i});static \u0275inj=M({imports:[Q,Ye,Ye,gi,Q]})}return i})();export{zt as a,lr as b,tn as c,cr as d,oi as e,Tr as f,Ye as g,fo as h,mo as i}; diff --git a/chunk-LIRKJJMR.js b/chunk-ANIW253D.js similarity index 88% rename from chunk-LIRKJJMR.js rename to chunk-ANIW253D.js index b59fcfc..6e71be0 100644 --- a/chunk-LIRKJJMR.js +++ b/chunk-ANIW253D.js @@ -1 +1 @@ -import{a as f,b as h}from"./chunk-4AFKNOE3.js";import{Fa as m,Ka as n,La as o,Qa as p,aa as s,bb as c,ma as d,ra as l}from"./chunk-L73B4PLA.js";var a=class i{constructor(e){this.elementRef=e}onLoad(){this.stripContent(),this.setHeadings()}setHeadings(){let e=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(t=>e.push(t)),this.headings=e}stripContent(){this.elementRef.nativeElement.querySelector("markdown").querySelectorAll("markdown > p:nth-child(-n + 2), #ngx-markdown, #table-of-contents + ul, #table-of-contents").forEach(e=>e.remove())}static{this.\u0275fac=function(t){return new(t||i)(d(s))}}static{this.\u0275cmp=l({type:i,selectors:[["app-get-started"]],decls:4,vars:1,consts:[[3,"headings"],["id","getting-started"],["emoji","","src","https://raw.githubusercontent.com/jfcere/ngx-markdown/master/README.md",3,"load"]],template:function(t,r){t&1&&(n(0,"app-scrollspy-nav-layout",0)(1,"h1",1),c(2,"Get Started"),o(),n(3,"markdown",2),p("load",function(){return r.onLoad()}),o()()),t&2&&m("headings",r.headings)},dependencies:[f,h],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}};export{a as default}; +import{a as f,b as h}from"./chunk-24RKEVHA.js";import{Fa as m,Ka as n,La as o,Qa as p,aa as s,bb as c,ma as d,ra as l}from"./chunk-XUHCC3XM.js";var a=class i{constructor(e){this.elementRef=e}onLoad(){this.stripContent(),this.setHeadings()}setHeadings(){let e=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(t=>e.push(t)),this.headings=e}stripContent(){this.elementRef.nativeElement.querySelector("markdown").querySelectorAll("markdown > p:nth-child(-n + 2), #ngx-markdown, #table-of-contents + ul, #table-of-contents").forEach(e=>e.remove())}static{this.\u0275fac=function(t){return new(t||i)(d(s))}}static{this.\u0275cmp=l({type:i,selectors:[["app-get-started"]],decls:4,vars:1,consts:[[3,"headings"],["id","getting-started"],["emoji","","src","https://raw.githubusercontent.com/jfcere/ngx-markdown/master/README.md",3,"load"]],template:function(t,r){t&1&&(n(0,"app-scrollspy-nav-layout",0)(1,"h1",1),c(2,"Get Started"),o(),n(3,"markdown",2),p("load",function(){return r.onLoad()}),o()()),t&2&&m("headings",r.headings)},dependencies:[f,h],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}};export{a as default}; diff --git a/chunk-L73B4PLA.js b/chunk-L73B4PLA.js deleted file mode 100644 index b9f83ba..0000000 --- a/chunk-L73B4PLA.js +++ /dev/null @@ -1,63 +0,0 @@ -var _x=Object.create;var Ka=Object.defineProperty,Ex=Object.defineProperties,Ix=Object.getOwnPropertyDescriptor,Cx=Object.getOwnPropertyDescriptors,Mx=Object.getOwnPropertyNames,ko=Object.getOwnPropertySymbols,Tx=Object.getPrototypeOf,Xa=Object.prototype.hasOwnProperty,lh=Object.prototype.propertyIsEnumerable;var ch=(t,n,e)=>n in t?Ka(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,m=(t,n)=>{for(var e in n||={})Xa.call(n,e)&&ch(t,e,n[e]);if(ko)for(var e of ko(n))lh.call(n,e)&&ch(t,e,n[e]);return t},j=(t,n)=>Ex(t,Cx(n));var Sx=(t,n)=>{var e={};for(var r in t)Xa.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&ko)for(var r of ko(t))n.indexOf(r)<0&&lh.call(t,r)&&(e[r]=t[r]);return e};var Uk=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var Ax=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of Mx(n))!Xa.call(t,i)&&i!==e&&Ka(t,i,{get:()=>n[i],enumerable:!(r=Ix(n,i))||r.enumerable});return t};var Hk=(t,n,e)=>(e=t!=null?_x(Tx(t)):{},Ax(n||!t||!t.__esModule?Ka(e,"default",{value:t,enumerable:!0}):e,t));var ui=(t,n,e)=>new Promise((r,i)=>{var o=c=>{try{a(e.next(c))}catch(l){i(l)}},s=c=>{try{a(e.throw(c))}catch(l){i(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((e=e.apply(t,n)).next())});function rc(t,n){return Object.is(t,n)}var se=null,di=!1,ic=1,ge=Symbol("SIGNAL");function $(t){let n=se;return se=t,n}function uh(){return se}function kx(){return di}var In={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ro(t){if(di)throw new Error("");if(se===null)return;se.consumerOnSignalRead(t);let n=se.nextProducerIndex++;if(Fo(se),nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function pi(t){Fo(t);for(let n=0;n0}function Fo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function mh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function gh(t){return t.producerNode!==void 0}function sc(t){let n=Object.create(Rx);n.computation=t;let e=()=>{if(oc(n),Ro(n),n.value===No)throw n.error;return n.value};return e[ge]=n,e}var Ja=Symbol("UNSET"),ec=Symbol("COMPUTING"),No=Symbol("ERRORED"),Rx=j(m({},In),{value:Ja,dirty:!0,error:null,equal:rc,producerMustRecompute(t){return t.value===Ja||t.value===ec},producerRecomputeValue(t){if(t.value===ec)throw new Error("Detected cycle in computations.");let n=t.value;t.value=ec;let e=sr(t),r;try{r=t.computation()}catch(i){r=No,t.error=i}finally{hi(t,e)}if(n!==Ja&&n!==No&&r!==No&&t.equal(n,r)){t.value=n;return}t.value=r,t.version++}});function Ox(){throw new Error}var bh=Ox;function yh(){bh()}function vh(t){bh=t}var Fx=null;function xh(t){let n=Object.create(ac);n.value=t;let e=()=>(Ro(n),n.value);return e[ge]=n,e}function Lo(t,n){fh()||yh(),t.equal(t.value,n)||(t.value=n,Lx(t))}function Dh(t,n){fh()||yh(),Lo(t,n(t.value))}var ac=j(m({},In),{equal:rc,value:void 0});function Lx(t){t.version++,Nx(),dh(t),Fx?.()}function wh(t,n,e){let r=Object.create(Px);e&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=n;let i=c=>{r.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(ar(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=nc)}let a=()=>{if(r.fn===null)return;if(kx())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!pi(r))return;r.hasRun=!0;let c=sr(r);try{r.cleanupFn(),r.cleanupFn=nc,r.fn(i)}finally{hi(r,c)}};return r.ref={notify:()=>hh(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ge]:r},r.ref}var nc=()=>{},Px=j(m({},In),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:nc});function Ct(t){return typeof t=="function"}var cc=!1,Me={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){let n=new Error;console.warn(`DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: -`+n.stack)}else cc&&console.log("RxJS: Back to a better error behavior. Thank you. <3");cc=t},get useDeprecatedSynchronousErrorHandling(){return cc}};function Mt(t){setTimeout(()=>{throw t},0)}var cr={closed:!0,next(t){},error(t){if(Me.useDeprecatedSynchronousErrorHandling)throw t;Mt(t)},complete(){}};var Ye=Array.isArray||(t=>t&&typeof t.length=="number");function lr(t){return t!==null&&typeof t=="object"}var jx=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((e,r)=>`${r+1}) ${e.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})(),mi=jx;var B=class t{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_unsubscribe:r,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof t)e.remove(this);else if(e!==null)for(let o=0;on.concat(e instanceof mi?e.errors:e),[])}var Cn=typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();var S=class t extends B{constructor(n,e,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=cr;break;case 1:if(!n){this.destination=cr;break}if(typeof n=="object"){n instanceof t?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new Po(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Po(this,n,e,r);break}}[Cn](){return this}static create(n,e,r){let i=new t(n,e,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){let{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}},Po=class extends S{constructor(n,e,r,i){super(),this._parentSubscriber=n;let o,s=this;Ct(e)?o=e:e&&(o=e.next,r=e.error,i=e.complete,e!==cr&&(s=Object.create(e),Ct(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){let{_parentSubscriber:e}=this;!Me.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable?this.__tryOrUnsub(this._next,n):this.__tryOrSetError(e,this._next,n)&&this.unsubscribe()}}error(n){if(!this.isStopped){let{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:r}=Me;if(this._error)!r||!e.syncErrorThrowable?(this.__tryOrUnsub(this._error,n),this.unsubscribe()):(this.__tryOrSetError(e,this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=n,e.syncErrorThrown=!0):Mt(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;Mt(n)}}}complete(){if(!this.isStopped){let{_parentSubscriber:n}=this;if(this._complete){let e=()=>this._complete.call(this._context);!Me.useDeprecatedSynchronousErrorHandling||!n.syncErrorThrowable?(this.__tryOrUnsub(e),this.unsubscribe()):(this.__tryOrSetError(n,e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(r){if(this.unsubscribe(),Me.useDeprecatedSynchronousErrorHandling)throw r;Mt(r)}}__tryOrSetError(n,e,r){if(!Me.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(i){return Me.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(Mt(i),!0)}return!1}_unsubscribe(){let{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}};function Eh(t){for(;t;){let{closed:n,destination:e,isStopped:r}=t;if(n||r)return!1;e&&e instanceof S?t=e:t=null}return!0}function Ih(t,n,e){if(t){if(t instanceof S)return t;if(t[Cn])return t[Cn]()}return!t&&!n&&!e?new S(cr):new S(t,n,e)}var lt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Jt(t){return t}function lc(...t){return uc(t)}function uc(t){return t.length===0?Jt:t.length===1?t[0]:function(e){return t.reduce((r,i)=>i(r),e)}}var T=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,i){let{operator:o}=this,s=Ih(e,r,i);if(o?s.add(o.call(s,this.source)):s.add(this.source||Me.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Me.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(r){Me.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=r),Eh(e)?e.error(r):console.warn(r)}}forEach(e,r){return r=Ch(r),new r((i,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(c){o(c),s&&s.unsubscribe()}},o,i)})}_subscribe(e){let{source:r}=this;return r&&r.subscribe(e)}[lt](){return this}pipe(...e){return e.length===0?this:uc(e)(this)}toPromise(e){return e=Ch(e),new e((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=n=>new t(n),t})();function Ch(t){if(t||(t=Me.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var Bx=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})(),ut=Bx;var ur=class extends B{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;let n=this.subject,e=n.observers;if(this.subject=null,!e||e.length===0||n.isStopped||n.closed)return;let r=e.indexOf(this.subscriber);r!==-1&&e.splice(r,1)}};var gi=class extends S{constructor(n){super(n),this.destination=n}},k=(()=>{class t extends T{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Cn](){return new gi(this)}lift(e){let r=new jo(this,this);return r.operator=e,r}next(e){if(this.closed)throw new ut;if(!this.isStopped){let{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew jo(n,e),t})(),jo=class extends k{constructor(n,e){super(),this.destination=n,this.source=e}next(n){let{destination:e}=this;e&&e.next&&e.next(n)}error(n){let{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){let{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){let{source:e}=this;return e?this.source.subscribe(n):B.EMPTY}};function en(){return function(n){return n.lift(new dc(n))}}var dc=class{constructor(n){this.connectable=n}call(n,e){let{connectable:r}=this;r._refCount++;let i=new fc(n,r),o=e.subscribe(i);return i.closed||(i.connection=r.connect()),o}},fc=class extends S{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){let{connectable:n}=this;if(!n){this.connection=null;return}this.connectable=null;let e=n._refCount;if(e<=0){this.connection=null;return}if(n._refCount=e-1,e>1){this.connection=null;return}let{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}};var Mn=class extends T{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new B,n.add(this.source.subscribe(new hc(this.getSubject(),this))),n.closed&&(this._connection=null,n=B.EMPTY)),n}refCount(){return en()(this)}},Mh=(()=>{let t=Mn.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})(),hc=class extends gi{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){let n=this.connectable;if(n){this.connectable=null;let e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}};var J=class extends k{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ut;return this._value}next(n){super.next(this._value=n)}};var Bo=class extends B{constructor(n,e){super()}schedule(n,e=0){return this}};var dr=class extends Bo{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;let r=this.id,i=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(i,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(n,e,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,e,r=0){if(r!==null&&this.delay===r&&this.pending===!1)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r=!1,i;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){let n=this.id,e=this.scheduler,r=e.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,i!==-1&&r.splice(i,1),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}};var Vo=class extends dr{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,r=0){return r!==null&&r>0||r===null&&this.delay>0?super.requestAsyncId(n,e,r):n.flush(this)}};var pc=(()=>{class t{constructor(e,r=t.now){this.SchedulerAction=e,this.now=r}schedule(e,r=0,i){return new this.SchedulerAction(this,e).schedule(i,r)}}return t.now=()=>Date.now(),t})();var fr=class t extends pc{constructor(n,e=pc.now){super(n,()=>t.delegate&&t.delegate!==this?t.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,r){return t.delegate&&t.delegate!==this?t.delegate.schedule(n,e,r):super.schedule(n,e,r)}flush(n){let{actions:e}=this;if(this.active){e.push(n);return}let r;this.active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this.active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var $o=class extends fr{};var Th=new $o(Vo);var dt=new T(t=>t.complete());function tn(t){return t?Vx(t):dt}function Vx(t){return new T(n=>t.schedule(()=>n.complete()))}function Ke(t){return t&&typeof t.schedule=="function"}var Uo=t=>n=>{for(let e=0,r=t.length;e{let r=new B,i=0;return r.add(n.schedule(function(){if(i===t.length){e.complete();return}e.next(t[i++]),e.closed||r.add(this.schedule())})),r})}function pr(t,n){return n?hr(t,n):new T(Uo(t))}function E(...t){let n=t[t.length-1];return Ke(n)?(t.pop(),hr(t,n)):pr(t)}function nn(t,n){return n?new T(e=>n.schedule($x,0,{error:t,subscriber:e})):new T(e=>e.error(t))}function $x({error:t,subscriber:n}){n.error(t)}var ft=class t{constructor(n,e,r){this.kind=n,this.value=e,this.error=r,this.hasValue=n==="N"}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,e,r){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}}accept(n,e,r){return n&&typeof n.next=="function"?this.observe(n):this.do(n,e,r)}toObservable(){switch(this.kind){case"N":return E(this.value);case"E":return nn(this.error);case"C":return tn()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new t("N",n):t.undefinedValueNotification}static createError(n){return new t("E",void 0,n)}static createComplete(){return t.completeNotification}};ft.completeNotification=new ft("C");ft.undefinedValueNotification=new ft("N",void 0);var Ho=class t extends S{constructor(n,e,r=0){super(n),this.scheduler=e,this.delay=r}static dispatch(n){let{notification:e,destination:r}=n;e.observe(r),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new mc(n,this.destination)))}_next(n){this.scheduleMessage(ft.createNext(n))}_error(n){this.scheduleMessage(ft.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(ft.createComplete()),this.unsubscribe()}},mc=class{constructor(n,e){this.notification=n,this.destination=e}};var zo=class extends k{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){let e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new gc(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){let e=this._infiniteTimeWindow,r=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length,s;if(this.closed)throw new ut;if(this.isStopped||this.hasError?s=B.EMPTY:(this.observers.push(n),s=new ur(this,n)),i&&n.add(n=new Ho(n,i)),e)for(let a=0;ae&&(s=Math.max(s,o-e)),s>0&&i.splice(0,s),i}},gc=class{constructor(n,e){this.time=n,this.value=e}};var mr=new fr(dr);function Tt(){}function Go(t){return!!t&&(t instanceof T||typeof t.lift=="function"&&typeof t.subscribe=="function")}var Ux=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})(),Wo=Ux;var Hx=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),St=Hx;function I(t,n){return function(r){if(typeof t!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new bc(t,n))}}var bc=class{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new yc(n,this.project,this.thisArg))}},yc=class extends S{constructor(n,e,r){super(n),this.project=e,this.count=0,this.thisArg=r||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(r){this.destination.error(r);return}this.destination.next(e)}};var Te=class extends S{notifyNext(n,e,r,i,o){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}};var ht=class extends S{constructor(n,e,r){super(),this.parent=n,this.outerValue=e,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}};var Sh=t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Mt),n);function zx(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var rn=zx();var Ah=t=>n=>{let e=t[rn]();do{let r=e.next();if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}while(!0);return typeof e.return=="function"&&n.add(()=>{e.return&&e.return()}),n};var kh=t=>n=>{let e=t[lt]();if(typeof e.subscribe!="function")throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)};var qo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Zo(t){return!!t&&typeof t.subscribe!="function"&&typeof t.then=="function"}var Qo=t=>{if(t&&typeof t[lt]=="function")return kh(t);if(qo(t))return Uo(t);if(Zo(t))return Sh(t);if(t&&typeof t[rn]=="function")return Ah(t);{let e=`You provided ${lr(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Ue(t,n,e,r,i=new ht(t,e,r)){if(!i.closed)return n instanceof T?n.subscribe(i):Qo(n)(i)}var Nh={};function gr(...t){let n=null,e=null;return Ke(t[t.length-1])&&(e=t.pop()),typeof t[t.length-1]=="function"&&(n=t.pop()),t.length===1&&Ye(t[0])&&(t=t[0]),pr(t,e).lift(new vc(n))}var vc=class{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new xc(n,this.resultSelector))}},xc=class extends Te{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(Nh),this.observables.push(n)}_complete(){let n=this.observables,e=n.length;if(e===0)this.destination.complete();else{this.active=e,this.toRespond=e;for(let r=0;r{let r=new B;return r.add(n.schedule(()=>{let i=t[lt]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>e.next(o)))},error(o){r.add(n.schedule(()=>e.error(o)))},complete(){r.add(n.schedule(()=>e.complete()))}}))})),r})}function Oh(t,n){return new T(e=>{let r=new B;return r.add(n.schedule(()=>t.then(i=>{r.add(n.schedule(()=>{e.next(i),r.add(n.schedule(()=>e.complete()))}))},i=>{r.add(n.schedule(()=>e.error(i)))}))),r})}function Fh(t,n){if(!t)throw new Error("Iterable cannot be null");return new T(e=>{let r=new B,i;return r.add(()=>{i&&typeof i.return=="function"&&i.return()}),r.add(n.schedule(()=>{i=t[rn](),r.add(n.schedule(function(){if(e.closed)return;let o,s;try{let a=i.next();o=a.value,s=a.done}catch(a){e.error(a);return}s?e.complete():(e.next(o),this.schedule())}))})),r})}function Lh(t){return t&&typeof t[lt]=="function"}function Ph(t){return t&&typeof t[rn]=="function"}function jh(t,n){if(t!=null){if(Lh(t))return Rh(t,n);if(Zo(t))return Oh(t,n);if(qo(t))return hr(t,n);if(Ph(t)||typeof t=="string")return Fh(t,n)}throw new TypeError((t!==null&&typeof t||t)+" is not observable")}function Y(t,n){return n?jh(t,n):t instanceof T?t:new T(Qo(t))}function le(t,n,e=Number.POSITIVE_INFINITY){return typeof n=="function"?r=>r.pipe(le((i,o)=>Y(t(i,o)).pipe(I((s,a)=>n(i,s,o,a))),e)):(typeof n=="number"&&(e=n),r=>r.lift(new Dc(t,e)))}var Dc=class{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new wc(n,this.project,this.concurrent))}},wc=class extends Te{constructor(n,e,r=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(e.shift()):this.active===0&&this.hasCompleted&&this.destination.complete()}};function on(t=Number.POSITIVE_INFINITY){return le(Jt,t)}function Bh(){return on(1)}function sn(...t){return Bh()(E(...t))}function Yo(t){return new T(n=>{let e;try{e=t()}catch(i){n.error(i);return}return(e?Y(e):tn()).subscribe(n)})}function Gx(...t){if(t.length===1){let n=t[0];if(Ye(n))return Ko(n,null);if(lr(n)&&Object.getPrototypeOf(n)===Object.prototype){let e=Object.keys(n);return Ko(e.map(r=>n[r]),e)}}if(typeof t[t.length-1]=="function"){let n=t.pop();return t=t.length===1&&Ye(t[0])?t[0]:t,Ko(t,null).pipe(I(e=>n(...e)))}return Ko(t,null)}function Ko(t,n){return new T(e=>{let r=t.length;if(r===0){e.complete();return}let i=new Array(r),o=0,s=0;for(let a=0;a{l||(l=!0,s++),i[a]=u},error:u=>e.error(u),complete:()=>{o++,(o===r||!l)&&(s===r&&e.next(n?n.reduce((u,d,f)=>(u[d]=i[f],u),{}):i),e.complete())}}))}})}function _c(t,n,e,r){return Ct(e)&&(r=e,e=void 0),r?_c(t,n,e).pipe(I(i=>Ye(i)?r(...i):r(i))):new T(i=>{function o(s){arguments.length>1?i.next(Array.prototype.slice.call(arguments)):i.next(s)}Vh(t,n,o,i,e)})}function Vh(t,n,e,r,i){let o;if(Zx(t)){let s=t;t.addEventListener(n,e,i),o=()=>s.removeEventListener(n,e,i)}else if(qx(t)){let s=t;t.on(n,e),o=()=>s.off(n,e)}else if(Wx(t)){let s=t;t.addListener(n,e),o=()=>s.removeListener(n,e)}else if(t&&t.length)for(let s=0,a=t.length;s=0}function br(...t){let n=Number.POSITIVE_INFINITY,e=null,r=t[t.length-1];return Ke(r)?(e=t.pop(),t.length>1&&typeof t[t.length-1]=="number"&&(n=t.pop())):typeof r=="number"&&(n=t.pop()),e===null&&t.length===1&&t[0]instanceof T?t[0]:on(n)(pr(t,e))}function ee(t,n){return function(r){return r.lift(new Ic(t,n))}}var Ic=class{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new Cc(n,this.predicate,this.thisArg))}},Cc=class extends S{constructor(n,e,r){super(n),this.predicate=e,this.thisArg=r,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(r){this.destination.error(r);return}e&&this.destination.next(n)}};function bi(t=0,n,e){let r=-1;return Ec(n)?r=Number(n)<1&&1||Number(n):Ke(n)&&(e=n),Ke(e)||(e=mr),new T(i=>{let o=Ec(t)?t:+t-e.now();return e.schedule(Qx,o,{index:0,period:r,subscriber:i})})}function Qx(t){let{index:n,period:e,subscriber:r}=t;if(r.next(n),!r.closed){if(e===-1)return r.complete();t.index=n+1,this.schedule(t,e)}}function $h(t){return function(e){return e.lift(new Mc(t))}}var Mc=class{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new Tc(n,this.durationSelector))}},Tc=class extends Te{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{let{durationSelector:i}=this;e=i(n)}catch(i){return this.destination.error(i)}let r=Ue(this,e);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){let{value:n,hasValue:e,throttled:r}=this;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,r,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}};function Yx(t,n=mr){return $h(()=>bi(t,n))}function Tn(t){return function(e){let r=new Sc(t),i=e.lift(r);return r.caught=i}}var Sc=class{constructor(n){this.selector=n}call(n,e){return e.subscribe(new Ac(n,this.selector,this.caught))}},Ac=class extends Te{constructor(n,e,r){super(n),this.selector=e,this.caught=r}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(o){super.error(o);return}this._unsubscribeAndRecycle();let r=new ht(this,void 0,void 0);this.add(r);let i=Ue(this,e,void 0,void 0,r);i!==r&&this.add(i)}}};function an(t,n){return le(t,n,1)}function cn(t,n=mr){return e=>e.lift(new kc(t,n))}var kc=class{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new Nc(n,this.dueTime,this.scheduler))}},Nc=class extends S{constructor(n,e,r){super(n),this.dueTime=e,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Kx,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){let{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){let n=this.debouncedSubscription;n!==null&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}};function Kx(t){t.debouncedNext()}function ln(t=null){return n=>n.lift(new Rc(t))}var Rc=class{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new Oc(n,this.defaultValue))}},Oc=class extends S{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}};function yr(t,n){return e=>e.lift(new Fc(t,n))}var Fc=class{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new Lc(n,this.compare,this.keySelector))}},Lc=class extends S{constructor(n,e,r){super(n),this.keySelector=r,this.hasKey=!1,typeof e=="function"&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{let{keySelector:i}=this;e=i?i(n):n}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{let{compare:i}=this;r=i(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(n))}};function Xo(t=Xx){return n=>n.lift(new Pc(t))}var Pc=class{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new jc(n,this.errorFactory))}},jc=class extends S{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}};function Xx(){return new St}function Oe(t){return n=>t===0?tn():n.lift(new Bc(t))}var Bc=class{constructor(n){if(this.total=n,this.total<0)throw new Wo}call(n,e){return e.subscribe(new Vc(n,this.total))}},Vc=class extends S{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){let e=this.total,r=++this.count;r<=e&&(this.destination.next(n),r===e&&(this.destination.complete(),this.unsubscribe()))}};function Sn(t){return n=>n.lift(new $c(t))}var $c=class{constructor(n){this.callback=n}call(n,e){return e.subscribe(new Uc(n,this.callback))}},Uc=class extends S{constructor(n,e){super(n),this.add(new B(e))}};function pt(t,n){let e=arguments.length>=2;return r=>r.pipe(t?ee((i,o)=>t(i,o,r)):Jt,Oe(1),e?ln(n):Xo(()=>new St))}function vr(t){return function(e){return t===0?tn():e.lift(new Hc(t))}}var Hc=class{constructor(n){if(this.total=n,this.total<0)throw new Wo}call(n,e){return e.subscribe(new zc(n,this.total))}},zc=class extends S{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){let e=this.ring,r=this.total,i=this.count++;if(e.length0){let r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;o=2;return r=>r.pipe(t?ee((i,o)=>t(i,o,r)):Jt,vr(1),e?ln(n):Xo(()=>new St))}function yi(t){return n=>n.lift(new Wc(t))}var Wc=class{constructor(n){this.value=n}call(n,e){return e.subscribe(new qc(n,this.value))}},qc=class extends S{constructor(n,e){super(n),this.value=e}_next(n){this.destination.next(this.value)}};function Yc(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(i){return i.lift(new Zc(t,n,e))}}var Zc=class{constructor(n,e,r=!1){this.accumulator=n,this.seed=e,this.hasSeed=r}call(n,e){return e.subscribe(new Qc(n,this.accumulator,this.seed,this.hasSeed))}},Qc=class extends S{constructor(n,e,r,i){super(n),this.accumulator=e,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(!this.hasSeed)this.seed=n,this.destination.next(n);else return this._tryNext(n)}_tryNext(n){let e=this.index++,r;try{r=this.accumulator(this.seed,n,e)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}};function Uh(t,n){return function(r){let i;if(typeof t=="function"?i=t:i=function(){return t},typeof n=="function")return r.lift(new Kc(i,n));let o=Object.create(r,Mh);return o.source=r,o.subjectFactory=i,o}}var Kc=class{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){let{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(n);return o.add(e.subscribe(i)),o}};function Jx(){return t=>t.lift(new Xc)}var Xc=class{call(n,e){return e.subscribe(new Jc(n))}},Jc=class extends S{constructor(n){super(n),this.hasPrev=!1}_next(n){let e;this.hasPrev?e=[this.prev,n]:this.hasPrev=!0,this.prev=n,e&&this.destination.next(e)}};function eD(){return new k}function tD(){return t=>en()(Uh(eD)(t))}function el(t,n,e){let r;return t&&typeof t=="object"?r=t:r={bufferSize:t,windowTime:n,refCount:!1,scheduler:e},i=>i.lift(nD(r))}function nD({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:r}){let i,o=0,s,a=!1,c=!1;return function(u){o++,(!i||a)&&(a=!1,i=new zo(t,n,r),s=u.subscribe({next(f){i.next(f)},error(f){a=!0,i.error(f)},complete(){c=!0,s=void 0,i.complete()}}));let d=i.subscribe(this);this.add(()=>{o--,d.unsubscribe(),s&&!c&&e&&o===0&&(s.unsubscribe(),s=void 0,i=void 0)})}}function vi(t){return n=>n.lift(new tl(t))}var tl=class{constructor(n){this.total=n}call(n,e){return e.subscribe(new nl(n,this.total))}},nl=class extends S{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}};function An(...t){let n=t[t.length-1];return Ke(n)?(t.pop(),e=>sn(t,e,n)):e=>sn(t,e)}function he(t,n){return typeof n=="function"?e=>e.pipe(he((r,i)=>Y(t(r,i)).pipe(I((o,s)=>n(r,o,i,s))))):e=>e.lift(new rl(t))}var rl=class{constructor(n){this.project=n}call(n,e){return e.subscribe(new il(n,this.project))}},il=class extends Te{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e,r=this.index++;try{e=this.project(n,r)}catch(i){this.destination.error(i);return}this._innerSub(e,n,r)}_innerSub(n,e,r){let i=this.innerSubscription;i&&i.unsubscribe();let o=new ht(this,e,r),s=this.destination;s.add(o),this.innerSubscription=Ue(this,n,void 0,void 0,o),this.innerSubscription!==o&&s.add(this.innerSubscription)}_complete(){let{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(n,e,r,i,o){this.destination.next(e)}};function Fe(t){return n=>n.lift(new ol(t))}var ol=class{constructor(n){this.notifier=n}call(n,e){let r=new sl(n),i=Ue(r,this.notifier);return i&&!r.seenValue?(r.add(i),e.subscribe(r)):r}},sl=class extends Te{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,r,i,o){this.seenValue=!0,this.complete()}notifyComplete(){}};function X(t,n,e){return function(i){return i.lift(new al(t,n,e))}}var al=class{constructor(n,e,r){this.nextOrObserver=n,this.error=e,this.complete=r}call(n,e){return e.subscribe(new cl(n,this.nextOrObserver,this.error,this.complete))}},cl=class extends S{constructor(n,e,r,i){super(n),this._tapNext=Tt,this._tapError=Tt,this._tapComplete=Tt,this._tapError=r||Tt,this._tapComplete=i||Tt,Ct(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Tt,this._tapError=e.error||Tt,this._tapComplete=e.complete||Tt)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){this.destination.error(e);return}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){this.destination.error(e);return}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){this.destination.error(n);return}return this.destination.complete()}};var kp="https://g.co/ng/security#xss",w=class extends Error{code;constructor(n,e){super($s(n,e)),this.code=n}};function $s(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}var Np=Symbol("InputSignalNode#UNSET"),rD=j(m({},ac),{transformFn:void 0,applyValueToInputSignal(t,n){Lo(t,n)}});function Rp(t,n){let e=Object.create(rD);e.value=t,e.transformFn=n?.transform;function r(){if(Ro(e),e.value===Np)throw new w(-950,!1);return e.value}return r[ge]=e,r}function Ni(t){return{toString:t}.toString()}var Jo="__parameters__";function iD(t){return function(...e){if(t){let r=t(...e);for(let i in r)this[i]=r[i]}}}function Op(t,n,e){return Ni(()=>{let r=iD(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Jo)?c[Jo]:Object.defineProperty(c,Jo,{value:[]})[Jo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return e&&(i.prototype=Object.create(e.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var _i=globalThis;function q(t){for(let n in t)if(t[n]===q)return n;throw Error("Could not find renamed property on target object.")}function oD(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Ee(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ee).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(` -`);return e===-1?n:n.substring(0,e)}function xl(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var sD=q({__forward_ref__:q});function Fp(t){return t.__forward_ref__=Fp,t.toString=function(){return Ee(this())},t}function we(t){return Lp(t)?t():t}function Lp(t){return typeof t=="function"&&t.hasOwnProperty(sD)&&t.__forward_ref__===Fp}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function re(t){return{providers:t.providers||[],imports:t.imports||[]}}function Us(t){return Hh(t,jp)||Hh(t,Bp)}function Pp(t){return Us(t)!==null}function Hh(t,n){return t.hasOwnProperty(n)?t[n]:null}function aD(t){let n=t&&(t[jp]||t[Bp]);return n||null}function zh(t){return t&&(t.hasOwnProperty(Gh)||t.hasOwnProperty(cD))?t[Gh]:null}var jp=q({\u0275prov:q}),Gh=q({\u0275inj:q}),Bp=q({ngInjectableDef:q}),cD=q({ngInjectorDef:q}),v=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=g({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vp(t){return t&&!!t.\u0275providers}var lD=q({\u0275cmp:q}),uD=q({\u0275dir:q}),dD=q({\u0275pipe:q}),fD=q({\u0275mod:q}),hs=q({\u0275fac:q}),wi=q({__NG_ELEMENT_ID__:q}),Wh=q({__NG_ENV_ID__:q});function Ri(t){return typeof t=="string"?t:t==null?"":String(t)}function hD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ri(t)}function pD(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Iu(t,n){throw new w(-201,!1)}var L=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(L||{}),Dl;function $p(){return Dl}function Se(t){let n=Dl;return Dl=t,n}function Up(t,n,e){let r=Us(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&L.Optional)return null;if(n!==void 0)return n;Iu(t,"Injector")}var mD={},Ei=mD,wl="__NG_DI_FLAG__",ps="ngTempTokenPath",gD="ngTokenPath",bD=/\n/gm,yD="\u0275",qh="__source",Er;function vD(){return Er}function un(t){let n=Er;return Er=t,n}function xD(t,n=L.Default){if(Er===void 0)throw new w(-203,!1);return Er===null?Up(t,void 0,n):Er.get(t,n&L.Optional?null:void 0,n)}function x(t,n=L.Default){return($p()||xD)(we(t),n)}function h(t,n=L.Default){return x(t,Hs(n))}function Hs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function _l(t){let n=[];for(let e=0;e ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ee(a)))}i=`{${o.join(", ")}}`}return`${e}${r?"("+r+")":""}[${i}]: ${t.replace(bD,` - `)}`}var Cu=Hp(Op("Optional"),8);var zp=Hp(Op("SkipSelf"),4);function Nn(t,n){let e=t.hasOwnProperty(hs);return e?t[hs]:null}function ED(t,n,e){if(t.length!==n.length)return!1;for(let r=0;rArray.isArray(e)?Mu(e,n):n(e))}function Gp(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function ms(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function CD(t,n){let e=[];for(let r=0;rn;){let o=i-2;t[i]=t[o],i--}t[n]=e,t[n+1]=r}}function Tu(t,n,e){let r=Oi(t,n);return r>=0?t[r|1]=e:(r=~r,MD(t,r,n,e)),r}function ll(t,n){let e=Oi(t,n);if(e>=0)return t[e|1]}function Oi(t,n){return TD(t,n,1)}function TD(t,n,e){let r=0,i=t.length>>e;for(;i!==r;){let o=r+(i-r>>1),s=t[o<n?i=o:r=o+1}return~(i<{e.push(s)};return Mu(n,s=>{let a=s;El(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Jp(i,o),e}function Jp(t,n){for(let e=0;e{n(o,r)})}}function El(t,n,e,r){if(t=we(t),!t)return!1;let i=null,o=zh(t),s=!o&&hn(t);if(!o&&!s){let c=t.ngModule;if(o=zh(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)El(l,n,e,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{Mu(o.imports,u=>{El(u,n,e,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Jp(l,n)}if(!a){let l=Nn(i)||(()=>new i);n({provide:i,useFactory:l,deps:_e},i),n({provide:qp,useValue:i,multi:!0},i),n({provide:Mr,useValue:()=>x(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;Su(c,u=>{n(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Su(t,n){for(let e of t)Vp(e)&&(e=e.\u0275providers),Array.isArray(e)?Su(e,n):n(e)}var AD=q({provide:String,useValue:q});function em(t){return t!==null&&typeof t=="object"&&AD in t}function kD(t){return!!(t&&t.useExisting)}function ND(t){return!!(t&&t.useFactory)}function Tr(t){return typeof t=="function"}function RD(t){return!!t.useClass}var zs=new v(""),ss={},OD={},ul;function Gs(){return ul===void 0&&(ul=new gs),ul}var be=class{},Ii=class extends be{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,Cl(n,s=>this.processProvider(s)),this.records.set(Wp,xr(void 0,this)),i.has("environment")&&this.records.set(be,xr(void 0,this));let o=this.records.get(zs);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(qp,_e,L.Self))}destroy(){xi(this),this._destroyed=!0;let n=$(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),$(n)}}onDestroy(n){return xi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){xi(this);let e=un(this),r=Se(void 0),i;try{return n()}finally{un(e),Se(r)}}get(n,e=Ei,r=L.Default){if(xi(this),n.hasOwnProperty(Wh))return n[Wh](this);r=Hs(r);let i,o=un(this),s=Se(void 0);try{if(!(r&L.SkipSelf)){let c=this.records.get(n);if(c===void 0){let l=BD(n)&&Us(n);l&&this.injectableDefInScope(l)?c=xr(Il(n),ss):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c)}let a=r&L.Self?Gs():this.parent;return e=r&L.Optional&&e===Ei?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[ps]=a[ps]||[]).unshift(Ee(n)),o)throw a;return wD(a,n,"R3InjectorError",this.source)}else throw a}finally{Se(s),un(o)}}resolveInjectorInitializers(){let n=$(null),e=un(this),r=Se(void 0),i;try{let o=this.get(Mr,_e,L.Self);for(let s of o)s()}finally{un(e),Se(r),$(n)}}toString(){let n=[],e=this.records;for(let r of e.keys())n.push(Ee(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=we(n);let e=Tr(n)?n:we(n&&n.provide),r=LD(n);if(!Tr(n)&&n.multi===!0){let i=this.records.get(e);i||(i=xr(void 0,ss,!0),i.factory=()=>_l(i.multi),this.records.set(e,i)),e=n,i.multi.push(n)}this.records.set(e,r)}hydrate(n,e){let r=$(null);try{return e.value===ss&&(e.value=OD,e.value=e.factory()),typeof e.value=="object"&&e.value&&jD(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{$(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=we(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Il(t){let n=Us(t),e=n!==null?n.factory:Nn(t);if(e!==null)return e;if(t instanceof v)throw new w(204,!1);if(t instanceof Function)return FD(t);throw new w(204,!1)}function FD(t){if(t.length>0)throw new w(204,!1);let e=aD(t);return e!==null?()=>e.factory(t):()=>new t}function LD(t){if(em(t))return xr(void 0,t.useValue);{let n=tm(t);return xr(n,ss)}}function tm(t,n,e){let r;if(Tr(t)){let i=we(t);return Nn(i)||Il(i)}else if(em(t))r=()=>we(t.useValue);else if(ND(t))r=()=>t.useFactory(..._l(t.deps||[]));else if(kD(t))r=()=>x(we(t.useExisting));else{let i=we(t&&(t.useClass||t.provide));if(PD(t))r=()=>new i(..._l(t.deps));else return Nn(i)||Il(i)}return r}function xi(t){if(t.destroyed)throw new w(205,!1)}function xr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function PD(t){return!!t.deps}function jD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function BD(t){return typeof t=="function"||typeof t=="object"&&t instanceof v}function Cl(t,n){for(let e of t)Array.isArray(e)?Cl(e,n):e&&Vp(e)?Cl(e.\u0275providers,n):n(e)}function Pe(t,n){t instanceof Ii&&xi(t);let e,r=un(t),i=Se(void 0);try{return n()}finally{un(r),Se(i)}}function nm(){return $p()!==void 0||vD()!=null}function Ws(t){if(!nm())throw new w(-203,!1)}function VD(t){return typeof t=="function"}var xt=0,A=1,M=2,ye=3,et=4,ke=5,Ci=6,bs=7,He=8,Sr=9,At=10,Q=11,Mi=12,Zh=13,Lr=14,ze=15,Rn=16,Dr=17,kt=18,qs=19,rm=20,dn=21,as=22,On=23,Le=24,ve=25,Au=1;var Fn=7,ys=8,Ar=9,Ae=10,vs=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(vs||{});function fn(t){return Array.isArray(t)&&typeof t[Au]=="object"}function Ft(t){return Array.isArray(t)&&t[Au]===!0}function im(t){return(t.flags&4)!==0}function Zs(t){return t.componentOffset>-1}function ku(t){return(t.flags&1)===1}function Nt(t){return!!t.template}function Ml(t){return(t[M]&512)!==0}var Tl=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}};function om(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var Lt=(()=>{let t=()=>sm;return t.ngInherit=!0,t})();function sm(t){return t.type.prototype.ngOnChanges&&(t.setInput=UD),$D}function $D(){let t=cm(this),n=t?.current;if(n){let e=t.previous;if(e===Cr)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function UD(t,n,e,r,i){let o=this.declaredInputs[r],s=cm(t)||HD(t,{previous:Cr,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Tl(l&&l.currentValue,e,c===Cr),om(t,n,i,e)}var am="__ngSimpleChanges__";function cm(t){return t[am]||null}function HD(t,n){return t[am]=n}var Qh=null;var mt=function(t,n,e){Qh?.(t,n,e)},lm="svg",zD="math";function bt(t){for(;Array.isArray(t);)t=t[xt];return t}function GD(t){for(;Array.isArray(t);){if(typeof t[Au]=="object")return t;t=t[xt]}return null}function um(t,n){return bt(n[t])}function We(t,n){return bt(n[t.index])}function Nu(t,n){return t.data[n]}function Ru(t,n){return t[n]}function gn(t,n){let e=n[t];return fn(e)?e:e[xt]}function WD(t){return(t[M]&4)===4}function Ou(t){return(t[M]&128)===128}function qD(t){return Ft(t[ye])}function xs(t,n){return n==null?null:t[n]}function dm(t){t[Dr]=0}function Fu(t){t[M]&1024||(t[M]|=1024,Ou(t)&&Li(t))}function ZD(t,n){for(;t>0;)n=n[Lr],t--;return n}function Qs(t){return!!(t[M]&9216||t[Le]?.dirty)}function Sl(t){t[At].changeDetectionScheduler?.notify(9),t[M]&64&&(t[M]|=1024),Qs(t)&&Li(t)}function Li(t){t[At].changeDetectionScheduler?.notify(0);let n=Ln(t);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!Ou(n)));)n=Ln(n)}function fm(t,n){if((t[M]&256)===256)throw new w(911,!1);t[dn]===null&&(t[dn]=[]),t[dn].push(n)}function QD(t,n){if(t[dn]===null)return;let e=t[dn].indexOf(n);e!==-1&&t[dn].splice(e,1)}function Ln(t){let n=t[ye];return Ft(n)?n[ye]:n}var N={lFrame:_m(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Al=!1;function YD(){return N.lFrame.elementDepthCount}function KD(){N.lFrame.elementDepthCount++}function XD(){N.lFrame.elementDepthCount--}function hm(){return N.bindingsEnabled}function pm(){return N.skipHydrationRootTNode!==null}function JD(t){return N.skipHydrationRootTNode===t}function bP(){N.bindingsEnabled=!0}function yP(){N.bindingsEnabled=!1}function ew(){N.skipHydrationRootTNode=null}function R(){return N.lFrame.lView}function K(){return N.lFrame.tView}function vP(t){return N.lFrame.contextLView=t,t[He]}function xP(t){return N.lFrame.contextLView=null,t}function de(){let t=mm();for(;t!==null&&t.type===64;)t=t.parent;return t}function mm(){return N.lFrame.currentTNode}function tw(){let t=N.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Pi(t,n){let e=N.lFrame;e.currentTNode=t,e.isParent=n}function gm(){return N.lFrame.isParent}function bm(){N.lFrame.isParent=!1}function nw(){return N.lFrame.contextLView}function ym(){return Al}function Ds(t){let n=Al;return Al=t,n}function vm(){let t=N.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function rw(t){return N.lFrame.bindingIndex=t}function Gn(){return N.lFrame.bindingIndex++}function xm(t){let n=N.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function iw(){return N.lFrame.inI18n}function ow(t,n){let e=N.lFrame;e.bindingIndex=e.bindingRootIndex=t,kl(n)}function sw(){return N.lFrame.currentDirectiveIndex}function kl(t){N.lFrame.currentDirectiveIndex=t}function Lu(t){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Pu(){return N.lFrame.currentQueryIndex}function Ys(t){N.lFrame.currentQueryIndex=t}function aw(t){let n=t[A];return n.type===2?n.declTNode:n.type===1?t[ke]:null}function Dm(t,n,e){if(e&L.SkipSelf){let i=n,o=t;for(;i=i.parent,i===null&&!(e&L.Host);)if(i=aw(o),i===null||(o=o[Lr],i.type&10))break;if(i===null)return!1;n=i,t=o}let r=N.lFrame=wm();return r.currentTNode=n,r.lView=t,!0}function ju(t){let n=wm(),e=t[A];N.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function wm(){let t=N.lFrame,n=t===null?null:t.child;return n===null?_m(t):n}function _m(t){let n={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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Em(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Im=Em;function Bu(){let t=Em();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function cw(t){return(N.lFrame.contextLView=ZD(t,N.lFrame.contextLView))[He]}function Wn(){return N.lFrame.selectedIndex}function Pn(t){N.lFrame.selectedIndex=t}function Pr(){let t=N.lFrame;return Nu(t.tView,t.selectedIndex)}function DP(){N.lFrame.currentNamespace=lm}function lw(){return N.lFrame.currentNamespace}var Cm=!0;function Vu(){return Cm}function $u(t){Cm=t}function uw(t,n,e){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){let s=sm(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}i&&(e.preOrderHooks??=[]).push(0-t,i),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Uu(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e=r)break}else n[c]<0&&(t[Dr]+=65536),(a>14>16&&(t[M]&3)===n&&(t[M]+=16384,Yh(a,o)):Yh(a,o)}var Ir=-1,jn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=r}};function fw(t){return t instanceof jn}function hw(t){return(t.flags&8)!==0}function pw(t){return(t.flags&16)!==0}function Nl(t,n,e){let r=0;for(;rn){s=o-1;break}}}for(;o>16}function _s(t,n){let e=gw(t),r=n;for(;e>0;)r=r[Lr],e--;return r}var Ol=!0;function Es(t){let n=Ol;return Ol=t,n}var bw=256,Am=bw-1,km=5,yw=0,gt={};function vw(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(wi)&&(r=e[wi]),r==null&&(r=e[wi]=yw++);let i=r&Am,o=1<>km)]|=o}function Is(t,n){let e=Nm(t,n);if(e!==-1)return e;let r=n[A];r.firstCreatePass&&(t.injectorIndex=n.length,hl(r.data,t),hl(n,null),hl(r.blueprint,null));let i=Hu(t,n),o=t.injectorIndex;if(Sm(i)){let s=ws(i),a=_s(i,n),c=a[A].data;for(let l=0;l<8;l++)n[o+l]=a[s+l]|c[s+l]}return n[o+8]=i,o}function hl(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Nm(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Hu(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,i=n;for(;i!==null;){if(r=Pm(i),r===null)return Ir;if(e++,i=i[Lr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Ir}function Fl(t,n,e){vw(t,n,e)}function xw(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,i=0;for(;i>20,d=r?a:a+u,f=i?a+u:l;for(let p=d;p=c&&b.type===e)return p}if(i){let p=s[c];if(p&&Nt(p)&&p.type===e)return c}return null}function Bn(t,n,e,r){let i=t[e],o=n.data;if(fw(i)){let s=i;s.resolving&&pD(hD(o[e]));let a=Es(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Se(s.injectImpl):null,u=Dm(t,r,L.Default);try{i=t[e]=s.factory(void 0,o,t,r),n.firstCreatePass&&e>=r.directiveStart&&uw(e,o[e],n)}finally{l!==null&&Se(l),Es(a),s.resolving=!1,Im()}}return i}function ww(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(wi)?t[wi]:void 0;return typeof n=="number"?n>=0?n&Am:_w:n}function Xh(t,n,e){let r=1<>km)]&r)}function Jh(t,n){return!(t&L.Self)&&!(t&L.Host&&n)}var kn=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return Fm(this._tNode,this._lView,n,Hs(r),e)}};function _w(){return new kn(de(),R())}function xe(t){return Ni(()=>{let n=t.prototype.constructor,e=n[hs]||Ll(n),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[hs]||Ll(i);if(o&&o!==e)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ll(t){return Lp(t)?()=>{let n=Ll(we(t));return n&&n()}:Nn(t)}function Ew(t,n,e,r,i){let o=t,s=n;for(;o!==null&&s!==null&&s[M]&2048&&!(s[M]&512);){let a=Lm(o,s,e,r|L.Self,gt);if(a!==gt)return a;let c=o.parent;if(!c){let l=s[rm];if(l){let u=l.get(e,gt,r);if(u!==gt)return u}c=Pm(s),s=s[Lr]}o=c}return i}function Pm(t){let n=t[A],e=n.type;return e===2?n.declTNode:e===1?t[ke]:null}function Ks(t){return xw(de(),t)}function ep(t,n=null,e=null,r){let i=jm(t,n,e,r);return i.resolveInjectorInitializers(),i}function jm(t,n=null,e=null,r,i=new Set){let o=[e||_e,SD(t)];return r=r||(typeof t=="object"?void 0:Ee(t)),new Ii(o,n||Gs(),r||null,i)}var ue=class t{static THROW_IF_NOT_FOUND=Ei;static NULL=new gs;static create(n,e){if(Array.isArray(n))return ep({name:""},e,n,"");{let r=n.name??"";return ep({name:r},n.parent,n.providers,r)}}static \u0275prov=g({token:t,providedIn:"any",factory:()=>x(Wp)});static __NG_ELEMENT_ID__=-1};var tp=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ks(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Iw=new v("");Iw.__NG_ELEMENT_ID__=t=>{let n=de();if(n===null)throw new w(204,!1);if(n.type&2)return n.value;if(t&L.Optional)return null;throw new w(204,!1)};var Bm=!1,ji=(()=>{class t{static __NG_ELEMENT_ID__=Cw;static __NG_ENV_ID__=e=>e}return t})(),Cs=class extends ji{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return fm(this._lView,n),()=>QD(this._lView,n)}};function Cw(){return new Cs(R())}var Vn=class{},zu=new v("",{providedIn:"root",factory:()=>!1});var Vm=new v(""),$m=new v(""),Pt=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new J(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=g({token:t,providedIn:"root",factory:()=>new t})}return t})();var Pl=class extends k{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,nm()&&(this.destroyRef=h(ji,{optional:!0})??void 0,this.pendingTasks=h(Pt,{optional:!0})??void 0)}emit(n){let e=$(null);try{super.next(n)}finally{$(e)}}subscribe(n,e,r){let i=n,o=e||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return n instanceof B&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{n(e),r!==void 0&&this.pendingTasks?.remove(r)})}}},ne=Pl;function Si(...t){}function Um(t){let n,e;function r(){t=Si;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function np(t){return queueMicrotask(()=>t()),()=>{t=Si}}var Gu="isAngularZone",Ms=Gu+"_ID",Mw=0,P=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ne(!1);onMicrotaskEmpty=new ne(!1);onStable=new ne(!1);onError=new ne(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Bm}=n;if(typeof Zone>"u")throw new w(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)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Aw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Gu)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,Tw,Si,Si);try{return o.runTask(s,e,r)}finally{o.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},Tw={};function Wu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Sw(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Um(()=>{t.callbackScheduled=!1,jl(t),t.isCheckStableRunning=!0,Wu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),jl(t)}function Aw(t){let n=()=>{Sw(t)},e=Mw++;t._inner=t._inner.fork({name:"angular",properties:{[Gu]:!0,[Ms]:e,[Ms+e]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(kw(c))return r.invokeTask(o,s,a,c);try{return rp(t),r.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),ip(t)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return rp(t),r.invoke(o,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Nw(c)&&n(),ip(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,jl(t),Wu(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function jl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ip(t){t._nesting--,Wu(t)}var Bl=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ne;onMicrotaskEmpty=new ne;onStable=new ne;onError=new ne;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,i){return n.apply(e,r)}};function kw(t){return Hm(t,"__ignore_ng_zone__")}function Nw(t){return Hm(t,"__scheduler_tick__")}function Hm(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var yt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Rw=new v("",{providedIn:"root",factory:()=>{let t=h(P),n=h(yt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function op(t,n){return Rp(t,n)}function Ow(t){return Rp(Np,t)}var zm=(op.required=Ow,op);function Fw(){return jr(de(),R())}function jr(t,n){return new Z(We(t,n))}var Z=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Fw}return t})();function Gm(t){return t instanceof Z?t.nativeElement:t}function Lw(){return this._results[Symbol.iterator]()}var kr=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 k}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let r=ID(n);(this._changesDetected=!ED(this._results,r,e))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Lw};function Wm(t){return(t.flags&128)===128}var qm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(qm||{}),Zm=new Map,Pw=0;function jw(){return Pw++}function Bw(t){Zm.set(t[qs],t)}function Vl(t){Zm.delete(t[qs])}var sp="__ngContext__";function $n(t,n){fn(n)?(t[sp]=n[qs],Bw(n)):t[sp]=n}function Qm(t){return Km(t[Mi])}function Ym(t){return Km(t[et])}function Km(t){for(;t!==null&&!Ft(t);)t=t[et];return t}var $l;function Xm(t){$l=t}function Jm(){if($l!==void 0)return $l;if(typeof document<"u")return document;throw new w(210,!1)}var Bi=new v("",{providedIn:"root",factory:()=>Vw}),Vw="ng",qu=new v(""),pe=new v("",{providedIn:"platform",factory:()=>"unknown"});var Vi=new v(""),$i=new v("",{providedIn:"root",factory:()=>Jm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var $w="h",Uw="b";var eg=!1,Hw=new v("",{providedIn:"root",factory:()=>eg});var ap=new Set;function Dt(t){ap.has(t)||(ap.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var wr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(wr||{}),tg=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),zw=[wr.EarlyRead,wr.Write,wr.MixedReadWrite,wr.Read],Gw=(()=>{class t{ngZone=h(P);scheduler=h(Vn);errorHandler=h(yt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let e of zw)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(i){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static \u0275prov=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ul=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,i){this.impl=n,this.hooks=e,this.once=r,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Ww(t,n){!n?.injector&&Ws(Ww);let e=n?.injector??h(ue);return Dt("NgAfterRender"),ng(t,e,n,!1)}function Zu(t,n){!n?.injector&&Ws(Zu);let e=n?.injector??h(ue);return Dt("NgAfterNextRender"),ng(t,e,n,!0)}function qw(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function ng(t,n,e,r){let i=n.get(tg);i.impl??=n.get(Gw);let o=e?.phase??wr.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(ji):null,a=new Ul(i.impl,qw(t,o),r,s);return i.impl.register(a),a}var Zw=()=>null;function Qu(t,n,e=!1){return Zw(t,n,e)}var vt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(vt||{}),es;function Qw(){if(es===void 0&&(es=null,_i.trustedTypes))try{es=_i.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return es}function Xs(t){return Qw()?.createHTML(t)||t}var ts;function rg(){if(ts===void 0&&(ts=null,_i.trustedTypes))try{ts=_i.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ts}function cp(t){return rg()?.createHTML(t)||t}function lp(t){return rg()?.createScriptURL(t)||t}var Rt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kp})`}},Hl=class extends Rt{getTypeName(){return"HTML"}},zl=class extends Rt{getTypeName(){return"Style"}},Gl=class extends Rt{getTypeName(){return"Script"}},Wl=class extends Rt{getTypeName(){return"URL"}},ql=class extends Rt{getTypeName(){return"ResourceURL"}};function qe(t){return t instanceof Rt?t.changingThisBreaksApplicationSecurity:t}function jt(t,n){let e=Yw(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${kp})`)}return e===n}function Yw(t){return t instanceof Rt&&t.getTypeName()||null}function ig(t){return new Hl(t)}function og(t){return new zl(t)}function sg(t){return new Gl(t)}function ag(t){return new Wl(t)}function cg(t){return new ql(t)}function Kw(t){let n=new Ql(t);return Xw()?new Zl(n):n}var Zl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(Xs(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Ql=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Xs(n),e}};function Xw(){try{return!!new window.DOMParser().parseFromString(Xs(""),"text/html")}catch{return!1}}var Jw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Js(t){return t=String(t),t.match(Jw)?t:"unsafe:"+t}function Bt(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Ui(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var lg=Bt("area,br,col,hr,img,wbr"),ug=Bt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dg=Bt("rp,rt"),e_=Ui(dg,ug),t_=Ui(ug,Bt("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")),n_=Ui(dg,Bt("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")),up=Ui(lg,t_,n_,e_),fg=Bt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),r_=Bt("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"),i_=Bt("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"),o_=Ui(fg,r_,i_),s_=Bt("script,style,template"),Yl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,i=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){i.push(e),e=l_(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=c_(e);if(o){e=o;break}e=i.pop()}}return this.buf.join("")}startElement(n){let e=dp(n).toLowerCase();if(!up.hasOwnProperty(e))return this.sanitizedSomething=!0,!s_.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let i=0;i"),!0}endElement(n){let e=dp(n).toLowerCase();up.hasOwnProperty(e)&&!lg.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(fp(n))}};function a_(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function c_(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw hg(n);return n}function l_(t){let n=t.firstChild;if(n&&a_(t,n))throw hg(n);return n}function dp(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function hg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var u_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d_=/([^\#-~ |!])/g;function fp(t){return t.replace(/&/g,"&").replace(u_,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(d_,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var ns;function Yu(t,n){let e=null;try{ns=ns||Kw(t);let r=n?String(n):"";e=ns.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=e.innerHTML,e=ns.getInertBodyElement(r)}while(r!==o);let a=new Yl().sanitizeChildren(hp(e)||e);return Xs(a)}finally{if(e){let r=hp(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function hp(t){return"content"in t&&f_(t)?t.content:null}function f_(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var tt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(tt||{});function wP(t){let n=Ku();return n?cp(n.sanitize(tt.HTML,t)||""):jt(t,"HTML")?cp(qe(t)):Yu(Jm(),Ri(t))}function h_(t){let n=Ku();return n?n.sanitize(tt.URL,t)||"":jt(t,"URL")?qe(t):Js(Ri(t))}function p_(t){let n=Ku();if(n)return lp(n.sanitize(tt.RESOURCE_URL,t)||"");if(jt(t,"ResourceURL"))return lp(qe(t));throw new w(904,!1)}function m_(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?p_:h_}function pg(t,n,e){return m_(n,e)(t)}function Ku(){let t=R();return t&&t[At].sanitizer}function _P(t){return t.ownerDocument.defaultView}function EP(t){return t.ownerDocument}function mg(t){return t instanceof Function?t():t}var pn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(pn||{}),Ot=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ot||{}),g_;function Xu(t,n){return g_(t,n)}function _r(t,n,e,r,i){if(r!=null){let o,s=!1;Ft(r)?o=r:fn(r)&&(s=!0,r=r[xt]);let a=bt(r);t===0&&e!==null?i==null?xg(n,e,a):Ss(n,e,a,i||null,!0):t===1&&e!==null?Ss(n,e,a,i||null,!0):t===2?S_(n,a,s):t===3&&n.destroyNode(a),o!=null&&k_(n,t,o,e,i)}}function b_(t,n){return t.createText(n)}function y_(t,n,e){t.setValue(n,e)}function gg(t,n,e){return t.createElement(n,e)}function v_(t,n){bg(t,n),n[xt]=null,n[ke]=null}function x_(t,n,e,r,i,o){r[xt]=i,r[ke]=n,ea(t,r,e,1,i,o)}function bg(t,n){n[At].changeDetectionScheduler?.notify(10),ea(t,n,n[Q],2,null,null)}function D_(t){let n=t[Mi];if(!n)return pl(t[A],t);for(;n;){let e=null;if(fn(n))e=n[Mi];else{let r=n[Ae];r&&(e=r)}if(!e){for(;n&&!n[et]&&n!==t;)fn(n)&&pl(n[A],n),n=n[ye];n===null&&(n=t),fn(n)&&pl(n[A],n),e=n&&n[et]}n=e}}function w_(t,n,e,r){let i=Ae+r,o=e.length;r>0&&(e[i-1][et]=n),r0&&(t[e-1][et]=r[et]);let o=ms(t,Ae+n);v_(r[A],r);let s=o[kt];s!==null&&s.detachView(o[A]),r[ye]=null,r[et]=null,r[M]&=-129}return r}function ed(t,n){if(!(n[M]&256)){let e=n[Q];e.destroyNode&&ea(t,n,e,3,null,null),D_(n)}}function pl(t,n){if(n[M]&256)return;let e=$(null);try{n[M]&=-129,n[M]|=256,n[Le]&&ar(n[Le]),E_(t,n),__(t,n),n[A].type===1&&n[Q].destroy();let r=n[Rn];if(r!==null&&Ft(n[ye])){r!==n[ye]&&Ju(r,n);let i=n[kt];i!==null&&i.detachView(t)}Vl(n)}finally{$(e)}}function __(t,n){let e=t.cleanup,r=n[bs];if(e!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[bs]=null);let i=n[dn];if(i!==null){n[dn]=null;for(let s=0;s-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===vt.None||o===vt.Emulated)return null}return We(r,e)}}function Ss(t,n,e,r,i){t.insertBefore(n,e,r,i)}function xg(t,n,e){t.appendChild(n,e)}function pp(t,n,e,r,i){r!==null?Ss(t,n,e,r,i):xg(t,n,e)}function Dg(t,n){return t.parentNode(n)}function C_(t,n){return t.nextSibling(n)}function wg(t,n,e){return T_(t,n,e)}function M_(t,n,e){return t.type&40?We(t,e):null}var T_=M_,mp;function td(t,n,e,r){let i=vg(t,r,n),o=n[Q],s=r.parent||n[ke],a=wg(s,r,n);if(i!=null)if(Array.isArray(e))for(let c=0;c-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(Xe(r))return!1;s=!0}}}}return Xe(r)||s}function Xe(t){return(t&1)===0}function j_(t,n,e,r){if(n===null)return-1;let i=0;if(r||!e){let o=!1;for(;i-1)for(e++;e0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Xe(s)&&(n+=gp(o,i),i=""),r=s,o=o||!Xe(r);e++}return i!==""&&(n+=gp(o,i)),n}function z_(t){return t.map(H_).join(",")}function G_(t){let n=[],e=[],r=1,i=2;for(;rve&&Sg(t,n,ve,!1),mt(s?2:0,i),e(r,i)}finally{Pn(o),mt(s?3:1,i)}}function Og(t,n,e){if(im(n)){let r=$(null);try{let i=n.directiveStart,o=n.directiveEnd;for(let s=i;snull;function X_(t,n,e,r){let i=zg(n);i.push(e),t.firstCreatePass&&Gg(t).push(r,i.length-1)}function J_(t,n,e,r,i,o){let s=n?n.injectorIndex:-1,a=0;return pm()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bp(t,n,e,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;let s=n[o];if(s===void 0)continue;r??={};let a,c=pn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}t===0?yp(r,e,l,a,c):yp(r,e,l,a)}return r}function yp(t,n,e,r,i){let o;t.hasOwnProperty(e)?(o=t[e]).push(n,r):o=t[e]=[n,r],i!==void 0&&o.push(i)}function eE(t,n,e){let r=n.directiveStart,i=n.directiveEnd,o=t.data,s=n.attrs,a=[],c=null,l=null;for(let u=r;u0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function oE(t,n,e,r){let i=e.directiveStart,o=e.directiveEnd;Zs(e)&&fE(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||Is(e,n),$n(r,n);let s=e.initialInputs;for(let a=i;a{Li(t.lView)},consumerOnSignalRead(){this.lView[Le]=this}});function TE(t){let n=t[Le]??Object.create(SE);return n.lView=t,n}var SE=j(m({},In),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=Ln(t.lView);for(;n&&!Qg(n[A]);)n=Ln(n);n&&Fu(n)},consumerOnSignalRead(){this.lView[Le]=this}});function Qg(t){return t.type!==2}function Yg(t){if(t[On]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[On])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[M]&8192)}}var AE=100;function Kg(t,n=!0,e=0){let i=t[At].rendererFactory,o=!1;o||i.begin?.();try{kE(t,e)}catch(s){throw n&&qg(t,s),s}finally{o||i.end?.()}}function kE(t,n){let e=ym();try{Ds(!0),eu(t,n);let r=0;for(;Qs(t);){if(r===AE)throw new w(103,!1);r++,eu(t,1)}}finally{Ds(e)}}function NE(t,n,e,r){let i=n[M];if((i&256)===256)return;let o=!1,s=!1;ju(n);let a=!0,c=null,l=null;o||(Qg(t)?(l=EE(n),c=sr(l)):uh()===null?(a=!1,l=TE(n),c=sr(l)):n[Le]&&(ar(n[Le]),n[Le]=null));try{dm(n),rw(t.bindingStartIndex),e!==null&&Rg(t,n,e,2,r);let u=(i&3)===3;if(!o)if(u){let p=t.preOrderCheckHooks;p!==null&&cs(n,p,null)}else{let p=t.preOrderHooks;p!==null&&ls(n,p,0,null),dl(n,0)}if(s||RE(n),Yg(n),Xg(n,0),t.contentQueries!==null&&Hg(t,n),!o)if(u){let p=t.contentCheckHooks;p!==null&&cs(n,p)}else{let p=t.contentHooks;p!==null&&ls(n,p,1),dl(n,1)}W_(t,n);let d=t.components;d!==null&&eb(n,d,0);let f=t.viewQuery;if(f!==null&&Jl(2,f,r),!o)if(u){let p=t.viewCheckHooks;p!==null&&cs(n,p)}else{let p=t.viewHooks;p!==null&&ls(n,p,2),dl(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[as]){for(let p of n[as])p();n[as]=null}o||(n[M]&=-73)}catch(u){throw o||Li(n),u}finally{l!==null&&(hi(l,c),a&&CE(l)),Bu()}}function Xg(t,n){for(let e=Qm(t);e!==null;e=Ym(e))for(let r=Ae;r-1&&(Ts(n,r),ms(e,r))}this._attachedToViewContainer=!1}ed(this._lView[A],this._lView)}onDestroy(n){fm(this._lView,n)}markForCheck(){ud(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Fu(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){Sl(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Kg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Ml(this._lView),e=this._lView[Rn];e!==null&&!n&&Ju(e,this._lView),bg(this._lView[A],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n;let e=Ml(this._lView),r=this._lView[Rn];r!==null&&!e&&yg(r,this._lView),Sl(this._lView)}},Hn=(()=>{class t{static __NG_ELEMENT_ID__=PE}return t})(),FE=Hn,LE=class extends FE{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,r){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,r){let i=cd(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:r});return new Un(i)}};function PE(){return ra(de(),R())}function ra(t,n){return t.type&4?new LE(n,t,jr(t,n)):null}var tu=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Ee(n)}.`)}},Nr=class{static NULL=new tu},mn=class{},Ai=class{},nu=class{},Ns=class{},Rr=class{},Gi=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>jE()}return t})();function jE(){let t=R(),n=de(),e=gn(n.index,t);return(fn(e)?e:t)[Q]}var BE=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>null})}return t})();function ru(t,n,e){let r=e?t.styles:null,i=e?t.classes:null,o=0;if(n!==null)for(let s=0;s0&&Ig(t,e,o.join(" "))}}function WE(t,n,e){let r=t.projection=[];for(let i=0;ie()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},su=class extends Ai{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ou(this.moduleType,n,[])}};var Os=class extends mn{injector;componentFactoryResolver=new Rs(this);instance=null;constructor(n){super();let e=new Ii([...n.providers,{provide:mn,useValue:this},{provide:Nr,useValue:this.componentFactoryResolver}],n.parent||Gs(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function dd(t,n,e=null){return new Os({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var ZE=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=Xp(!1,e.type),i=r.length>0?dd([r],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=g({token:t,providedIn:"environment",factory:()=>new t(x(be))})}return t})();function Ne(t){return Ni(()=>{let n=nb(t),e=j(m({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===qm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(ZE).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||vt.Emulated,styles:t.styles||_e,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Dt("NgStandalone"),rb(e);let r=t.dependencies;return e.directiveDefs=Dp(r,!1),e.pipeDefs=Dp(r,!0),e.id=KE(e),e})}function QE(t){return hn(t)||Qp(t)}function YE(t){return t!==null}function ie(t){return Ni(()=>({type:t.type,bootstrap:t.bootstrap||_e,declarations:t.declarations||_e,imports:t.imports||_e,exports:t.exports||_e,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function xp(t,n){if(t==null)return Cr;let e={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=pn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(e[o]=a!==pn.None?[r,a]:r,n[o]=s):e[o]=r}return e}function H(t){return Ni(()=>{let n=nb(t);return rb(n),n})}function tb(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function nb(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Cr,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||_e,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xp(t.inputs,n),outputs:xp(t.outputs),debugInfo:null}}function rb(t){t.features?.forEach(n=>n(t))}function Dp(t,n){if(!t)return null;let e=n?Yp:QE;return()=>(typeof t=="function"?t():t).map(r=>e(r)).filter(YE)}function KE(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of e)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}var ia=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Wi(t){return typeof t=="function"&&t[ge]!==void 0}var ib=new v("");function Br(t){return!!t&&typeof t.then=="function"}function fd(t){return!!t&&typeof t.subscribe=="function"}var ob=new v("");var sb=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=h(ob,{optional:!0})??[];injector=h(ue);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let i of this.appInits){let o=Pe(this.injector,i);if(Br(o))e.push(o);else if(fd(o)){let s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ab=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>new Fs})}return t})(),Fs=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},Vr=new v("");function XE(){vh(()=>{throw new w(600,!1)})}function JE(t){return t.isBoundToModule}var eI=10;function tI(t,n,e){try{let r=e();return Br(r)?r.catch(i=>{throw n.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>t.handleError(r)),r}}var wt=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(Rw);afterRenderManager=h(tg);zonelessEnabled=h(zu);rootEffectScheduler=h(ab);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new k;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=h(Pt).hasPendingTasks.pipe(I(e=>!e));whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=h(be);get injector(){return this._injector}bootstrap(e,r){let i=e instanceof Ns;if(!this._injector.get(sb).done){let f=!i&&Kp(e),p=!1;throw new w(405,p)}let s;i?s=e:s=this._injector.get(Nr).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=JE(s)?void 0:this._injector.get(mn),c=r||s.selector,l=s.create(ue.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(ib,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ds(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new w(101,!1);let e=$(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,$(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Rr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++Qs(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;ds(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let r=this._injector.get(Vr,[]);[...this._bootstrapListeners,...r].forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ds(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ds(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function nI(t,n,e,r){if(!e&&!Qs(t))return;Kg(t,n,e&&!r?0:1)}var CP=new RegExp(`^(\\d+)*(${Uw}|${$w})*(.*)`);var rI=()=>null;function Ls(t,n){return rI(t,n)}var Vt=(()=>{class t{static __NG_ELEMENT_ID__=iI}return t})();function iI(){let t=de();return lb(t,R())}var oI=Vt,cb=class extends oI{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return jr(this._hostTNode,this._hostLView)}get injector(){return new kn(this._hostTNode,this._hostLView)}get parentInjector(){let n=Hu(this._hostTNode,this._hostLView);if(Sm(n)){let e=_s(n,this._hostLView),r=ws(n),i=e[A].data[r+8];return new kn(i,e)}else return new kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=wp(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(n,e,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Ls(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,i,As(this._hostTNode,s)),a}createComponent(n,e,r,i,o){let s=n&&!VD(n),a;if(s)a=e;else{let b=e||{};a=b.index,r=b.injector,i=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef}let c=s?n:new Or(hn(n)),l=r||this.parentInjector;if(!o&&c.ngModule==null){let y=(s?l:this.parentInjector).get(be,null);y&&(o=y)}let u=hn(c.componentType??{}),d=Ls(this._lContainer,u?.id??null),f=d?.firstChild??null,p=c.create(l,i,f,o);return this.insertImpl(p.hostView,a,As(this._hostTNode,d)),p}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let i=n._lView;if(qD(i)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=i[ye],l=new cb(c,c[ke],c[ye]);l.detach(l.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return ld(s,i,o,r),n.attachToViewContainerRef(),Gp(ml(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=wp(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=Ts(this._lContainer,e);r&&(ms(ml(this._lContainer),e),ed(r[A],r))}detach(n){let e=this._adjustIndex(n,-1),r=Ts(this._lContainer,e);return r&&ms(ml(this._lContainer),e)!=null?new Un(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function wp(t){return t[ys]}function ml(t){return t[ys]||(t[ys]=[])}function lb(t,n){let e,r=n[t.index];return Ft(r)?e=r:(e=Ug(r,n,null,t),n[t.index]=e,na(n,e)),aI(e,n,t,r),new cb(e,t,n)}function sI(t,n){let e=t[Q],r=e.createComment(""),i=We(n,t),o=Dg(e,i);return Ss(e,o,r,C_(e,i),!1),r}var aI=uI,cI=()=>!1;function lI(t,n,e){return cI(t,n,e)}function uI(t,n,e,r){if(t[Fn])return;let i;e.type&8?i=bt(r):i=sI(n,e),t[Fn]=i}var au=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},cu=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let l=o[a+1],u=n[-c];for(let d=Ae;dn.trim())}function hb(t,n,e){t.queries===null&&(t.queries=new lu),t.queries.track(new uu(n,e))}function bI(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function pd(t,n){return t.queries.getByIndex(n)}function pb(t,n){let e=t[A],r=pd(e,n);return r.crossesNgTemplate?du(e,t,n,[]):ub(e,t,r,n)}function md(t,n){Dt("NgSignals");let e=xh(t),r=e[ge];return n?.equal&&(r.equal=n.equal),e.set=i=>Lo(r,i),e.update=i=>Dh(r,i),e.asReadonly=yI.bind(e),e}function yI(){let t=this[ge];if(t.readonlyFn===void 0){let n=()=>this();n[ge]=t,t.readonlyFn=n}return t.readonlyFn}function mb(t){return Wi(t)&&typeof t.set=="function"}function gb(t,n,e){let r,i=sc(()=>{r._dirtyCounter();let o=wI(r,t);if(n&&o===void 0)throw new w(-951,!1);return o});return r=i[ge],r._dirtyCounter=md(0),r._flatValue=void 0,i}function vI(t){return gb(!0,!1,t)}function xI(t){return gb(!0,!0,t)}function DI(t,n){let e=t[ge];e._lView=R(),e._queryIndex=n,e._queryList=hd(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function wI(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[M]&4)return n?void 0:_e;let i=hd(e,r),o=pb(e,r);return i.reset(o,Gm),n?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function _p(t,n){return vI(n)}function _I(t,n){return xI(n)}var TP=(_p.required=_I,_p);function EI(t){return Object.getPrototypeOf(t.prototype).constructor}function ae(t){let n=EI(t.type),e=!0,r=[t];for(;n;){let i;if(Nt(t))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);i=n.\u0275dir}if(i){if(e){r.push(i);let s=t;s.inputs=rs(t.inputs),s.inputTransforms=rs(t.inputTransforms),s.declaredInputs=rs(t.declaredInputs),s.outputs=rs(t.outputs);let a=i.hostBindings;a&&SI(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&MI(t,c),l&&TI(t,l),II(t,i),oD(t.outputs,i.outputs),Nt(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=t[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Ti(i.hostAttrs,e=Ti(e,i.hostAttrs))}}function rs(t){return t===Cr?{}:t===_e?[]:t}function MI(t,n){let e=t.viewQuery;e?t.viewQuery=(r,i)=>{n(r,i),e(r,i)}:t.viewQuery=n}function TI(t,n){let e=t.contentQueries;e?t.contentQueries=(r,i,o)=>{n(r,i,o),e(r,i,o)}:t.contentQueries=n}function SI(t,n){let e=t.hostBindings;e?t.hostBindings=(r,i)=>{n(r,i),e(r,i)}:t.hostBindings=n}function rt(t){let n=t.inputConfig,e={};for(let r in n)if(n.hasOwnProperty(r)){let i=n[r];Array.isArray(i)&&i[3]&&(e[r]=i[3])}t.inputTransforms=e}function bb(t){return kI(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function AI(t,n){if(Array.isArray(t))for(let e=0;e>17&32767}function PI(t){return(t&2)==2}function jI(t,n){return t&131071|n<<17}function fu(t){return t|2}function Fr(t){return(t&131068)>>2}function gl(t,n){return t&-131069|n<<2}function BI(t){return(t&1)===1}function hu(t){return t|1}function VI(t,n,e,r,i,o){let s=o?n.classBindings:n.styleBindings,a=zn(s),c=Fr(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||Oi(d,u)>0)&&(l=!0)}else u=e;if(i)if(c!==0){let f=zn(t[a+1]);t[r+1]=is(f,a),f!==0&&(t[f+1]=gl(t[f+1],r)),t[a+1]=jI(t[a+1],r)}else t[r+1]=is(a,0),a!==0&&(t[a+1]=gl(t[a+1],r)),a=r;else t[r+1]=is(c,0),a===0?a=r:t[c+1]=gl(t[c+1],r),c=r;l&&(t[r+1]=fu(t[r+1])),Ep(t,u,r,!0),Ep(t,u,r,!1),$I(n,u,t,r,o),s=is(a,c),o?n.classBindings=s:n.styleBindings=s}function $I(t,n,e,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Oi(o,n)>=0&&(e[r+1]=hu(e[r+1]))}function Ep(t,n,e,r){let i=t[e+1],o=n===null,s=r?zn(i):Fr(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];UI(c,n)&&(a=!0,t[s+1]=r?hu(l):fu(l)),s=r?zn(l):Fr(l)}a&&(t[e+1]=r?fu(i):hu(i))}function UI(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Oi(t,n)>=0:!1}var Je={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function HI(t){return t.substring(Je.key,Je.keyEnd)}function zI(t){return GI(t),wb(t,_b(t,0,Je.textEnd))}function wb(t,n){let e=Je.textEnd;return e===n?-1:(n=Je.keyEnd=WI(t,Je.key=n,e),_b(t,n,e))}function GI(t){Je.key=0,Je.keyEnd=0,Je.value=0,Je.valueEnd=0,Je.textEnd=t.length}function _b(t,n,e){for(;n32;)n++;return n}function Eb(t,n,e){let r=R(),i=Gn();if(Ge(r,i,n)){let o=K(),s=Pr();zi(o,s,r,t,n,r[Q],e,!1)}return Eb}function pu(t,n,e,r,i){let o=n.inputs,s=i?"class":"style";sd(t,e,o[s],s,r)}function Ib(t,n,e){return Cb(t,n,e,!1),Ib}function Re(t,n){return Cb(t,n,null,!0),Re}function $r(t){ZI(e0,qI,t,!0)}function qI(t,n){for(let e=zI(n);e>=0;e=wb(n,e))Tu(t,HI(n),!0)}function Cb(t,n,e,r){let i=R(),o=K(),s=xm(2);if(o.firstUpdatePass&&Tb(o,t,s,r),n!==nt&&Ge(i,s,n)){let a=o.data[Wn()];Sb(o,a,i,i[Q],t,i[s+1]=n0(n,e),r,s)}}function ZI(t,n,e,r){let i=K(),o=xm(2);i.firstUpdatePass&&Tb(i,null,o,r);let s=R();if(e!==nt&&Ge(s,o,e)){let a=i.data[Wn()];if(Ab(a,r)&&!Mb(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=xl(c,e||"")),pu(i,a,s,e,r)}else t0(i,a,s,s[Q],s[o+1],s[o+1]=JI(t,n,e),r,o)}}function Mb(t,n){return n>=t.expandoStartIndex}function Tb(t,n,e,r){let i=t.data;if(i[e+1]===null){let o=i[Wn()],s=Mb(t,e);Ab(o,r)&&n===null&&!s&&(n=!1),n=QI(i,o,n,r),VI(i,o,n,e,s,r)}}function QI(t,n,e,r){let i=Lu(t),o=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(e=bl(null,t,n,e,r),e=ki(e,n.attrs,r),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==i)if(e=bl(i,t,n,e,r),o===null){let c=YI(t,n,r);c!==void 0&&Array.isArray(c)&&(c=bl(null,t,n,c[1],r),c=ki(c,n.attrs,r),KI(t,n,r,c))}else o=XI(t,n,r)}return o!==void 0&&(r?n.residualClasses=o:n.residualStyles=o),e}function YI(t,n,e){let r=e?n.classBindings:n.styleBindings;if(Fr(r)!==0)return t[zn(r)]}function KI(t,n,e,r){let i=e?n.classBindings:n.styleBindings;t[zn(i)]=r}function XI(t,n,e){let r,i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=e[i+1];f===nt&&(f=d?_e:void 0);let p=d?ll(f,r):u===r?f:void 0;if(l&&!js(p)&&(p=ll(c,r)),js(p)&&(a=p,s))return a;let b=t[i+1];i=s?zn(b):Fr(b)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(a=ll(c,r))}return a}function js(t){return t!==void 0}function n0(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Ee(qe(t)))),t}function Ab(t,n){return(t.flags&(n?8:16))!==0}function r0(t,n){Dt("NgControlFlow");let e=R(),r=Gn(),i=e[r]!==nt?e[r]:-1,o=i!==-1?Cp(e,ve+i):void 0,s=0;if(Ge(e,r,t)){let a=$(null);try{if(o!==void 0&&wE(o,s),t!==-1){let c=ve+t,l=Cp(e,c),u=i0(e[A],c),d=Ls(l,u.tView.ssrId),f=cd(e,u,n,{dehydratedView:d});ld(l,f,s,As(u,d))}}finally{$(a)}}else if(o!==void 0){let a=DE(o,s);a!==void 0&&(a[He]=n)}}function Cp(t,n){return t[n]}function i0(t,n){return Nu(t,n)}function o0(t,n,e,r,i,o){let s=n.consts,a=xs(s,i),c=Hi(n,t,2,r,a);return jg(n,e,c,xs(s,o)),c.attrs!==null&&ru(c,c.attrs,!1),c.mergedAttrs!==null&&ru(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function $t(t,n,e,r){let i=R(),o=K(),s=ve+t,a=i[Q],c=o.firstCreatePass?o0(s,o,i,n,e,r):o.data[s],l=s0(o,i,c,a,n,t);i[s]=l;let u=ku(c);return Pi(c,!0),Cg(a,l,c),!RI(c)&&Vu()&&td(o,i,l,c),YD()===0&&$n(l,i),KD(),u&&(Fg(o,i,c),Og(o,c,i)),r!==null&&Lg(i,c),$t}function Ut(){let t=de();gm()?bm():(t=t.parent,Pi(t,!1));let n=t;JD(n)&&ew(),XD();let e=K();return e.firstCreatePass&&(Uu(e,t),im(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&hw(n)&&pu(e,n,R(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&pw(n)&&pu(e,n,R(),n.stylesWithoutHost,!1),Ut}function Ie(t,n,e,r){return $t(t,n,e,r),Ut(),Ie}var s0=(t,n,e,r,i,o)=>($u(!0),gg(r,i,lw()));function SP(){return R()}function kb(t,n,e){let r=R(),i=Gn();if(Ge(r,i,n)){let o=K(),s=Pr();zi(o,s,r,t,n,r[Q],e,!0)}return kb}function a0(t,n,e){let r=R(),i=Gn();if(Ge(r,i,n)){let o=K(),s=Pr(),a=Lu(o.data),c=Wg(a,s,r);zi(o,s,r,t,n,c,e,!0)}return a0}var Bs="en-US";var c0=Bs;function l0(t){typeof t=="string"&&(c0=t.toLowerCase().replace(/_/g,"-"))}var u0=(t,n,e)=>{};function Ur(t,n,e,r){let i=R(),o=K(),s=de();return gd(o,i,i[Q],s,t,n,r),Ur}function d0(t,n){let e=de(),r=R(),i=K(),o=Lu(i.data),s=Wg(o,e,r);return gd(i,r,s,e,t,n),d0}function f0(t,n,e,r){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function gd(t,n,e,r,i,o,s){let a=ku(r),l=t.firstCreatePass&&Gg(t),u=n[He],d=zg(n),f=!0;if(r.type&3||s){let y=We(r,n),D=s?s(y):y,_=d.length,V=s?te=>s(bt(te[r.index])):r.index,F=null;if(!s&&a&&(F=f0(t,n,i,r.index)),F!==null){let te=F.__ngLastListenerFn__||F;te.__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,f=!1}else{o=Tp(r,n,u,o),u0(y,i,o);let te=e.listen(D,i,o);d.push(o,te),l&&l.push(i,V,_,_+1)}}else o=Tp(r,n,u,o);let p=r.outputs,b;if(f&&p!==null&&(b=p[i])){let y=b.length;if(y)for(let D=0;D-1?gn(t.index,n):n;ud(s,5);let a=Mp(n,e,r,o),c=i.__ngNextListenerFn__;for(;c;)a=Mp(n,e,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function h0(t=1){return cw(t)}function p0(t,n){let e=null,r=B_(t);for(let i=0;i=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function NP(t){let n=nw();return Ru(n,ve+t)}function vd(t,n=""){let e=R(),r=K(),i=t+ve,o=r.firstCreatePass?Hi(r,i,1,n,null):r.data[i],s=v0(r,e,o,n,t);e[i]=s,Vu()&&td(r,e,s,o),Pi(o,!1)}var v0=(t,n,e,r,i)=>($u(!0),b_(n[Q],r));function xd(t){return Dd("",t,""),xd}function Dd(t,n,e){let r=R(),i=Db(r,t,n,e);return i!==nt&&bE(r,Wn(),i),Dd}function x0(t,n,e){mb(n)&&(n=n());let r=R(),i=Gn();if(Ge(r,i,n)){let o=K(),s=Pr();zi(o,s,r,t,n,r[Q],e,!1)}return x0}function RP(t,n){let e=mb(t);return e&&t.set(n),e}function D0(t,n){let e=R(),r=K(),i=de();return gd(r,e,e[Q],i,t,n),D0}function w0(t,n,e){let r=K();if(r.firstCreatePass){let i=Nt(t);mu(e,r.data,r.blueprint,i,!0),mu(n,r.data,r.blueprint,i,!1)}}function mu(t,n,e,r,i){if(t=we(t),Array.isArray(t))for(let o=0;o>20;if(Tr(t)||!t.multi){let p=new jn(l,i,C),b=vl(c,n,i?u:u+f,d);b===-1?(Fl(Is(a,s),o,c),yl(o,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[b]=p,s[b]=p)}else{let p=vl(c,n,u+f,d),b=vl(c,n,u,u+f),y=p>=0&&e[p],D=b>=0&&e[b];if(i&&!D||!i&&!y){Fl(Is(a,s),o,c);let _=I0(i?E0:_0,e.length,i,r,l);!i&&D&&(e[b].providerFactory=_),yl(o,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(_),s.push(_)}else{let _=Rb(e[i?b:p],l,!i&&r);yl(o,t,p>-1?p:b,_)}!i&&r&&D&&e[b].componentProviders++}}}function yl(t,n,e,r){let i=Tr(n),o=RD(n);if(i||o){let c=(o?we(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function Rb(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function vl(t,n,e,r){for(let i=e;i{e.providersResolver=(r,i)=>w0(r,i?i(t):t,n)}}function Fb(t,n){let e=t[n];return e===nt?void 0:e}function C0(t,n,e,r,i,o){let s=n+e;return Ge(t,s,i)?yb(t,s+1,o?r.call(o,i):r(i)):Fb(t,s+1)}function M0(t,n,e,r,i,o,s){let a=n+e;return NI(t,a,i,o)?yb(t,a+2,s?r.call(s,i,o):r(i,o)):Fb(t,a+2)}function wd(t,n){let e=K(),r,i=t+ve;e.firstCreatePass?(r=T0(n,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks??=[]).push(i,r.onDestroy)):r=e.data[i];let o=r.factory||(r.factory=Nn(r.type,!0)),s,a=Se(C);try{let c=Es(!1),l=o();return Es(c),y0(e,R(),i,l),l}finally{Se(a)}}function T0(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function _d(t,n,e){let r=t+ve,i=R(),o=Ru(i,r);return Lb(i,r)?C0(i,vm(),n,o.transform,e,o):o.transform(e)}function OP(t,n,e,r){let i=t+ve,o=R(),s=Ru(o,i);return Lb(o,i)?M0(o,vm(),n,s.transform,e,r,s):s.transform(e,r)}function Lb(t,n){return t[A].data[n].pure}function FP(t,n){return ra(t,n)}var bu=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Ed=(()=>{class t{compileModuleSync(e){return new su(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),i=Zp(e),o=mg(i.declarations).reduce((s,a)=>{let c=hn(a);return c&&s.push(new Or(c)),s},[]);return new bu(r,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var S0=(()=>{class t{zone=h(P);changeDetectionScheduler=h(Vn);applicationRef=h(wt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function A0({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new P(j(m({},k0()),{scheduleInRootZone:e})),[{provide:P,useFactory:t},{provide:Mr,multi:!0,useFactory:()=>{let r=h(S0,{optional:!0});return()=>r.initialize()}},{provide:Mr,multi:!0,useFactory:()=>{let r=h(N0);return()=>{r.initialize()}}},n===!0?{provide:Vm,useValue:!0}:[],{provide:$m,useValue:e??Bm}]}function k0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var N0=(()=>{class t{subscription=new B;initialized=!1;zone=h(P);pendingTasks=h(Pt);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{P.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var R0=(()=>{class t{appRef=h(wt);taskService=h(Pt);ngZone=h(P);zonelessEnabled=h(zu);disableScheduling=h(Vm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ms):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h($m,{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 Bl||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let r=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?np:Um;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ms+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(e),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,np(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function O0(){return typeof $localize<"u"&&$localize.locale||Bs}var oa=new v("",{providedIn:"root",factory:()=>h(oa,L.Optional|L.SkipSelf)||O0()});var yu=new v("");function os(t){return!t.moduleRef}function F0(t){let n=os(t)?t.r3Injector:t.moduleRef.injector,e=n.get(P);return e.run(()=>{os(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(yt,null),i;if(e.runOutsideAngular(()=>{i=e.onError.subscribe({next:o=>{r.handleError(o)}})}),os(t)){let o=()=>n.destroy(),s=t.platformInjector.get(yu);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(yu);s.add(o),t.moduleRef.onDestroy(()=>{ds(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return tI(r,e,()=>{let o=n.get(sb);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(oa,Bs);if(l0(s||Bs),os(t)){let a=n.get(wt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return L0(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function L0(t,n){let e=t.injector.get(wt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>e.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new w(-403,!1);n.push(t)}var fs=null;function P0(t=[],n){return ue.create({name:n,providers:[{provide:zs,useValue:"platform"},{provide:yu,useValue:new Set([()=>fs=null])},...t]})}function j0(t=[]){if(fs)return fs;let n=P0(t);return fs=n,XE(),B0(n),n}function B0(t){let n=t.get(qu,null);Pe(t,()=>{n?.forEach(e=>e())})}var Ht=(()=>{class t{static __NG_ELEMENT_ID__=V0}return t})();function V0(t){return $0(de(),R(),(t&16)===16)}function $0(t,n,e){if(Zs(t)&&!e){let r=gn(t.index,n);return new Un(r,r)}else if(t.type&175){let r=n[ze];return new Un(r,n)}return null}var vu=class{constructor(){}supports(n){return bb(n)}create(n){return new xu(n)}},U0=(t,n)=>n,xu=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(n){this._trackByFn=n||U0}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,i=0,o=null;for(;e||r;){let s=!r||e&&e.currentIndex{s=this._trackByFn(i,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,i),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,i++}),this.length=i;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,r,i){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,i)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,i),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,i)):n=this._addAfter(new Du(e,r),o,i)),n}_verifyReinsertion(n,e,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}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(n,e,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let i=n._prevRemoved,o=n._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let i=e===null?this._itHead:e._next;return n._next=i,n._prev=e,i===null?this._itTail=n:i._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Vs),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Vs),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Du=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(n,e){this.item=n,this.trackById=e}},wu=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},Vs=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new wu,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,i=this.map.get(r);return i?i.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Sp(t,n,e){let r=t.previousIndex;if(r===null)return r;let i=0;return e&&r{class t{factories;static \u0275prov=g({token:t,providedIn:"root",factory:Ap});constructor(e){this.factories=e}static create(e,r){if(r!=null){let i=r.factories.slice();e=e.concat(i)}return new t(e)}static extend(e){return{provide:t,useFactory:r=>t.create(e,r||Ap()),deps:[[t,new zp,new Cu]]}}find(e){let r=this.factories.find(i=>i.supports(e));if(r!=null)return r;throw new w(901,!1)}}return t})();function Pb(t){try{let{rootComponent:n,appProviders:e,platformProviders:r}=t,i=j0(r),o=[A0({}),{provide:Vn,useExisting:R0},...e||[]],s=new Os({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return F0({r3Injector:s.injector,platformInjector:i,rootComponent:n})}catch(n){return Promise.reject(n)}}function Ce(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Cd(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function LP(t,n){Dt("NgSignals");let e=sc(t);return n?.equal&&(e[ge].equal=n.equal),e}function Md(t){let n=$(null);try{return t()}finally{$(n)}}var jb=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=H0}return t})();function H0(){return new jb(R(),de())}var z0=!1,G0=(()=>{class t extends Fs{pendingTasks=h(Pt);taskId=null;schedule(e){super.schedule(e),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=g({token:t,providedIn:"root",factory:()=>new t})}return t})(),_u=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(n,e,r,i,o,s){this.scheduler=n,this.effectFn=e,this.zone=r,this.injector=o,this.watcher=wh(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(yt,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function W0(){}function q0(t,n){Dt("NgSignals"),!n?.injector&&Ws(W0);let e=n?.injector??h(ue),r=n?.manualCleanup!==!0?e.get(ji):null,i=new _u(e.get(G0),t,typeof Zone>"u"?null:Zone.current,r,e,n?.allowSignalWrites??!1),o=e.get(Ht,null,{optional:!0});return!o||!(o._lView[M]&8)?i.watcher.notify():(o._lView[as]??=[]).push(i.watcher.notify),i}var Z0=z0;var Eu=class{[ge];constructor(n){this[ge]=n}destroy(){this[ge].destroy()}};function Td(t,n){if(Z0)return q0(t,n);Dt("NgSignals"),!n?.injector&&Ws(Td);let e=n?.injector??h(ue),r=n?.manualCleanup!==!0?e.get(ji):null,i,o=e.get(jb,null,{optional:!0}),s=e.get(Vn);return o!==null&&!n?.forceRoot?(i=K0(o.view,s,t),r instanceof Cs&&r._lView===o.view&&(r=null)):i=X0(t,e.get(ab),s),i.injector=e,r!==null&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Eu(i)}var Bb=j(m({},In),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Si,run(){if(this.dirty=!1,this.hasRun&&!pi(this))return;this.hasRun=!0;let t=r=>(this.cleanupFns??=[]).push(r),n=sr(this),e=Ds(!1);try{this.maybeCleanup(),this.fn(t)}finally{Ds(e),hi(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Q0=j(m({},Bb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){ar(this),this.onDestroyFn(),this.maybeCleanup()}}),Y0=j(m({},Bb),{consumerMarkedDirty(){this.view[M]|=8192,Li(this.view),this.notifier.notify(14)},destroy(){ar(this),this.onDestroyFn(),this.maybeCleanup(),this.view[On]?.delete(this)}});function K0(t,n,e){let r=Object.create(Y0);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=e,t[On]??=new Set,t[On].add(r),r.consumerMarkedDirty(r),r}function X0(t,n,e){let r=Object.create(Q0);return r.fn=t,r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function Vb(t,n){let e=hn(t),r=n.elementInjector||Gs();return new Or(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}var Gb=null;function Hr(){return Gb}function Wb(t){Gb??=t}var sa=class{};var G=new v(""),qb=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>h(eC),providedIn:"platform"})}return t})();var eC=(()=>{class t extends qb{_location;_history;_doc=h(G);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Hr().getBaseHref(this._doc)}onPopState(e){let r=Hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=Hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Zb(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function $b(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,r=e-(t[e-1]==="/"?1:0);return t.slice(0,r)+t.slice(e)}function Zn(t){return t&&t[0]!=="?"?"?"+t:t}var Gr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>h(Qb),providedIn:"root"})}return t})(),tC=new v(""),Qb=(()=>{class t extends Gr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Zb(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Zn(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Zn(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Zn(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(x(qb),x(tC,8))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qi=(()=>{class t{_subject=new k;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=iC($b(Ub(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Zn(r))}normalize(e){return t.stripTrailingSlash(rC(this._basePath,Ub(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Zn;static joinWithSlash=Zb;static stripTrailingSlash=$b;static \u0275fac=function(r){return new(r||t)(x(Gr))};static \u0275prov=g({token:t,factory:()=>nC(),providedIn:"root"})}return t})();function nC(){return new qi(x(Gr))}function rC(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Ub(t){return t.replace(/\/index.html$/,"")}function iC(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function aa(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var Sd=class{$implicit;ngForOf;index;count;constructor(n,e,r,i){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},sj=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new Sd(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),Hb(a,i)}});for(let i=0,o=r.length;i{let o=r.get(i.currentIndex);Hb(o,i)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(C(Vt),C(Hn),C(Id))};static \u0275dir=H({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Hb(t,n){t.context.$implicit=n.item}var aj=(()=>{class t{_viewContainer;_context=new Ad;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){zb("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){zb("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(C(Vt),C(Hn))};static \u0275dir=H({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Ad=class{$implicit=null;ngIf=null};function zb(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ee(n)}'.`)}var cj=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(C(Vt))};static \u0275dir=H({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Lt]})}return t})();function oC(t,n){return new w(2100,!1)}var kd=class{createSubscription(n,e){return Md(()=>n.subscribe({next:e,error:r=>{throw r}}))}dispose(n){Md(()=>n.unsubscribe())}},Nd=class{createSubscription(n,e){return n.then(e,r=>{throw r})}dispose(n){}},sC=new Nd,aC=new kd,Yb=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if(Br(e))return sC;if(fd(e))return aC;throw oC(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(C(Ht,16))};static \u0275pipe=tb({name:"async",type:t,pure:!1})}return t})();var Ld="browser",cC="server";function me(t){return t===Ld}function Wr(t){return t===cC}var Kb=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>me(h(pe))?new Rd(h(G),window):new Od})}return t})(),Rd=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=lC(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function lC(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var Od=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},zr=class{};var Qi=class{},la=class{},zt=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var jd=class{encodeKey(n){return Jb(n)}encodeValue(n){return Jb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function uC(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var dC=/%(\d[a-f0-9])/gi,fC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jb(t){return encodeURIComponent(t).replace(dC,(n,e)=>fC[e]??n)}function ca(t){return`${t}`}var yn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new jd,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=uC(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(ca):[ca(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(ca(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(ca(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Bd=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function hC(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ey(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ty(t){return typeof Blob<"u"&&t instanceof Blob}function ny(t){return typeof FormData<"u"&&t instanceof FormData}function pC(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Zi=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(hC(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new zt,this.context??=new Bd,!this.params)this.params=new yn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":af.set(p,n.setHeaders[p]),l)),n.setParams&&(u=Object.keys(n.setParams).reduce((f,p)=>f.set(p,n.setParams[p]),u)),new t(e,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},vn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(vn||{}),Yi=class{headers;status;statusText;url;ok;type;constructor(n,e=200,r="OK"){this.headers=n.headers||new zt,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},ua=class t extends Yi{constructor(n={}){super(n)}type=vn.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ki=class t extends Yi{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=vn.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},bn=class extends Yi{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},sy=200,mC=204;function Pd(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ud=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof Zi)o=e;else{let c;i.headers instanceof zt?c=i.headers:c=new zt(i.headers);let l;i.params&&(i.params instanceof yn?l=i.params:l=new yn({fromObject:i.params})),o=new Zi(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=E(o).pipe(an(c=>this.handler.handle(c)));if(e instanceof Zi||i.observe==="events")return s;let a=s.pipe(ee(c=>c instanceof Ki));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(I(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(I(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(I(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(I(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new yn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Pd(i,r))}post(e,r,i={}){return this.request("POST",e,Pd(i,r))}put(e,r,i={}){return this.request("PUT",e,Pd(i,r))}static \u0275fac=function(r){return new(r||t)(x(Qi))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),gC=/^\)\]\}',?\n/,bC="X-Request-URL";function ry(t){if(t.url)return t.url;let n=bC.toLocaleLowerCase();return t.headers.get(n)}var yC=(()=>{class t{fetchImpl=h(Vd,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(P);handle(e){return new T(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then($d,o=>r.error(new bn({error:o}))),()=>i.abort()})}doRequest(e,r,i){return ui(this,null,function*(){let o=this.createRequestInit(e),s;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,m({signal:r},o)));vC(p),i.next({type:vn.Sent}),s=yield p}catch(p){i.error(new bn({error:p,status:p.status??0,statusText:p.statusText,url:e.urlWithParams,headers:p.headers}));return}let a=new zt(s.headers),c=s.statusText,l=ry(s)??e.urlWithParams,u=s.status,d=null;if(e.reportProgress&&i.next(new ua({headers:a,status:u,statusText:c,url:l})),s.body){let p=s.headers.get("content-length"),b=[],y=s.body.getReader(),D=0,_,V,F=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ui(this,null,function*(){for(;;){let{done:ce,value:oe}=yield y.read();if(ce)break;if(b.push(oe),D+=oe.length,e.reportProgress){V=e.responseType==="text"?(V??"")+(_??=new TextDecoder).decode(oe,{stream:!0}):void 0;let It=()=>i.next({type:vn.DownloadProgress,total:p?+p:void 0,loaded:D,partialText:V});F?F.run(It):It()}}}));let te=this.concatChunks(b,D);try{let ce=s.headers.get("Content-Type")??"";d=this.parseBody(e,te,ce)}catch(ce){i.error(new bn({error:ce,headers:new zt(s.headers),status:s.status,statusText:s.statusText,url:ry(s)??e.urlWithParams}));return}}u===0&&(u=d?sy:0),u>=200&&u<300?(i.next(new Ki({body:d,headers:a,status:u,statusText:c,url:l})),i.complete()):i.error(new bn({error:d,headers:a,status:u,statusText:c,url:l}))})}parseBody(e,r,i){switch(e.responseType){case"json":let o=new TextDecoder().decode(r).replace(gC,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>r[o]=s.join(",")),e.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let o=e.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Vd=class{};function $d(){}function vC(t){t.then($d,$d)}function xC(t,n){return n(t)}function DC(t,n,e){return(r,i)=>Pe(e,()=>n(r,o=>t(o,i)))}var ay=new v(""),wC=new v(""),_C=new v("",{providedIn:"root",factory:()=>!0});var iy=(()=>{class t extends Qi{backend;injector;chain=null;pendingTasks=h(Pt);contributeToStability=h(_C);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(ay),...this.injector.get(wC,[])]));this.chain=r.reduceRight((i,o)=>DC(i,o,this.injector),xC)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Sn(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(x(la),x(be))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();var EC=/^\)\]\}',?\n/;function IC(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var oy=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Y(r.\u0275loadImpl()):E(null)).pipe(he(()=>new T(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,D)=>s.setRequestHeader(y,D.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let y=s.statusText||"OK",D=new zt(s.getAllResponseHeaders()),_=IC(s)||e.url;return c=new ua({headers:D,status:s.status,statusText:y,url:_}),c},u=()=>{let{headers:y,status:D,statusText:_,url:V}=l(),F=null;D!==mC&&(F=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=F?sy:0);let te=D>=200&&D<300;if(e.responseType==="json"&&typeof F=="string"){let ce=F;F=F.replace(EC,"");try{F=F!==""?JSON.parse(F):null}catch(oe){F=ce,te&&(te=!1,F={error:oe,text:F})}}te?(o.next(new Ki({body:F,headers:y,status:D,statusText:_,url:V||void 0})),o.complete()):o.error(new bn({error:F,headers:y,status:D,statusText:_,url:V||void 0}))},d=y=>{let{url:D}=l(),_=new bn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});o.error(_)},f=!1,p=y=>{f||(o.next(l()),f=!0);let D={type:vn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),e.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),o.next(D)},b=y=>{let D={type:vn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),o.next(D)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",b)),s.send(a),o.next({type:vn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),e.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",b)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(x(zr))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),cy=new v(""),CC="XSRF-TOKEN",MC=new v("",{providedIn:"root",factory:()=>CC}),TC="X-XSRF-TOKEN",SC=new v("",{providedIn:"root",factory:()=>TC}),da=class{},AC=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=aa(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(x(G),x(pe),x(MC))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();function kC(t,n){let e=t.url.toLowerCase();if(!h(cy)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=h(da).getToken(),i=h(SC);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}function Dj(...t){let n=[Ud,oy,iy,{provide:Qi,useExisting:iy},{provide:la,useFactory:()=>h(yC,{optional:!0})??h(oy)},{provide:ay,useValue:kC,multi:!0},{provide:cy,useValue:!0},{provide:da,useClass:AC}];for(let e of t)n.push(...e.\u0275providers);return Fi(n)}var zd=class extends sa{supportsDOMEvents=!0},Gd=class t extends zd{static makeCurrent(){Wb(new t)}onAndCancel(n,e,r){return n.addEventListener(e,r),()=>{n.removeEventListener(e,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=RC();return e==null?null:OC(e)}resetBaseElement(){Xi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return aa(document.cookie,n)}},Xi=null;function RC(){return Xi=Xi||document.querySelector("base"),Xi?Xi.getAttribute("href"):null}function OC(t){return new URL(t,document.baseURI).pathname}var FC=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Wd=new v(""),py=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new w(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(x(Wd),x(P))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),fa=class{_doc;constructor(n){this._doc=n}manager},qd="ng-app-id";function ly(t){for(let n of t)n.remove()}function uy(t,n){let e=n.createElement("style");return e.textContent=t,e}function LC(t,n,e){let r=t.head?.querySelectorAll(`style[${qd}="${n}"]`);if(r)for(let i of r)i.textContent&&(i.removeAttribute(qd),e.set(i.textContent,{usage:0,elements:[i]}))}function Zd(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var my=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,this.isServer=Wr(o),LC(e,r,this.inline),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,uy);r?.forEach(i=>this.addUsage(i,this.external,Zd))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(ly(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ly(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,uy(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,Zd(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(qd,this.appId),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(x(G),x(Bi),x($i,8),x(pe))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Hd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Yd=/%COMP%/g,gy="%COMP%",PC=`_nghost-${gy}`,jC=`_ngcontent-${gy}`,BC=!0,VC=new v("",{providedIn:"root",factory:()=>BC});function $C(t){return jC.replace(Yd,t)}function UC(t){return PC.replace(Yd,t)}function by(t,n){return n.map(e=>e.replace(Yd,t))}var dy=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,c,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.platformIsServer=Wr(a),this.defaultRenderer=new Ji(e,s,c,this.platformIsServer)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===vt.ShadowDom&&(r=j(m({},r),{encapsulation:vt.Emulated}));let i=this.getOrCreateRenderer(e,r);return i instanceof ha?i.applyToHost(e):i instanceof eo&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case vt.Emulated:o=new ha(c,l,r,this.appId,u,s,a,d);break;case vt.ShadowDom:return new Qd(c,l,e,r,s,a,this.nonce,d);default:o=new eo(c,l,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||t)(x(py),x(my),x(Bi),x(VC),x(G),x(pe),x(P),x($i))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Ji=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Hd[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(fy(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(fy(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new w(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=Hd[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Hd[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Ot.DashCase|Ot.Important)?n.style.setProperty(e,r,i&Ot.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Ot.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r){if(typeof n=="string"&&(n=Hr().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(r))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function fy(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Qd=class extends Ji{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,o,s,a,c){super(n,o,s,c),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=by(i.id,i.styles);for(let d of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=d,this.shadowRoot.appendChild(f)}let u=i.getExternalStyles?.();if(u)for(let d of u){let f=Zd(d,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},eo=class extends Ji{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=c?by(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ha=class extends eo{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,c){let l=i+"-"+r.id;super(n,e,r,o,s,a,c,l),this.contentAttr=$C(l),this.hostAttr=UC(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}},HC=(()=>{class t extends fa{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),hy=["alt","control","meta","shift"],zC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},GC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},WC=(()=>{class t extends fa{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i){let o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Hr().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),hy.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=zC[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),hy.forEach(s=>{if(s!==i){let a=GC[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();function Uj(t,n){return Pb(m({rootComponent:t},qC(n)))}function qC(t){return{appProviders:[...XC,...t?.providers??[]],platformProviders:KC}}function ZC(){Gd.makeCurrent()}function QC(){return new yt}function YC(){return Xm(document),document}var KC=[{provide:pe,useValue:Ld},{provide:qu,useValue:ZC,multi:!0},{provide:G,useFactory:YC,deps:[]}];var XC=[{provide:zs,useValue:"root"},{provide:yt,useFactory:QC,deps:[]},{provide:Wd,useClass:HC,multi:!0,deps:[G,P,pe]},{provide:Wd,useClass:WC,multi:!0,deps:[G]},dy,my,py,{provide:Rr,useExisting:dy},{provide:zr,useClass:FC,deps:[]},[]];var yy=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Kd=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=x(JC),i},providedIn:"root"})}return t})(),JC=(()=>{class t extends Kd{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case tt.NONE:return r;case tt.HTML:return jt(r,"HTML")?qe(r):Yu(this._doc,String(r)).toString();case tt.STYLE:return jt(r,"Style")?qe(r):r;case tt.SCRIPT:if(jt(r,"Script"))return qe(r);throw new w(5200,!1);case tt.URL:return jt(r,"URL")?qe(r):Js(String(r));case tt.RESOURCE_URL:if(jt(r,"ResourceURL"))return qe(r);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return ig(e)}bypassSecurityTrustStyle(e){return og(e)}bypassSecurityTrustScript(e){return sg(e)}bypassSecurityTrustUrl(e){return ag(e)}bypassSecurityTrustResourceUrl(e){return cg(e)}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var xy=new v("CLIPBOARD_OPTIONS");function ef(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Yn=ef();function Cy(t){Yn=t}var My=/[&<>"']/,eM=new RegExp(My.source,"g"),Ty=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,tM=new RegExp(Ty.source,"g"),nM={"&":"&","<":"<",">":">",'"':""","'":"'"},Dy=t=>nM[t];function Be(t,n){if(n){if(My.test(t))return t.replace(eM,Dy)}else if(Ty.test(t))return t.replace(tM,Dy);return t}var rM=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function iM(t){return t.replace(rM,(n,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}var oM=/(^|[^\[])\^/g;function W(t,n){let e=typeof t=="string"?t:t.source;n=n||"";let r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(oM,"$1"),e=e.replace(i,s),r},getRegex:()=>new RegExp(e,n)};return r}function wy(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}var no={exec:()=>null};function _y(t,n){let e=t.replace(/\|/g,(o,s,a)=>{let c=!1,l=s;for(;--l>=0&&a[l]==="\\";)c=!c;return c?"|":" |"}),r=e.split(/ \|/),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),n)if(r.length>n)r.splice(n);else for(;r.length{let o=i.match(/^\s+/);if(o===null)return i;let[s]=o;return s.length>=r.length?i.slice(r.length):i}).join(` -`)}var Zr=class{options;rules;lexer;constructor(n){this.options=n||Yn}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let r=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:pa(r,` -`)}}}fences(n){let e=this.rules.block.fences.exec(n);if(e){let r=e[0],i=aM(r,e[3]||"");return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(n){let e=this.rules.block.heading.exec(n);if(e){let r=e[2].trim();if(/#$/.test(r)){let i=pa(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(n){let e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:e[0]}}blockquote(n){let e=this.rules.block.blockquote.exec(n);if(e){let r=e[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` - $1`);r=pa(r.replace(/^ *>[ \t]?/gm,""),` -`);let i=this.lexer.state.top;this.lexer.state.top=!0;let o=this.lexer.blockTokens(r);return this.lexer.state.top=i,{type:"blockquote",raw:e[0],tokens:o,text:r}}}list(n){let e=this.rules.block.list.exec(n);if(e){let r=e[1].trim(),i=r.length>1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let s=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),a="",c="",l=!1;for(;n;){let u=!1;if(!(e=s.exec(n))||this.rules.block.hr.test(n))break;a=e[0],n=n.substring(a.length);let d=e[2].split(` -`,1)[0].replace(/^\t+/,_=>" ".repeat(3*_.length)),f=n.split(` -`,1)[0],p=0;this.options.pedantic?(p=2,c=d.trimStart()):(p=e[2].search(/[^ ]/),p=p>4?1:p,c=d.slice(p),p+=e[1].length);let b=!1;if(!d&&/^ *$/.test(f)&&(a+=f+` -`,n=n.substring(f.length+1),u=!0),!u){let _=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),V=new RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),F=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),te=new RegExp(`^ {0,${Math.min(3,p-1)}}#`);for(;n;){let ce=n.split(` -`,1)[0];if(f=ce,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),F.test(f)||te.test(f)||_.test(f)||V.test(n))break;if(f.search(/[^ ]/)>=p||!f.trim())c+=` -`+f.slice(p);else{if(b||d.search(/[^ ]/)>=4||F.test(d)||te.test(d)||V.test(d))break;c+=` -`+f}!b&&!f.trim()&&(b=!0),a+=ce+` -`,n=n.substring(ce.length+1),d=f.slice(p)}}o.loose||(l?o.loose=!0:/\n *\n *$/.test(a)&&(l=!0));let y=null,D;this.options.gfm&&(y=/^\[[ xX]\] /.exec(c),y&&(D=y[0]!=="[ ] ",c=c.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:a,task:!!y,checked:D,loose:!1,text:c,tokens:[]}),o.raw+=a}o.items[o.items.length-1].raw=a.trimEnd(),o.items[o.items.length-1].text=c.trimEnd(),o.raw=o.raw.trimEnd();for(let u=0;up.type==="space"),f=d.length>0&&d.some(p=>/\n.*\n/.test(p.raw));o.loose=f}if(o.loose)for(let u=0;u$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:r,raw:e[0],href:i,title:o}}}table(n){let e=this.rules.block.table.exec(n);if(!e||!/[:|]/.test(e[2]))return;let r=_y(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),o=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split(` -`):[],s={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===i.length){for(let a of i)/^ *-+: *$/.test(a)?s.align.push("right"):/^ *:-+: *$/.test(a)?s.align.push("center"):/^ *:-+ *$/.test(a)?s.align.push("left"):s.align.push(null);for(let a of r)s.header.push({text:a,tokens:this.lexer.inline(a)});for(let a of o)s.rows.push(_y(a,s.header.length).map(c=>({text:c,tokens:this.lexer.inline(c)})));return s}}lheading(n){let e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){let e=this.rules.block.paragraph.exec(n);if(e){let r=e[1].charAt(e[1].length-1)===` -`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(n){let e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){let e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:Be(e[1])}}tag(n){let e=this.rules.inline.tag.exec(n);if(e)return!this.lexer.state.inLink&&/^/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(n){let e=this.rules.inline.link.exec(n);if(e){let r=e[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;let s=pa(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{let s=sM(e[2],"()");if(s>-1){let c=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,c).trim(),e[3]=""}}let i=e[2],o="";if(this.options.pedantic){let s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],o=s[3])}else o=e[3]?e[3].slice(1,-1):"";return i=i.trim(),/^$/.test(r)?i=i.slice(1):i=i.slice(1,-1)),Ey(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer)}}reflink(n,e){let r;if((r=this.rules.inline.reflink.exec(n))||(r=this.rules.inline.nolink.exec(n))){let i=(r[2]||r[1]).replace(/\s+/g," "),o=e[i.toLowerCase()];if(!o){let s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return Ey(r,o,r[0],this.lexer)}}emStrong(n,e,r=""){let i=this.rules.inline.emStrongLDelim.exec(n);if(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){let s=[...i[0]].length-1,a,c,l=s,u=0,d=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,e=e.slice(-1*n.length+s);(i=d.exec(e))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(c=[...a].length,i[3]||i[4]){l+=c;continue}else if((i[5]||i[6])&&s%3&&!((s+c)%3)){u+=c;continue}if(l-=c,l>0)continue;c=Math.min(c,c+l+u);let f=[...i[0]][0].length,p=n.slice(0,s+i.index+f+c);if(Math.min(s,c)%2){let y=p.slice(1,-1);return{type:"em",raw:p,text:y,tokens:this.lexer.inlineTokens(y)}}let b=p.slice(2,-2);return{type:"strong",raw:p,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(n){let e=this.rules.inline.code.exec(n);if(e){let r=e[2].replace(/\n/g," "),i=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return i&&o&&(r=r.substring(1,r.length-1)),r=Be(r,!0),{type:"codespan",raw:e[0],text:r}}}br(n){let e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){let e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){let e=this.rules.inline.autolink.exec(n);if(e){let r,i;return e[2]==="@"?(r=Be(e[1]),i="mailto:"+r):(r=Be(e[1]),i=r),{type:"link",raw:e[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let r,i;if(e[2]==="@")r=Be(e[0]),i="mailto:"+r;else{let o;do o=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(o!==e[0]);r=Be(e[0]),e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(n){let e=this.rules.inline.text.exec(n);if(e){let r;return this.lexer.state.inRawBlock?r=e[0]:r=Be(e[0]),{type:"text",raw:e[0],text:r}}}},cM=/^(?: *(?:\n|$))+/,lM=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,uM=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,io=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,dM=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Sy=/(?:[*+-]|\d{1,9}[.)])/,Ay=W(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Sy).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),tf=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,fM=/^[^\n]+/,nf=/(?!\s*\])(?:\\.|[^\[\]\\])+/,hM=W(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",nf).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),pM=W(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Sy).getRegex(),ba="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",rf=/|$))/,mM=W("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",rf).replace("tag",ba).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ky=W(tf).replace("hr",io).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ba).getRegex(),gM=W(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ky).getRegex(),of={blockquote:gM,code:lM,def:hM,fences:uM,heading:dM,hr:io,html:mM,lheading:Ay,list:pM,newline:cM,paragraph:ky,table:no,text:fM},Iy=W("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",io).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ba).getRegex(),bM=j(m({},of),{table:Iy,paragraph:W(tf).replace("hr",io).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Iy).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ba).getRegex()}),yM=j(m({},of),{html:W(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",rf).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:no,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:W(tf).replace("hr",io).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Ay).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Ny=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,vM=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ry=/^( {2,}|\\)\n(?!\s*$)/,xM=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,_M=W(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,oo).getRegex(),EM=W("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,oo).getRegex(),IM=W("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,oo).getRegex(),CM=W(/\\([punct])/,"gu").replace(/punct/g,oo).getRegex(),MM=W(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),TM=W(rf).replace("(?:-->|$)","-->").getRegex(),SM=W("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",TM).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ga=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,AM=W(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ga).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Oy=W(/^!?\[(label)\]\[(ref)\]/).replace("label",ga).replace("ref",nf).getRegex(),Fy=W(/^!?\[(ref)\](?:\[\])?/).replace("ref",nf).getRegex(),kM=W("reflink|nolink(?!\\()","g").replace("reflink",Oy).replace("nolink",Fy).getRegex(),sf={_backpedal:no,anyPunctuation:CM,autolink:MM,blockSkip:wM,br:Ry,code:vM,del:no,emStrongLDelim:_M,emStrongRDelimAst:EM,emStrongRDelimUnd:IM,escape:Ny,link:AM,nolink:Fy,punctuation:DM,reflink:Oy,reflinkSearch:kM,tag:SM,text:xM,url:no},NM=j(m({},sf),{link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",ga).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ga).getRegex()}),Xd=j(m({},sf),{escape:W(Ny).replace("])","~|])").getRegex(),url:W(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\c+" ".repeat(l.length));let r,i,o,s;for(;n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(r=a.call({lexer:this},n,e))?(n=n.substring(r.raw.length),e.push(r),!0):!1))){if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length),r.raw.length===1&&e.length>0?e[e.length-1].raw+=` -`:e.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length),i=e[e.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` -`+r.raw,i.text+=` -`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(r);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length),i=e[e.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` -`+r.raw,i.text+=` -`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),e.push(r);continue}if(o=n,this.options.extensions&&this.options.extensions.startBlock){let a=1/0,c=n.slice(1),l;this.options.extensions.startBlock.forEach(u=>{l=u.call({lexer:this},c),typeof l=="number"&&l>=0&&(a=Math.min(a,l))}),a<1/0&&a>=0&&(o=n.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){i=e[e.length-1],s&&i.type==="paragraph"?(i.raw+=` -`+r.raw,i.text+=` -`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(r),s=o.length!==n.length,n=n.substring(r.raw.length);continue}if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length),i=e[e.length-1],i&&i.type==="text"?(i.raw+=` -`+r.raw,i.text+=` -`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(r);continue}if(n){let a="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,e}inline(n,e=[]){return this.inlineQueue.push({src:n,tokens:e}),e}inlineTokens(n,e=[]){let r,i,o,s=n,a,c,l;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(c||(l=""),c=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(r=u.call({lexer:this},n,e))?(n=n.substring(r.raw.length),e.push(r),!0):!1))){if(r=this.tokenizer.escape(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(n)){n=n.substring(r.raw.length),i=e[e.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(r.raw.length),i=e[e.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(r=this.tokenizer.emStrong(n,s,l)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.codespan(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.br(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.del(n)){n=n.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.autolink(n)){n=n.substring(r.raw.length),e.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(n))){n=n.substring(r.raw.length),e.push(r);continue}if(o=n,this.options.extensions&&this.options.extensions.startInline){let u=1/0,d=n.slice(1),f;this.options.extensions.startInline.forEach(p=>{f=p.call({lexer:this},d),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(o=n.substring(0,u+1))}if(r=this.tokenizer.inlineText(o)){n=n.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(l=r.raw.slice(-1)),c=!0,i=e[e.length-1],i&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(n){let u="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return e}},ot=class{options;constructor(n){this.options=n||Yn}code(n,e,r){let i=(e||"").match(/^\S*/)?.[0];return n=n.replace(/\n$/,"")+` -`,i?'
'+(r?n:Be(n,!0))+`
-`:"
"+(r?n:Be(n,!0))+`
-`}blockquote(n){return`
-${n}
-`}html(n,e){return n}heading(n,e,r){return`${n} -`}hr(){return`
-`}list(n,e,r){let i=e?"ol":"ul",o=e&&r!==1?' start="'+r+'"':"";return"<"+i+o+`> -`+n+" -`}listitem(n,e,r){return`
  • ${n}
  • -`}checkbox(n){return"'}paragraph(n){return`

    ${n}

    -`}table(n,e){return e&&(e=`${e}`),` - -`+n+` -`+e+`
    -`}tablerow(n){return` -${n} -`}tablecell(n,e){let r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+n+` -`}strong(n){return`${n}`}em(n){return`${n}`}codespan(n){return`${n}`}br(){return"
    "}del(n){return`${n}`}link(n,e,r){let i=wy(n);if(i===null)return r;n=i;let o='
    ",o}image(n,e,r){let i=wy(n);if(i===null)return r;n=i;let o=`${r}0&&f.tokens[0].type==="paragraph"?(f.tokens[0].text=D+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&f.tokens[0].tokens[0].type==="text"&&(f.tokens[0].tokens[0].text=D+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:D+" "}):y+=D+" "}y+=this.parse(f.tokens,l),u+=this.renderer.listitem(y,b,!!p)}r+=this.renderer.list(u,a,c);continue}case"html":{let s=o;r+=this.renderer.html(s.text,s.block);continue}case"paragraph":{let s=o;r+=this.renderer.paragraph(this.parseInline(s.tokens));continue}case"text":{let s=o,a=s.tokens?this.parseInline(s.tokens):s.text;for(;i+1{let a=o[s].flat(1/0);r=r.concat(this.walkTokens(a,e))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,e)))}}return r}use(...n){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(r=>{let i=m({},r);if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let s=e.renderers[o.name];s?e.renderers[o.name]=function(...a){let c=o.renderer.apply(this,a);return c===!1&&(c=s.apply(this,a)),c}:e.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=e[o.level];s?s.unshift(o.tokenizer):e[o.level]=[o.tokenizer],o.start&&(o.level==="block"?e.startBlock?e.startBlock.push(o.start):e.startBlock=[o.start]:o.level==="inline"&&(e.startInline?e.startInline.push(o.start):e.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(e.childTokens[o.name]=o.childTokens)}),i.extensions=e),r.renderer){let o=this.defaults.renderer||new ot(this.defaults);for(let s in r.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(s==="options")continue;let a=s,c=r.renderer[a],l=o[a];o[a]=(...u)=>{let d=c.apply(o,u);return d===!1&&(d=l.apply(o,u)),d||""}}i.renderer=o}if(r.tokenizer){let o=this.defaults.tokenizer||new Zr(this.defaults);for(let s in r.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,c=r.tokenizer[a],l=o[a];o[a]=(...u)=>{let d=c.apply(o,u);return d===!1&&(d=l.apply(o,u)),d}}i.tokenizer=o}if(r.hooks){let o=this.defaults.hooks||new qr;for(let s in r.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(s==="options")continue;let a=s,c=r.hooks[a],l=o[a];qr.passThroughHooks.has(s)?o[a]=u=>{if(this.defaults.async)return Promise.resolve(c.call(o,u)).then(f=>l.call(o,f));let d=c.call(o,u);return l.call(o,d)}:o[a]=(...u)=>{let d=c.apply(o,u);return d===!1&&(d=l.apply(o,u)),d}}i.hooks=o}if(r.walkTokens){let o=this.defaults.walkTokens,s=r.walkTokens;i.walkTokens=function(a){let c=[];return c.push(s.call(this,a)),o&&(c=c.concat(o.call(this,a))),c}}this.defaults=m(m({},this.defaults),i)}),this}setOptions(n){return this.defaults=m(m({},this.defaults),n),this}lexer(n,e){return Gt.lex(n,e??this.defaults)}parser(n,e){return Wt.parse(n,e??this.defaults)}#e(n,e){return(r,i)=>{let o=m({},i),s=m(m({},this.defaults),o);this.defaults.async===!0&&o.async===!1&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);let a=this.#t(!!s.silent,!!s.async);if(typeof r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(r):r).then(c=>n(c,s)).then(c=>s.hooks?s.hooks.processAllTokens(c):c).then(c=>s.walkTokens?Promise.all(this.walkTokens(c,s.walkTokens)).then(()=>c):c).then(c=>e(c,s)).then(c=>s.hooks?s.hooks.postprocess(c):c).catch(a);try{s.hooks&&(r=s.hooks.preprocess(r));let c=n(r,s);s.hooks&&(c=s.hooks.processAllTokens(c)),s.walkTokens&&this.walkTokens(c,s.walkTokens);let l=e(c,s);return s.hooks&&(l=s.hooks.postprocess(l)),l}catch(c){return a(c)}}}#t(n,e){return r=>{if(r.message+=` -Please report this to https://github.com/markedjs/marked.`,n){let i="

    An error occurred:

    "+Be(r.message+"",!0)+"
    ";return e?Promise.resolve(i):i}if(e)return Promise.reject(r);throw r}}},Qn=new Jd;function U(t,n){return Qn.parse(t,n)}U.options=U.setOptions=function(t){return Qn.setOptions(t),U.defaults=Qn.defaults,Cy(U.defaults),U};U.getDefaults=ef;U.defaults=Yn;U.use=function(...t){return Qn.use(...t),U.defaults=Qn.defaults,Cy(U.defaults),U};U.walkTokens=function(t,n){return Qn.walkTokens(t,n)};U.parseInline=Qn.parseInline;U.Parser=Wt;U.parser=Wt.parse;U.Renderer=ot;U.TextRenderer=ro;U.Lexer=Gt;U.lexer=Gt.lex;U.Tokenizer=Zr;U.Hooks=qr;U.parse=U;var Zj=U.options,Qj=U.setOptions,Yj=U.use,Kj=U.walkTokens,Xj=U.parseInline;var Jj=Wt.parse,eB=Gt.lex;var OM="Copy",FM="Copied",ya=class t{constructor(){this._buttonClick$=new k;this.copied$=this._buttonClick$.pipe(he(()=>br(E(!0),bi(3e3).pipe(yi(!1)))),yr(),el(1));this.copiedText$=this.copied$.pipe(An(!1),I(n=>n?FM:OM))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=Ne({type:t,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(e,r){e&1&&($t(0,"button",0),wd(1,"async"),Ur("click",function(){return r.onCopyToClipboardClick()}),vd(2),wd(3,"async"),Ut()),e&2&&(Re("copied",_d(1,3,r.copied$)),id(2),xd(_d(3,5,r.copiedText$)))},dependencies:[Yb],encapsulation:2,changeDetection:0})}};var Ly=new v("MARKED_EXTENSIONS");var Py=new v("MARKED_OPTIONS");var LM="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information",PM="[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information",jM="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",BM="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",VM="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",$M="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information",UM=new v("SECURITY_CONTEXT");var jy=class t{constructor(n,e,r,i,o,s,a){this.clipboardOptions=n;this.extensions=e;this.platform=i;this.securityContext=o;this.http=s;this.sanitizer=a;this.DEFAULT_MARKED_OPTIONS={renderer:new ot};this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]};this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1};this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0};this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1};this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0};this._reload$=new k;this.reload$=this._reload$.asObservable();this.options=r}get options(){return this._options}set options(n){this._options=m(m({},this.DEFAULT_MARKED_OPTIONS),n)}get renderer(){return this.options.renderer}set renderer(n){this.options.renderer=n}parse(n,e=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:r,inline:i,emoji:o,mermaid:s,disableSanitizer:a}=e,c=m(m({},this.options),e.markedOptions),l=c.renderer||this.renderer||new ot;this.extensions&&(this.renderer=this.extendsRendererForExtensions(l)),s&&(this.renderer=this.extendsRendererForMermaid(l));let u=this.trimIndentation(n),d=r?this.decodeHtml(u):u,f=o?this.parseEmoji(d):d,p=this.parseMarked(f,c,i);return(a?p:this.sanitizer.sanitize(this.securityContext,p))||""}render(n,e=this.DEFAULT_RENDER_OPTIONS,r){let{clipboard:i,clipboardOptions:o,katex:s,katexOptions:a,mermaid:c,mermaidOptions:l}=e;s&&this.renderKatex(n,m(m({},this.DEFAULT_KATEX_OPTIONS),a)),c&&this.renderMermaid(n,m(m({},this.DEFAULT_MERMAID_OPTIONS),l)),i&&this.renderClipboard(n,r,m(m(m({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),o)),this.highlight(n)}reload(){this._reload$.next()}getSource(n){if(!this.http)throw new Error($M);return this.http.get(n,{responseType:"text"}).pipe(I(e=>this.handleExtension(n,e)))}highlight(n){if(!me(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;n||(n=document);let e=n.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,r=>r.classList.add("language-none")),Prism.highlightAllUnder(n)}decodeHtml(n){if(!me(this.platform))return n;let e=document.createElement("textarea");return e.innerHTML=n,e.value}extendsRendererForExtensions(n){let e=n;return e.\u0275NgxMarkdownRendererExtendedForExtensions===!0||(this.extensions?.length>0&&U.use(...this.extensions),e.\u0275NgxMarkdownRendererExtendedForExtensions=!0),n}extendsRendererForMermaid(n){let e=n;if(e.\u0275NgxMarkdownRendererExtendedForMermaid===!0)return n;let r=n.code;return n.code=function(i,o,s){return o==="mermaid"?`
    ${i}
    `:r.call(this,i,o,s)},e.\u0275NgxMarkdownRendererExtendedForMermaid=!0,n}handleExtension(n,e){let r=n.lastIndexOf("://"),i=r>-1?n.substring(r+4):n,o=i.lastIndexOf("/"),s=o>-1?i.substring(o+1).split("?")[0]:"",a=s.lastIndexOf("."),c=a>-1?s.substring(a+1):"";return c&&c!=="md"?"```"+c+` -`+e+"\n```":e}parseMarked(n,e,r=!1){if(e.renderer){let i=m({},e.renderer);delete i.\u0275NgxMarkdownRendererExtendedForExtensions,delete i.\u0275NgxMarkdownRendererExtendedForMermaid,delete e.renderer,U.use({renderer:i})}return r?U.parseInline(n,e):U.parse(n,e)}parseEmoji(n){if(!me(this.platform))return n;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(LM);return joypixels.shortnameToUnicode(n)}renderKatex(n,e){if(me(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(PM);renderMathInElement(n,e)}}renderClipboard(n,e,r){if(!me(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(BM);if(!e)throw new Error(VM);let{buttonComponent:i,buttonTemplate:o}=r,s=n.querySelectorAll("pre");for(let a=0;au.classList.add("hover"),l.onmouseleave=()=>u.classList.remove("hover");let d;if(i){let p=e.createComponent(i);d=p.hostView,p.changeDetectorRef.markForCheck()}else if(o)d=e.createEmbeddedView(o);else{let p=e.createComponent(ya);d=p.hostView,p.changeDetectorRef.markForCheck()}let f;d.rootNodes.forEach(p=>{u.appendChild(p),f=new ClipboardJS(p,{text:()=>c.innerText})}),d.onDestroy(()=>f.destroy())}}renderMermaid(n,e=this.DEFAULT_MERMAID_OPTIONS){if(!me(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(jM);let r=n.querySelectorAll(".mermaid");r.length!==0&&(mermaid.initialize(e),mermaid.run({nodes:r}))}trimIndentation(n){if(!n)return"";let e;return n.split(` -`).map(r=>{let i=e;return r.length>0&&(i=isNaN(i)?r.search(/\S|$/):Math.min(r.search(/\S|$/),i)),isNaN(e)&&(e=i),i?r.substring(i):r}).join(` -`)}static{this.\u0275fac=function(e){return new(e||t)(x(xy,8),x(Ly,8),x(Py,8),x(pe),x(UM),x(Ud,8),x(Kd))}}static{this.\u0275prov=g({token:t,factory:t.\u0275fac})}};var HM=new v("cdk-dir-doc",{providedIn:"root",factory:zM});function zM(){return h(G)}var GM=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function WM(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?GM.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var By=(()=>{class t{value="ltr";change=new ne;constructor(){let e=h(HM,{optional:!0});if(e){let r=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.value=WM(r||i||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var so=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ie({type:t});static \u0275inj=re({})}return t})();function cf(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}var af="inline",ao=["row","column","row-reverse","column-reverse"];function va(t){let[n,e,r]=Vy(t);return QM(n,e,r)}function Vy(t){t=t?.toLowerCase()??"";let[n,e,r]=t.split(" ");return ao.find(i=>i===n)||(n=ao[0]),e===af&&(e=r!==af?r:"",r=af),[n,ZM(e),!!r]}function co(t){let[n]=Vy(t);return n.indexOf("row")>-1}function ZM(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function QM(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function st(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function YM(t,n){return()=>{if(me(n)){let e=Array.from(t.querySelectorAll(`[class*=${$y}]`)),r=/\bflex-layout-.+?\b/g;e.forEach(i=>{i.classList.contains(`${$y}ssr`)&&i.parentNode?i.parentNode.removeChild(i):i.className.replace(r,"")})}}}var KM={provide:Vr,useFactory:YM,deps:[G,pe],multi:!0},$y="flex-layout-";var Xy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ie({type:t}),t.\u0275inj=re({providers:[KM]}),t})(),Kn=class t{constructor(n=!1,e="all",r="",i="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=r,this.suffix=i,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};var XM=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,r,i){let o=this.stylesheet.get(e);o?o.set(r,i):this.stylesheet.set(e,new Map([[r,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,r){let i=this.stylesheet.get(e),o="";if(i){let s=i.get(r);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var JM={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},xn=new v("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>JM});var eT=new v("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});var tT=new v("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Jy(t,n){return t=t?.clone()??new Kn,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}var Zt=class{constructor(){this.shouldCache=!0}sideEffect(n,e,r){}};var Dn=(()=>{class t{constructor(e,r,i,o){this._serverStylesheet=e,this._serverModuleLoaded=r,this._platformId=i,this.layoutConfig=o}applyStyleToElement(e,r,i=null){let o={};typeof r=="string"&&(o[r]=i,r=o),o=this.layoutConfig.disableVendorPrefixes?r:cf(r),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,r=[]){let i=this.layoutConfig.disableVendorPrefixes?e:cf(e);r.forEach(o=>{this._applyMultiValueStyleToElement(i,o)})}getFlowDirection(e){let r="flex-direction",i=this.lookupStyle(e,r),o=this.lookupInlineStyle(e,r)||Wr(this._platformId)&&this._serverModuleLoaded?i:"";return[i||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,r){return e.getAttribute(r)??""}lookupInlineStyle(e,r){return me(this._platformId)?e.style.getPropertyValue(r):nT(e,r)}lookupStyle(e,r,i=!1){let o="";return e&&((o=this.lookupInlineStyle(e,r))||(me(this._platformId)?i||(o=getComputedStyle(e).getPropertyValue(r)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,r)))),o?o.trim():""}_applyMultiValueStyleToElement(e,r){Object.keys(e).sort().forEach(i=>{let o=e[i],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",me(this._platformId)||!this._serverModuleLoaded?me(this._platformId)?r.style.setProperty(i,a):rT(r,i,a):this._serverStylesheet.addStyleToElement(r,i,a)})}}return t.\u0275fac=function(e){return new(e||t)(x(XM),x(eT),x(pe),x(xn))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function nT(t,n){return ev(t)[n]??""}function rT(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let r=ev(t);r[n]=e??"",iT(t,r)}function iT(t,n){let e="";for(let r in n)n[r]&&(e+=`${r}:${n[r]};`);t.setAttribute("style",e)}function ev(t){let n={},e=t.getAttribute("style");if(e){let r=e.split(/;+/g);for(let i=0;i0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();n[a]=o.substr(s+1).trim()}}}return n}function lo(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function oT(t,n){let e=t.priority||0,r=n.priority||0;return e-r}var sT=(()=>{class t{constructor(e,r,i){this._zone=e,this._platformId=r,this._document=i,this.source=new J(new Kn(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((r,i)=>{r.matches&&e.push(i)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(i=>i.matches)}observe(e,r=!1){if(e&&e.length){let i=this._observable$.pipe(ee(s=>r?e.indexOf(s.mediaQuery)>-1:!0)),o=new T(s=>{let a=this.registerQuery(e);if(a.length){let c=a.pop();a.forEach(l=>{s.next(l)}),this.source.next(c)}s.complete()});return br(o,i)}return this._observable$}registerQuery(e){let r=Array.isArray(e)?e:[e],i=[];return aT(r,this._document),r.forEach(o=>{let s=c=>{this._zone.run(()=>this.source.next(new Kn(c.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&i.push(new Kn(!0,o))}),i}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return lT(e,me(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(x(P),x(pe),x(G))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Uy={};function aT(t,n){let e=t.filter(r=>!Uy[r]);if(e.length>0){let r=e.join(", ");try{let i=n.createElement("style");if(i.setAttribute("type","text/css"),!i.styleSheet){let o=` -/* - @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners - see http://bit.ly/2sd4HMP -*/ -@media ${r} {.fx-query-test{ }} -`;i.appendChild(n.createTextNode(o))}n.head.appendChild(i),e.forEach(o=>Uy[o]=i)}catch(i){console.error(i)}}}function cT(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function lT(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):cT(t)}var uT=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}];var Hy="(orientation: portrait) and (max-width: 599.98px)",zy="(orientation: landscape) and (max-width: 959.98px)",Gy="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Wy="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",qy="(orientation: portrait) and (min-width: 840px)",Zy="(orientation: landscape) and (min-width: 1280px)",qt={HANDSET:`${Hy}, ${zy}`,TABLET:`${Gy} , ${Wy}`,WEB:`${qy}, ${Zy} `,HANDSET_PORTRAIT:`${Hy}`,TABLET_PORTRAIT:`${Gy} `,WEB_PORTRAIT:`${qy}`,HANDSET_LANDSCAPE:`${zy}`,TABLET_LANDSCAPE:`${Wy}`,WEB_LANDSCAPE:`${Zy}`},dT=[{alias:"handset",priority:2e3,mediaQuery:qt.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:qt.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:qt.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:qt.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:qt.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:qt.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:qt.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:qt.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:qt.WEB_PORTRAIT,overlapping:!0}],fT=/(\.|-|_)/g;function hT(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function pT(t){return t.replace(fT,"|").split("|").map(hT).join("")}function mT(t){return t.forEach(n=>{n.suffix||(n.suffix=pT(n.alias),n.overlapping=!!n.overlapping)}),t}function gT(t,n=[]){let e={};return t.forEach(r=>{e[r.alias]=r}),n.forEach(r=>{e[r.alias]?st(e[r.alias],r):e[r.alias]=r}),mT(Object.keys(e).map(r=>e[r]))}var bT=new v("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=h(tT),n=h(xn),e=[].concat.apply([],(t||[]).map(i=>Array.isArray(i)?i:[i])),r=(n.disableDefaultBps?[]:uT).concat(n.addOrientationBps?dT:[]);return gT(r,e)}});var tv=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(oT)}findByAlias(e){return e?this.findWithPredicate(e,r=>r.alias===e):null}findByQuery(e){return this.findWithPredicate(e,r=>r.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,r){let i=this.findByMap.get(e);return i||(i=this.items.find(r)??null,this.findByMap.set(e,i)),i??null}}return t.\u0275fac=function(e){return new(e||t)(x(bT))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Qr="print",yT={alias:Qr,mediaQuery:Qr,priority:1e3},vT=(()=>{class t{constructor(e,r,i){this.breakpoints=e,this.layoutConfig=r,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new lf,this.deactivations=[]}withPrintQuery(e){return[...e,Qr]}isPrintEvent(e){return e.mediaQuery.startsWith(Qr)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let r=this.breakpoints.findByQuery(e);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(lo)}updateEvent(e){let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=r?.mediaQuery??""),Jy(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Kn(!0,Qr))),e.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(i)}interceptEvents(e){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(r)),e.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,r)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,r){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let i=this.breakpoints.findByQuery(r.mediaQuery);if(i){let o=this.formerActivations&&this.formerActivations.includes(i),s=!this.formerActivations&&e.activatedBreakpoints.includes(i);(o||s)&&(this.deactivations.push(i),this.deactivations.sort(lo))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return t.\u0275fac=function(e){return new(e||t)(x(tv),x(xn),x(G))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lf=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(yT),n.sort(lo),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(r=>r.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=xT(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};function xT(t){return t?.mediaQuery.startsWith(Qr)??!1}var Xn=(()=>{class t{constructor(e,r,i){this.matchMedia=e,this.breakpoints=r,this.hook=i,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new k,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){let r=this.findByQuery(e.mediaQuery);if(r){e=Jy(e,r);let i=this.activatedBreakpoints.indexOf(r);e.matches&&i===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(lo),this.updateStyles()):!e.matches&&i!==-1&&(this._activatedBreakpoints.splice(i,1),this._activatedBreakpoints.sort(lo),this.updateStyles())}}init(e,r,i,o,s=[]){Qy(this.updateMap,e,r,i),Qy(this.clearMap,e,r,o),this.buildElementKeyMap(e,r),this.watchExtraTriggers(e,r,s)}getValue(e,r,i){let o=this.elementMap.get(e);if(o){let s=i!==void 0?o.get(i):this.getActivatedValues(o,r);if(s)return s.get(r)}}hasValue(e,r){let i=this.elementMap.get(e);if(i){let o=this.getActivatedValues(i,r);if(o)return o.get(r)!==void 0||!1}return!1}setValue(e,r,i,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(r,i)),this.elementMap.set(e,s);else{let c=(s.get(o)??new Map).set(r,i);s.set(o,c),this.elementMap.set(e,s)}let a=this.getValue(e,r);a!==void 0&&this.updateElement(e,r,a)}trackValue(e,r){return this.subject.asObservable().pipe(ee(i=>i.element===e&&i.key===r))}updateStyles(){this.elementMap.forEach((e,r)=>{let i=new Set(this.elementKeyMap.get(r)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(r,a,s),i.delete(a)}),i.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(r,s,a)}else this.clearElement(r,s)})})}clearElement(e,r){let i=this.clearMap.get(e);if(i){let o=i.get(r);o&&(o(),this.subject.next({element:e,key:r,value:""}))}}updateElement(e,r,i){let o=this.updateMap.get(e);if(o){let s=o.get(r);s&&(s(i),this.subject.next({element:e,key:r,value:i}))}}releaseElement(e){let r=this.watcherMap.get(e);r&&(r.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let i=this.elementMap.get(e);i&&(i.forEach((o,s)=>i.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,r){let i=this.elementMap.get(e);if(i){let o=this.getActivatedValues(i,r);o&&(r?this.updateElement(e,r,o.get(r)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,r){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(r)}watchExtraTriggers(e,r,i){if(i&&i.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(r)){let a=br(...i).subscribe(()=>{let c=this.getValue(e,r);this.updateElement(e,r,c)});o.set(r,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,r){for(let o=0;or.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(X(this.hook.interceptEvents(this)),ee(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(x(sT),x(tv),x(vT))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Qy(t,n,e,r){if(r!==void 0){let i=t.get(n)??new Map;i.set(e,r),t.set(n,i)}}var Yr=(()=>{class t{constructor(e,r,i,o){this.elementRef=e,this.styleBuilder=r,this.styler=i,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new k,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let i=r.split(".").slice(1).join("."),o=e[r].currentValue;this.setValue(o,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,r){let i=this.styleBuilder,o=i.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=i.buildStyles(e,r),o&&this.styleCache.set(e,s)),this.mru=m({},s),this.applyStyleToElement(s),i.sideEffect(e,s,r)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,r=!1){if(e){let[i,o]=this.styler.getFlowDirection(e);if(!o&&r){let s=va(i),a=[e];this.styler.applyStyleToElements(s,a)}return i.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,r,i=this.nativeElement){this.styler.applyStyleToElement(i,e,r)}setValue(e,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,r)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(Zt),C(Dn),C(Xn))},t.\u0275dir=H({type:t,standalone:!1,features:[Lt]}),t})();function uf(t,n="1",e="1"){let r=[n,e,t],i=t.indexOf("calc");if(i>0){r[2]=Yy(t.substring(i).trim());let o=t.substr(0,i).trim().split(" ");o.length==2&&(r[0]=o[0],r[1]=o[1])}else if(i==0)r[2]=Yy(t.trim());else{let o=t.split(" ");r=o.length===3?o:[n,e,t]}return r}function Yy(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var Ky="x";function xa(t,n){if(n===void 0)return t;let e=r=>{let i=+r.slice(0,-Ky.length);return t.endsWith(Ky)&&!isNaN(i)?`${i*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var wT=(()=>{class t extends Zt{buildStyles(e,{display:r}){let i=va(e);return j(m({},i),{display:r==="none"?r:i.display})}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_T=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];var ET=(()=>{class t extends Yr{constructor(e,r,i,o,s){super(e,i,r,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let i=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=nv.get(i)??new Map,nv.set(i,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:i}),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(Dn),C(wT),C(Xn),C(xn))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),aV=(()=>{class t extends ET{constructor(){super(...arguments),this.inputs=_T}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},standalone:!1,features:[ae]}),t})(),nv=new Map;var rv={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},IT=(()=>{class t extends Zt{constructor(e,r){super(),this._styler=e,this._config=r}buildStyles(e,r){return e.endsWith(Da)?(e=e.slice(0,e.indexOf(Da)),e=xa(e,this._config.multiplier),RT(e,r.directionality)):{}}sideEffect(e,r,i){let o=i.items;if(e.endsWith(Da)){e=e.slice(0,e.indexOf(Da)),e=xa(e,this._config.multiplier);let s=NT(e,i.directionality);this._styler.applyStyleToElements(s,i.items)}else{e=xa(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=OT(e,i);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(rv,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return t.\u0275fac=function(e){return new(e||t)(x(Dn),x(xn))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),CT=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];var MT=(()=>{class t extends Yr{constructor(e,r,i,o,s,a){super(e,s,o,a),this.zone=r,this.directionality=i,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new k;let c=[this.directionality.change,this.observerSubject.asObservable()];this.init(c),this.marshal.trackValue(this.nativeElement,"layout").pipe(Fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){let e=this.nativeElement.children,r=[];for(let i=e.length;i--;)r[i]=e[i];return r}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],ao.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){let r=this.childrenNodes.filter(i=>i.nodeType===1&&this.willDisplay(i)).sort((i,o)=>{let s=+this.styler.lookupStyle(i,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(r.length>0){let i=this.directionality.value,o=this.layout;o==="row"&&i==="rtl"?this.styleCache=TT:o==="row"&&i!=="rtl"?this.styleCache=AT:o==="column"&&i==="rtl"?this.styleCache=ST:o==="column"&&i!=="rtl"&&(this.styleCache=kT),this.addStyles(e,{directionality:i,items:r,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,r=e?"padding":iv(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(e){let r=this.marshal.getValue(e,"show-hide");return r===!0||r===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let r=i=>i.addedNodes&&i.addedNodes.length>0||i.removedNodes&&i.removedNodes.length>0;e.some(r)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(P),C(By),C(Dn),C(IT),C(Xn))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),cV=(()=>{class t extends MT{constructor(){super(...arguments),this.inputs=CT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},standalone:!1,features:[ae]}),t})(),TT=new Map,ST=new Map,AT=new Map,kT=new Map,Da=" grid";function NT(t,n){let[e,r]=t.split(" "),i=r??e,o="0px",s=i,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function RT(t,n){let[e,r]=t.split(" "),i=r??e,o=l=>`-${l}`,s="0px",a=o(i),c="0px";return n==="rtl"?c=o(e):s=o(e),{margin:`0px ${s} ${a} ${c}`}}function iv(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function OT(t,n){let e=iv(n.directionality,n.layout),r=m({},rv);return r[e]=t,r}var FT=(()=>{class t extends Zt{constructor(e){super(),this.layoutConfig=e}buildStyles(e,r){let[i,o,...s]=e.split(" "),a=s.join(" "),c=r.direction.indexOf("column")>-1?"column":"row",l=co(c)?"max-width":"max-height",u=co(c)?"min-width":"min-height",d=String(a).indexOf("calc")>-1,f=d||a==="auto",p=String(a).indexOf("%")>-1&&!d,b=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,y=d||b;i=i=="0"?0:i,o=o=="0"?0:o;let D=!i&&!o,_={},V={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let F=this.layoutConfig.useColumnBasisZero!==!1;a=c==="row"?"0%":F?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":i=0,o=0,a="auto";break;default:!y&&!p&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(y=!0),a==="0px"&&(a="0%"),d?_=st(V,{"flex-grow":i,"flex-shrink":o,"flex-basis":y?a:"100%"}):_=st(V,{flex:`${i} ${o} ${y?a:"100%"}`});break}return _.flex||_["flex-grow"]||(d?_=st(V,{"flex-grow":i,"flex-shrink":o,"flex-basis":a}):_=st(V,{flex:`${i} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(_[u]=D||y&&i?a:null,_[l]=D||!f&&o?a:null),!_[u]&&!_[l]?d?_=st(V,{"flex-grow":i,"flex-shrink":o,"flex-basis":a}):_=st(V,{flex:`${i} ${o} ${a}`}):r.hasWrap&&(_[d?"flex-basis":"flex"]=_[l]?d?_[l]:`${i} ${o} ${_[l]}`:d?_[u]:`${i} ${o} ${_[u]}`),st(_,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(x(xn))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),LT=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];var PT=(()=>{class t extends Yr{constructor(e,r,i,o,s){super(e,o,r,s),this.layoutConfig=i,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Fe(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let i=e.value.split(" ");this.direction=i[0],this.wrap=i[1]!==void 0&&i[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let r=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,r)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let i=this.direction,o=i.startsWith("row"),s=this.wrap;o&&s?this.styleCache=VT:o&&!s?this.styleCache=jT:!o&&s?this.styleCache=$T:!o&&!s&&(this.styleCache=BT);let a=String(e).replace(";",""),c=uf(a,this.flexGrow,this.flexShrink);this.addStyles(c.join(" "),{direction:i,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let r=uf(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(Dn),C(xn),C(FT),C(Xn))},t.\u0275dir=H({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},standalone:!1,features:[ae]}),t})(),lV=(()=>{class t extends PT{constructor(){super(...arguments),this.inputs=LT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},standalone:!1,features:[ae]}),t})(),jT=new Map,BT=new Map,VT=new Map,$T=new Map;var UT=(()=>{class t extends Zt{buildStyles(e){e=e||"stretch";let r={};switch(e){case"start":r["align-self"]="flex-start";break;case"end":r["align-self"]="flex-end";break;default:r["align-self"]=e;break}return r}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),HT=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];var zT=(()=>{class t extends Yr{constructor(e,r,i,o){super(e,i,r,o),this.DIRECTIVE_KEY="flex-align",this.styleCache=GT,this.init()}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(Dn),C(UT),C(Xn))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),GT=new Map,uV=(()=>{class t extends zT{constructor(){super(...arguments),this.inputs=HT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},standalone:!1,features:[ae]}),t})();var WT=(()=>{class t extends Zt{buildStyles(e,r){let i={},[o,s]=e.split(" ");switch(o){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;case"start":case"flex-start":default:i["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;case"stretch":default:i["align-items"]=i["align-content"]="stretch";break}return st(i,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":s==="stretch"?co(r.layout)?null:"100%":null,"max-height":s==="stretch"&&co(r.layout)?"100%":null})}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qT=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];var ZT=(()=>{class t extends Yr{constructor(e,r,i,o){super(e,i,r,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let r=this.layout||"row",i=this.inline;r==="row"&&i?this.styleCache=JT:r==="row"&&!i?this.styleCache=QT:r==="row-reverse"&&i?this.styleCache=tS:r==="row-reverse"&&!i?this.styleCache=KT:r==="column"&&i?this.styleCache=eS:r==="column"&&!i?this.styleCache=YT:r==="column-reverse"&&i?this.styleCache=nS:r==="column-reverse"&&!i&&(this.styleCache=XT),this.addStyles(e,{layout:r,inline:i})}onLayoutChange(e){let r=e.value.split(" ");this.layout=r[0],this.inline=e.value.includes("inline"),ao.find(i=>i===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(Dn),C(WT),C(Xn))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),dV=(()=>{class t extends ZT{constructor(){super(...arguments),this.inputs=qT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},standalone:!1,features:[ae]}),t})(),QT=new Map,YT=new Map,KT=new Map,XT=new Map,JT=new Map,eS=new Map,tS=new Map,nS=new Map;var fV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ie({type:t}),t.\u0275inj=re({imports:[Xy,so]}),t})();var wn=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(wn||{}),mV="*";function gV(t,n){return{type:wn.Trigger,name:t,definitions:n,options:{}}}function bV(t,n=null){return{type:wn.Animate,styles:n,timings:t}}function yV(t,n=null){return{type:wn.Sequence,steps:t,options:n}}function vV(t){return{type:wn.Style,styles:t,offset:null}}function xV(t,n,e){return{type:wn.State,name:t,styles:n,options:e}}function DV(t,n,e=null){return{type:wn.Transition,expr:t,animation:n,options:e}}function wV(t,n,e=null){return{type:wn.Query,selector:t,animation:n,options:e}}var ov=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},sv=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){let n=this.players.reduce((e,r)=>e===null||r.totalTime>e.totalTime?r:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},_V="!";var O="primary",Io=Symbol("RouteTitle"),mf=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ni(t){return new mf(t)}function rS(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.lengthr[o]===i)}else return t===n}function gv(t){return t.length>0?t[t.length-1]:null}function En(t){return Go(t)?t:Br(t)?Y(Promise.resolve(t)):E(t)}var oS={exact:yv,subset:vv},bv={exact:sS,subset:aS,ignored:()=>!0};function av(t,n,e){return oS[e.paths](t.root,n.root,e.matrixParams)&&bv[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function sS(t,n){return _t(t,n)}function yv(t,n,e){if(!er(t.segments,n.segments)||!Ea(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!yv(t.children[r],n.children[r],e))return!1;return!0}function aS(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>mv(t[e],n[e]))}function vv(t,n,e){return xv(t,n,n.segments,e)}function xv(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!er(i,e)||n.hasChildren()||!Ea(i,e,r))}else if(t.segments.length===e.length){if(!er(t.segments,e)||!Ea(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!vv(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!er(t.segments,i)||!Ea(t.segments,i,r)||!t.children[O]?!1:xv(t.children[O],n,o,r)}}function Ea(t,n,e){return n.every((r,i)=>bv[e](t[i].parameters,r.parameters))}var Yt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new z([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ni(this.queryParams),this._queryParamMap}toString(){return uS.serialize(this)}},z=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ia(this)}},Jn=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=ni(this.parameters),this._parameterMap}toString(){return wv(this)}};function cS(t,n){return er(t,n)&&t.every((e,r)=>_t(e.parameters,n[r].parameters))}function er(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function lS(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===O&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==O&&(e=e.concat(n(i,r)))}),e}var ja=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>new bo,providedIn:"root"})}return t})(),bo=class{parse(n){let e=new yf(n);return new Yt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${uo(n.root,!0)}`,r=hS(n.queryParams),i=typeof n.fragment=="string"?`#${dS(n.fragment)}`:"";return`${e}${r}${i}`}},uS=new bo;function Ia(t){return t.segments.map(n=>wv(n)).join("/")}function uo(t,n){if(!t.hasChildren())return Ia(t);if(n){let e=t.children[O]?uo(t.children[O],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==O&&r.push(`${i}:${uo(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=lS(t,(r,i)=>i===O?[uo(t.children[O],!1)]:[`${i}:${uo(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[O]!=null?`${Ia(t)}/${e[0]}`:`${Ia(t)}/(${e.join("//")})`}}function Dv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wa(t){return Dv(t).replace(/%3B/gi,";")}function dS(t){return encodeURI(t)}function bf(t){return Dv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(t){return decodeURIComponent(t)}function cv(t){return Ca(t.replace(/\+/g,"%20"))}function wv(t){return`${bf(t.path)}${fS(t.parameters)}`}function fS(t){return Object.entries(t).map(([n,e])=>`;${bf(n)}=${bf(e)}`).join("")}function hS(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${wa(e)}=${wa(i)}`).join("&"):`${wa(e)}=${wa(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var pS=/^[^\/()?;#]+/;function df(t){let n=t.match(pS);return n?n[0]:""}var mS=/^[^\/()?;=#]+/;function gS(t){let n=t.match(mS);return n?n[0]:""}var bS=/^[^=?&#]+/;function yS(t){let n=t.match(bS);return n?n[0]:""}var vS=/^[^&#]+/;function xS(t){let n=t.match(vS);return n?n[0]:""}var yf=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new z([],{}):new z([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[O]=new z(n,e)),r}parseSegment(){let n=df(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(n),new Jn(Ca(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=gS(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=df(this.remaining);i&&(r=i,this.capture(r))}n[Ca(e)]=Ca(r)}parseQueryParam(n){let e=yS(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=xS(this.remaining);s&&(r=s,this.capture(r))}let i=cv(e),o=cv(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=df(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=O);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[O]:new z([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new w(4011,!1)}};function _v(t){return t.segments.length>0?new z([],{[O]:t}):t}function Ev(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=Ev(i);if(r===O&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new z(t.segments,n);return DS(e)}function DS(t){if(t.numberOfChildren===1&&t.children[O]){let n=t.children[O];return new z(t.segments.concat(n.segments),n.children)}return t}function tr(t){return t instanceof Yt}function wS(t,n,e=null,r=null){let i=Iv(t);return Cv(i,n,e,r)}function Iv(t){let n;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new z(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=_v(r);return n??i}function Cv(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return ff(i,i,i,e,r);let o=_S(n);if(o.toRoot())return ff(i,i,new z([],{}),e,r);let s=ES(o,i,t),a=s.processChildren?po(s.segmentGroup,s.index,o.commands):Tv(s.segmentGroup,s.index,o.commands);return ff(i,s.segmentGroup,a,e,r)}function Ma(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function yo(t){return typeof t=="object"&&t!=null&&t.outlets}function ff(t,n,e,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===n?s=e:s=Mv(t,n,e);let a=_v(Ev(s));return new Yt(a,o,i)}function Mv(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Mv(o,n,e)}),new z(t.segments,r)}var Ta=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Ma(r[0]))throw new w(4003,!1);let i=r.find(yo);if(i&&i!==gv(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _S(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ta(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ta(e,n,r)}var Jr=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function ES(t,n,e){if(t.isAbsolute)return new Jr(n,!0,0);if(!e)return new Jr(n,!1,NaN);if(e.parent===null)return new Jr(e,!0,0);let r=Ma(t.commands[0])?0:1,i=e.segments.length-1+r;return IS(e,i,t.numberOfDoubleDots)}function IS(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new w(4005,!1);i=r.segments.length}return new Jr(r,!1,i-o)}function CS(t){return yo(t[0])?t[0].outlets:{[O]:t}}function Tv(t,n,e){if(t??=new z([],{}),t.segments.length===0&&t.hasChildren())return po(t,n,e);let r=MS(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndexo!==O)&&t.children[O]&&t.numberOfChildren===1&&t.children[O].segments.length===0){let o=po(t.children[O],n,e);return new z(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Tv(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new z(t.segments,i)}}function MS(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return o;let s=t.segments[i],a=e[r];if(yo(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!uv(c,l,s))return o;r+=2}else{if(!uv(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function vf(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=vf(new z([],{}),0,r))}),n}function lv(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function uv(t,n,e){return t==e.path&&_t(n,e.parameters)}var mo="imperative",fe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(fe||{}),Ze=class{id;url;constructor(n,e){this.id=n,this.url=e}},ri=class extends Ze{type=fe.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Et=class extends Ze{urlAfterRedirects;type=fe.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},$e=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}($e||{}),Sa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Sa||{}),Qt=class extends Ze{reason;code;type=fe.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},_n=class extends Ze{reason;code;type=fe.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},vo=class extends Ze{error;target;type=fe.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Aa=class extends Ze{urlAfterRedirects;state;type=fe.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xf=class extends Ze{urlAfterRedirects;state;type=fe.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Df=class extends Ze{urlAfterRedirects;state;shouldActivate;type=fe.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},wf=class extends Ze{urlAfterRedirects;state;type=fe.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_f=class extends Ze{urlAfterRedirects;state;type=fe.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ef=class{route;type=fe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},If=class{route;type=fe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cf=class{snapshot;type=fe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mf=class{snapshot;type=fe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tf=class{snapshot;type=fe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sf=class{snapshot;type=fe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ka=class{routerEvent;position;anchor;type=fe.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},xo=class{},ii=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function SS(t,n){return t.providers&&!t._injector&&(t._injector=dd(t.providers,n,`Route: ${t.path}`)),t._injector??n}function at(t){return t.outlet||O}function AS(t,n){let e=t.filter(r=>at(r)===n);return e.push(...t.filter(r=>at(r)!==n)),e}function Co(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Af=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Co(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ba(this.rootInjector)}},Ba=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Af(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(x(be))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Na=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=kf(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=kf(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Nf(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Nf(n,this._root).map(e=>e.value)}};function kf(t,n){if(t===n.value)return n;for(let e of n.children){let r=kf(t,e);if(r)return r}return null}function Nf(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Nf(t,e);if(r.length)return r.unshift(n),r}return[]}var Ve=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Xr(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ra=class extends Na{snapshot;constructor(n,e){super(n),this.snapshot=e,$f(this,n)}toString(){return this.snapshot.toString()}};function Sv(t){let n=kS(t),e=new J([new Jn("",{})]),r=new J({}),i=new J({}),o=new J({}),s=new J(""),a=new nr(e,r,o,s,i,O,t,n.root);return a.snapshot=n.root,new Ra(new Ve(a,[]),n)}function kS(t){let n={},e={},r={},i="",o=new ei([],n,r,i,e,O,t,null,{});return new Fa("",new Ve(o,[]))}var nr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(I(l=>l[Io]))??E(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(I(n=>ni(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(I(n=>ni(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Oa(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:m(m({},n.params),t.params),data:m(m({},n.data),t.data),resolve:m(m(m(m({},t.data),n.data),i?.data),t._resolvedData)}:r={params:m({},t.params),data:m({},t.data),resolve:m(m({},t.data),t._resolvedData??{})},i&&kv(i)&&(r.resolve[Io]=i.title),r}var ei=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Io]}constructor(n,e,r,i,o,s,a,c,l){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ni(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ni(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Fa=class extends Na{url;constructor(n,e){super(e),this.url=n,$f(this,e)}toString(){return Av(this._root)}};function $f(t,n){n.value._routerState=t,n.children.forEach(e=>$f(t,e))}function Av(t){let n=t.children.length>0?` { ${t.children.map(Av).join(", ")} } `:"";return`${t.value}${n}`}function hf(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,_t(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),_t(n.params,e.params)||t.paramsSubject.next(e.params),iS(n.url,e.url)||t.urlSubject.next(e.url),_t(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Rf(t,n){let e=_t(t.params,n.params)&&cS(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Rf(t.parent,n.parent))}function kv(t){return typeof t.title=="string"||t.title===null}var NS=new v(""),RS=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=O;activateEvents=new ne;deactivateEvents=new ne;attachEvents=new ne;detachEvents=new ne;routerOutletData=zm(void 0);parentContexts=h(Ba);location=h(Vt);changeDetector=h(Ht);inputBinder=h(Uf,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Of(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Lt]})}return t})(),Of=class t{route;childContexts;parent;outletData;__ngOutletInjector(n){return new t(this.route,this.childContexts,n,this.outletData)}constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===nr?this.route:n===Ba?this.childContexts:n===NS?this.outletData:this.parent.get(n,e)}},Uf=new v("");function OS(t,n,e){let r=Do(t,n._root,e?e._root:void 0);return new Ra(r,n)}function Do(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=FS(t,n,e);return new Ve(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Do(t,a)),s}}let r=LS(n.value),i=n.children.map(o=>Do(t,o));return new Ve(r,i)}}function FS(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Do(t,r,i);return Do(t,r)})}function LS(t){return new nr(new J(t.url),new J(t.params),new J(t.queryParams),new J(t.fragment),new J(t.data),t.outlet,t.component,t)}var wo=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},Nv="ngNavigationCancelingError";function La(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=tr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Rv(!1,$e.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Rv(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Nv]=!0,e.cancellationCode=n,e}function PS(t){return Ov(t)&&tr(t.url)}function Ov(t){return!!t&&t[Nv]}var jS=(t,n,e,r)=>I(i=>(new Ff(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),Ff=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),hf(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=Xr(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=Xr(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=Xr(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=Xr(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Sf(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Mf(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(hf(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),hf(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Pa=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ti=class{component;route;constructor(n,e){this.component=n,this.route=e}};function BS(t,n,e){let r=t._root,i=n?n._root:null;return fo(r,i,e,[r.value])}function VS(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function si(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Pp(t)?t:n.get(t):r}function fo(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Xr(n);return t.children.forEach(s=>{$S(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>go(a,e.getContext(s),i)),i}function $S(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=US(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Pa(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?fo(t,n,a?a.children:null,r,i):fo(t,n,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ti(a.outlet.component,s))}else s&&go(n,a,i),i.canActivateChecks.push(new Pa(r)),o.component?fo(t,null,a?a.children:null,r,i):fo(t,null,e,r,i);return i}function US(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!er(t.url,n.url);case"pathParamsOrQueryParamsChange":return!er(t.url,n.url)||!_t(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rf(t,n)||!_t(t.queryParams,n.queryParams);case"paramsChange":default:return!Rf(t,n)}}function go(t,n,e){let r=Xr(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?go(s,n.children.getContext(o),e):go(s,null,e):go(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new ti(n.outlet.component,i)):e.canDeactivateChecks.push(new ti(null,i)):e.canDeactivateChecks.push(new ti(null,i))}function Mo(t){return typeof t=="function"}function HS(t){return typeof t=="boolean"}function zS(t){return t&&Mo(t.canLoad)}function GS(t){return t&&Mo(t.canActivate)}function WS(t){return t&&Mo(t.canActivateChild)}function qS(t){return t&&Mo(t.canDeactivate)}function ZS(t){return t&&Mo(t.canMatch)}function Fv(t){return t instanceof St||t?.name==="EmptyError"}var _a=Symbol("INITIAL_VALUE");function oi(){return he(t=>gr(t.map(n=>n.pipe(Oe(1),An(_a)))).pipe(I(n=>{for(let e of n)if(e!==!0){if(e===_a)return _a;if(e===!1||QS(e))return e}return!0}),ee(n=>n!==_a),Oe(1)))}function QS(t){return tr(t)||t instanceof wo}function YS(t,n){return le(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?E(j(m({},e),{guardsResult:!0})):KS(s,r,i,t).pipe(le(a=>a&&HS(a)?XS(r,o,t,n):E(a)),I(a=>j(m({},e),{guardsResult:a})))})}function KS(t,n,e,r){return Y(t).pipe(le(i=>rA(i.component,i.route,e,n,r)),pt(i=>i!==!0,!0))}function XS(t,n,e,r){return Y(n).pipe(an(i=>sn(eA(i.route.parent,r),JS(i.route,r),nA(t,i.path,e),tA(t,i.route,e))),pt(i=>i!==!0,!0))}function JS(t,n){return t!==null&&n&&n(new Tf(t)),E(!0)}function eA(t,n){return t!==null&&n&&n(new Cf(t)),E(!0)}function tA(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return E(!0);let i=r.map(o=>Yo(()=>{let s=Co(n)??e,a=si(o,s),c=GS(a)?a.canActivate(n,t):Pe(s,()=>a(n,t));return En(c).pipe(pt())}));return E(i).pipe(oi())}function nA(t,n,e){let r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>VS(s)).filter(s=>s!==null).map(s=>Yo(()=>{let a=s.guards.map(c=>{let l=Co(s.node)??e,u=si(c,l),d=WS(u)?u.canActivateChild(r,t):Pe(l,()=>u(r,t));return En(d).pipe(pt())});return E(a).pipe(oi())}));return E(o).pipe(oi())}function rA(t,n,e,r,i){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let c=Co(n)??i,l=si(a,c),u=qS(l)?l.canDeactivate(t,n,e,r):Pe(c,()=>l(t,n,e,r));return En(u).pipe(pt())});return E(s).pipe(oi())}function iA(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return E(!0);let o=i.map(s=>{let a=si(s,t),c=zS(a)?a.canLoad(n,e):Pe(t,()=>a(n,e));return En(c)});return E(o).pipe(oi(),Lv(r))}function Lv(t){return lc(X(n=>{if(typeof n!="boolean")throw La(t,n)}),I(n=>n===!0))}function oA(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return E(!0);let o=i.map(s=>{let a=si(s,t),c=ZS(a)?a.canMatch(n,e):Pe(t,()=>a(n,e));return En(c)});return E(o).pipe(oi(),Lv(r))}var _o=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Eo=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Kr(t){return nn(new _o(t))}function sA(t){return nn(new w(4e3,!1))}function aA(t){return nn(Rv(!1,$e.GuardRejected))}var Lf=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return E(r);if(i.numberOfChildren>1||!i.children[O])return sA(`${n.redirectTo}`);i=i.children[O]}}applyRedirectCommands(n,e,r,i,o){if(typeof e!="string"){let a=e,{queryParams:c,fragment:l,routeConfig:u,url:d,outlet:f,params:p,data:b,title:y}=i,D=Pe(o,()=>a({params:p,data:b,queryParams:c,fragment:l,routeConfig:u,url:d,outlet:f,title:y}));if(D instanceof Yt)throw new Eo(D);e=D}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new Eo(s);return s}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new Yt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,i)}),new z(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},Pf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function cA(t,n,e,r,i){let o=Pv(t,n,e);return o.matched?(r=SS(n,r),oA(r,n,e,i).pipe(I(s=>s===!0?o:m({},Pf)))):E(o)}function Pv(t,n,e){if(n.path==="**")return lA(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?m({},Pf):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||rS)(e,t,n);if(!i)return m({},Pf);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?m(m({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function lA(t){return{matched:!0,parameters:t.length>0?gv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function dv(t,n,e,r){return e.length>0&&fA(t,e,r)?{segmentGroup:new z(n,dA(r,new z(e,t.children))),slicedSegments:[]}:e.length===0&&hA(t,e,r)?{segmentGroup:new z(t.segments,uA(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new z(t.segments,t.children),slicedSegments:e}}function uA(t,n,e,r){let i={};for(let o of e)if(Va(t,n,o)&&!r[at(o)]){let s=new z([],{});i[at(o)]=s}return m(m({},r),i)}function dA(t,n){let e={};e[O]=n;for(let r of t)if(r.path===""&&at(r)!==O){let i=new z([],{});e[at(r)]=i}return e}function fA(t,n,e){return e.some(r=>Va(t,n,r)&&at(r)!==O)}function hA(t,n,e){return e.some(r=>Va(t,n,r))}function Va(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function pA(t,n,e){return n.length===0&&!t.children[e]}var jf=class{};function mA(t,n,e,r,i,o,s="emptyOnly"){return new Bf(t,n,e,r,i,s,o).recognize()}var gA=31,Bf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Lf(this.urlSerializer,this.urlTree)}noMatchError(n){return new w(4002,`'${n.segmentGroup}'`)}recognize(){let n=dv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(I(({children:e,rootSnapshot:r})=>{let i=new Ve(r,e),o=new Fa("",i),s=wS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new ei([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),O,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,O,e).pipe(I(r=>({children:r,rootSnapshot:e})),Tn(r=>{if(r instanceof Eo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof _o?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,o):this.processSegment(n,e,r,r.segments,i,!0,o).pipe(I(s=>s instanceof Ve?[s]:[]))}processChildren(n,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return Y(o).pipe(an(s=>{let a=r.children[s],c=AS(e,s);return this.processSegmentGroup(n,c,a,s,i)}),Yc((s,a)=>(s.push(...a),s)),ln(null),Gc(),le(s=>{if(s===null)return Kr(r);let a=jv(s);return bA(a),E(a)}))}processSegment(n,e,r,i,o,s,a){return Y(e).pipe(an(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,o,s,a).pipe(Tn(l=>{if(l instanceof _o)return E(null);throw l}))),pt(c=>!!c),Tn(c=>{if(Fv(c))return pA(r,i,o)?E(new jf):Kr(r);throw c}))}processSegmentAgainstRoute(n,e,r,i,o,s,a,c){return at(r)!==s&&(s===O||!Va(i,o,r))?Kr(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,c):Kr(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:f}=Pv(e,i,o);if(!c)return Kr(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>gA&&(this.allowRedirects=!1));let p=new ei(o,l,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,fv(i),at(i),i.component??i._loadedComponent??null,i,hv(i)),b=Oa(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(b.params),p.data=Object.freeze(b.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,p,n);return this.applyRedirects.lineralizeSegments(i,y).pipe(le(D=>this.processSegment(n,r,e,D.concat(f),s,!1,a)))}matchSegmentAgainstRoute(n,e,r,i,o,s){let a=cA(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(he(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(he(({routes:l})=>{let u=r._loadedInjector??n,{parameters:d,consumedSegments:f,remainingSegments:p}=c,b=new ei(f,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,fv(r),at(r),r.component??r._loadedComponent??null,r,hv(r)),y=Oa(b,s,this.paramsInheritanceStrategy);b.params=Object.freeze(y.params),b.data=Object.freeze(y.data);let{segmentGroup:D,slicedSegments:_}=dv(e,f,p,l);if(_.length===0&&D.hasChildren())return this.processChildren(u,l,D,b).pipe(I(F=>new Ve(b,F)));if(l.length===0&&_.length===0)return E(new Ve(b,[]));let V=at(r)===o;return this.processSegment(u,l,D,_,V?O:o,!0,b).pipe(I(F=>new Ve(b,F instanceof Ve?[F]:[])))}))):Kr(e)))}getChildConfig(n,e,r){return e.children?E({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?E({routes:e._loadedRoutes,injector:e._loadedInjector}):iA(n,e,r,this.urlSerializer).pipe(le(i=>i?this.configLoader.loadChildren(n,e).pipe(X(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):aA(e))):E({routes:[],injector:n})}};function bA(t){t.sort((n,e)=>n.value.outlet===O?-1:e.value.outlet===O?1:n.value.outlet.localeCompare(e.value.outlet))}function yA(t){let n=t.value.routeConfig;return n&&n.path===""}function jv(t){let n=[],e=new Set;for(let r of t){if(!yA(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=jv(r.children);n.push(new Ve(r.value,i))}return n.filter(r=>!e.has(r))}function fv(t){return t.data||{}}function hv(t){return t.resolve||{}}function vA(t,n,e,r,i,o){return le(s=>mA(t,n,e,r,s.extractedUrl,i,o).pipe(I(({state:a,tree:c})=>j(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function xA(t,n){return le(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return E(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Bv(c))s.add(l);let a=0;return Y(s).pipe(an(c=>o.has(c)?DA(c,r,t,n):(c.data=Oa(c,c.parent,t).resolve,E(void 0))),X(()=>a++),vr(1),le(c=>a===s.size?E(e):dt))})}function Bv(t){let n=t.children.map(e=>Bv(e)).flat();return[t,...n]}function DA(t,n,e,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!kv(i)&&(o[Io]=i.title),wA(o,t,n,r).pipe(I(s=>(t._resolvedData=s,t.data=Oa(t,t.parent,e).resolve,null)))}function wA(t,n,e,r){let i=gf(t);if(i.length===0)return E({});let o={};return Y(i).pipe(le(s=>_A(t[s],n,e,r).pipe(pt(),X(a=>{if(a instanceof wo)throw La(new bo,a);o[s]=a}))),vr(1),yi(o),Tn(s=>Fv(s)?dt:nn(s)))}function _A(t,n,e,r){let i=Co(n)??r,o=si(t,i),s=o.resolve?o.resolve(n,e):Pe(i,()=>o(n,e));return En(s)}function pf(t){return he(n=>{let e=t(n);return e?Y(e).pipe(I(()=>n)):E(n)})}var Vv=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===O);return r}getResolvedTitleForRoute(e){return e.data[Io]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>h(EA),providedIn:"root"})}return t})(),EA=(()=>{class t extends Vv{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(x(yy))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hf=new v("",{providedIn:"root",factory:()=>({})}),IA=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ne({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,i){r&1&&Ie(0,"router-outlet")},dependencies:[RS],encapsulation:2})}return t})();function zf(t){let n=t.children&&t.children.map(zf),e=n?j(m({},t),{children:n}):m({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==O&&(e.component=IA),e}var Gf=new v(""),CA=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Ed);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return E(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=En(e.loadComponent()).pipe(I($v),X(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Sn(()=>{this.componentLoaders.delete(e)})),i=new Mn(r,()=>new k).pipe(en());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return E({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=MA(r,this.compiler,e,this.onLoadEndListener).pipe(Sn(()=>{this.childrenLoaders.delete(r)})),s=new Mn(o,()=>new k).pipe(en());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MA(t,n,e,r){return En(t.loadChildren()).pipe(I($v),le(i=>i instanceof Ai||Array.isArray(i)?E(i):Y(n.compileModuleAsync(i))),I(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Gf,[],{optional:!0,self:!0}).flat()),{routes:s.map(zf),injector:o}}))}function TA(t){return t&&typeof t=="object"&&"default"in t}function $v(t){return TA(t)?t.default:t}var Wf=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>h(SA),providedIn:"root"})}return t})(),SA=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AA=new v("");var kA=new v(""),Uv=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new k;transitionAbortSubject=new k;configLoader=h(CA);environmentInjector=h(be);urlSerializer=h(ja);rootContexts=h(Ba);location=h(qi);inputBindingEnabled=h(Uf,{optional:!0})!==null;titleStrategy=h(Vv);options=h(Hf,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(Wf);createViewTransition=h(AA,{optional:!0});navigationErrorHandler=h(kA,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>E(void 0);rootComponentType=null;constructor(){let e=i=>this.events.next(new Ef(i)),r=i=>this.events.next(new If(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(j(m(m({},this.transitions.value),e),{id:r}))}setupNavigations(e,r,i){return this.transitions=new J({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:mo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ee(o=>o.id!==0),I(o=>j(m({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),he(o=>{let s=!1,a=!1;return E(o).pipe(he(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",$e.SupersededByNewNavigation),dt;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?j(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload"){let d="";return this.events.next(new _n(c.id,this.urlSerializer.serialize(c.rawUrl),d,Sa.IgnoredSameUrlNavigation)),c.resolve(!1),dt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return E(c).pipe(he(d=>{let f=this.transitions?.getValue();return this.events.next(new ri(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?dt:Promise.resolve(d)}),vA(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),X(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=j(m({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let f=new Aa(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:f,source:p,restoredState:b,extras:y}=c,D=new ri(d,this.urlSerializer.serialize(f),p,b);this.events.next(D);let _=Sv(this.rootComponentType).snapshot;return this.currentTransition=o=j(m({},c),{targetSnapshot:_,urlAfterRedirects:f,extras:j(m({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,E(o)}else{let d="";return this.events.next(new _n(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Sa.IgnoredByUrlHandlingStrategy)),c.resolve(!1),dt}}),X(c=>{let l=new xf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),I(c=>(this.currentTransition=o=j(m({},c),{guards:BS(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),YS(this.environmentInjector,c=>this.events.next(c)),X(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw La(this.urlSerializer,c.guardsResult);let l=new Df(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ee(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",$e.GuardRejected),!1)),pf(c=>{if(c.guards.canActivateChecks.length)return E(c).pipe(X(l=>{let u=new wf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),he(l=>{let u=!1;return E(l).pipe(xA(this.paramsInheritanceStrategy,this.environmentInjector),X({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",$e.NoDataFromResolver)}}))}),X(l=>{let u=new _f(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),pf(c=>{let l=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(X(f=>{u.component=f}),I(()=>{})));for(let f of u.children)d.push(...l(f));return d};return gr(l(c.targetSnapshot.root)).pipe(ln(null),Oe(1))}),pf(()=>this.afterPreactivation()),he(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,u=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return u?Y(u).pipe(I(()=>o)):E(o)}),I(c=>{let l=OS(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=j(m({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),X(()=>{this.events.next(new xo)}),jS(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Oe(1),X({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Et(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Fe(this.transitionAbortSubject.pipe(X(c=>{throw c}))),Sn(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",$e.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Tn(c=>{if(a=!0,Ov(c))this.events.next(new Qt(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),PS(c)?this.events.next(new ii(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new vo(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let u=Pe(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof wo){let{message:d,cancellationCode:f}=La(this.urlSerializer,u);this.events.next(new Qt(o.id,this.urlSerializer.serialize(o.extractedUrl),d,f)),this.events.next(new ii(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),c}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return dt}))}))}cancelNavigationTransition(e,r,i){let o=new Qt(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function NA(t){return t!==mo}var RA=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>h(OA),providedIn:"root"})}return t})(),Vf=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},OA=(()=>{class t extends Vf{static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>h(FA),providedIn:"root"})}return t})(),FA=(()=>{class t extends Hv{location=h(qi);urlSerializer=h(ja);options=h(Hf,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=h(Wf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Yt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Sv(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof ri)this.stateMemento=this.createStateMemento();else if(e instanceof _n)this.rawUrlTree=r.initialUrl;else if(e instanceof Aa){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else e instanceof xo?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):e instanceof Qt&&(e.code===$e.GuardRejected||e.code===$e.NoDataFromResolver)?this.restoreHistory(r):e instanceof vo?this.restoreHistory(r,!0):e instanceof Et&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let i=e instanceof Yt?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=m(m({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=m(m({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ho=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ho||{});function LA(t,n){t.events.pipe(ee(e=>e instanceof Et||e instanceof Qt||e instanceof vo||e instanceof _n),I(e=>e instanceof Et||e instanceof _n?ho.COMPLETE:(e instanceof Qt?e.code===$e.Redirect||e.code===$e.SupersededByNewNavigation:!1)?ho.REDIRECTING:ho.FAILED),ee(e=>e!==ho.REDIRECTING),Oe(1)).subscribe(()=>{n()})}var PA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},jA={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},$a=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(ia);stateManager=h(Hv);options=h(Hf,{optional:!0})||{};pendingTasks=h(Pt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Uv);urlSerializer=h(ja);location=h(qi);urlHandlingStrategy=h(Wf);_events=new k;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(RA);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Gf,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Uf,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new B;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Qt&&r.code!==$e.Redirect&&r.code!==$e.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Et)this.navigated=!0;else if(r instanceof ii){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=m({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||NA(i.source)},s);this.scheduleNavigation(a,mo,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}VA(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),mo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=m({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(zf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let f=i?i.snapshot:this.routerState.snapshot.root;d=Iv(f)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return Cv(d,e,u,l??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=tr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,mo,null,r)}navigate(e,r={skipLocationChange:!1}){return BA(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=m({},PA):r===!1?i=m({},jA):i=r,tr(e))return av(this.currentUrlTree,e,i);let o=this.parseUrl(e);return av(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,c=f});let u=this.pendingTasks.add();return LA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function BA(t){for(let n=0;n{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new k;constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof Et&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(tr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:pg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:tr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||t)(C($a),C(nr),Ks("tabindex"),C(Gi),C(Z),C(Gr))};static \u0275dir=H({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Ur("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&it("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ce],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ce],replaceUrl:[2,"replaceUrl","replaceUrl",Ce],routerLink:"routerLink"},features:[rt,Lt]})}return t})(),GV=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ne;constructor(e,r,i,o,s){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof Et&&this.update()})}ngAfterContentInit(){E(this.links.changes,E(null)).pipe(on()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Y(e).pipe(on()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=$A(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,r):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(C($a),C(Z),C(Gi),C(Ht),C(pv,8))};static \u0275dir=H({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Nb(o,pv,5),r&2){let s;bd(s=yd())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Lt]})}return t})();function $A(t){return!!t.paths}var zv=new v(""),UA=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,r,i,o,s={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ri?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Et?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof _n&&e.code===Sa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ka&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ka(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ag()};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();function WV(t,...n){return Fi([{provide:Gf,multi:!0,useValue:t},[],{provide:nr,useFactory:HA,deps:[$a]},{provide:Vr,multi:!0,useFactory:GA},n.map(e=>e.\u0275providers)])}function HA(t){return t.routerState.root}function zA(t,n){return{\u0275kind:t,\u0275providers:n}}function qV(t={}){return zA(4,[{provide:zv,useFactory:()=>{let e=h(Kb),r=h(P),i=h(Uv),o=h(ja);return new UA(o,i,e,r,t)}}])}function GA(){let t=h(ue);return n=>{let e=t.get(wt);if(n!==e.components[0])return;let r=t.get($a),i=t.get(WA);t.get(qA)===1&&r.initialNavigation(),t.get(ZA,null,L.Optional)?.setUpPreloading(),t.get(zv,null,L.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var WA=new v("",{factory:()=>new k}),qA=new v("",{providedIn:"root",factory:()=>1});var ZA=new v("");function KV(t){return t!=null&&`${t}`!="false"}function Gv(t,n=0){return QA(t)?Number(t):arguments.length===2?n:0}function QA(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function qf(t){return Array.isArray(t)?t:[t]}function XV(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Kt(t){return t instanceof Z?t.nativeElement:t}var Qf;try{Qf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qf=!1}var ct=(()=>{class t{_platformId=h(pe);isBrowser=this._platformId?me(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Qf)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ai,Wv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function i2(){if(ai)return ai;if(typeof document!="object"||!document)return ai=new Set(Wv),ai;let t=document.createElement("input");return ai=new Set(Wv.filter(n=>(t.setAttribute("type",n),t.type===n))),ai}var To;function YA(){if(To==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>To=!0}))}finally{To=To||!1}return To}function ci(t){return YA()?t:!!t.capture}var rr;function o2(){if(rr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return rr=!1,rr;if("scrollBehavior"in document.documentElement.style)rr=!0;else{let t=Element.prototype.scrollTo;t?rr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):rr=!1}}return rr}var Zf;function KA(){if(Zf==null){let t=typeof document<"u"?document.head:null;Zf=!!(t&&(t.createShadowRoot||t.attachShadow))}return Zf}function qv(t){if(KA()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Xt(t){return t.composedPath?t.composedPath()[0]:t.target}function s2(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function XA(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),JA=(()=>{class t{_mutationObserverFactory=h(Zv);_observedElements=new Map;_ngZone=h(P);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=Kt(e);return new T(i=>{let s=this._observeElement(r).pipe(I(a=>a.filter(c=>!XA(c))),ee(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new k,i=this._mutationObserverFactory.create(o=>r.next(o));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:r,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:r,stream:i}=this._observedElements.get(e);r&&r.disconnect(),i.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),b2=(()=>{class t{_contentObserver=h(JA);_elementRef=h(Z);event=new ne;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=Gv(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(cn(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Ce],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[rt]})}return t})(),y2=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ie({type:t});static \u0275inj=re({providers:[Zv]})}return t})();var Qv=new Set,ir,ek=(()=>{class t{_platform=h(ct);_nonce=h($i,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nk}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&tk(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tk(t,n){if(!Qv.has(t))try{ir||(ir=document.createElement("style"),n&&ir.setAttribute("nonce",n),ir.setAttribute("type","text/css"),document.head.appendChild(ir)),ir.sheet&&(ir.sheet.insertRule(`@media ${t} {body{ }}`,0),Qv.add(t))}catch(e){console.error(e)}}function nk(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Kv=(()=>{class t{_mediaMatcher=h(ek);_zone=h(P);_queries=new Map;_destroySubject=new k;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Yv(qf(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=Yv(qf(e)).map(s=>this._registerQuery(s).observable),o=gr(i);return o=sn(o.pipe(Oe(1)),o.pipe(vi(1),cn(0))),o.pipe(I(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),o={observable:new T(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(An(r),I(({matches:s})=>({query:e,matches:s})),Fe(this._destroySubject)),mql:r};return this._queries.set(e,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yv(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var M2={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Ua=new WeakMap,Ha=(()=>{class t{_appRef;_injector=h(ue);_environmentInjector=h(be);load(e){let r=this._appRef=this._appRef||this._injector.get(wt),i=Ua.get(r);i||(i={loaders:new Set,refs:[]},Ua.set(r,i),r.onDestroy(()=>{Ua.get(r)?.refs.forEach(o=>o.destroy()),Ua.delete(r)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(Vb(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Xv(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Dk=200,Xf=class{_letterKeyStream=new k;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new k;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:Dk;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(X(e=>this._pressedLetters.push(e)),cn(n),ee(()=>this._pressedLetters.length>0),I(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;rn.disabled;constructor(n,e){this._items=n,n instanceof kr?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Wi(n)&&(this._effectRef=Td(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new k;change=new k;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Xf(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Jv=class extends Jf{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function eh(t){return t.buttons===0||t.detail===0}function th(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var wk=new v("cdk-input-modality-detector-options"),_k={ignoreKeys:[18,17,224,91,16]},nx=650,li=ci({passive:!0,capture:!0}),Ek=(()=>{class t{_platform=h(ct);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new J(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Xt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(th(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Xt(e)};constructor(){let e=h(P),r=h(G),i=h(wk,{optional:!0});this._options=m(m({},_k),i),this.modalityDetected=this._modality.pipe(vi(1)),this.modalityChanged=this.modalityDetected.pipe(yr()),this._platform.isBrowser&&e.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,li),r.addEventListener("mousedown",this._onMousedown,li),r.addEventListener("touchstart",this._onTouchstart,li)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,li),document.removeEventListener("mousedown",this._onMousedown,li),document.removeEventListener("touchstart",this._onTouchstart,li))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ik=new v("liveAnnouncerElement",{providedIn:"root",factory:Ck});function Ck(){return null}var Mk=new v("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Tk=0,Y2=(()=>{class t{_ngZone=h(P);_defaultOptions=h(Mk,{optional:!0});_liveElement;_document=h(G);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=h(Ik,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...r){let i=this._defaultOptions,o,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),s==null&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let i=0;i{class t{_ngZone=h(P);_platform=h(ct);_inputModalityDetector=h(Ek);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=h(G,{optional:!0});_stopInputModalityDetector=new k;constructor(){let e=h(Sk,{optional:!0});this._detectionMode=e?.detectionMode||Ga.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=Xt(e);for(let i=r;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,r=!1){let i=Kt(e);if(!this._platform.isBrowser||i.nodeType!==1)return E();let o=qv(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new k,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=Kt(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){let o=Kt(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Ga.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===Ga.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?nx:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,r){let i=this._elementInfo.get(r),o=Xt(e);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(e,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,za),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,za)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,za),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,za),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class t{_platform=h(ct);_hasCheckedHighContrastMode;_document=h(G);_breakpointSubscription;constructor(){this._breakpointSubscription=h(Kv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return or.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return or.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return or.BLACK_ON_WHITE}return or.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Yf,ex,tx),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===or.BLACK_ON_WHITE?e.add(Yf,ex):r===or.WHITE_ON_BLACK&&e.add(Yf,tx)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Kf={},Ak=(()=>{class t{_appId=h(Bi);getId(e){return this._appId!=="ng"&&(e+=this._appId),Kf.hasOwnProperty(e)||(Kf[e]=0),`${e}${Kf[e]++}`}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var So=(()=>{class t{constructor(){h(ix)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=ie({type:t});static \u0275inj=re({imports:[so,so]})}return t})(),ox=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,r,i,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=r,this._parentForm=i,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=r?.isErrorState(i,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var g$=(()=>{class t{isErrorState(e,r){return!!(e&&e.invalid&&(e.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ne({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,i){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return t})();var Qe=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Qe||{}),ih=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Qe.HIDDEN;constructor(n,e,r,i=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},sx=ci({passive:!0,capture:!0}),oh=class{_events=new Map;addHandler(n,e,r,i){let o=this._events.get(e);if(o){let s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(e,new Map([[r,new Set([i])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,sx)})}removeHandler(n,e,r){let i=this._events.get(n);if(!i)return;let o=i.get(e);o&&(o.delete(r),o.size===0&&i.delete(e),i.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,sx)))}_delegateEventHandler=n=>{let e=Xt(n);e&&this._events.get(n.type)?.forEach((r,i)=>{(i===e||i.contains(e))&&r.forEach(o=>o.handleEvent(n))})}},qa={enterDuration:225,exitDuration:150},kk=800,ax=ci({passive:!0,capture:!0}),cx=["mousedown","touchstart"],lx=["mouseup","mouseleave","touchend","touchcancel"],Nk=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ne({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return t})(),Za=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new oh;constructor(n,e,r,i,o){this._target=n,this._ngZone=e,this._platform=i,i.isBrowser&&(this._containerElement=Kt(r)),o&&o.get(Ha).load(Nk)}fadeInRipple(n,e,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=m(m({},qa),r.animation);r.centered&&(n=i.left+i.width/2,e=i.top+i.height/2);let s=r.radius||Rk(n,e,i),a=n-i.left,c=e-i.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),f=d.transitionProperty,p=d.transitionDuration,b=f==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,y=new ih(this,u,r,b);u.style.transform="scale3d(1, 1, 1)",y.state=Qe.FADING_IN,r.persistent||(this._mostRecentTransientRipple=y);let D=null;return!b&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let _=()=>{D&&(D.fallbackTimer=null),clearTimeout(F),this._finishRippleTransition(y)},V=()=>this._destroyRipple(y),F=setTimeout(V,l+100);u.addEventListener("transitionend",_),u.addEventListener("transitioncancel",V),D={onTransitionEnd:_,onTransitionCancel:V,fallbackTimer:F}}),this._activeRipples.set(y,D),(b||!l)&&this._finishRippleTransition(y),y}fadeOutRipple(n){if(n.state===Qe.FADING_OUT||n.state===Qe.HIDDEN)return;let e=n.element,r=m(m({},qa),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=Qe.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Kt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,cx.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{lx.forEach(e=>{this._triggerElement.addEventListener(e,this,ax)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Qe.FADING_IN?this._startFadeOutTransition(n):n.state===Qe.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=Qe.VISIBLE,!r&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Qe.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=eh(n),r=this._lastTouchStartEvent&&Date.now(){let e=n.state===Qe.VISIBLE||n.config.terminateOnPointerUp&&n.state===Qe.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(cx.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(lx.forEach(e=>n.removeEventListener(e,this,ax)),this._pointerUpEventsRegistered=!1))}};function Rk(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),i=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+i*i)}var px=new v("mat-ripple-global-options"),b$=(()=>{class t{_elementRef=h(Z);_animationMode=h(Vi,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=h(P),r=h(ct),i=h(px,{optional:!0}),o=h(ue);this._globalOptions=i||{},this._rippleRenderer=new Za(this,e,this._elementRef,r,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:m(m(m({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,m(m({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,m(m({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){r&2&&Re("mat-ripple-unbounded",i.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),mx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ie({type:t});static \u0275inj=re({imports:[So,So]})}return t})();var ux={capture:!0},dx=["focus","mousedown","mouseenter","touchstart"],nh="mat-ripple-loader-uninitialized",rh="mat-ripple-loader-class-name",fx="mat-ripple-loader-centered",Wa="mat-ripple-loader-disabled",gx=(()=>{class t{_document=h(G,{optional:!0});_animationMode=h(Vi,{optional:!0});_globalRippleOptions=h(px,{optional:!0});_platform=h(ct);_ngZone=h(P);_injector=h(ue);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of dx)this._document?.addEventListener(e,this._onInteraction,ux)})}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);for(let r of dx)this._document?.removeEventListener(r,this._onInteraction,ux)}configureRipple(e,r){e.setAttribute(nh,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(rh))&&e.setAttribute(rh,r.className||""),r.centered&&e.setAttribute(fx,""),r.disabled&&e.setAttribute(Wa,"")}setDisabled(e,r){let i=this._hosts.get(e);i?(i.target.rippleDisabled=r,!r&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(e))):r?e.setAttribute(Wa,""):e.removeAttribute(Wa)}_onInteraction=e=>{let r=Xt(e);if(r instanceof HTMLElement){let i=r.closest(`[${nh}="${this._globalRippleOptions?.namespace??""}"]`);i&&this._createRipple(i)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(rh)),e.append(r);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,s=i?0:o?.animation?.enterDuration??qa.enterDuration,a=i?0:o?.animation?.exitDuration??qa.exitDuration,c={rippleDisabled:i||o?.disabled||e.hasAttribute(Wa),rippleConfig:{centered:e.hasAttribute(fx),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},l=new Za(c,this._ngZone,r,this._platform,this._injector),u=!c.rippleDisabled;u&&l.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:l,hasSetUpEvents:u}),e.removeAttribute(nh)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ok=["mat-button",""],sh=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ah=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var bx="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}",Fk=["mat-fab",""],Lk=["mat-mini-fab",""],Pk='.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',yx=["mat-icon-button",""],vx=["*"],jk='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Bk=new v("MAT_BUTTON_CONFIG");var Vk=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ao=(()=>{class t{_elementRef=h(Z);_platform=h(ct);_ngZone=h(P);_animationMode=h(Vi,{optional:!0});_focusMonitor=h(rx);_rippleLoader=h(gx);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){h(Ha).load(hx);let e=h(Bk,{optional:!0}),r=this._elementRef.nativeElement,i=r.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(r,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:s}of Vk)r.hasAttribute(o)&&i.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ce],disabled:[2,"disabled","disabled",Ce],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ce],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ce]},features:[rt]})}return t})();var $k=(()=>{class t extends Ao{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275dir=H({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Cd(e)]},features:[rt,ae]})}return t})(),k$=(()=>{class t extends Ao{static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275cmp=Ne({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(r,i){r&2&&(it("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),$r(i.color?"mat-"+i.color:""),Re("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ae],attrs:Ok,ngContentSelectors:ah,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(qn(sh),Ie(0,"span",0),je(1),$t(2,"span",1),je(3,1),Ut(),je(4,2),Ie(5,"span",2)(6,"span",3)),r&2&&Re("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return t})();var xx=new v("mat-mdc-fab-default-options",{providedIn:"root",factory:Dx});function Dx(){return{color:"accent"}}var Qa=Dx(),N$=(()=>{class t extends Ao{_options=h(xx,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Qa,this.color=this._options.color||Qa.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ne({type:t,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(r,i){r&2&&(it("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),$r(i.color?"mat-"+i.color:""),Re("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{extended:[2,"extended","extended",Ce]},exportAs:["matButton"],features:[rt,ae],attrs:Fk,ngContentSelectors:ah,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(qn(sh),Ie(0,"span",0),je(1),$t(2,"span",1),je(3,1),Ut(),je(4,2),Ie(5,"span",2)(6,"span",3)),r&2&&Re("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return t})(),R$=(()=>{class t extends Ao{_options=h(xx,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Qa,this.color=this._options.color||Qa.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ne({type:t,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(r,i){r&2&&(it("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),$r(i.color?"mat-"+i.color:""),Re("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ae],attrs:Lk,ngContentSelectors:ah,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(qn(sh),Ie(0,"span",0),je(1),$t(2,"span",1),je(3,1),Ut(),je(4,2),Ie(5,"span",2)(6,"span",3)),r&2&&Re("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[Pk],encapsulation:2,changeDetection:0})}return t})();var O$=(()=>{class t extends Ao{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Ne({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,i){r&2&&(it("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),$r(i.color?"mat-"+i.color:""),Re("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ae],attrs:yx,ngContentSelectors:vx,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(qn(),Ie(0,"span",0),je(1),Ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',bx],encapsulation:2,changeDetection:0})}return t})(),F$=(()=>{class t extends $k{static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275cmp=Ne({type:t,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(r,i){r&2&&(it("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),$r(i.color?"mat-"+i.color:""),Re("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[ae],attrs:yx,ngContentSelectors:vx,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(qn(),Ie(0,"span",0),je(1),Ie(2,"span",1)(3,"span",2))},styles:[jk,bx],encapsulation:2,changeDetection:0})}return t})(),L$=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ie({type:t});static \u0275inj=re({imports:[So,mx,So]})}return t})();export{m as a,j as b,Sx as c,Uk as d,Hk as e,ui as f,B as g,T as h,k as i,J as j,dt as k,E as l,nn as m,I as n,Y as o,Gx as p,_c as q,br as r,ee as s,bi as t,Yx as u,Tn as v,cn as w,Oe as x,Sn as y,pt as z,Jx as A,tD as B,el as C,vi as D,An as E,he as F,Fe as G,X as H,w as I,Fp as J,g as K,re as L,v as M,x as N,h as O,be as P,Lt as Q,bP as R,yP as S,vP as T,xP as U,DP as V,xe as W,ue as X,tp as Y,ne as Z,P as _,yt as $,Z as aa,pe as ba,Vi as ca,Dt as da,Ww as ea,Zu as fa,tt as ga,wP as ha,h_ as ia,_P as ja,EP as ka,id as la,C as ma,Hn as na,mn as oa,Rr as pa,Gi as qa,Ne as ra,ie as sa,H as ta,tb as ua,Wi as va,Br as wa,wt as xa,Vt as ya,md as za,TP as Aa,ae as Ba,rt as Ca,xb as Da,it as Ea,Eb as Fa,Ib as Ga,Re as Ha,$r as Ia,r0 as Ja,$t as Ka,Ut as La,Ie as Ma,SP as Na,kb as Oa,a0 as Pa,Ur as Qa,d0 as Ra,h0 as Sa,qn as Ta,je as Ua,g0 as Va,Nb as Wa,b0 as Xa,bd as Ya,yd as Za,AP as _a,kP as $a,NP as ab,vd as bb,xd as cb,Dd as db,x0 as eb,RP as fb,D0 as gb,Ob as hb,wd as ib,_d as jb,OP as kb,FP as lb,Ht as mb,Ce as nb,Cd as ob,LP as pb,Md as qb,Td as rb,Vb as sb,Hr as tb,G as ub,Gr as vb,qi as wb,sj as xb,aj as yb,cj as zb,Yb as Ab,Wr as Bb,Kb as Cb,Ud as Db,Dj as Eb,dy as Fb,Uj as Gb,Kd as Hb,wn as Ib,mV as Jb,gV as Kb,bV as Lb,yV as Mb,vV as Nb,xV as Ob,DV as Pb,wV as Qb,ov as Rb,sv as Sb,_V as Tb,nr as Ub,RS as Vb,$a as Wb,pv as Xb,GV as Yb,WV as Zb,qV as _b,xy as $b,ot as ac,Ly as bc,Py as cc,UM as dc,jy as ec,Xy as fc,xn as gc,eT as hc,Zt as ic,Dn as jc,Xn as kc,Yr as lc,KV as mc,qf as nc,XV as oc,Kt as pc,By as qc,aV as rc,cV as sc,lV as tc,uV as uc,dV as vc,fV as wc,ct as xc,i2 as yc,ci as zc,o2 as Ac,Xt as Bc,s2 as Cc,Ha as Dc,Xv as Ec,b2 as Fc,y2 as Gc,Kv as Hc,M2 as Ic,Jv as Jc,Y2 as Kc,rx as Lc,Ak as Mc,So as Nc,ox as Oc,g$ as Pc,hx as Qc,px as Rc,b$ as Sc,k$ as Tc,N$ as Uc,R$ as Vc,O$ as Wc,F$ as Xc,L$ as Yc}; diff --git a/chunk-FPZ3WRTH.js b/chunk-OWYKYSAM.js similarity index 99% rename from chunk-FPZ3WRTH.js rename to chunk-OWYKYSAM.js index 0ce79f0..bc08905 100644 --- a/chunk-FPZ3WRTH.js +++ b/chunk-OWYKYSAM.js @@ -1,2 +1,2 @@ -import{Ac as mt,Ba as z,Bc as gt,Cc as vt,Da as at,Dc as yt,Ea as $t,G as F,Hc as ce,Ic as he,Ja as qt,K as m,Ka as x,Kb as ne,Kc as de,La as E,Lb as ft,M as L,Ma as N,Mc as J,Na as Kt,Nb as Q,O as l,Ob as ut,P as Nt,Pa as Qt,Pb as pt,Qa as G,Ra as Jt,Sa as lt,T as jt,Tc as fe,U as Ht,V as Yt,W as Z,Wc as ue,X as k,Xa as $,Ya as q,Yc as bt,Z as ot,Za as K,_ as w,a as b,aa as D,b as It,bb as ct,bc as oe,ca as Xt,db as ht,dc as se,ea as Wt,ec as re,fa as st,g as X,ga as Zt,h as Ft,i as p,l as Lt,la as M,ma as Ut,mb as dt,na as V,nc as _t,oa as rt,oc as f,pc as ae,q as Vt,qb as te,qc as le,r as zt,ra as S,s as W,sb as ee,ta as R,u as nt,ub as g,wb as ie,xa as Gt,xc as C,ya as U}from"./chunk-L73B4PLA.js";function si(o){return[re,o?.loader??[],o?.clipboardOptions??[],o?.markedOptions??[],{provide:oe,useValue:o?.markedExtensions??[]},{provide:se,useValue:o?.sanitize??Zt.HTML}]}var j=class{_attachedHost;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},B=class extends j{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(e,t,i,n,s){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.projectableNodes=s}},A=class extends j{templateRef;viewContainerRef;context;injector;constructor(e,t,i,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},wt=class extends j{element;constructor(e){super(),this.element=e instanceof D?e.nativeElement:e}},T=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof B)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof A)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof wt)return this._attachedPortal=e,this.attachDomPortal(e)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var tt=class extends T{outletElement;_appRef;_defaultInjector;_document;constructor(e,t,i,n,s){super(),this.outletElement=e,this._appRef=i,this._defaultInjector=n,this._document=s}attachComponentPortal(e){let t;if(e.viewContainerRef){let i=e.injector||e.viewContainerRef.injector,n=i.get(rt,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:i,ngModuleRef:n,projectableNodes:e.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else t=ee(e.component,{elementInjector:e.injector||this._defaultInjector||k.NULL,environmentInjector:this._appRef.injector,projectableNodes:e.projectableNodes||void 0}),this._appRef.attachView(t.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(t.hostView),t.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(n=>this.outletElement.appendChild(n)),i.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(i);n!==-1&&t.remove(n)}),this._attachedPortal=e,i}attachDomPortal=e=>{let t=e.element;t.parentNode;let i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var St=(()=>{class o extends T{_moduleRef=l(rt,{optional:!0});_document=l(g);_viewContainerRef=l(U);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new ot;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,n=i.createComponent(t.component,{index:i.length,injector:t.injector||i.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=t=>{let i=t.element;i.parentNode;let n=this._document.createComment("dom-portal");t.setAttachedHost(this),i.parentNode.insertBefore(n,i),this._getRootNode().appendChild(i),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(i,n)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[z]})}return o})();var Ae=20,pe=(()=>{class o{_ngZone=l(w);_platform=l(C);_document=l(g,{optional:!0});constructor(){}_scrolled=new p;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Ae){return this._platform.isBrowser?new Ft(i=>{this._globalSubscription||this._addGlobalListener();let n=t>0?this._scrolled.pipe(nt(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Lt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let n=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(W(s=>!s||n.indexOf(s)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let n=ae(i),s=t.getElementRef().nativeElement;do if(n==s)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return Vt(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Te=20,Rt=(()=>{class o{_platform=l(C);_viewportSize;_change=new p;_changeListener=t=>{this._change.next(t)};_document=l(g,{optional:!0});constructor(){l(w).runOutsideAngular(()=>{if(this._platform.isBrowser){let i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),n=t.documentElement,s=n.getBoundingClientRect(),r=-s.top||t.body.scrollTop||i.scrollY||n.scrollTop||0,a=-s.left||t.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:r,left:a}}change(t=Te){return t>0?this._change.pipe(nt(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var _e=mt(),xt=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(e,t){this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=f(-this._previousScrollPosition.left),e.style.top=f(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,i=e.style,n=t.style,s=i.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),_e&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_e&&(i.scrollBehavior=s,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}};var Et=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(e,t,i,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(W(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},it=class{enable(){}disable(){}attach(){}};function Ot(o,e){return e.some(t=>{let i=o.bottomt.bottom,s=o.rightt.right;return i||n||s||r})}function me(o,e){return e.some(t=>{let i=o.topt.bottom,s=o.leftt.right;return i||n||s||r})}var Dt=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:n}=this._viewportRuler.getViewportSize();Ot(t,[{width:i,height:n,bottom:n,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Fe=(()=>{class o{_scrollDispatcher=l(pe);_viewportRuler=l(Rt);_ngZone=l(w);_document=l(g);constructor(){}noop=()=>new it;close=t=>new Et(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new xt(this._viewportRuler,this._document);reposition=t=>new Dt(this._scrollDispatcher,this._viewportRuler,this._ngZone,t);static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),H=class{positionStrategy;scrollStrategy=new it;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(e){if(e){let t=Object.keys(e);for(let i of t)e[i]!==void 0&&(this[i]=e[i])}}};var Pt=class{connectionPair;scrollableViewProperties;constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}};var ke=(()=>{class o{_attachedOverlays=[];_document=l(g);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Le=(()=>{class o extends ke{_ngZone=l(w,{optional:!0});add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=t=>{let i=this._attachedOverlays;for(let n=i.length-1;n>-1;n--)if(i[n]._keydownEvents.observers.length>0){let s=i[n]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(t)):s.next(t);break}};static \u0275fac=(()=>{let t;return function(n){return(t||(t=Z(o)))(n||o)}})();static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ve=(()=>{class o extends ke{_platform=l(C);_ngZone=l(w,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(t){if(super.add(t),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=t=>{this._pointerDownEventTarget=gt(t)};_clickListener=t=>{let i=gt(t),n=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let s=this._attachedOverlays.slice();for(let r=s.length-1;r>-1;r--){let a=s[r];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(ge(a.overlayElement,i)||ge(a.overlayElement,n))break;let h=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(t)):h.next(t)}};static \u0275fac=(()=>{let t;return function(n){return(t||(t=Z(o)))(n||o)}})();static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function ge(o,e){let t=typeof ShadowRoot<"u"&&ShadowRoot,i=e;for(;i;){if(i===o)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Ce=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return o})(),Se=(()=>{class o{_platform=l(C);_containerElement;_document=l(g);_styleLoader=l(yt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||vt()){let n=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(e);_backdropTransitionendHandler=e=>{this._disposeBackdrop(e.target)};_previousHostParent;_keydownEvents=new p;_outsidePointerEvents=new p;_renders=new p;_afterRenderRef;_afterNextRenderRef;constructor(e,t,i,n,s,r,a,h,d,c=!1,u){this._portalOutlet=e,this._host=t,this._pane=i,this._config=n,this._ngZone=s,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=d,this._animationsDisabled=c,this._injector=u,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=te(()=>Wt(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=st(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=b(b({},this._config),e),this._updateElementSize()}setDirection(e){this._config=It(b({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=f(this._config.width),e.height=f(this._config.height),e.minWidth=f(this._config.minWidth),e.minHeight=f(this._config.minHeight),e.maxWidth=f(this._config.maxWidth),e.maxHeight=f(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){let n=_t(t||[]).filter(s=>!!s);n.length&&(i?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(F(zt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},ve="cdk-overlay-connected-position-bounding-box",ze=/([A-Za-z%]+)$/,Bt=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new p;_resizeSubscription=X.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(e,t,i,n,s){this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=s,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(ve),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,i=this._viewportRect,n=this._containerRect,s=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(e,n,a),d=this._getOverlayPoint(h,t,a),c=this._getOverlayFit(d,t,i,a);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(c,d,i)){s.push({position:a,origin:h,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=c,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ve),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let n;if(i.originX=="center")n=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=i.originX=="start"?r:a}t.left<0&&(n-=t.left);let s;return i.originY=="center"?s=e.top+e.height/2:s=i.originY=="top"?e.top:e.bottom,t.top<0&&(s-=t.top),{x:n,y:s}}_getOverlayPoint(e,t,i){let n;i.overlayX=="center"?n=-t.width/2:i.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let s;return i.overlayY=="center"?s=-t.height/2:s=i.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+s}}_getOverlayFit(e,t,i,n){let s=be(t),{x:r,y:a}=e,h=this._getOffset(n,"x"),d=this._getOffset(n,"y");h&&(r+=h),d&&(a+=d);let c=0-r,u=r+s.width-i.width,O=0-a,v=a+s.height-i.height,_=this._subtractOverflows(s.width,c,u),y=this._subtractOverflows(s.height,O,v),Tt=_*y;return{visibleArea:Tt,isCompletelyWithinViewport:s.width*s.height===Tt,fitsInViewportVertically:y===s.height,fitsInViewportHorizontally:_==s.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){let n=i.bottom-t.y,s=i.right-t.x,r=ye(this._overlayRef.getConfig().minHeight),a=ye(this._overlayRef.getConfig().minWidth),h=e.fitsInViewportVertically||r!=null&&r<=n,d=e.fitsInViewportHorizontally||a!=null&&a<=s;return h&&d}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=be(t),s=this._viewportRect,r=Math.max(e.x+n.width-s.width,0),a=Math.max(e.y+n.height-s.height,0),h=Math.max(s.top-i.top-e.y,0),d=Math.max(s.left-i.left-e.x,0),c=0,u=0;return n.width<=s.width?c=d||-r:c=e.x_&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-_/2)}let h=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,d=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,u,O;if(d)O=i.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(h)u=e.x,c=i.right-e.x;else{let v=Math.min(i.right-e.x+i.left,e.x),_=this._lastBoundingBoxSize.width;c=v*2,u=e.x-v,c>_&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-_/2)}return{top:r,left:u,bottom:a,right:O,width:c,height:s}}_setBoundingBoxStyles(e,t){let i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let s=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=f(i.height),n.top=f(i.top),n.bottom=f(i.bottom),n.width=f(i.width),n.left=f(i.left),n.right=f(i.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",s&&(n.maxHeight=f(s)),r&&(n.maxWidth=f(r))}this._lastBoundingBoxSize=i,P(this._boundingBox.style,n)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();P(i,this._getExactOverlayY(t,e,c)),P(i,this._getExactOverlayX(t,e,c))}else i.position="static";let a="",h=this._getOffset(t,"x"),d=this._getOffset(t,"y");h&&(a+=`translateX(${h}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),r.maxHeight&&(n?i.maxHeight=f(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=f(r.maxWidth):s&&(i.maxWidth="")),P(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(s.y+this._overlayRect.height)}px`}else n.top=f(s.y);return n}_getExactOverlayX(e,t,i){let n={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(s.x+this._overlayRect.width)}px`}else n.left=f(s.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:me(e,i),isOriginOutsideView:Ot(e,i),isOverlayClipped:me(t,i),isOverlayOutsideView:Ot(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,n)=>i-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&_t(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof D)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}};function P(o,e){for(let t in e)e.hasOwnProperty(t)&&(o[t]=e[t]);return o}function ye(o){if(typeof o!="number"&&o!=null){let[e,t]=o.split(ze);return!t||t==="px"?parseFloat(e):null}return o||null}function be(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}function Ne(o,e){return o===e?!0:o.isOriginClipped===e.isOriginClipped&&o.isOriginOutsideView===e.isOriginOutsideView&&o.isOverlayClipped===e.isOverlayClipped&&o.isOverlayOutsideView===e.isOverlayOutsideView}var we="cdk-global-overlay-wrapper",At=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(we),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:r,maxHeight:a}=i,h=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),d=(s==="100%"||s==="100vh")&&(!a||a==="100%"||a==="100vh"),c=this._xPosition,u=this._xOffset,O=this._overlayRef.getConfig().direction==="rtl",v="",_="",y="";h?y="flex-start":c==="center"?(y="center",O?_=u:v=u):O?c==="left"||c==="end"?(y="flex-end",v=u):(c==="right"||c==="start")&&(y="flex-start",_=u):c==="left"||c==="start"?(y="flex-start",v=u):(c==="right"||c==="end")&&(y="flex-end",_=u),e.position=this._cssPosition,e.marginLeft=h?"0":v,e.marginTop=d?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=h?"0":_,t.justifyContent=y,t.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(we),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},je=(()=>{class o{_viewportRuler=l(Rt);_document=l(g);_platform=l(C);_overlayContainer=l(Se);constructor(){}global(){return new At}flexibleConnectedTo(t){return new Bt(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Re=(()=>{class o{scrollStrategies=l(Fe);_overlayContainer=l(Se);_positionBuilder=l(je);_keyboardDispatcher=l(Le);_injector=l(k);_ngZone=l(w);_document=l(g);_directionality=l(le);_location=l(ie);_outsideClickDispatcher=l(Ve);_animationsModuleType=l(Xt,{optional:!0});_idGenerator=l(J);_appRef;_styleLoader=l(yt);constructor(){}create(t){this._styleLoader.load(Ce);let i=this._createHostElement(),n=this._createPaneElement(i),s=this._createPortalOutlet(n),r=new H(t);return r.direction=r.direction||this._directionality.value,new Mt(s,i,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Nt))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Gt)),new tt(t,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function He(o,e){if(o&1){let t=Kt();x(0,"div",1)(1,"button",2),G("click",function(){jt(t);let n=lt();return Ht(n.action())}),ct(2),E()()}if(o&2){let t=lt();M(2),ht(" ",t.data.action," ")}}var Ye=["label"];function Xe(o,e){}var We=Math.pow(2,31)-1,Y=class{_overlayRef;instance;containerInstance;_afterDismissed=new p;_afterOpened=new p;_onAction=new p;_durationTimeoutId;_dismissedByAction=!1;constructor(e,t){this._overlayRef=t,this.containerInstance=e,e._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(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,We))}_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}},xe=new L("MatSnackBarData"),I=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},Ze=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return o})(),Ue=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return o})(),Ge=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return o})(),$e=(()=>{class o{snackBarRef=l(Y);data=l(xe);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=S({type:o,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,n){i&1&&(x(0,"div",0),ct(1),E(),at(2,He,3,1,"div",1)),i&2&&(M(),ht(" ",n.data.message,` +import{Ac as mt,Ba as z,Bc as gt,Cc as vt,Da as at,Dc as yt,Ea as $t,G as F,Hc as ce,Ic as he,Ja as qt,K as m,Ka as x,Kb as ne,Kc as de,La as E,Lb as ft,M as L,Ma as N,Mc as J,Na as Kt,Nb as Q,O as l,Ob as ut,P as Nt,Pa as Qt,Pb as pt,Qa as G,Ra as Jt,Sa as lt,T as jt,Tc as fe,U as Ht,V as Yt,W as Z,Wc as ue,X as k,Xa as $,Ya as q,Yc as bt,Z as ot,Za as K,_ as w,a as b,aa as D,b as It,bb as ct,bc as oe,ca as Xt,db as ht,dc as se,ea as Wt,ec as re,fa as st,g as X,ga as Zt,h as Ft,i as p,l as Lt,la as M,ma as Ut,mb as dt,na as V,nc as _t,oa as rt,oc as f,pc as ae,q as Vt,qb as te,qc as le,r as zt,ra as S,s as W,sb as ee,ta as R,u as nt,ub as g,wb as ie,xa as Gt,xc as C,ya as U}from"./chunk-XUHCC3XM.js";function si(o){return[re,o?.loader??[],o?.clipboardOptions??[],o?.markedOptions??[],{provide:oe,useValue:o?.markedExtensions??[]},{provide:se,useValue:o?.sanitize??Zt.HTML}]}var j=class{_attachedHost;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},B=class extends j{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(e,t,i,n,s){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.projectableNodes=s}},A=class extends j{templateRef;viewContainerRef;context;injector;constructor(e,t,i,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},wt=class extends j{element;constructor(e){super(),this.element=e instanceof D?e.nativeElement:e}},T=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof B)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof A)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof wt)return this._attachedPortal=e,this.attachDomPortal(e)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var tt=class extends T{outletElement;_appRef;_defaultInjector;_document;constructor(e,t,i,n,s){super(),this.outletElement=e,this._appRef=i,this._defaultInjector=n,this._document=s}attachComponentPortal(e){let t;if(e.viewContainerRef){let i=e.injector||e.viewContainerRef.injector,n=i.get(rt,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:i,ngModuleRef:n,projectableNodes:e.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else t=ee(e.component,{elementInjector:e.injector||this._defaultInjector||k.NULL,environmentInjector:this._appRef.injector,projectableNodes:e.projectableNodes||void 0}),this._appRef.attachView(t.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(t.hostView),t.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(n=>this.outletElement.appendChild(n)),i.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(i);n!==-1&&t.remove(n)}),this._attachedPortal=e,i}attachDomPortal=e=>{let t=e.element;t.parentNode;let i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var St=(()=>{class o extends T{_moduleRef=l(rt,{optional:!0});_document=l(g);_viewContainerRef=l(U);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new ot;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,n=i.createComponent(t.component,{index:i.length,injector:t.injector||i.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=t=>{let i=t.element;i.parentNode;let n=this._document.createComment("dom-portal");t.setAttachedHost(this),i.parentNode.insertBefore(n,i),this._getRootNode().appendChild(i),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(i,n)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[z]})}return o})();var Ae=20,pe=(()=>{class o{_ngZone=l(w);_platform=l(C);_document=l(g,{optional:!0});constructor(){}_scrolled=new p;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Ae){return this._platform.isBrowser?new Ft(i=>{this._globalSubscription||this._addGlobalListener();let n=t>0?this._scrolled.pipe(nt(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Lt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let n=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(W(s=>!s||n.indexOf(s)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let n=ae(i),s=t.getElementRef().nativeElement;do if(n==s)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return Vt(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Te=20,Rt=(()=>{class o{_platform=l(C);_viewportSize;_change=new p;_changeListener=t=>{this._change.next(t)};_document=l(g,{optional:!0});constructor(){l(w).runOutsideAngular(()=>{if(this._platform.isBrowser){let i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),n=t.documentElement,s=n.getBoundingClientRect(),r=-s.top||t.body.scrollTop||i.scrollY||n.scrollTop||0,a=-s.left||t.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:r,left:a}}change(t=Te){return t>0?this._change.pipe(nt(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var _e=mt(),xt=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(e,t){this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=f(-this._previousScrollPosition.left),e.style.top=f(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,i=e.style,n=t.style,s=i.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),_e&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_e&&(i.scrollBehavior=s,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}};var Et=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(e,t,i,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(W(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},it=class{enable(){}disable(){}attach(){}};function Ot(o,e){return e.some(t=>{let i=o.bottomt.bottom,s=o.rightt.right;return i||n||s||r})}function me(o,e){return e.some(t=>{let i=o.topt.bottom,s=o.leftt.right;return i||n||s||r})}var Dt=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:n}=this._viewportRuler.getViewportSize();Ot(t,[{width:i,height:n,bottom:n,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Fe=(()=>{class o{_scrollDispatcher=l(pe);_viewportRuler=l(Rt);_ngZone=l(w);_document=l(g);constructor(){}noop=()=>new it;close=t=>new Et(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new xt(this._viewportRuler,this._document);reposition=t=>new Dt(this._scrollDispatcher,this._viewportRuler,this._ngZone,t);static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),H=class{positionStrategy;scrollStrategy=new it;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(e){if(e){let t=Object.keys(e);for(let i of t)e[i]!==void 0&&(this[i]=e[i])}}};var Pt=class{connectionPair;scrollableViewProperties;constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}};var ke=(()=>{class o{_attachedOverlays=[];_document=l(g);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Le=(()=>{class o extends ke{_ngZone=l(w,{optional:!0});add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=t=>{let i=this._attachedOverlays;for(let n=i.length-1;n>-1;n--)if(i[n]._keydownEvents.observers.length>0){let s=i[n]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(t)):s.next(t);break}};static \u0275fac=(()=>{let t;return function(n){return(t||(t=Z(o)))(n||o)}})();static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ve=(()=>{class o extends ke{_platform=l(C);_ngZone=l(w,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(t){if(super.add(t),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=t=>{this._pointerDownEventTarget=gt(t)};_clickListener=t=>{let i=gt(t),n=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let s=this._attachedOverlays.slice();for(let r=s.length-1;r>-1;r--){let a=s[r];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(ge(a.overlayElement,i)||ge(a.overlayElement,n))break;let h=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(t)):h.next(t)}};static \u0275fac=(()=>{let t;return function(n){return(t||(t=Z(o)))(n||o)}})();static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function ge(o,e){let t=typeof ShadowRoot<"u"&&ShadowRoot,i=e;for(;i;){if(i===o)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Ce=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=S({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return o})(),Se=(()=>{class o{_platform=l(C);_containerElement;_document=l(g);_styleLoader=l(yt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||vt()){let n=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(e);_backdropTransitionendHandler=e=>{this._disposeBackdrop(e.target)};_previousHostParent;_keydownEvents=new p;_outsidePointerEvents=new p;_renders=new p;_afterRenderRef;_afterNextRenderRef;constructor(e,t,i,n,s,r,a,h,d,c=!1,u){this._portalOutlet=e,this._host=t,this._pane=i,this._config=n,this._ngZone=s,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=d,this._animationsDisabled=c,this._injector=u,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=te(()=>Wt(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=st(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=b(b({},this._config),e),this._updateElementSize()}setDirection(e){this._config=It(b({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=f(this._config.width),e.height=f(this._config.height),e.minWidth=f(this._config.minWidth),e.minHeight=f(this._config.minHeight),e.maxWidth=f(this._config.maxWidth),e.maxHeight=f(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){let n=_t(t||[]).filter(s=>!!s);n.length&&(i?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(F(zt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},ve="cdk-overlay-connected-position-bounding-box",ze=/([A-Za-z%]+)$/,Bt=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new p;_resizeSubscription=X.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(e,t,i,n,s){this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=s,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(ve),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,i=this._viewportRect,n=this._containerRect,s=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(e,n,a),d=this._getOverlayPoint(h,t,a),c=this._getOverlayFit(d,t,i,a);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(c,d,i)){s.push({position:a,origin:h,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=c,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ve),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let n;if(i.originX=="center")n=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=i.originX=="start"?r:a}t.left<0&&(n-=t.left);let s;return i.originY=="center"?s=e.top+e.height/2:s=i.originY=="top"?e.top:e.bottom,t.top<0&&(s-=t.top),{x:n,y:s}}_getOverlayPoint(e,t,i){let n;i.overlayX=="center"?n=-t.width/2:i.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let s;return i.overlayY=="center"?s=-t.height/2:s=i.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+s}}_getOverlayFit(e,t,i,n){let s=be(t),{x:r,y:a}=e,h=this._getOffset(n,"x"),d=this._getOffset(n,"y");h&&(r+=h),d&&(a+=d);let c=0-r,u=r+s.width-i.width,O=0-a,v=a+s.height-i.height,_=this._subtractOverflows(s.width,c,u),y=this._subtractOverflows(s.height,O,v),Tt=_*y;return{visibleArea:Tt,isCompletelyWithinViewport:s.width*s.height===Tt,fitsInViewportVertically:y===s.height,fitsInViewportHorizontally:_==s.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){let n=i.bottom-t.y,s=i.right-t.x,r=ye(this._overlayRef.getConfig().minHeight),a=ye(this._overlayRef.getConfig().minWidth),h=e.fitsInViewportVertically||r!=null&&r<=n,d=e.fitsInViewportHorizontally||a!=null&&a<=s;return h&&d}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=be(t),s=this._viewportRect,r=Math.max(e.x+n.width-s.width,0),a=Math.max(e.y+n.height-s.height,0),h=Math.max(s.top-i.top-e.y,0),d=Math.max(s.left-i.left-e.x,0),c=0,u=0;return n.width<=s.width?c=d||-r:c=e.x_&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-_/2)}let h=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,d=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,u,O;if(d)O=i.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(h)u=e.x,c=i.right-e.x;else{let v=Math.min(i.right-e.x+i.left,e.x),_=this._lastBoundingBoxSize.width;c=v*2,u=e.x-v,c>_&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-_/2)}return{top:r,left:u,bottom:a,right:O,width:c,height:s}}_setBoundingBoxStyles(e,t){let i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let s=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=f(i.height),n.top=f(i.top),n.bottom=f(i.bottom),n.width=f(i.width),n.left=f(i.left),n.right=f(i.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",s&&(n.maxHeight=f(s)),r&&(n.maxWidth=f(r))}this._lastBoundingBoxSize=i,P(this._boundingBox.style,n)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();P(i,this._getExactOverlayY(t,e,c)),P(i,this._getExactOverlayX(t,e,c))}else i.position="static";let a="",h=this._getOffset(t,"x"),d=this._getOffset(t,"y");h&&(a+=`translateX(${h}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),r.maxHeight&&(n?i.maxHeight=f(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=f(r.maxWidth):s&&(i.maxWidth="")),P(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(s.y+this._overlayRect.height)}px`}else n.top=f(s.y);return n}_getExactOverlayX(e,t,i){let n={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(s.x+this._overlayRect.width)}px`}else n.left=f(s.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:me(e,i),isOriginOutsideView:Ot(e,i),isOverlayClipped:me(t,i),isOverlayOutsideView:Ot(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,n)=>i-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&_t(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof D)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}};function P(o,e){for(let t in e)e.hasOwnProperty(t)&&(o[t]=e[t]);return o}function ye(o){if(typeof o!="number"&&o!=null){let[e,t]=o.split(ze);return!t||t==="px"?parseFloat(e):null}return o||null}function be(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}function Ne(o,e){return o===e?!0:o.isOriginClipped===e.isOriginClipped&&o.isOriginOutsideView===e.isOriginOutsideView&&o.isOverlayClipped===e.isOverlayClipped&&o.isOverlayOutsideView===e.isOverlayOutsideView}var we="cdk-global-overlay-wrapper",At=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(we),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:r,maxHeight:a}=i,h=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),d=(s==="100%"||s==="100vh")&&(!a||a==="100%"||a==="100vh"),c=this._xPosition,u=this._xOffset,O=this._overlayRef.getConfig().direction==="rtl",v="",_="",y="";h?y="flex-start":c==="center"?(y="center",O?_=u:v=u):O?c==="left"||c==="end"?(y="flex-end",v=u):(c==="right"||c==="start")&&(y="flex-start",_=u):c==="left"||c==="start"?(y="flex-start",v=u):(c==="right"||c==="end")&&(y="flex-end",_=u),e.position=this._cssPosition,e.marginLeft=h?"0":v,e.marginTop=d?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=h?"0":_,t.justifyContent=y,t.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(we),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},je=(()=>{class o{_viewportRuler=l(Rt);_document=l(g);_platform=l(C);_overlayContainer=l(Se);constructor(){}global(){return new At}flexibleConnectedTo(t){return new Bt(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Re=(()=>{class o{scrollStrategies=l(Fe);_overlayContainer=l(Se);_positionBuilder=l(je);_keyboardDispatcher=l(Le);_injector=l(k);_ngZone=l(w);_document=l(g);_directionality=l(le);_location=l(ie);_outsideClickDispatcher=l(Ve);_animationsModuleType=l(Xt,{optional:!0});_idGenerator=l(J);_appRef;_styleLoader=l(yt);constructor(){}create(t){this._styleLoader.load(Ce);let i=this._createHostElement(),n=this._createPaneElement(i),s=this._createPortalOutlet(n),r=new H(t);return r.direction=r.direction||this._directionality.value,new Mt(s,i,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Nt))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Gt)),new tt(t,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function He(o,e){if(o&1){let t=Kt();x(0,"div",1)(1,"button",2),G("click",function(){jt(t);let n=lt();return Ht(n.action())}),ct(2),E()()}if(o&2){let t=lt();M(2),ht(" ",t.data.action," ")}}var Ye=["label"];function Xe(o,e){}var We=Math.pow(2,31)-1,Y=class{_overlayRef;instance;containerInstance;_afterDismissed=new p;_afterOpened=new p;_onAction=new p;_durationTimeoutId;_dismissedByAction=!1;constructor(e,t){this._overlayRef=t,this.containerInstance=e,e._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(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,We))}_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}},xe=new L("MatSnackBarData"),I=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},Ze=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return o})(),Ue=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return o})(),Ge=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275dir=R({type:o,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return o})(),$e=(()=>{class o{snackBarRef=l(Y);data=l(xe);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=S({type:o,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,n){i&1&&(x(0,"div",0),ct(1),E(),at(2,He,3,1,"div",1)),i&2&&(M(),ht(" ",n.data.message,` `),M(),qt(n.hasAction?2:-1))},dependencies:[fe,Ze,Ue,Ge],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return o})(),qe={snackBarState:ne("state",[ut("void, hidden",Q({transform:"scale(0.8)",opacity:0})),ut("visible",Q({transform:"scale(1)",opacity:1})),pt("* => visible",ft("150ms cubic-bezier(0, 0, 0.2, 1)")),pt("* => void, * => hidden",ft("75ms cubic-bezier(0.4, 0.0, 1, 1)",Q({opacity:0})))])},Ke=(()=>{class o extends T{_ngZone=l(w);_elementRef=l(D);_changeDetectorRef=l(dt);_platform=l(C);snackBarConfig=l(I);_document=l(g);_trackedModals=new Set;_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new p;_onExit=new p;_onEnter=new p;_animationState="void";_live;_label;_role;_liveElementId=l(J).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 i=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),i}attachTemplatePortal(t){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),i}attachDomPortal=t=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),i};onAnimationEnd(t){let{fromState:i,toState:n}=t;if((n==="void"&&i!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>t.classList.add(r)):t.classList.add(i)),this._exposeToModals();let n=this._label.nativeElement,s="mdc-snackbar__label";n.classList.toggle(s,!n.querySelector(`.${s}`))}_exposeToModals(){let t=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let i=t.getAttribute("aria-owns");if(i){let n=i.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(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&i){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),i.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=S({type:o,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,n){if(i&1&&($(St,7),$(Ye,7)),i&2){let s;q(s=K())&&(n._portalOutlet=s.first),q(s=K())&&(n._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(i,n){i&1&&Jt("@state.done",function(r){return n.onAnimationEnd(r)}),i&2&&Qt("@state",n._animationState)},features:[z],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(i,n){i&1&&(x(0,"div",1)(1,"div",2,0)(3,"div",3),at(4,Xe,0,0,"ng-template",4),E(),N(5,"div"),E()()),i&2&&(M(5),$t("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[St],styles:[".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-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(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-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(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-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-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-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[qe.snackBarState]}})}return o})();function Qe(){return new I}var Je=new L("mat-snack-bar-default-options",{providedIn:"root",factory:Qe}),Ee=(()=>{class o{_overlay=l(Re);_live=l(de);_injector=l(k);_breakpointObserver=l(ce);_parentSnackBar=l(o,{optional:!0,skipSelf:!0});_defaultConfig=l(Je);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=$e;snackBarContainerComponent=Ke;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,i){return this._attach(t,i)}openFromTemplate(t,i){return this._attach(t,i)}open(t,i="",n){let s=b(b({},this._defaultConfig),n);return s.data={message:t,action:i},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,i){let n=i&&i.viewContainerRef&&i.viewContainerRef.injector,s=k.create({parent:n||this._injector,providers:[{provide:I,useValue:i}]}),r=new B(this.snackBarContainerComponent,i.viewContainerRef,s),a=t.attach(r);return a.instance.snackBarConfig=i,a.instance}_attach(t,i){let n=b(b(b({},new I),this._defaultConfig),i),s=this._createOverlay(n),r=this._attachSnackBarContainer(s,n),a=new Y(r,s);if(t instanceof V){let h=new A(t,null,{$implicit:n.data,snackBarRef:a});a.instance=r.attachTemplatePortal(h)}else{let h=this._createInjector(n,a),d=new B(t,void 0,h),c=r.attachComponentPortal(d);a.instance=c.instance}return this._breakpointObserver.observe(he.HandsetPortrait).pipe(F(s.detachments())).subscribe(h=>{s.overlayElement.classList.toggle(this.handsetCssClass,h.matches)}),n.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,i){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),i.duration&&i.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(i.duration))}_createOverlay(t){let i=new H;i.direction=t.direction;let n=this._overlay.position().global(),s=t.direction==="rtl",r=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!s||t.horizontalPosition==="end"&&s,a=!r&&t.horizontalPosition!=="center";return r?n.left("0"):a?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),i.positionStrategy=n,this._overlay.create(i)}_createInjector(t,i){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return k.create({parent:n||this._injector,providers:[{provide:Y,useValue:i},{provide:xe,useValue:t.data}]})}static \u0275fac=function(i){return new(i||o)};static \u0275prov=m({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Oe=class o{constructor(e){this.snackbar=e}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via component!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}static{this.\u0275fac=function(t){return new(t||o)(Ut(Ee))}}static{this.\u0275cmp=S({type:o,selectors:[["app-clipboard-button"]],decls:3,vars:0,consts:[["mat-icon-button","",1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"]],template:function(t,i){t&1&&(x(0,"button",0),G("click",function(){return i.onCopyToClipboard()}),Yt(),x(1,"svg",1),N(2,"path",2),E()())},dependencies:[bt,ue],styles:[".btn-clipboard.mat-mdc-icon-button[_ngcontent-%COMP%]{height:30px;width:30px;padding:0}"],changeDetection:0})}};export{si as a,Rt as b,Ee as c,Oe as d}; diff --git a/chunk-35742YUV.js b/chunk-QEBG4HNN.js similarity index 67% rename from chunk-35742YUV.js rename to chunk-QEBG4HNN.js index 29e2f73..ea03ca7 100644 --- a/chunk-35742YUV.js +++ b/chunk-QEBG4HNN.js @@ -1,4 +1,4 @@ -import{a as b,b as E,c as _,d as D,e as R,f as L,g as F,h as I,i as O}from"./chunk-2AOCEGWT.js";import"./chunk-LI3L4VBM.js";import{a as w,b as x}from"./chunk-4AFKNOE3.js";import{Fa as s,Ka as o,La as r,Ma as v,aa as g,bb as a,eb as m,ec as y,fb as c,gb as p,la as l,ma as d,ra as f,rc as C,sc as M,tc as k,wc as S}from"./chunk-L73B4PLA.js";var h=class u{constructor(e,n){this.elementRef=e;this.markdownService=n;this.overrideEnabled=!1;this._accentColor="";this.markdown=`## Markdown __rulez__! +import{a as b,b as E,c as _,d as D,e as R,f as L,g as F,h as I,i as O}from"./chunk-A4DKVPQ2.js";import"./chunk-2C5KW35L.js";import{a as w,b as x}from"./chunk-24RKEVHA.js";import{Fa as s,Ka as o,La as r,Ma as v,aa as g,bb as a,eb as m,ec as y,fb as c,gb as p,la as l,ma as d,ra as f,rc as C,sc as M,tc as k,wc as S}from"./chunk-XUHCC3XM.js";var h=class u{constructor(e,n){this.elementRef=e;this.markdownService=n;this.overrideEnabled=!1;this._accentColor="";this.markdown=`## Markdown rulez! --- ### Syntax highlight @@ -13,7 +13,7 @@ const language = 'typescript'; - Another unordered bullet point ### Blockquote -> Blockquote to the max`}get accentColor(){return this._accentColor}set accentColor(e){this._accentColor!==e&&(this._accentColor=e,this.changeAccentColor())}ngOnInit(){this.setHeadings()}ngOnDestroy(){this.resetRenderer()}changeAccentColor(){let e=this.accentColor?` style="color: ${this.accentColor}"`:"";this.overrideRenderer(e),this.markdownService.reload()}overrideRenderer(e){this.overrideEnabled=!0,this.markdownService.renderer.heading=(n,t)=>this.overrideEnabled?`${n}`:!1}resetRenderer(){this.overrideEnabled=!1}setHeadings(){let e=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(n=>e.push(n)),this.headings=e}static{this.\u0275fac=function(n){return new(n||u)(d(g),d(y))}}static{this.\u0275cmp=f({type:u,selectors:[["app-rerender"]],decls:20,vars:4,consts:[[3,"headings"],["id","example"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","16px"],["fxLayout","column","fxFlex.gt-sm","calc(50% - 8px)"],["appearance","fill","color","accent","floatLabel","always","fxFlex",""],["matInput","","placeholder","Ex: red, blue, #00a, etc.",3,"ngModelChange","ngModel"],["appearance","fill","color","accent","fxFlex",""],["matInput","",3,"ngModelChange","ngModel"],["fxFlex.gt-sm","calc(50% - 8px)",3,"data"]],template:function(n,t){n&1&&(o(0,"app-scrollspy-nav-layout",0)(1,"h1"),a(2,"Re-render"),r(),o(3,"markdown"),a(4,` +> Blockquote to the max`}get accentColor(){return this._accentColor}set accentColor(e){this._accentColor!==e&&(this._accentColor=e,this.changeAccentColor())}ngOnInit(){this.setHeadings()}ngOnDestroy(){this.resetRenderer()}changeAccentColor(){let e=this.accentColor?` style="color: ${this.accentColor}"`:"";this.overrideRenderer(e),this.markdownService.reload()}overrideRenderer(e){this.overrideEnabled=!0,this.markdownService.renderer.heading=({text:n,depth:t})=>this.overrideEnabled?`${n}`:!1}resetRenderer(){this.overrideEnabled=!1}setHeadings(){let e=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(n=>e.push(n)),this.headings=e}static{this.\u0275fac=function(n){return new(n||u)(d(g),d(y))}}static{this.\u0275cmp=f({type:u,selectors:[["app-rerender"]],decls:20,vars:4,consts:[[3,"headings"],["id","example"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","16px"],["fxLayout","column","fxFlex.gt-sm","calc(50% - 8px)"],["appearance","fill","color","accent","floatLabel","always","fxFlex",""],["matInput","","placeholder","Ex: red, blue, #00a, etc.",3,"ngModelChange","ngModel"],["appearance","fill","color","accent","fxFlex",""],["matInput","",3,"ngModelChange","ngModel"],["fxFlex.gt-sm","calc(50% - 8px)",3,"data"]],template:function(n,t){n&1&&(o(0,"app-scrollspy-nav-layout",0)(1,"h1"),a(2,"Re-render"),r(),o(3,"markdown"),a(4,` In some situations, you might need to re-render markdown after making changes. If you've updated the text this would be done automatically, however if the changes are internal to the library such as rendering options, you will need to inform the \`MarkdownService\` that it needs to update. To do so, inject the \`MarkdownService\` and call the \`reload()\` function as shown below. diff --git a/chunk-R3OWIIC4.js b/chunk-QIEIMAKB.js similarity index 80% rename from chunk-R3OWIIC4.js rename to chunk-QIEIMAKB.js index 5d9ae77..ead0493 100644 --- a/chunk-R3OWIIC4.js +++ b/chunk-QIEIMAKB.js @@ -1 +1 @@ -import{B as e,Db as n,K as i,N as o}from"./chunk-L73B4PLA.js";var p=class t{constructor(r){this.httpClient=r}get(r){return this.httpClient.get(r,{responseType:"text"}).pipe(e())}static{this.\u0275fac=function(a){return new(a||t)(o(n))}}static{this.\u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})}};export{p as a}; +import{B as e,Db as n,K as i,N as o}from"./chunk-XUHCC3XM.js";var p=class t{constructor(r){this.httpClient=r}get(r){return this.httpClient.get(r,{responseType:"text"}).pipe(e())}static{this.\u0275fac=function(a){return new(a||t)(o(n))}}static{this.\u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})}};export{p as a}; diff --git a/chunk-5MEH3AUT.js b/chunk-TANGDGL2.js similarity index 94% rename from chunk-5MEH3AUT.js rename to chunk-TANGDGL2.js index 79a7334..d82669a 100644 --- a/chunk-5MEH3AUT.js +++ b/chunk-TANGDGL2.js @@ -1,2 +1,2 @@ -import{Hb as c,_ as s,aa as m,ec as d,f as a,ma as r,ua as n,ya as f,z as p}from"./chunk-L73B4PLA.js";var w=class t{transform(e,i){return e==null&&(e=""),i==null&&(i=""),typeof e!="string"?(console.error(`LanguagePipe has been invoked with an invalid value type [${typeof e}]`),e):typeof i!="string"?(console.error(`LanguagePipe has been invoked with an invalid parameter [${typeof i}]`),e):"```"+i+` +import{Hb as c,_ as s,aa as m,ec as d,f as a,ma as r,ua as n,ya as f,z as p}from"./chunk-XUHCC3XM.js";var w=class t{transform(e,i){return e==null&&(e=""),i==null&&(i=""),typeof e!="string"?(console.error(`LanguagePipe has been invoked with an invalid value type [${typeof e}]`),e):typeof i!="string"?(console.error(`LanguagePipe has been invoked with an invalid parameter [${typeof i}]`),e):"```"+i+` `+e+"\n```"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=n({name:"language",type:t,pure:!0})}};var l=class t{constructor(e,i,o,y,P){this.domSanitizer=e;this.elementRef=i;this.markdownService=o;this.viewContainerRef=y;this.zone=P}transform(e,i){return a(this,null,function*(){if(e==null)return"";if(typeof e!="string")return console.error(`MarkdownPipe has been invoked with an invalid value type [${typeof e}]`),e;let o=yield this.markdownService.parse(e,i);return this.zone.onStable.pipe(p()).subscribe(()=>this.markdownService.render(this.elementRef.nativeElement,i,this.viewContainerRef)),this.domSanitizer.bypassSecurityTrustHtml(o)})}static{this.\u0275fac=function(i){return new(i||t)(r(c,16),r(m,16),r(d,16),r(f,16),r(s,16))}}static{this.\u0275pipe=n({name:"markdown",type:t,pure:!0})}};export{w as a,l as b}; diff --git a/chunk-EYDZYKSY.js b/chunk-TWVJDCPM.js similarity index 93% rename from chunk-EYDZYKSY.js rename to chunk-TWVJDCPM.js index 4cdd4c7..0d944dd 100644 --- a/chunk-EYDZYKSY.js +++ b/chunk-TWVJDCPM.js @@ -1,4 +1,4 @@ -import{a as _}from"./chunk-R3OWIIC4.js";import{a as b,b as S}from"./chunk-5MEH3AUT.js";import{a as F,b as I,c as U,d as H,f as R,g as T,h as O,i as W}from"./chunk-2AOCEGWT.js";import"./chunk-LI3L4VBM.js";import{a as E,b as P}from"./chunk-4AFKNOE3.js";import{Ab as x,Fa as o,Ka as t,La as e,Ma as r,aa as k,bb as n,eb as g,fb as h,gb as w,ha as v,ib as d,jb as s,kb as f,la as i,ma as c,ra as M,rc as C,sc as L,tc as D,wc as B}from"./chunk-L73B4PLA.js";var y=class u{constructor(l,m){this.elementRef=l;this.rawLoaderService=m;this.demoPython$=this.rawLoaderService.get("app/bindings/remote/demo.py");this.markdown='### Markdown example\n---\nThis is an **example** where we bind a variable to the `markdown` component that is also bound to a textarea.\n\n#### example.component.ts\n```typescript\npublic markdown = "# Markdown";\n```\n\n#### example.component.html\n```html\n\n\n```';this.typescriptMarkdown=`import { Component } from '@angular/core'; +import{a as _}from"./chunk-QIEIMAKB.js";import{a as b,b as S}from"./chunk-TANGDGL2.js";import{a as F,b as I,c as U,d as H,f as R,g as T,h as O,i as W}from"./chunk-A4DKVPQ2.js";import"./chunk-2C5KW35L.js";import{a as E,b as P}from"./chunk-24RKEVHA.js";import{Ab as x,Fa as o,Ka as t,La as e,Ma as r,aa as k,bb as n,eb as g,fb as h,gb as w,ha as v,ib as d,jb as s,kb as f,la as i,ma as c,ra as M,rc as C,sc as L,tc as D,wc as B}from"./chunk-XUHCC3XM.js";var y=class u{constructor(l,m){this.elementRef=l;this.rawLoaderService=m;this.demoPython$=this.rawLoaderService.get("app/bindings/remote/demo.py");this.markdown='### Markdown example\n---\nThis is an **example** where we bind a variable to the `markdown` component that is also bound to a textarea.\n\n#### example.component.ts\n```typescript\npublic markdown = "# Markdown";\n```\n\n#### example.component.html\n```html\n\n\n```';this.typescriptMarkdown=`import { Component } from '@angular/core'; @Component({ selector: 'markdown-demo', diff --git a/chunk-CSSZINFK.js b/chunk-WCEWIY2V.js similarity index 94% rename from chunk-CSSZINFK.js rename to chunk-WCEWIY2V.js index 721da57..9f827b0 100644 --- a/chunk-CSSZINFK.js +++ b/chunk-WCEWIY2V.js @@ -1,4 +1,4 @@ -import{a as w,b as k}from"./chunk-5MEH3AUT.js";import{a as v,b as E}from"./chunk-4AFKNOE3.js";import{Ab as x,Fa as o,Ka as n,La as e,Ma as s,aa as m,bb as t,ha as c,ib as l,jb as p,kb as f,la as r,ma as u,ra as y}from"./chunk-L73B4PLA.js";var h=class d{constructor(a){this.elementRef=a;this.myValue="print('hello-world')"}ngOnInit(){this.setHeadings()}setHeadings(){let a=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(i=>a.push(i)),this.headings=a}static{this.\u0275fac=function(i){return new(i||d)(u(m))}}static{this.\u0275cmp=y({type:d,selectors:[["app-syntax-highlight"]],decls:25,vars:10,consts:[[3,"headings"],["id","getting-started"],["id","auto-detect"],[3,"src"],["id","interpolation"],["emoji",""],["id","language-pipe"],[3,"innerHTML"]],template:function(i,g){i&1&&(n(0,"app-scrollspy-nav-layout",0)(1,"h1",1),t(2,"Syntax Highlight"),e(),n(3,"section")(4,"h2",2),t(5,"Auto-Detect"),e(),n(6,"markdown"),t(7,` +import{a as w,b as k}from"./chunk-TANGDGL2.js";import{a as v,b as E}from"./chunk-24RKEVHA.js";import{Ab as x,Fa as o,Ka as n,La as e,Ma as s,aa as m,bb as t,ha as c,ib as l,jb as p,kb as f,la as r,ma as u,ra as y}from"./chunk-XUHCC3XM.js";var h=class d{constructor(a){this.elementRef=a;this.myValue="print('hello-world')"}ngOnInit(){this.setHeadings()}setHeadings(){let a=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(i=>a.push(i)),this.headings=a}static{this.\u0275fac=function(i){return new(i||d)(u(m))}}static{this.\u0275cmp=y({type:d,selectors:[["app-syntax-highlight"]],decls:25,vars:10,consts:[[3,"headings"],["id","getting-started"],["id","auto-detect"],[3,"src"],["id","interpolation"],["emoji",""],["id","language-pipe"],[3,"innerHTML"]],template:function(i,g){i&1&&(n(0,"app-scrollspy-nav-layout",0)(1,"h1",1),t(2,"Syntax Highlight"),e(),n(3,"section")(4,"h2",2),t(5,"Auto-Detect"),e(),n(6,"markdown"),t(7,` When using the \`src\` input property to load file remotely, language for syntax highlight will be auto-detected based on the loaded file extension. The following example... diff --git a/chunk-XUHCC3XM.js b/chunk-XUHCC3XM.js new file mode 100644 index 0000000..75b43c8 --- /dev/null +++ b/chunk-XUHCC3XM.js @@ -0,0 +1,73 @@ +var wx=Object.create;var Xa=Object.defineProperty,_x=Object.defineProperties,Ex=Object.getOwnPropertyDescriptor,Ix=Object.getOwnPropertyDescriptors,Cx=Object.getOwnPropertyNames,Oo=Object.getOwnPropertySymbols,Mx=Object.getPrototypeOf,Ja=Object.prototype.hasOwnProperty,uh=Object.prototype.propertyIsEnumerable;var lh=(t,n,e)=>n in t?Xa(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,m=(t,n)=>{for(var e in n||={})Ja.call(n,e)&&lh(t,e,n[e]);if(Oo)for(var e of Oo(n))uh.call(n,e)&&lh(t,e,n[e]);return t},j=(t,n)=>_x(t,Ix(n));var Tx=(t,n)=>{var e={};for(var r in t)Ja.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&Oo)for(var r of Oo(t))n.indexOf(r)<0&&uh.call(t,r)&&(e[r]=t[r]);return e};var Lk=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var Sx=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of Cx(n))!Ja.call(t,i)&&i!==e&&Xa(t,i,{get:()=>n[i],enumerable:!(r=Ex(n,i))||r.enumerable});return t};var Pk=(t,n,e)=>(e=t!=null?wx(Mx(t)):{},Sx(n||!t||!t.__esModule?Xa(e,"default",{value:t,enumerable:!0}):e,t));var fi=(t,n,e)=>new Promise((r,i)=>{var o=c=>{try{a(e.next(c))}catch(l){i(l)}},s=c=>{try{a(e.throw(c))}catch(l){i(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((e=e.apply(t,n)).next())});function ic(t,n){return Object.is(t,n)}var se=null,hi=!1,oc=1,ge=Symbol("SIGNAL");function $(t){let n=se;return se=t,n}function dh(){return se}function Ax(){return hi}var Mn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Lo(t){if(hi)throw new Error("");if(se===null)return;se.consumerOnSignalRead(t);let n=se.nextProducerIndex++;if(jo(se),nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function gi(t){jo(t);for(let n=0;n0}function jo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function gh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function bh(t){return t.producerNode!==void 0}function ac(t){let n=Object.create(Nx);n.computation=t;let e=()=>{if(sc(n),Lo(n),n.value===Fo)throw n.error;return n.value};return e[ge]=n,e}var ec=Symbol("UNSET"),tc=Symbol("COMPUTING"),Fo=Symbol("ERRORED"),Nx=j(m({},Mn),{value:ec,dirty:!0,error:null,equal:ic,producerMustRecompute(t){return t.value===ec||t.value===tc},producerRecomputeValue(t){if(t.value===tc)throw new Error("Detected cycle in computations.");let n=t.value;t.value=tc;let e=cr(t),r;try{r=t.computation()}catch(i){r=Fo,t.error=i}finally{mi(t,e)}if(n!==ec&&n!==Fo&&r!==Fo&&t.equal(n,r)){t.value=n;return}t.value=r,t.version++}});function Rx(){throw new Error}var yh=Rx;function vh(){yh()}function xh(t){yh=t}var Ox=null;function Dh(t){let n=Object.create(cc);n.value=t;let e=()=>(Lo(n),n.value);return e[ge]=n,e}function Bo(t,n){hh()||vh(),t.equal(t.value,n)||(t.value=n,Fx(t))}function wh(t,n){hh()||vh(),Bo(t,n(t.value))}var cc=j(m({},Mn),{equal:ic,value:void 0});function Fx(t){t.version++,kx(),fh(t),Ox?.()}function _h(t,n,e){let r=Object.create(Lx);e&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=n;let i=c=>{r.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(lr(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=rc)}let a=()=>{if(r.fn===null)return;if(Ax())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!gi(r))return;r.hasRun=!0;let c=cr(r);try{r.cleanupFn(),r.cleanupFn=rc,r.fn(i)}finally{mi(r,c)}};return r.ref={notify:()=>ph(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ge]:r},r.ref}var rc=()=>{},Lx=j(m({},Mn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:rc});function At(t){return typeof t=="function"}var lc=!1,Te={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){let n=new Error;console.warn(`DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: +`+n.stack)}else lc&&console.log("RxJS: Back to a better error behavior. Thank you. <3");lc=t},get useDeprecatedSynchronousErrorHandling(){return lc}};function kt(t){setTimeout(()=>{throw t},0)}var ur={closed:!0,next(t){},error(t){if(Te.useDeprecatedSynchronousErrorHandling)throw t;kt(t)},complete(){}};var Ke=Array.isArray||(t=>t&&typeof t.length=="number");function dr(t){return t!==null&&typeof t=="object"}var Px=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((e,r)=>`${r+1}) ${e.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})(),bi=Px;var B=class t{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_unsubscribe:r,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof t)e.remove(this);else if(e!==null)for(let o=0;on.concat(e instanceof bi?e.errors:e),[])}var Tn=typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();var S=class t extends B{constructor(n,e,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=ur;break;case 1:if(!n){this.destination=ur;break}if(typeof n=="object"){n instanceof t?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new Vo(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Vo(this,n,e,r);break}}[Tn](){return this}static create(n,e,r){let i=new t(n,e,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){let{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}},Vo=class extends S{constructor(n,e,r,i){super(),this._parentSubscriber=n;let o,s=this;At(e)?o=e:e&&(o=e.next,r=e.error,i=e.complete,e!==ur&&(s=Object.create(e),At(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){let{_parentSubscriber:e}=this;!Te.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable?this.__tryOrUnsub(this._next,n):this.__tryOrSetError(e,this._next,n)&&this.unsubscribe()}}error(n){if(!this.isStopped){let{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:r}=Te;if(this._error)!r||!e.syncErrorThrowable?(this.__tryOrUnsub(this._error,n),this.unsubscribe()):(this.__tryOrSetError(e,this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=n,e.syncErrorThrown=!0):kt(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;kt(n)}}}complete(){if(!this.isStopped){let{_parentSubscriber:n}=this;if(this._complete){let e=()=>this._complete.call(this._context);!Te.useDeprecatedSynchronousErrorHandling||!n.syncErrorThrowable?(this.__tryOrUnsub(e),this.unsubscribe()):(this.__tryOrSetError(n,e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(r){if(this.unsubscribe(),Te.useDeprecatedSynchronousErrorHandling)throw r;kt(r)}}__tryOrSetError(n,e,r){if(!Te.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(i){return Te.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(kt(i),!0)}return!1}_unsubscribe(){let{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}};function Ih(t){for(;t;){let{closed:n,destination:e,isStopped:r}=t;if(n||r)return!1;e&&e instanceof S?t=e:t=null}return!0}function Ch(t,n,e){if(t){if(t instanceof S)return t;if(t[Tn])return t[Tn]()}return!t&&!n&&!e?new S(ur):new S(t,n,e)}var ft=typeof Symbol=="function"&&Symbol.observable||"@@observable";function tn(t){return t}function uc(...t){return dc(t)}function dc(t){return t.length===0?tn:t.length===1?t[0]:function(e){return t.reduce((r,i)=>i(r),e)}}var T=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,i){let{operator:o}=this,s=Ch(e,r,i);if(o?s.add(o.call(s,this.source)):s.add(this.source||Te.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Te.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(r){Te.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=r),Ih(e)?e.error(r):console.warn(r)}}forEach(e,r){return r=Mh(r),new r((i,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(c){o(c),s&&s.unsubscribe()}},o,i)})}_subscribe(e){let{source:r}=this;return r&&r.subscribe(e)}[ft](){return this}pipe(...e){return e.length===0?this:dc(e)(this)}toPromise(e){return e=Mh(e),new e((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=n=>new t(n),t})();function Mh(t){if(t||(t=Te.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var jx=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})(),ht=jx;var fr=class extends B{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;let n=this.subject,e=n.observers;if(this.subject=null,!e||e.length===0||n.isStopped||n.closed)return;let r=e.indexOf(this.subscriber);r!==-1&&e.splice(r,1)}};var yi=class extends S{constructor(n){super(n),this.destination=n}},k=(()=>{class t extends T{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Tn](){return new yi(this)}lift(e){let r=new $o(this,this);return r.operator=e,r}next(e){if(this.closed)throw new ht;if(!this.isStopped){let{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew $o(n,e),t})(),$o=class extends k{constructor(n,e){super(),this.destination=n,this.source=e}next(n){let{destination:e}=this;e&&e.next&&e.next(n)}error(n){let{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){let{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){let{source:e}=this;return e?this.source.subscribe(n):B.EMPTY}};function nn(){return function(n){return n.lift(new fc(n))}}var fc=class{constructor(n){this.connectable=n}call(n,e){let{connectable:r}=this;r._refCount++;let i=new hc(n,r),o=e.subscribe(i);return i.closed||(i.connection=r.connect()),o}},hc=class extends S{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){let{connectable:n}=this;if(!n){this.connection=null;return}this.connectable=null;let e=n._refCount;if(e<=0){this.connection=null;return}if(n._refCount=e-1,e>1){this.connection=null;return}let{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}};var Sn=class extends T{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new B,n.add(this.source.subscribe(new pc(this.getSubject(),this))),n.closed&&(this._connection=null,n=B.EMPTY)),n}refCount(){return nn()(this)}},Th=(()=>{let t=Sn.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})(),pc=class extends yi{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){let n=this.connectable;if(n){this.connectable=null;let e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}};var ee=class extends k{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ht;return this._value}next(n){super.next(this._value=n)}};var Uo=class extends B{constructor(n,e){super()}schedule(n,e=0){return this}};var hr=class extends Uo{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;let r=this.id,i=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(i,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(n,e,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,e,r=0){if(r!==null&&this.delay===r&&this.pending===!1)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r=!1,i;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){let n=this.id,e=this.scheduler,r=e.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,i!==-1&&r.splice(i,1),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}};var Ho=class extends hr{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,r=0){return r!==null&&r>0||r===null&&this.delay>0?super.requestAsyncId(n,e,r):n.flush(this)}};var mc=(()=>{class t{constructor(e,r=t.now){this.SchedulerAction=e,this.now=r}schedule(e,r=0,i){return new this.SchedulerAction(this,e).schedule(i,r)}}return t.now=()=>Date.now(),t})();var pr=class t extends mc{constructor(n,e=mc.now){super(n,()=>t.delegate&&t.delegate!==this?t.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,r){return t.delegate&&t.delegate!==this?t.delegate.schedule(n,e,r):super.schedule(n,e,r)}flush(n){let{actions:e}=this;if(this.active){e.push(n);return}let r;this.active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this.active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var zo=class extends pr{};var Sh=new zo(Ho);var pt=new T(t=>t.complete());function rn(t){return t?Bx(t):pt}function Bx(t){return new T(n=>t.schedule(()=>n.complete()))}function Xe(t){return t&&typeof t.schedule=="function"}var Go=t=>n=>{for(let e=0,r=t.length;e{let r=new B,i=0;return r.add(n.schedule(function(){if(i===t.length){e.complete();return}e.next(t[i++]),e.closed||r.add(this.schedule())})),r})}function gr(t,n){return n?mr(t,n):new T(Go(t))}function _(...t){let n=t[t.length-1];return Xe(n)?(t.pop(),mr(t,n)):gr(t)}function on(t,n){return n?new T(e=>n.schedule(Vx,0,{error:t,subscriber:e})):new T(e=>e.error(t))}function Vx({error:t,subscriber:n}){n.error(t)}var mt=class t{constructor(n,e,r){this.kind=n,this.value=e,this.error=r,this.hasValue=n==="N"}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,e,r){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}}accept(n,e,r){return n&&typeof n.next=="function"?this.observe(n):this.do(n,e,r)}toObservable(){switch(this.kind){case"N":return _(this.value);case"E":return on(this.error);case"C":return rn()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new t("N",n):t.undefinedValueNotification}static createError(n){return new t("E",void 0,n)}static createComplete(){return t.completeNotification}};mt.completeNotification=new mt("C");mt.undefinedValueNotification=new mt("N",void 0);var qo=class t extends S{constructor(n,e,r=0){super(n),this.scheduler=e,this.delay=r}static dispatch(n){let{notification:e,destination:r}=n;e.observe(r),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new gc(n,this.destination)))}_next(n){this.scheduleMessage(mt.createNext(n))}_error(n){this.scheduleMessage(mt.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(mt.createComplete()),this.unsubscribe()}},gc=class{constructor(n,e){this.notification=n,this.destination=e}};var Wo=class extends k{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){let e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new bc(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){let e=this._infiniteTimeWindow,r=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length,s;if(this.closed)throw new ht;if(this.isStopped||this.hasError?s=B.EMPTY:(this.observers.push(n),s=new fr(this,n)),i&&n.add(n=new qo(n,i)),e)for(let a=0;ae&&(s=Math.max(s,o-e)),s>0&&i.splice(0,s),i}},bc=class{constructor(n,e){this.time=n,this.value=e}};var br=new pr(hr);function Nt(){}function Zo(t){return!!t&&(t instanceof T||typeof t.lift=="function"&&typeof t.subscribe=="function")}var $x=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})(),Qo=$x;var Ux=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),Rt=Ux;function I(t,n){return function(r){if(typeof t!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new yc(t,n))}}var yc=class{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new vc(n,this.project,this.thisArg))}},vc=class extends S{constructor(n,e,r){super(n),this.project=e,this.count=0,this.thisArg=r||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(r){this.destination.error(r);return}this.destination.next(e)}};var Se=class extends S{notifyNext(n,e,r,i,o){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}};var gt=class extends S{constructor(n,e,r){super(),this.parent=n,this.outerValue=e,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}};var Ah=t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,kt),n);function Hx(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sn=Hx();var kh=t=>n=>{let e=t[sn]();do{let r=e.next();if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}while(!0);return typeof e.return=="function"&&n.add(()=>{e.return&&e.return()}),n};var Nh=t=>n=>{let e=t[ft]();if(typeof e.subscribe!="function")throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)};var Yo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ko(t){return!!t&&typeof t.subscribe!="function"&&typeof t.then=="function"}var Xo=t=>{if(t&&typeof t[ft]=="function")return Nh(t);if(Yo(t))return Go(t);if(Ko(t))return Ah(t);if(t&&typeof t[sn]=="function")return kh(t);{let e=`You provided ${dr(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function He(t,n,e,r,i=new gt(t,e,r)){if(!i.closed)return n instanceof T?n.subscribe(i):Xo(n)(i)}var Rh={};function yr(...t){let n=null,e=null;return Xe(t[t.length-1])&&(e=t.pop()),typeof t[t.length-1]=="function"&&(n=t.pop()),t.length===1&&Ke(t[0])&&(t=t[0]),gr(t,e).lift(new xc(n))}var xc=class{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new Dc(n,this.resultSelector))}},Dc=class extends Se{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(Rh),this.observables.push(n)}_complete(){let n=this.observables,e=n.length;if(e===0)this.destination.complete();else{this.active=e,this.toRespond=e;for(let r=0;r{let r=new B;return r.add(n.schedule(()=>{let i=t[ft]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>e.next(o)))},error(o){r.add(n.schedule(()=>e.error(o)))},complete(){r.add(n.schedule(()=>e.complete()))}}))})),r})}function Fh(t,n){return new T(e=>{let r=new B;return r.add(n.schedule(()=>t.then(i=>{r.add(n.schedule(()=>{e.next(i),r.add(n.schedule(()=>e.complete()))}))},i=>{r.add(n.schedule(()=>e.error(i)))}))),r})}function Lh(t,n){if(!t)throw new Error("Iterable cannot be null");return new T(e=>{let r=new B,i;return r.add(()=>{i&&typeof i.return=="function"&&i.return()}),r.add(n.schedule(()=>{i=t[sn](),r.add(n.schedule(function(){if(e.closed)return;let o,s;try{let a=i.next();o=a.value,s=a.done}catch(a){e.error(a);return}s?e.complete():(e.next(o),this.schedule())}))})),r})}function Ph(t){return t&&typeof t[ft]=="function"}function jh(t){return t&&typeof t[sn]=="function"}function Bh(t,n){if(t!=null){if(Ph(t))return Oh(t,n);if(Ko(t))return Fh(t,n);if(Yo(t))return mr(t,n);if(jh(t)||typeof t=="string")return Lh(t,n)}throw new TypeError((t!==null&&typeof t||t)+" is not observable")}function Y(t,n){return n?Bh(t,n):t instanceof T?t:new T(Xo(t))}function ce(t,n,e=Number.POSITIVE_INFINITY){return typeof n=="function"?r=>r.pipe(ce((i,o)=>Y(t(i,o)).pipe(I((s,a)=>n(i,s,o,a))),e)):(typeof n=="number"&&(e=n),r=>r.lift(new wc(t,e)))}var wc=class{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new _c(n,this.project,this.concurrent))}},_c=class extends Se{constructor(n,e,r=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(e.shift()):this.active===0&&this.hasCompleted&&this.destination.complete()}};function an(t=Number.POSITIVE_INFINITY){return ce(tn,t)}function Vh(){return an(1)}function cn(...t){return Vh()(_(...t))}function Jo(t){return new T(n=>{let e;try{e=t()}catch(i){n.error(i);return}return(e?Y(e):rn()).subscribe(n)})}function zx(...t){if(t.length===1){let n=t[0];if(Ke(n))return es(n,null);if(dr(n)&&Object.getPrototypeOf(n)===Object.prototype){let e=Object.keys(n);return es(e.map(r=>n[r]),e)}}if(typeof t[t.length-1]=="function"){let n=t.pop();return t=t.length===1&&Ke(t[0])?t[0]:t,es(t,null).pipe(I(e=>n(...e)))}return es(t,null)}function es(t,n){return new T(e=>{let r=t.length;if(r===0){e.complete();return}let i=new Array(r),o=0,s=0;for(let a=0;a{l||(l=!0,s++),i[a]=u},error:u=>e.error(u),complete:()=>{o++,(o===r||!l)&&(s===r&&e.next(n?n.reduce((u,d,p)=>(u[d]=i[p],u),{}):i),e.complete())}}))}})}function Ec(t,n,e,r){return At(e)&&(r=e,e=void 0),r?Ec(t,n,e).pipe(I(i=>Ke(i)?r(...i):r(i))):new T(i=>{function o(s){arguments.length>1?i.next(Array.prototype.slice.call(arguments)):i.next(s)}$h(t,n,o,i,e)})}function $h(t,n,e,r,i){let o;if(Wx(t)){let s=t;t.addEventListener(n,e,i),o=()=>s.removeEventListener(n,e,i)}else if(qx(t)){let s=t;t.on(n,e),o=()=>s.off(n,e)}else if(Gx(t)){let s=t;t.addListener(n,e),o=()=>s.removeListener(n,e)}else if(t&&t.length)for(let s=0,a=t.length;s=0}function vr(...t){let n=Number.POSITIVE_INFINITY,e=null,r=t[t.length-1];return Xe(r)?(e=t.pop(),t.length>1&&typeof t[t.length-1]=="number"&&(n=t.pop())):typeof r=="number"&&(n=t.pop()),e===null&&t.length===1&&t[0]instanceof T?t[0]:an(n)(gr(t,e))}function te(t,n){return function(r){return r.lift(new Cc(t,n))}}var Cc=class{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new Mc(n,this.predicate,this.thisArg))}},Mc=class extends S{constructor(n,e,r){super(n),this.predicate=e,this.thisArg=r,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(r){this.destination.error(r);return}e&&this.destination.next(n)}};function vi(t=0,n,e){let r=-1;return Ic(n)?r=Number(n)<1&&1||Number(n):Xe(n)&&(e=n),Xe(e)||(e=br),new T(i=>{let o=Ic(t)?t:+t-e.now();return e.schedule(Zx,o,{index:0,period:r,subscriber:i})})}function Zx(t){let{index:n,period:e,subscriber:r}=t;if(r.next(n),!r.closed){if(e===-1)return r.complete();t.index=n+1,this.schedule(t,e)}}function Uh(t){return function(e){return e.lift(new Tc(t))}}var Tc=class{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new Sc(n,this.durationSelector))}},Sc=class extends Se{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{let{durationSelector:i}=this;e=i(n)}catch(i){return this.destination.error(i)}let r=He(this,e);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){let{value:n,hasValue:e,throttled:r}=this;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,r,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}};function Qx(t,n=br){return Uh(()=>vi(t,n))}function An(t){return function(e){let r=new Ac(t),i=e.lift(r);return r.caught=i}}var Ac=class{constructor(n){this.selector=n}call(n,e){return e.subscribe(new kc(n,this.selector,this.caught))}},kc=class extends Se{constructor(n,e,r){super(n),this.selector=e,this.caught=r}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(o){super.error(o);return}this._unsubscribeAndRecycle();let r=new gt(this,void 0,void 0);this.add(r);let i=He(this,e,void 0,void 0,r);i!==r&&this.add(i)}}};function ln(t,n){return ce(t,n,1)}function un(t,n=br){return e=>e.lift(new Nc(t,n))}var Nc=class{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new Rc(n,this.dueTime,this.scheduler))}},Rc=class extends S{constructor(n,e,r){super(n),this.dueTime=e,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Yx,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){let{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){let n=this.debouncedSubscription;n!==null&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}};function Yx(t){t.debouncedNext()}function dn(t=null){return n=>n.lift(new Oc(t))}var Oc=class{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new Fc(n,this.defaultValue))}},Fc=class extends S{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}};function xr(t,n){return e=>e.lift(new Lc(t,n))}var Lc=class{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new Pc(n,this.compare,this.keySelector))}},Pc=class extends S{constructor(n,e,r){super(n),this.keySelector=r,this.hasKey=!1,typeof e=="function"&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{let{keySelector:i}=this;e=i?i(n):n}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{let{compare:i}=this;r=i(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(n))}};function ts(t=Kx){return n=>n.lift(new jc(t))}var jc=class{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new Bc(n,this.errorFactory))}},Bc=class extends S{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}};function Kx(){return new Rt}function Le(t){return n=>t===0?rn():n.lift(new Vc(t))}var Vc=class{constructor(n){if(this.total=n,this.total<0)throw new Qo}call(n,e){return e.subscribe(new $c(n,this.total))}},$c=class extends S{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){let e=this.total,r=++this.count;r<=e&&(this.destination.next(n),r===e&&(this.destination.complete(),this.unsubscribe()))}};function kn(t){return n=>n.lift(new Uc(t))}var Uc=class{constructor(n){this.callback=n}call(n,e){return e.subscribe(new Hc(n,this.callback))}},Hc=class extends S{constructor(n,e){super(n),this.add(new B(e))}};function bt(t,n){let e=arguments.length>=2;return r=>r.pipe(t?te((i,o)=>t(i,o,r)):tn,Le(1),e?dn(n):ts(()=>new Rt))}function Dr(t){return function(e){return t===0?rn():e.lift(new zc(t))}}var zc=class{constructor(n){if(this.total=n,this.total<0)throw new Qo}call(n,e){return e.subscribe(new Gc(n,this.total))}},Gc=class extends S{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){let e=this.ring,r=this.total,i=this.count++;if(e.length0){let r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;o=2;return r=>r.pipe(t?te((i,o)=>t(i,o,r)):tn,Dr(1),e?dn(n):ts(()=>new Rt))}function xi(t){return n=>n.lift(new Wc(t))}var Wc=class{constructor(n){this.value=n}call(n,e){return e.subscribe(new Zc(n,this.value))}},Zc=class extends S{constructor(n,e){super(n),this.value=e}_next(n){this.destination.next(this.value)}};function Kc(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(i){return i.lift(new Qc(t,n,e))}}var Qc=class{constructor(n,e,r=!1){this.accumulator=n,this.seed=e,this.hasSeed=r}call(n,e){return e.subscribe(new Yc(n,this.accumulator,this.seed,this.hasSeed))}},Yc=class extends S{constructor(n,e,r,i){super(n),this.accumulator=e,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(!this.hasSeed)this.seed=n,this.destination.next(n);else return this._tryNext(n)}_tryNext(n){let e=this.index++,r;try{r=this.accumulator(this.seed,n,e)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}};function Hh(t,n){return function(r){let i;if(typeof t=="function"?i=t:i=function(){return t},typeof n=="function")return r.lift(new Xc(i,n));let o=Object.create(r,Th);return o.source=r,o.subjectFactory=i,o}}var Xc=class{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){let{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(n);return o.add(e.subscribe(i)),o}};function Xx(){return t=>t.lift(new Jc)}var Jc=class{call(n,e){return e.subscribe(new el(n))}},el=class extends S{constructor(n){super(n),this.hasPrev=!1}_next(n){let e;this.hasPrev?e=[this.prev,n]:this.hasPrev=!0,this.prev=n,e&&this.destination.next(e)}};function Jx(){return new k}function eD(){return t=>nn()(Hh(Jx)(t))}function tl(t,n,e){let r;return t&&typeof t=="object"?r=t:r={bufferSize:t,windowTime:n,refCount:!1,scheduler:e},i=>i.lift(tD(r))}function tD({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:r}){let i,o=0,s,a=!1,c=!1;return function(u){o++,(!i||a)&&(a=!1,i=new Wo(t,n,r),s=u.subscribe({next(p){i.next(p)},error(p){a=!0,i.error(p)},complete(){c=!0,s=void 0,i.complete()}}));let d=i.subscribe(this);this.add(()=>{o--,d.unsubscribe(),s&&!c&&e&&o===0&&(s.unsubscribe(),s=void 0,i=void 0)})}}function Di(t){return n=>n.lift(new nl(t))}var nl=class{constructor(n){this.total=n}call(n,e){return e.subscribe(new rl(n,this.total))}},rl=class extends S{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}};function Nn(...t){let n=t[t.length-1];return Xe(n)?(t.pop(),e=>cn(t,e,n)):e=>cn(t,e)}function he(t,n){return typeof n=="function"?e=>e.pipe(he((r,i)=>Y(t(r,i)).pipe(I((o,s)=>n(r,o,i,s))))):e=>e.lift(new il(t))}var il=class{constructor(n){this.project=n}call(n,e){return e.subscribe(new ol(n,this.project))}},ol=class extends Se{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e,r=this.index++;try{e=this.project(n,r)}catch(i){this.destination.error(i);return}this._innerSub(e,n,r)}_innerSub(n,e,r){let i=this.innerSubscription;i&&i.unsubscribe();let o=new gt(this,e,r),s=this.destination;s.add(o),this.innerSubscription=He(this,n,void 0,void 0,o),this.innerSubscription!==o&&s.add(this.innerSubscription)}_complete(){let{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(n,e,r,i,o){this.destination.next(e)}};function Pe(t){return n=>n.lift(new sl(t))}var sl=class{constructor(n){this.notifier=n}call(n,e){let r=new al(n),i=He(r,this.notifier);return i&&!r.seenValue?(r.add(i),e.subscribe(r)):r}},al=class extends Se{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,r,i,o){this.seenValue=!0,this.complete()}notifyComplete(){}};function X(t,n,e){return function(i){return i.lift(new cl(t,n,e))}}var cl=class{constructor(n,e,r){this.nextOrObserver=n,this.error=e,this.complete=r}call(n,e){return e.subscribe(new ll(n,this.nextOrObserver,this.error,this.complete))}},ll=class extends S{constructor(n,e,r,i){super(n),this._tapNext=Nt,this._tapError=Nt,this._tapComplete=Nt,this._tapError=r||Nt,this._tapComplete=i||Nt,At(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Nt,this._tapError=e.error||Nt,this._tapComplete=e.complete||Nt)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){this.destination.error(e);return}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){this.destination.error(e);return}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){this.destination.error(n);return}return this.destination.complete()}};var Np="https://g.co/ng/security#xss",w=class extends Error{code;constructor(n,e){super(zs(n,e)),this.code=n}};function zs(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}var Rp=Symbol("InputSignalNode#UNSET"),nD=j(m({},cc),{transformFn:void 0,applyValueToInputSignal(t,n){Bo(t,n)}});function Op(t,n){let e=Object.create(nD);e.value=t,e.transformFn=n?.transform;function r(){if(Lo(e),e.value===Rp)throw new w(-950,!1);return e.value}return r[ge]=e,r}function Oi(t){return{toString:t}.toString()}var ns="__parameters__";function rD(t){return function(...e){if(t){let r=t(...e);for(let i in r)this[i]=r[i]}}}function Fp(t,n,e){return Oi(()=>{let r=rD(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ns)?c[ns]:Object.defineProperty(c,ns,{value:[]})[ns];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return e&&(i.prototype=Object.create(e.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Ii=globalThis;function W(t){for(let n in t)if(t[n]===W)return n;throw Error("Could not find renamed property on target object.")}function iD(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Ee(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ee).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(` +`);return e===-1?n:n.substring(0,e)}function Dl(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var oD=W({__forward_ref__:W});function Lp(t){return t.__forward_ref__=Lp,t.toString=function(){return Ee(this())},t}function we(t){return Pp(t)?t():t}function Pp(t){return typeof t=="function"&&t.hasOwnProperty(oD)&&t.__forward_ref__===Lp}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ie(t){return{providers:t.providers||[],imports:t.imports||[]}}function Gs(t){return zh(t,Bp)||zh(t,Vp)}function jp(t){return Gs(t)!==null}function zh(t,n){return t.hasOwnProperty(n)?t[n]:null}function sD(t){let n=t&&(t[Bp]||t[Vp]);return n||null}function Gh(t){return t&&(t.hasOwnProperty(qh)||t.hasOwnProperty(aD))?t[qh]:null}var Bp=W({\u0275prov:W}),qh=W({\u0275inj:W}),Vp=W({ngInjectableDef:W}),aD=W({ngInjectorDef:W}),v=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function $p(t){return t&&!!t.\u0275providers}var cD=W({\u0275cmp:W}),lD=W({\u0275dir:W}),uD=W({\u0275pipe:W}),dD=W({\u0275mod:W}),gs=W({\u0275fac:W}),Ei=W({__NG_ELEMENT_ID__:W}),Wh=W({__NG_ENV_ID__:W});function Fi(t){return typeof t=="string"?t:t==null?"":String(t)}function fD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Fi(t)}function hD(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Cu(t,n){throw new w(-201,!1)}var L=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(L||{}),wl;function Up(){return wl}function Ae(t){let n=wl;return wl=t,n}function Hp(t,n,e){let r=Gs(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&L.Optional)return null;if(n!==void 0)return n;Cu(t,"Injector")}var pD={},Ci=pD,_l="__NG_DI_FLAG__",bs="ngTempTokenPath",mD="ngTokenPath",gD=/\n/gm,bD="\u0275",Zh="__source",Cr;function yD(){return Cr}function fn(t){let n=Cr;return Cr=t,n}function vD(t,n=L.Default){if(Cr===void 0)throw new w(-203,!1);return Cr===null?Hp(t,void 0,n):Cr.get(t,n&L.Optional?null:void 0,n)}function x(t,n=L.Default){return(Up()||vD)(we(t),n)}function f(t,n=L.Default){return x(t,qs(n))}function qs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function El(t){let n=[];for(let e=0;e ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ee(a)))}i=`{${o.join(", ")}}`}return`${e}${r?"("+r+")":""}[${i}]: ${t.replace(gD,` + `)}`}var Mu=zp(Fp("Optional"),8);var Gp=zp(Fp("SkipSelf"),4);function On(t,n){let e=t.hasOwnProperty(gs);return e?t[gs]:null}function _D(t,n,e){if(t.length!==n.length)return!1;for(let r=0;rArray.isArray(e)?Tu(e,n):n(e))}function qp(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function ys(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ID(t,n){let e=[];for(let r=0;rn;){let o=i-2;t[i]=t[o],i--}t[n]=e,t[n+1]=r}}function Su(t,n,e){let r=Li(t,n);return r>=0?t[r|1]=e:(r=~r,CD(t,r,n,e)),r}function ul(t,n){let e=Li(t,n);if(e>=0)return t[e|1]}function Li(t,n){return MD(t,n,1)}function MD(t,n,e){let r=0,i=t.length>>e;for(;i!==r;){let o=r+(i-r>>1),s=t[o<n?i=o:r=o+1}return~(i<{e.push(s)};return Tu(n,s=>{let a=s;Il(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&em(i,o),e}function em(t,n){for(let e=0;e{n(o,r)})}}function Il(t,n,e,r){if(t=we(t),!t)return!1;let i=null,o=Gh(t),s=!o&&mn(t);if(!o&&!s){let c=t.ngModule;if(o=Gh(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Il(l,n,e,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{Tu(o.imports,u=>{Il(u,n,e,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&em(l,n)}if(!a){let l=On(i)||(()=>new i);n({provide:i,useFactory:l,deps:_e},i),n({provide:Zp,useValue:i,multi:!0},i),n({provide:Sr,useValue:()=>x(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=t;Au(c,u=>{n(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Au(t,n){for(let e of t)$p(e)&&(e=e.\u0275providers),Array.isArray(e)?Au(e,n):n(e)}var SD=W({provide:String,useValue:W});function tm(t){return t!==null&&typeof t=="object"&&SD in t}function AD(t){return!!(t&&t.useExisting)}function kD(t){return!!(t&&t.useFactory)}function Ar(t){return typeof t=="function"}function ND(t){return!!t.useClass}var Ws=new v(""),ls={},RD={},dl;function Zs(){return dl===void 0&&(dl=new vs),dl}var be=class{},Mi=class extends be{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,Ml(n,s=>this.processProvider(s)),this.records.set(Wp,wr(void 0,this)),i.has("environment")&&this.records.set(be,wr(void 0,this));let o=this.records.get(Ws);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Zp,_e,L.Self))}destroy(){wi(this),this._destroyed=!0;let n=$(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),$(n)}}onDestroy(n){return wi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){wi(this);let e=fn(this),r=Ae(void 0),i;try{return n()}finally{fn(e),Ae(r)}}get(n,e=Ci,r=L.Default){if(wi(this),n.hasOwnProperty(Wh))return n[Wh](this);r=qs(r);let i,o=fn(this),s=Ae(void 0);try{if(!(r&L.SkipSelf)){let c=this.records.get(n);if(c===void 0){let l=jD(n)&&Gs(n);l&&this.injectableDefInScope(l)?c=wr(Cl(n),ls):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c)}let a=r&L.Self?Zs():this.parent;return e=r&L.Optional&&e===Ci?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[bs]=a[bs]||[]).unshift(Ee(n)),o)throw a;return DD(a,n,"R3InjectorError",this.source)}else throw a}finally{Ae(s),fn(o)}}resolveInjectorInitializers(){let n=$(null),e=fn(this),r=Ae(void 0),i;try{let o=this.get(Sr,_e,L.Self);for(let s of o)s()}finally{fn(e),Ae(r),$(n)}}toString(){let n=[],e=this.records;for(let r of e.keys())n.push(Ee(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=we(n);let e=Ar(n)?n:we(n&&n.provide),r=FD(n);if(!Ar(n)&&n.multi===!0){let i=this.records.get(e);i||(i=wr(void 0,ls,!0),i.factory=()=>El(i.multi),this.records.set(e,i)),e=n,i.multi.push(n)}this.records.set(e,r)}hydrate(n,e){let r=$(null);try{return e.value===ls&&(e.value=RD,e.value=e.factory()),typeof e.value=="object"&&e.value&&PD(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{$(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=we(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Cl(t){let n=Gs(t),e=n!==null?n.factory:On(t);if(e!==null)return e;if(t instanceof v)throw new w(204,!1);if(t instanceof Function)return OD(t);throw new w(204,!1)}function OD(t){if(t.length>0)throw new w(204,!1);let e=sD(t);return e!==null?()=>e.factory(t):()=>new t}function FD(t){if(tm(t))return wr(void 0,t.useValue);{let n=nm(t);return wr(n,ls)}}function nm(t,n,e){let r;if(Ar(t)){let i=we(t);return On(i)||Cl(i)}else if(tm(t))r=()=>we(t.useValue);else if(kD(t))r=()=>t.useFactory(...El(t.deps||[]));else if(AD(t))r=()=>x(we(t.useExisting));else{let i=we(t&&(t.useClass||t.provide));if(LD(t))r=()=>new i(...El(t.deps));else return On(i)||Cl(i)}return r}function wi(t){if(t.destroyed)throw new w(205,!1)}function wr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function LD(t){return!!t.deps}function PD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function jD(t){return typeof t=="function"||typeof t=="object"&&t instanceof v}function Ml(t,n){for(let e of t)Array.isArray(e)?Ml(e,n):e&&$p(e)?Ml(e.\u0275providers,n):n(e)}function Be(t,n){t instanceof Mi&&wi(t);let e,r=fn(t),i=Ae(void 0);try{return n()}finally{fn(r),Ae(i)}}function rm(){return Up()!==void 0||yD()!=null}function Qs(t){if(!rm())throw new w(-203,!1)}function BD(t){return typeof t=="function"}var _t=0,A=1,M=2,ye=3,tt=4,Ne=5,Ti=6,xs=7,ze=8,kr=9,Ot=10,Q=11,Si=12,Qh=13,jr=14,Ge=15,Fn=16,_r=17,Ft=18,Ys=19,im=20,hn=21,us=22,Ln=23,je=24,ve=25,ku=1;var Pn=7,Ds=8,Nr=9,ke=10,ws=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ws||{});function pn(t){return Array.isArray(t)&&typeof t[ku]=="object"}function Bt(t){return Array.isArray(t)&&t[ku]===!0}function om(t){return(t.flags&4)!==0}function Ks(t){return t.componentOffset>-1}function Nu(t){return(t.flags&1)===1}function Lt(t){return!!t.template}function Tl(t){return(t[M]&512)!==0}var Sl=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}};function sm(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var Vt=(()=>{let t=()=>am;return t.ngInherit=!0,t})();function am(t){return t.type.prototype.ngOnChanges&&(t.setInput=$D),VD}function VD(){let t=lm(this),n=t?.current;if(n){let e=t.previous;if(e===Tr)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function $D(t,n,e,r,i){let o=this.declaredInputs[r],s=lm(t)||UD(t,{previous:Tr,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Sl(l&&l.currentValue,e,c===Tr),sm(t,n,i,e)}var cm="__ngSimpleChanges__";function lm(t){return t[cm]||null}function UD(t,n){return t[cm]=n}var Yh=null;var yt=function(t,n,e){Yh?.(t,n,e)},um="svg",HD="math";function xt(t){for(;Array.isArray(t);)t=t[_t];return t}function zD(t){for(;Array.isArray(t);){if(typeof t[ku]=="object")return t;t=t[_t]}return null}function dm(t,n){return xt(n[t])}function We(t,n){return xt(n[t.index])}function Ru(t,n){return t.data[n]}function Ou(t,n){return t[n]}function yn(t,n){let e=n[t];return pn(e)?e:e[_t]}function GD(t){return(t[M]&4)===4}function Fu(t){return(t[M]&128)===128}function qD(t){return Bt(t[ye])}function _s(t,n){return n==null?null:t[n]}function fm(t){t[_r]=0}function Lu(t){t[M]&1024||(t[M]|=1024,Fu(t)&&ji(t))}function WD(t,n){for(;t>0;)n=n[jr],t--;return n}function Xs(t){return!!(t[M]&9216||t[je]?.dirty)}function Al(t){t[Ot].changeDetectionScheduler?.notify(9),t[M]&64&&(t[M]|=1024),Xs(t)&&ji(t)}function ji(t){t[Ot].changeDetectionScheduler?.notify(0);let n=jn(t);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!Fu(n)));)n=jn(n)}function hm(t,n){if((t[M]&256)===256)throw new w(911,!1);t[hn]===null&&(t[hn]=[]),t[hn].push(n)}function ZD(t,n){if(t[hn]===null)return;let e=t[hn].indexOf(n);e!==-1&&t[hn].splice(e,1)}function jn(t){let n=t[ye];return Bt(n)?n[ye]:n}var N={lFrame:Em(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var kl=!1;function QD(){return N.lFrame.elementDepthCount}function YD(){N.lFrame.elementDepthCount++}function KD(){N.lFrame.elementDepthCount--}function pm(){return N.bindingsEnabled}function mm(){return N.skipHydrationRootTNode!==null}function XD(t){return N.skipHydrationRootTNode===t}function dP(){N.bindingsEnabled=!0}function fP(){N.bindingsEnabled=!1}function JD(){N.skipHydrationRootTNode=null}function R(){return N.lFrame.lView}function K(){return N.lFrame.tView}function hP(t){return N.lFrame.contextLView=t,t[ze]}function pP(t){return N.lFrame.contextLView=null,t}function ue(){let t=gm();for(;t!==null&&t.type===64;)t=t.parent;return t}function gm(){return N.lFrame.currentTNode}function ew(){let t=N.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Bi(t,n){let e=N.lFrame;e.currentTNode=t,e.isParent=n}function bm(){return N.lFrame.isParent}function ym(){N.lFrame.isParent=!1}function tw(){return N.lFrame.contextLView}function vm(){return kl}function Es(t){let n=kl;return kl=t,n}function xm(){let t=N.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function nw(t){return N.lFrame.bindingIndex=t}function Wn(){return N.lFrame.bindingIndex++}function Dm(t){let n=N.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function rw(){return N.lFrame.inI18n}function iw(t,n){let e=N.lFrame;e.bindingIndex=e.bindingRootIndex=t,Nl(n)}function ow(){return N.lFrame.currentDirectiveIndex}function Nl(t){N.lFrame.currentDirectiveIndex=t}function Pu(t){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function ju(){return N.lFrame.currentQueryIndex}function Js(t){N.lFrame.currentQueryIndex=t}function sw(t){let n=t[A];return n.type===2?n.declTNode:n.type===1?t[Ne]:null}function wm(t,n,e){if(e&L.SkipSelf){let i=n,o=t;for(;i=i.parent,i===null&&!(e&L.Host);)if(i=sw(o),i===null||(o=o[jr],i.type&10))break;if(i===null)return!1;n=i,t=o}let r=N.lFrame=_m();return r.currentTNode=n,r.lView=t,!0}function Bu(t){let n=_m(),e=t[A];N.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function _m(){let t=N.lFrame,n=t===null?null:t.child;return n===null?Em(t):n}function Em(t){let n={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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Im(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Cm=Im;function Vu(){let t=Im();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function aw(t){return(N.lFrame.contextLView=WD(t,N.lFrame.contextLView))[ze]}function Zn(){return N.lFrame.selectedIndex}function Bn(t){N.lFrame.selectedIndex=t}function Br(){let t=N.lFrame;return Ru(t.tView,t.selectedIndex)}function mP(){N.lFrame.currentNamespace=um}function cw(){return N.lFrame.currentNamespace}var Mm=!0;function $u(){return Mm}function Uu(t){Mm=t}function lw(t,n,e){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){let s=am(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}i&&(e.preOrderHooks??=[]).push(0-t,i),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Hu(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e=r)break}else n[c]<0&&(t[_r]+=65536),(a>14>16&&(t[M]&3)===n&&(t[M]+=16384,Kh(a,o)):Kh(a,o)}var Mr=-1,Vn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=r}};function dw(t){return t instanceof Vn}function fw(t){return(t.flags&8)!==0}function hw(t){return(t.flags&16)!==0}function Rl(t,n,e){let r=0;for(;rn){s=o-1;break}}}for(;o>16}function Cs(t,n){let e=mw(t),r=n;for(;e>0;)r=r[jr],e--;return r}var Fl=!0;function Ms(t){let n=Fl;return Fl=t,n}var gw=256,km=gw-1,Nm=5,bw=0,vt={};function yw(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(Ei)&&(r=e[Ei]),r==null&&(r=e[Ei]=bw++);let i=r&km,o=1<>Nm)]|=o}function Ts(t,n){let e=Rm(t,n);if(e!==-1)return e;let r=n[A];r.firstCreatePass&&(t.injectorIndex=n.length,pl(r.data,t),pl(n,null),pl(r.blueprint,null));let i=zu(t,n),o=t.injectorIndex;if(Am(i)){let s=Is(i),a=Cs(i,n),c=a[A].data;for(let l=0;l<8;l++)n[o+l]=a[s+l]|c[s+l]}return n[o+8]=i,o}function pl(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Rm(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function zu(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,i=n;for(;i!==null;){if(r=jm(i),r===null)return Mr;if(e++,i=i[jr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Mr}function Ll(t,n,e){yw(t,n,e)}function vw(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,i=0;for(;i>20,d=r?a:a+u,p=i?a+u:l;for(let h=d;h=c&&b.type===e)return h}if(i){let h=s[c];if(h&&Lt(h)&&h.type===e)return c}return null}function $n(t,n,e,r){let i=t[e],o=n.data;if(dw(i)){let s=i;s.resolving&&hD(fD(o[e]));let a=Ms(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Ae(s.injectImpl):null,u=wm(t,r,L.Default);try{i=t[e]=s.factory(void 0,o,t,r),n.firstCreatePass&&e>=r.directiveStart&&lw(e,o[e],n)}finally{l!==null&&Ae(l),Ms(a),s.resolving=!1,Cm()}}return i}function Dw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Ei)?t[Ei]:void 0;return typeof n=="number"?n>=0?n&km:ww:n}function Jh(t,n,e){let r=1<>Nm)]&r)}function ep(t,n){return!(t&L.Self)&&!(t&L.Host&&n)}var Rn=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return Lm(this._tNode,this._lView,n,qs(r),e)}};function ww(){return new Rn(ue(),R())}function xe(t){return Oi(()=>{let n=t.prototype.constructor,e=n[gs]||Pl(n),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[gs]||Pl(i);if(o&&o!==e)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pl(t){return Pp(t)?()=>{let n=Pl(we(t));return n&&n()}:On(t)}function _w(t,n,e,r,i){let o=t,s=n;for(;o!==null&&s!==null&&s[M]&2048&&!(s[M]&512);){let a=Pm(o,s,e,r|L.Self,vt);if(a!==vt)return a;let c=o.parent;if(!c){let l=s[im];if(l){let u=l.get(e,vt,r);if(u!==vt)return u}c=jm(s),s=s[jr]}o=c}return i}function jm(t){let n=t[A],e=n.type;return e===2?n.declTNode:e===1?t[Ne]:null}function ea(t){return vw(ue(),t)}function tp(t,n=null,e=null,r){let i=Bm(t,n,e,r);return i.resolveInjectorInitializers(),i}function Bm(t,n=null,e=null,r,i=new Set){let o=[e||_e,TD(t)];return r=r||(typeof t=="object"?void 0:Ee(t)),new Mi(o,n||Zs(),r||null,i)}var le=class t{static THROW_IF_NOT_FOUND=Ci;static NULL=new vs;static create(n,e){if(Array.isArray(n))return tp({name:""},e,n,"");{let r=n.name??"";return tp({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:t,providedIn:"any",factory:()=>x(Wp)});static __NG_ELEMENT_ID__=-1};var np=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>ea(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Ew=new v("");Ew.__NG_ELEMENT_ID__=t=>{let n=ue();if(n===null)throw new w(204,!1);if(n.type&2)return n.value;if(t&L.Optional)return null;throw new w(204,!1)};var Vm=!1,Vi=(()=>{class t{static __NG_ELEMENT_ID__=Iw;static __NG_ENV_ID__=e=>e}return t})(),Ss=class extends Vi{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return hm(this._lView,n),()=>ZD(this._lView,n)}};function Iw(){return new Ss(R())}var Un=class{},Gu=new v("",{providedIn:"root",factory:()=>!1});var $m=new v(""),Um=new v(""),$t=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ee(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})();var jl=class extends k{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,rm()&&(this.destroyRef=f(Vi,{optional:!0})??void 0,this.pendingTasks=f($t,{optional:!0})??void 0)}emit(n){let e=$(null);try{super.next(n)}finally{$(e)}}subscribe(n,e,r){let i=n,o=e||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return n instanceof B&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{n(e),r!==void 0&&this.pendingTasks?.remove(r)})}}},re=jl;function ki(...t){}function Hm(t){let n,e;function r(){t=ki;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function rp(t){return queueMicrotask(()=>t()),()=>{t=ki}}var qu="isAngularZone",As=qu+"_ID",Cw=0,P=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new re(!1);onMicrotaskEmpty=new re(!1);onStable=new re(!1);onError=new re(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Vm}=n;if(typeof Zone>"u")throw new w(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)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Sw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(qu)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,Mw,ki,ki);try{return o.runTask(s,e,r)}finally{o.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},Mw={};function Wu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Tw(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Hm(()=>{t.callbackScheduled=!1,Bl(t),t.isCheckStableRunning=!0,Wu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Bl(t)}function Sw(t){let n=()=>{Tw(t)},e=Cw++;t._inner=t._inner.fork({name:"angular",properties:{[qu]:!0,[As]:e,[As+e]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(Aw(c))return r.invokeTask(o,s,a,c);try{return ip(t),r.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),op(t)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return ip(t),r.invoke(o,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!kw(c)&&n(),op(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Bl(t),Wu(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Bl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ip(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function op(t){t._nesting--,Wu(t)}var Vl=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new re;onMicrotaskEmpty=new re;onStable=new re;onError=new re;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,i){return n.apply(e,r)}};function Aw(t){return zm(t,"__ignore_ng_zone__")}function kw(t){return zm(t,"__scheduler_tick__")}function zm(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Dt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Nw=new v("",{providedIn:"root",factory:()=>{let t=f(P),n=f(Dt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function sp(t,n){return Op(t,n)}function Rw(t){return Op(Rp,t)}var Gm=(sp.required=Rw,sp);function Ow(){return Vr(ue(),R())}function Vr(t,n){return new Z(We(t,n))}var Z=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Ow}return t})();function qm(t){return t instanceof Z?t.nativeElement:t}function Fw(){return this._results[Symbol.iterator]()}var Rr=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 k}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let r=ED(n);(this._changesDetected=!_D(this._results,r,e))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Fw};function Wm(t){return(t.flags&128)===128}var Zm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Zm||{}),Qm=new Map,Lw=0;function Pw(){return Lw++}function jw(t){Qm.set(t[Ys],t)}function $l(t){Qm.delete(t[Ys])}var ap="__ngContext__";function Hn(t,n){pn(n)?(t[ap]=n[Ys],jw(n)):t[ap]=n}function Ym(t){return Xm(t[Si])}function Km(t){return Xm(t[tt])}function Xm(t){for(;t!==null&&!Bt(t);)t=t[tt];return t}var Ul;function Jm(t){Ul=t}function eg(){if(Ul!==void 0)return Ul;if(typeof document<"u")return document;throw new w(210,!1)}var $i=new v("",{providedIn:"root",factory:()=>Bw}),Bw="ng",Zu=new v(""),pe=new v("",{providedIn:"platform",factory:()=>"unknown"});var Ui=new v(""),Hi=new v("",{providedIn:"root",factory:()=>eg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Vw="h",$w="b";var tg=!1,Uw=new v("",{providedIn:"root",factory:()=>tg});var cp=new Set;function Et(t){cp.has(t)||(cp.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Er=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Er||{}),ng=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Hw=[Er.EarlyRead,Er.Write,Er.MixedReadWrite,Er.Read],zw=(()=>{class t{ngZone=f(P);scheduler=f(Un);errorHandler=f(Dt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let e of Hw)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(i){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Hl=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,i){this.impl=n,this.hooks=e,this.once=r,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Gw(t,n){!n?.injector&&Qs(Gw);let e=n?.injector??f(le);return Et("NgAfterRender"),rg(t,e,n,!1)}function Qu(t,n){!n?.injector&&Qs(Qu);let e=n?.injector??f(le);return Et("NgAfterNextRender"),rg(t,e,n,!0)}function qw(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function rg(t,n,e,r){let i=n.get(ng);i.impl??=n.get(zw);let o=e?.phase??Er.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(Vi):null,a=new Hl(i.impl,qw(t,o),r,s);return i.impl.register(a),a}var Ww=()=>null;function Yu(t,n,e=!1){return Ww(t,n,e)}var wt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(wt||{}),rs;function Zw(){if(rs===void 0&&(rs=null,Ii.trustedTypes))try{rs=Ii.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return rs}function ta(t){return Zw()?.createHTML(t)||t}var is;function ig(){if(is===void 0&&(is=null,Ii.trustedTypes))try{is=Ii.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return is}function lp(t){return ig()?.createHTML(t)||t}function up(t){return ig()?.createScriptURL(t)||t}var Pt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Np})`}},zl=class extends Pt{getTypeName(){return"HTML"}},Gl=class extends Pt{getTypeName(){return"Style"}},ql=class extends Pt{getTypeName(){return"Script"}},Wl=class extends Pt{getTypeName(){return"URL"}},Zl=class extends Pt{getTypeName(){return"ResourceURL"}};function Ze(t){return t instanceof Pt?t.changingThisBreaksApplicationSecurity:t}function Ut(t,n){let e=Qw(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Np})`)}return e===n}function Qw(t){return t instanceof Pt&&t.getTypeName()||null}function og(t){return new zl(t)}function sg(t){return new Gl(t)}function ag(t){return new ql(t)}function cg(t){return new Wl(t)}function lg(t){return new Zl(t)}function Yw(t){let n=new Yl(t);return Kw()?new Ql(n):n}var Ql=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(ta(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Yl=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=ta(n),e}};function Kw(){try{return!!new window.DOMParser().parseFromString(ta(""),"text/html")}catch{return!1}}var Xw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function na(t){return t=String(t),t.match(Xw)?t:"unsafe:"+t}function Ht(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function zi(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var ug=Ht("area,br,col,hr,img,wbr"),dg=Ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fg=Ht("rp,rt"),Jw=zi(fg,dg),e_=zi(dg,Ht("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")),t_=zi(fg,Ht("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")),dp=zi(ug,e_,t_,Jw),hg=Ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),n_=Ht("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"),r_=Ht("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"),i_=zi(hg,n_,r_),o_=Ht("script,style,template"),Kl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,i=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){i.push(e),e=c_(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=a_(e);if(o){e=o;break}e=i.pop()}}return this.buf.join("")}startElement(n){let e=fp(n).toLowerCase();if(!dp.hasOwnProperty(e))return this.sanitizedSomething=!0,!o_.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let i=0;i"),!0}endElement(n){let e=fp(n).toLowerCase();dp.hasOwnProperty(e)&&!ug.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(hp(n))}};function s_(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function a_(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw pg(n);return n}function c_(t){let n=t.firstChild;if(n&&s_(t,n))throw pg(n);return n}function fp(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function pg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var l_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u_=/([^\#-~ |!])/g;function hp(t){return t.replace(/&/g,"&").replace(l_,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(u_,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var os;function Ku(t,n){let e=null;try{os=os||Yw(t);let r=n?String(n):"";e=os.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=e.innerHTML,e=os.getInertBodyElement(r)}while(r!==o);let a=new Kl().sanitizeChildren(pp(e)||e);return ta(a)}finally{if(e){let r=pp(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function pp(t){return"content"in t&&d_(t)?t.content:null}function d_(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var nt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(nt||{});function gP(t){let n=Xu();return n?lp(n.sanitize(nt.HTML,t)||""):Ut(t,"HTML")?lp(Ze(t)):Ku(eg(),Fi(t))}function f_(t){let n=Xu();return n?n.sanitize(nt.URL,t)||"":Ut(t,"URL")?Ze(t):na(Fi(t))}function h_(t){let n=Xu();if(n)return up(n.sanitize(nt.RESOURCE_URL,t)||"");if(Ut(t,"ResourceURL"))return up(Ze(t));throw new w(904,!1)}function p_(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?h_:f_}function mg(t,n,e){return p_(n,e)(t)}function Xu(){let t=R();return t&&t[Ot].sanitizer}function bP(t){return t.ownerDocument.defaultView}function yP(t){return t.ownerDocument}function gg(t){return t instanceof Function?t():t}var gn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(gn||{}),jt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(jt||{}),m_;function Ju(t,n){return m_(t,n)}function Ir(t,n,e,r,i){if(r!=null){let o,s=!1;Bt(r)?o=r:pn(r)&&(s=!0,r=r[_t]);let a=xt(r);t===0&&e!==null?i==null?Dg(n,e,a):Ns(n,e,a,i||null,!0):t===1&&e!==null?Ns(n,e,a,i||null,!0):t===2?T_(n,a,s):t===3&&n.destroyNode(a),o!=null&&A_(n,t,o,e,i)}}function g_(t,n){return t.createText(n)}function b_(t,n,e){t.setValue(n,e)}function bg(t,n,e){return t.createElement(n,e)}function y_(t,n){yg(t,n),n[_t]=null,n[Ne]=null}function v_(t,n,e,r,i,o){r[_t]=i,r[Ne]=n,ra(t,r,e,1,i,o)}function yg(t,n){n[Ot].changeDetectionScheduler?.notify(10),ra(t,n,n[Q],2,null,null)}function x_(t){let n=t[Si];if(!n)return ml(t[A],t);for(;n;){let e=null;if(pn(n))e=n[Si];else{let r=n[ke];r&&(e=r)}if(!e){for(;n&&!n[tt]&&n!==t;)pn(n)&&ml(n[A],n),n=n[ye];n===null&&(n=t),pn(n)&&ml(n[A],n),e=n&&n[tt]}n=e}}function D_(t,n,e,r){let i=ke+r,o=e.length;r>0&&(e[i-1][tt]=n),r0&&(t[e-1][tt]=r[tt]);let o=ys(t,ke+n);y_(r[A],r);let s=o[Ft];s!==null&&s.detachView(o[A]),r[ye]=null,r[tt]=null,r[M]&=-129}return r}function td(t,n){if(!(n[M]&256)){let e=n[Q];e.destroyNode&&ra(t,n,e,3,null,null),x_(n)}}function ml(t,n){if(n[M]&256)return;let e=$(null);try{n[M]&=-129,n[M]|=256,n[je]&&lr(n[je]),__(t,n),w_(t,n),n[A].type===1&&n[Q].destroy();let r=n[Fn];if(r!==null&&Bt(n[ye])){r!==n[ye]&&ed(r,n);let i=n[Ft];i!==null&&i.detachView(t)}$l(n)}finally{$(e)}}function w_(t,n){let e=t.cleanup,r=n[xs];if(e!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[xs]=null);let i=n[hn];if(i!==null){n[hn]=null;for(let s=0;s-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===wt.None||o===wt.Emulated)return null}return We(r,e)}}function Ns(t,n,e,r,i){t.insertBefore(n,e,r,i)}function Dg(t,n,e){t.appendChild(n,e)}function mp(t,n,e,r,i){r!==null?Ns(t,n,e,r,i):Dg(t,n,e)}function wg(t,n){return t.parentNode(n)}function I_(t,n){return t.nextSibling(n)}function _g(t,n,e){return M_(t,n,e)}function C_(t,n,e){return t.type&40?We(t,e):null}var M_=C_,gp;function nd(t,n,e,r){let i=xg(t,r,n),o=n[Q],s=r.parent||n[Ne],a=_g(s,r,n);if(i!=null)if(Array.isArray(e))for(let c=0;c-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(Je(r))return!1;s=!0}}}}return Je(r)||s}function Je(t){return(t&1)===0}function P_(t,n,e,r){if(n===null)return-1;let i=0;if(r||!e){let o=!1;for(;i-1)for(e++;e0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Je(s)&&(n+=bp(o,i),i=""),r=s,o=o||!Je(r);e++}return i!==""&&(n+=bp(o,i)),n}function H_(t){return t.map(U_).join(",")}function z_(t){let n=[],e=[],r=1,i=2;for(;rve&&Ag(t,n,ve,!1),yt(s?2:0,i),e(r,i)}finally{Bn(o),yt(s?3:1,i)}}function Fg(t,n,e){if(om(n)){let r=$(null);try{let i=n.directiveStart,o=n.directiveEnd;for(let s=i;snull;function K_(t,n,e,r){let i=Gg(n);i.push(e),t.firstCreatePass&&qg(t).push(r,i.length-1)}function X_(t,n,e,r,i,o){let s=n?n.injectorIndex:-1,a=0;return mm()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function yp(t,n,e,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;let s=n[o];if(s===void 0)continue;r??={};let a,c=gn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}t===0?vp(r,e,l,a,c):vp(r,e,l,a)}return r}function vp(t,n,e,r,i){let o;t.hasOwnProperty(e)?(o=t[e]).push(n,r):o=t[e]=[n,r],i!==void 0&&o.push(i)}function J_(t,n,e){let r=n.directiveStart,i=n.directiveEnd,o=t.data,s=n.attrs,a=[],c=null,l=null;for(let u=r;u0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function iE(t,n,e,r){let i=e.directiveStart,o=e.directiveEnd;Ks(e)&&dE(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||Ts(e,n),Hn(r,n);let s=e.initialInputs;for(let a=i;a{ji(t.lView)},consumerOnSignalRead(){this.lView[je]=this}});function ME(t){let n=t[je]??Object.create(TE);return n.lView=t,n}var TE=j(m({},Mn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=jn(t.lView);for(;n&&!Yg(n[A]);)n=jn(n);n&&Lu(n)},consumerOnSignalRead(){this.lView[je]=this}});function Yg(t){return t.type!==2}function Kg(t){if(t[Ln]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[Ln])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[M]&8192)}}var SE=100;function Xg(t,n=!0,e=0){let i=t[Ot].rendererFactory,o=!1;o||i.begin?.();try{AE(t,e)}catch(s){throw n&&Zg(t,s),s}finally{o||i.end?.()}}function AE(t,n){let e=vm();try{Es(!0),tu(t,n);let r=0;for(;Xs(t);){if(r===SE)throw new w(103,!1);r++,tu(t,1)}}finally{Es(e)}}function kE(t,n,e,r){let i=n[M];if((i&256)===256)return;let o=!1,s=!1;Bu(n);let a=!0,c=null,l=null;o||(Yg(t)?(l=_E(n),c=cr(l)):dh()===null?(a=!1,l=ME(n),c=cr(l)):n[je]&&(lr(n[je]),n[je]=null));try{fm(n),nw(t.bindingStartIndex),e!==null&&Og(t,n,e,2,r);let u=(i&3)===3;if(!o)if(u){let h=t.preOrderCheckHooks;h!==null&&ds(n,h,null)}else{let h=t.preOrderHooks;h!==null&&fs(n,h,0,null),fl(n,0)}if(s||NE(n),Kg(n),Jg(n,0),t.contentQueries!==null&&zg(t,n),!o)if(u){let h=t.contentCheckHooks;h!==null&&ds(n,h)}else{let h=t.contentHooks;h!==null&&fs(n,h,1),fl(n,1)}G_(t,n);let d=t.components;d!==null&&tb(n,d,0);let p=t.viewQuery;if(p!==null&&eu(2,p,r),!o)if(u){let h=t.viewCheckHooks;h!==null&&ds(n,h)}else{let h=t.viewHooks;h!==null&&fs(n,h,2),fl(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[us]){for(let h of n[us])h();n[us]=null}o||(n[M]&=-73)}catch(u){throw o||ji(n),u}finally{l!==null&&(mi(l,c),a&&IE(l)),Vu()}}function Jg(t,n){for(let e=Ym(t);e!==null;e=Km(e))for(let r=ke;r-1&&(ks(n,r),ys(e,r))}this._attachedToViewContainer=!1}td(this._lView[A],this._lView)}onDestroy(n){hm(this._lView,n)}markForCheck(){dd(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Lu(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){Al(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Xg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Tl(this._lView),e=this._lView[Fn];e!==null&&!n&&ed(e,this._lView),yg(this._lView[A],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n;let e=Tl(this._lView),r=this._lView[Fn];r!==null&&!e&&vg(r,this._lView),Al(this._lView)}},Gn=(()=>{class t{static __NG_ELEMENT_ID__=LE}return t})(),OE=Gn,FE=class extends OE{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,r){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,r){let i=ld(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:r});return new zn(i)}};function LE(){return sa(ue(),R())}function sa(t,n){return t.type&4?new FE(n,t,Vr(t,n)):null}var nu=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Ee(n)}.`)}},Or=class{static NULL=new nu},bn=class{},Ni=class{},ru=class{},Fs=class{},Fr=class{},Wi=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>PE()}return t})();function PE(){let t=R(),n=ue(),e=yn(n.index,t);return(pn(e)?e:t)[Q]}var jE=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>null})}return t})();function iu(t,n,e){let r=e?t.styles:null,i=e?t.classes:null,o=0;if(n!==null)for(let s=0;s0&&Cg(t,e,o.join(" "))}}function GE(t,n,e){let r=t.projection=[];for(let i=0;ie()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},au=class extends Ni{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new su(this.moduleType,n,[])}};var Ps=class extends bn{injector;componentFactoryResolver=new Ls(this);instance=null;constructor(n){super();let e=new Mi([...n.providers,{provide:bn,useValue:this},{provide:Or,useValue:this.componentFactoryResolver}],n.parent||Zs(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function fd(t,n,e=null){return new Ps({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var WE=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=Jp(!1,e.type),i=r.length>0?fd([r],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:t,providedIn:"environment",factory:()=>new t(x(be))})}return t})();function Re(t){return Oi(()=>{let n=rb(t),e=j(m({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Zm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(WE).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,styles:t.styles||_e,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Et("NgStandalone"),ib(e);let r=t.dependencies;return e.directiveDefs=wp(r,!1),e.pipeDefs=wp(r,!0),e.id=YE(e),e})}function ZE(t){return mn(t)||Yp(t)}function QE(t){return t!==null}function oe(t){return Oi(()=>({type:t.type,bootstrap:t.bootstrap||_e,declarations:t.declarations||_e,imports:t.imports||_e,exports:t.exports||_e,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Dp(t,n){if(t==null)return Tr;let e={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=gn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(e[o]=a!==gn.None?[r,a]:r,n[o]=s):e[o]=r}return e}function H(t){return Oi(()=>{let n=rb(t);return ib(n),n})}function nb(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function rb(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Tr,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||_e,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dp(t.inputs,n),outputs:Dp(t.outputs),debugInfo:null}}function ib(t){t.features?.forEach(n=>n(t))}function wp(t,n){if(!t)return null;let e=n?Kp:ZE;return()=>(typeof t=="function"?t():t).map(r=>e(r)).filter(QE)}function YE(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of e)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}var aa=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Zi(t){return typeof t=="function"&&t[ge]!==void 0}var ob=new v("");function $r(t){return!!t&&typeof t.then=="function"}function hd(t){return!!t&&typeof t.subscribe=="function"}var sb=new v("");var ab=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=f(sb,{optional:!0})??[];injector=f(le);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let i of this.appInits){let o=Be(this.injector,i);if($r(o))e.push(o);else if(hd(o)){let s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cb=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>new js})}return t})(),js=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},Ur=new v("");function KE(){xh(()=>{throw new w(600,!1)})}function XE(t){return t.isBoundToModule}var JE=10;function eI(t,n,e){try{let r=e();return $r(r)?r.catch(i=>{throw n.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>t.handleError(r)),r}}var It=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(Nw);afterRenderManager=f(ng);zonelessEnabled=f(Gu);rootEffectScheduler=f(cb);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new k;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=f($t).hasPendingTasks.pipe(I(e=>!e));whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=f(be);get injector(){return this._injector}bootstrap(e,r){let i=e instanceof Fs;if(!this._injector.get(ab).done){let p=!i&&Xp(e),h=!1;throw new w(405,h)}let s;i?s=e:s=this._injector.get(Or).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=XE(s)?void 0:this._injector.get(bn),c=r||s.selector,l=s.create(le.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(ob,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ps(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new w(101,!1);let e=$(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,$(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Fr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++Xs(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;ps(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let r=this._injector.get(Ur,[]);[...this._bootstrapListeners,...r].forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ps(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ps(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function tI(t,n,e,r){if(!e&&!Xs(t))return;Xg(t,n,e&&!r?0:1)}var xP=new RegExp(`^(\\d+)*(${$w}|${Vw})*(.*)`);var nI=()=>null;function Bs(t,n){return nI(t,n)}var zt=(()=>{class t{static __NG_ELEMENT_ID__=rI}return t})();function rI(){let t=ue();return ub(t,R())}var iI=zt,lb=class extends iI{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return Vr(this._hostTNode,this._hostLView)}get injector(){return new Rn(this._hostTNode,this._hostLView)}get parentInjector(){let n=zu(this._hostTNode,this._hostLView);if(Am(n)){let e=Cs(n,this._hostLView),r=Is(n),i=e[A].data[r+8];return new Rn(i,e)}else return new Rn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=_p(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-ke}createEmbeddedView(n,e,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Bs(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,i,Rs(this._hostTNode,s)),a}createComponent(n,e,r,i,o){let s=n&&!BD(n),a;if(s)a=e;else{let b=e||{};a=b.index,r=b.injector,i=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef}let c=s?n:new Lr(mn(n)),l=r||this.parentInjector;if(!o&&c.ngModule==null){let g=(s?l:this.parentInjector).get(be,null);g&&(o=g)}let u=mn(c.componentType??{}),d=Bs(this._lContainer,u?.id??null),p=d?.firstChild??null,h=c.create(l,i,p,o);return this.insertImpl(h.hostView,a,Rs(this._hostTNode,d)),h}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let i=n._lView;if(qD(i)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=i[ye],l=new lb(c,c[Ne],c[ye]);l.detach(l.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return ud(s,i,o,r),n.attachToViewContainerRef(),qp(gl(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=_p(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=ks(this._lContainer,e);r&&(ys(gl(this._lContainer),e),td(r[A],r))}detach(n){let e=this._adjustIndex(n,-1),r=ks(this._lContainer,e);return r&&ys(gl(this._lContainer),e)!=null?new zn(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function _p(t){return t[Ds]}function gl(t){return t[Ds]||(t[Ds]=[])}function ub(t,n){let e,r=n[t.index];return Bt(r)?e=r:(e=Hg(r,n,null,t),n[t.index]=e,oa(n,e)),sI(e,n,t,r),new lb(e,t,n)}function oI(t,n){let e=t[Q],r=e.createComment(""),i=We(n,t),o=wg(e,i);return Ns(e,o,r,I_(e,i),!1),r}var sI=lI,aI=()=>!1;function cI(t,n,e){return aI(t,n,e)}function lI(t,n,e,r){if(t[Pn])return;let i;e.type&8?i=xt(r):i=oI(n,e),t[Pn]=i}var cu=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},lu=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let l=o[a+1],u=n[-c];for(let d=ke;dn.trim())}function pb(t,n,e){t.queries===null&&(t.queries=new uu),t.queries.track(new du(n,e))}function gI(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function md(t,n){return t.queries.getByIndex(n)}function mb(t,n){let e=t[A],r=md(e,n);return r.crossesNgTemplate?fu(e,t,n,[]):db(e,t,r,n)}function gd(t,n){Et("NgSignals");let e=Dh(t),r=e[ge];return n?.equal&&(r.equal=n.equal),e.set=i=>Bo(r,i),e.update=i=>wh(r,i),e.asReadonly=bI.bind(e),e}function bI(){let t=this[ge];if(t.readonlyFn===void 0){let n=()=>this();n[ge]=t,t.readonlyFn=n}return t.readonlyFn}function gb(t){return Zi(t)&&typeof t.set=="function"}function bb(t,n,e){let r,i=ac(()=>{r._dirtyCounter();let o=DI(r,t);if(n&&o===void 0)throw new w(-951,!1);return o});return r=i[ge],r._dirtyCounter=gd(0),r._flatValue=void 0,i}function yI(t){return bb(!0,!1,t)}function vI(t){return bb(!0,!0,t)}function xI(t,n){let e=t[ge];e._lView=R(),e._queryIndex=n,e._queryList=pd(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function DI(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[M]&4)return n?void 0:_e;let i=pd(e,r),o=mb(e,r);return i.reset(o,qm),n?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Ep(t,n){return yI(n)}function wI(t,n){return vI(n)}var wP=(Ep.required=wI,Ep);function _I(t){return Object.getPrototypeOf(t.prototype).constructor}function ae(t){let n=_I(t.type),e=!0,r=[t];for(;n;){let i;if(Lt(t))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);i=n.\u0275dir}if(i){if(e){r.push(i);let s=t;s.inputs=ss(t.inputs),s.inputTransforms=ss(t.inputTransforms),s.declaredInputs=ss(t.declaredInputs),s.outputs=ss(t.outputs);let a=i.hostBindings;a&&TI(t,a);let c=i.viewQuery,l=i.contentQueries;if(c&&CI(t,c),l&&MI(t,l),EI(t,i),iD(t.outputs,i.outputs),Lt(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=t[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Ai(i.hostAttrs,e=Ai(e,i.hostAttrs))}}function ss(t){return t===Tr?{}:t===_e?[]:t}function CI(t,n){let e=t.viewQuery;e?t.viewQuery=(r,i)=>{n(r,i),e(r,i)}:t.viewQuery=n}function MI(t,n){let e=t.contentQueries;e?t.contentQueries=(r,i,o)=>{n(r,i,o),e(r,i,o)}:t.contentQueries=n}function TI(t,n){let e=t.hostBindings;e?t.hostBindings=(r,i)=>{n(r,i),e(r,i)}:t.hostBindings=n}function it(t){let n=t.inputConfig,e={};for(let r in n)if(n.hasOwnProperty(r)){let i=n[r];Array.isArray(i)&&i[3]&&(e[r]=i[3])}t.inputTransforms=e}function yb(t){return AI(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function SI(t,n){if(Array.isArray(t))for(let e=0;e>17&32767}function LI(t){return(t&2)==2}function PI(t,n){return t&131071|n<<17}function hu(t){return t|2}function Pr(t){return(t&131068)>>2}function bl(t,n){return t&-131069|n<<2}function jI(t){return(t&1)===1}function pu(t){return t|1}function BI(t,n,e,r,i,o){let s=o?n.classBindings:n.styleBindings,a=qn(s),c=Pr(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||Li(d,u)>0)&&(l=!0)}else u=e;if(i)if(c!==0){let p=qn(t[a+1]);t[r+1]=as(p,a),p!==0&&(t[p+1]=bl(t[p+1],r)),t[a+1]=PI(t[a+1],r)}else t[r+1]=as(a,0),a!==0&&(t[a+1]=bl(t[a+1],r)),a=r;else t[r+1]=as(c,0),a===0?a=r:t[c+1]=bl(t[c+1],r),c=r;l&&(t[r+1]=hu(t[r+1])),Ip(t,u,r,!0),Ip(t,u,r,!1),VI(n,u,t,r,o),s=as(a,c),o?n.classBindings=s:n.styleBindings=s}function VI(t,n,e,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Li(o,n)>=0&&(e[r+1]=pu(e[r+1]))}function Ip(t,n,e,r){let i=t[e+1],o=n===null,s=r?qn(i):Pr(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];$I(c,n)&&(a=!0,t[s+1]=r?pu(l):hu(l)),s=r?qn(l):Pr(l)}a&&(t[e+1]=r?hu(i):pu(i))}function $I(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Li(t,n)>=0:!1}var et={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function UI(t){return t.substring(et.key,et.keyEnd)}function HI(t){return zI(t),_b(t,Eb(t,0,et.textEnd))}function _b(t,n){let e=et.textEnd;return e===n?-1:(n=et.keyEnd=GI(t,et.key=n,e),Eb(t,n,e))}function zI(t){et.key=0,et.keyEnd=0,et.value=0,et.valueEnd=0,et.textEnd=t.length}function Eb(t,n,e){for(;n32;)n++;return n}function Ib(t,n,e){let r=R(),i=Wn();if(qe(r,i,n)){let o=K(),s=Br();qi(o,s,r,t,n,r[Q],e,!1)}return Ib}function mu(t,n,e,r,i){let o=n.inputs,s=i?"class":"style";ad(t,e,o[s],s,r)}function Cb(t,n,e){return Mb(t,n,e,!1),Cb}function Oe(t,n){return Mb(t,n,null,!0),Oe}function Hr(t){WI(JI,qI,t,!0)}function qI(t,n){for(let e=HI(n);e>=0;e=_b(n,e))Su(t,UI(n),!0)}function Mb(t,n,e,r){let i=R(),o=K(),s=Dm(2);if(o.firstUpdatePass&&Sb(o,t,s,r),n!==rt&&qe(i,s,n)){let a=o.data[Zn()];Ab(o,a,i,i[Q],t,i[s+1]=t0(n,e),r,s)}}function WI(t,n,e,r){let i=K(),o=Dm(2);i.firstUpdatePass&&Sb(i,null,o,r);let s=R();if(e!==rt&&qe(s,o,e)){let a=i.data[Zn()];if(kb(a,r)&&!Tb(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=Dl(c,e||"")),mu(i,a,s,e,r)}else e0(i,a,s,s[Q],s[o+1],s[o+1]=XI(t,n,e),r,o)}}function Tb(t,n){return n>=t.expandoStartIndex}function Sb(t,n,e,r){let i=t.data;if(i[e+1]===null){let o=i[Zn()],s=Tb(t,e);kb(o,r)&&n===null&&!s&&(n=!1),n=ZI(i,o,n,r),BI(i,o,n,e,s,r)}}function ZI(t,n,e,r){let i=Pu(t),o=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(e=yl(null,t,n,e,r),e=Ri(e,n.attrs,r),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==i)if(e=yl(i,t,n,e,r),o===null){let c=QI(t,n,r);c!==void 0&&Array.isArray(c)&&(c=yl(null,t,n,c[1],r),c=Ri(c,n.attrs,r),YI(t,n,r,c))}else o=KI(t,n,r)}return o!==void 0&&(r?n.residualClasses=o:n.residualStyles=o),e}function QI(t,n,e){let r=e?n.classBindings:n.styleBindings;if(Pr(r)!==0)return t[qn(r)]}function YI(t,n,e,r){let i=e?n.classBindings:n.styleBindings;t[qn(i)]=r}function KI(t,n,e){let r,i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=e[i+1];p===rt&&(p=d?_e:void 0);let h=d?ul(p,r):u===r?p:void 0;if(l&&!$s(h)&&(h=ul(c,r)),$s(h)&&(a=h,s))return a;let b=t[i+1];i=s?qn(b):Pr(b)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(a=ul(c,r))}return a}function $s(t){return t!==void 0}function t0(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Ee(Ze(t)))),t}function kb(t,n){return(t.flags&(n?8:16))!==0}function n0(t,n){Et("NgControlFlow");let e=R(),r=Wn(),i=e[r]!==rt?e[r]:-1,o=i!==-1?Mp(e,ve+i):void 0,s=0;if(qe(e,r,t)){let a=$(null);try{if(o!==void 0&&DE(o,s),t!==-1){let c=ve+t,l=Mp(e,c),u=r0(e[A],c),d=Bs(l,u.tView.ssrId),p=ld(e,u,n,{dehydratedView:d});ud(l,p,s,Rs(u,d))}}finally{$(a)}}else if(o!==void 0){let a=xE(o,s);a!==void 0&&(a[ze]=n)}}function Mp(t,n){return t[n]}function r0(t,n){return Ru(t,n)}function i0(t,n,e,r,i,o){let s=n.consts,a=_s(s,i),c=Gi(n,t,2,r,a);return Bg(n,e,c,_s(s,o)),c.attrs!==null&&iu(c,c.attrs,!1),c.mergedAttrs!==null&&iu(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Gt(t,n,e,r){let i=R(),o=K(),s=ve+t,a=i[Q],c=o.firstCreatePass?i0(s,o,i,n,e,r):o.data[s],l=o0(o,i,c,a,n,t);i[s]=l;let u=Nu(c);return Bi(c,!0),Mg(a,l,c),!NI(c)&&$u()&&nd(o,i,l,c),QD()===0&&Hn(l,i),YD(),u&&(Lg(o,i,c),Fg(o,c,i)),r!==null&&Pg(i,c),Gt}function qt(){let t=ue();bm()?ym():(t=t.parent,Bi(t,!1));let n=t;XD(n)&&JD(),KD();let e=K();return e.firstCreatePass&&(Hu(e,t),om(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&fw(n)&&mu(e,n,R(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&hw(n)&&mu(e,n,R(),n.stylesWithoutHost,!1),qt}function Ie(t,n,e,r){return Gt(t,n,e,r),qt(),Ie}var o0=(t,n,e,r,i,o)=>(Uu(!0),bg(r,i,cw()));function _P(){return R()}function Nb(t,n,e){let r=R(),i=Wn();if(qe(r,i,n)){let o=K(),s=Br();qi(o,s,r,t,n,r[Q],e,!0)}return Nb}function s0(t,n,e){let r=R(),i=Wn();if(qe(r,i,n)){let o=K(),s=Br(),a=Pu(o.data),c=Wg(a,s,r);qi(o,s,r,t,n,c,e,!0)}return s0}var Us="en-US";var a0=Us;function c0(t){typeof t=="string"&&(a0=t.toLowerCase().replace(/_/g,"-"))}var l0=(t,n,e)=>{};function zr(t,n,e,r){let i=R(),o=K(),s=ue();return bd(o,i,i[Q],s,t,n,r),zr}function u0(t,n){let e=ue(),r=R(),i=K(),o=Pu(i.data),s=Wg(o,e,r);return bd(i,r,s,e,t,n),u0}function d0(t,n,e,r){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function bd(t,n,e,r,i,o,s){let a=Nu(r),l=t.firstCreatePass&&qg(t),u=n[ze],d=Gg(n),p=!0;if(r.type&3||s){let g=We(r,n),D=s?s(g):g,E=d.length,V=s?ne=>s(xt(ne[r.index])):r.index,F=null;if(!s&&a&&(F=d0(t,n,i,r.index)),F!==null){let ne=F.__ngLastListenerFn__||F;ne.__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,p=!1}else{o=Sp(r,n,u,o),l0(g,i,o);let ne=e.listen(D,i,o);d.push(o,ne),l&&l.push(i,V,E,E+1)}}else o=Sp(r,n,u,o);let h=r.outputs,b;if(p&&h!==null&&(b=h[i])){let g=b.length;if(g)for(let D=0;D-1?yn(t.index,n):n;dd(s,5);let a=Tp(n,e,r,o),c=i.__ngNextListenerFn__;for(;c;)a=Tp(n,e,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function f0(t=1){return aw(t)}function h0(t,n){let e=null,r=j_(t);for(let i=0;i=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function CP(t){let n=tw();return Ou(n,ve+t)}function xd(t,n=""){let e=R(),r=K(),i=t+ve,o=r.firstCreatePass?Gi(r,i,1,n,null):r.data[i],s=y0(r,e,o,n,t);e[i]=s,$u()&&nd(r,e,s,o),Bi(o,!1)}var y0=(t,n,e,r,i)=>(Uu(!0),g_(n[Q],r));function Dd(t){return wd("",t,""),Dd}function wd(t,n,e){let r=R(),i=wb(r,t,n,e);return i!==rt&&gE(r,Zn(),i),wd}function v0(t,n,e){gb(n)&&(n=n());let r=R(),i=Wn();if(qe(r,i,n)){let o=K(),s=Br();qi(o,s,r,t,n,r[Q],e,!1)}return v0}function MP(t,n){let e=gb(t);return e&&t.set(n),e}function x0(t,n){let e=R(),r=K(),i=ue();return bd(r,e,e[Q],i,t,n),x0}function D0(t,n,e){let r=K();if(r.firstCreatePass){let i=Lt(t);gu(e,r.data,r.blueprint,i,!0),gu(n,r.data,r.blueprint,i,!1)}}function gu(t,n,e,r,i){if(t=we(t),Array.isArray(t))for(let o=0;o>20;if(Ar(t)||!t.multi){let h=new Vn(l,i,C),b=xl(c,n,i?u:u+p,d);b===-1?(Ll(Ts(a,s),o,c),vl(o,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[b]=h,s[b]=h)}else{let h=xl(c,n,u+p,d),b=xl(c,n,u,u+p),g=h>=0&&e[h],D=b>=0&&e[b];if(i&&!D||!i&&!g){Ll(Ts(a,s),o,c);let E=E0(i?_0:w0,e.length,i,r,l);!i&&D&&(e[b].providerFactory=E),vl(o,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(E),s.push(E)}else{let E=Ob(e[i?b:h],l,!i&&r);vl(o,t,h>-1?h:b,E)}!i&&r&&D&&e[b].componentProviders++}}}function vl(t,n,e,r){let i=Ar(n),o=ND(n);if(i||o){let c=(o?we(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function Ob(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function xl(t,n,e,r){for(let i=e;i{e.providersResolver=(r,i)=>D0(r,i?i(t):t,n)}}function Lb(t,n){let e=t[n];return e===rt?void 0:e}function I0(t,n,e,r,i,o){let s=n+e;return qe(t,s,i)?vb(t,s+1,o?r.call(o,i):r(i)):Lb(t,s+1)}function C0(t,n,e,r,i,o,s){let a=n+e;return kI(t,a,i,o)?vb(t,a+2,s?r.call(s,i,o):r(i,o)):Lb(t,a+2)}function _d(t,n){let e=K(),r,i=t+ve;e.firstCreatePass?(r=M0(n,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks??=[]).push(i,r.onDestroy)):r=e.data[i];let o=r.factory||(r.factory=On(r.type,!0)),s,a=Ae(C);try{let c=Ms(!1),l=o();return Ms(c),b0(e,R(),i,l),l}finally{Ae(a)}}function M0(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function Ed(t,n,e){let r=t+ve,i=R(),o=Ou(i,r);return Pb(i,r)?I0(i,xm(),n,o.transform,e,o):o.transform(e)}function TP(t,n,e,r){let i=t+ve,o=R(),s=Ou(o,i);return Pb(o,i)?C0(o,xm(),n,s.transform,e,r,s):s.transform(e,r)}function Pb(t,n){return t[A].data[n].pure}function SP(t,n){return sa(t,n)}var yu=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Id=(()=>{class t{compileModuleSync(e){return new au(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),i=Qp(e),o=gg(i.declarations).reduce((s,a)=>{let c=mn(a);return c&&s.push(new Lr(c)),s},[]);return new yu(r,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var T0=(()=>{class t{zone=f(P);changeDetectionScheduler=f(Un);applicationRef=f(It);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function S0({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new P(j(m({},A0()),{scheduleInRootZone:e})),[{provide:P,useFactory:t},{provide:Sr,multi:!0,useFactory:()=>{let r=f(T0,{optional:!0});return()=>r.initialize()}},{provide:Sr,multi:!0,useFactory:()=>{let r=f(k0);return()=>{r.initialize()}}},n===!0?{provide:$m,useValue:!0}:[],{provide:Um,useValue:e??Vm}]}function A0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var k0=(()=>{class t{subscription=new B;initialized=!1;zone=f(P);pendingTasks=f($t);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{P.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var N0=(()=>{class t{appRef=f(It);taskService=f($t);ngZone=f(P);zonelessEnabled=f(Gu);disableScheduling=f($m,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(As):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(Um,{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 Vl||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let r=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?rp:Hm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(As+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(e),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,rp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function R0(){return typeof $localize<"u"&&$localize.locale||Us}var ca=new v("",{providedIn:"root",factory:()=>f(ca,L.Optional|L.SkipSelf)||R0()});var vu=new v("");function cs(t){return!t.moduleRef}function O0(t){let n=cs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(P);return e.run(()=>{cs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(Dt,null),i;if(e.runOutsideAngular(()=>{i=e.onError.subscribe({next:o=>{r.handleError(o)}})}),cs(t)){let o=()=>n.destroy(),s=t.platformInjector.get(vu);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(vu);s.add(o),t.moduleRef.onDestroy(()=>{ps(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return eI(r,e,()=>{let o=n.get(ab);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(ca,Us);if(c0(s||Us),cs(t)){let a=n.get(It);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return F0(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function F0(t,n){let e=t.injector.get(It);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>e.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new w(-403,!1);n.push(t)}var ms=null;function L0(t=[],n){return le.create({name:n,providers:[{provide:Ws,useValue:"platform"},{provide:vu,useValue:new Set([()=>ms=null])},...t]})}function P0(t=[]){if(ms)return ms;let n=L0(t);return ms=n,KE(),j0(n),n}function j0(t){let n=t.get(Zu,null);Be(t,()=>{n?.forEach(e=>e())})}var Wt=(()=>{class t{static __NG_ELEMENT_ID__=B0}return t})();function B0(t){return V0(ue(),R(),(t&16)===16)}function V0(t,n,e){if(Ks(t)&&!e){let r=yn(t.index,n);return new zn(r,r)}else if(t.type&175){let r=n[Ge];return new zn(r,n)}return null}var xu=class{constructor(){}supports(n){return yb(n)}create(n){return new Du(n)}},$0=(t,n)=>n,Du=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(n){this._trackByFn=n||$0}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,i=0,o=null;for(;e||r;){let s=!r||e&&e.currentIndex{s=this._trackByFn(i,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,i),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,i++}),this.length=i;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,r,i){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,i)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,i),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,i)):n=this._addAfter(new wu(e,r),o,i)),n}_verifyReinsertion(n,e,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}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(n,e,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let i=n._prevRemoved,o=n._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let i=e===null?this._itHead:e._next;return n._next=i,n._prev=e,i===null?this._itTail=n:i._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Hs),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Hs),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},wu=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(n,e){this.item=n,this.trackById=e}},_u=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},Hs=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new _u,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,i=this.map.get(r);return i?i.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ap(t,n,e){let r=t.previousIndex;if(r===null)return r;let i=0;return e&&r{class t{factories;static \u0275prov=y({token:t,providedIn:"root",factory:kp});constructor(e){this.factories=e}static create(e,r){if(r!=null){let i=r.factories.slice();e=e.concat(i)}return new t(e)}static extend(e){return{provide:t,useFactory:r=>t.create(e,r||kp()),deps:[[t,new Gp,new Mu]]}}find(e){let r=this.factories.find(i=>i.supports(e));if(r!=null)return r;throw new w(901,!1)}}return t})();function jb(t){try{let{rootComponent:n,appProviders:e,platformProviders:r}=t,i=P0(r),o=[S0({}),{provide:Un,useExisting:N0},...e||[]],s=new Ps({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return O0({r3Injector:s.injector,platformInjector:i,rootComponent:n})}catch(n){return Promise.reject(n)}}function Ce(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Md(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function AP(t,n){Et("NgSignals");let e=ac(t);return n?.equal&&(e[ge].equal=n.equal),e}function Td(t){let n=$(null);try{return t()}finally{$(n)}}var Bb=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=U0}return t})();function U0(){return new Bb(R(),ue())}var H0=!1,z0=(()=>{class t extends js{pendingTasks=f($t);taskId=null;schedule(e){super.schedule(e),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Eu=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(n,e,r,i,o,s){this.scheduler=n,this.effectFn=e,this.zone=r,this.injector=o,this.watcher=_h(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Dt,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function G0(){}function q0(t,n){Et("NgSignals"),!n?.injector&&Qs(G0);let e=n?.injector??f(le),r=n?.manualCleanup!==!0?e.get(Vi):null,i=new Eu(e.get(z0),t,typeof Zone>"u"?null:Zone.current,r,e,n?.allowSignalWrites??!1),o=e.get(Wt,null,{optional:!0});return!o||!(o._lView[M]&8)?i.watcher.notify():(o._lView[us]??=[]).push(i.watcher.notify),i}var W0=H0;var Iu=class{[ge];constructor(n){this[ge]=n}destroy(){this[ge].destroy()}};function Sd(t,n){if(W0)return q0(t,n);Et("NgSignals"),!n?.injector&&Qs(Sd);let e=n?.injector??f(le),r=n?.manualCleanup!==!0?e.get(Vi):null,i,o=e.get(Bb,null,{optional:!0}),s=e.get(Un);return o!==null&&!n?.forceRoot?(i=Y0(o.view,s,t),r instanceof Ss&&r._lView===o.view&&(r=null)):i=K0(t,e.get(cb),s),i.injector=e,r!==null&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Iu(i)}var Vb=j(m({},Mn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:ki,run(){if(this.dirty=!1,this.hasRun&&!gi(this))return;this.hasRun=!0;let t=r=>(this.cleanupFns??=[]).push(r),n=cr(this),e=Es(!1);try{this.maybeCleanup(),this.fn(t)}finally{Es(e),mi(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Z0=j(m({},Vb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){lr(this),this.onDestroyFn(),this.maybeCleanup()}}),Q0=j(m({},Vb),{consumerMarkedDirty(){this.view[M]|=8192,ji(this.view),this.notifier.notify(14)},destroy(){lr(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ln]?.delete(this)}});function Y0(t,n,e){let r=Object.create(Q0);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=e,t[Ln]??=new Set,t[Ln].add(r),r.consumerMarkedDirty(r),r}function K0(t,n,e){let r=Object.create(Z0);return r.fn=t,r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function $b(t,n){let e=mn(t),r=n.elementInjector||Zs();return new Lr(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}var qb=null;function Gr(){return qb}function Wb(t){qb??=t}var la=class{};var G=new v(""),Zb=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>f(J0),providedIn:"platform"})}return t})();var J0=(()=>{class t extends Zb{_location;_history;_doc=f(G);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gr().getBaseHref(this._doc)}onPopState(e){let r=Gr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=Gr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Qb(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function Ub(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,r=e-(t[e-1]==="/"?1:0);return t.slice(0,r)+t.slice(e)}function Yn(t){return t&&t[0]!=="?"?"?"+t:t}var Wr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>f(Yb),providedIn:"root"})}return t})(),eC=new v(""),Yb=(()=>{class t extends Wr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Qb(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Yn(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Yn(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Yn(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(x(Zb),x(eC,8))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qi=(()=>{class t{_subject=new k;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=rC(Ub(Hb(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Yn(r))}normalize(e){return t.stripTrailingSlash(nC(this._basePath,Hb(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Yn(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Yn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Yn;static joinWithSlash=Qb;static stripTrailingSlash=Ub;static \u0275fac=function(r){return new(r||t)(x(Wr))};static \u0275prov=y({token:t,factory:()=>tC(),providedIn:"root"})}return t})();function tC(){return new Qi(x(Wr))}function nC(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Hb(t){return t.replace(/\/index.html$/,"")}function rC(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function ua(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var Ad=class{$implicit;ngForOf;index;count;constructor(n,e,r,i){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ej=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new Ad(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),zb(a,i)}});for(let i=0,o=r.length;i{let o=r.get(i.currentIndex);zb(o,i)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(C(zt),C(Gn),C(Cd))};static \u0275dir=H({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function zb(t,n){t.context.$implicit=n.item}var tj=(()=>{class t{_viewContainer;_context=new kd;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Gb("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Gb("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(C(zt),C(Gn))};static \u0275dir=H({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),kd=class{$implicit=null;ngIf=null};function Gb(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ee(n)}'.`)}var nj=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(C(zt))};static \u0275dir=H({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Vt]})}return t})();function iC(t,n){return new w(2100,!1)}var Nd=class{createSubscription(n,e){return Td(()=>n.subscribe({next:e,error:r=>{throw r}}))}dispose(n){Td(()=>n.unsubscribe())}},Rd=class{createSubscription(n,e){return n.then(e,r=>{throw r})}dispose(n){}},oC=new Rd,sC=new Nd,Kb=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if($r(e))return oC;if(hd(e))return sC;throw iC(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(C(Wt,16))};static \u0275pipe=nb({name:"async",type:t,pure:!1})}return t})();var Pd="browser",aC="server";function me(t){return t===Pd}function Zr(t){return t===aC}var Xb=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>me(f(pe))?new Od(f(G),window):new Fd})}return t})(),Od=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=cC(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function cC(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var Fd=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},qr=class{};var Ki=class{},fa=class{},Zt=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` +`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Bd=class{encodeKey(n){return ey(n)}encodeValue(n){return ey(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function lC(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var uC=/%(\d[a-f0-9])/gi,dC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ey(t){return encodeURIComponent(t).replace(uC,(n,e)=>dC[e]??n)}function da(t){return`${t}`}var xn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Bd,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=lC(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(da):[da(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(da(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(da(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Vd=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function fC(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ty(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ny(t){return typeof Blob<"u"&&t instanceof Blob}function ry(t){return typeof FormData<"u"&&t instanceof FormData}function hC(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Yi=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(fC(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Zt,this.context??=new Vd,!this.params)this.params=new xn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":ap.set(h,n.setHeaders[h]),l)),n.setParams&&(u=Object.keys(n.setParams).reduce((p,h)=>p.set(h,n.setParams[h]),u)),new t(e,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},Dn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Dn||{}),Xi=class{headers;status;statusText;url;ok;type;constructor(n,e=200,r="OK"){this.headers=n.headers||new Zt,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},ha=class t extends Xi{constructor(n={}){super(n)}type=Dn.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ji=class t extends Xi{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Dn.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},vn=class extends Xi{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},ay=200,pC=204;function jd(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Hd=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof Yi)o=e;else{let c;i.headers instanceof Zt?c=i.headers:c=new Zt(i.headers);let l;i.params&&(i.params instanceof xn?l=i.params:l=new xn({fromObject:i.params})),o=new Yi(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=_(o).pipe(ln(c=>this.handler.handle(c)));if(e instanceof Yi||i.observe==="events")return s;let a=s.pipe(te(c=>c instanceof Ji));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(I(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(I(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(I(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(I(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new xn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,jd(i,r))}post(e,r,i={}){return this.request("POST",e,jd(i,r))}put(e,r,i={}){return this.request("PUT",e,jd(i,r))}static \u0275fac=function(r){return new(r||t)(x(Ki))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),mC=/^\)\]\}',?\n/,gC="X-Request-URL";function iy(t){if(t.url)return t.url;let n=gC.toLocaleLowerCase();return t.headers.get(n)}var bC=(()=>{class t{fetchImpl=f($d,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=f(P);handle(e){return new T(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then(Ud,o=>r.error(new vn({error:o}))),()=>i.abort()})}doRequest(e,r,i){return fi(this,null,function*(){let o=this.createRequestInit(e),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,m({signal:r},o)));yC(h),i.next({type:Dn.Sent}),s=yield h}catch(h){i.error(new vn({error:h,status:h.status??0,statusText:h.statusText,url:e.urlWithParams,headers:h.headers}));return}let a=new Zt(s.headers),c=s.statusText,l=iy(s)??e.urlWithParams,u=s.status,d=null;if(e.reportProgress&&i.next(new ha({headers:a,status:u,statusText:c,url:l})),s.body){let h=s.headers.get("content-length"),b=[],g=s.body.getReader(),D=0,E,V,F=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>fi(this,null,function*(){for(;;){let{done:fe,value:J}=yield g.read();if(fe)break;if(b.push(J),D+=J.length,e.reportProgress){V=e.responseType==="text"?(V??"")+(E??=new TextDecoder).decode(J,{stream:!0}):void 0;let Fe=()=>i.next({type:Dn.DownloadProgress,total:h?+h:void 0,loaded:D,partialText:V});F?F.run(Fe):Fe()}}}));let ne=this.concatChunks(b,D);try{let fe=s.headers.get("Content-Type")??"";d=this.parseBody(e,ne,fe)}catch(fe){i.error(new vn({error:fe,headers:new Zt(s.headers),status:s.status,statusText:s.statusText,url:iy(s)??e.urlWithParams}));return}}u===0&&(u=d?ay:0),u>=200&&u<300?(i.next(new Ji({body:d,headers:a,status:u,statusText:c,url:l})),i.complete()):i.error(new vn({error:d,headers:a,status:u,statusText:c,url:l}))})}parseBody(e,r,i){switch(e.responseType){case"json":let o=new TextDecoder().decode(r).replace(mC,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>r[o]=s.join(",")),e.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let o=e.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),$d=class{};function Ud(){}function yC(t){t.then(Ud,Ud)}function vC(t,n){return n(t)}function xC(t,n,e){return(r,i)=>Be(e,()=>n(r,o=>t(o,i)))}var cy=new v(""),DC=new v(""),wC=new v("",{providedIn:"root",factory:()=>!0});var oy=(()=>{class t extends Ki{backend;injector;chain=null;pendingTasks=f($t);contributeToStability=f(wC);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(cy),...this.injector.get(DC,[])]));this.chain=r.reduceRight((i,o)=>xC(i,o,this.injector),vC)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(kn(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(x(fa),x(be))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();var _C=/^\)\]\}',?\n/;function EC(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var sy=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Y(r.\u0275loadImpl()):_(null)).pipe(he(()=>new T(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((g,D)=>s.setRequestHeader(g,D.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let g=e.detectContentTypeHeader();g!==null&&s.setRequestHeader("Content-Type",g)}if(e.responseType){let g=e.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let g=s.statusText||"OK",D=new Zt(s.getAllResponseHeaders()),E=EC(s)||e.url;return c=new ha({headers:D,status:s.status,statusText:g,url:E}),c},u=()=>{let{headers:g,status:D,statusText:E,url:V}=l(),F=null;D!==pC&&(F=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=F?ay:0);let ne=D>=200&&D<300;if(e.responseType==="json"&&typeof F=="string"){let fe=F;F=F.replace(_C,"");try{F=F!==""?JSON.parse(F):null}catch(J){F=fe,ne&&(ne=!1,F={error:J,text:F})}}ne?(o.next(new Ji({body:F,headers:g,status:D,statusText:E,url:V||void 0})),o.complete()):o.error(new vn({error:F,headers:g,status:D,statusText:E,url:V||void 0}))},d=g=>{let{url:D}=l(),E=new vn({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});o.error(E)},p=!1,h=g=>{p||(o.next(l()),p=!0);let D={type:Dn.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(D.total=g.total),e.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),o.next(D)},b=g=>{let D={type:Dn.UploadProgress,loaded:g.loaded};g.lengthComputable&&(D.total=g.total),o.next(D)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",b)),s.send(a),o.next({type:Dn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),e.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",b)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(x(qr))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),ly=new v(""),IC="XSRF-TOKEN",CC=new v("",{providedIn:"root",factory:()=>IC}),MC="X-XSRF-TOKEN",TC=new v("",{providedIn:"root",factory:()=>MC}),pa=class{},SC=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ua(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(x(G),x(pe),x(CC))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function AC(t,n){let e=t.url.toLowerCase();if(!f(ly)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=f(pa).getToken(),i=f(TC);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}function mj(...t){let n=[Hd,sy,oy,{provide:Ki,useExisting:oy},{provide:fa,useFactory:()=>f(bC,{optional:!0})??f(sy)},{provide:cy,useValue:AC,multi:!0},{provide:ly,useValue:!0},{provide:pa,useClass:SC}];for(let e of t)n.push(...e.\u0275providers);return Pi(n)}var Gd=class extends la{supportsDOMEvents=!0},qd=class t extends Gd{static makeCurrent(){Wb(new t)}onAndCancel(n,e,r){return n.addEventListener(e,r),()=>{n.removeEventListener(e,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=NC();return e==null?null:RC(e)}resetBaseElement(){eo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ua(document.cookie,n)}},eo=null;function NC(){return eo=eo||document.querySelector("base"),eo?eo.getAttribute("href"):null}function RC(t){return new URL(t,document.baseURI).pathname}var OC=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Wd=new v(""),my=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new w(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(x(Wd),x(P))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),ma=class{_doc;constructor(n){this._doc=n}manager},Zd="ng-app-id";function uy(t){for(let n of t)n.remove()}function dy(t,n){let e=n.createElement("style");return e.textContent=t,e}function FC(t,n,e){let r=t.head?.querySelectorAll(`style[${Zd}="${n}"]`);if(r)for(let i of r)i.textContent&&(i.removeAttribute(Zd),e.set(i.textContent,{usage:0,elements:[i]}))}function Qd(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var gy=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,this.isServer=Zr(o),FC(e,r,this.inline),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,dy);r?.forEach(i=>this.addUsage(i,this.external,Qd))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(uy(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])uy(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,dy(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,Qd(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Zd,this.appId),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(x(G),x($i),x(Hi,8),x(pe))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),zd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Kd=/%COMP%/g,by="%COMP%",LC=`_nghost-${by}`,PC=`_ngcontent-${by}`,jC=!0,BC=new v("",{providedIn:"root",factory:()=>jC});function VC(t){return PC.replace(Kd,t)}function $C(t){return LC.replace(Kd,t)}function yy(t,n){return n.map(e=>e.replace(Kd,t))}var fy=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,c,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.platformIsServer=Zr(a),this.defaultRenderer=new to(e,s,c,this.platformIsServer)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===wt.ShadowDom&&(r=j(m({},r),{encapsulation:wt.Emulated}));let i=this.getOrCreateRenderer(e,r);return i instanceof ga?i.applyToHost(e):i instanceof no&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case wt.Emulated:o=new ga(c,l,r,this.appId,u,s,a,d);break;case wt.ShadowDom:return new Yd(c,l,e,r,s,a,this.nonce,d);default:o=new no(c,l,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||t)(x(my),x(gy),x($i),x(BC),x(G),x(pe),x(P),x(Hi))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),to=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(zd[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(hy(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(hy(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new w(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=zd[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=zd[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(jt.DashCase|jt.Important)?n.style.setProperty(e,r,i&jt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&jt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r){if(typeof n=="string"&&(n=Gr().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(r))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function hy(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Yd=class extends to{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,o,s,a,c){super(n,o,s,c),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=yy(i.id,i.styles);for(let d of l){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=d,this.shadowRoot.appendChild(p)}let u=i.getExternalStyles?.();if(u)for(let d of u){let p=Qd(d,o);a&&p.setAttribute("nonce",a),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},no=class extends to{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=c?yy(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ga=class extends no{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,c){let l=i+"-"+r.id;super(n,e,r,o,s,a,c,l),this.contentAttr=VC(l),this.hostAttr=$C(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}},UC=(()=>{class t extends ma{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),py=["alt","control","meta","shift"],HC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},GC=(()=>{class t extends ma{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i){let o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gr().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),py.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=HC[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),py.forEach(s=>{if(s!==i){let a=zC[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function Lj(t,n){return jb(m({rootComponent:t},qC(n)))}function qC(t){return{appProviders:[...KC,...t?.providers??[]],platformProviders:YC}}function WC(){qd.makeCurrent()}function ZC(){return new Dt}function QC(){return Jm(document),document}var YC=[{provide:pe,useValue:Pd},{provide:Zu,useValue:WC,multi:!0},{provide:G,useFactory:QC,deps:[]}];var KC=[{provide:Ws,useValue:"root"},{provide:Dt,useFactory:ZC,deps:[]},{provide:Wd,useClass:UC,multi:!0,deps:[G,P,pe]},{provide:Wd,useClass:GC,multi:!0,deps:[G]},fy,gy,my,{provide:Fr,useExisting:fy},{provide:qr,useClass:OC,deps:[]},[]];var vy=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xd=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=x(XC),i},providedIn:"root"})}return t})(),XC=(()=>{class t extends Xd{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case nt.NONE:return r;case nt.HTML:return Ut(r,"HTML")?Ze(r):Ku(this._doc,String(r)).toString();case nt.STYLE:return Ut(r,"Style")?Ze(r):r;case nt.SCRIPT:if(Ut(r,"Script"))return Ze(r);throw new w(5200,!1);case nt.URL:return Ut(r,"URL")?Ze(r):na(String(r));case nt.RESOURCE_URL:if(Ut(r,"ResourceURL"))return Ze(r);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return og(e)}bypassSecurityTrustStyle(e){return sg(e)}bypassSecurityTrustScript(e){return ag(e)}bypassSecurityTrustUrl(e){return cg(e)}bypassSecurityTrustResourceUrl(e){return lg(e)}static \u0275fac=function(r){return new(r||t)(x(G))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dy=new v("CLIPBOARD_OPTIONS");function tf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Xn=tf();function My(t){Xn=t}var oo={exec:()=>null};function q(t,n=""){let e=typeof t=="string"?t:t.source,r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Me.caret,"$1"),e=e.replace(i,s),r},getRegex:()=>new RegExp(e,n)};return r}var Me={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^
    /i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},JC=/^(?:[ \t]*(?:\n|$))+/,eM=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,tM=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ao=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,nM=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ty=/(?:[*+-]|\d{1,9}[.)])/,Sy=q(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ty).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),nf=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,rM=/^[^\n]+/,rf=/(?!\s*\])(?:\\.|[^\[\]\\])+/,iM=q(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",rf).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oM=q(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ty).getRegex(),va="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",of=/|$))/,sM=q("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",of).replace("tag",va).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ay=q(nf).replace("hr",ao).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",va).getRegex(),aM=q(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ay).getRegex(),sf={blockquote:aM,code:eM,def:iM,fences:tM,heading:nM,hr:ao,html:sM,lheading:Sy,list:oM,newline:JC,paragraph:Ay,table:oo,text:rM},wy=q("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ao).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",va).getRegex(),cM=j(m({},sf),{table:wy,paragraph:q(nf).replace("hr",ao).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",wy).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",va).getRegex()}),lM=j(m({},sf),{html:q(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",of).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:oo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:q(nf).replace("hr",ao).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Sy).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),ky=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,uM=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ny=/^( {2,}|\\)\n(?!\s*$)/,dM=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,pM=q(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,co).getRegex(),mM=q("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,co).getRegex(),gM=q("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,co).getRegex(),bM=q(/\\([punct])/,"gu").replace(/punct/g,co).getRegex(),yM=q(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),vM=q(of).replace("(?:-->|$)","-->").getRegex(),xM=q("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",vM).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ya=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,DM=q(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ya).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ry=q(/^!?\[(label)\]\[(ref)\]/).replace("label",ya).replace("ref",rf).getRegex(),Oy=q(/^!?\[(ref)\](?:\[\])?/).replace("ref",rf).getRegex(),wM=q("reflink|nolink(?!\\()","g").replace("reflink",Ry).replace("nolink",Oy).getRegex(),af={_backpedal:oo,anyPunctuation:bM,autolink:yM,blockSkip:hM,br:Ny,code:uM,del:oo,emStrongLDelim:pM,emStrongRDelimAst:mM,emStrongRDelimUnd:gM,escape:ky,link:DM,nolink:Oy,punctuation:fM,reflink:Ry,reflinkSearch:wM,tag:xM,text:dM,url:oo},_M=j(m({},af),{link:q(/^!?\[(label)\]\((.*?)\)/).replace("label",ya).getRegex(),reflink:q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ya).getRegex()}),Jd=j(m({},af),{escape:q(ky).replace("])","~|])").getRegex(),url:q(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},_y=t=>IM[t];function Ct(t,n){if(n){if(Me.escapeTest.test(t))return t.replace(Me.escapeReplace,_y)}else if(Me.escapeTestNoEncode.test(t))return t.replace(Me.escapeReplaceNoEncode,_y);return t}function Ey(t){try{t=encodeURI(t).replace(Me.percentDecode,"%")}catch{return null}return t}function Iy(t,n){let e=t.replace(Me.findPipe,(o,s,a)=>{let c=!1,l=s;for(;--l>=0&&a[l]==="\\";)c=!c;return c?"|":" |"}),r=e.split(Me.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),n)if(r.length>n)r.splice(n);else for(;r.length{let s=o.match(e.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=i.length?o.slice(i.length):o}).join(` +`)}var Yr=class{options;rules;lexer;constructor(n){this.options=n||Xn}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let r=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:io(r,` +`)}}}fences(n){let e=this.rules.block.fences.exec(n);if(e){let r=e[0],i=MM(r,e[3]||"",this.rules);return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(n){let e=this.rules.block.heading.exec(n);if(e){let r=e[2].trim();if(this.rules.other.endingHash.test(r)){let i=io(r,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(r=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(n){let e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:io(e[0],` +`)}}blockquote(n){let e=this.rules.block.blockquote.exec(n);if(e){let r=io(e[0],` +`).split(` +`),i="",o="",s=[];for(;r.length>0;){let a=!1,c=[],l;for(l=0;l1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let s=this.rules.other.listItemRegex(r),a=!1;for(;n;){let l=!1,u="",d="";if(!(e=s.exec(n))||this.rules.block.hr.test(n))break;u=e[0],n=n.substring(u.length);let p=e[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,V=>" ".repeat(3*V.length)),h=n.split(` +`,1)[0],b=!p.trim(),g=0;if(this.options.pedantic?(g=2,d=p.trimStart()):b?g=e[1].length+1:(g=e[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,d=p.slice(g),g+=e[1].length),b&&this.rules.other.blankLine.test(h)&&(u+=h+` +`,n=n.substring(h.length+1),l=!0),!l){let V=this.rules.other.nextBulletRegex(g),F=this.rules.other.hrRegex(g),ne=this.rules.other.fencesBeginRegex(g),fe=this.rules.other.headingBeginRegex(g),J=this.rules.other.htmlBeginRegex(g);for(;n;){let Fe=n.split(` +`,1)[0],St;if(h=Fe,this.options.pedantic?(h=h.replace(this.rules.other.listReplaceNesting," "),St=h):St=h.replace(this.rules.other.tabCharGlobal," "),ne.test(h)||fe.test(h)||J.test(h)||V.test(h)||F.test(h))break;if(St.search(this.rules.other.nonSpaceChar)>=g||!h.trim())d+=` +`+St.slice(g);else{if(b||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ne.test(p)||fe.test(p)||F.test(p))break;d+=` +`+h}!b&&!h.trim()&&(b=!0),u+=Fe+` +`,n=n.substring(Fe.length+1),p=St.slice(g)}}o.loose||(a?o.loose=!0:this.rules.other.doubleBlankLine.test(u)&&(a=!0));let D=null,E;this.options.gfm&&(D=this.rules.other.listIsTask.exec(d),D&&(E=D[0]!=="[ ] ",d=d.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:u,task:!!D,checked:E,loose:!1,text:d,tokens:[]}),o.raw+=u}let c=o.items.at(-1);c&&(c.raw=c.raw.trimEnd(),c.text=c.text.trimEnd()),o.raw=o.raw.trimEnd();for(let l=0;lp.type==="space"),d=u.length>0&&u.some(p=>this.rules.other.anyLine.test(p.raw));o.loose=d}if(o.loose)for(let l=0;l({text:c,tokens:this.lexer.inline(c),header:!1,align:s.align[l]})));return s}}lheading(n){let e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){let e=this.rules.block.paragraph.exec(n);if(e){let r=e[1].charAt(e[1].length-1)===` +`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(n){let e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){let e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(n){let e=this.rules.inline.tag.exec(n);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(n){let e=this.rules.inline.link.exec(n);if(e){let r=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let s=io(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{let s=CM(e[2],"()");if(s>-1){let c=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,c).trim(),e[3]=""}}let i=e[2],o="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(i);s&&(i=s[1],o=s[3])}else o=e[3]?e[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?i=i.slice(1):i=i.slice(1,-1)),Cy(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(n,e){let r;if((r=this.rules.inline.reflink.exec(n))||(r=this.rules.inline.nolink.exec(n))){let i=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=e[i.toLowerCase()];if(!o){let s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return Cy(r,o,r[0],this.lexer,this.rules)}}emStrong(n,e,r=""){let i=this.rules.inline.emStrongLDelim.exec(n);if(!i||i[3]&&r.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){let s=[...i[0]].length-1,a,c,l=s,u=0,d=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,e=e.slice(-1*n.length+s);(i=d.exec(e))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(c=[...a].length,i[3]||i[4]){l+=c;continue}else if((i[5]||i[6])&&s%3&&!((s+c)%3)){u+=c;continue}if(l-=c,l>0)continue;c=Math.min(c,c+l+u);let p=[...i[0]][0].length,h=n.slice(0,s+i.index+p+c);if(Math.min(s,c)%2){let g=h.slice(1,-1);return{type:"em",raw:h,text:g,tokens:this.lexer.inlineTokens(g)}}let b=h.slice(2,-2);return{type:"strong",raw:h,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(n){let e=this.rules.inline.code.exec(n);if(e){let r=e[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(r),o=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return i&&o&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:e[0],text:r}}}br(n){let e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){let e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){let e=this.rules.inline.autolink.exec(n);if(e){let r,i;return e[2]==="@"?(r=e[1],i="mailto:"+r):(r=e[1],i=r),{type:"link",raw:e[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let r,i;if(e[2]==="@")r=e[0],i="mailto:"+r;else{let o;do o=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(o!==e[0]);r=e[0],e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(n){let e=this.rules.inline.text.exec(n);if(e){let r=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:r}}}},st=class t{tokens;options;state;tokenizer;inlineQueue;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Xn,this.options.tokenizer=this.options.tokenizer||new Yr,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:Me,block:ba.normal,inline:ro.normal};this.options.pedantic?(e.block=ba.pedantic,e.inline=ro.pedantic):this.options.gfm&&(e.block=ba.gfm,this.options.breaks?e.inline=ro.breaks:e.inline=ro.gfm),this.tokenizer.rules=e}static get rules(){return{block:ba,inline:ro}}static lex(n,e){return new t(e).lex(n)}static lexInline(n,e){return new t(e).inlineTokens(n)}lex(n){n=n.replace(Me.carriageReturn,` +`),this.blockTokens(n,this.tokens);for(let e=0;e(i=s.call({lexer:this},n,e))?(n=n.substring(i.raw.length),e.push(i),!0):!1))continue;if(i=this.tokenizer.space(n)){n=n.substring(i.raw.length);let s=e.at(-1);i.raw.length===1&&s!==void 0?s.raw+=` +`:e.push(i);continue}if(i=this.tokenizer.code(n)){n=n.substring(i.raw.length);let s=e.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.at(-1).src=s.text):e.push(i);continue}if(i=this.tokenizer.fences(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.heading(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.hr(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.blockquote(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.list(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.html(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(n)){n=n.substring(i.raw.length);let s=e.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(n)){n=n.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.lheading(n)){n=n.substring(i.raw.length),e.push(i);continue}let o=n;if(this.options.extensions?.startBlock){let s=1/0,a=n.slice(1),c;this.options.extensions.startBlock.forEach(l=>{c=l.call({lexer:this},a),typeof c=="number"&&c>=0&&(s=Math.min(s,c))}),s<1/0&&s>=0&&(o=n.substring(0,s+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o))){let s=e.at(-1);r&&s?.type==="paragraph"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):e.push(i),r=o.length!==n.length,n=n.substring(i.raw.length);continue}if(i=this.tokenizer.text(n)){n=n.substring(i.raw.length);let s=e.at(-1);s?.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):e.push(i);continue}if(n){let s="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,e}inline(n,e=[]){return this.inlineQueue.push({src:n,tokens:e}),e}inlineTokens(n,e=[]){let r=n,i=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)a.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,s="";for(;n;){o||(s=""),o=!1;let a;if(this.options.extensions?.inline?.some(l=>(a=l.call({lexer:this},n,e))?(n=n.substring(a.raw.length),e.push(a),!0):!1))continue;if(a=this.tokenizer.escape(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.tag(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.link(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(a.raw.length);let l=e.at(-1);a.type==="text"&&l?.type==="text"?(l.raw+=a.raw,l.text+=a.text):e.push(a);continue}if(a=this.tokenizer.emStrong(n,r,s)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.codespan(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.br(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.del(n)){n=n.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.autolink(n)){n=n.substring(a.raw.length),e.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(n))){n=n.substring(a.raw.length),e.push(a);continue}let c=n;if(this.options.extensions?.startInline){let l=1/0,u=n.slice(1),d;this.options.extensions.startInline.forEach(p=>{d=p.call({lexer:this},u),typeof d=="number"&&d>=0&&(l=Math.min(l,d))}),l<1/0&&l>=0&&(c=n.substring(0,l+1))}if(a=this.tokenizer.inlineText(c)){n=n.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(s=a.raw.slice(-1)),o=!0;let l=e.at(-1);l?.type==="text"?(l.raw+=a.raw,l.text+=a.text):e.push(a);continue}if(n){let l="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return e}},ct=class{options;parser;constructor(n){this.options=n||Xn}space(n){return""}code({text:n,lang:e,escaped:r}){let i=(e||"").match(Me.notSpaceStart)?.[0],o=n.replace(Me.endingNewline,"")+` +`;return i?'
    '+(r?o:Ct(o,!0))+`
    +`:"
    "+(r?o:Ct(o,!0))+`
    +`}blockquote({tokens:n}){return`
    +${this.parser.parse(n)}
    +`}html({text:n}){return n}heading({tokens:n,depth:e}){return`${this.parser.parseInline(n)} +`}hr(n){return`
    +`}list(n){let e=n.ordered,r=n.start,i="";for(let a=0;a +`+i+" +`}listitem(n){let e="";if(n.task){let r=this.checkbox({checked:!!n.checked});n.loose?n.tokens[0]?.type==="paragraph"?(n.tokens[0].text=r+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&n.tokens[0].tokens[0].type==="text"&&(n.tokens[0].tokens[0].text=r+" "+Ct(n.tokens[0].tokens[0].text),n.tokens[0].tokens[0].escaped=!0)):n.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):e+=r+" "}return e+=this.parser.parse(n.tokens,!!n.loose),`
  • ${e}
  • +`}checkbox({checked:n}){return"'}paragraph({tokens:n}){return`

    ${this.parser.parseInline(n)}

    +`}table(n){let e="",r="";for(let o=0;o${i}`),` + +`+e+` +`+i+`
    +`}tablerow({text:n}){return` +${n} +`}tablecell(n){let e=this.parser.parseInline(n.tokens),r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+e+` +`}strong({tokens:n}){return`${this.parser.parseInline(n)}`}em({tokens:n}){return`${this.parser.parseInline(n)}`}codespan({text:n}){return`${Ct(n,!0)}`}br(n){return"
    "}del({tokens:n}){return`${this.parser.parseInline(n)}`}link({href:n,title:e,tokens:r}){let i=this.parser.parseInline(r),o=Ey(n);if(o===null)return i;n=o;let s='
    ",s}image({href:n,title:e,text:r}){let i=Ey(n);if(i===null)return Ct(r);n=i;let o=`${r}{let a=o[s].flat(1/0);r=r.concat(this.walkTokens(a,e))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,e)))}}return r}use(...n){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(r=>{let i=m({},r);if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let s=e.renderers[o.name];s?e.renderers[o.name]=function(...a){let c=o.renderer.apply(this,a);return c===!1&&(c=s.apply(this,a)),c}:e.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=e[o.level];s?s.unshift(o.tokenizer):e[o.level]=[o.tokenizer],o.start&&(o.level==="block"?e.startBlock?e.startBlock.push(o.start):e.startBlock=[o.start]:o.level==="inline"&&(e.startInline?e.startInline.push(o.start):e.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(e.childTokens[o.name]=o.childTokens)}),i.extensions=e),r.renderer){let o=this.defaults.renderer||new ct(this.defaults);for(let s in r.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,c=r.renderer[a],l=o[a];o[a]=(...u)=>{let d=c.apply(o,u);return d===!1&&(d=l.apply(o,u)),d||""}}i.renderer=o}if(r.tokenizer){let o=this.defaults.tokenizer||new Yr(this.defaults);for(let s in r.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,c=r.tokenizer[a],l=o[a];o[a]=(...u)=>{let d=c.apply(o,u);return d===!1&&(d=l.apply(o,u)),d}}i.tokenizer=o}if(r.hooks){let o=this.defaults.hooks||new Qr;for(let s in r.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,c=r.hooks[a],l=o[a];Qr.passThroughHooks.has(s)?o[a]=u=>{if(this.defaults.async)return Promise.resolve(c.call(o,u)).then(p=>l.call(o,p));let d=c.call(o,u);return l.call(o,d)}:o[a]=(...u)=>{let d=c.apply(o,u);return d===!1&&(d=l.apply(o,u)),d}}i.hooks=o}if(r.walkTokens){let o=this.defaults.walkTokens,s=r.walkTokens;i.walkTokens=function(a){let c=[];return c.push(s.call(this,a)),o&&(c=c.concat(o.call(this,a))),c}}this.defaults=m(m({},this.defaults),i)}),this}setOptions(n){return this.defaults=m(m({},this.defaults),n),this}lexer(n,e){return st.lex(n,e??this.defaults)}parser(n,e){return at.parse(n,e??this.defaults)}parseMarkdown(n){return(r,i)=>{let o=m({},i),s=m(m({},this.defaults),o),a=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&o.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=n);let c=s.hooks?s.hooks.provideLexer():n?st.lex:st.lexInline,l=s.hooks?s.hooks.provideParser():n?at.parse:at.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(r):r).then(u=>c(u,s)).then(u=>s.hooks?s.hooks.processAllTokens(u):u).then(u=>s.walkTokens?Promise.all(this.walkTokens(u,s.walkTokens)).then(()=>u):u).then(u=>l(u,s)).then(u=>s.hooks?s.hooks.postprocess(u):u).catch(a);try{s.hooks&&(r=s.hooks.preprocess(r));let u=c(r,s);s.hooks&&(u=s.hooks.processAllTokens(u)),s.walkTokens&&this.walkTokens(u,s.walkTokens);let d=l(u,s);return s.hooks&&(d=s.hooks.postprocess(d)),d}catch(u){return a(u)}}}onError(n,e){return r=>{if(r.message+=` +Please report this to https://github.com/markedjs/marked.`,n){let i="

    An error occurred:

    "+Ct(r.message+"",!0)+"
    ";return e?Promise.resolve(i):i}if(e)return Promise.reject(r);throw r}}},Kn=new ef;function U(t,n){return Kn.parse(t,n)}U.options=U.setOptions=function(t){return Kn.setOptions(t),U.defaults=Kn.defaults,My(U.defaults),U};U.getDefaults=tf;U.defaults=Xn;U.use=function(...t){return Kn.use(...t),U.defaults=Kn.defaults,My(U.defaults),U};U.walkTokens=function(t,n){return Kn.walkTokens(t,n)};U.parseInline=Kn.parseInline;U.Parser=at;U.parser=at.parse;U.Renderer=ct;U.TextRenderer=so;U.Lexer=st;U.lexer=st.lex;U.Tokenizer=Yr;U.Hooks=Qr;U.parse=U;var Uj=U.options,Hj=U.setOptions,zj=U.use,Gj=U.walkTokens,qj=U.parseInline;var Wj=at.parse,Zj=st.lex;var TM="Copy",SM="Copied",xa=class t{constructor(){this._buttonClick$=new k;this.copied$=this._buttonClick$.pipe(he(()=>vr(_(!0),vi(3e3).pipe(xi(!1)))),xr(),tl(1));this.copiedText$=this.copied$.pipe(Nn(!1),I(n=>n?SM:TM))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=Re({type:t,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(e,r){e&1&&(Gt(0,"button",0),_d(1,"async"),zr("click",function(){return r.onCopyToClipboardClick()}),xd(2),_d(3,"async"),qt()),e&2&&(Oe("copied",Ed(1,3,r.copied$)),od(2),Dd(Ed(3,5,r.copiedText$)))},dependencies:[Kb],encapsulation:2,changeDetection:0})}};var Fy=new v("MARKED_EXTENSIONS");var Ly=new v("MARKED_OPTIONS");var AM="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information",kM="[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information",NM="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",RM="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",OM="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",FM="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information",LM=new v("SECURITY_CONTEXT");var Py=class t{constructor(n,e,r,i,o,s,a){this.clipboardOptions=n;this.extensions=e;this.platform=i;this.securityContext=o;this.http=s;this.sanitizer=a;this.DEFAULT_MARKED_OPTIONS={renderer:new ct};this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]};this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1};this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0};this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1};this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0};this._reload$=new k;this.reload$=this._reload$.asObservable();this.options=r}get options(){return this._options}set options(n){this._options=m(m({},this.DEFAULT_MARKED_OPTIONS),n)}get renderer(){return this.options.renderer}set renderer(n){this.options.renderer=n}parse(n,e=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:r,inline:i,emoji:o,mermaid:s,disableSanitizer:a}=e,c=m(m({},this.options),e.markedOptions),l=c.renderer||this.renderer||new ct;this.extensions&&(this.renderer=this.extendsRendererForExtensions(l)),s&&(this.renderer=this.extendsRendererForMermaid(l));let u=this.trimIndentation(n),d=r?this.decodeHtml(u):u,p=o?this.parseEmoji(d):d,h=this.parseMarked(p,c,i);return(a?h:this.sanitizer.sanitize(this.securityContext,h))||""}render(n,e=this.DEFAULT_RENDER_OPTIONS,r){let{clipboard:i,clipboardOptions:o,katex:s,katexOptions:a,mermaid:c,mermaidOptions:l}=e;s&&this.renderKatex(n,m(m({},this.DEFAULT_KATEX_OPTIONS),a)),c&&this.renderMermaid(n,m(m({},this.DEFAULT_MERMAID_OPTIONS),l)),i&&this.renderClipboard(n,r,m(m(m({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),o)),this.highlight(n)}reload(){this._reload$.next()}getSource(n){if(!this.http)throw new Error(FM);return this.http.get(n,{responseType:"text"}).pipe(I(e=>this.handleExtension(n,e)))}highlight(n){if(!me(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;n||(n=document);let e=n.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,r=>r.classList.add("language-none")),Prism.highlightAllUnder(n)}decodeHtml(n){if(!me(this.platform))return n;let e=document.createElement("textarea");return e.innerHTML=n,e.value}extendsRendererForExtensions(n){let e=n;return e.\u0275NgxMarkdownRendererExtendedForExtensions===!0||(this.extensions?.length>0&&U.use(...this.extensions),e.\u0275NgxMarkdownRendererExtendedForExtensions=!0),n}extendsRendererForMermaid(n){let e=n;if(e.\u0275NgxMarkdownRendererExtendedForMermaid===!0)return n;let r=n.code;return n.code=i=>i.lang==="mermaid"?`
    ${i.text}
    `:r(i),e.\u0275NgxMarkdownRendererExtendedForMermaid=!0,n}handleExtension(n,e){let r=n.lastIndexOf("://"),i=r>-1?n.substring(r+4):n,o=i.lastIndexOf("/"),s=o>-1?i.substring(o+1).split("?")[0]:"",a=s.lastIndexOf("."),c=a>-1?s.substring(a+1):"";return c&&c!=="md"?"```"+c+` +`+e+"\n```":e}parseMarked(n,e,r=!1){if(e.renderer){let i=m({},e.renderer);delete i.\u0275NgxMarkdownRendererExtendedForExtensions,delete i.\u0275NgxMarkdownRendererExtendedForMermaid,delete e.renderer,U.use({renderer:i})}return r?U.parseInline(n,e):U.parse(n,e)}parseEmoji(n){if(!me(this.platform))return n;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(AM);return joypixels.shortnameToUnicode(n)}renderKatex(n,e){if(me(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(kM);renderMathInElement(n,e)}}renderClipboard(n,e,r){if(!me(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(RM);if(!e)throw new Error(OM);let{buttonComponent:i,buttonTemplate:o}=r,s=n.querySelectorAll("pre");for(let a=0;au.classList.add("hover"),l.onmouseleave=()=>u.classList.remove("hover");let d;if(i){let h=e.createComponent(i);d=h.hostView,h.changeDetectorRef.markForCheck()}else if(o)d=e.createEmbeddedView(o);else{let h=e.createComponent(xa);d=h.hostView,h.changeDetectorRef.markForCheck()}let p;d.rootNodes.forEach(h=>{u.appendChild(h),p=new ClipboardJS(h,{text:()=>c.innerText})}),d.onDestroy(()=>p.destroy())}}renderMermaid(n,e=this.DEFAULT_MERMAID_OPTIONS){if(!me(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(NM);let r=n.querySelectorAll(".mermaid");r.length!==0&&(mermaid.initialize(e),mermaid.run({nodes:r}))}trimIndentation(n){if(!n)return"";let e;return n.split(` +`).map(r=>{let i=e;return r.length>0&&(i=isNaN(i)?r.search(/\S|$/):Math.min(r.search(/\S|$/),i)),isNaN(e)&&(e=i),i?r.substring(i):r}).join(` +`)}static{this.\u0275fac=function(e){return new(e||t)(x(Dy,8),x(Fy,8),x(Ly,8),x(pe),x(LM),x(Hd,8),x(Xd))}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac})}};var PM=new v("cdk-dir-doc",{providedIn:"root",factory:jM});function jM(){return f(G)}var BM=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function VM(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?BM.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var jy=(()=>{class t{value="ltr";change=new re;constructor(){let e=f(PM,{optional:!0});if(e){let r=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.value=VM(r||i||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var lo=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=oe({type:t});static \u0275inj=ie({})}return t})();function lf(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}var cf="inline",uo=["row","column","row-reverse","column-reverse"];function Da(t){let[n,e,r]=By(t);return HM(n,e,r)}function By(t){t=t?.toLowerCase()??"";let[n,e,r]=t.split(" ");return uo.find(i=>i===n)||(n=uo[0]),e===cf&&(e=r!==cf?r:"",r=cf),[n,UM(e),!!r]}function fo(t){let[n]=By(t);return n.indexOf("row")>-1}function UM(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function HM(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function lt(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function zM(t,n){return()=>{if(me(n)){let e=Array.from(t.querySelectorAll(`[class*=${Vy}]`)),r=/\bflex-layout-.+?\b/g;e.forEach(i=>{i.classList.contains(`${Vy}ssr`)&&i.parentNode?i.parentNode.removeChild(i):i.className.replace(r,"")})}}}var GM={provide:Ur,useFactory:zM,deps:[G,pe],multi:!0},Vy="flex-layout-";var Ky=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=oe({type:t}),t.\u0275inj=ie({providers:[GM]}),t})(),Jn=class t{constructor(n=!1,e="all",r="",i="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=r,this.suffix=i,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};var qM=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,r,i){let o=this.stylesheet.get(e);o?o.set(r,i):this.stylesheet.set(e,new Map([[r,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,r){let i=this.stylesheet.get(e),o="";if(i){let s=i.get(r);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var WM={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},wn=new v("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>WM});var ZM=new v("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});var QM=new v("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Xy(t,n){return t=t?.clone()??new Jn,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}var Yt=class{constructor(){this.shouldCache=!0}sideEffect(n,e,r){}};var _n=(()=>{class t{constructor(e,r,i,o){this._serverStylesheet=e,this._serverModuleLoaded=r,this._platformId=i,this.layoutConfig=o}applyStyleToElement(e,r,i=null){let o={};typeof r=="string"&&(o[r]=i,r=o),o=this.layoutConfig.disableVendorPrefixes?r:lf(r),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,r=[]){let i=this.layoutConfig.disableVendorPrefixes?e:lf(e);r.forEach(o=>{this._applyMultiValueStyleToElement(i,o)})}getFlowDirection(e){let r="flex-direction",i=this.lookupStyle(e,r),o=this.lookupInlineStyle(e,r)||Zr(this._platformId)&&this._serverModuleLoaded?i:"";return[i||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,r){return e.getAttribute(r)??""}lookupInlineStyle(e,r){return me(this._platformId)?e.style.getPropertyValue(r):YM(e,r)}lookupStyle(e,r,i=!1){let o="";return e&&((o=this.lookupInlineStyle(e,r))||(me(this._platformId)?i||(o=getComputedStyle(e).getPropertyValue(r)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,r)))),o?o.trim():""}_applyMultiValueStyleToElement(e,r){Object.keys(e).sort().forEach(i=>{let o=e[i],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",me(this._platformId)||!this._serverModuleLoaded?me(this._platformId)?r.style.setProperty(i,a):KM(r,i,a):this._serverStylesheet.addStyleToElement(r,i,a)})}}return t.\u0275fac=function(e){return new(e||t)(x(qM),x(ZM),x(pe),x(wn))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function YM(t,n){return Jy(t)[n]??""}function KM(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let r=Jy(t);r[n]=e??"",XM(t,r)}function XM(t,n){let e="";for(let r in n)n[r]&&(e+=`${r}:${n[r]};`);t.setAttribute("style",e)}function Jy(t){let n={},e=t.getAttribute("style");if(e){let r=e.split(/;+/g);for(let i=0;i0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();n[a]=o.substr(s+1).trim()}}}return n}function ho(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function JM(t,n){let e=t.priority||0,r=n.priority||0;return e-r}var eT=(()=>{class t{constructor(e,r,i){this._zone=e,this._platformId=r,this._document=i,this.source=new ee(new Jn(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((r,i)=>{r.matches&&e.push(i)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(i=>i.matches)}observe(e,r=!1){if(e&&e.length){let i=this._observable$.pipe(te(s=>r?e.indexOf(s.mediaQuery)>-1:!0)),o=new T(s=>{let a=this.registerQuery(e);if(a.length){let c=a.pop();a.forEach(l=>{s.next(l)}),this.source.next(c)}s.complete()});return vr(o,i)}return this._observable$}registerQuery(e){let r=Array.isArray(e)?e:[e],i=[];return tT(r,this._document),r.forEach(o=>{let s=c=>{this._zone.run(()=>this.source.next(new Jn(c.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&i.push(new Jn(!0,o))}),i}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return rT(e,me(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(x(P),x(pe),x(G))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),$y={};function tT(t,n){let e=t.filter(r=>!$y[r]);if(e.length>0){let r=e.join(", ");try{let i=n.createElement("style");if(i.setAttribute("type","text/css"),!i.styleSheet){let o=` +/* + @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners + see http://bit.ly/2sd4HMP +*/ +@media ${r} {.fx-query-test{ }} +`;i.appendChild(n.createTextNode(o))}n.head.appendChild(i),e.forEach(o=>$y[o]=i)}catch(i){console.error(i)}}}function nT(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function rT(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):nT(t)}var iT=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}];var Uy="(orientation: portrait) and (max-width: 599.98px)",Hy="(orientation: landscape) and (max-width: 959.98px)",zy="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Gy="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",qy="(orientation: portrait) and (min-width: 840px)",Wy="(orientation: landscape) and (min-width: 1280px)",Qt={HANDSET:`${Uy}, ${Hy}`,TABLET:`${zy} , ${Gy}`,WEB:`${qy}, ${Wy} `,HANDSET_PORTRAIT:`${Uy}`,TABLET_PORTRAIT:`${zy} `,WEB_PORTRAIT:`${qy}`,HANDSET_LANDSCAPE:`${Hy}`,TABLET_LANDSCAPE:`${Gy}`,WEB_LANDSCAPE:`${Wy}`},oT=[{alias:"handset",priority:2e3,mediaQuery:Qt.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Qt.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Qt.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Qt.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Qt.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Qt.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Qt.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Qt.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Qt.WEB_PORTRAIT,overlapping:!0}],sT=/(\.|-|_)/g;function aT(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function cT(t){return t.replace(sT,"|").split("|").map(aT).join("")}function lT(t){return t.forEach(n=>{n.suffix||(n.suffix=cT(n.alias),n.overlapping=!!n.overlapping)}),t}function uT(t,n=[]){let e={};return t.forEach(r=>{e[r.alias]=r}),n.forEach(r=>{e[r.alias]?lt(e[r.alias],r):e[r.alias]=r}),lT(Object.keys(e).map(r=>e[r]))}var dT=new v("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=f(QM),n=f(wn),e=[].concat.apply([],(t||[]).map(i=>Array.isArray(i)?i:[i])),r=(n.disableDefaultBps?[]:iT).concat(n.addOrientationBps?oT:[]);return uT(r,e)}});var ev=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(JM)}findByAlias(e){return e?this.findWithPredicate(e,r=>r.alias===e):null}findByQuery(e){return this.findWithPredicate(e,r=>r.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,r){let i=this.findByMap.get(e);return i||(i=this.items.find(r)??null,this.findByMap.set(e,i)),i??null}}return t.\u0275fac=function(e){return new(e||t)(x(dT))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Kr="print",fT={alias:Kr,mediaQuery:Kr,priority:1e3},hT=(()=>{class t{constructor(e,r,i){this.breakpoints=e,this.layoutConfig=r,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new uf,this.deactivations=[]}withPrintQuery(e){return[...e,Kr]}isPrintEvent(e){return e.mediaQuery.startsWith(Kr)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let r=this.breakpoints.findByQuery(e);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(ho)}updateEvent(e){let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=r?.mediaQuery??""),Xy(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Jn(!0,Kr))),e.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(i)}interceptEvents(e){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(r)),e.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,r)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,r){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let i=this.breakpoints.findByQuery(r.mediaQuery);if(i){let o=this.formerActivations&&this.formerActivations.includes(i),s=!this.formerActivations&&e.activatedBreakpoints.includes(i);(o||s)&&(this.deactivations.push(i),this.deactivations.sort(ho))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return t.\u0275fac=function(e){return new(e||t)(x(ev),x(wn),x(G))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uf=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(fT),n.sort(ho),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(r=>r.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=pT(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};function pT(t){return t?.mediaQuery.startsWith(Kr)??!1}var er=(()=>{class t{constructor(e,r,i){this.matchMedia=e,this.breakpoints=r,this.hook=i,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new k,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){let r=this.findByQuery(e.mediaQuery);if(r){e=Xy(e,r);let i=this.activatedBreakpoints.indexOf(r);e.matches&&i===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(ho),this.updateStyles()):!e.matches&&i!==-1&&(this._activatedBreakpoints.splice(i,1),this._activatedBreakpoints.sort(ho),this.updateStyles())}}init(e,r,i,o,s=[]){Zy(this.updateMap,e,r,i),Zy(this.clearMap,e,r,o),this.buildElementKeyMap(e,r),this.watchExtraTriggers(e,r,s)}getValue(e,r,i){let o=this.elementMap.get(e);if(o){let s=i!==void 0?o.get(i):this.getActivatedValues(o,r);if(s)return s.get(r)}}hasValue(e,r){let i=this.elementMap.get(e);if(i){let o=this.getActivatedValues(i,r);if(o)return o.get(r)!==void 0||!1}return!1}setValue(e,r,i,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(r,i)),this.elementMap.set(e,s);else{let c=(s.get(o)??new Map).set(r,i);s.set(o,c),this.elementMap.set(e,s)}let a=this.getValue(e,r);a!==void 0&&this.updateElement(e,r,a)}trackValue(e,r){return this.subject.asObservable().pipe(te(i=>i.element===e&&i.key===r))}updateStyles(){this.elementMap.forEach((e,r)=>{let i=new Set(this.elementKeyMap.get(r)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(r,a,s),i.delete(a)}),i.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(r,s,a)}else this.clearElement(r,s)})})}clearElement(e,r){let i=this.clearMap.get(e);if(i){let o=i.get(r);o&&(o(),this.subject.next({element:e,key:r,value:""}))}}updateElement(e,r,i){let o=this.updateMap.get(e);if(o){let s=o.get(r);s&&(s(i),this.subject.next({element:e,key:r,value:i}))}}releaseElement(e){let r=this.watcherMap.get(e);r&&(r.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let i=this.elementMap.get(e);i&&(i.forEach((o,s)=>i.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,r){let i=this.elementMap.get(e);if(i){let o=this.getActivatedValues(i,r);o&&(r?this.updateElement(e,r,o.get(r)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,r){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(r)}watchExtraTriggers(e,r,i){if(i&&i.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(r)){let a=vr(...i).subscribe(()=>{let c=this.getValue(e,r);this.updateElement(e,r,c)});o.set(r,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,r){for(let o=0;or.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(X(this.hook.interceptEvents(this)),te(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(x(eT),x(ev),x(hT))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Zy(t,n,e,r){if(r!==void 0){let i=t.get(n)??new Map;i.set(e,r),t.set(n,i)}}var Xr=(()=>{class t{constructor(e,r,i,o){this.elementRef=e,this.styleBuilder=r,this.styler=i,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new k,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let i=r.split(".").slice(1).join("."),o=e[r].currentValue;this.setValue(o,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,r){let i=this.styleBuilder,o=i.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=i.buildStyles(e,r),o&&this.styleCache.set(e,s)),this.mru=m({},s),this.applyStyleToElement(s),i.sideEffect(e,s,r)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,r=!1){if(e){let[i,o]=this.styler.getFlowDirection(e);if(!o&&r){let s=Da(i),a=[e];this.styler.applyStyleToElements(s,a)}return i.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,r,i=this.nativeElement){this.styler.applyStyleToElement(i,e,r)}setValue(e,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,r)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(Yt),C(_n),C(er))},t.\u0275dir=H({type:t,standalone:!1,features:[Vt]}),t})();function df(t,n="1",e="1"){let r=[n,e,t],i=t.indexOf("calc");if(i>0){r[2]=Qy(t.substring(i).trim());let o=t.substr(0,i).trim().split(" ");o.length==2&&(r[0]=o[0],r[1]=o[1])}else if(i==0)r[2]=Qy(t.trim());else{let o=t.split(" ");r=o.length===3?o:[n,e,t]}return r}function Qy(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var Yy="x";function wa(t,n){if(n===void 0)return t;let e=r=>{let i=+r.slice(0,-Yy.length);return t.endsWith(Yy)&&!isNaN(i)?`${i*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var gT=(()=>{class t extends Yt{buildStyles(e,{display:r}){let i=Da(e);return j(m({},i),{display:r==="none"?r:i.display})}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),bT=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];var yT=(()=>{class t extends Xr{constructor(e,r,i,o,s){super(e,i,r,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let i=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=tv.get(i)??new Map,tv.set(i,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:i}),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(_n),C(gT),C(er),C(wn))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),tV=(()=>{class t extends yT{constructor(){super(...arguments),this.inputs=bT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},standalone:!1,features:[ae]}),t})(),tv=new Map;var nv={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},vT=(()=>{class t extends Yt{constructor(e,r){super(),this._styler=e,this._config=r}buildStyles(e,r){return e.endsWith(_a)?(e=e.slice(0,e.indexOf(_a)),e=wa(e,this._config.multiplier),MT(e,r.directionality)):{}}sideEffect(e,r,i){let o=i.items;if(e.endsWith(_a)){e=e.slice(0,e.indexOf(_a)),e=wa(e,this._config.multiplier);let s=CT(e,i.directionality);this._styler.applyStyleToElements(s,i.items)}else{e=wa(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=TT(e,i);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(nv,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return t.\u0275fac=function(e){return new(e||t)(x(_n),x(wn))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xT=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];var DT=(()=>{class t extends Xr{constructor(e,r,i,o,s,a){super(e,s,o,a),this.zone=r,this.directionality=i,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new k;let c=[this.directionality.change,this.observerSubject.asObservable()];this.init(c),this.marshal.trackValue(this.nativeElement,"layout").pipe(Pe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){let e=this.nativeElement.children,r=[];for(let i=e.length;i--;)r[i]=e[i];return r}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],uo.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){let r=this.childrenNodes.filter(i=>i.nodeType===1&&this.willDisplay(i)).sort((i,o)=>{let s=+this.styler.lookupStyle(i,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(r.length>0){let i=this.directionality.value,o=this.layout;o==="row"&&i==="rtl"?this.styleCache=wT:o==="row"&&i!=="rtl"?this.styleCache=ET:o==="column"&&i==="rtl"?this.styleCache=_T:o==="column"&&i!=="rtl"&&(this.styleCache=IT),this.addStyles(e,{directionality:i,items:r,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,r=e?"padding":rv(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(e){let r=this.marshal.getValue(e,"show-hide");return r===!0||r===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let r=i=>i.addedNodes&&i.addedNodes.length>0||i.removedNodes&&i.removedNodes.length>0;e.some(r)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(P),C(jy),C(_n),C(vT),C(er))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),nV=(()=>{class t extends DT{constructor(){super(...arguments),this.inputs=xT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},standalone:!1,features:[ae]}),t})(),wT=new Map,_T=new Map,ET=new Map,IT=new Map,_a=" grid";function CT(t,n){let[e,r]=t.split(" "),i=r??e,o="0px",s=i,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function MT(t,n){let[e,r]=t.split(" "),i=r??e,o=l=>`-${l}`,s="0px",a=o(i),c="0px";return n==="rtl"?c=o(e):s=o(e),{margin:`0px ${s} ${a} ${c}`}}function rv(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function TT(t,n){let e=rv(n.directionality,n.layout),r=m({},nv);return r[e]=t,r}var ST=(()=>{class t extends Yt{constructor(e){super(),this.layoutConfig=e}buildStyles(e,r){let[i,o,...s]=e.split(" "),a=s.join(" "),c=r.direction.indexOf("column")>-1?"column":"row",l=fo(c)?"max-width":"max-height",u=fo(c)?"min-width":"min-height",d=String(a).indexOf("calc")>-1,p=d||a==="auto",h=String(a).indexOf("%")>-1&&!d,b=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,g=d||b;i=i=="0"?0:i,o=o=="0"?0:o;let D=!i&&!o,E={},V={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let F=this.layoutConfig.useColumnBasisZero!==!1;a=c==="row"?"0%":F?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":i=0,o=0,a="auto";break;default:!g&&!h&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(g=!0),a==="0px"&&(a="0%"),d?E=lt(V,{"flex-grow":i,"flex-shrink":o,"flex-basis":g?a:"100%"}):E=lt(V,{flex:`${i} ${o} ${g?a:"100%"}`});break}return E.flex||E["flex-grow"]||(d?E=lt(V,{"flex-grow":i,"flex-shrink":o,"flex-basis":a}):E=lt(V,{flex:`${i} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(E[u]=D||g&&i?a:null,E[l]=D||!p&&o?a:null),!E[u]&&!E[l]?d?E=lt(V,{"flex-grow":i,"flex-shrink":o,"flex-basis":a}):E=lt(V,{flex:`${i} ${o} ${a}`}):r.hasWrap&&(E[d?"flex-basis":"flex"]=E[l]?d?E[l]:`${i} ${o} ${E[l]}`:d?E[u]:`${i} ${o} ${E[u]}`),lt(E,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(x(wn))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),AT=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];var kT=(()=>{class t extends Xr{constructor(e,r,i,o,s){super(e,o,r,s),this.layoutConfig=i,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Pe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Pe(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let i=e.value.split(" ");this.direction=i[0],this.wrap=i[1]!==void 0&&i[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let r=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,r)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let i=this.direction,o=i.startsWith("row"),s=this.wrap;o&&s?this.styleCache=OT:o&&!s?this.styleCache=NT:!o&&s?this.styleCache=FT:!o&&!s&&(this.styleCache=RT);let a=String(e).replace(";",""),c=df(a,this.flexGrow,this.flexShrink);this.addStyles(c.join(" "),{direction:i,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let r=df(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(_n),C(wn),C(ST),C(er))},t.\u0275dir=H({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},standalone:!1,features:[ae]}),t})(),rV=(()=>{class t extends kT{constructor(){super(...arguments),this.inputs=AT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},standalone:!1,features:[ae]}),t})(),NT=new Map,RT=new Map,OT=new Map,FT=new Map;var LT=(()=>{class t extends Yt{buildStyles(e){e=e||"stretch";let r={};switch(e){case"start":r["align-self"]="flex-start";break;case"end":r["align-self"]="flex-end";break;default:r["align-self"]=e;break}return r}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),PT=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];var jT=(()=>{class t extends Xr{constructor(e,r,i,o){super(e,i,r,o),this.DIRECTIVE_KEY="flex-align",this.styleCache=BT,this.init()}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(_n),C(LT),C(er))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),BT=new Map,iV=(()=>{class t extends jT{constructor(){super(...arguments),this.inputs=PT}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},standalone:!1,features:[ae]}),t})();var VT=(()=>{class t extends Yt{buildStyles(e,r){let i={},[o,s]=e.split(" ");switch(o){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;case"start":case"flex-start":default:i["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;case"stretch":default:i["align-items"]=i["align-content"]="stretch";break}return lt(i,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":s==="stretch"?fo(r.layout)?null:"100%":null,"max-height":s==="stretch"&&fo(r.layout)?"100%":null})}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),$T=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];var UT=(()=>{class t extends Xr{constructor(e,r,i,o){super(e,i,r,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Pe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let r=this.layout||"row",i=this.inline;r==="row"&&i?this.styleCache=WT:r==="row"&&!i?this.styleCache=HT:r==="row-reverse"&&i?this.styleCache=QT:r==="row-reverse"&&!i?this.styleCache=GT:r==="column"&&i?this.styleCache=ZT:r==="column"&&!i?this.styleCache=zT:r==="column-reverse"&&i?this.styleCache=YT:r==="column-reverse"&&!i&&(this.styleCache=qT),this.addStyles(e,{layout:r,inline:i})}onLayoutChange(e){let r=e.value.split(" ");this.layout=r[0],this.inline=e.value.includes("inline"),uo.find(i=>i===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(C(Z),C(_n),C(VT),C(er))},t.\u0275dir=H({type:t,standalone:!1,features:[ae]}),t})(),oV=(()=>{class t extends UT{constructor(){super(...arguments),this.inputs=$T}}return t.\u0275fac=(()=>{let n;return function(r){return(n||(n=xe(t)))(r||t)}})(),t.\u0275dir=H({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},standalone:!1,features:[ae]}),t})(),HT=new Map,zT=new Map,GT=new Map,qT=new Map,WT=new Map,ZT=new Map,QT=new Map,YT=new Map;var sV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=oe({type:t}),t.\u0275inj=ie({imports:[Ky,lo]}),t})();var En=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(En||{}),lV="*";function uV(t,n){return{type:En.Trigger,name:t,definitions:n,options:{}}}function dV(t,n=null){return{type:En.Animate,styles:n,timings:t}}function fV(t,n=null){return{type:En.Sequence,steps:t,options:n}}function hV(t){return{type:En.Style,styles:t,offset:null}}function pV(t,n,e){return{type:En.State,name:t,styles:n,options:e}}function mV(t,n,e=null){return{type:En.Transition,expr:t,animation:n,options:e}}function gV(t,n,e=null){return{type:En.Query,selector:t,animation:n,options:e}}var iv=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},ov=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){let n=this.players.reduce((e,r)=>e===null||r.totalTime>e.totalTime?r:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},bV="!";var O="primary",To=Symbol("RouteTitle"),gf=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ii(t){return new gf(t)}function KT(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.lengthr[o]===i)}else return t===n}function mv(t){return t.length>0?t[t.length-1]:null}function Cn(t){return Zo(t)?t:$r(t)?Y(Promise.resolve(t)):_(t)}var JT={exact:bv,subset:yv},gv={exact:eS,subset:tS,ignored:()=>!0};function sv(t,n,e){return JT[e.paths](t.root,n.root,e.matrixParams)&&gv[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function eS(t,n){return Mt(t,n)}function bv(t,n,e){if(!nr(t.segments,n.segments)||!Ca(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!bv(t.children[r],n.children[r],e))return!1;return!0}function tS(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>pv(t[e],n[e]))}function yv(t,n,e){return vv(t,n,n.segments,e)}function vv(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!nr(i,e)||n.hasChildren()||!Ca(i,e,r))}else if(t.segments.length===e.length){if(!nr(t.segments,e)||!Ca(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!yv(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!nr(t.segments,i)||!Ca(t.segments,i,r)||!t.children[O]?!1:vv(t.children[O],n,o,r)}}function Ca(t,n,e){return n.every((r,i)=>gv[e](t[i].parameters,r.parameters))}var Xt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new z([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ii(this.queryParams),this._queryParamMap}toString(){return iS.serialize(this)}},z=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ma(this)}},tr=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=ii(this.parameters),this._parameterMap}toString(){return Dv(this)}};function nS(t,n){return nr(t,n)&&t.every((e,r)=>Mt(e.parameters,n[r].parameters))}function nr(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function rS(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===O&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==O&&(e=e.concat(n(i,r)))}),e}var Va=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new xo,providedIn:"root"})}return t})(),xo=class{parse(n){let e=new vf(n);return new Xt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${po(n.root,!0)}`,r=aS(n.queryParams),i=typeof n.fragment=="string"?`#${oS(n.fragment)}`:"";return`${e}${r}${i}`}},iS=new xo;function Ma(t){return t.segments.map(n=>Dv(n)).join("/")}function po(t,n){if(!t.hasChildren())return Ma(t);if(n){let e=t.children[O]?po(t.children[O],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==O&&r.push(`${i}:${po(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=rS(t,(r,i)=>i===O?[po(t.children[O],!1)]:[`${i}:${po(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[O]!=null?`${Ma(t)}/${e[0]}`:`${Ma(t)}/(${e.join("//")})`}}function xv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ea(t){return xv(t).replace(/%3B/gi,";")}function oS(t){return encodeURI(t)}function yf(t){return xv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ta(t){return decodeURIComponent(t)}function av(t){return Ta(t.replace(/\+/g,"%20"))}function Dv(t){return`${yf(t.path)}${sS(t.parameters)}`}function sS(t){return Object.entries(t).map(([n,e])=>`;${yf(n)}=${yf(e)}`).join("")}function aS(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Ea(e)}=${Ea(i)}`).join("&"):`${Ea(e)}=${Ea(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var cS=/^[^\/()?;#]+/;function ff(t){let n=t.match(cS);return n?n[0]:""}var lS=/^[^\/()?;=#]+/;function uS(t){let n=t.match(lS);return n?n[0]:""}var dS=/^[^=?&#]+/;function fS(t){let n=t.match(dS);return n?n[0]:""}var hS=/^[^&#]+/;function pS(t){let n=t.match(hS);return n?n[0]:""}var vf=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new z([],{}):new z([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[O]=new z(n,e)),r}parseSegment(){let n=ff(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(n),new tr(Ta(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=uS(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=ff(this.remaining);i&&(r=i,this.capture(r))}n[Ta(e)]=Ta(r)}parseQueryParam(n){let e=fS(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=pS(this.remaining);s&&(r=s,this.capture(r))}let i=av(e),o=av(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ff(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=O);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[O]:new z([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new w(4011,!1)}};function wv(t){return t.segments.length>0?new z([],{[O]:t}):t}function _v(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=_v(i);if(r===O&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new z(t.segments,n);return mS(e)}function mS(t){if(t.numberOfChildren===1&&t.children[O]){let n=t.children[O];return new z(t.segments.concat(n.segments),n.children)}return t}function rr(t){return t instanceof Xt}function gS(t,n,e=null,r=null){let i=Ev(t);return Iv(i,n,e,r)}function Ev(t){let n;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new z(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=wv(r);return n??i}function Iv(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return hf(i,i,i,e,r);let o=bS(n);if(o.toRoot())return hf(i,i,new z([],{}),e,r);let s=yS(o,i,t),a=s.processChildren?bo(s.segmentGroup,s.index,o.commands):Mv(s.segmentGroup,s.index,o.commands);return hf(i,s.segmentGroup,a,e,r)}function Sa(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Do(t){return typeof t=="object"&&t!=null&&t.outlets}function hf(t,n,e,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===n?s=e:s=Cv(t,n,e);let a=wv(_v(s));return new Xt(a,o,i)}function Cv(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Cv(o,n,e)}),new z(t.segments,r)}var Aa=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Sa(r[0]))throw new w(4003,!1);let i=r.find(Do);if(i&&i!==mv(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function bS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Aa(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Aa(e,n,r)}var ti=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function yS(t,n,e){if(t.isAbsolute)return new ti(n,!0,0);if(!e)return new ti(n,!1,NaN);if(e.parent===null)return new ti(e,!0,0);let r=Sa(t.commands[0])?0:1,i=e.segments.length-1+r;return vS(e,i,t.numberOfDoubleDots)}function vS(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new w(4005,!1);i=r.segments.length}return new ti(r,!1,i-o)}function xS(t){return Do(t[0])?t[0].outlets:{[O]:t}}function Mv(t,n,e){if(t??=new z([],{}),t.segments.length===0&&t.hasChildren())return bo(t,n,e);let r=DS(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndexo!==O)&&t.children[O]&&t.numberOfChildren===1&&t.children[O].segments.length===0){let o=bo(t.children[O],n,e);return new z(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Mv(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new z(t.segments,i)}}function DS(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return o;let s=t.segments[i],a=e[r];if(Do(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!lv(c,l,s))return o;r+=2}else{if(!lv(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function xf(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=xf(new z([],{}),0,r))}),n}function cv(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function lv(t,n,e){return t==e.path&&Mt(n,e.parameters)}var yo="imperative",de=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(de||{}),Qe=class{id;url;constructor(n,e){this.id=n,this.url=e}},oi=class extends Qe{type=de.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Tt=class extends Qe{urlAfterRedirects;type=de.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ue=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ue||{}),ka=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ka||{}),Kt=class extends Qe{reason;code;type=de.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},In=class extends Qe{reason;code;type=de.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},wo=class extends Qe{error;target;type=de.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Na=class extends Qe{urlAfterRedirects;state;type=de.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Df=class extends Qe{urlAfterRedirects;state;type=de.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wf=class extends Qe{urlAfterRedirects;state;shouldActivate;type=de.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_f=class extends Qe{urlAfterRedirects;state;type=de.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ef=class extends Qe{urlAfterRedirects;state;type=de.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},If=class{route;type=de.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Cf=class{route;type=de.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Mf=class{snapshot;type=de.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tf=class{snapshot;type=de.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sf=class{snapshot;type=de.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Af=class{snapshot;type=de.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ra=class{routerEvent;position;anchor;type=de.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},_o=class{},si=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function _S(t,n){return t.providers&&!t._injector&&(t._injector=fd(t.providers,n,`Route: ${t.path}`)),t._injector??n}function ut(t){return t.outlet||O}function ES(t,n){let e=t.filter(r=>ut(r)===n);return e.push(...t.filter(r=>ut(r)!==n)),e}function So(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var kf=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return So(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new $a(this.rootInjector)}},$a=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new kf(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(x(be))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Oa=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Nf(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Nf(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Rf(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Rf(n,this._root).map(e=>e.value)}};function Nf(t,n){if(t===n.value)return n;for(let e of n.children){let r=Nf(t,e);if(r)return r}return null}function Rf(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Rf(t,e);if(r.length)return r.unshift(n),r}return[]}var $e=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ei(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Fa=class extends Oa{snapshot;constructor(n,e){super(n),this.snapshot=e,Uf(this,n)}toString(){return this.snapshot.toString()}};function Tv(t){let n=IS(t),e=new ee([new tr("",{})]),r=new ee({}),i=new ee({}),o=new ee({}),s=new ee(""),a=new ir(e,r,o,s,i,O,t,n.root);return a.snapshot=n.root,new Fa(new $e(a,[]),n)}function IS(t){let n={},e={},r={},i="",o=new ni([],n,r,i,e,O,t,null,{});return new Pa("",new $e(o,[]))}var ir=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(I(l=>l[To]))??_(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(I(n=>ii(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(I(n=>ii(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function La(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:m(m({},n.params),t.params),data:m(m({},n.data),t.data),resolve:m(m(m(m({},t.data),n.data),i?.data),t._resolvedData)}:r={params:m({},t.params),data:m({},t.data),resolve:m(m({},t.data),t._resolvedData??{})},i&&Av(i)&&(r.resolve[To]=i.title),r}var ni=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[To]}constructor(n,e,r,i,o,s,a,c,l){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ii(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ii(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Pa=class extends Oa{url;constructor(n,e){super(e),this.url=n,Uf(this,e)}toString(){return Sv(this._root)}};function Uf(t,n){n.value._routerState=t,n.children.forEach(e=>Uf(t,e))}function Sv(t){let n=t.children.length>0?` { ${t.children.map(Sv).join(", ")} } `:"";return`${t.value}${n}`}function pf(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Mt(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Mt(n.params,e.params)||t.paramsSubject.next(e.params),XT(n.url,e.url)||t.urlSubject.next(e.url),Mt(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Of(t,n){let e=Mt(t.params,n.params)&&nS(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Of(t.parent,n.parent))}function Av(t){return typeof t.title=="string"||t.title===null}var CS=new v(""),MS=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=O;activateEvents=new re;deactivateEvents=new re;attachEvents=new re;detachEvents=new re;routerOutletData=Gm(void 0);parentContexts=f($a);location=f(zt);changeDetector=f(Wt);inputBinder=f(Hf,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Ff(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Vt]})}return t})(),Ff=class t{route;childContexts;parent;outletData;__ngOutletInjector(n){return new t(this.route,this.childContexts,n,this.outletData)}constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===ir?this.route:n===$a?this.childContexts:n===CS?this.outletData:this.parent.get(n,e)}},Hf=new v("");function TS(t,n,e){let r=Eo(t,n._root,e?e._root:void 0);return new Fa(r,n)}function Eo(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=SS(t,n,e);return new $e(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Eo(t,a)),s}}let r=AS(n.value),i=n.children.map(o=>Eo(t,o));return new $e(r,i)}}function SS(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Eo(t,r,i);return Eo(t,r)})}function AS(t){return new ir(new ee(t.url),new ee(t.params),new ee(t.queryParams),new ee(t.fragment),new ee(t.data),t.outlet,t.component,t)}var Io=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},kv="ngNavigationCancelingError";function ja(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=rr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Nv(!1,Ue.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Nv(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[kv]=!0,e.cancellationCode=n,e}function kS(t){return Rv(t)&&rr(t.url)}function Rv(t){return!!t&&t[kv]}var NS=(t,n,e,r)=>I(i=>(new Lf(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),Lf=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),pf(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ei(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ei(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ei(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=ei(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Af(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Tf(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(pf(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),pf(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Ba=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ri=class{component;route;constructor(n,e){this.component=n,this.route=e}};function RS(t,n,e){let r=t._root,i=n?n._root:null;return mo(r,i,e,[r.value])}function OS(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function ci(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!jp(t)?t:n.get(t):r}function mo(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ei(n);return t.children.forEach(s=>{FS(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>vo(a,e.getContext(s),i)),i}function FS(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=LS(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ba(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?mo(t,n,a?a.children:null,r,i):mo(t,n,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ri(a.outlet.component,s))}else s&&vo(n,a,i),i.canActivateChecks.push(new Ba(r)),o.component?mo(t,null,a?a.children:null,r,i):mo(t,null,e,r,i);return i}function LS(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!nr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!nr(t.url,n.url)||!Mt(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Of(t,n)||!Mt(t.queryParams,n.queryParams);case"paramsChange":default:return!Of(t,n)}}function vo(t,n,e){let r=ei(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?vo(s,n.children.getContext(o),e):vo(s,null,e):vo(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new ri(n.outlet.component,i)):e.canDeactivateChecks.push(new ri(null,i)):e.canDeactivateChecks.push(new ri(null,i))}function Ao(t){return typeof t=="function"}function PS(t){return typeof t=="boolean"}function jS(t){return t&&Ao(t.canLoad)}function BS(t){return t&&Ao(t.canActivate)}function VS(t){return t&&Ao(t.canActivateChild)}function $S(t){return t&&Ao(t.canDeactivate)}function US(t){return t&&Ao(t.canMatch)}function Ov(t){return t instanceof Rt||t?.name==="EmptyError"}var Ia=Symbol("INITIAL_VALUE");function ai(){return he(t=>yr(t.map(n=>n.pipe(Le(1),Nn(Ia)))).pipe(I(n=>{for(let e of n)if(e!==!0){if(e===Ia)return Ia;if(e===!1||HS(e))return e}return!0}),te(n=>n!==Ia),Le(1)))}function HS(t){return rr(t)||t instanceof Io}function zS(t,n){return ce(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?_(j(m({},e),{guardsResult:!0})):GS(s,r,i,t).pipe(ce(a=>a&&PS(a)?qS(r,o,t,n):_(a)),I(a=>j(m({},e),{guardsResult:a})))})}function GS(t,n,e,r){return Y(t).pipe(ce(i=>KS(i.component,i.route,e,n,r)),bt(i=>i!==!0,!0))}function qS(t,n,e,r){return Y(n).pipe(ln(i=>cn(ZS(i.route.parent,r),WS(i.route,r),YS(t,i.path,e),QS(t,i.route,e))),bt(i=>i!==!0,!0))}function WS(t,n){return t!==null&&n&&n(new Sf(t)),_(!0)}function ZS(t,n){return t!==null&&n&&n(new Mf(t)),_(!0)}function QS(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return _(!0);let i=r.map(o=>Jo(()=>{let s=So(n)??e,a=ci(o,s),c=BS(a)?a.canActivate(n,t):Be(s,()=>a(n,t));return Cn(c).pipe(bt())}));return _(i).pipe(ai())}function YS(t,n,e){let r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>OS(s)).filter(s=>s!==null).map(s=>Jo(()=>{let a=s.guards.map(c=>{let l=So(s.node)??e,u=ci(c,l),d=VS(u)?u.canActivateChild(r,t):Be(l,()=>u(r,t));return Cn(d).pipe(bt())});return _(a).pipe(ai())}));return _(o).pipe(ai())}function KS(t,n,e,r,i){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return _(!0);let s=o.map(a=>{let c=So(n)??i,l=ci(a,c),u=$S(l)?l.canDeactivate(t,n,e,r):Be(c,()=>l(t,n,e,r));return Cn(u).pipe(bt())});return _(s).pipe(ai())}function XS(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return _(!0);let o=i.map(s=>{let a=ci(s,t),c=jS(a)?a.canLoad(n,e):Be(t,()=>a(n,e));return Cn(c)});return _(o).pipe(ai(),Fv(r))}function Fv(t){return uc(X(n=>{if(typeof n!="boolean")throw ja(t,n)}),I(n=>n===!0))}function JS(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return _(!0);let o=i.map(s=>{let a=ci(s,t),c=US(a)?a.canMatch(n,e):Be(t,()=>a(n,e));return Cn(c)});return _(o).pipe(ai(),Fv(r))}var Co=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Mo=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Jr(t){return on(new Co(t))}function eA(t){return on(new w(4e3,!1))}function tA(t){return on(Nv(!1,Ue.GuardRejected))}var Pf=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return _(r);if(i.numberOfChildren>1||!i.children[O])return eA(`${n.redirectTo}`);i=i.children[O]}}applyRedirectCommands(n,e,r,i,o){if(typeof e!="string"){let a=e,{queryParams:c,fragment:l,routeConfig:u,url:d,outlet:p,params:h,data:b,title:g}=i,D=Be(o,()=>a({params:h,data:b,queryParams:c,fragment:l,routeConfig:u,url:d,outlet:p,title:g}));if(D instanceof Xt)throw new Mo(D);e=D}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new Mo(s);return s}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new Xt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,i)}),new z(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},jf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nA(t,n,e,r,i){let o=Lv(t,n,e);return o.matched?(r=_S(n,r),JS(r,n,e,i).pipe(I(s=>s===!0?o:m({},jf)))):_(o)}function Lv(t,n,e){if(n.path==="**")return rA(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?m({},jf):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||KT)(e,t,n);if(!i)return m({},jf);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?m(m({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function rA(t){return{matched:!0,parameters:t.length>0?mv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function uv(t,n,e,r){return e.length>0&&sA(t,e,r)?{segmentGroup:new z(n,oA(r,new z(e,t.children))),slicedSegments:[]}:e.length===0&&aA(t,e,r)?{segmentGroup:new z(t.segments,iA(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new z(t.segments,t.children),slicedSegments:e}}function iA(t,n,e,r){let i={};for(let o of e)if(Ua(t,n,o)&&!r[ut(o)]){let s=new z([],{});i[ut(o)]=s}return m(m({},r),i)}function oA(t,n){let e={};e[O]=n;for(let r of t)if(r.path===""&&ut(r)!==O){let i=new z([],{});e[ut(r)]=i}return e}function sA(t,n,e){return e.some(r=>Ua(t,n,r)&&ut(r)!==O)}function aA(t,n,e){return e.some(r=>Ua(t,n,r))}function Ua(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function cA(t,n,e){return n.length===0&&!t.children[e]}var Bf=class{};function lA(t,n,e,r,i,o,s="emptyOnly"){return new Vf(t,n,e,r,i,s,o).recognize()}var uA=31,Vf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Pf(this.urlSerializer,this.urlTree)}noMatchError(n){return new w(4002,`'${n.segmentGroup}'`)}recognize(){let n=uv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(I(({children:e,rootSnapshot:r})=>{let i=new $e(r,e),o=new Pa("",i),s=gS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new ni([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),O,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,O,e).pipe(I(r=>({children:r,rootSnapshot:e})),An(r=>{if(r instanceof Mo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Co?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,o):this.processSegment(n,e,r,r.segments,i,!0,o).pipe(I(s=>s instanceof $e?[s]:[]))}processChildren(n,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return Y(o).pipe(ln(s=>{let a=r.children[s],c=ES(e,s);return this.processSegmentGroup(n,c,a,s,i)}),Kc((s,a)=>(s.push(...a),s)),dn(null),qc(),ce(s=>{if(s===null)return Jr(r);let a=Pv(s);return dA(a),_(a)}))}processSegment(n,e,r,i,o,s,a){return Y(e).pipe(ln(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,o,s,a).pipe(An(l=>{if(l instanceof Co)return _(null);throw l}))),bt(c=>!!c),An(c=>{if(Ov(c))return cA(r,i,o)?_(new Bf):Jr(r);throw c}))}processSegmentAgainstRoute(n,e,r,i,o,s,a,c){return ut(r)!==s&&(s===O||!Ua(i,o,r))?Jr(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,c):Jr(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=Lv(e,i,o);if(!c)return Jr(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>uA&&(this.allowRedirects=!1));let h=new ni(o,l,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,dv(i),ut(i),i.component??i._loadedComponent??null,i,fv(i)),b=La(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(b.params),h.data=Object.freeze(b.data);let g=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,h,n);return this.applyRedirects.lineralizeSegments(i,g).pipe(ce(D=>this.processSegment(n,r,e,D.concat(p),s,!1,a)))}matchSegmentAgainstRoute(n,e,r,i,o,s){let a=nA(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(he(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(he(({routes:l})=>{let u=r._loadedInjector??n,{parameters:d,consumedSegments:p,remainingSegments:h}=c,b=new ni(p,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,dv(r),ut(r),r.component??r._loadedComponent??null,r,fv(r)),g=La(b,s,this.paramsInheritanceStrategy);b.params=Object.freeze(g.params),b.data=Object.freeze(g.data);let{segmentGroup:D,slicedSegments:E}=uv(e,p,h,l);if(E.length===0&&D.hasChildren())return this.processChildren(u,l,D,b).pipe(I(F=>new $e(b,F)));if(l.length===0&&E.length===0)return _(new $e(b,[]));let V=ut(r)===o;return this.processSegment(u,l,D,E,V?O:o,!0,b).pipe(I(F=>new $e(b,F instanceof $e?[F]:[])))}))):Jr(e)))}getChildConfig(n,e,r){return e.children?_({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?_({routes:e._loadedRoutes,injector:e._loadedInjector}):XS(n,e,r,this.urlSerializer).pipe(ce(i=>i?this.configLoader.loadChildren(n,e).pipe(X(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):tA(e))):_({routes:[],injector:n})}};function dA(t){t.sort((n,e)=>n.value.outlet===O?-1:e.value.outlet===O?1:n.value.outlet.localeCompare(e.value.outlet))}function fA(t){let n=t.value.routeConfig;return n&&n.path===""}function Pv(t){let n=[],e=new Set;for(let r of t){if(!fA(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=Pv(r.children);n.push(new $e(r.value,i))}return n.filter(r=>!e.has(r))}function dv(t){return t.data||{}}function fv(t){return t.resolve||{}}function hA(t,n,e,r,i,o){return ce(s=>lA(t,n,e,r,s.extractedUrl,i,o).pipe(I(({state:a,tree:c})=>j(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function pA(t,n){return ce(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return _(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of jv(c))s.add(l);let a=0;return Y(s).pipe(ln(c=>o.has(c)?mA(c,r,t,n):(c.data=La(c,c.parent,t).resolve,_(void 0))),X(()=>a++),Dr(1),ce(c=>a===s.size?_(e):pt))})}function jv(t){let n=t.children.map(e=>jv(e)).flat();return[t,...n]}function mA(t,n,e,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Av(i)&&(o[To]=i.title),gA(o,t,n,r).pipe(I(s=>(t._resolvedData=s,t.data=La(t,t.parent,e).resolve,null)))}function gA(t,n,e,r){let i=bf(t);if(i.length===0)return _({});let o={};return Y(i).pipe(ce(s=>bA(t[s],n,e,r).pipe(bt(),X(a=>{if(a instanceof Io)throw ja(new xo,a);o[s]=a}))),Dr(1),xi(o),An(s=>Ov(s)?pt:on(s)))}function bA(t,n,e,r){let i=So(n)??r,o=ci(t,i),s=o.resolve?o.resolve(n,e):Be(i,()=>o(n,e));return Cn(s)}function mf(t){return he(n=>{let e=t(n);return e?Y(e).pipe(I(()=>n)):_(n)})}var Bv=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===O);return r}getResolvedTitleForRoute(e){return e.data[To]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>f(yA),providedIn:"root"})}return t})(),yA=(()=>{class t extends Bv{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(x(vy))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zf=new v("",{providedIn:"root",factory:()=>({})}),vA=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Re({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,i){r&1&&Ie(0,"router-outlet")},dependencies:[MS],encapsulation:2})}return t})();function Gf(t){let n=t.children&&t.children.map(Gf),e=n?j(m({},t),{children:n}):m({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==O&&(e.component=vA),e}var qf=new v(""),xA=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(Id);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return _(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=Cn(e.loadComponent()).pipe(I(Vv),X(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),kn(()=>{this.componentLoaders.delete(e)})),i=new Sn(r,()=>new k).pipe(nn());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return _({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=DA(r,this.compiler,e,this.onLoadEndListener).pipe(kn(()=>{this.childrenLoaders.delete(r)})),s=new Sn(o,()=>new k).pipe(nn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function DA(t,n,e,r){return Cn(t.loadChildren()).pipe(I(Vv),ce(i=>i instanceof Ni||Array.isArray(i)?_(i):Y(n.compileModuleAsync(i))),I(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(qf,[],{optional:!0,self:!0}).flat()),{routes:s.map(Gf),injector:o}}))}function wA(t){return t&&typeof t=="object"&&"default"in t}function Vv(t){return wA(t)?t.default:t}var Wf=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>f(_A),providedIn:"root"})}return t})(),_A=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),EA=new v("");var IA=new v(""),$v=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new k;transitionAbortSubject=new k;configLoader=f(xA);environmentInjector=f(be);urlSerializer=f(Va);rootContexts=f($a);location=f(Qi);inputBindingEnabled=f(Hf,{optional:!0})!==null;titleStrategy=f(Bv);options=f(zf,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(Wf);createViewTransition=f(EA,{optional:!0});navigationErrorHandler=f(IA,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>_(void 0);rootComponentType=null;constructor(){let e=i=>this.events.next(new If(i)),r=i=>this.events.next(new Cf(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(j(m(m({},this.transitions.value),e),{id:r}))}setupNavigations(e,r,i){return this.transitions=new ee({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:yo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(te(o=>o.id!==0),I(o=>j(m({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),he(o=>{let s=!1,a=!1;return _(o).pipe(he(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",Ue.SupersededByNewNavigation),pt;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?j(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload"){let d="";return this.events.next(new In(c.id,this.urlSerializer.serialize(c.rawUrl),d,ka.IgnoredSameUrlNavigation)),c.resolve(!1),pt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return _(c).pipe(he(d=>{let p=this.transitions?.getValue();return this.events.next(new oi(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),p!==this.transitions?.getValue()?pt:Promise.resolve(d)}),hA(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),X(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=j(m({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let p=new Na(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:p,source:h,restoredState:b,extras:g}=c,D=new oi(d,this.urlSerializer.serialize(p),h,b);this.events.next(D);let E=Tv(this.rootComponentType).snapshot;return this.currentTransition=o=j(m({},c),{targetSnapshot:E,urlAfterRedirects:p,extras:j(m({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,_(o)}else{let d="";return this.events.next(new In(c.id,this.urlSerializer.serialize(c.extractedUrl),d,ka.IgnoredByUrlHandlingStrategy)),c.resolve(!1),pt}}),X(c=>{let l=new Df(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),I(c=>(this.currentTransition=o=j(m({},c),{guards:RS(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),zS(this.environmentInjector,c=>this.events.next(c)),X(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw ja(this.urlSerializer,c.guardsResult);let l=new wf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),te(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",Ue.GuardRejected),!1)),mf(c=>{if(c.guards.canActivateChecks.length)return _(c).pipe(X(l=>{let u=new _f(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),he(l=>{let u=!1;return _(l).pipe(pA(this.paramsInheritanceStrategy,this.environmentInjector),X({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",Ue.NoDataFromResolver)}}))}),X(l=>{let u=new Ef(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),mf(c=>{let l=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(X(p=>{u.component=p}),I(()=>{})));for(let p of u.children)d.push(...l(p));return d};return yr(l(c.targetSnapshot.root)).pipe(dn(null),Le(1))}),mf(()=>this.afterPreactivation()),he(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,u=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return u?Y(u).pipe(I(()=>o)):_(o)}),I(c=>{let l=TS(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=j(m({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),X(()=>{this.events.next(new _o)}),NS(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Le(1),X({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Tt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Pe(this.transitionAbortSubject.pipe(X(c=>{throw c}))),kn(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",Ue.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),An(c=>{if(a=!0,Rv(c))this.events.next(new Kt(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),kS(c)?this.events.next(new si(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new wo(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let u=Be(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof Io){let{message:d,cancellationCode:p}=ja(this.urlSerializer,u);this.events.next(new Kt(o.id,this.urlSerializer.serialize(o.extractedUrl),d,p)),this.events.next(new si(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),c}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return pt}))}))}cancelNavigationTransition(e,r,i){let o=new Kt(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CA(t){return t!==yo}var MA=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>f(TA),providedIn:"root"})}return t})(),$f=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},TA=(()=>{class t extends $f{static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>f(SA),providedIn:"root"})}return t})(),SA=(()=>{class t extends Uv{location=f(Qi);urlSerializer=f(Va);options=f(zf,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=f(Wf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Xt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Tv(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof oi)this.stateMemento=this.createStateMemento();else if(e instanceof In)this.rawUrlTree=r.initialUrl;else if(e instanceof Na){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else e instanceof _o?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):e instanceof Kt&&(e.code===Ue.GuardRejected||e.code===Ue.NoDataFromResolver)?this.restoreHistory(r):e instanceof wo?this.restoreHistory(r,!0):e instanceof Tt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let i=e instanceof Xt?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=m(m({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=m(m({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),go=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(go||{});function AA(t,n){t.events.pipe(te(e=>e instanceof Tt||e instanceof Kt||e instanceof wo||e instanceof In),I(e=>e instanceof Tt||e instanceof In?go.COMPLETE:(e instanceof Kt?e.code===Ue.Redirect||e.code===Ue.SupersededByNewNavigation:!1)?go.REDIRECTING:go.FAILED),te(e=>e!==go.REDIRECTING),Le(1)).subscribe(()=>{n()})}var kA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NA={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ha=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(aa);stateManager=f(Uv);options=f(zf,{optional:!0})||{};pendingTasks=f($t);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f($v);urlSerializer=f(Va);location=f(Qi);urlHandlingStrategy=f(Wf);_events=new k;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(MA);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(qf,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(Hf,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new B;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Kt&&r.code!==Ue.Redirect&&r.code!==Ue.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Tt)this.navigated=!0;else if(r instanceof si){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=m({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||CA(i.source)},s);this.scheduleNavigation(a,yo,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}OA(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),yo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=m({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Gf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=i?i.snapshot:this.routerState.snapshot.root;d=Ev(p)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return Iv(d,e,u,l??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=rr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,yo,null,r)}navigate(e,r={skipLocationChange:!1}){return RA(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=m({},kA):r===!1?i=m({},NA):i=r,rr(e))return sv(this.currentUrlTree,e,i);let o=this.parseUrl(e);return sv(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return AA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function RA(t){for(let n=0;n{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new k;constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof Tt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(rr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:mg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:rr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||t)(C(Ha),C(ir),ea("tabindex"),C(Wi),C(Z),C(Wr))};static \u0275dir=H({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&zr("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&ot("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ce],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ce],replaceUrl:[2,"replaceUrl","replaceUrl",Ce],routerLink:"routerLink"},features:[it,Vt]})}return t})(),BV=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new re;constructor(e,r,i,o,s){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof Tt&&this.update()})}ngAfterContentInit(){_(this.links.changes,_(null)).pipe(an()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Y(e).pipe(an()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=FA(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,r):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(C(Ha),C(Z),C(Wi),C(Wt),C(hv,8))};static \u0275dir=H({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Rb(o,hv,5),r&2){let s;yd(s=vd())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Vt]})}return t})();function FA(t){return!!t.paths}var Hv=new v(""),LA=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,r,i,o,s={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof oi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Tt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof In&&e.code===ka.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ra&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ra(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){kg()};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function VV(t,...n){return Pi([{provide:qf,multi:!0,useValue:t},[],{provide:ir,useFactory:PA,deps:[Ha]},{provide:Ur,multi:!0,useFactory:BA},n.map(e=>e.\u0275providers)])}function PA(t){return t.routerState.root}function jA(t,n){return{\u0275kind:t,\u0275providers:n}}function $V(t={}){return jA(4,[{provide:Hv,useFactory:()=>{let e=f(Xb),r=f(P),i=f($v),o=f(Va);return new LA(o,i,e,r,t)}}])}function BA(){let t=f(le);return n=>{let e=t.get(It);if(n!==e.components[0])return;let r=t.get(Ha),i=t.get(VA);t.get($A)===1&&r.initialNavigation(),t.get(UA,null,L.Optional)?.setUpPreloading(),t.get(Hv,null,L.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var VA=new v("",{factory:()=>new k}),$A=new v("",{providedIn:"root",factory:()=>1});var UA=new v("");function GV(t){return t!=null&&`${t}`!="false"}function zv(t,n=0){return HA(t)?Number(t):arguments.length===2?n:0}function HA(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Zf(t){return Array.isArray(t)?t:[t]}function qV(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Jt(t){return t instanceof Z?t.nativeElement:t}var Yf;try{Yf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Yf=!1}var dt=(()=>{class t{_platformId=f(pe);isBrowser=this._platformId?me(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Yf)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var li,Gv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function XV(){if(li)return li;if(typeof document!="object"||!document)return li=new Set(Gv),li;let t=document.createElement("input");return li=new Set(Gv.filter(n=>(t.setAttribute("type",n),t.type===n))),li}var ko;function zA(){if(ko==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ko=!0}))}finally{ko=ko||!1}return ko}function ui(t){return zA()?t:!!t.capture}var or;function JV(){if(or==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return or=!1,or;if("scrollBehavior"in document.documentElement.style)or=!0;else{let t=Element.prototype.scrollTo;t?or=!/\{\s*\[native code\]\s*\}/.test(t.toString()):or=!1}}return or}var Qf;function GA(){if(Qf==null){let t=typeof document<"u"?document.head:null;Qf=!!(t&&(t.createShadowRoot||t.attachShadow))}return Qf}function qv(t){if(GA()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function en(t){return t.composedPath?t.composedPath()[0]:t.target}function e2(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function qA(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),WA=(()=>{class t{_mutationObserverFactory=f(Wv);_observedElements=new Map;_ngZone=f(P);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=Jt(e);return new T(i=>{let s=this._observeElement(r).pipe(I(a=>a.filter(c=>!qA(c))),te(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new k,i=this._mutationObserverFactory.create(o=>r.next(o));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:r,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:r,stream:i}=this._observedElements.get(e);r&&r.disconnect(),i.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),d2=(()=>{class t{_contentObserver=f(WA);_elementRef=f(Z);event=new re;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=zv(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(un(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Ce],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[it]})}return t})(),f2=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=oe({type:t});static \u0275inj=ie({providers:[Wv]})}return t})();var Zv=new Set,sr,ZA=(()=>{class t{_platform=f(dt);_nonce=f(Hi,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):YA}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&QA(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function QA(t,n){if(!Zv.has(t))try{sr||(sr=document.createElement("style"),n&&sr.setAttribute("nonce",n),sr.setAttribute("type","text/css"),document.head.appendChild(sr)),sr.sheet&&(sr.sheet.insertRule(`@media ${t} {body{ }}`,0),Zv.add(t))}catch(e){console.error(e)}}function YA(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Yv=(()=>{class t{_mediaMatcher=f(ZA);_zone=f(P);_queries=new Map;_destroySubject=new k;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Qv(Zf(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=Qv(Zf(e)).map(s=>this._registerQuery(s).observable),o=yr(i);return o=cn(o.pipe(Le(1)),o.pipe(Di(1),un(0))),o.pipe(I(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),o={observable:new T(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Nn(r),I(({matches:s})=>({query:e,matches:s})),Pe(this._destroySubject)),mql:r};return this._queries.set(e,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Qv(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var D2={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var za=new WeakMap,Ga=(()=>{class t{_appRef;_injector=f(le);_environmentInjector=f(be);load(e){let r=this._appRef=this._appRef||this._injector.get(It),i=za.get(r);i||(i={loaders:new Set,refs:[]},za.set(r,i),r.onDestroy(()=>{za.get(r)?.refs.forEach(o=>o.destroy()),za.delete(r)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push($b(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Kv(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var mk=200,Jf=class{_letterKeyStream=new k;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new k;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:mk;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(X(e=>this._pressedLetters.push(e)),un(n),te(()=>this._pressedLetters.length>0),I(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;rn.disabled;constructor(n,e){this._items=n,n instanceof Rr?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Zi(n)&&(this._effectRef=Sd(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new k;change=new k;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Jf(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Xv=class extends eh{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function th(t){return t.buttons===0||t.detail===0}function nh(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var gk=new v("cdk-input-modality-detector-options"),bk={ignoreKeys:[18,17,224,91,16]},tx=650,di=ui({passive:!0,capture:!0}),yk=(()=>{class t{_platform=f(dt);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new ee(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=en(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(nh(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=en(e)};constructor(){let e=f(P),r=f(G),i=f(gk,{optional:!0});this._options=m(m({},bk),i),this.modalityDetected=this._modality.pipe(Di(1)),this.modalityChanged=this.modalityDetected.pipe(xr()),this._platform.isBrowser&&e.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,di),r.addEventListener("mousedown",this._onMousedown,di),r.addEventListener("touchstart",this._onTouchstart,di)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,di),document.removeEventListener("mousedown",this._onMousedown,di),document.removeEventListener("touchstart",this._onTouchstart,di))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vk=new v("liveAnnouncerElement",{providedIn:"root",factory:xk});function xk(){return null}var Dk=new v("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),wk=0,z2=(()=>{class t{_ngZone=f(P);_defaultOptions=f(Dk,{optional:!0});_liveElement;_document=f(G);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(vk,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...r){let i=this._defaultOptions,o,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),s==null&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let i=0;i{class t{_ngZone=f(P);_platform=f(dt);_inputModalityDetector=f(yk);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=f(G,{optional:!0});_stopInputModalityDetector=new k;constructor(){let e=f(_k,{optional:!0});this._detectionMode=e?.detectionMode||Wa.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=en(e);for(let i=r;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,r=!1){let i=Jt(e);if(!this._platform.isBrowser||i.nodeType!==1)return _();let o=qv(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new k,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=Jt(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){let o=Jt(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Wa.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===Wa.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?tx:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,r){let i=this._elementInfo.get(r),o=en(e);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(e,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,qa),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,qa)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Pe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qa),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qa),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class t{_platform=f(dt);_hasCheckedHighContrastMode;_document=f(G);_breakpointSubscription;constructor(){this._breakpointSubscription=f(Yv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ar.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ar.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ar.BLACK_ON_WHITE}return ar.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Kf,Jv,ex),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===ar.BLACK_ON_WHITE?e.add(Kf,Jv):r===ar.WHITE_ON_BLACK&&e.add(Kf,ex)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xf={},Ek=(()=>{class t{_appId=f($i);getId(e){return this._appId!=="ng"&&(e+=this._appId),Xf.hasOwnProperty(e)||(Xf[e]=0),`${e}${Xf[e]++}`}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var No=(()=>{class t{constructor(){f(rx)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=oe({type:t});static \u0275inj=ie({imports:[lo,lo]})}return t})(),ix=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,r,i,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=r,this._parentForm=i,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=r?.isErrorState(i,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var u$=(()=>{class t{isErrorState(e,r){return!!(e&&e.invalid&&(e.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Re({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,i){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return t})();var Ye=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Ye||{}),oh=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Ye.HIDDEN;constructor(n,e,r,i=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},ox=ui({passive:!0,capture:!0}),sh=class{_events=new Map;addHandler(n,e,r,i){let o=this._events.get(e);if(o){let s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(e,new Map([[r,new Set([i])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,ox)})}removeHandler(n,e,r){let i=this._events.get(n);if(!i)return;let o=i.get(e);o&&(o.delete(r),o.size===0&&i.delete(e),i.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,ox)))}_delegateEventHandler=n=>{let e=en(n);e&&this._events.get(n.type)?.forEach((r,i)=>{(i===e||i.contains(e))&&r.forEach(o=>o.handleEvent(n))})}},Qa={enterDuration:225,exitDuration:150},Ik=800,sx=ui({passive:!0,capture:!0}),ax=["mousedown","touchstart"],cx=["mouseup","mouseleave","touchend","touchcancel"],Ck=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Re({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return t})(),Ya=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new sh;constructor(n,e,r,i,o){this._target=n,this._ngZone=e,this._platform=i,i.isBrowser&&(this._containerElement=Jt(r)),o&&o.get(Ga).load(Ck)}fadeInRipple(n,e,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=m(m({},Qa),r.animation);r.centered&&(n=i.left+i.width/2,e=i.top+i.height/2);let s=r.radius||Mk(n,e,i),a=n-i.left,c=e-i.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),p=d.transitionProperty,h=d.transitionDuration,b=p==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,g=new oh(this,u,r,b);u.style.transform="scale3d(1, 1, 1)",g.state=Ye.FADING_IN,r.persistent||(this._mostRecentTransientRipple=g);let D=null;return!b&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let E=()=>{D&&(D.fallbackTimer=null),clearTimeout(F),this._finishRippleTransition(g)},V=()=>this._destroyRipple(g),F=setTimeout(V,l+100);u.addEventListener("transitionend",E),u.addEventListener("transitioncancel",V),D={onTransitionEnd:E,onTransitionCancel:V,fallbackTimer:F}}),this._activeRipples.set(g,D),(b||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(n){if(n.state===Ye.FADING_OUT||n.state===Ye.HIDDEN)return;let e=n.element,r=m(m({},Qa),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=Ye.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Jt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,ax.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{cx.forEach(e=>{this._triggerElement.addEventListener(e,this,sx)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Ye.FADING_IN?this._startFadeOutTransition(n):n.state===Ye.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=Ye.VISIBLE,!r&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Ye.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=th(n),r=this._lastTouchStartEvent&&Date.now(){let e=n.state===Ye.VISIBLE||n.config.terminateOnPointerUp&&n.state===Ye.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(ax.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(cx.forEach(e=>n.removeEventListener(e,this,sx)),this._pointerUpEventsRegistered=!1))}};function Mk(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),i=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+i*i)}var hx=new v("mat-ripple-global-options"),d$=(()=>{class t{_elementRef=f(Z);_animationMode=f(Ui,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=f(P),r=f(dt),i=f(hx,{optional:!0}),o=f(le);this._globalOptions=i||{},this._rippleRenderer=new Ya(this,e,this._elementRef,r,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:m(m(m({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,m(m({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,m(m({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){r&2&&Oe("mat-ripple-unbounded",i.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),px=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=oe({type:t});static \u0275inj=ie({imports:[No,No]})}return t})();var lx={capture:!0},ux=["focus","mousedown","mouseenter","touchstart"],rh="mat-ripple-loader-uninitialized",ih="mat-ripple-loader-class-name",dx="mat-ripple-loader-centered",Za="mat-ripple-loader-disabled",mx=(()=>{class t{_document=f(G,{optional:!0});_animationMode=f(Ui,{optional:!0});_globalRippleOptions=f(hx,{optional:!0});_platform=f(dt);_ngZone=f(P);_injector=f(le);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of ux)this._document?.addEventListener(e,this._onInteraction,lx)})}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);for(let r of ux)this._document?.removeEventListener(r,this._onInteraction,lx)}configureRipple(e,r){e.setAttribute(rh,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(ih))&&e.setAttribute(ih,r.className||""),r.centered&&e.setAttribute(dx,""),r.disabled&&e.setAttribute(Za,"")}setDisabled(e,r){let i=this._hosts.get(e);i?(i.target.rippleDisabled=r,!r&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(e))):r?e.setAttribute(Za,""):e.removeAttribute(Za)}_onInteraction=e=>{let r=en(e);if(r instanceof HTMLElement){let i=r.closest(`[${rh}="${this._globalRippleOptions?.namespace??""}"]`);i&&this._createRipple(i)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(ih)),e.append(r);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,s=i?0:o?.animation?.enterDuration??Qa.enterDuration,a=i?0:o?.animation?.exitDuration??Qa.exitDuration,c={rippleDisabled:i||o?.disabled||e.hasAttribute(Za),rippleConfig:{centered:e.hasAttribute(dx),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},l=new Ya(c,this._ngZone,r,this._platform,this._injector),u=!c.rippleDisabled;u&&l.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:l,hasSetUpEvents:u}),e.removeAttribute(rh)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Tk=["mat-button",""],ah=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ch=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var gx="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}",Sk=["mat-fab",""],Ak=["mat-mini-fab",""],kk='.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',bx=["mat-icon-button",""],yx=["*"],Nk='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Rk=new v("MAT_BUTTON_CONFIG");var Ok=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ro=(()=>{class t{_elementRef=f(Z);_platform=f(dt);_ngZone=f(P);_animationMode=f(Ui,{optional:!0});_focusMonitor=f(nx);_rippleLoader=f(mx);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){f(Ga).load(fx);let e=f(Rk,{optional:!0}),r=this._elementRef.nativeElement,i=r.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(r,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:s}of Ok)r.hasAttribute(o)&&i.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=H({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ce],disabled:[2,"disabled","disabled",Ce],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ce],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ce]},features:[it]})}return t})();var Fk=(()=>{class t extends Ro{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275dir=H({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Md(e)]},features:[it,ae]})}return t})(),I$=(()=>{class t extends Ro{static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275cmp=Re({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(r,i){r&2&&(ot("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Hr(i.color?"mat-"+i.color:""),Oe("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ae],attrs:Tk,ngContentSelectors:ch,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(Qn(ah),Ie(0,"span",0),Ve(1),Gt(2,"span",1),Ve(3,1),qt(),Ve(4,2),Ie(5,"span",2)(6,"span",3)),r&2&&Oe("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return t})();var vx=new v("mat-mdc-fab-default-options",{providedIn:"root",factory:xx});function xx(){return{color:"accent"}}var Ka=xx(),C$=(()=>{class t extends Ro{_options=f(vx,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Ka,this.color=this._options.color||Ka.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Re({type:t,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(r,i){r&2&&(ot("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Hr(i.color?"mat-"+i.color:""),Oe("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{extended:[2,"extended","extended",Ce]},exportAs:["matButton"],features:[it,ae],attrs:Sk,ngContentSelectors:ch,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(Qn(ah),Ie(0,"span",0),Ve(1),Gt(2,"span",1),Ve(3,1),qt(),Ve(4,2),Ie(5,"span",2)(6,"span",3)),r&2&&Oe("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return t})(),M$=(()=>{class t extends Ro{_options=f(vx,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Ka,this.color=this._options.color||Ka.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Re({type:t,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(r,i){r&2&&(ot("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Hr(i.color?"mat-"+i.color:""),Oe("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ae],attrs:Ak,ngContentSelectors:ch,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(Qn(ah),Ie(0,"span",0),Ve(1),Gt(2,"span",1),Ve(3,1),qt(),Ve(4,2),Ie(5,"span",2)(6,"span",3)),r&2&&Oe("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[kk],encapsulation:2,changeDetection:0})}return t})();var T$=(()=>{class t extends Ro{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Re({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,i){r&2&&(ot("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Hr(i.color?"mat-"+i.color:""),Oe("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ae],attrs:bx,ngContentSelectors:yx,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(Qn(),Ie(0,"span",0),Ve(1),Ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',gx],encapsulation:2,changeDetection:0})}return t})(),S$=(()=>{class t extends Fk{static \u0275fac=(()=>{let e;return function(i){return(e||(e=xe(t)))(i||t)}})();static \u0275cmp=Re({type:t,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(r,i){r&2&&(ot("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),Hr(i.color?"mat-"+i.color:""),Oe("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[ae],attrs:bx,ngContentSelectors:yx,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(Qn(),Ie(0,"span",0),Ve(1),Ie(2,"span",1)(3,"span",2))},styles:[Nk,gx],encapsulation:2,changeDetection:0})}return t})(),A$=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=oe({type:t});static \u0275inj=ie({imports:[No,px,No]})}return t})();export{m as a,j as b,Tx as c,Lk as d,Pk as e,fi as f,B as g,T as h,k as i,ee as j,pt as k,_ as l,on as m,I as n,Y as o,zx as p,Ec as q,vr as r,te as s,vi as t,Qx as u,An as v,un as w,Le as x,kn as y,bt as z,Xx as A,eD as B,tl as C,Di as D,Nn as E,he as F,Pe as G,X as H,w as I,Lp as J,y as K,ie as L,v as M,x as N,f as O,be as P,Vt as Q,dP as R,fP as S,hP as T,pP as U,mP as V,xe as W,le as X,np as Y,re as Z,P as _,Dt as $,Z as aa,pe as ba,Ui as ca,Et as da,Gw as ea,Qu as fa,nt as ga,gP as ha,f_ as ia,bP as ja,yP as ka,od as la,C as ma,Gn as na,bn as oa,Fr as pa,Wi as qa,Re as ra,oe as sa,H as ta,nb as ua,Zi as va,$r as wa,It as xa,zt as ya,gd as za,wP as Aa,ae as Ba,it as Ca,Db as Da,ot as Ea,Ib as Fa,Cb as Ga,Oe as Ha,Hr as Ia,n0 as Ja,Gt as Ka,qt as La,Ie as Ma,_P as Na,Nb as Oa,s0 as Pa,zr as Qa,u0 as Ra,f0 as Sa,Qn as Ta,Ve as Ua,m0 as Va,Rb as Wa,g0 as Xa,yd as Ya,vd as Za,EP as _a,IP as $a,CP as ab,xd as bb,Dd as cb,wd as db,v0 as eb,MP as fb,x0 as gb,Fb as hb,_d as ib,Ed as jb,TP as kb,SP as lb,Wt as mb,Ce as nb,Md as ob,AP as pb,Td as qb,Sd as rb,$b as sb,Gr as tb,G as ub,Wr as vb,Qi as wb,ej as xb,tj as yb,nj as zb,Kb as Ab,Zr as Bb,Xb as Cb,Hd as Db,mj as Eb,fy as Fb,Lj as Gb,Xd as Hb,En as Ib,lV as Jb,uV as Kb,dV as Lb,fV as Mb,hV as Nb,pV as Ob,mV as Pb,gV as Qb,iv as Rb,ov as Sb,bV as Tb,ir as Ub,MS as Vb,Ha as Wb,hv as Xb,BV as Yb,VV as Zb,$V as _b,Dy as $b,ct as ac,Fy as bc,Ly as cc,LM as dc,Py as ec,Ky as fc,wn as gc,ZM as hc,Yt as ic,_n as jc,er as kc,Xr as lc,GV as mc,Zf as nc,qV as oc,Jt as pc,jy as qc,tV as rc,nV as sc,rV as tc,iV as uc,oV as vc,sV as wc,dt as xc,XV as yc,ui as zc,JV as Ac,en as Bc,e2 as Cc,Ga as Dc,Kv as Ec,d2 as Fc,f2 as Gc,Yv as Hc,D2 as Ic,Xv as Jc,z2 as Kc,nx as Lc,Ek as Mc,No as Nc,ix as Oc,u$ as Pc,fx as Qc,hx as Rc,d$ as Sc,I$ as Tc,C$ as Uc,M$ as Vc,T$ as Wc,S$ as Xc,A$ as Yc}; diff --git a/chunk-MSZJNVS2.js b/chunk-ZRM72TJW.js similarity index 95% rename from chunk-MSZJNVS2.js rename to chunk-ZRM72TJW.js index 0f1aa93..59ade7b 100644 --- a/chunk-MSZJNVS2.js +++ b/chunk-ZRM72TJW.js @@ -1 +1 @@ -import{a as k}from"./chunk-R3OWIIC4.js";import{a as E,b as w}from"./chunk-4AFKNOE3.js";import{Ab as v,Fa as d,Ka as t,La as e,Ma as s,aa as S,bb as i,cb as o,ib as p,jb as r,la as a,ma as h,ra as y}from"./chunk-L73B4PLA.js";var c=class g{constructor(m,l){this.elementRef=m;this.rawLoaderService=l;this.blockquotes$=this.rawLoaderService.get("app/cheat-sheet/remote/blockquotes.md");this.codeAndSynthaxHighlighting$=this.rawLoaderService.get("app/cheat-sheet/remote/code-and-synthax-highlighting.md");this.emphasis$=this.rawLoaderService.get("app/cheat-sheet/remote/emphasis.md");this.headers$=this.rawLoaderService.get("app/cheat-sheet/remote/headers.md");this.horizontalRule$=this.rawLoaderService.get("app/cheat-sheet/remote/horizontal-rule.md");this.images$=this.rawLoaderService.get("app/cheat-sheet/remote/images.md");this.links$=this.rawLoaderService.get("app/cheat-sheet/remote/links.md");this.lists$=this.rawLoaderService.get("app/cheat-sheet/remote/lists.md");this.listsDot$=this.rawLoaderService.get("app/cheat-sheet/remote/lists-dot.md");this.tables$=this.rawLoaderService.get("app/cheat-sheet/remote/tables.md")}ngOnInit(){this.setHeadings()}setHeadings(){let m=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(l=>m.push(l)),this.headings=m}static{this.\u0275fac=function(l){return new(l||g)(h(S),h(k))}}static{this.\u0275cmp=y({type:g,selectors:[["app-cheat-sheet"]],decls:79,vars:55,consts:[[3,"headings"],["id","headers"],[1,"language-none"],[3,"data"],["id","emphasis"],["id","lists"],["id","links"],["id","images"],["id","code-and-synthax"],["id","tables"],["id","blockquotes"],["id","horizontal-rule"]],template:function(l,n){l&1&&(t(0,"app-scrollspy-nav-layout",0)(1,"h1"),i(2,"Cheat Sheet"),e(),t(3,"markdown"),i(4," The following examples are intended as a quick markdown reference and showcase. It is based on Adam Pritchard work of [Markdown Cheat Sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). "),e(),t(5,"section")(6,"h2",1),i(7,"Headers"),e(),t(8,"pre",2),i(9),p(10,"async"),e(),s(11,"markdown",3),p(12,"async"),e(),t(13,"section")(14,"h2",4),i(15,"Emphasis"),e(),t(16,"pre",2),i(17),p(18,"async"),e(),s(19,"markdown",3),p(20,"async"),e(),t(21,"section")(22,"h2",5),i(23,"Lists"),e(),t(24,"p"),i(25," In this example, leading and trailing spaces are shown with with dots (\u22C5) "),e(),t(26,"pre",2),i(27),p(28,"async"),e(),s(29,"markdown",3),p(30,"async"),e(),t(31,"section")(32,"h2",6),i(33,"Links"),e(),t(34,"pre",2),i(35),p(36,"async"),e(),s(37,"markdown",3),p(38,"async"),e(),t(39,"section")(40,"h2",7),i(41,"Images"),e(),t(42,"pre",2),i(43),p(44,"async"),e(),s(45,"markdown",3),p(46,"async"),e(),t(47,"section")(48,"h2",8),i(49,"Code and Syntax Highlighting"),e(),t(50,"pre",2),i(51),p(52,"async"),e(),s(53,"markdown",3),p(54,"async"),e(),t(55,"section")(56,"h2",9),i(57,"Tables"),e(),t(58,"pre",2),i(59),p(60,"async"),e(),s(61,"markdown",3),p(62,"async"),e(),t(63,"section")(64,"h2",10),i(65,"Blockquotes"),e(),t(66,"pre",2),i(67),p(68,"async"),e(),s(69,"markdown",3),p(70,"async"),e(),t(71,"section")(72,"h2",11),i(73,"Horizontal Rule"),e(),t(74,"pre",2),i(75),p(76,"async"),e(),s(77,"markdown",3),p(78,"async"),e()()),l&2&&(d("headings",n.headings),a(9),o(r(10,19,n.headers$)),a(2),d("data",r(12,21,n.headers$)),a(6),o(r(18,23,n.emphasis$)),a(2),d("data",r(20,25,n.emphasis$)),a(8),o(r(28,27,n.listsDot$)),a(2),d("data",r(30,29,n.lists$)),a(6),o(r(36,31,n.links$)),a(2),d("data",r(38,33,n.links$)),a(6),o(r(44,35,n.images$)),a(2),d("data",r(46,37,n.images$)),a(6),o(r(52,39,n.codeAndSynthaxHighlighting$)),a(2),d("data",r(54,41,n.codeAndSynthaxHighlighting$)),a(6),o(r(60,43,n.tables$)),a(2),d("data",r(62,45,n.tables$)),a(6),o(r(68,47,n.blockquotes$)),a(2),d("data",r(70,49,n.blockquotes$)),a(6),o(r(76,51,n.horizontalRule$)),a(2),d("data",r(78,53,n.horizontalRule$)))},dependencies:[v,E,w],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}};export{c as default}; +import{a as k}from"./chunk-QIEIMAKB.js";import{a as E,b as w}from"./chunk-24RKEVHA.js";import{Ab as v,Fa as d,Ka as t,La as e,Ma as s,aa as S,bb as i,cb as o,ib as p,jb as r,la as a,ma as h,ra as y}from"./chunk-XUHCC3XM.js";var c=class g{constructor(m,l){this.elementRef=m;this.rawLoaderService=l;this.blockquotes$=this.rawLoaderService.get("app/cheat-sheet/remote/blockquotes.md");this.codeAndSynthaxHighlighting$=this.rawLoaderService.get("app/cheat-sheet/remote/code-and-synthax-highlighting.md");this.emphasis$=this.rawLoaderService.get("app/cheat-sheet/remote/emphasis.md");this.headers$=this.rawLoaderService.get("app/cheat-sheet/remote/headers.md");this.horizontalRule$=this.rawLoaderService.get("app/cheat-sheet/remote/horizontal-rule.md");this.images$=this.rawLoaderService.get("app/cheat-sheet/remote/images.md");this.links$=this.rawLoaderService.get("app/cheat-sheet/remote/links.md");this.lists$=this.rawLoaderService.get("app/cheat-sheet/remote/lists.md");this.listsDot$=this.rawLoaderService.get("app/cheat-sheet/remote/lists-dot.md");this.tables$=this.rawLoaderService.get("app/cheat-sheet/remote/tables.md")}ngOnInit(){this.setHeadings()}setHeadings(){let m=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(l=>m.push(l)),this.headings=m}static{this.\u0275fac=function(l){return new(l||g)(h(S),h(k))}}static{this.\u0275cmp=y({type:g,selectors:[["app-cheat-sheet"]],decls:79,vars:55,consts:[[3,"headings"],["id","headers"],[1,"language-none"],[3,"data"],["id","emphasis"],["id","lists"],["id","links"],["id","images"],["id","code-and-synthax"],["id","tables"],["id","blockquotes"],["id","horizontal-rule"]],template:function(l,n){l&1&&(t(0,"app-scrollspy-nav-layout",0)(1,"h1"),i(2,"Cheat Sheet"),e(),t(3,"markdown"),i(4," The following examples are intended as a quick markdown reference and showcase. It is based on Adam Pritchard work of [Markdown Cheat Sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). "),e(),t(5,"section")(6,"h2",1),i(7,"Headers"),e(),t(8,"pre",2),i(9),p(10,"async"),e(),s(11,"markdown",3),p(12,"async"),e(),t(13,"section")(14,"h2",4),i(15,"Emphasis"),e(),t(16,"pre",2),i(17),p(18,"async"),e(),s(19,"markdown",3),p(20,"async"),e(),t(21,"section")(22,"h2",5),i(23,"Lists"),e(),t(24,"p"),i(25," In this example, leading and trailing spaces are shown with with dots (\u22C5) "),e(),t(26,"pre",2),i(27),p(28,"async"),e(),s(29,"markdown",3),p(30,"async"),e(),t(31,"section")(32,"h2",6),i(33,"Links"),e(),t(34,"pre",2),i(35),p(36,"async"),e(),s(37,"markdown",3),p(38,"async"),e(),t(39,"section")(40,"h2",7),i(41,"Images"),e(),t(42,"pre",2),i(43),p(44,"async"),e(),s(45,"markdown",3),p(46,"async"),e(),t(47,"section")(48,"h2",8),i(49,"Code and Syntax Highlighting"),e(),t(50,"pre",2),i(51),p(52,"async"),e(),s(53,"markdown",3),p(54,"async"),e(),t(55,"section")(56,"h2",9),i(57,"Tables"),e(),t(58,"pre",2),i(59),p(60,"async"),e(),s(61,"markdown",3),p(62,"async"),e(),t(63,"section")(64,"h2",10),i(65,"Blockquotes"),e(),t(66,"pre",2),i(67),p(68,"async"),e(),s(69,"markdown",3),p(70,"async"),e(),t(71,"section")(72,"h2",11),i(73,"Horizontal Rule"),e(),t(74,"pre",2),i(75),p(76,"async"),e(),s(77,"markdown",3),p(78,"async"),e()()),l&2&&(d("headings",n.headings),a(9),o(r(10,19,n.headers$)),a(2),d("data",r(12,21,n.headers$)),a(6),o(r(18,23,n.emphasis$)),a(2),d("data",r(20,25,n.emphasis$)),a(8),o(r(28,27,n.listsDot$)),a(2),d("data",r(30,29,n.lists$)),a(6),o(r(36,31,n.links$)),a(2),d("data",r(38,33,n.links$)),a(6),o(r(44,35,n.images$)),a(2),d("data",r(46,37,n.images$)),a(6),o(r(52,39,n.codeAndSynthaxHighlighting$)),a(2),d("data",r(54,41,n.codeAndSynthaxHighlighting$)),a(6),o(r(60,43,n.tables$)),a(2),d("data",r(62,45,n.tables$)),a(6),o(r(68,47,n.blockquotes$)),a(2),d("data",r(70,49,n.blockquotes$)),a(6),o(r(76,51,n.horizontalRule$)),a(2),d("data",r(78,53,n.horizontalRule$)))},dependencies:[v,E,w],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}};export{c as default}; diff --git a/index.html b/index.html index 8e03c4a..6628132 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,5 @@ - + diff --git a/main-ELDGICIT.js b/main-O76X5MJS.js similarity index 55% rename from main-ELDGICIT.js rename to main-O76X5MJS.js index 1a46154..e12fb93 100644 --- a/main-ELDGICIT.js +++ b/main-O76X5MJS.js @@ -1,4 +1,4 @@ -import{a as Qr,b as Gi,d as oa}from"./chunk-FPZ3WRTH.js";import{a as sa}from"./chunk-LI3L4VBM.js";import{$ as Yt,$b as Hr,B as dr,Ba as zi,Ca as Ze,Cb as Fr,D as mr,Da as Vi,Db as ti,Dc as Yr,E as Li,Ea as st,Eb as Ar,Ec as Xr,F as hr,Fa as me,Fb as wr,Fc as Zr,G as De,Ga as Dr,Gb as Sr,H as Kt,Ha as Me,Hb as Ir,I as k,Ia as Et,Ib as S,Jb as Fe,Jc as Jr,K as He,Ka as $,Kb as kr,L as Ge,La as se,Lb as Pr,Lc as ea,M as yt,Ma as Te,Mb as Mr,Mc as ji,N as Y,Na as Zt,Nb as ot,Nc as xe,O as F,Pb as Nr,Qa as Ce,Qb as Br,Qc as ta,Rb as lt,Rc as ia,Sb as qi,Sc as Ki,T as re,Ta as Qe,Tb as ii,U as ae,Ua as Ne,Ub as xr,Va as Er,Vb as Rr,Wa as Jt,Wb as ni,Wc as na,X as fr,Xa as qe,Xb as Lr,Xc as ra,Y as Gt,Ya as he,Yb as Or,Yc as aa,Z as Oi,Za as fe,Zb as zr,_ as vt,_b as Vr,a as Wt,aa as ue,ab as Tt,ac as Wi,bb as ei,c as Jn,ca as Ye,cb as Hi,cc as Ur,d as Bs,da as pr,e as xs,fa as gr,g as xi,ga as Ue,h as er,i as $t,ia as br,j as tr,ja as _r,k as ir,ka as yr,l as Ve,la as de,m as nr,ma as Xt,mb as Ui,n as at,nb as pe,ob as Qi,p as rr,pa as vr,q as jt,qc as $i,r as Ri,ra as Ee,rc as qr,s as ar,sa as Xe,sc as Wr,t as sr,ta as Dt,tc as $r,ub as Be,v as or,vb as Tr,vc as jr,w as lr,wc as Kr,x as cr,xb as Cr,xc as Ct,y as ur,zc as Gr}from"./chunk-L73B4PLA.js";var la=Bs((jl,ri)=>{"use strict";(function(r,t,e,i){"use strict";var n=["","webkit","Moz","MS","ms","o"],a=t.createElement("div"),l="function",c=Math.round,d=Math.abs,m=Date.now;function p(s,o,u){return setTimeout(R(s,u),o)}function g(s,o,u){return Array.isArray(s)?(T(s,u[o],u),!0):!1}function T(s,o,u){var h;if(s)if(s.forEach)s.forEach(o,u);else if(s.length!==i)for(h=0;h{"use strict";(function(r,t,e,i){"use strict";var n=["","webkit","Moz","MS","ms","o"],a=t.createElement("div"),l="function",c=Math.round,d=Math.abs,m=Date.now;function p(s,o,u){return setTimeout(R(s,u),o)}function g(s,o,u){return Array.isArray(s)?(T(s,u[o],u),!0):!1}function T(s,o,u){var h;if(s)if(s.forEach)s.forEach(o,u);else if(s.length!==i)for(h=0;h\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",A=r.console&&(r.console.warn||r.console.log);return A&&A.call(r.console,h,b),s.apply(this,arguments)}}var y;typeof Object.assign!="function"?y=function(o){if(o===i||o===null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(o),h=1;h-1}function ee(s){return s.trim().split(/\s+/g)}function X(s,o,u){if(s.indexOf&&!u)return s.indexOf(o);for(var h=0;hG[o]}):h=h.sort()),h}function Oe(s,o){for(var u,h,f=o[0].toUpperCase()+o.slice(1),b=0;b1&&!u.firstMultiple?u.firstMultiple=Rn(o):f===1&&(u.firstMultiple=!1);var b=u.firstInput,A=u.firstMultiple,U=A?A.center:b.center,q=o.center=Ln(h);o.timeStamp=m(),o.deltaTime=o.timeStamp-b.timeStamp,o.angle=Fi(U,q),o.distance=Lt(U,q),us(u,o),o.offsetDirection=zn(o.deltaX,o.deltaY);var G=On(o.deltaTime,o.deltaX,o.deltaY);o.overallVelocityX=G.x,o.overallVelocityY=G.y,o.overallVelocity=d(G.x)>d(G.y)?G.x:G.y,o.scale=A?hs(A.pointers,h):1,o.rotation=A?ms(A.pointers,h):0,o.maxPointers=u.prevInput?o.pointers.length>u.prevInput.maxPointers?o.pointers.length:u.prevInput.maxPointers:o.pointers.length,ds(u,o);var ve=s.element;H(o.srcEvent.target,ve)&&(ve=o.srcEvent.target),o.target=ve}function us(s,o){var u=o.center,h=s.offsetDelta||{},f=s.prevDelta||{},b=s.prevInput||{};(o.eventType===Q||b.eventType===P)&&(f=s.prevDelta={x:b.deltaX||0,y:b.deltaY||0},h=s.offsetDelta={x:u.x,y:u.y}),o.deltaX=f.x+(u.x-h.x),o.deltaY=f.y+(u.y-h.y)}function ds(s,o){var u=s.lastInterval||o,h=o.timeStamp-u.timeStamp,f,b,A,U;if(o.eventType!=M&&(h>xt||u.velocity===i)){var q=o.deltaX-u.deltaX,G=o.deltaY-u.deltaY,ve=On(h,q,G);b=ve.x,A=ve.y,f=d(ve.x)>d(ve.y)?ve.x:ve.y,U=zn(q,G),s.lastInterval=o}else f=u.velocity,b=u.velocityX,A=u.velocityY,U=u.direction;o.velocity=f,o.velocityX=b,o.velocityY=A,o.direction=U}function Rn(s){for(var o=[],u=0;u=d(o)?s<0?Se:ht:o<0?ft:pt}function Lt(s,o,u){u||(u=xn);var h=o[u[0]]-s[u[0]],f=o[u[1]]-s[u[1]];return Math.sqrt(h*h+f*f)}function Fi(s,o,u){u||(u=xn);var h=o[u[0]]-s[u[0]],f=o[u[1]]-s[u[1]];return Math.atan2(f,h)*180/Math.PI}function ms(s,o){return Fi(o[1],o[0],Rt)+Fi(s[1],s[0],Rt)}function hs(s,o){return Lt(o[0],o[1],Rt)/Lt(s[0],s[1],Rt)}var fs={mousedown:Q,mousemove:x,mouseup:P},ps="mousedown",gs="mousemove mouseup";function Ot(){this.evEl=ps,this.evWin=gs,this.pressed=!1,ie.apply(this,arguments)}I(Ot,ie,{handler:function(o){var u=fs[o.type];u&Q&&o.button===0&&(this.pressed=!0),u&x&&o.which!==1&&(u=P),this.pressed&&(u&P&&(this.pressed=!1),this.callback(this.manager,u,{pointers:[o],changedPointers:[o],pointerType:te,srcEvent:o}))}});var bs={pointerdown:Q,pointermove:x,pointerup:P,pointercancel:M,pointerout:M},_s={2:W,3:K,4:te,5:B},Vn="pointerdown",Hn="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Vn="MSPointerDown",Hn="MSPointerMove MSPointerUp MSPointerCancel");function Ai(){this.evEl=Vn,this.evWin=Hn,ie.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I(Ai,ie,{handler:function(o){var u=this.store,h=!1,f=o.type.toLowerCase().replace("ms",""),b=bs[f],A=_s[o.pointerType]||o.pointerType,U=A==W,q=X(u,o.pointerId,"pointerId");b&Q&&(o.button===0||U)?q<0&&(u.push(o),q=u.length-1):b&(P|M)&&(h=!0),!(q<0)&&(u[q]=o,this.callback(this.manager,b,{pointers:u,changedPointers:[o],pointerType:A,srcEvent:o}),h&&u.splice(q,1))}});var ys={touchstart:Q,touchmove:x,touchend:P,touchcancel:M},vs="touchstart",Ds="touchstart touchmove touchend touchcancel";function Un(){this.evTarget=vs,this.evWin=Ds,this.started=!1,ie.apply(this,arguments)}I(Un,ie,{handler:function(o){var u=ys[o.type];if(u===Q&&(this.started=!0),!!this.started){var h=Es.call(this,o,u);u&(P|M)&&h[0].length-h[1].length===0&&(this.started=!1),this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:W,srcEvent:o})}}});function Es(s,o){var u=$e(s.touches),h=$e(s.changedTouches);return o&(P|M)&&(u=be(u.concat(h),"identifier",!0)),[u,h]}var Ts={touchstart:Q,touchmove:x,touchend:P,touchcancel:M},Cs="touchstart touchmove touchend touchcancel";function zt(){this.evTarget=Cs,this.targetIds={},ie.apply(this,arguments)}I(zt,ie,{handler:function(o){var u=Ts[o.type],h=Fs.call(this,o,u);h&&this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:W,srcEvent:o})}});function Fs(s,o){var u=$e(s.touches),h=this.targetIds;if(o&(Q|x)&&u.length===1)return h[u[0].identifier]=!0,[u,u];var f,b,A=$e(s.changedTouches),U=[],q=this.target;if(b=u.filter(function(G){return H(G.target,q)}),o===Q)for(f=0;f-1&&h.splice(b,1)};setTimeout(f,As)}}function Ss(s){for(var o=s.srcEvent.clientX,u=s.srcEvent.clientY,h=0;h-1&&this.requireFail.splice(o,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(s){return!!this.simultaneous[s.id]},emit:function(s){var o=this,u=this.state;function h(f){o.manager.emit(f,s)}u=ze&&h(o.options.event+Gn(u))},tryEmit:function(s){if(this.canEmit())return this.emit(s);this.state=ye},canEmit:function(){for(var s=0;so.threshold&&f&o.direction},attrTest:function(s){return ce.prototype.attrTest.call(this,s)&&(this.state&ne||!(this.state&ne)&&this.directionTest(s))},emit:function(s){this.pX=s.deltaX,this.pY=s.deltaY;var o=Yn(s.direction);o&&(s.additionalEvent=this.options.event+o),this._super.emit.call(this,s)}});function ki(){ce.apply(this,arguments)}I(ki,ce,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ke]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.scale-1)>this.options.threshold||this.state&ne)},emit:function(s){if(s.scale!==1){var o=s.scale<1?"in":"out";s.additionalEvent=this.options.event+o}this._super.emit.call(this,s)}});function Pi(){ke.apply(this,arguments),this._timer=null,this._input=null}I(Pi,ke,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Kn]},process:function(s){var o=this.options,u=s.pointers.length===o.pointers,h=s.distanceo.time;if(this._input=s,!h||!u||s.eventType&(P|M)&&!f)this.reset();else if(s.eventType&Q)this.reset(),this._timer=p(function(){this.state=Ie,this.tryEmit()},o.time,this);else if(s.eventType&P)return Ie;return ye},reset:function(){clearTimeout(this._timer)},emit:function(s){this.state===Ie&&(s&&s.eventType&P?this.manager.emit(this.options.event+"up",s):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}});function Mi(){ce.apply(this,arguments)}I(Mi,ce,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ke]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.rotation)>this.options.threshold||this.state&ne)}});function Ni(){ce.apply(this,arguments)}I(Ni,ce,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:_e|je,pointers:1},getTouchAction:function(){return Qt.prototype.getTouchAction.call(this)},attrTest:function(s){var o=this.options.direction,u;return o&(_e|je)?u=s.overallVelocity:o&_e?u=s.overallVelocityX:o&je&&(u=s.overallVelocityY),this._super.attrTest.call(this,s)&&o&s.offsetDirection&&s.distance>this.options.threshold&&s.maxPointers==this.options.pointers&&d(u)>this.options.velocity&&s.eventType&P},emit:function(s){var o=Yn(s.offsetDirection);o&&this.manager.emit(this.options.event+o,s),this.manager.emit(this.options.event,s)}});function qt(){ke.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}I(qt,ke,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Si]},process:function(s){var o=this.options,u=s.pointers.length===o.pointers,h=s.distance{let m=d.get("offset"),p=m==l,g=p&&c||new Map;d.forEach((T,C)=>{let y=C,E=T;if(C!=="offset")switch(y=r.normalizePropertyName(y,n),E){case ii:E=e.get(C);break;case Fe:E=i.get(C);break;default:E=r.normalizeStyleValue(C,y,E,n);break}g.set(y,E)}),p||a.push(g),c=g,l=m}),n.length)throw io(n);return a}function _n(r,t,e,i){switch(t){case"start":r.onStart(()=>i(e&&Yi(e,"start",r)));break;case"done":r.onDone(()=>i(e&&Yi(e,"done",r)));break;case"destroy":r.onDestroy(()=>i(e&&Yi(e,"destroy",r)));break}}function Yi(r,t,e){let i=e.totalTime,n=!!e.disabled,a=yn(r.element,r.triggerName,r.fromState,r.toState,t||r.phaseName,i??r.totalTime,n),l=r._data;return l!=null&&(a._data=l),a}function yn(r,t,e,i,n="",a=0,l){return{element:r,triggerName:t,fromState:e,toState:i,phaseName:n,totalTime:a,disabled:!!l}}function J(r,t,e){let i=r.get(t);return i||r.set(t,i=e),i}function ua(r){let t=r.indexOf(":"),e=r.substring(1,t),i=r.slice(t+1);return[e,i]}var fo=typeof document>"u"?null:document.documentElement;function vn(r){let t=r.parentNode||r.host||null;return t===fo?null:t}function po(r){return r.substring(1,6)=="ebkit"}var Je=null,da=!1;function go(r){Je||(Je=bo()||{},da=Je.style?"WebkitAppearance"in Je.style:!1);let t=!0;return Je.style&&!po(r)&&(t=r in Je.style,!t&&da&&(t="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Je.style)),t}function bo(){return typeof document<"u"?document.body:null}function Ca(r,t){for(;t;){if(t===r)return!0;t=vn(t)}return!1}function Fa(r,t,e){if(e)return Array.from(r.querySelectorAll(t));let i=r.querySelector(t);return i?[i]:[]}var Dn=(()=>{class r{validateStyleProperty(e){return go(e)}containsElement(e,i){return Ca(e,i)}getParentElement(e){return vn(e)}query(e,i,n){return Fa(e,i,n)}computeStyle(e,i,n){return n||""}animate(e,i,n,a,l,c=[],d){return new lt(n,a)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),it=class{static NOOP=new Dn},nt=class{};var _o=1e3,Aa="{{",yo="}}",wa="ng-enter",nn="ng-leave",ai="ng-trigger",ui=".ng-trigger",ma="ng-animating",rn=".ng-animating";function Re(r){if(typeof r=="number")return r;let t=r.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:an(parseFloat(t[1]),t[2])}function an(r,t){switch(t){case"s":return r*_o;default:return r}}function di(r,t,e){return r.hasOwnProperty("duration")?r:vo(r,t,e)}function vo(r,t,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,a=0,l="";if(typeof r=="string"){let c=r.match(i);if(c===null)return t.push(ca(r)),{duration:0,delay:0,easing:""};n=an(parseFloat(c[1]),c[2]);let d=c[3];d!=null&&(a=an(parseFloat(d),c[4]));let m=c[5];m&&(l=m)}else n=r;if(!e){let c=!1,d=t.length;n<0&&(t.push(Rs()),c=!0),a<0&&(t.push(Ls()),c=!0),c&&t.splice(d,0,ca(r))}return{duration:n,delay:a,easing:l}}function Do(r){return r.length?r[0]instanceof Map?r:r.map(t=>new Map(Object.entries(t))):[]}function Ae(r,t,e){t.forEach((i,n)=>{let a=En(n);e&&!e.has(n)&&e.set(n,r.style[a]),r.style[a]=i})}function tt(r,t){t.forEach((e,i)=>{let n=En(i);r.style[n]=""})}function Ft(r){return Array.isArray(r)?r.length==1?r[0]:Mr(r):r}function Eo(r,t,e){let i=t.params||{},n=Sa(r);n.length&&n.forEach(a=>{i.hasOwnProperty(a)||e.push(Os(a))})}var sn=new RegExp(`${Aa}\\s*(.+?)\\s*${yo}`,"g");function Sa(r){let t=[];if(typeof r=="string"){let e;for(;e=sn.exec(r);)t.push(e[1]);sn.lastIndex=0}return t}function wt(r,t,e){let i=`${r}`,n=i.replace(sn,(a,l)=>{let c=t[l];return c==null&&(e.push(zs(l)),c=""),c.toString()});return n==i?r:n}var To=/-+([a-z0-9])/g;function En(r){return r.replace(To,(...t)=>t[1].toUpperCase())}function Co(r,t){return r===0||t===0}function Fo(r,t,e){if(e.size&&t.length){let i=t[0],n=[];if(e.forEach((a,l)=>{i.has(l)||n.push(l),i.set(l,a)}),n.length)for(let a=1;al.set(c,Tn(r,c)))}}return t}function Z(r,t,e){switch(t.type){case S.Trigger:return r.visitTrigger(t,e);case S.State:return r.visitState(t,e);case S.Transition:return r.visitTransition(t,e);case S.Sequence:return r.visitSequence(t,e);case S.Group:return r.visitGroup(t,e);case S.Animate:return r.visitAnimate(t,e);case S.Keyframes:return r.visitKeyframes(t,e);case S.Style:return r.visitStyle(t,e);case S.Reference:return r.visitReference(t,e);case S.AnimateChild:return r.visitAnimateChild(t,e);case S.AnimateRef:return r.visitAnimateRef(t,e);case S.Query:return r.visitQuery(t,e);case S.Stagger:return r.visitStagger(t,e);default:throw Vs(t.type)}}function Tn(r,t){return window.getComputedStyle(r)[t]}var Ao=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),mi=class extends nt{normalizePropertyName(t,e){return En(t)}normalizeStyleValue(t,e,i,n){let a="",l=i.toString().trim();if(Ao.has(e)&&i!==0&&i!=="0")if(typeof i=="number")a="px";else{let c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&c[1].length==0&&n.push(Hs(t,i))}return l+a}};var hi="*";function wo(r,t){let e=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(i=>So(i,e,t)):e.push(r),e}function So(r,t,e){if(r[0]==":"){let d=Io(r,e);if(typeof d=="function"){t.push(d);return}r=d}let i=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Js(r)),t;let n=i[1],a=i[2],l=i[3];t.push(ha(n,l));let c=n==hi&&l==hi;a[0]=="<"&&!c&&t.push(ha(l,n))}function Io(r,t){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var si=new Set(["true","1"]),oi=new Set(["false","0"]);function ha(r,t){let e=si.has(r)||oi.has(r),i=si.has(t)||oi.has(t);return(n,a)=>{let l=r==hi||r==n,c=t==hi||t==a;return!l&&e&&typeof n=="boolean"&&(l=n?si.has(r):oi.has(r)),!c&&i&&typeof a=="boolean"&&(c=a?si.has(t):oi.has(t)),l&&c}}var Ia=":self",ko=new RegExp(`s*${Ia}s*,?`,"g");function ka(r,t,e,i){return new on(r).build(t,e,i)}var fa="",on=class{_driver;constructor(t){this._driver=t}build(t,e,i){let n=new ln(e);return this._resetContextStyleTimingState(n),Z(this,Ft(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=fa,t.collectedStyles=new Map,t.collectedStyles.set(fa,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0,a=[],l=[];return t.name.charAt(0)=="@"&&e.errors.push(Us()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),c.type==S.State){let d=c,m=d.name;m.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,a.push(this.visitState(d,e))}),d.name=m}else if(c.type==S.Transition){let d=this.visitTransition(c,e);i+=d.queryCount,n+=d.depCount,l.push(d)}else e.errors.push(Qs())}),{type:S.Trigger,name:t.name,states:a,transitions:l,queryCount:i,depCount:n,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){let a=new Set,l=n||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(d=>{Sa(d).forEach(m=>{l.hasOwnProperty(m)||a.add(m)})})}),a.size&&e.errors.push(qs(t.name,[...a.values()]))}return{type:S.State,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=Z(this,Ft(t.animation),e),n=wo(t.expr,e.errors);return{type:S.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:S.Sequence,steps:t.steps.map(i=>Z(this,i,e)),options:et(t.options)}}visitGroup(t,e){let i=e.currentTime,n=0,a=t.steps.map(l=>{e.currentTime=i;let c=Z(this,l,e);return n=Math.max(n,e.currentTime),c});return e.currentTime=n,{type:S.Group,steps:a,options:et(t.options)}}visitAnimate(t,e){let i=Bo(t.timings,e.errors);e.currentAnimateTimings=i;let n,a=t.styles?t.styles:ot({});if(a.type==S.Keyframes)n=this.visitKeyframes(a,e);else{let l=t.styles,c=!1;if(!l){c=!0;let m={};i.easing&&(m.easing=i.easing),l=ot(m)}e.currentTime+=i.duration+i.delay;let d=this.visitStyle(l,e);d.isEmptyStep=c,n=d}return e.currentAnimateTimings=null,{type:S.Animate,timings:i,style:n,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of n)typeof c=="string"?c===Fe?i.push(c):e.errors.push(Ws(c)):i.push(new Map(Object.entries(c)));let a=!1,l=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(l=c.get("easing"),c.delete("easing")),!a)){for(let d of c.values())if(d.toString().indexOf(Aa)>=0){a=!0;break}}}),{type:S.Style,styles:i,easing:l,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,n=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),t.styles.forEach(l=>{typeof l!="string"&&l.forEach((c,d)=>{let m=e.collectedStyles.get(e.currentQuerySelector),p=m.get(d),g=!0;p&&(a!=n&&a>=p.startTime&&n<=p.endTime&&(e.errors.push($s(d,p.startTime,p.endTime,a,n)),g=!1),a=p.startTime),g&&m.set(d,{startTime:a,endTime:n}),e.options&&Eo(c,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:S.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(js()),i;let n=1,a=0,l=[],c=!1,d=!1,m=0,p=t.steps.map(I=>{let R=this._makeStyleAst(I,e),V=R.offset!=null?R.offset:No(R.styles),O=0;return V!=null&&(a++,O=R.offset=V),d=d||O<0||O>1,c=c||O0&&a{let V=T>0?R==C?1:T*R:l[R],O=V*N;e.currentTime=y+E.delay+O,E.duration=O,this._validateStyleAst(I,e),I.offset=V,i.styles.push(I)}),i}visitReference(t,e){return{type:S.Reference,animation:Z(this,Ft(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:S.AnimateChild,options:et(t.options)}}visitAnimateRef(t,e){return{type:S.AnimateRef,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;let[a,l]=Po(t.selector);e.currentQuerySelector=i.length?i+" "+a:a,J(e.collectedStyles,e.currentQuerySelector,new Map);let c=Z(this,Ft(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:S.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:l,animation:c,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Xs());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:di(t.timings,e.errors,!0);return{type:S.Stagger,animation:Z(this,Ft(t.animation),e),timings:i,options:null}}};function Po(r){let t=!!r.split(/\s*,\s*/).find(e=>e==Ia);return t&&(r=r.replace(ko,"")),r=r.replace(/@\*/g,ui).replace(/@\w+/g,e=>ui+"-"+e.slice(1)).replace(/:animating/g,rn),[r,t]}function Mo(r){return r?Wt({},r):null}var ln=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function No(r){if(typeof r=="string")return null;let t=null;if(Array.isArray(r))r.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let e=r;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Bo(r,t){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let a=di(r,t).duration;return Xi(a,0,"")}let e=r;if(e.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Xi(0,0,"");return a.dynamic=!0,a.strValue=e,a}let n=di(e,t);return Xi(n.duration,n.delay,n.easing)}function et(r){return r?(r=Wt({},r),r.params&&(r.params=Mo(r.params))):r={},r}function Xi(r,t,e){return{duration:r,delay:t,easing:e}}function Cn(r,t,e,i,n,a,l=null,c=!1){return{type:1,element:r,keyframes:t,preStyleProps:e,postStyleProps:i,duration:n,delay:a,totalTime:n+a,easing:l,subTimeline:c}}var St=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},xo=1,Ro=":enter",Lo=new RegExp(Ro,"g"),Oo=":leave",zo=new RegExp(Oo,"g");function Pa(r,t,e,i,n,a=new Map,l=new Map,c,d,m=[]){return new cn().buildKeyframes(r,t,e,i,n,a,l,c,d,m)}var cn=class{buildKeyframes(t,e,i,n,a,l,c,d,m,p=[]){m=m||new St;let g=new un(t,e,m,n,a,p,[]);g.options=d;let T=d.delay?Re(d.delay):0;g.currentTimeline.delayNextStep(T),g.currentTimeline.setStyles([l],null,g.errors,d),Z(this,i,g);let C=g.timelines.filter(y=>y.containsAnimation());if(C.length&&c.size){let y;for(let E=C.length-1;E>=0;E--){let N=C[E];if(N.element===e){y=N;break}}y&&!y.allowOnlyTimelineStyles()&&y.setStyles([c],null,g.errors,d)}return C.length?C.map(y=>y.buildKeyframes()):[Cn(e,[],[],[],0,T,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(t.options),a=e.currentTimeline.currentTime,l=this._visitSubInstructions(i,n,n.options);a!=l&&e.transformIntoNewTimeline(l)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let n of t){let a=n?.delay;if(a){let l=typeof a=="number"?a:Re(wt(a,n?.params??{},e.errors));i.delayNextStep(l)}}}_visitSubInstructions(t,e,i){let a=e.currentTimeline.currentTime,l=i.duration!=null?Re(i.duration):null,c=i.delay!=null?Re(i.delay):null;return l!==0&&t.forEach(d=>{let m=e.appendInstructionToTimeline(d,l,c);a=Math.max(a,m.duration+m.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),Z(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,n=e,a=t.options;if(a&&(a.params||a.delay)&&(n=e.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==S.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=fi);let l=Re(a.delay);n.delayNextStep(l)}t.steps.length&&(t.steps.forEach(l=>Z(this,l,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],n=e.currentTimeline.currentTime,a=t.options&&t.options.delay?Re(t.options.delay):0;t.steps.forEach(l=>{let c=e.createSubContext(t.options);a&&c.delayNextStep(a),Z(this,l,c),n=Math.max(n,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,n=e.params?wt(i,e.params,e.errors):i;return di(n,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let a=t.style;a.type==S.Keyframes?this.visitKeyframes(a,e):(e.incrementTime(i.duration),this.visitStyle(a,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let a=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(a):i.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,a=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(d=>{let m=d.offset||0;c.forwardTime(m*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(n+a),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,n=t.options||{},a=n.delay?Re(n.delay):0;a&&(e.previousNode.type===S.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=fi);let l=i,c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((m,p)=>{e.currentQueryIndex=p;let g=e.createSubContext(t.options,m);a&&g.delayNextStep(a),m===e.element&&(d=g.currentTimeline),Z(this,t.animation,g),g.currentTimeline.applyStylesToKeyframe();let T=g.currentTimeline.currentTime;l=Math.max(l,T)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,n=e.currentTimeline,a=t.timings,l=Math.abs(a.duration),c=l*(e.currentQueryTotal-1),d=l*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=i.currentStaggerTime;break}let p=e.currentTimeline;d&&p.delayNextStep(d);let g=p.currentTime;Z(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-g+(n.startTime-i.currentTimeline.startTime)}},fi={},un=class r{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=fi;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,i,n,a,l,c,d){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=a,this.errors=l,this.timelines=c,this.currentTimeline=d||new pi(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,n=this.options;i.duration!=null&&(n.duration=Re(i.duration)),i.delay!=null&&(n.delay=Re(i.delay));let a=i.params;if(a){let l=n.params;l||(l=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!l.hasOwnProperty(c))&&(l[c]=wt(a[c],l,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(n=>{i[n]=e[n]})}}return t}createSubContext(t=null,e,i){let n=e||this.element,a=new r(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=fi,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},a=new dn(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(a),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,a,l){let c=[];if(n&&c.push(this.element),t.length>0){t=t.replace(Lo,"."+this._enterClassName),t=t.replace(zo,"."+this._leaveClassName);let d=i!=1,m=this._driver.query(this.element,t,d);i!==0&&(m=i<0?m.slice(m.length+i,m.length):m.slice(0,i)),c.push(...m)}return!a&&c.length==0&&l.push(Zs(e)),c}},pi=class r{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new r(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=xo,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Fe),this._currentKeyframe.set(e,Fe);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&this._previousKeyframe.set("easing",e);let a=n&&n.params||{},l=Vo(t,this._globalTimelineStyles);for(let[c,d]of l){let m=wt(d,a,i);this._pendingStyles.set(c,m),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Fe),this._updateStyle(c,m)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let n=this._styleSummary.get(i);(!n||e.time>n.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((c,d)=>{let m=new Map([...this._backFill,...c]);m.forEach((p,g)=>{p===ii?t.add(g):p===Fe&&e.add(g)}),i||m.set("offset",d/this.duration),n.push(m)});let a=[...t.values()],l=[...e.values()];if(i){let c=n[0],d=new Map(c);c.set("offset",0),d.set("offset",1),n=[c,d]}return Cn(this.element,n,a,l,this.duration,this.startTime,this.easing,!1)}},dn=class extends pi{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,i,n,a,l,c=!1){super(t,e,l.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let a=[],l=i+e,c=e/l,d=new Map(t[0]);d.set("offset",0),a.push(d);let m=new Map(t[0]);m.set("offset",pa(c)),a.push(m);let p=t.length-1;for(let g=1;g<=p;g++){let T=new Map(t[g]),C=T.get("offset"),y=e+C*i;T.set("offset",pa(y/l)),a.push(T)}i=l,e=0,n="",t=a}return Cn(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function pa(r,t=3){let e=Math.pow(10,t-1);return Math.round(r*e)/e}function Vo(r,t){let e=new Map,i;return r.forEach(n=>{if(n==="*"){i??=t.keys();for(let a of i)e.set(a,Fe)}else for(let[a,l]of n)e.set(a,l)}),e}function ga(r,t,e,i,n,a,l,c,d,m,p,g,T){return{type:0,element:r,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:a,toState:i,toStyles:l,timelines:c,queriedElements:d,preStyleProps:m,postStyleProps:p,totalTime:g,errors:T}}var Zi={},gi=class{_triggerName;ast;_stateStyles;constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return Ho(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){let n=this._stateStyles.get("*");return t!==void 0&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,i):new Map}build(t,e,i,n,a,l,c,d,m,p){let g=[],T=this.ast.options&&this.ast.options.params||Zi,C=c&&c.params||Zi,y=this.buildStyles(i,C,g),E=d&&d.params||Zi,N=this.buildStyles(n,E,g),I=new Set,R=new Map,V=new Map,O=n==="void",le={params:Ma(E,T),delay:this.ast.options?.delay},j=p?[]:Pa(t,e,this.ast.animation,a,l,y,N,le,m,g),H=0;return j.forEach(L=>{H=Math.max(L.duration+L.delay,H)}),g.length?ga(e,this._triggerName,i,n,O,y,N,[],[],R,V,H,g):(j.forEach(L=>{let ee=L.element,X=J(R,ee,new Set);L.preStyleProps.forEach(be=>X.add(be));let $e=J(V,ee,new Set);L.postStyleProps.forEach(be=>$e.add(be)),ee!==e&&I.add(ee)}),ga(e,this._triggerName,i,n,O,y,N,j,[...I.values()],R,V,H))}};function Ho(r,t,e,i,n){return r.some(a=>a(t,e,i,n))}function Ma(r,t){let e=Wt({},t);return Object.entries(r).forEach(([i,n])=>{n!=null&&(e[i]=n)}),e}var mn=class{styles;defaultParams;normalizer;constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,n=Ma(t,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((l,c)=>{l&&(l=wt(l,n,e));let d=this.normalizer.normalizePropertyName(c,e);l=this.normalizer.normalizeStyleValue(c,d,l,e),i.set(c,l)})}),i}};function Uo(r,t,e){return new hn(r,t,e)}var hn=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,e.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new mn(n.style,a,i))}),ba(this.states,"true","1"),ba(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new gi(t,n,this.states))}),this.fallbackTransition=Qo(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(l=>l.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function Qo(r,t,e){let i=[(l,c)=>!0],n={type:S.Sequence,steps:[],options:null},a={type:S.Transition,animation:n,matchers:i,options:null,queryCount:0,depCount:0};return new gi(r,a,t)}function ba(r,t,e){r.has(t)?r.has(e)||r.set(e,r.get(t)):r.has(e)&&r.set(t,r.get(e))}var qo=new St,fn=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i}register(t,e){let i=[],n=[],a=ka(this._driver,e,i,n);if(i.length)throw no(i);n.length&&void 0,this._animations.set(t,a)}_buildPlayer(t,e,i){let n=t.element,a=Ta(this._normalizer,t.keyframes,e,i);return this._driver.animate(n,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let n=[],a=this._animations.get(t),l,c=new Map;if(a?(l=Pa(this._driver,e,a,wa,nn,new Map,new Map,i,qo,n),l.forEach(p=>{let g=J(c,p.element,new Map);p.postStyleProps.forEach(T=>g.set(T,null))})):(n.push(ro()),l=[]),n.length)throw ao(n);c.forEach((p,g)=>{p.forEach((T,C)=>{p.set(C,this._driver.computeStyle(g,C,Fe))})});let d=l.map(p=>{let g=c.get(p.element);return this._buildPlayer(p,new Map,g)}),m=We(d);return this._playersById.set(t,m),m.onDestroy(()=>this.destroy(t)),this.players.push(m),m}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw so(t);return e}listen(t,e,i,n){let a=yn(e,"","","");return _n(this._getPlayer(t),i,a,n),()=>{}}command(t,e,i,n){if(i=="register"){this.register(t,n[0]);return}if(i=="create"){let l=n[0]||{};this.create(t,e,l);return}let a=this._getPlayer(t);switch(i){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t);break}}},_a="ng-animate-queued",Wo=".ng-animate-queued",Ji="ng-animate-disabled",$o=".ng-animate-disabled",jo="ng-star-inserted",Ko=".ng-star-inserted",Go=[],Na={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Yo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ge="__ng_removed",It=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),n=i?t.value:t;if(this.value=Zo(n),i){let a=t,{value:l}=a,c=Jn(a,["value"]);this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},At="void",en=new It(At),pn=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+t,oe(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.has(e))throw oo(i,e);if(i==null||i.length==0)throw lo(e);if(!Jo(i))throw co(i,e);let a=J(this._elementListeners,t,[]),l={name:e,phase:i,callback:n};a.push(l);let c=J(this._engine.statesByElement,t,new Map);return c.has(e)||(oe(t,ai),oe(t,ai+"-"+e),c.set(e,en)),()=>{this._engine.afterFlush(()=>{let d=a.indexOf(l);d>=0&&a.splice(d,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw uo(t);return e}trigger(t,e,i,n=!0){let a=this._getTrigger(e),l=new kt(this.id,e,t),c=this._engine.statesByElement.get(t);c||(oe(t,ai),oe(t,ai+"-"+e),this._engine.statesByElement.set(t,c=new Map));let d=c.get(e),m=new It(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&m.absorbOptions(d.options),c.set(e,m),d||(d=en),!(m.value===At)&&d.value===m.value){if(!il(d.params,m.params)){let E=[],N=a.matchStyles(d.value,d.params,E),I=a.matchStyles(m.value,m.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{tt(t,N),Ae(t,I)})}return}let T=J(this._engine.playersByElement,t,[]);T.forEach(E=>{E.namespaceId==this.id&&E.triggerName==e&&E.queued&&E.destroy()});let C=a.matchTransition(d.value,m.value,t,m.params),y=!1;if(!C){if(!n)return;C=a.fallbackTransition,y=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:C,fromState:d,toState:m,player:l,isFallbackTransition:y}),y||(oe(t,_a),l.onStart(()=>{ct(t,_a)})),l.onDone(()=>{let E=this.players.indexOf(l);E>=0&&this.players.splice(E,1);let N=this._engine.playersByElement.get(t);if(N){let I=N.indexOf(l);I>=0&&N.splice(I,1)}}),this.players.push(l),T.push(l),l}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,ui,!0);i.forEach(n=>{if(n[ge])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(l=>l.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,i,n){let a=this._engine.statesByElement.get(t),l=new Map;if(a){let c=[];if(a.forEach((d,m)=>{if(l.set(m,d.value),this._triggers.has(m)){let p=this.trigger(t,m,At,n);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,l),i&&We(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let n=new Set;e.forEach(a=>{let l=a.name;if(n.has(l))return;n.add(l);let d=this._triggers.get(l).fallbackTransition,m=i.get(l)||en,p=new It(At),g=new kt(this.id,l,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:l,transition:d,fromState:m,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){let a=i.players.length?i.playersByQueriedElement.get(t):[];if(a&&a.length)n=!0;else{let l=t;for(;l=l.parentNode;)if(i.statesByElement.get(l)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{let a=t[ge];(!a||a===Na)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){oe(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let a=i.element,l=this._elementListeners.get(a);l&&l.forEach(c=>{if(c.name==i.triggerName){let d=yn(a,i.triggerName,i.fromState.value,i.toState.value);d._data=t,_n(i.player,c.phase,d,c.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let a=i.transition.ast.depCount,l=n.transition.ast.depCount;return a==0||l==0?a-l:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},gn=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new pn(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let l=!1,c=this.driver.getParentElement(e);for(;c;){let d=n.get(c);if(d){let m=i.indexOf(d);i.splice(m+1,0,t),l=!0;break}c=this.driver.getParentElement(c)}l||i.unshift(t)}else i.push(t);return n.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let n of i.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&e.add(a)}}return e}trigger(t,e,i,n){if(li(e)){let a=this._fetchNamespace(t);if(a)return a.trigger(e,i,n),!0}return!1}insertNode(t,e,i,n){if(!li(e))return;let a=e[ge];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let l=this.collectedLeaveElements.indexOf(e);l>=0&&this.collectedLeaveElements.splice(l,1)}if(t){let l=this._fetchNamespace(t);l&&l.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),oe(t,Ji)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ct(t,Ji))}removeNode(t,e,i){if(li(e)){let n=t?this._fetchNamespace(t):null;n?n.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,n,a){this.collectedLeaveElements.push(e),e[ge]={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(t,e,i,n,a){return li(e)?this._fetchNamespace(t).listen(e,i,n,a):()=>{}}_buildInstruction(t,e,i,n,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,ui,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,rn,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return We(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ge];if(e&&e.setForRemoval){if(t[ge]=Na,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Ji)&&this.markElementAsDisabled(t,!1),this.driver.query(t,$o,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?We(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(t){throw mo(t)}_flushAnimations(t,e){let i=new St,n=[],a=new Map,l=[],c=new Map,d=new Map,m=new Map,p=new Set;this.disabledNodes.forEach(_=>{p.add(_);let v=this.driver.query(_,Wo,!0);for(let D=0;D{let D=wa+E++;y.set(v,D),_.forEach(w=>oe(w,D))});let N=[],I=new Set,R=new Set;for(let _=0;_I.add(w)):R.add(v))}let V=new Map,O=Da(T,Array.from(I));O.forEach((_,v)=>{let D=nn+E++;V.set(v,D),_.forEach(w=>oe(w,D))}),t.push(()=>{C.forEach((_,v)=>{let D=y.get(v);_.forEach(w=>ct(w,D))}),O.forEach((_,v)=>{let D=V.get(v);_.forEach(w=>ct(w,D))}),N.forEach(_=>{this.processLeaveNode(_)})});let le=[],j=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(e).forEach(D=>{let w=D.player,z=D.element;if(le.push(w),this.collectedEnterElements.length){let x=z[ge];if(x&&x.setForMove){if(x.previousTriggersValues&&x.previousTriggersValues.has(D.triggerName)){let P=x.previousTriggersValues.get(D.triggerName),M=this.statesByElement.get(D.element);if(M&&M.has(D.triggerName)){let we=M.get(D.triggerName);we.value=P,M.set(D.triggerName,we)}}w.destroy();return}}let W=!g||!this.driver.containsElement(g,z),K=V.get(z),te=y.get(z),B=this._buildInstruction(D,i,te,K,W);if(B.errors&&B.errors.length){j.push(B);return}if(W){w.onStart(()=>tt(z,B.fromStyles)),w.onDestroy(()=>Ae(z,B.toStyles)),n.push(w);return}if(D.isFallbackTransition){w.onStart(()=>tt(z,B.fromStyles)),w.onDestroy(()=>Ae(z,B.toStyles)),n.push(w);return}let xt=[];B.timelines.forEach(x=>{x.stretchStartingKeyframe=!0,this.disabledNodes.has(x.element)||xt.push(x)}),B.timelines=xt,i.append(z,B.timelines);let Q={instruction:B,player:w,element:z};l.push(Q),B.queriedElements.forEach(x=>J(c,x,[]).push(w)),B.preStyleProps.forEach((x,P)=>{if(x.size){let M=d.get(P);M||d.set(P,M=new Set),x.forEach((we,Se)=>M.add(Se))}}),B.postStyleProps.forEach((x,P)=>{let M=m.get(P);M||m.set(P,M=new Set),x.forEach((we,Se)=>M.add(Se))})});if(j.length){let _=[];j.forEach(v=>{_.push(ho(v.triggerName,v.errors))}),le.forEach(v=>v.destroy()),this.reportError(_)}let H=new Map,L=new Map;l.forEach(_=>{let v=_.element;i.has(v)&&(L.set(v,v),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,H))}),n.forEach(_=>{let v=_.element;this._getPreviousPlayers(v,!1,_.namespaceId,_.triggerName,null).forEach(w=>{J(H,v,[]).push(w),w.destroy()})});let ee=N.filter(_=>Ea(_,d,m)),X=new Map;va(X,this.driver,R,m,Fe).forEach(_=>{Ea(_,d,m)&&ee.push(_)});let be=new Map;C.forEach((_,v)=>{va(be,this.driver,new Set(_),d,ii)}),ee.forEach(_=>{let v=X.get(_),D=be.get(_);X.set(_,new Map([...v?.entries()??[],...D?.entries()??[]]))});let Oe=[],Nt=[],Bt={};l.forEach(_=>{let{element:v,player:D,instruction:w}=_;if(i.has(v)){if(p.has(v)){D.onDestroy(()=>Ae(v,w.toStyles)),D.disabled=!0,D.overrideTotalTime(w.totalTime),n.push(D);return}let z=Bt;if(L.size>1){let K=v,te=[];for(;K=K.parentNode;){let B=L.get(K);if(B){z=B;break}te.push(K)}te.forEach(B=>L.set(B,z))}let W=this._buildAnimation(D.namespaceId,w,H,a,be,X);if(D.setRealPlayer(W),z===Bt)Oe.push(D);else{let K=this.playersByElement.get(z);K&&K.length&&(D.parentPlayer=We(K)),n.push(D)}}else tt(v,w.fromStyles),D.onDestroy(()=>Ae(v,w.toStyles)),Nt.push(D),p.has(v)&&n.push(D)}),Nt.forEach(_=>{let v=a.get(_.element);if(v&&v.length){let D=We(v);_.setRealPlayer(D)}}),n.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_!W.destroyed);z.length?el(this,v,z):this.processLeaveNode(v)}return N.length=0,Oe.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let v=this.players.indexOf(_);this.players.splice(v,1)}),_.play()}),Oe}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,a){let l=[];if(e){let c=this.playersByQueriedElement.get(t);c&&(l=c)}else{let c=this.playersByElement.get(t);if(c){let d=!a||a==At;c.forEach(m=>{m.queued||!d&&m.triggerName!=n||l.push(m)})}}return(i||n)&&(l=l.filter(c=>!(i&&i!=c.namespaceId||n&&n!=c.triggerName))),l}_beforeAnimationBuild(t,e,i){let n=e.triggerName,a=e.element,l=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:n;for(let d of e.timelines){let m=d.element,p=m!==a,g=J(i,m,[]);this._getPreviousPlayers(m,p,l,c,e.toState).forEach(C=>{let y=C.getRealPlayer();y.beforeDestroy&&y.beforeDestroy(),C.destroy(),g.push(C)})}tt(a,e.fromStyles)}_buildAnimation(t,e,i,n,a,l){let c=e.triggerName,d=e.element,m=[],p=new Set,g=new Set,T=e.timelines.map(y=>{let E=y.element;p.add(E);let N=E[ge];if(N&&N.removedBeforeQueried)return new lt(y.duration,y.delay);let I=E!==d,R=tl((i.get(E)||Go).map(H=>H.getRealPlayer())).filter(H=>{let L=H;return L.element?L.element===E:!1}),V=a.get(E),O=l.get(E),le=Ta(this._normalizer,y.keyframes,V,O),j=this._buildPlayer(y,le,R);if(y.subTimeline&&n&&g.add(E),I){let H=new kt(t,c,E);H.setRealPlayer(j),m.push(H)}return j});m.forEach(y=>{J(this.playersByQueriedElement,y.element,[]).push(y),y.onDone(()=>Xo(this.playersByQueriedElement,y.element,y))}),p.forEach(y=>oe(y,ma));let C=We(T);return C.onDestroy(()=>{p.forEach(y=>ct(y,ma)),Ae(d,e.toStyles)}),g.forEach(y=>{J(n,y,[]).push(C)}),C}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new lt(t.duration,t.delay)}},kt=class{namespaceId;triggerName;element;_player=new lt;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>_n(t,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){J(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function Xo(r,t,e){let i=r.get(t);if(i){if(i.length){let n=i.indexOf(e);i.splice(n,1)}i.length==0&&r.delete(t)}return i}function Zo(r){return r??null}function li(r){return r&&r.nodeType===1}function Jo(r){return r=="start"||r=="done"}function ya(r,t){let e=r.style.display;return r.style.display=t??"none",e}function va(r,t,e,i,n){let a=[];e.forEach(d=>a.push(ya(d)));let l=[];i.forEach((d,m)=>{let p=new Map;d.forEach(g=>{let T=t.computeStyle(m,g,n);p.set(g,T),(!T||T.length==0)&&(m[ge]=Yo,l.push(m))}),r.set(m,p)});let c=0;return e.forEach(d=>ya(d,a[c++])),l}function Da(r,t){let e=new Map;if(r.forEach(c=>e.set(c,[])),t.length==0)return e;let i=1,n=new Set(t),a=new Map;function l(c){if(!c)return i;let d=a.get(c);if(d)return d;let m=c.parentNode;return e.has(m)?d=m:n.has(m)?d=i:d=l(m),a.set(c,d),d}return t.forEach(c=>{let d=l(c);d!==i&&e.get(d).push(c)}),e}function oe(r,t){r.classList?.add(t)}function ct(r,t){r.classList?.remove(t)}function el(r,t,e){We(e).onDone(()=>r.processLeaveNode(t))}function tl(r){let t=[];return Ba(r,t),t}function Ba(r,t){for(let e=0;en.add(a)):t.set(r,i),e.delete(r),!0}var ut=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new gn(t.body,e,i),this._timelineEngine=new fn(t.body,e,i),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(t,e,i,n,a){let l=t+"-"+n,c=this._triggerCache[l];if(!c){let d=[],m=[],p=ka(this._driver,a,d,m);if(d.length)throw to(n,d);m.length&&void 0,c=Uo(n,p,this._normalizer),this._triggerCache[l]=c}this._transitionEngine.registerTrigger(e,n,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if(i.charAt(0)=="@"){let[a,l]=ua(i),c=n;this._timelineEngine.command(a,e,l,c)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,a){if(i.charAt(0)=="@"){let[l,c]=ua(i);return this._timelineEngine.listen(l,e,c,a)}return this._transitionEngine.listen(t,e,i,n,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function nl(r,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=tn(t[0]),t.length>1&&(i=tn(t[t.length-1]))):t instanceof Map&&(e=tn(t)),e||i?new rl(r,e,i):null}var rl=(()=>{class r{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n;let a=r.initialStylesByElement.get(e);a||r.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ae(this._element,this._initialStyles),this._endStyles&&(Ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),Ae(this._element,this._initialStyles),this._state=3)}}return r})();function tn(r){let t=null;return r.forEach((e,i)=>{al(i)&&(t=t||new Map,t.set(i,e))}),t}function al(r){return r==="display"||r==="position"}var bi=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,n)=>{n!=="offset"&&t.set(n,this._finished?i:Tn(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},_i=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return Ca(t,e)}getParentElement(t){return vn(t)}query(t,e,i){return Fa(t,e,i)}computeStyle(t,e,i){return Tn(t,e)}animate(t,e,i,n,a,l=[]){let c=n==0?"both":"forwards",d={duration:i,delay:n,fill:c};a&&(d.easing=a);let m=new Map,p=l.filter(C=>C instanceof bi);Co(i,n)&&p.forEach(C=>{C.currentSnapshot.forEach((y,E)=>m.set(E,y))});let g=Do(e).map(C=>new Map(C));g=Fo(t,g,m);let T=nl(t,g);return new bi(t,g,d,T)}};var ci="@",xa="@.disabled",yi=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,i,n){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==ci&&e==xa?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},bn=class extends yi{factory;constructor(t,e,i,n,a){super(e,i,n,a),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==ci?e.charAt(1)=="."&&e==xa?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==ci){let n=sl(t),a=e.slice(1),l="";return a.charAt(0)!=ci&&([a,l]=ol(a)),this.engine.listen(this.namespaceId,n,a,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,i,c)})}return this.delegate.listen(t,e,i)}};function sl(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function ol(r){let t=r.indexOf("."),e=r.substring(0,t),i=r.slice(t+1);return[e,i]}var vi=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,e.onRemovalComplete=(n,a)=>{a?.removeChild(null,n)}}createRenderer(t,e){let i="",n=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let m=this._rendererCache,p=m.get(n);if(!p){let g=()=>m.delete(n);p=new yi(i,n,this.engine,g),m.set(n,p)}return p}let a=e.id,l=e.id+"-"+this._currentId;this._currentId++,this.engine.register(l,t);let c=m=>{Array.isArray(m)?m.forEach(c):this.engine.registerTrigger(a,l,t,m.name,m)};return e.data.animation.forEach(c),new bn(this,l,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&te(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[l,c]=a;l(c)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var cl=(()=>{class r extends ut{constructor(e,i,n){super(e,i,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||r)(Y(Be),Y(it),Y(nt))};static \u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function ul(){return new mi}function dl(r,t,e){return new vi(r,t,e)}var Ra=[{provide:nt,useFactory:ul},{provide:ut,useClass:cl},{provide:vr,useFactory:dl,deps:[wr,ut,vt]}],ml=[{provide:it,useFactory:()=>new _i},{provide:Ye,useValue:"BrowserAnimations"},...Ra],sc=[{provide:it,useClass:Dn},{provide:Ye,useValue:"NoopAnimations"},...Ra];function La(){return pr("NgEagerAnimations"),[...ml]}var Oa=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var hl=Object.hasOwnProperty,Pt=class{constructor(){this.occurrences,this.reset()}slug(t,e){let i=this,n=fl(t,e===!0),a=n;for(;hl.call(i.occurrences,n);)i.occurrences[a]++,n=a+"-"+i.occurrences[a];return i.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function fl(r,t){return typeof r!="string"?"":(t||(r=r.toLowerCase()),r.replace(Oa,"").replace(/ /g,"-"))}var za=new Pt,Va=[];function Ha({prefix:r="",globalSlugs:t=!1}={}){return{headerIds:!1,hooks:{preprocess(e){return t||pl(),e}},renderer:{heading(e,i,n){n=n.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");let a=`${r}${za.slug(n)}`,l={level:i,text:e,id:a};return Va.push(l),`${e} -`}}}}function pl(){Va=[],za=new Pt}var Ua=[{path:"get-started",loadComponent:()=>import("./chunk-LIRKJJMR.js"),data:{label:"Get Started"}},{path:"cheat-sheet",loadComponent:()=>import("./chunk-MSZJNVS2.js"),data:{label:"Cheat Sheet"}},{path:"syntax-highlight",loadComponent:()=>import("./chunk-CSSZINFK.js"),data:{label:"Syntax Highlight"}},{path:"bindings",loadComponent:()=>import("./chunk-EYDZYKSY.js"),data:{label:"Bindings"}},{path:"plugins",loadComponent:()=>import("./chunk-IF4R6WMN.js"),data:{label:"Plugins"}},{path:"re-render",loadComponent:()=>import("./chunk-35742YUV.js"),data:{label:"Re-render"}},{path:"**",redirectTo:"get-started"}];function Qa(r){let t=new Wi;return t.link=(e,i,n)=>Wi.prototype.link.call(t,r.normalizeExternalUrl(e),i,n),{renderer:t}}var mt=class r{constructor(t,e,i,n){this.locationStrategy=t;this.route=e;this.router=i;this.viewportScroller=n}interceptClick(t){let e=t.target;if(!(e instanceof HTMLAnchorElement))return;let i=e.getAttribute("href")||"";this.isExternalUrl(i)||this.isRouterLink(e)||(this.navigate(i),t.preventDefault())}navigate(t,e=!1){let i=this.getUrlTree(t);this.router.navigated=!1,this.router.navigateByUrl(i,{replaceUrl:e})}normalizeExternalUrl(t){if(this.isExternalUrl(t))return t;let e=this.getUrlTree(t),i=this.router.serializeUrl(e);return this.locationStrategy.prepareExternalUrl(i)}scrollToAnchor(){this.router.parseUrl(this.router.url).fragment&&this.navigate(this.router.url,!0)}setOffset(...t){this.viewportScroller.setOffset(...t)}getUrlTree(t){let e=this.stripFragment(t)||this.stripFragment(this.router.url),i=this.router.parseUrl(t).fragment||void 0;return this.router.createUrlTree([e],{relativeTo:this.route,fragment:i})}isExternalUrl(t){return/^(?!http(s?):\/\/).+$/.exec(t)==null}isRouterLink(t){return t.getAttributeNames().some(e=>e.startsWith("_ngcontent"))}stripFragment(t){return/[^#]*/.exec(t)[0]}static{this.\u0275fac=function(e){return new(e||r)(Y(Tr),Y(xr),Y(ni),Y(Fr))}}static{this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}};var qa={providers:[La(),Ar(),zr(Ua,Vr({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),Qr({loader:ti,markedOptions:{provide:Ur,useFactory:Qa,deps:[mt]},markedExtensions:[Ha()],clipboardOptions:{provide:Hr,useValue:{buttonComponent:oa}},sanitize:Ue.NONE})]};var bl=["*"],Di;function _l(){if(Di===void 0&&(Di=null,typeof window<"u")){let r=window;r.trustedTypes!==void 0&&(Di=r.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Di}function Mt(r){return _l()?.createHTML(r)||r}function Wa(r){return Error(`Unable to find icon with the name "${r}"`)}function yl(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function $a(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function ja(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}var Le=class{url;svgText;options;svgElement;constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}},vl=(()=>{class r{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,n,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._document=n}addSvgIcon(e,i,n){return this.addSvgIconInNamespace("",e,i,n)}addSvgIconLiteral(e,i,n){return this.addSvgIconLiteralInNamespace("",e,i,n)}addSvgIconInNamespace(e,i,n,a){return this._addSvgIconConfig(e,i,new Le(n,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,n,a){let l=this._sanitizer.sanitize(Ue.HTML,n);if(!l)throw ja(n);let c=Mt(l);return this._addSvgIconConfig(e,i,new Le("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,n){return this._addSvgIconSetConfig(e,new Le(i,null,n))}addSvgIconSetLiteralInNamespace(e,i,n){let a=this._sanitizer.sanitize(Ue.HTML,i);if(!a)throw ja(i);let l=Mt(a);return this._addSvgIconSetConfig(e,new Le("",l,n))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Ue.RESOURCE_URL,e);if(!i)throw $a(e);let n=this._cachedIconsByUrl.get(i);return n?Ve(Ei(n)):this._loadSvgIconFromConfig(new Le(e,null)).pipe(Kt(a=>this._cachedIconsByUrl.set(i,a)),at(a=>Ei(a)))}getNamedSvgIcon(e,i=""){let n=Ka(i,e),a=this._svgIconConfigs.get(n);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(n,a),this._getSvgFromConfig(a);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(e,l):nr(Wa(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Ve(Ei(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(at(i=>Ei(i)))}_getSvgFromIconSetConfigs(e,i){let n=this._extractIconWithNameFromAnySet(e,i);if(n)return Ve(n);let a=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(or(c=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(Ue.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),Ve(null)})));return rr(a).pipe(at(()=>{let l=this._extractIconWithNameFromAnySet(e,i);if(!l)throw Wa(e);return l}))}_extractIconWithNameFromAnySet(e,i){for(let n=i.length-1;n>=0;n--){let a=i[n];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let l=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(l,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Kt(i=>e.svgText=i),at(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Ve(null):this._fetchIcon(e).pipe(Kt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,n){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let l=a.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,n);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),n);let c=this._svgElementFromString(Mt(""));return c.appendChild(l),this._setSvgAttributes(c,n)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let n=i.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(e){let i=this._svgElementFromString(Mt("")),n=e.attributes;for(let a=0;aMt(m)),ur(()=>this._inProgressUrlFetches.delete(l)),dr());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(e,i,n){return this._svgIconConfigs.set(Ka(e,i),n),this}_addSvgIconSetConfig(e,i){let n=this._iconSetConfigs.get(e);return n?n.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let n=0;nt?t.pathname+t.search:""}}var Ga=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Fl=Ga.map(r=>`[${r}]`).join(", "),Al=/^url\(['"]?#(.*?)['"]?\)$/,Ya=(()=>{class r{_elementRef=F(ue);_iconRegistry=F(vl);_location=F(Tl);_errorHandler=F(Yt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=xi.EMPTY;constructor(){let e=F(new Gt("aria-hidden"),{optional:!0}),i=F(El,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let n=e.childNodes[i];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>e.classList.remove(n)),i.forEach(n=>e.classList.add(n)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((n,a)=>{n.forEach(l=>{a.setAttribute(l.name,`url('${e}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(Fl),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let c=i[a],d=c.getAttribute(l),m=d?d.match(Al):null;if(m){let p=n.get(c);p||(p=[],n.set(c,p)),p.push({name:l,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,n]=this._splitIconName(e);i&&(this._svgNamespace=i),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,i).pipe(cr(1)).subscribe(a=>this._setSvgElement(a),a=>{let l=`Error retrieving icon ${i}:${n}! ${a.message}`;this._errorHandler.handleError(new Error(l))})}}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,n){i&2&&(st("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Et(n.color?"mat-"+n.color:""),Me("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",pe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ze],ngContentSelectors:bl,decls:1,vars:0,template:function(i,n){i&1&&(Qe(),Ne(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return r})(),Xa=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Xe({type:r});static \u0275inj=Ge({imports:[xe,xe]})}return r})();var Sn=["*"];var Sl=["tabListContainer"],Il=["tabList"],kl=["tabListInner"],Pl=["nextPaginator"],Ml=["previousPaginator"];var Nl=["mat-tab-nav-bar",""],Bl=["mat-tab-link",""];var Fn="mdc-tab-indicator--active",Za="mdc-tab-indicator--no-transition",wn=class{_items;_currentItem;constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let e=this._items.find(n=>n.elementRef.nativeElement===t),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let n=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(n),this._currentItem=e}}},xl=(()=>{class r{_elementRef=F(ue);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(Fn);return}let n=i.getBoundingClientRect(),a=e.width/n.width,l=e.left-n.left;i.classList.add(Za),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(Za),i.classList.add(Fn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Fn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),n=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",n.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=Dt({type:r,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe]},features:[Ze]})}return r})();var Ja=Gr({passive:!0}),Rl=650,Ll=100,Ol=(()=>{class r{_elementRef=F(ue);_changeDetectorRef=F(Ui);_viewportRuler=F(Gi);_dir=F($i,{optional:!0});_ngZone=F(vt);_platform=F(Ct);_animationMode=F(Ye,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new $t;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new $t;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new Oi;indexFocused=new Oi;_sharedResizeObserver=F(sa);_injector=F(fr);constructor(){this._ngZone.runOutsideAngular(()=>{jt(this._elementRef.nativeElement,"mouseleave").pipe(De(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){jt(this._previousPaginator.nativeElement,"touchstart",Ja).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),jt(this._nextPaginator.nativeElement,"touchstart",Ja).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:Ve("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(lr(32),De(this._destroyed)),n=this._viewportRuler.change(150).pipe(De(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Jr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),gr(a,{injector:this._injector}),Ri(e,n,i,this._items.changes,this._itemsResized()).pipe(De(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return typeof ResizeObserver!="function"?ir:this._items.changes.pipe(Li(this._items),hr(e=>new er(i=>this._ngZone.runOutsideAngular(()=>{let n=new ResizeObserver(a=>i.next(a));return e.forEach(a=>n.observe(a.elementRef.nativeElement)),()=>{n.disconnect()}}))),mr(1),ar(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Xr(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,n=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+n)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:l}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=a,d=c+l):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-l);let m=this.scrollDistance,p=this.scrollDistance+n;cp&&(this.scrollDistance+=Math.min(d-p,c-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,n=e-i>=5;n||(this.scrollDistance=0),n!==this._showPaginationControls&&(this._showPaginationControls=n,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),sr(Rl,Ll).pipe(De(Ri(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:n,distance:a}=this._scrollHeader(e);(a===0||a>=n)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||r)};static \u0275dir=Dt({type:r,inputs:{disablePagination:[2,"disablePagination","disablePagination",pe],selectedIndex:[2,"selectedIndex","selectedIndex",Qi]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Ze]})}return r})();var zl=new yt("MAT_TABS_CONFIG");var In=(()=>{class r extends Ol{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new tr(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;disableRipple=!1;color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){let e=F(ue),i=F($i,{optional:!0}),n=F(vt),a=F(Ui),l=F(Gi),c=F(Ct),d=F(Ye,{optional:!0}),m=F(zl,{optional:!0});super(e,a,l,i,n,c,d),this.disablePagination=m&&m.disablePagination!=null?m.disablePagination:!1,this.fitInkBarToContent=m&&m.fitInkBarToContent!=null?m.fitInkBarToContent:!1,this.stretchTabs=m&&m.stretchTabs!=null?m.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new wn(this._items),this._items.changes.pipe(Li(null),De(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let i=0;i.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return r})(),kn=(()=>{class r extends xl{_tabNavBar=F(In);elementRef=F(ue);_focusMonitor=F(ea);_destroyed=new $t;_isActive=!1;get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}disabled=!1;disableRipple=!1;tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}id=F(ji).getId("mat-tab-link-");constructor(){super(),F(Yr).load(ta);let e=F(ia,{optional:!0}),i=F(new Gt("tabindex"),{optional:!0}),n=F(Ye,{optional:!0});this.rippleConfig=e||{},this.tabIndex=i==null?0:parseInt(i)||0,n==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe(De(this._destroyed)).subscribe(a=>{this.fitInkBarToContent=a})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(i,n){i&1&&Ce("focus",function(){return n._handleFocus()})("keydown",function(l){return n._handleKeydown(l)}),i&2&&(st("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),Me("mat-mdc-tab-disabled",n.disabled)("mdc-tab--active",n.active))},inputs:{active:[2,"active","active",pe],disabled:[2,"disabled","disabled",pe],disableRipple:[2,"disableRipple","disableRipple",pe],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Qi(e)],id:"id"},exportAs:["matTabLink"],features:[Ze,zi],attrs:Bl,ngContentSelectors:Sn,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(i,n){i&1&&(Qe(),Te(0,"span",0)(1,"div",1),$(2,"span",2)(3,"span",3),Ne(4),se()()),i&2&&(de(),me("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[Ki],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return r})(),ts=(()=>{class r{id=F(ji).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(i,n){i&2&&st("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Sn,decls:1,vars:0,template:function(i,n){i&1&&(Qe(),Ne(0))},encapsulation:2,changeDetection:0})}return r})(),is=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Xe({type:r});static \u0275inj=Ge({imports:[xe,xe]})}return r})();var Hl=["*",[["mat-toolbar-row"]]],Ul=["*","mat-toolbar-row"],Pn=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275dir=Dt({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return r})(),ns=(()=>{class r{_elementRef=F(ue);_platform=F(Ct);_document=F(Be);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["mat-toolbar"]],contentQueries:function(i,n,a){if(i&1&&Jt(a,Pn,5),i&2){let l;he(l=fe())&&(n._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,n){i&2&&(Et(n.color?"mat-"+n.color:""),Me("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",n._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Ul,decls:2,vars:0,template:function(i,n){i&1&&(Qe(Hl),Ne(0),Ne(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return r})();var rs=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Xe({type:r});static \u0275inj=Ge({imports:[xe,xe]})}return r})();var as=kr("routeAnimation",[Nr("* <=> *",[Br(":enter",[ot({opacity:0,transform:"translateY(32px)"}),Pr("550ms cubic-bezier(0.35, 0, 0.25, 1)",ot({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);var Ti=(e=>(e.Light="light",e.Dark="dark",e))(Ti||{});function ss(r){return r!=null&&typeof r=="string"&&Object.values(Ti).includes(r)}var Mn="light",Nn="ngx-markdown:theme";var Wl=["tabHeader"];function $l(r,t){if(r&1&&($(0,"a",14,3)(2,"div",15),Te(3,"img",16),$(4,"span"),ei(5),se()()()),r&2){let e=t.$implicit,i=Tt(1);me("active",i.isActive)("routerLink",e.path),de(3),Er("src","icon-",e.path,".svg",br),de(2),Hi(e.data==null?null:e.data.label)}}var Ci=class r{constructor(t,e,i){this.document=t;this.anchorService=e;this.router=i;this.stickyClassName="mat-mdc-tab-nav-bar--sticky";this.theme=Mn;this.routes=this.router.config.filter(n=>n.data&&n.data.label)}onDocumentClick(t){this.anchorService.interceptClick(t)}onWindowScroll(){if(this.tabHeader==null)return;let t=this.tabHeader.nativeElement,e=Math.ceil(t.offsetTop),i=Math.ceil(window.pageYOffset),n=t.classList.contains(this.stickyClassName);!n&&i>=e&&t.classList.add(this.stickyClassName),n&&iconsole.error(r)); +`;return function(){var f=new Error("get-stack-trace"),b=f&&f.stack?f.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",A=r.console&&(r.console.warn||r.console.log);return A&&A.call(r.console,h,b),s.apply(this,arguments)}}var y;typeof Object.assign!="function"?y=function(o){if(o===i||o===null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(o),h=1;h-1}function ee(s){return s.trim().split(/\s+/g)}function X(s,o,u){if(s.indexOf&&!u)return s.indexOf(o);for(var h=0;hG[o]}):h=h.sort()),h}function Oe(s,o){for(var u,h,f=o[0].toUpperCase()+o.slice(1),b=0;b1&&!u.firstMultiple?u.firstMultiple=Bn(o):f===1&&(u.firstMultiple=!1);var b=u.firstInput,A=u.firstMultiple,U=A?A.center:b.center,q=o.center=Rn(h);o.timeStamp=m(),o.deltaTime=o.timeStamp-b.timeStamp,o.angle=Fi(U,q),o.distance=Lt(U,q),us(u,o),o.offsetDirection=On(o.deltaX,o.deltaY);var G=Ln(o.deltaTime,o.deltaX,o.deltaY);o.overallVelocityX=G.x,o.overallVelocityY=G.y,o.overallVelocity=d(G.x)>d(G.y)?G.x:G.y,o.scale=A?hs(A.pointers,h):1,o.rotation=A?ms(A.pointers,h):0,o.maxPointers=u.prevInput?o.pointers.length>u.prevInput.maxPointers?o.pointers.length:u.prevInput.maxPointers:o.pointers.length,ds(u,o);var ve=s.element;H(o.srcEvent.target,ve)&&(ve=o.srcEvent.target),o.target=ve}function us(s,o){var u=o.center,h=s.offsetDelta||{},f=s.prevDelta||{},b=s.prevInput||{};(o.eventType===Q||b.eventType===P)&&(f=s.prevDelta={x:b.deltaX||0,y:b.deltaY||0},h=s.offsetDelta={x:u.x,y:u.y}),o.deltaX=f.x+(u.x-h.x),o.deltaY=f.y+(u.y-h.y)}function ds(s,o){var u=s.lastInterval||o,h=o.timeStamp-u.timeStamp,f,b,A,U;if(o.eventType!=M&&(h>Bt||u.velocity===i)){var q=o.deltaX-u.deltaX,G=o.deltaY-u.deltaY,ve=Ln(h,q,G);b=ve.x,A=ve.y,f=d(ve.x)>d(ve.y)?ve.x:ve.y,U=On(q,G),s.lastInterval=o}else f=u.velocity,b=u.velocityX,A=u.velocityY,U=u.direction;o.velocity=f,o.velocityX=b,o.velocityY=A,o.direction=U}function Bn(s){for(var o=[],u=0;u=d(o)?s<0?Se:ht:o<0?ft:pt}function Lt(s,o,u){u||(u=xn);var h=o[u[0]]-s[u[0]],f=o[u[1]]-s[u[1]];return Math.sqrt(h*h+f*f)}function Fi(s,o,u){u||(u=xn);var h=o[u[0]]-s[u[0]],f=o[u[1]]-s[u[1]];return Math.atan2(f,h)*180/Math.PI}function ms(s,o){return Fi(o[1],o[0],Rt)+Fi(s[1],s[0],Rt)}function hs(s,o){return Lt(o[0],o[1],Rt)/Lt(s[0],s[1],Rt)}var fs={mousedown:Q,mousemove:B,mouseup:P},ps="mousedown",gs="mousemove mouseup";function Ot(){this.evEl=ps,this.evWin=gs,this.pressed=!1,ie.apply(this,arguments)}I(Ot,ie,{handler:function(o){var u=fs[o.type];u&Q&&o.button===0&&(this.pressed=!0),u&B&&o.which!==1&&(u=P),this.pressed&&(u&P&&(this.pressed=!1),this.callback(this.manager,u,{pointers:[o],changedPointers:[o],pointerType:te,srcEvent:o}))}});var bs={pointerdown:Q,pointermove:B,pointerup:P,pointercancel:M,pointerout:M},_s={2:W,3:K,4:te,5:x},zn="pointerdown",Vn="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(zn="MSPointerDown",Vn="MSPointerMove MSPointerUp MSPointerCancel");function Ai(){this.evEl=zn,this.evWin=Vn,ie.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I(Ai,ie,{handler:function(o){var u=this.store,h=!1,f=o.type.toLowerCase().replace("ms",""),b=bs[f],A=_s[o.pointerType]||o.pointerType,U=A==W,q=X(u,o.pointerId,"pointerId");b&Q&&(o.button===0||U)?q<0&&(u.push(o),q=u.length-1):b&(P|M)&&(h=!0),!(q<0)&&(u[q]=o,this.callback(this.manager,b,{pointers:u,changedPointers:[o],pointerType:A,srcEvent:o}),h&&u.splice(q,1))}});var ys={touchstart:Q,touchmove:B,touchend:P,touchcancel:M},vs="touchstart",Ds="touchstart touchmove touchend touchcancel";function Hn(){this.evTarget=vs,this.evWin=Ds,this.started=!1,ie.apply(this,arguments)}I(Hn,ie,{handler:function(o){var u=ys[o.type];if(u===Q&&(this.started=!0),!!this.started){var h=Es.call(this,o,u);u&(P|M)&&h[0].length-h[1].length===0&&(this.started=!1),this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:W,srcEvent:o})}}});function Es(s,o){var u=$e(s.touches),h=$e(s.changedTouches);return o&(P|M)&&(u=be(u.concat(h),"identifier",!0)),[u,h]}var Ts={touchstart:Q,touchmove:B,touchend:P,touchcancel:M},Cs="touchstart touchmove touchend touchcancel";function zt(){this.evTarget=Cs,this.targetIds={},ie.apply(this,arguments)}I(zt,ie,{handler:function(o){var u=Ts[o.type],h=Fs.call(this,o,u);h&&this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:W,srcEvent:o})}});function Fs(s,o){var u=$e(s.touches),h=this.targetIds;if(o&(Q|B)&&u.length===1)return h[u[0].identifier]=!0,[u,u];var f,b,A=$e(s.changedTouches),U=[],q=this.target;if(b=u.filter(function(G){return H(G.target,q)}),o===Q)for(f=0;f-1&&h.splice(b,1)};setTimeout(f,As)}}function Ss(s){for(var o=s.srcEvent.clientX,u=s.srcEvent.clientY,h=0;h-1&&this.requireFail.splice(o,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(s){return!!this.simultaneous[s.id]},emit:function(s){var o=this,u=this.state;function h(f){o.manager.emit(f,s)}u=ze&&h(o.options.event+Kn(u))},tryEmit:function(s){if(this.canEmit())return this.emit(s);this.state=ye},canEmit:function(){for(var s=0;so.threshold&&f&o.direction},attrTest:function(s){return ce.prototype.attrTest.call(this,s)&&(this.state&ne||!(this.state&ne)&&this.directionTest(s))},emit:function(s){this.pX=s.deltaX,this.pY=s.deltaY;var o=Gn(s.direction);o&&(s.additionalEvent=this.options.event+o),this._super.emit.call(this,s)}});function ki(){ce.apply(this,arguments)}I(ki,ce,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ke]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.scale-1)>this.options.threshold||this.state&ne)},emit:function(s){if(s.scale!==1){var o=s.scale<1?"in":"out";s.additionalEvent=this.options.event+o}this._super.emit.call(this,s)}});function Pi(){ke.apply(this,arguments),this._timer=null,this._input=null}I(Pi,ke,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[jn]},process:function(s){var o=this.options,u=s.pointers.length===o.pointers,h=s.distanceo.time;if(this._input=s,!h||!u||s.eventType&(P|M)&&!f)this.reset();else if(s.eventType&Q)this.reset(),this._timer=p(function(){this.state=Ie,this.tryEmit()},o.time,this);else if(s.eventType&P)return Ie;return ye},reset:function(){clearTimeout(this._timer)},emit:function(s){this.state===Ie&&(s&&s.eventType&P?this.manager.emit(this.options.event+"up",s):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}});function Mi(){ce.apply(this,arguments)}I(Mi,ce,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ke]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.rotation)>this.options.threshold||this.state&ne)}});function Ni(){ce.apply(this,arguments)}I(Ni,ce,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:_e|je,pointers:1},getTouchAction:function(){return Qt.prototype.getTouchAction.call(this)},attrTest:function(s){var o=this.options.direction,u;return o&(_e|je)?u=s.overallVelocity:o&_e?u=s.overallVelocityX:o&je&&(u=s.overallVelocityY),this._super.attrTest.call(this,s)&&o&s.offsetDirection&&s.distance>this.options.threshold&&s.maxPointers==this.options.pointers&&d(u)>this.options.velocity&&s.eventType&P},emit:function(s){var o=Gn(s.offsetDirection);o&&this.manager.emit(this.options.event+o,s),this.manager.emit(this.options.event,s)}});function qt(){ke.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}I(qt,ke,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Si]},process:function(s){var o=this.options,u=s.pointers.length===o.pointers,h=s.distance{let m=d.get("offset"),p=m==l,g=p&&c||new Map;d.forEach((T,C)=>{let y=C,E=T;if(C!=="offset")switch(y=r.normalizePropertyName(y,n),E){case ii:E=e.get(C);break;case Fe:E=i.get(C);break;default:E=r.normalizeStyleValue(C,y,E,n);break}g.set(y,E)}),p||a.push(g),c=g,l=m}),n.length)throw io(n);return a}function bn(r,t,e,i){switch(t){case"start":r.onStart(()=>i(e&&Gi(e,"start",r)));break;case"done":r.onDone(()=>i(e&&Gi(e,"done",r)));break;case"destroy":r.onDestroy(()=>i(e&&Gi(e,"destroy",r)));break}}function Gi(r,t,e){let i=e.totalTime,n=!!e.disabled,a=_n(r.element,r.triggerName,r.fromState,r.toState,t||r.phaseName,i??r.totalTime,n),l=r._data;return l!=null&&(a._data=l),a}function _n(r,t,e,i,n="",a=0,l){return{element:r,triggerName:t,fromState:e,toState:i,phaseName:n,totalTime:a,disabled:!!l}}function J(r,t,e){let i=r.get(t);return i||r.set(t,i=e),i}function ua(r){let t=r.indexOf(":"),e=r.substring(1,t),i=r.slice(t+1);return[e,i]}var fo=typeof document>"u"?null:document.documentElement;function yn(r){let t=r.parentNode||r.host||null;return t===fo?null:t}function po(r){return r.substring(1,6)=="ebkit"}var Je=null,da=!1;function go(r){Je||(Je=bo()||{},da=Je.style?"WebkitAppearance"in Je.style:!1);let t=!0;return Je.style&&!po(r)&&(t=r in Je.style,!t&&da&&(t="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Je.style)),t}function bo(){return typeof document<"u"?document.body:null}function Ca(r,t){for(;t;){if(t===r)return!0;t=yn(t)}return!1}function Fa(r,t,e){if(e)return Array.from(r.querySelectorAll(t));let i=r.querySelector(t);return i?[i]:[]}var vn=(()=>{class r{validateStyleProperty(e){return go(e)}containsElement(e,i){return Ca(e,i)}getParentElement(e){return yn(e)}query(e,i,n){return Fa(e,i,n)}computeStyle(e,i,n){return n||""}animate(e,i,n,a,l,c=[],d){return new lt(n,a)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),it=class{static NOOP=new vn},nt=class{};var _o=1e3,Aa="{{",yo="}}",wa="ng-enter",tn="ng-leave",ai="ng-trigger",ui=".ng-trigger",ma="ng-animating",nn=".ng-animating";function Re(r){if(typeof r=="number")return r;let t=r.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:rn(parseFloat(t[1]),t[2])}function rn(r,t){switch(t){case"s":return r*_o;default:return r}}function di(r,t,e){return r.hasOwnProperty("duration")?r:vo(r,t,e)}function vo(r,t,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,a=0,l="";if(typeof r=="string"){let c=r.match(i);if(c===null)return t.push(ca(r)),{duration:0,delay:0,easing:""};n=rn(parseFloat(c[1]),c[2]);let d=c[3];d!=null&&(a=rn(parseFloat(d),c[4]));let m=c[5];m&&(l=m)}else n=r;if(!e){let c=!1,d=t.length;n<0&&(t.push(Rs()),c=!0),a<0&&(t.push(Ls()),c=!0),c&&t.splice(d,0,ca(r))}return{duration:n,delay:a,easing:l}}function Do(r){return r.length?r[0]instanceof Map?r:r.map(t=>new Map(Object.entries(t))):[]}function Ae(r,t,e){t.forEach((i,n)=>{let a=Dn(n);e&&!e.has(n)&&e.set(n,r.style[a]),r.style[a]=i})}function tt(r,t){t.forEach((e,i)=>{let n=Dn(i);r.style[n]=""})}function Ft(r){return Array.isArray(r)?r.length==1?r[0]:Pr(r):r}function Eo(r,t,e){let i=t.params||{},n=Sa(r);n.length&&n.forEach(a=>{i.hasOwnProperty(a)||e.push(Os(a))})}var an=new RegExp(`${Aa}\\s*(.+?)\\s*${yo}`,"g");function Sa(r){let t=[];if(typeof r=="string"){let e;for(;e=an.exec(r);)t.push(e[1]);an.lastIndex=0}return t}function wt(r,t,e){let i=`${r}`,n=i.replace(an,(a,l)=>{let c=t[l];return c==null&&(e.push(zs(l)),c=""),c.toString()});return n==i?r:n}var To=/-+([a-z0-9])/g;function Dn(r){return r.replace(To,(...t)=>t[1].toUpperCase())}function Co(r,t){return r===0||t===0}function Fo(r,t,e){if(e.size&&t.length){let i=t[0],n=[];if(e.forEach((a,l)=>{i.has(l)||n.push(l),i.set(l,a)}),n.length)for(let a=1;al.set(c,En(r,c)))}}return t}function Z(r,t,e){switch(t.type){case S.Trigger:return r.visitTrigger(t,e);case S.State:return r.visitState(t,e);case S.Transition:return r.visitTransition(t,e);case S.Sequence:return r.visitSequence(t,e);case S.Group:return r.visitGroup(t,e);case S.Animate:return r.visitAnimate(t,e);case S.Keyframes:return r.visitKeyframes(t,e);case S.Style:return r.visitStyle(t,e);case S.Reference:return r.visitReference(t,e);case S.AnimateChild:return r.visitAnimateChild(t,e);case S.AnimateRef:return r.visitAnimateRef(t,e);case S.Query:return r.visitQuery(t,e);case S.Stagger:return r.visitStagger(t,e);default:throw Vs(t.type)}}function En(r,t){return window.getComputedStyle(r)[t]}var Ao=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),mi=class extends nt{normalizePropertyName(t,e){return Dn(t)}normalizeStyleValue(t,e,i,n){let a="",l=i.toString().trim();if(Ao.has(e)&&i!==0&&i!=="0")if(typeof i=="number")a="px";else{let c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&c[1].length==0&&n.push(Hs(t,i))}return l+a}};var hi="*";function wo(r,t){let e=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(i=>So(i,e,t)):e.push(r),e}function So(r,t,e){if(r[0]==":"){let d=Io(r,e);if(typeof d=="function"){t.push(d);return}r=d}let i=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Js(r)),t;let n=i[1],a=i[2],l=i[3];t.push(ha(n,l));let c=n==hi&&l==hi;a[0]=="<"&&!c&&t.push(ha(l,n))}function Io(r,t){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var si=new Set(["true","1"]),oi=new Set(["false","0"]);function ha(r,t){let e=si.has(r)||oi.has(r),i=si.has(t)||oi.has(t);return(n,a)=>{let l=r==hi||r==n,c=t==hi||t==a;return!l&&e&&typeof n=="boolean"&&(l=n?si.has(r):oi.has(r)),!c&&i&&typeof a=="boolean"&&(c=a?si.has(t):oi.has(t)),l&&c}}var Ia=":self",ko=new RegExp(`s*${Ia}s*,?`,"g");function ka(r,t,e,i){return new sn(r).build(t,e,i)}var fa="",sn=class{_driver;constructor(t){this._driver=t}build(t,e,i){let n=new on(e);return this._resetContextStyleTimingState(n),Z(this,Ft(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=fa,t.collectedStyles=new Map,t.collectedStyles.set(fa,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0,a=[],l=[];return t.name.charAt(0)=="@"&&e.errors.push(Us()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),c.type==S.State){let d=c,m=d.name;m.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,a.push(this.visitState(d,e))}),d.name=m}else if(c.type==S.Transition){let d=this.visitTransition(c,e);i+=d.queryCount,n+=d.depCount,l.push(d)}else e.errors.push(Qs())}),{type:S.Trigger,name:t.name,states:a,transitions:l,queryCount:i,depCount:n,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){let a=new Set,l=n||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(d=>{Sa(d).forEach(m=>{l.hasOwnProperty(m)||a.add(m)})})}),a.size&&e.errors.push(qs(t.name,[...a.values()]))}return{type:S.State,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=Z(this,Ft(t.animation),e),n=wo(t.expr,e.errors);return{type:S.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:S.Sequence,steps:t.steps.map(i=>Z(this,i,e)),options:et(t.options)}}visitGroup(t,e){let i=e.currentTime,n=0,a=t.steps.map(l=>{e.currentTime=i;let c=Z(this,l,e);return n=Math.max(n,e.currentTime),c});return e.currentTime=n,{type:S.Group,steps:a,options:et(t.options)}}visitAnimate(t,e){let i=xo(t.timings,e.errors);e.currentAnimateTimings=i;let n,a=t.styles?t.styles:ot({});if(a.type==S.Keyframes)n=this.visitKeyframes(a,e);else{let l=t.styles,c=!1;if(!l){c=!0;let m={};i.easing&&(m.easing=i.easing),l=ot(m)}e.currentTime+=i.duration+i.delay;let d=this.visitStyle(l,e);d.isEmptyStep=c,n=d}return e.currentAnimateTimings=null,{type:S.Animate,timings:i,style:n,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of n)typeof c=="string"?c===Fe?i.push(c):e.errors.push(Ws(c)):i.push(new Map(Object.entries(c)));let a=!1,l=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(l=c.get("easing"),c.delete("easing")),!a)){for(let d of c.values())if(d.toString().indexOf(Aa)>=0){a=!0;break}}}),{type:S.Style,styles:i,easing:l,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,n=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),t.styles.forEach(l=>{typeof l!="string"&&l.forEach((c,d)=>{let m=e.collectedStyles.get(e.currentQuerySelector),p=m.get(d),g=!0;p&&(a!=n&&a>=p.startTime&&n<=p.endTime&&(e.errors.push($s(d,p.startTime,p.endTime,a,n)),g=!1),a=p.startTime),g&&m.set(d,{startTime:a,endTime:n}),e.options&&Eo(c,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:S.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(js()),i;let n=1,a=0,l=[],c=!1,d=!1,m=0,p=t.steps.map(I=>{let R=this._makeStyleAst(I,e),V=R.offset!=null?R.offset:No(R.styles),O=0;return V!=null&&(a++,O=R.offset=V),d=d||O<0||O>1,c=c||O0&&a{let V=T>0?R==C?1:T*R:l[R],O=V*N;e.currentTime=y+E.delay+O,E.duration=O,this._validateStyleAst(I,e),I.offset=V,i.styles.push(I)}),i}visitReference(t,e){return{type:S.Reference,animation:Z(this,Ft(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:S.AnimateChild,options:et(t.options)}}visitAnimateRef(t,e){return{type:S.AnimateRef,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;let[a,l]=Po(t.selector);e.currentQuerySelector=i.length?i+" "+a:a,J(e.collectedStyles,e.currentQuerySelector,new Map);let c=Z(this,Ft(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:S.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:l,animation:c,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Xs());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:di(t.timings,e.errors,!0);return{type:S.Stagger,animation:Z(this,Ft(t.animation),e),timings:i,options:null}}};function Po(r){let t=!!r.split(/\s*,\s*/).find(e=>e==Ia);return t&&(r=r.replace(ko,"")),r=r.replace(/@\*/g,ui).replace(/@\w+/g,e=>ui+"-"+e.slice(1)).replace(/:animating/g,nn),[r,t]}function Mo(r){return r?Wt({},r):null}var on=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function No(r){if(typeof r=="string")return null;let t=null;if(Array.isArray(r))r.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let e=r;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function xo(r,t){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let a=di(r,t).duration;return Yi(a,0,"")}let e=r;if(e.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Yi(0,0,"");return a.dynamic=!0,a.strValue=e,a}let n=di(e,t);return Yi(n.duration,n.delay,n.easing)}function et(r){return r?(r=Wt({},r),r.params&&(r.params=Mo(r.params))):r={},r}function Yi(r,t,e){return{duration:r,delay:t,easing:e}}function Tn(r,t,e,i,n,a,l=null,c=!1){return{type:1,element:r,keyframes:t,preStyleProps:e,postStyleProps:i,duration:n,delay:a,totalTime:n+a,easing:l,subTimeline:c}}var St=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},Bo=1,Ro=":enter",Lo=new RegExp(Ro,"g"),Oo=":leave",zo=new RegExp(Oo,"g");function Pa(r,t,e,i,n,a=new Map,l=new Map,c,d,m=[]){return new ln().buildKeyframes(r,t,e,i,n,a,l,c,d,m)}var ln=class{buildKeyframes(t,e,i,n,a,l,c,d,m,p=[]){m=m||new St;let g=new cn(t,e,m,n,a,p,[]);g.options=d;let T=d.delay?Re(d.delay):0;g.currentTimeline.delayNextStep(T),g.currentTimeline.setStyles([l],null,g.errors,d),Z(this,i,g);let C=g.timelines.filter(y=>y.containsAnimation());if(C.length&&c.size){let y;for(let E=C.length-1;E>=0;E--){let N=C[E];if(N.element===e){y=N;break}}y&&!y.allowOnlyTimelineStyles()&&y.setStyles([c],null,g.errors,d)}return C.length?C.map(y=>y.buildKeyframes()):[Tn(e,[],[],[],0,T,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(t.options),a=e.currentTimeline.currentTime,l=this._visitSubInstructions(i,n,n.options);a!=l&&e.transformIntoNewTimeline(l)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let n of t){let a=n?.delay;if(a){let l=typeof a=="number"?a:Re(wt(a,n?.params??{},e.errors));i.delayNextStep(l)}}}_visitSubInstructions(t,e,i){let a=e.currentTimeline.currentTime,l=i.duration!=null?Re(i.duration):null,c=i.delay!=null?Re(i.delay):null;return l!==0&&t.forEach(d=>{let m=e.appendInstructionToTimeline(d,l,c);a=Math.max(a,m.duration+m.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),Z(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,n=e,a=t.options;if(a&&(a.params||a.delay)&&(n=e.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==S.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=fi);let l=Re(a.delay);n.delayNextStep(l)}t.steps.length&&(t.steps.forEach(l=>Z(this,l,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],n=e.currentTimeline.currentTime,a=t.options&&t.options.delay?Re(t.options.delay):0;t.steps.forEach(l=>{let c=e.createSubContext(t.options);a&&c.delayNextStep(a),Z(this,l,c),n=Math.max(n,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,n=e.params?wt(i,e.params,e.errors):i;return di(n,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let a=t.style;a.type==S.Keyframes?this.visitKeyframes(a,e):(e.incrementTime(i.duration),this.visitStyle(a,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let a=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(a):i.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,a=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(d=>{let m=d.offset||0;c.forwardTime(m*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(n+a),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,n=t.options||{},a=n.delay?Re(n.delay):0;a&&(e.previousNode.type===S.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=fi);let l=i,c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((m,p)=>{e.currentQueryIndex=p;let g=e.createSubContext(t.options,m);a&&g.delayNextStep(a),m===e.element&&(d=g.currentTimeline),Z(this,t.animation,g),g.currentTimeline.applyStylesToKeyframe();let T=g.currentTimeline.currentTime;l=Math.max(l,T)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,n=e.currentTimeline,a=t.timings,l=Math.abs(a.duration),c=l*(e.currentQueryTotal-1),d=l*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=i.currentStaggerTime;break}let p=e.currentTimeline;d&&p.delayNextStep(d);let g=p.currentTime;Z(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-g+(n.startTime-i.currentTimeline.startTime)}},fi={},cn=class r{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=fi;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,i,n,a,l,c,d){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=a,this.errors=l,this.timelines=c,this.currentTimeline=d||new pi(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,n=this.options;i.duration!=null&&(n.duration=Re(i.duration)),i.delay!=null&&(n.delay=Re(i.delay));let a=i.params;if(a){let l=n.params;l||(l=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!l.hasOwnProperty(c))&&(l[c]=wt(a[c],l,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(n=>{i[n]=e[n]})}}return t}createSubContext(t=null,e,i){let n=e||this.element,a=new r(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=fi,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},a=new un(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(a),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,a,l){let c=[];if(n&&c.push(this.element),t.length>0){t=t.replace(Lo,"."+this._enterClassName),t=t.replace(zo,"."+this._leaveClassName);let d=i!=1,m=this._driver.query(this.element,t,d);i!==0&&(m=i<0?m.slice(m.length+i,m.length):m.slice(0,i)),c.push(...m)}return!a&&c.length==0&&l.push(Zs(e)),c}},pi=class r{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new r(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Bo,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Fe),this._currentKeyframe.set(e,Fe);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&this._previousKeyframe.set("easing",e);let a=n&&n.params||{},l=Vo(t,this._globalTimelineStyles);for(let[c,d]of l){let m=wt(d,a,i);this._pendingStyles.set(c,m),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Fe),this._updateStyle(c,m)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let n=this._styleSummary.get(i);(!n||e.time>n.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((c,d)=>{let m=new Map([...this._backFill,...c]);m.forEach((p,g)=>{p===ii?t.add(g):p===Fe&&e.add(g)}),i||m.set("offset",d/this.duration),n.push(m)});let a=[...t.values()],l=[...e.values()];if(i){let c=n[0],d=new Map(c);c.set("offset",0),d.set("offset",1),n=[c,d]}return Tn(this.element,n,a,l,this.duration,this.startTime,this.easing,!1)}},un=class extends pi{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,i,n,a,l,c=!1){super(t,e,l.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let a=[],l=i+e,c=e/l,d=new Map(t[0]);d.set("offset",0),a.push(d);let m=new Map(t[0]);m.set("offset",pa(c)),a.push(m);let p=t.length-1;for(let g=1;g<=p;g++){let T=new Map(t[g]),C=T.get("offset"),y=e+C*i;T.set("offset",pa(y/l)),a.push(T)}i=l,e=0,n="",t=a}return Tn(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function pa(r,t=3){let e=Math.pow(10,t-1);return Math.round(r*e)/e}function Vo(r,t){let e=new Map,i;return r.forEach(n=>{if(n==="*"){i??=t.keys();for(let a of i)e.set(a,Fe)}else for(let[a,l]of n)e.set(a,l)}),e}function ga(r,t,e,i,n,a,l,c,d,m,p,g,T){return{type:0,element:r,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:a,toState:i,toStyles:l,timelines:c,queriedElements:d,preStyleProps:m,postStyleProps:p,totalTime:g,errors:T}}var Xi={},gi=class{_triggerName;ast;_stateStyles;constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return Ho(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){let n=this._stateStyles.get("*");return t!==void 0&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,i):new Map}build(t,e,i,n,a,l,c,d,m,p){let g=[],T=this.ast.options&&this.ast.options.params||Xi,C=c&&c.params||Xi,y=this.buildStyles(i,C,g),E=d&&d.params||Xi,N=this.buildStyles(n,E,g),I=new Set,R=new Map,V=new Map,O=n==="void",le={params:Ma(E,T),delay:this.ast.options?.delay},j=p?[]:Pa(t,e,this.ast.animation,a,l,y,N,le,m,g),H=0;return j.forEach(L=>{H=Math.max(L.duration+L.delay,H)}),g.length?ga(e,this._triggerName,i,n,O,y,N,[],[],R,V,H,g):(j.forEach(L=>{let ee=L.element,X=J(R,ee,new Set);L.preStyleProps.forEach(be=>X.add(be));let $e=J(V,ee,new Set);L.postStyleProps.forEach(be=>$e.add(be)),ee!==e&&I.add(ee)}),ga(e,this._triggerName,i,n,O,y,N,j,[...I.values()],R,V,H))}};function Ho(r,t,e,i,n){return r.some(a=>a(t,e,i,n))}function Ma(r,t){let e=Wt({},t);return Object.entries(r).forEach(([i,n])=>{n!=null&&(e[i]=n)}),e}var dn=class{styles;defaultParams;normalizer;constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,n=Ma(t,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((l,c)=>{l&&(l=wt(l,n,e));let d=this.normalizer.normalizePropertyName(c,e);l=this.normalizer.normalizeStyleValue(c,d,l,e),i.set(c,l)})}),i}};function Uo(r,t,e){return new mn(r,t,e)}var mn=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,e.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new dn(n.style,a,i))}),ba(this.states,"true","1"),ba(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new gi(t,n,this.states))}),this.fallbackTransition=Qo(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(l=>l.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function Qo(r,t,e){let i=[(l,c)=>!0],n={type:S.Sequence,steps:[],options:null},a={type:S.Transition,animation:n,matchers:i,options:null,queryCount:0,depCount:0};return new gi(r,a,t)}function ba(r,t,e){r.has(t)?r.has(e)||r.set(e,r.get(t)):r.has(e)&&r.set(t,r.get(e))}var qo=new St,hn=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i}register(t,e){let i=[],n=[],a=ka(this._driver,e,i,n);if(i.length)throw no(i);n.length&&void 0,this._animations.set(t,a)}_buildPlayer(t,e,i){let n=t.element,a=Ta(this._normalizer,t.keyframes,e,i);return this._driver.animate(n,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let n=[],a=this._animations.get(t),l,c=new Map;if(a?(l=Pa(this._driver,e,a,wa,tn,new Map,new Map,i,qo,n),l.forEach(p=>{let g=J(c,p.element,new Map);p.postStyleProps.forEach(T=>g.set(T,null))})):(n.push(ro()),l=[]),n.length)throw ao(n);c.forEach((p,g)=>{p.forEach((T,C)=>{p.set(C,this._driver.computeStyle(g,C,Fe))})});let d=l.map(p=>{let g=c.get(p.element);return this._buildPlayer(p,new Map,g)}),m=We(d);return this._playersById.set(t,m),m.onDestroy(()=>this.destroy(t)),this.players.push(m),m}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw so(t);return e}listen(t,e,i,n){let a=_n(e,"","","");return bn(this._getPlayer(t),i,a,n),()=>{}}command(t,e,i,n){if(i=="register"){this.register(t,n[0]);return}if(i=="create"){let l=n[0]||{};this.create(t,e,l);return}let a=this._getPlayer(t);switch(i){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t);break}}},_a="ng-animate-queued",Wo=".ng-animate-queued",Zi="ng-animate-disabled",$o=".ng-animate-disabled",jo="ng-star-inserted",Ko=".ng-star-inserted",Go=[],Na={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Yo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ge="__ng_removed",It=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),n=i?t.value:t;if(this.value=Zo(n),i){let a=t,{value:l}=a,c=Zn(a,["value"]);this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},At="void",Ji=new It(At),fn=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+t,oe(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.has(e))throw oo(i,e);if(i==null||i.length==0)throw lo(e);if(!Jo(i))throw co(i,e);let a=J(this._elementListeners,t,[]),l={name:e,phase:i,callback:n};a.push(l);let c=J(this._engine.statesByElement,t,new Map);return c.has(e)||(oe(t,ai),oe(t,ai+"-"+e),c.set(e,Ji)),()=>{this._engine.afterFlush(()=>{let d=a.indexOf(l);d>=0&&a.splice(d,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw uo(t);return e}trigger(t,e,i,n=!0){let a=this._getTrigger(e),l=new kt(this.id,e,t),c=this._engine.statesByElement.get(t);c||(oe(t,ai),oe(t,ai+"-"+e),this._engine.statesByElement.set(t,c=new Map));let d=c.get(e),m=new It(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&m.absorbOptions(d.options),c.set(e,m),d||(d=Ji),!(m.value===At)&&d.value===m.value){if(!il(d.params,m.params)){let E=[],N=a.matchStyles(d.value,d.params,E),I=a.matchStyles(m.value,m.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{tt(t,N),Ae(t,I)})}return}let T=J(this._engine.playersByElement,t,[]);T.forEach(E=>{E.namespaceId==this.id&&E.triggerName==e&&E.queued&&E.destroy()});let C=a.matchTransition(d.value,m.value,t,m.params),y=!1;if(!C){if(!n)return;C=a.fallbackTransition,y=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:C,fromState:d,toState:m,player:l,isFallbackTransition:y}),y||(oe(t,_a),l.onStart(()=>{ct(t,_a)})),l.onDone(()=>{let E=this.players.indexOf(l);E>=0&&this.players.splice(E,1);let N=this._engine.playersByElement.get(t);if(N){let I=N.indexOf(l);I>=0&&N.splice(I,1)}}),this.players.push(l),T.push(l),l}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,ui,!0);i.forEach(n=>{if(n[ge])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(l=>l.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,i,n){let a=this._engine.statesByElement.get(t),l=new Map;if(a){let c=[];if(a.forEach((d,m)=>{if(l.set(m,d.value),this._triggers.has(m)){let p=this.trigger(t,m,At,n);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,l),i&&We(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let n=new Set;e.forEach(a=>{let l=a.name;if(n.has(l))return;n.add(l);let d=this._triggers.get(l).fallbackTransition,m=i.get(l)||Ji,p=new It(At),g=new kt(this.id,l,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:l,transition:d,fromState:m,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){let a=i.players.length?i.playersByQueriedElement.get(t):[];if(a&&a.length)n=!0;else{let l=t;for(;l=l.parentNode;)if(i.statesByElement.get(l)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{let a=t[ge];(!a||a===Na)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){oe(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let a=i.element,l=this._elementListeners.get(a);l&&l.forEach(c=>{if(c.name==i.triggerName){let d=_n(a,i.triggerName,i.fromState.value,i.toState.value);d._data=t,bn(i.player,c.phase,d,c.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let a=i.transition.ast.depCount,l=n.transition.ast.depCount;return a==0||l==0?a-l:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},pn=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new fn(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let l=!1,c=this.driver.getParentElement(e);for(;c;){let d=n.get(c);if(d){let m=i.indexOf(d);i.splice(m+1,0,t),l=!0;break}c=this.driver.getParentElement(c)}l||i.unshift(t)}else i.push(t);return n.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let n of i.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&e.add(a)}}return e}trigger(t,e,i,n){if(li(e)){let a=this._fetchNamespace(t);if(a)return a.trigger(e,i,n),!0}return!1}insertNode(t,e,i,n){if(!li(e))return;let a=e[ge];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let l=this.collectedLeaveElements.indexOf(e);l>=0&&this.collectedLeaveElements.splice(l,1)}if(t){let l=this._fetchNamespace(t);l&&l.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),oe(t,Zi)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ct(t,Zi))}removeNode(t,e,i){if(li(e)){let n=t?this._fetchNamespace(t):null;n?n.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,n,a){this.collectedLeaveElements.push(e),e[ge]={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(t,e,i,n,a){return li(e)?this._fetchNamespace(t).listen(e,i,n,a):()=>{}}_buildInstruction(t,e,i,n,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,ui,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,nn,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return We(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ge];if(e&&e.setForRemoval){if(t[ge]=Na,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Zi)&&this.markElementAsDisabled(t,!1),this.driver.query(t,$o,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?We(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(t){throw mo(t)}_flushAnimations(t,e){let i=new St,n=[],a=new Map,l=[],c=new Map,d=new Map,m=new Map,p=new Set;this.disabledNodes.forEach(_=>{p.add(_);let v=this.driver.query(_,Wo,!0);for(let D=0;D{let D=wa+E++;y.set(v,D),_.forEach(w=>oe(w,D))});let N=[],I=new Set,R=new Set;for(let _=0;_I.add(w)):R.add(v))}let V=new Map,O=Da(T,Array.from(I));O.forEach((_,v)=>{let D=tn+E++;V.set(v,D),_.forEach(w=>oe(w,D))}),t.push(()=>{C.forEach((_,v)=>{let D=y.get(v);_.forEach(w=>ct(w,D))}),O.forEach((_,v)=>{let D=V.get(v);_.forEach(w=>ct(w,D))}),N.forEach(_=>{this.processLeaveNode(_)})});let le=[],j=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(e).forEach(D=>{let w=D.player,z=D.element;if(le.push(w),this.collectedEnterElements.length){let B=z[ge];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(D.triggerName)){let P=B.previousTriggersValues.get(D.triggerName),M=this.statesByElement.get(D.element);if(M&&M.has(D.triggerName)){let we=M.get(D.triggerName);we.value=P,M.set(D.triggerName,we)}}w.destroy();return}}let W=!g||!this.driver.containsElement(g,z),K=V.get(z),te=y.get(z),x=this._buildInstruction(D,i,te,K,W);if(x.errors&&x.errors.length){j.push(x);return}if(W){w.onStart(()=>tt(z,x.fromStyles)),w.onDestroy(()=>Ae(z,x.toStyles)),n.push(w);return}if(D.isFallbackTransition){w.onStart(()=>tt(z,x.fromStyles)),w.onDestroy(()=>Ae(z,x.toStyles)),n.push(w);return}let Bt=[];x.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||Bt.push(B)}),x.timelines=Bt,i.append(z,x.timelines);let Q={instruction:x,player:w,element:z};l.push(Q),x.queriedElements.forEach(B=>J(c,B,[]).push(w)),x.preStyleProps.forEach((B,P)=>{if(B.size){let M=d.get(P);M||d.set(P,M=new Set),B.forEach((we,Se)=>M.add(Se))}}),x.postStyleProps.forEach((B,P)=>{let M=m.get(P);M||m.set(P,M=new Set),B.forEach((we,Se)=>M.add(Se))})});if(j.length){let _=[];j.forEach(v=>{_.push(ho(v.triggerName,v.errors))}),le.forEach(v=>v.destroy()),this.reportError(_)}let H=new Map,L=new Map;l.forEach(_=>{let v=_.element;i.has(v)&&(L.set(v,v),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,H))}),n.forEach(_=>{let v=_.element;this._getPreviousPlayers(v,!1,_.namespaceId,_.triggerName,null).forEach(w=>{J(H,v,[]).push(w),w.destroy()})});let ee=N.filter(_=>Ea(_,d,m)),X=new Map;va(X,this.driver,R,m,Fe).forEach(_=>{Ea(_,d,m)&&ee.push(_)});let be=new Map;C.forEach((_,v)=>{va(be,this.driver,new Set(_),d,ii)}),ee.forEach(_=>{let v=X.get(_),D=be.get(_);X.set(_,new Map([...v?.entries()??[],...D?.entries()??[]]))});let Oe=[],Nt=[],xt={};l.forEach(_=>{let{element:v,player:D,instruction:w}=_;if(i.has(v)){if(p.has(v)){D.onDestroy(()=>Ae(v,w.toStyles)),D.disabled=!0,D.overrideTotalTime(w.totalTime),n.push(D);return}let z=xt;if(L.size>1){let K=v,te=[];for(;K=K.parentNode;){let x=L.get(K);if(x){z=x;break}te.push(K)}te.forEach(x=>L.set(x,z))}let W=this._buildAnimation(D.namespaceId,w,H,a,be,X);if(D.setRealPlayer(W),z===xt)Oe.push(D);else{let K=this.playersByElement.get(z);K&&K.length&&(D.parentPlayer=We(K)),n.push(D)}}else tt(v,w.fromStyles),D.onDestroy(()=>Ae(v,w.toStyles)),Nt.push(D),p.has(v)&&n.push(D)}),Nt.forEach(_=>{let v=a.get(_.element);if(v&&v.length){let D=We(v);_.setRealPlayer(D)}}),n.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_!W.destroyed);z.length?el(this,v,z):this.processLeaveNode(v)}return N.length=0,Oe.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let v=this.players.indexOf(_);this.players.splice(v,1)}),_.play()}),Oe}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,a){let l=[];if(e){let c=this.playersByQueriedElement.get(t);c&&(l=c)}else{let c=this.playersByElement.get(t);if(c){let d=!a||a==At;c.forEach(m=>{m.queued||!d&&m.triggerName!=n||l.push(m)})}}return(i||n)&&(l=l.filter(c=>!(i&&i!=c.namespaceId||n&&n!=c.triggerName))),l}_beforeAnimationBuild(t,e,i){let n=e.triggerName,a=e.element,l=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:n;for(let d of e.timelines){let m=d.element,p=m!==a,g=J(i,m,[]);this._getPreviousPlayers(m,p,l,c,e.toState).forEach(C=>{let y=C.getRealPlayer();y.beforeDestroy&&y.beforeDestroy(),C.destroy(),g.push(C)})}tt(a,e.fromStyles)}_buildAnimation(t,e,i,n,a,l){let c=e.triggerName,d=e.element,m=[],p=new Set,g=new Set,T=e.timelines.map(y=>{let E=y.element;p.add(E);let N=E[ge];if(N&&N.removedBeforeQueried)return new lt(y.duration,y.delay);let I=E!==d,R=tl((i.get(E)||Go).map(H=>H.getRealPlayer())).filter(H=>{let L=H;return L.element?L.element===E:!1}),V=a.get(E),O=l.get(E),le=Ta(this._normalizer,y.keyframes,V,O),j=this._buildPlayer(y,le,R);if(y.subTimeline&&n&&g.add(E),I){let H=new kt(t,c,E);H.setRealPlayer(j),m.push(H)}return j});m.forEach(y=>{J(this.playersByQueriedElement,y.element,[]).push(y),y.onDone(()=>Xo(this.playersByQueriedElement,y.element,y))}),p.forEach(y=>oe(y,ma));let C=We(T);return C.onDestroy(()=>{p.forEach(y=>ct(y,ma)),Ae(d,e.toStyles)}),g.forEach(y=>{J(n,y,[]).push(C)}),C}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new lt(t.duration,t.delay)}},kt=class{namespaceId;triggerName;element;_player=new lt;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>bn(t,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){J(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function Xo(r,t,e){let i=r.get(t);if(i){if(i.length){let n=i.indexOf(e);i.splice(n,1)}i.length==0&&r.delete(t)}return i}function Zo(r){return r??null}function li(r){return r&&r.nodeType===1}function Jo(r){return r=="start"||r=="done"}function ya(r,t){let e=r.style.display;return r.style.display=t??"none",e}function va(r,t,e,i,n){let a=[];e.forEach(d=>a.push(ya(d)));let l=[];i.forEach((d,m)=>{let p=new Map;d.forEach(g=>{let T=t.computeStyle(m,g,n);p.set(g,T),(!T||T.length==0)&&(m[ge]=Yo,l.push(m))}),r.set(m,p)});let c=0;return e.forEach(d=>ya(d,a[c++])),l}function Da(r,t){let e=new Map;if(r.forEach(c=>e.set(c,[])),t.length==0)return e;let i=1,n=new Set(t),a=new Map;function l(c){if(!c)return i;let d=a.get(c);if(d)return d;let m=c.parentNode;return e.has(m)?d=m:n.has(m)?d=i:d=l(m),a.set(c,d),d}return t.forEach(c=>{let d=l(c);d!==i&&e.get(d).push(c)}),e}function oe(r,t){r.classList?.add(t)}function ct(r,t){r.classList?.remove(t)}function el(r,t,e){We(e).onDone(()=>r.processLeaveNode(t))}function tl(r){let t=[];return xa(r,t),t}function xa(r,t){for(let e=0;en.add(a)):t.set(r,i),e.delete(r),!0}var ut=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new pn(t.body,e,i),this._timelineEngine=new hn(t.body,e,i),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(t,e,i,n,a){let l=t+"-"+n,c=this._triggerCache[l];if(!c){let d=[],m=[],p=ka(this._driver,a,d,m);if(d.length)throw to(n,d);m.length&&void 0,c=Uo(n,p,this._normalizer),this._triggerCache[l]=c}this._transitionEngine.registerTrigger(e,n,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if(i.charAt(0)=="@"){let[a,l]=ua(i),c=n;this._timelineEngine.command(a,e,l,c)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,a){if(i.charAt(0)=="@"){let[l,c]=ua(i);return this._timelineEngine.listen(l,e,c,a)}return this._transitionEngine.listen(t,e,i,n,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function nl(r,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=en(t[0]),t.length>1&&(i=en(t[t.length-1]))):t instanceof Map&&(e=en(t)),e||i?new rl(r,e,i):null}var rl=(()=>{class r{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n;let a=r.initialStylesByElement.get(e);a||r.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ae(this._element,this._initialStyles),this._endStyles&&(Ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),Ae(this._element,this._initialStyles),this._state=3)}}return r})();function en(r){let t=null;return r.forEach((e,i)=>{al(i)&&(t=t||new Map,t.set(i,e))}),t}function al(r){return r==="display"||r==="position"}var bi=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,n)=>{n!=="offset"&&t.set(n,this._finished?i:En(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},_i=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return Ca(t,e)}getParentElement(t){return yn(t)}query(t,e,i){return Fa(t,e,i)}computeStyle(t,e,i){return En(t,e)}animate(t,e,i,n,a,l=[]){let c=n==0?"both":"forwards",d={duration:i,delay:n,fill:c};a&&(d.easing=a);let m=new Map,p=l.filter(C=>C instanceof bi);Co(i,n)&&p.forEach(C=>{C.currentSnapshot.forEach((y,E)=>m.set(E,y))});let g=Do(e).map(C=>new Map(C));g=Fo(t,g,m);let T=nl(t,g);return new bi(t,g,d,T)}};var ci="@",Ba="@.disabled",yi=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,i,n){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==ci&&e==Ba?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},gn=class extends yi{factory;constructor(t,e,i,n,a){super(e,i,n,a),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==ci?e.charAt(1)=="."&&e==Ba?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==ci){let n=sl(t),a=e.slice(1),l="";return a.charAt(0)!=ci&&([a,l]=ol(a)),this.engine.listen(this.namespaceId,n,a,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,i,c)})}return this.delegate.listen(t,e,i)}};function sl(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function ol(r){let t=r.indexOf("."),e=r.substring(0,t),i=r.slice(t+1);return[e,i]}var vi=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,e.onRemovalComplete=(n,a)=>{a?.removeChild(null,n)}}createRenderer(t,e){let i="",n=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let m=this._rendererCache,p=m.get(n);if(!p){let g=()=>m.delete(n);p=new yi(i,n,this.engine,g),m.set(n,p)}return p}let a=e.id,l=e.id+"-"+this._currentId;this._currentId++,this.engine.register(l,t);let c=m=>{Array.isArray(m)?m.forEach(c):this.engine.registerTrigger(a,l,t,m.name,m)};return e.data.animation.forEach(c),new gn(this,l,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&te(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[l,c]=a;l(c)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var cl=(()=>{class r extends ut{constructor(e,i,n){super(e,i,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||r)(Y(xe),Y(it),Y(nt))};static \u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function ul(){return new mi}function dl(r,t,e){return new vi(r,t,e)}var Ra=[{provide:nt,useFactory:ul},{provide:ut,useClass:cl},{provide:yr,useFactory:dl,deps:[Ar,ut,vt]}],ml=[{provide:it,useFactory:()=>new _i},{provide:Ye,useValue:"BrowserAnimations"},...Ra],lc=[{provide:it,useClass:vn},{provide:Ye,useValue:"NoopAnimations"},...Ra];function La(){return fr("NgEagerAnimations"),[...ml]}var Oa=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var hl=Object.hasOwnProperty,Pt=class{constructor(){this.occurrences,this.reset()}slug(t,e){let i=this,n=fl(t,e===!0),a=n;for(;hl.call(i.occurrences,n);)i.occurrences[a]++,n=a+"-"+i.occurrences[a];return i.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function fl(r,t){return typeof r!="string"?"":(t||(r=r.toLowerCase()),r.replace(Oa,"").replace(/ /g,"-"))}var za=new Pt,Va=[],pl=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function gl(r){return r.replace(pl,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}function Ha({prefix:r="",globalSlugs:t=!1}={}){return{headerIds:!1,hooks:{preprocess(e){return t||bl(),e}},useNewRenderer:!0,renderer:{heading({tokens:e,depth:i}){let n=this.parser.parseInline(e),a=gl(n).trim().replace(/<[!\/a-z].*?>/gi,""),l=i,c=`${r}${za.slug(a.toLowerCase())}`,d={level:l,text:n,id:c,raw:a};return Va.push(d),`${n} +`}}}}function bl(){Va=[],za=new Pt}var Ua=[{path:"get-started",loadComponent:()=>import("./chunk-ANIW253D.js"),data:{label:"Get Started"}},{path:"cheat-sheet",loadComponent:()=>import("./chunk-ZRM72TJW.js"),data:{label:"Cheat Sheet"}},{path:"syntax-highlight",loadComponent:()=>import("./chunk-WCEWIY2V.js"),data:{label:"Syntax Highlight"}},{path:"bindings",loadComponent:()=>import("./chunk-TWVJDCPM.js"),data:{label:"Bindings"}},{path:"plugins",loadComponent:()=>import("./chunk-4GNX3KTN.js"),data:{label:"Plugins"}},{path:"re-render",loadComponent:()=>import("./chunk-QEBG4HNN.js"),data:{label:"Re-render"}},{path:"**",redirectTo:"get-started"}];function Qa(r){let t=new Hr;return t.link=({href:e,text:i})=>`${i}`,{renderer:t}}var mt=class r{constructor(t,e,i,n){this.locationStrategy=t;this.route=e;this.router=i;this.viewportScroller=n}interceptClick(t){let e=t.target;if(!(e instanceof HTMLAnchorElement))return;let i=e.getAttribute("href")||"";this.isExternalUrl(i)||this.isRouterLink(e)||(this.navigate(i),t.preventDefault())}navigate(t,e=!1){let i=this.getUrlTree(t);this.router.navigated=!1,this.router.navigateByUrl(i,{replaceUrl:e})}normalizeExternalUrl(t){if(this.isExternalUrl(t))return t;let e=this.getUrlTree(t),i=this.router.serializeUrl(e);return this.locationStrategy.prepareExternalUrl(i)}scrollToAnchor(){this.router.parseUrl(this.router.url).fragment&&this.navigate(this.router.url,!0)}setOffset(...t){this.viewportScroller.setOffset(...t)}getUrlTree(t){let e=this.stripFragment(t)||this.stripFragment(this.router.url),i=this.router.parseUrl(t).fragment||void 0;return this.router.createUrlTree([e],{relativeTo:this.route,fragment:i})}isExternalUrl(t){return/^(?!http(s?):\/\/).+$/.exec(t)==null}isRouterLink(t){return t.getAttributeNames().some(e=>e.startsWith("_ngcontent"))}stripFragment(t){return/[^#]*/.exec(t)[0]}static{this.\u0275fac=function(e){return new(e||r)(Y(Er),Y(xr),Y(ni),Y(Cr))}}static{this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}};var qa={providers:[La(),Fr(),Or(Ua,zr({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),Qr({loader:ti,markedOptions:{provide:Ur,useFactory:Qa,deps:[mt]},markedExtensions:[Ha()],clipboardOptions:{provide:Vr,useValue:{buttonComponent:oa}},sanitize:Ue.NONE})]};var yl=["*"],Di;function vl(){if(Di===void 0&&(Di=null,typeof window<"u")){let r=window;r.trustedTypes!==void 0&&(Di=r.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Di}function Mt(r){return vl()?.createHTML(r)||r}function Wa(r){return Error(`Unable to find icon with the name "${r}"`)}function Dl(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function $a(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function ja(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}var Le=class{url;svgText;options;svgElement;constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}},El=(()=>{class r{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,n,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._document=n}addSvgIcon(e,i,n){return this.addSvgIconInNamespace("",e,i,n)}addSvgIconLiteral(e,i,n){return this.addSvgIconLiteralInNamespace("",e,i,n)}addSvgIconInNamespace(e,i,n,a){return this._addSvgIconConfig(e,i,new Le(n,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,n,a){let l=this._sanitizer.sanitize(Ue.HTML,n);if(!l)throw ja(n);let c=Mt(l);return this._addSvgIconConfig(e,i,new Le("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,n){return this._addSvgIconSetConfig(e,new Le(i,null,n))}addSvgIconSetLiteralInNamespace(e,i,n){let a=this._sanitizer.sanitize(Ue.HTML,i);if(!a)throw ja(i);let l=Mt(a);return this._addSvgIconSetConfig(e,new Le("",l,n))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Ue.RESOURCE_URL,e);if(!i)throw $a(e);let n=this._cachedIconsByUrl.get(i);return n?Ve(Ei(n)):this._loadSvgIconFromConfig(new Le(e,null)).pipe(Kt(a=>this._cachedIconsByUrl.set(i,a)),at(a=>Ei(a)))}getNamedSvgIcon(e,i=""){let n=Ka(i,e),a=this._svgIconConfigs.get(n);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(n,a),this._getSvgFromConfig(a);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(e,l):ir(Wa(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Ve(Ei(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(at(i=>Ei(i)))}_getSvgFromIconSetConfigs(e,i){let n=this._extractIconWithNameFromAnySet(e,i);if(n)return Ve(n);let a=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(sr(c=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(Ue.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),Ve(null)})));return nr(a).pipe(at(()=>{let l=this._extractIconWithNameFromAnySet(e,i);if(!l)throw Wa(e);return l}))}_extractIconWithNameFromAnySet(e,i){for(let n=i.length-1;n>=0;n--){let a=i[n];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let l=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(l,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Kt(i=>e.svgText=i),at(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Ve(null):this._fetchIcon(e).pipe(Kt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,n){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let l=a.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,n);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),n);let c=this._svgElementFromString(Mt(""));return c.appendChild(l),this._setSvgAttributes(c,n)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let n=i.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(e){let i=this._svgElementFromString(Mt("")),n=e.attributes;for(let a=0;aMt(m)),cr(()=>this._inProgressUrlFetches.delete(l)),ur());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(e,i,n){return this._svgIconConfigs.set(Ka(e,i),n),this}_addSvgIconSetConfig(e,i){let n=this._iconSetConfigs.get(e);return n?n.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let n=0;nt?t.pathname+t.search:""}}var Ga=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wl=Ga.map(r=>`[${r}]`).join(", "),Sl=/^url\(['"]?#(.*?)['"]?\)$/,Ya=(()=>{class r{_elementRef=F(ue);_iconRegistry=F(El);_location=F(Fl);_errorHandler=F(Yt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Bi.EMPTY;constructor(){let e=F(new Gt("aria-hidden"),{optional:!0}),i=F(Cl,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let n=e.childNodes[i];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>e.classList.remove(n)),i.forEach(n=>e.classList.add(n)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((n,a)=>{n.forEach(l=>{a.setAttribute(l.name,`url('${e}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(wl),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let c=i[a],d=c.getAttribute(l),m=d?d.match(Sl):null;if(m){let p=n.get(c);p||(p=[],n.set(c,p)),p.push({name:l,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,n]=this._splitIconName(e);i&&(this._svgNamespace=i),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,i).pipe(lr(1)).subscribe(a=>this._setSvgElement(a),a=>{let l=`Error retrieving icon ${i}:${n}! ${a.message}`;this._errorHandler.handleError(new Error(l))})}}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,n){i&2&&(st("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Et(n.color?"mat-"+n.color:""),Me("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",pe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ze],ngContentSelectors:yl,decls:1,vars:0,template:function(i,n){i&1&&(Qe(),Ne(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return r})(),Xa=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Xe({type:r});static \u0275inj=Ge({imports:[Be,Be]})}return r})();var wn=["*"];var kl=["tabListContainer"],Pl=["tabList"],Ml=["tabListInner"],Nl=["nextPaginator"],xl=["previousPaginator"];var Bl=["mat-tab-nav-bar",""],Rl=["mat-tab-link",""];var Cn="mdc-tab-indicator--active",Za="mdc-tab-indicator--no-transition",An=class{_items;_currentItem;constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let e=this._items.find(n=>n.elementRef.nativeElement===t),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let n=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(n),this._currentItem=e}}},Ll=(()=>{class r{_elementRef=F(ue);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(Cn);return}let n=i.getBoundingClientRect(),a=e.width/n.width,l=e.left-n.left;i.classList.add(Za),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(Za),i.classList.add(Cn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Cn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),n=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",n.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=Dt({type:r,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe]},features:[Ze]})}return r})();var Ja=Gr({passive:!0}),Ol=650,zl=100,Vl=(()=>{class r{_elementRef=F(ue);_changeDetectorRef=F(Ui);_viewportRuler=F(Ki);_dir=F(Wi,{optional:!0});_ngZone=F(vt);_platform=F(Ct);_animationMode=F(Ye,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new $t;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new $t;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new Oi;indexFocused=new Oi;_sharedResizeObserver=F(sa);_injector=F(hr);constructor(){this._ngZone.runOutsideAngular(()=>{jt(this._elementRef.nativeElement,"mouseleave").pipe(De(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){jt(this._previousPaginator.nativeElement,"touchstart",Ja).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),jt(this._nextPaginator.nativeElement,"touchstart",Ja).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:Ve("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(or(32),De(this._destroyed)),n=this._viewportRuler.change(150).pipe(De(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Jr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),pr(a,{injector:this._injector}),Ri(e,n,i,this._items.changes,this._itemsResized()).pipe(De(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return typeof ResizeObserver!="function"?tr:this._items.changes.pipe(Li(this._items),mr(e=>new Jn(i=>this._ngZone.runOutsideAngular(()=>{let n=new ResizeObserver(a=>i.next(a));return e.forEach(a=>n.observe(a.elementRef.nativeElement)),()=>{n.disconnect()}}))),dr(1),rr(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Xr(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,n=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+n)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:l}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=a,d=c+l):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-l);let m=this.scrollDistance,p=this.scrollDistance+n;cp&&(this.scrollDistance+=Math.min(d-p,c-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,n=e-i>=5;n||(this.scrollDistance=0),n!==this._showPaginationControls&&(this._showPaginationControls=n,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),ar(Ol,zl).pipe(De(Ri(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:n,distance:a}=this._scrollHeader(e);(a===0||a>=n)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||r)};static \u0275dir=Dt({type:r,inputs:{disablePagination:[2,"disablePagination","disablePagination",pe],selectedIndex:[2,"selectedIndex","selectedIndex",Qi]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Ze]})}return r})();var Hl=new yt("MAT_TABS_CONFIG");var Sn=(()=>{class r extends Vl{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new er(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;disableRipple=!1;color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){let e=F(ue),i=F(Wi,{optional:!0}),n=F(vt),a=F(Ui),l=F(Ki),c=F(Ct),d=F(Ye,{optional:!0}),m=F(Hl,{optional:!0});super(e,a,l,i,n,c,d),this.disablePagination=m&&m.disablePagination!=null?m.disablePagination:!1,this.fitInkBarToContent=m&&m.fitInkBarToContent!=null?m.fitInkBarToContent:!1,this.stretchTabs=m&&m.stretchTabs!=null?m.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new An(this._items),this._items.changes.pipe(Li(null),De(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let i=0;i.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return r})(),In=(()=>{class r extends Ll{_tabNavBar=F(Sn);elementRef=F(ue);_focusMonitor=F(ea);_destroyed=new $t;_isActive=!1;get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}disabled=!1;disableRipple=!1;tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}id=F($i).getId("mat-tab-link-");constructor(){super(),F(Yr).load(ta);let e=F(ia,{optional:!0}),i=F(new Gt("tabindex"),{optional:!0}),n=F(Ye,{optional:!0});this.rippleConfig=e||{},this.tabIndex=i==null?0:parseInt(i)||0,n==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe(De(this._destroyed)).subscribe(a=>{this.fitInkBarToContent=a})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(i,n){i&1&&Ce("focus",function(){return n._handleFocus()})("keydown",function(l){return n._handleKeydown(l)}),i&2&&(st("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),Me("mat-mdc-tab-disabled",n.disabled)("mdc-tab--active",n.active))},inputs:{active:[2,"active","active",pe],disabled:[2,"disabled","disabled",pe],disableRipple:[2,"disableRipple","disableRipple",pe],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Qi(e)],id:"id"},exportAs:["matTabLink"],features:[Ze,zi],attrs:Rl,ngContentSelectors:wn,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(i,n){i&1&&(Qe(),Te(0,"span",0)(1,"div",1),$(2,"span",2)(3,"span",3),Ne(4),se()()),i&2&&(de(),me("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[ji],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return r})(),ts=(()=>{class r{id=F($i).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(i,n){i&2&&st("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:wn,decls:1,vars:0,template:function(i,n){i&1&&(Qe(),Ne(0))},encapsulation:2,changeDetection:0})}return r})(),is=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Xe({type:r});static \u0275inj=Ge({imports:[Be,Be]})}return r})();var Ql=["*",[["mat-toolbar-row"]]],ql=["*","mat-toolbar-row"],kn=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275dir=Dt({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return r})(),ns=(()=>{class r{_elementRef=F(ue);_platform=F(Ct);_document=F(xe);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Ee({type:r,selectors:[["mat-toolbar"]],contentQueries:function(i,n,a){if(i&1&&Jt(a,kn,5),i&2){let l;he(l=fe())&&(n._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,n){i&2&&(Et(n.color?"mat-"+n.color:""),Me("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",n._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:ql,decls:2,vars:0,template:function(i,n){i&1&&(Qe(Ql),Ne(0),Ne(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return r})();var rs=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=Xe({type:r});static \u0275inj=Ge({imports:[Be,Be]})}return r})();var as=Ir("routeAnimation",[Mr("* <=> *",[Nr(":enter",[ot({opacity:0,transform:"translateY(32px)"}),kr("550ms cubic-bezier(0.35, 0, 0.25, 1)",ot({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);var Ti=(e=>(e.Light="light",e.Dark="dark",e))(Ti||{});function ss(r){return r!=null&&typeof r=="string"&&Object.values(Ti).includes(r)}var Pn="light",Mn="ngx-markdown:theme";var jl=["tabHeader"];function Kl(r,t){if(r&1&&($(0,"a",14,3)(2,"div",15),Te(3,"img",16),$(4,"span"),ei(5),se()()()),r&2){let e=t.$implicit,i=Tt(1);me("active",i.isActive)("routerLink",e.path),de(3),Dr("src","icon-",e.path,".svg",gr),de(2),Hi(e.data==null?null:e.data.label)}}var Ci=class r{constructor(t,e,i){this.document=t;this.anchorService=e;this.router=i;this.stickyClassName="mat-mdc-tab-nav-bar--sticky";this.theme=Pn;this.routes=this.router.config.filter(n=>n.data&&n.data.label)}onDocumentClick(t){this.anchorService.interceptClick(t)}onWindowScroll(){if(this.tabHeader==null)return;let t=this.tabHeader.nativeElement,e=Math.ceil(t.offsetTop),i=Math.ceil(window.pageYOffset),n=t.classList.contains(this.stickyClassName);!n&&i>=e&&t.classList.add(this.stickyClassName),n&&iconsole.error(r));